2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.42.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='wine'
577 PACKAGE_VERSION
='0.9.42'
578 PACKAGE_STRING
='Wine 0.9.42'
579 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
581 ac_unique_file
="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
773 ac_subst_files
='MAKE_RULES
778 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
805 program_transform_name
=s
,x
,x
,
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir
='${exec_prefix}/bin'
820 sbindir
='${exec_prefix}/sbin'
821 libexecdir
='${exec_prefix}/libexec'
822 datarootdir
='${prefix}/share'
823 datadir
='${datarootdir}'
824 sysconfdir
='${prefix}/etc'
825 sharedstatedir
='${prefix}/com'
826 localstatedir
='${prefix}/var'
827 includedir
='${prefix}/include'
828 oldincludedir
='/usr/include'
829 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir
='${datarootdir}/info'
835 libdir
='${exec_prefix}/lib'
836 localedir
='${datarootdir}/locale'
837 mandir
='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\
$ac_option
851 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
863 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
866 -build |
--build |
--buil |
--bui |
--bu)
867 ac_prev
=build_alias
;;
868 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
869 build_alias
=$ac_optarg ;;
871 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
872 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
873 ac_prev
=cache_file
;;
874 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
875 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
876 cache_file
=$ac_optarg ;;
879 cache_file
=config.cache
;;
881 -datadir |
--datadir |
--datadi |
--datad)
883 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
884 datadir
=$ac_optarg ;;
886 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
887 |
--dataroo |
--dataro |
--datar)
888 ac_prev
=datarootdir
;;
889 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
890 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
891 datarootdir
=$ac_optarg ;;
893 -disable-* |
--disable-*)
894 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
898 { (exit 1); exit 1; }; }
899 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
900 eval enable_
$ac_feature=no
;;
902 -docdir |
--docdir |
--docdi |
--doc |
--do)
904 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
907 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
909 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
912 -enable-* |
--enable-*)
913 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
917 { (exit 1); exit 1; }; }
918 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
919 eval enable_
$ac_feature=\
$ac_optarg ;;
921 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
922 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
923 |
--exec |
--exe |
--ex)
924 ac_prev
=exec_prefix
;;
925 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
926 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
927 |
--exec=* |
--exe=* |
--ex=*)
928 exec_prefix
=$ac_optarg ;;
930 -gas |
--gas |
--ga |
--g)
931 # Obsolete; use --with-gas.
934 -help |
--help |
--hel |
--he |
-h)
936 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
937 ac_init_help
=recursive
;;
938 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
939 ac_init_help
=short
;;
941 -host |
--host |
--hos |
--ho)
942 ac_prev
=host_alias
;;
943 -host=* |
--host=* |
--hos=* |
--ho=*)
944 host_alias
=$ac_optarg ;;
946 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
948 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
950 htmldir
=$ac_optarg ;;
952 -includedir |
--includedir |
--includedi |
--included |
--include \
953 |
--includ |
--inclu |
--incl |
--inc)
954 ac_prev
=includedir
;;
955 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
956 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
957 includedir
=$ac_optarg ;;
959 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
961 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
962 infodir
=$ac_optarg ;;
964 -libdir |
--libdir |
--libdi |
--libd)
966 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
969 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
970 |
--libexe |
--libex |
--libe)
971 ac_prev
=libexecdir
;;
972 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
973 |
--libexe=* |
--libex=* |
--libe=*)
974 libexecdir
=$ac_optarg ;;
976 -localedir |
--localedir |
--localedi |
--localed |
--locale)
978 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
979 localedir
=$ac_optarg ;;
981 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
982 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
983 ac_prev
=localstatedir
;;
984 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
985 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
986 localstatedir
=$ac_optarg ;;
988 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
990 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
994 # Obsolete; use --without-fp.
997 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
998 |
--no-cr |
--no-c |
-n)
1001 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1002 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1005 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1006 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1007 |
--oldin |
--oldi |
--old |
--ol |
--o)
1008 ac_prev
=oldincludedir
;;
1009 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1010 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1011 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1012 oldincludedir
=$ac_optarg ;;
1014 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1016 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1017 prefix
=$ac_optarg ;;
1019 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1020 |
--program-pre |
--program-pr |
--program-p)
1021 ac_prev
=program_prefix
;;
1022 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1023 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1024 program_prefix
=$ac_optarg ;;
1026 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1027 |
--program-suf |
--program-su |
--program-s)
1028 ac_prev
=program_suffix
;;
1029 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1030 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1031 program_suffix
=$ac_optarg ;;
1033 -program-transform-name |
--program-transform-name \
1034 |
--program-transform-nam |
--program-transform-na \
1035 |
--program-transform-n |
--program-transform- \
1036 |
--program-transform |
--program-transfor \
1037 |
--program-transfo |
--program-transf \
1038 |
--program-trans |
--program-tran \
1039 |
--progr-tra |
--program-tr |
--program-t)
1040 ac_prev
=program_transform_name
;;
1041 -program-transform-name=* |
--program-transform-name=* \
1042 |
--program-transform-nam=* |
--program-transform-na=* \
1043 |
--program-transform-n=* |
--program-transform-=* \
1044 |
--program-transform=* |
--program-transfor=* \
1045 |
--program-transfo=* |
--program-transf=* \
1046 |
--program-trans=* |
--program-tran=* \
1047 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1048 program_transform_name
=$ac_optarg ;;
1050 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1052 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1053 pdfdir
=$ac_optarg ;;
1055 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1057 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1061 |
-silent |
--silent |
--silen |
--sile |
--sil)
1064 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1066 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1068 sbindir
=$ac_optarg ;;
1070 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1071 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1072 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1074 ac_prev
=sharedstatedir
;;
1075 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1076 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1077 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1079 sharedstatedir
=$ac_optarg ;;
1081 -site |
--site |
--sit)
1083 -site=* |
--site=* |
--sit=*)
1086 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1088 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1089 srcdir
=$ac_optarg ;;
1091 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1092 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1093 ac_prev
=sysconfdir
;;
1094 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1095 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1096 sysconfdir
=$ac_optarg ;;
1098 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1099 ac_prev
=target_alias
;;
1100 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1101 target_alias
=$ac_optarg ;;
1103 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1106 -version |
--version |
--versio |
--versi |
--vers |
-V)
1107 ac_init_version
=: ;;
1110 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_
$ac_package=\
$ac_optarg ;;
1118 -without-* |
--without-*)
1119 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_
$ac_package=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option
1146 Try \`$0 --help' for more information." >&2
1147 { (exit 1); exit 1; }; }
1151 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1155 { (exit 1); exit 1; }; }
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&2
1173 { (exit 1); exit 1; }; }
1176 # Be sure to have absolute directory names.
1177 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val
=\$
$ac_var
1184 [\\/$
]* | ?
:[\\/]* ) continue;;
1185 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1196 target
=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x
; then
1200 if test "x$build_alias" = x
; then
1201 cross_compiling
=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1210 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1212 test "$silent" = yes && exec 6>/dev
/null
1215 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di
=`ls -di .` &&
1217 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted
=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir
=`$as_dirname -- "$0" ||
1230 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1257 ac_srcdir_defaulted
=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1277 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 for ac_var
in $ac_precious_vars; do
1280 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1282 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1293 \`configure' configures Wine 0.9.42 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1351 --x-includes=DIR X include files are
in DIR
1352 --x-libraries=DIR X library files are
in DIR
1355 --build=BUILD configure
for building on BUILD
[guessed
]
1356 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive
) echo "Configuration of Wine 0.9.42:";;
1367 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1368 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1369 --disable-win16 do not include Win16 support
1370 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1372 --disable-tests do not build the testsuites
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1394 Use these variables to override the choices made by `configure' or to
help
1395 it to
find libraries and programs with nonstandard names
/locations.
1397 Report bugs to
<wine-devel@winehq.org
>.
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1405 test -d "$ac_dir" ||
continue
1409 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1411 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1416 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir
=$ac_pwd
1420 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir
=$ac_top_build_prefix
1425 .
) # We are building in place.
1427 ac_top_srcdir
=$ac_top_builddir_sub
1428 ac_abs_top_srcdir
=$ac_pwd ;;
1429 [\\/]* | ?
:[\\/]* ) # Absolute name.
1430 ac_srcdir
=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir
=$srcdir
1432 ac_abs_top_srcdir
=$srcdir ;;
1434 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 Wine configure
0.9.42
1459 generated by GNU Autoconf
2.61
1461 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1463 This configure
script is free software
; the Free Software Foundation
1464 gives unlimited permission to copy
, distribute and modify it.
1468 cat >config.log
<<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.42, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir
=.
1509 echo "PATH: $as_dir"
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1533 ac_must_keep_next
=false
1539 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1541 |
-silent |
--silent |
--silen |
--sile |
--sil)
1544 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true
; then
1551 ac_must_keep_next
=false
# Got value, back to normal.
1554 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1555 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1556 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1557 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 -* ) ac_must_keep_next
=true
;;
1565 ac_configure_args
="$ac_configure_args '$ac_arg'"
1570 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1571 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 echo "$ac_var='\''$ac_val'\''"
1636 if test -n "$ac_subst_files"; then
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1643 for ac_var
in $ac_subst_files
1645 eval ac_val
=\$
$ac_var
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 echo "$ac_var='\''$ac_val'\''"
1654 if test -s confdefs.h; then
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 for ac_signal
in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest
* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h
<<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1687 cat >>confdefs.h
<<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692 cat >>confdefs.h
<<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1697 cat >>confdefs.h
<<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1702 cat >>confdefs.h
<<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x
"$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE
; then
1712 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1714 set x
"$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1735 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1736 *) .
"./$cache_file";;
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1745 # Check that the precious variables saved in the cache have kept the same
1747 ac_cache_corrupted
=false
1748 for ac_var
in $ac_precious_vars; do
1749 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1750 eval ac_new_set
=\
$ac_env_${ac_var}_set
1751 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1752 eval ac_new_val
=\
$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted
=: ;;
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted
=: ;;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted
=:
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1777 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg
=$ac_var=$ac_new_val ;;
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1819 ac_cpp
='$CPP $CPPFLAGS'
1820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1826 ac_config_headers
="$ac_config_headers include/config.h"
1829 for ac_dir
in tools
"$srcdir"/tools
; do
1830 if test -f "$ac_dir/install-sh"; then
1832 ac_install_sh
="$ac_aux_dir/install-sh -c"
1834 elif test -f "$ac_dir/install.sh"; then
1836 ac_install_sh
="$ac_aux_dir/install.sh -c"
1838 elif test -f "$ac_dir/shtool"; then
1840 ac_install_sh
="$ac_aux_dir/shtool install -c"
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval
=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval
=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval
=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval
=$with_wine_tools;
1884 # Check whether --enable-tests was given.
1885 if test "${enable_tests+set}" = set; then
1886 enableval
=$enable_tests;
1890 # Make sure we can run config.sub.
1891 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1892 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1893 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { echo "$as_me:$LINENO: checking build system type" >&5
1897 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1898 if test "${ac_cv_build+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 ac_build_alias
=$build_alias
1902 test "x$ac_build_alias" = x
&&
1903 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1904 test "x$ac_build_alias" = x
&&
1905 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1906 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1907 { (exit 1); exit 1; }; }
1908 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1909 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1911 { (exit 1); exit 1; }; }
1914 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1915 echo "${ECHO_T}$ac_cv_build" >&6; }
1916 case $ac_cv_build in
1918 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1919 echo "$as_me: error: invalid value of canonical build" >&2;}
1920 { (exit 1); exit 1; }; };;
1923 ac_save_IFS
=$IFS; IFS
='-'
1929 # Remember, the first character of IFS is used to create $*,
1930 # except with old shells:
1933 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1936 { echo "$as_me:$LINENO: checking host system type" >&5
1937 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1938 if test "${ac_cv_host+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test "x$host_alias" = x
; then
1942 ac_cv_host
=$ac_cv_build
1944 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1945 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1946 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1947 { (exit 1); exit 1; }; }
1951 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1952 echo "${ECHO_T}$ac_cv_host" >&6; }
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1956 echo "$as_me: error: invalid value of canonical host" >&2;}
1957 { (exit 1); exit 1; }; };;
1960 ac_save_IFS
=$IFS; IFS
='-'
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1970 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1975 if test "x$enable_win64" != "xyes"
1977 test -n "$CC" || CC
="gcc -m32"
1978 test -n "$CXX"|| CXX
="g++ -m32"
1979 test -n "$LD" || LD
="ld -m elf_i386"
1980 test -n "$AS" || AS
="as --32"
1988 if test "x$enable_win16" != "xno"
1995 WIN16_FILES
="\$(WIN16_FILES)"
1997 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1999 if test "x$enable_win16" != "xyes"
2005 if test "x$enable_tests" == "xno"
2012 TESTSUBDIRS
="\$(TESTSUBDIRS)"
2020 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2021 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2022 You need to run 'make distclean' in the source tree first." >&5
2023 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2024 You need to run 'make distclean' in the source tree first." >&2;}
2025 { (exit 1); exit 1; }; }
2030 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2031 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2032 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2033 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 cat >conftest.
make <<\_ACEOF
2039 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2041 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2042 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2044 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2046 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2050 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2051 { echo "$as_me:$LINENO: result: yes" >&5
2052 echo "${ECHO_T}yes" >&6; }
2055 { echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6; }
2057 SET_MAKE
="MAKE=${MAKE-make}"
2061 ac_cpp
='$CPP $CPPFLAGS'
2062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2067 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2070 if test "${ac_cv_prog_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC
="$CC" # Let the user override the test.
2076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir
=.
2081 for ac_exec_ext
in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$CC"; then
2095 { echo "$as_me:$LINENO: result: $CC" >&5
2096 echo "${ECHO_T}$CC" >&6; }
2098 { echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6; }
2104 if test -z "$ac_cv_prog_CC"; then
2106 # Extract the first word of "gcc", so it can be a program name with args.
2107 set dummy gcc
; ac_word
=$2
2108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_prog_ac_ct_CC
="gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2134 if test -n "$ac_ct_CC"; then
2135 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2136 echo "${ECHO_T}$ac_ct_CC" >&6; }
2138 { echo "$as_me:$LINENO: result: no" >&5
2139 echo "${ECHO_T}no" >&6; }
2142 if test "x$ac_ct_CC" = x
; then
2145 case $cross_compiling:$ac_tool_warned in
2147 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2148 whose name does not start with the host triplet. If you think this
2149 configuration is useful to you, please write to autoconf@gnu.org." >&5
2150 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2151 whose name does not start with the host triplet. If you think this
2152 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2153 ac_tool_warned
=yes ;;
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2163 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2164 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC
="$CC" # Let the user override the test.
2173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir
=.
2178 for ac_exec_ext
in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 if test -n "$CC"; then
2192 { echo "$as_me:$LINENO: result: $CC" >&5
2193 echo "${ECHO_T}$CC" >&6; }
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2202 if test -z "$CC"; then
2203 # Extract the first word of "cc", so it can be a program name with args.
2204 set dummy cc
; ac_word
=$2
2205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2207 if test "${ac_cv_prog_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 if test -n "$CC"; then
2211 ac_cv_prog_CC
="$CC" # Let the user override the test.
2214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir
=.
2219 for ac_exec_ext
in '' $ac_executable_extensions; do
2220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2222 ac_prog_rejected
=yes
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 if test $ac_prog_rejected = yes; then
2234 # We found a bogon in the path, so make sure we never use it.
2235 set dummy
$ac_cv_prog_CC
2237 if test $# != 0; then
2238 # We chose a different compiler from the bogus one.
2239 # However, it has the same basename, so the bogon will be chosen
2240 # first if we set CC to just the basename; use the full file name.
2242 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2248 if test -n "$CC"; then
2249 { echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6; }
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2258 if test -z "$CC"; then
2259 if test -n "$ac_tool_prefix"; then
2260 for ac_prog
in cl.exe
2262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2263 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$CC"; then
2270 ac_cv_prog_CC
="$CC" # Let the user override the test.
2272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir
=.
2277 for ac_exec_ext
in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 if test -n "$CC"; then
2291 { echo "$as_me:$LINENO: result: $CC" >&5
2292 echo "${ECHO_T}$CC" >&6; }
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2299 test -n "$CC" && break
2302 if test -z "$CC"; then
2304 for ac_prog
in cl.exe
2306 # Extract the first word of "$ac_prog", so it can be a program name with args.
2307 set dummy
$ac_prog; ac_word
=$2
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 if test -n "$ac_ct_CC"; then
2314 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir
=.
2321 for ac_exec_ext
in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_ac_ct_CC
="$ac_prog"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2343 test -n "$ac_ct_CC" && break
2346 if test "x$ac_ct_CC" = x
; then
2349 case $cross_compiling:$ac_tool_warned in
2351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2352 whose name does not start with the host triplet. If you think this
2353 configuration is useful to you, please write to autoconf@gnu.org." >&5
2354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2355 whose name does not start with the host triplet. If you think this
2356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2357 ac_tool_warned
=yes ;;
2366 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&5
2368 echo "$as_me: error: no acceptable C compiler found in \$PATH
2369 See \`config.log' for more details." >&2;}
2370 { (exit 1); exit 1; }; }
2372 # Provide some information about the compiler.
2373 echo "$as_me:$LINENO: checking for C compiler version" >&5
2374 ac_compiler
=`set X $ac_compile; echo $2`
2375 { (ac_try
="$ac_compiler --version >&5"
2377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler --version >&5") 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2385 { (ac_try="$ac_compiler -v >&5"
2387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2388 *) ac_try_echo
=$ac_try;;
2390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2391 (eval "$ac_compiler -v >&5") 2>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }
2395 { (ac_try
="$ac_compiler -V >&5"
2397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2401 (eval "$ac_compiler -V >&5") 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }
2406 cat >conftest.$ac_ext <<_ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2421 ac_clean_files_save=$ac_clean_files
2422 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2423 # Try to create an executable without -o first, disregard a.out.
2424 # It will help us diagnose broken compilers, and finding out an intuition
2426 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2427 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2428 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2430 # List of possible output files, starting from the most likely.
2431 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2432 # only as a last resort. b.out is created by i960 compilers.
2433 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2435 # The IRIX 6 linker writes into existing files which may not be
2436 # executable, retaining their permissions. Remove them first so a
2437 # subsequent execution test works.
2439 for ac_file in $ac_files
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2443 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2448 if { (ac_try="$ac_link_default"
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2454 (eval "$ac_link_default") 2>&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; then
2458 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2460 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2461 # so that the user can short-circuit this test for compilers unknown to
2463 for ac_file
in $ac_files ''
2465 test -f "$ac_file" ||
continue
2467 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2470 # We found the default executable, but exeext='' is most
2474 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2476 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 # We set ac_cv_exeext here because the later test for it is not
2479 # safe: cross compilers may not add the suffix if given an `-o'
2480 # argument, so we may need to know it at that point already.
2481 # Even if this section looks crufty: it has the advantage of
2488 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2494 { echo "$as_me:$LINENO: result: $ac_file" >&5
2495 echo "${ECHO_T}$ac_file" >&6; }
2496 if test -z "$ac_file"; then
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.
$ac_ext >&5
2500 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2501 See \`config.log' for more details." >&5
2502 echo "$as_me: error: C compiler cannot create executables
2503 See \`config.log' for more details." >&2;}
2504 { (exit 77); exit 77; }; }
2507 ac_exeext
=$ac_cv_exeext
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2512 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2513 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2514 # If not cross compiling, check that we can run a simple program.
2515 if test "$cross_compiling" != yes; then
2516 if { ac_try
='./$ac_file'
2517 { (case "(($ac_try" in
2518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2522 (eval "$ac_try") 2>&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2528 if test "$cross_compiling" = maybe; then
2531 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2532 If you meant to cross compile, use \`--host'.
2533 See \`config.log' for more details.
" >&5
2534 echo "$as_me: error
: cannot run C compiled programs.
2535 If you meant to cross compile
, use \
`--host'.
2536 See \`config.log
' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2541 { echo "$as_me:$LINENO: result: yes" >&5
2542 echo "${ECHO_T}yes" >&6; }
2544 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2545 ac_clean_files=$ac_clean_files_save
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2549 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2550 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2551 echo "${ECHO_T}$cross_compiling" >&6; }
2553 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2554 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2555 if { (ac_try="$ac_link"
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_link") 2>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; then
2565 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2566 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2567 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2569 for ac_file
in conftest.exe conftest conftest.
*; do
2570 test -f "$ac_file" ||
continue
2572 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2573 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2579 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2580 See \`config.log' for more details." >&5
2581 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2582 See \`config.log' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2586 rm -f conftest
$ac_cv_exeext
2587 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2588 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2590 rm -f conftest.
$ac_ext
2591 EXEEXT
=$ac_cv_exeext
2593 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2594 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2595 if test "${ac_cv_objext+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 cat >conftest.
$ac_ext <<_ACEOF
2601 cat confdefs.h
>>conftest.
$ac_ext
2602 cat >>conftest.
$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2613 rm -f conftest.o conftest.obj
2614 if { (ac_try
="$ac_compile"
2616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compile") 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
2624 for ac_file in conftest.o conftest.obj conftest.*; do
2625 test -f "$ac_file" || continue;
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2628 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2637 See \`config.log
' for more details." >&5
2638 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2639 See \`config.log' for more details.
" >&2;}
2640 { (exit 1); exit 1; }; }
2643 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2645 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2646 echo "${ECHO_T}$ac_cv_objext" >&6; }
2647 OBJEXT=$ac_cv_objext
2649 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2650 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2651 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2652 echo $ECHO_N "(cached
) $ECHO_C" >&6
2654 cat >conftest.$ac_ext <<_ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2672 rm -f conftest.$ac_objext
2673 if { (ac_try="$ac_compile"
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compile") 2>conftest.er1
2681 grep -v '^ *+' conftest.er1 >conftest.err
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2685 (exit $ac_status); } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.$ac_objext; then
2691 echo "$as_me: failed program was
:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2701 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2702 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2703 GCC=`test $ac_compiler_gnu = yes && echo yes`
2704 ac_test_CFLAGS=${CFLAGS+set}
2705 ac_save_CFLAGS=$CFLAGS
2706 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2707 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2708 if test "${ac_cv_prog_cc_g+set}" = set; then
2709 echo $ECHO_N "(cached
) $ECHO_C" >&6
2711 ac_save_c_werror_flag=$ac_c_werror_flag
2712 ac_c_werror_flag=yes
2715 cat >conftest.$ac_ext <<_ACEOF
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2730 rm -f conftest.$ac_objext
2731 if { (ac_try="$ac_compile"
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2736 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2737 (eval "$ac_compile") 2>conftest.er1
2739 grep -v '^ *+' conftest.er1 >conftest.err
2741 cat conftest.err >&5
2742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2743 (exit $ac_status); } && {
2744 test -z "$ac_c_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest.$ac_objext; then
2749 echo "$as_me: failed program was
:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2753 cat >conftest.$ac_ext <<_ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 rm -f conftest.$ac_objext
2769 if { (ac_try="$ac_compile"
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compile") 2>conftest.er1
2777 grep -v '^ *+' conftest.er1 >conftest.err
2779 cat conftest.err >&5
2780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2781 (exit $ac_status); } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.$ac_objext; then
2787 echo "$as_me: failed program was
:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2790 ac_c_werror_flag=$ac_save_c_werror_flag
2792 cat >conftest.$ac_ext <<_ACEOF
2795 cat confdefs.h >>conftest.$ac_ext
2796 cat >>conftest.$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2807 rm -f conftest.$ac_objext
2808 if { (ac_try="$ac_compile"
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2813 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2816 grep -v '^ *+' conftest.er1 >conftest.err
2818 cat conftest.err >&5
2819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
2826 echo "$as_me: failed program was
:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_c_werror_flag=$ac_save_c_werror_flag
2841 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2843 if test "$ac_test_CFLAGS" = set; then
2844 CFLAGS=$ac_save_CFLAGS
2845 elif test $ac_cv_prog_cc_g = yes; then
2846 if test "$GCC" = yes; then
2852 if test "$GCC" = yes; then
2858 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2859 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2860 if test "${ac_cv_prog_cc_c89+set}" = set; then
2861 echo $ECHO_N "(cached
) $ECHO_C" >&6
2863 ac_cv_prog_cc_c89=no
2865 cat >conftest.$ac_ext <<_ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 cat >>conftest.$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2873 #include <sys/types.h>
2874 #include <sys/stat.h>
2875 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2876 struct buf { int x; };
2877 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2878 static char *e (p, i)
2884 static char *f (char * (*g) (char **, int), char **p, ...)
2889 s = g (p, va_arg (v,int));
2894 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2895 function prototypes and stuff, but not '\xHH' hex character constants.
2896 These don't provoke an error unfortunately, instead are silently treated
2897 as 'x'. The following induces an error, until -std is added to get
2898 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2899 array size at least. It's necessary to write '\x00'==0 to get something
2900 that's true only with -std. */
2901 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2903 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2904 inside strings and character constants. */
2906 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2908 int test (int i, double x);
2909 struct s1 {int (*f) (int a);};
2910 struct s2 {int (*f) (double a);};
2911 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2917 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2922 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2923 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2925 CC="$ac_save_CC $ac_arg"
2926 rm -f conftest.$ac_objext
2927 if { (ac_try="$ac_compile"
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2935 grep -v '^ *+' conftest.er1 >conftest.err
2937 cat conftest.err >&5
2938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then
2943 ac_cv_prog_cc_c89=$ac_arg
2945 echo "$as_me: failed program was
:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f core conftest.err conftest.$ac_objext
2952 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2954 rm -f conftest.$ac_ext
2959 case "x
$ac_cv_prog_cc_c89" in
2961 { echo "$as_me:$LINENO: result
: none needed
" >&5
2962 echo "${ECHO_T}none needed
" >&6; } ;;
2964 { echo "$as_me:$LINENO: result
: unsupported
" >&5
2965 echo "${ECHO_T}unsupported
" >&6; } ;;
2967 CC="$CC $ac_cv_prog_cc_c89"
2968 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
2969 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2974 ac_cpp='$CPP $CPPFLAGS'
2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2980 ac_cpp='$CXXCPP $CPPFLAGS'
2981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2984 if test -z "$CXX"; then
2985 if test -n "$CCC"; then
2988 if test -n "$ac_tool_prefix"; then
2989 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2993 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
2994 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
2995 if test "${ac_cv_prog_CXX+set}" = set; then
2996 echo $ECHO_N "(cached
) $ECHO_C" >&6
2998 if test -n "$CXX"; then
2999 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3009 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3019 if test -n "$CXX"; then
3020 { echo "$as_me:$LINENO: result
: $CXX" >&5
3021 echo "${ECHO_T}$CXX" >&6; }
3023 { echo "$as_me:$LINENO: result
: no
" >&5
3024 echo "${ECHO_T}no
" >&6; }
3028 test -n "$CXX" && break
3031 if test -z "$CXX"; then
3033 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
3036 set dummy $ac_prog; ac_word=$2
3037 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3038 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3039 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3040 echo $ECHO_N "(cached
) $ECHO_C" >&6
3042 if test -n "$ac_ct_CXX"; then
3043 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_ac_ct_CXX="$ac_prog"
3053 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3062 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3063 if test -n "$ac_ct_CXX"; then
3064 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3065 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3067 { echo "$as_me:$LINENO: result
: no
" >&5
3068 echo "${ECHO_T}no
" >&6; }
3072 test -n "$ac_ct_CXX" && break
3075 if test "x
$ac_ct_CXX" = x; then
3078 case $cross_compiling:$ac_tool_warned in
3080 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3081 whose name does not start with the
host triplet. If you think this
3082 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3083 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3084 whose name does not start with the
host triplet. If you think this
3085 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3086 ac_tool_warned=yes ;;
3094 # Provide some information about the compiler.
3095 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3096 ac_compiler=`set X $ac_compile; echo $2`
3097 { (ac_try="$ac_compiler --version >&5"
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compiler --version >&5") 2>&5
3105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3106 (exit $ac_status); }
3107 { (ac_try="$ac_compiler -v >&5"
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3113 (eval "$ac_compiler -v >&5") 2>&5
3115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3116 (exit $ac_status); }
3117 { (ac_try="$ac_compiler -V >&5"
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3122 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3123 (eval "$ac_compiler -V >&5") 2>&5
3125 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3126 (exit $ac_status); }
3128 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3129 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3130 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3131 echo $ECHO_N "(cached
) $ECHO_C" >&6
3133 cat >conftest.$ac_ext <<_ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3151 rm -f conftest.$ac_objext
3152 if { (ac_try="$ac_compile"
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_cxx_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3170 echo "$as_me: failed program was
:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3180 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3181 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3182 GXX=`test $ac_compiler_gnu = yes && echo yes`
3183 ac_test_CXXFLAGS=${CXXFLAGS+set}
3184 ac_save_CXXFLAGS=$CXXFLAGS
3185 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3186 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3187 if test "${ac_cv_prog_cxx_g+set}" = set; then
3188 echo $ECHO_N "(cached
) $ECHO_C" >&6
3190 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3191 ac_cxx_werror_flag=yes
3194 cat >conftest.$ac_ext <<_ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3209 rm -f conftest.$ac_objext
3210 if { (ac_try="$ac_compile"
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3216 (eval "$ac_compile") 2>conftest.er1
3218 grep -v '^ *+' conftest.er1 >conftest.err
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3222 (exit $ac_status); } && {
3223 test -z "$ac_cxx_werror_flag" ||
3224 test ! -s conftest.err
3225 } && test -s conftest.$ac_objext; then
3226 ac_cv_prog_cxx_g=yes
3228 echo "$as_me: failed program was
:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3232 cat >conftest.$ac_ext <<_ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3247 rm -f conftest.$ac_objext
3248 if { (ac_try="$ac_compile"
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3253 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_compile") 2>conftest.er1
3256 grep -v '^ *+' conftest.er1 >conftest.err
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3260 (exit $ac_status); } && {
3261 test -z "$ac_cxx_werror_flag" ||
3262 test ! -s conftest.err
3263 } && test -s conftest.$ac_objext; then
3266 echo "$as_me: failed program was
:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3271 cat >conftest.$ac_ext <<_ACEOF
3274 cat confdefs.h >>conftest.$ac_ext
3275 cat >>conftest.$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3286 rm -f conftest.$ac_objext
3287 if { (ac_try="$ac_compile"
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_compile") 2>conftest.er1
3295 grep -v '^ *+' conftest.er1 >conftest.err
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3299 (exit $ac_status); } && {
3300 test -z "$ac_cxx_werror_flag" ||
3301 test ! -s conftest.err
3302 } && test -s conftest.$ac_objext; then
3303 ac_cv_prog_cxx_g=yes
3305 echo "$as_me: failed program was
:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3320 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3321 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3322 if test "$ac_test_CXXFLAGS" = set; then
3323 CXXFLAGS=$ac_save_CXXFLAGS
3324 elif test $ac_cv_prog_cxx_g = yes; then
3325 if test "$GXX" = yes; then
3331 if test "$GXX" = yes; then
3338 ac_cpp='$CPP $CPPFLAGS'
3339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3346 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3347 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3348 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3349 echo $ECHO_N "(cached
) $ECHO_C" >&6
3351 if test -n "$CPPBIN"; then
3352 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3362 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3371 CPPBIN=$ac_cv_prog_CPPBIN
3372 if test -n "$CPPBIN"; then
3373 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3374 echo "${ECHO_T}$CPPBIN" >&6; }
3376 { echo "$as_me:$LINENO: result
: no
" >&5
3377 echo "${ECHO_T}no
" >&6; }
3382 if test -z "$ac_cv_prog_CPPBIN"; then
3383 ac_ct_CPPBIN=$CPPBIN
3384 # Extract the first word of "cpp
", so it can be a program name with args.
3385 set dummy cpp; ac_word=$2
3386 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3387 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3388 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3389 echo $ECHO_N "(cached
) $ECHO_C" >&6
3391 if test -n "$ac_ct_CPPBIN"; then
3392 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3402 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3411 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3412 if test -n "$ac_ct_CPPBIN"; then
3413 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3414 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3416 { echo "$as_me:$LINENO: result
: no
" >&5
3417 echo "${ECHO_T}no
" >&6; }
3420 if test "x
$ac_ct_CPPBIN" = x; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3426 whose name does not start with the
host triplet. If you think this
3427 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3428 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3429 whose name does not start with the
host triplet. If you think this
3430 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3431 ac_tool_warned=yes ;;
3433 CPPBIN=$ac_ct_CPPBIN
3436 CPPBIN="$ac_cv_prog_CPPBIN"
3440 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3441 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3442 if test "${wine_cv_toolsdir+set}" = set; then
3443 echo $ECHO_N "(cached
) $ECHO_C" >&6
3445 if test -z "$with_wine_tools"; then
3446 if test "$cross_compiling" = "yes"; then
3447 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3448 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3449 { (exit 1); exit 1; }; }
3451 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3453 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3454 case $with_wine_tools in
3455 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3456 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3459 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3460 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3461 { (exit 1); exit 1; }; }
3464 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3465 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3466 TOOLSDIR=$wine_cv_toolsdir
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3476 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3477 # On Suns, sometimes $CPP names a directory.
3478 if test -n "$CPP" && test -d "$CPP"; then
3481 if test -z "$CPP"; then
3482 if test "${ac_cv_prog_CPP+set}" = set; then
3483 echo $ECHO_N "(cached
) $ECHO_C" >&6
3485 # Double quotes because CPP needs to be expanded
3486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3489 for ac_c_preproc_warn_flag in '' yes
3491 # Use a header file that comes with gcc, so configuring glibc
3492 # with a fresh cross-compiler works.
3493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3494 # <limits.h> exists even on freestanding compilers.
3495 # On the NeXT, cc -E runs the code through the compiler's parser,
3496 # not just through cpp. "Syntax error
" is here to catch this case.
3497 cat >conftest.$ac_ext <<_ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3504 # include <limits.h>
3506 # include <assert.h>
3510 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3515 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3518 grep -v '^ *+' conftest.er1 >conftest.err
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3522 (exit $ac_status); } >/dev/null && {
3523 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3524 test ! -s conftest.err
3528 echo "$as_me: failed program was
:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3531 # Broken: fails on valid input.
3535 rm -f conftest.err conftest.$ac_ext
3537 # OK, works on sane cases. Now check whether nonexistent headers
3538 # can be detected and how.
3539 cat >conftest.$ac_ext <<_ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3545 #include <ac_nonexistent.h>
3547 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3552 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3555 grep -v '^ *+' conftest.er1 >conftest.err
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3559 (exit $ac_status); } >/dev/null && {
3560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3563 # Broken: success on invalid input.
3566 echo "$as_me: failed program was
:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 # Passes both tests.
3574 rm -f conftest.err conftest.$ac_ext
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3591 { echo "$as_me:$LINENO: result
: $CPP" >&5
3592 echo "${ECHO_T}$CPP" >&6; }
3594 for ac_c_preproc_warn_flag in '' yes
3596 # Use a header file that comes with gcc, so configuring glibc
3597 # with a fresh cross-compiler works.
3598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3599 # <limits.h> exists even on freestanding compilers.
3600 # On the NeXT, cc -E runs the code through the compiler's parser,
3601 # not just through cpp. "Syntax error
" is here to catch this case.
3602 cat >conftest.$ac_ext <<_ACEOF
3605 cat confdefs.h >>conftest.$ac_ext
3606 cat >>conftest.$ac_ext <<_ACEOF
3607 /* end confdefs.h. */
3609 # include <limits.h>
3611 # include <assert.h>
3615 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3621 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3627 (exit $ac_status); } >/dev/null && {
3628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3633 echo "$as_me: failed program was
:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 # Broken: fails on valid input.
3640 rm -f conftest.err conftest.$ac_ext
3642 # OK, works on sane cases. Now check whether nonexistent headers
3643 # can be detected and how.
3644 cat >conftest.$ac_ext <<_ACEOF
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3650 #include <ac_nonexistent.h>
3652 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3660 grep -v '^ *+' conftest.er1 >conftest.err
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3664 (exit $ac_status); } >/dev/null && {
3665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3668 # Broken: success on invalid input.
3671 echo "$as_me: failed program was
:" >&5
3672 sed 's/^/| /' conftest.$ac_ext >&5
3674 # Passes both tests.
3679 rm -f conftest.err conftest.$ac_ext
3682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3683 rm -f conftest.err conftest.$ac_ext
3684 if $ac_preproc_ok; then
3687 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3688 See \
`config.log' for more details." >&5
3689 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3690 See \`config.log
' for more details." >&2;}
3691 { (exit 1); exit 1; }; }
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3697 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking for X" >&5
3702 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3705 # Check whether --with-x was given.
3706 if test "${with_x+set}" = set; then
3710 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3711 if test "x$with_x" = xno; then
3712 # The user explicitly disabled X.
3715 case $x_includes,$x_libraries in #(
3716 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3717 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3718 { (exit 1); exit 1; }; };; #(
3719 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 # One or both of the vars are not set, and there is no cached value.
3723 ac_x_includes=no ac_x_libraries=no
3724 rm -f -r conftest.dir
3725 if mkdir conftest.dir; then
3727 cat >Imakefile <<'_ACEOF'
3729 @echo incroot='${INCROOT}'
3731 @echo usrlibdir='${USRLIBDIR}'
3733 @echo libdir='${LIBDIR}'
3735 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3737 for ac_var in incroot usrlibdir libdir; do
3738 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3740 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3741 for ac_extension in a so sl; do
3742 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3743 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3744 ac_im_usrlibdir=$ac_im_libdir; break
3747 # Screen out bogus values from the imake configuration. They are
3748 # bogus both because they are the default anyway, and because
3749 # using them would break gcc on systems where it needs fixed includes.
3750 case $ac_im_incroot in
3751 /usr/include) ac_x_includes= ;;
3752 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3754 case $ac_im_usrlibdir in
3756 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3760 rm -f -r conftest.dir
3763 # Standard set of common directories for X headers.
3764 # Check X11 before X11Rn because it is often a symlink to the current release.
3776 /usr
/local
/X11
/include
3777 /usr
/local
/X11R
6/include
3778 /usr
/local
/X11R
5/include
3779 /usr
/local
/X11R
4/include
3781 /usr
/local
/include
/X11
3782 /usr
/local
/include
/X11R6
3783 /usr
/local
/include
/X11R5
3784 /usr
/local
/include
/X11R4
3788 /usr
/XFree86
/include
/X11
3792 /usr
/unsupported
/include
3794 /usr
/local
/x11r
5/include
3795 /usr
/lpp
/Xamples
/include
3797 /usr
/openwin
/include
3798 /usr
/openwin
/share
/include
'
3800 if test "$ac_x_includes" = no; then
3801 # Guess where to find include files, by looking for Xlib.h.
3802 # First, try using that file with no special directory specified.
3803 cat >conftest.$ac_ext <<_ACEOF
3806 cat confdefs.h >>conftest.$ac_ext
3807 cat >>conftest.$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3809 #include <X11/Xlib.h>
3811 if { (ac_try="$ac_cpp conftest.$ac_ext"
3813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3819 grep -v '^
*+' conftest.er1 >conftest.err
3821 cat conftest.err >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); } >/dev/null && {
3824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3825 test ! -s conftest.err
3827 # We can compile using X headers with no special include directory.
3830 echo "$as_me: failed program was:" >&5
3831 sed 's
/^
/|
/' conftest.$ac_ext >&5
3833 for ac_dir in $ac_x_header_dirs; do
3834 if test -r "$ac_dir/X11/Xlib.h"; then
3835 ac_x_includes=$ac_dir
3841 rm -f conftest.err conftest.$ac_ext
3842 fi # $ac_x_includes = no
3844 if test "$ac_x_libraries" = no; then
3845 # Check for the libraries.
3846 # See if we find them without any special options.
3847 # Don't add to
$LIBS permanently.
3850 cat >conftest.
$ac_ext <<_ACEOF
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 #include <X11/Xlib.h>
3865 rm -f conftest.
$ac_objext conftest
$ac_exeext
3866 if { (ac_try
="$ac_link"
3868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3872 (eval "$ac_link") 2>conftest.er1
3874 grep -v '^ *+' conftest.er1 >conftest.err
3876 cat conftest.err >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } && {
3879 test -z "$ac_c_werror_flag" ||
3880 test ! -s conftest.err
3881 } && test -s conftest$ac_exeext &&
3882 $as_test_x conftest$ac_exeext; then
3884 # We can link X programs with no special library path.
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.$ac_ext >&5
3891 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
3893 # Don't even attempt the hair of trying to link an X program!
3894 for ac_extension in a so sl; do
3895 if test -r "$ac_dir/libX11.$ac_extension"; then
3896 ac_x_libraries=$ac_dir
3903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3904 conftest$ac_exeext conftest.$ac_ext
3905 fi # $ac_x_libraries = no
3907 case $ac_x_includes,$ac_x_libraries in #(
3909 # Didn't find X, or a directory has "'" in its name.
3910 ac_cv_have_x="have_x=no";; #(
3912 # Record where we found X for the cache.
3913 ac_cv_have_x="have_x=yes\
3914 ac_x_includes='$ac_x_includes'\
3915 ac_x_libraries='$ac_x_libraries'"
3921 eval "$ac_cv_have_x"
3924 if test "$have_x" != yes; then
3925 { echo "$as_me:$LINENO: result: $have_x" >&5
3926 echo "${ECHO_T}$have_x" >&6; }
3929 # If each of the values was on the command line, it overrides each guess.
3930 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3931 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3932 # Update the cache value to reflect the command line values.
3933 ac_cv_have_x="have_x=yes\
3934 ac_x_includes='$x_includes'\
3935 ac_x_libraries='$x_libraries'"
3936 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3937 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3940 if test "$no_x" = yes; then
3941 # Not all programs may use this symbol, but it does not hurt to define it.
3943 cat >>confdefs.h <<\_ACEOF
3944 #define X_DISPLAY_MISSING 1
3947 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3949 if test -n "$x_includes"; then
3950 X_CFLAGS="$X_CFLAGS -I$x_includes"
3953 # It would also be nice to do this for all -L options, not just this one.
3954 if test -n "$x_libraries"; then
3955 X_LIBS="$X_LIBS -L$x_libraries"
3956 # For Solaris; some versions of Sun CC require a space after -R and
3957 # others require no space. Words are not sufficient . . . .
3958 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3959 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3960 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3961 ac_xsave_c_werror_flag=$ac_c_werror_flag
3962 ac_c_werror_flag=yes
3963 cat >conftest.$ac_ext <<_ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3978 rm -f conftest.$ac_objext conftest$ac_exeext
3979 if { (ac_try="$ac_link"
3981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3982 *) ac_try_echo
=$ac_try;;
3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3985 (eval "$ac_link") 2>conftest.er1
3987 grep -v '^ *+' conftest.er1
>conftest.err
3989 cat conftest.err
>&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } && {
3992 test -z "$ac_c_werror_flag" ||
3993 test ! -s conftest.err
3994 } && test -s conftest
$ac_exeext &&
3995 $as_test_x conftest
$ac_exeext; then
3996 { echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6; }
3998 X_LIBS
="$X_LIBS -R$x_libraries"
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.
$ac_ext >&5
4003 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4004 cat >conftest.
$ac_ext <<_ACEOF
4007 cat confdefs.h
>>conftest.
$ac_ext
4008 cat >>conftest.
$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4019 rm -f conftest.
$ac_objext conftest
$ac_exeext
4020 if { (ac_try
="$ac_link"
4022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4023 *) ac_try_echo=$ac_try;;
4025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4026 (eval "$ac_link") 2>conftest.er1
4028 grep -v '^ *+' conftest.er1 >conftest.err
4030 cat conftest.err >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } && {
4033 test -z "$ac_c_werror_flag" ||
4034 test ! -s conftest.err
4035 } && test -s conftest$ac_exeext &&
4036 $as_test_x conftest$ac_exeext; then
4037 { echo "$as_me:$LINENO: result: yes" >&5
4038 echo "${ECHO_T}yes" >&6; }
4039 X_LIBS="$X_LIBS -R $x_libraries"
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 { echo "$as_me:$LINENO: result: neither works" >&5
4045 echo "${ECHO_T}neither works" >&6; }
4048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4049 conftest$ac_exeext conftest.$ac_ext
4052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4053 conftest$ac_exeext conftest.$ac_ext
4054 ac_c_werror_flag=$ac_xsave_c_werror_flag
4058 # Check for system-dependent libraries X programs must link with.
4059 # Do this before checking for the system-independent R6 libraries
4060 # (-lICE), since we may need -lsocket or whatever for X linking.
4062 if test "$ISC" = yes; then
4063 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4065 # Martyn Johnson says this is needed for Ultrix, if the X
4066 # libraries were built with DECnet support. And Karl Berry says
4067 # the Alpha needs dnet_stub (dnet does not exist).
4068 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4069 cat >conftest.$ac_ext <<_ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 /* Override any GCC internal prototype to avoid an error.
4077 Use char because int might match the return type of a GCC
4078 builtin and then its argument prototype would still apply. */
4082 char XOpenDisplay ();
4086 return XOpenDisplay ();
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (ac_try="$ac_link"
4094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4095 *) ac_try_echo
=$ac_try;;
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4100 grep -v '^ *+' conftest.er1
>conftest.err
4102 cat conftest.err
>&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest
$ac_exeext &&
4108 $as_test_x conftest
$ac_exeext; then
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.
$ac_ext >&5
4114 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4115 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 ac_check_lib_save_LIBS
=$LIBS
4121 cat >conftest.
$ac_ext <<_ACEOF
4124 cat confdefs.h
>>conftest.
$ac_ext
4125 cat >>conftest.
$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4128 /* Override any GCC internal prototype to avoid an error.
4129 Use char because int might match the return type of a GCC
4130 builtin and then its argument prototype would still apply. */
4138 return dnet_ntoa ();
4143 rm -f conftest.
$ac_objext conftest
$ac_exeext
4144 if { (ac_try
="$ac_link"
4146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150 (eval "$ac_link") 2>conftest.er1
4152 grep -v '^ *+' conftest.er1 >conftest.err
4154 cat conftest.err >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } && {
4157 test -z "$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4159 } && test -s conftest$ac_exeext &&
4160 $as_test_x conftest$ac_exeext; then
4161 ac_cv_lib_dnet_dnet_ntoa=yes
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4166 ac_cv_lib_dnet_dnet_ntoa=no
4169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4170 conftest$ac_exeext conftest.$ac_ext
4171 LIBS=$ac_check_lib_save_LIBS
4173 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4174 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4175 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4176 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4179 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4180 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4181 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4182 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 ac_check_lib_save_LIBS=$LIBS
4186 LIBS="-ldnet_stub $LIBS"
4187 cat >conftest.$ac_ext <<_ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4194 /* Override any GCC internal prototype to avoid an error.
4195 Use char because int might match the return type of a GCC
4196 builtin and then its argument prototype would still apply. */
4204 return dnet_ntoa ();
4209 rm -f conftest.$ac_objext conftest$ac_exeext
4210 if { (ac_try="$ac_link"
4212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4213 *) ac_try_echo
=$ac_try;;
4215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4216 (eval "$ac_link") 2>conftest.er1
4218 grep -v '^ *+' conftest.er1
>conftest.err
4220 cat conftest.err
>&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } && {
4223 test -z "$ac_c_werror_flag" ||
4224 test ! -s conftest.err
4225 } && test -s conftest
$ac_exeext &&
4226 $as_test_x conftest
$ac_exeext; then
4227 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.
$ac_ext >&5
4232 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4236 conftest
$ac_exeext conftest.
$ac_ext
4237 LIBS
=$ac_check_lib_save_LIBS
4239 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4240 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4241 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4242 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4248 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4249 conftest
$ac_exeext conftest.
$ac_ext
4250 LIBS
="$ac_xsave_LIBS"
4252 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4253 # to get the SysV transport functions.
4254 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4256 # The nsl library prevents programs from opening the X display
4257 # on Irix 5.2, according to T.E. Dickey.
4258 # The functions gethostbyname, getservbyname, and inet_addr are
4259 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4260 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4261 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4262 if test "${ac_cv_func_gethostbyname+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 cat >conftest.
$ac_ext <<_ACEOF
4268 cat confdefs.h
>>conftest.
$ac_ext
4269 cat >>conftest.
$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4271 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4273 #define gethostbyname innocuous_gethostbyname
4275 /* System header to define __stub macros and hopefully few prototypes,
4276 which can conflict with char gethostbyname (); below.
4277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4278 <limits.h> exists even on freestanding compilers. */
4281 # include <limits.h>
4283 # include <assert.h>
4286 #undef gethostbyname
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4294 char gethostbyname ();
4295 /* The GNU C library defines this for functions which it implements
4296 to always fail with ENOSYS. Some functions are actually named
4297 something starting with __ and the normal name is an alias. */
4298 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4305 return gethostbyname ();
4310 rm -f conftest.
$ac_objext conftest
$ac_exeext
4311 if { (ac_try
="$ac_link"
4313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_link") 2>conftest.er1
4319 grep -v '^ *+' conftest.er1 >conftest.err
4321 cat conftest.err >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } && {
4324 test -z "$ac_c_werror_flag" ||
4325 test ! -s conftest.err
4326 } && test -s conftest$ac_exeext &&
4327 $as_test_x conftest$ac_exeext; then
4328 ac_cv_func_gethostbyname=yes
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 ac_cv_func_gethostbyname=no
4336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4337 conftest$ac_exeext conftest.$ac_ext
4339 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4340 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4342 if test $ac_cv_func_gethostbyname = no; then
4343 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4344 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4345 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 ac_check_lib_save_LIBS=$LIBS
4350 cat >conftest.$ac_ext <<_ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4357 /* Override any GCC internal prototype to avoid an error.
4358 Use char because int might match the return type of a GCC
4359 builtin and then its argument prototype would still apply. */
4363 char gethostbyname ();
4367 return gethostbyname ();
4372 rm -f conftest.$ac_objext conftest$ac_exeext
4373 if { (ac_try="$ac_link"
4375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4376 *) ac_try_echo
=$ac_try;;
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_link") 2>conftest.er1
4381 grep -v '^ *+' conftest.er1
>conftest.err
4383 cat conftest.err
>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } && {
4386 test -z "$ac_c_werror_flag" ||
4387 test ! -s conftest.err
4388 } && test -s conftest
$ac_exeext &&
4389 $as_test_x conftest
$ac_exeext; then
4390 ac_cv_lib_nsl_gethostbyname
=yes
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.
$ac_ext >&5
4395 ac_cv_lib_nsl_gethostbyname
=no
4398 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4399 conftest
$ac_exeext conftest.
$ac_ext
4400 LIBS
=$ac_check_lib_save_LIBS
4402 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4403 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4404 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4405 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4408 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4409 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4410 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4411 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 ac_check_lib_save_LIBS
=$LIBS
4416 cat >conftest.
$ac_ext <<_ACEOF
4419 cat confdefs.h
>>conftest.
$ac_ext
4420 cat >>conftest.
$ac_ext <<_ACEOF
4421 /* end confdefs.h. */
4423 /* Override any GCC internal prototype to avoid an error.
4424 Use char because int might match the return type of a GCC
4425 builtin and then its argument prototype would still apply. */
4429 char gethostbyname ();
4433 return gethostbyname ();
4438 rm -f conftest.
$ac_objext conftest
$ac_exeext
4439 if { (ac_try
="$ac_link"
4441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4445 (eval "$ac_link") 2>conftest.er1
4447 grep -v '^ *+' conftest.er1 >conftest.err
4449 cat conftest.err >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } && {
4452 test -z "$ac_c_werror_flag" ||
4453 test ! -s conftest.err
4454 } && test -s conftest$ac_exeext &&
4455 $as_test_x conftest$ac_exeext; then
4456 ac_cv_lib_bsd_gethostbyname=yes
4458 echo "$as_me: failed program was:" >&5
4459 sed 's/^/| /' conftest.$ac_ext >&5
4461 ac_cv_lib_bsd_gethostbyname=no
4464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4465 conftest$ac_exeext conftest.$ac_ext
4466 LIBS=$ac_check_lib_save_LIBS
4468 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4469 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4470 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4477 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4478 # socket/setsockopt and other routines are undefined under SCO ODT
4479 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4480 # on later versions), says Simon Leinen: it contains gethostby*
4481 # variants that don't use the name server (or something). -lsocket
4482 # must be given before -lnsl if both are needed. We assume that
4483 # if connect needs -lnsl, so does gethostbyname.
4484 { echo "$as_me:$LINENO: checking for connect" >&5
4485 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_connect+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 cat >conftest.$ac_ext <<_ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define connect innocuous_connect
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char connect (); below.
4501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 <limits.h> exists even on freestanding compilers. */
4505 # include <limits.h>
4507 # include <assert.h>
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4519 /* The GNU C library defines this for functions which it implements
4520 to always fail with ENOSYS. Some functions are actually named
4521 something starting with __ and the normal name is an alias. */
4522 #if defined __stub_connect || defined __stub___connect
4534 rm -f conftest.$ac_objext conftest$ac_exeext
4535 if { (ac_try="$ac_link"
4537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4538 *) ac_try_echo
=$ac_try;;
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4543 grep -v '^ *+' conftest.er1
>conftest.err
4545 cat conftest.err
>&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest
$ac_exeext &&
4551 $as_test_x conftest
$ac_exeext; then
4552 ac_cv_func_connect
=yes
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.
$ac_ext >&5
4557 ac_cv_func_connect
=no
4560 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4561 conftest
$ac_exeext conftest.
$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4564 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4566 if test $ac_cv_func_connect = no
; then
4567 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4568 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_socket_connect+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS
=$LIBS
4573 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4574 cat >conftest.
$ac_ext <<_ACEOF
4577 cat confdefs.h
>>conftest.
$ac_ext
4578 cat >>conftest.
$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any GCC internal prototype to avoid an error.
4582 Use char because int might match the return type of a GCC
4583 builtin and then its argument prototype would still apply. */
4596 rm -f conftest.
$ac_objext conftest
$ac_exeext
4597 if { (ac_try
="$ac_link"
4599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_link") 2>conftest.er1
4605 grep -v '^ *+' conftest.er1 >conftest.err
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest$ac_exeext &&
4613 $as_test_x conftest$ac_exeext; then
4614 ac_cv_lib_socket_connect=yes
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_cv_lib_socket_connect=no
4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4623 conftest$ac_exeext conftest.$ac_ext
4624 LIBS=$ac_check_lib_save_LIBS
4626 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4627 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4628 if test $ac_cv_lib_socket_connect = yes; then
4629 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4634 # Guillermo Gomez says -lposix is necessary on A/UX.
4635 { echo "$as_me:$LINENO: checking for remove" >&5
4636 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4637 if test "${ac_cv_func_remove+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 cat >conftest.$ac_ext <<_ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4646 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4648 #define remove innocuous_remove
4650 /* System header to define __stub macros and hopefully few prototypes,
4651 which can conflict with char remove (); below.
4652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4653 <limits.h> exists even on freestanding compilers. */
4656 # include <limits.h>
4658 # include <assert.h>
4663 /* Override any GCC internal prototype to avoid an error.
4664 Use char because int might match the return type of a GCC
4665 builtin and then its argument prototype would still apply. */
4670 /* The GNU C library defines this for functions which it implements
4671 to always fail with ENOSYS. Some functions are actually named
4672 something starting with __ and the normal name is an alias. */
4673 #if defined __stub_remove || defined __stub___remove
4685 rm -f conftest.$ac_objext conftest$ac_exeext
4686 if { (ac_try="$ac_link"
4688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4689 *) ac_try_echo
=$ac_try;;
4691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692 (eval "$ac_link") 2>conftest.er1
4694 grep -v '^ *+' conftest.er1
>conftest.err
4696 cat conftest.err
>&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } && {
4699 test -z "$ac_c_werror_flag" ||
4700 test ! -s conftest.err
4701 } && test -s conftest
$ac_exeext &&
4702 $as_test_x conftest
$ac_exeext; then
4703 ac_cv_func_remove
=yes
4705 echo "$as_me: failed program was:" >&5
4706 sed 's/^/| /' conftest.
$ac_ext >&5
4708 ac_cv_func_remove
=no
4711 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4712 conftest
$ac_exeext conftest.
$ac_ext
4714 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4715 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4717 if test $ac_cv_func_remove = no
; then
4718 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4719 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4720 if test "${ac_cv_lib_posix_remove+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 ac_check_lib_save_LIBS
=$LIBS
4724 LIBS
="-lposix $LIBS"
4725 cat >conftest.
$ac_ext <<_ACEOF
4728 cat confdefs.h
>>conftest.
$ac_ext
4729 cat >>conftest.
$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4732 /* Override any GCC internal prototype to avoid an error.
4733 Use char because int might match the return type of a GCC
4734 builtin and then its argument prototype would still apply. */
4747 rm -f conftest.
$ac_objext conftest
$ac_exeext
4748 if { (ac_try
="$ac_link"
4750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4751 *) ac_try_echo=$ac_try;;
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_link") 2>conftest.er1
4756 grep -v '^ *+' conftest.er1 >conftest.err
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } && {
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest$ac_exeext &&
4764 $as_test_x conftest$ac_exeext; then
4765 ac_cv_lib_posix_remove=yes
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4770 ac_cv_lib_posix_remove=no
4773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4774 conftest$ac_exeext conftest.$ac_ext
4775 LIBS=$ac_check_lib_save_LIBS
4777 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4778 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4779 if test $ac_cv_lib_posix_remove = yes; then
4780 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4785 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4786 { echo "$as_me:$LINENO: checking for shmat" >&5
4787 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4788 if test "${ac_cv_func_shmat+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 cat >conftest.$ac_ext <<_ACEOF
4794 cat confdefs.h >>conftest.$ac_ext
4795 cat >>conftest.$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4799 #define shmat innocuous_shmat
4801 /* System header to define __stub macros and hopefully few prototypes,
4802 which can conflict with char shmat (); below.
4803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4804 <limits.h> exists even on freestanding compilers. */
4807 # include <limits.h>
4809 # include <assert.h>
4814 /* Override any GCC internal prototype to avoid an error.
4815 Use char because int might match the return type of a GCC
4816 builtin and then its argument prototype would still apply. */
4821 /* The GNU C library defines this for functions which it implements
4822 to always fail with ENOSYS. Some functions are actually named
4823 something starting with __ and the normal name is an alias. */
4824 #if defined __stub_shmat || defined __stub___shmat
4836 rm -f conftest.$ac_objext conftest$ac_exeext
4837 if { (ac_try="$ac_link"
4839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4840 *) ac_try_echo
=$ac_try;;
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_link") 2>conftest.er1
4845 grep -v '^ *+' conftest.er1
>conftest.err
4847 cat conftest.err
>&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } && {
4850 test -z "$ac_c_werror_flag" ||
4851 test ! -s conftest.err
4852 } && test -s conftest
$ac_exeext &&
4853 $as_test_x conftest
$ac_exeext; then
4854 ac_cv_func_shmat
=yes
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.
$ac_ext >&5
4862 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4863 conftest
$ac_exeext conftest.
$ac_ext
4865 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4866 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4868 if test $ac_cv_func_shmat = no
; then
4869 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4870 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4871 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 ac_check_lib_save_LIBS
=$LIBS
4876 cat >conftest.
$ac_ext <<_ACEOF
4879 cat confdefs.h
>>conftest.
$ac_ext
4880 cat >>conftest.
$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4883 /* Override any GCC internal prototype to avoid an error.
4884 Use char because int might match the return type of a GCC
4885 builtin and then its argument prototype would still apply. */
4898 rm -f conftest.
$ac_objext conftest
$ac_exeext
4899 if { (ac_try
="$ac_link"
4901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4902 *) ac_try_echo=$ac_try;;
4904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4905 (eval "$ac_link") 2>conftest.er1
4907 grep -v '^ *+' conftest.er1 >conftest.err
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } && {
4912 test -z "$ac_c_werror_flag" ||
4913 test ! -s conftest.err
4914 } && test -s conftest$ac_exeext &&
4915 $as_test_x conftest$ac_exeext; then
4916 ac_cv_lib_ipc_shmat=yes
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.$ac_ext >&5
4921 ac_cv_lib_ipc_shmat=no
4924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4925 conftest$ac_exeext conftest.$ac_ext
4926 LIBS=$ac_check_lib_save_LIBS
4928 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4929 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4930 if test $ac_cv_lib_ipc_shmat = yes; then
4931 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4937 # Check for libraries that X11R6 Xt/Xaw programs need.
4938 ac_save_LDFLAGS=$LDFLAGS
4939 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4940 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4941 # check for ICE first), but we must link in the order -lSM -lICE or
4942 # we get undefined symbols. So assume we have SM if we have ICE.
4943 # These have to be linked with before -lX11, unlike the other
4944 # libraries we check for below, so use a different variable.
4945 # John Interrante, Karl Berry
4946 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4947 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4948 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 ac_check_lib_save_LIBS=$LIBS
4952 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4953 cat >conftest.$ac_ext <<_ACEOF
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4960 /* Override any GCC internal prototype to avoid an error.
4961 Use char because int might match the return type of a GCC
4962 builtin and then its argument prototype would still apply. */
4966 char IceConnectionNumber ();
4970 return IceConnectionNumber ();
4975 rm -f conftest.$ac_objext conftest$ac_exeext
4976 if { (ac_try="$ac_link"
4978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4979 *) ac_try_echo
=$ac_try;;
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_link") 2>conftest.er1
4984 grep -v '^ *+' conftest.er1
>conftest.err
4986 cat conftest.err
>&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } && {
4989 test -z "$ac_c_werror_flag" ||
4990 test ! -s conftest.err
4991 } && test -s conftest
$ac_exeext &&
4992 $as_test_x conftest
$ac_exeext; then
4993 ac_cv_lib_ICE_IceConnectionNumber
=yes
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.
$ac_ext >&5
4998 ac_cv_lib_ICE_IceConnectionNumber
=no
5001 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5002 conftest
$ac_exeext conftest.
$ac_ext
5003 LIBS
=$ac_check_lib_save_LIBS
5005 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5006 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5007 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5008 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5011 LDFLAGS
=$ac_save_LDFLAGS
5018 # Extract the first word of "$ac_prog", so it can be a program name with args.
5019 set dummy
$ac_prog; ac_word
=$2
5020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5022 if test "${ac_cv_prog_FLEX+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 if test -n "$FLEX"; then
5026 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_FLEX
="$ac_prog"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 FLEX
=$ac_cv_prog_FLEX
5046 if test -n "$FLEX"; then
5047 { echo "$as_me:$LINENO: result: $FLEX" >&5
5048 echo "${ECHO_T}$FLEX" >&6; }
5050 { echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6; }
5055 test -n "$FLEX" && break
5057 test -n "$FLEX" || FLEX
="none"
5059 if test "$FLEX" = "none"
5061 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5062 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5063 { (exit 1); exit 1; }; }
5066 for ac_prog
in bison
5068 # Extract the first word of "$ac_prog", so it can be a program name with args.
5069 set dummy
$ac_prog; ac_word
=$2
5070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5072 if test "${ac_cv_prog_BISON+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 if test -n "$BISON"; then
5076 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5082 test -z "$as_dir" && as_dir
=.
5083 for ac_exec_ext
in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_BISON
="$ac_prog"
5086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5095 BISON
=$ac_cv_prog_BISON
5096 if test -n "$BISON"; then
5097 { echo "$as_me:$LINENO: result: $BISON" >&5
5098 echo "${ECHO_T}$BISON" >&6; }
5100 { echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6; }
5105 test -n "$BISON" && break
5107 test -n "$BISON" || BISON
="none"
5109 if test "$BISON" = "none"
5111 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5112 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5113 { (exit 1); exit 1; }; }
5116 if test -n "$ac_tool_prefix"; then
5117 for ac_prog
in gas as
5119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5120 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5123 if test "${ac_cv_prog_AS+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 if test -n "$AS"; then
5127 ac_cv_prog_AS
="$AS" # Let the user override the test.
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_exec_ext
in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 if test -n "$AS"; then
5148 { echo "$as_me:$LINENO: result: $AS" >&5
5149 echo "${ECHO_T}$AS" >&6; }
5151 { echo "$as_me:$LINENO: result: no" >&5
5152 echo "${ECHO_T}no" >&6; }
5156 test -n "$AS" && break
5159 if test -z "$AS"; then
5161 for ac_prog
in gas as
5163 # Extract the first word of "$ac_prog", so it can be a program name with args.
5164 set dummy
$ac_prog; ac_word
=$2
5165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5167 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 if test -n "$ac_ct_AS"; then
5171 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir
=.
5178 for ac_exec_ext
in '' $ac_executable_extensions; do
5179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5180 ac_cv_prog_ac_ct_AS
="$ac_prog"
5181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5191 if test -n "$ac_ct_AS"; then
5192 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5193 echo "${ECHO_T}$ac_ct_AS" >&6; }
5195 { echo "$as_me:$LINENO: result: no" >&5
5196 echo "${ECHO_T}no" >&6; }
5200 test -n "$ac_ct_AS" && break
5203 if test "x$ac_ct_AS" = x
; then
5206 case $cross_compiling:$ac_tool_warned in
5208 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5209 whose name does not start with the host triplet. If you think this
5210 configuration is useful to you, please write to autoconf@gnu.org." >&5
5211 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5212 whose name does not start with the host triplet. If you think this
5213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5214 ac_tool_warned
=yes ;;
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5222 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5225 if test "${ac_cv_prog_LD+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 if test -n "$LD"; then
5229 ac_cv_prog_LD
="$LD" # Let the user override the test.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 if test -n "$LD"; then
5250 { echo "$as_me:$LINENO: result: $LD" >&5
5251 echo "${ECHO_T}$LD" >&6; }
5253 { echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6; }
5259 if test -z "$ac_cv_prog_LD"; then
5261 # Extract the first word of "ld", so it can be a program name with args.
5262 set dummy ld
; ac_word
=$2
5263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5265 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 if test -n "$ac_ct_LD"; then
5269 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_ac_ct_LD
="ld"
5279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5289 if test -n "$ac_ct_LD"; then
5290 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5291 echo "${ECHO_T}$ac_ct_LD" >&6; }
5293 { echo "$as_me:$LINENO: result: no" >&5
5294 echo "${ECHO_T}no" >&6; }
5297 if test "x$ac_ct_LD" = x
; then
5300 case $cross_compiling:$ac_tool_warned in
5302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5303 whose name does not start with the host triplet. If you think this
5304 configuration is useful to you, please write to autoconf@gnu.org." >&5
5305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5306 whose name does not start with the host triplet. If you think this
5307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5308 ac_tool_warned
=yes ;;
5316 if test -n "$ac_tool_prefix"; then
5317 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5318 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5321 if test "${ac_cv_prog_AR+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 if test -n "$AR"; then
5325 ac_cv_prog_AR
="$AR" # Let the user override the test.
5327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir
=.
5332 for ac_exec_ext
in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 if test -n "$AR"; then
5346 { echo "$as_me:$LINENO: result: $AR" >&5
5347 echo "${ECHO_T}$AR" >&6; }
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5355 if test -z "$ac_cv_prog_AR"; then
5357 # Extract the first word of "ar", so it can be a program name with args.
5358 set dummy
ar; ac_word
=$2
5359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5361 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 if test -n "$ac_ct_AR"; then
5365 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5371 test -z "$as_dir" && as_dir
=.
5372 for ac_exec_ext
in '' $ac_executable_extensions; do
5373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5374 ac_cv_prog_ac_ct_AR
="ar"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5385 if test -n "$ac_ct_AR"; then
5386 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5387 echo "${ECHO_T}$ac_ct_AR" >&6; }
5389 { echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6; }
5393 if test "x$ac_ct_AR" = x
; then
5396 case $cross_compiling:$ac_tool_warned in
5398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5399 whose name does not start with the host triplet. If you think this
5400 configuration is useful to you, please write to autoconf@gnu.org." >&5
5401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5402 whose name does not start with the host triplet. If you think this
5403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5404 ac_tool_warned
=yes ;;
5412 if test -n "$ac_tool_prefix"; then
5413 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5414 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5417 if test "${ac_cv_prog_RANLIB+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 if test -n "$RANLIB"; then
5421 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5427 test -z "$as_dir" && as_dir
=.
5428 for ac_exec_ext
in '' $ac_executable_extensions; do
5429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5440 RANLIB
=$ac_cv_prog_RANLIB
5441 if test -n "$RANLIB"; then
5442 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5443 echo "${ECHO_T}$RANLIB" >&6; }
5445 { echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6; }
5451 if test -z "$ac_cv_prog_RANLIB"; then
5452 ac_ct_RANLIB
=$RANLIB
5453 # Extract the first word of "ranlib", so it can be a program name with args.
5454 set dummy ranlib
; ac_word
=$2
5455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5457 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 if test -n "$ac_ct_RANLIB"; then
5461 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5481 if test -n "$ac_ct_RANLIB"; then
5482 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5483 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5489 if test "x$ac_ct_RANLIB" = x
; then
5492 case $cross_compiling:$ac_tool_warned in
5494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5495 whose name does not start with the host triplet. If you think this
5496 configuration is useful to you, please write to autoconf@gnu.org." >&5
5497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5498 whose name does not start with the host triplet. If you think this
5499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5500 ac_tool_warned
=yes ;;
5502 RANLIB
=$ac_ct_RANLIB
5505 RANLIB
="$ac_cv_prog_RANLIB"
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5510 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5513 if test "${ac_cv_prog_STRIP+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 if test -n "$STRIP"; then
5517 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir
=.
5524 for ac_exec_ext
in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 STRIP
=$ac_cv_prog_STRIP
5537 if test -n "$STRIP"; then
5538 { echo "$as_me:$LINENO: result: $STRIP" >&5
5539 echo "${ECHO_T}$STRIP" >&6; }
5541 { echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6; }
5547 if test -z "$ac_cv_prog_STRIP"; then
5549 # Extract the first word of "strip", so it can be a program name with args.
5550 set dummy strip
; ac_word
=$2
5551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5553 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 if test -n "$ac_ct_STRIP"; then
5557 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5563 test -z "$as_dir" && as_dir
=.
5564 for ac_exec_ext
in '' $ac_executable_extensions; do
5565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5566 ac_cv_prog_ac_ct_STRIP
="strip"
5567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5577 if test -n "$ac_ct_STRIP"; then
5578 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5579 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5581 { echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6; }
5585 if test "x$ac_ct_STRIP" = x
; then
5588 case $cross_compiling:$ac_tool_warned in
5590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5591 whose name does not start with the host triplet. If you think this
5592 configuration is useful to you, please write to autoconf@gnu.org." >&5
5593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5594 whose name does not start with the host triplet. If you think this
5595 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5596 ac_tool_warned
=yes ;;
5601 STRIP
="$ac_cv_prog_STRIP"
5604 if test -n "$ac_tool_prefix"; then
5605 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5606 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5609 if test "${ac_cv_prog_WINDRES+set}" = set; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5612 if test -n "$WINDRES"; then
5613 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5619 test -z "$as_dir" && as_dir
=.
5620 for ac_exec_ext
in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5632 WINDRES
=$ac_cv_prog_WINDRES
5633 if test -n "$WINDRES"; then
5634 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5635 echo "${ECHO_T}$WINDRES" >&6; }
5637 { echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6; }
5643 if test -z "$ac_cv_prog_WINDRES"; then
5644 ac_ct_WINDRES
=$WINDRES
5645 # Extract the first word of "windres", so it can be a program name with args.
5646 set dummy windres
; ac_word
=$2
5647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5649 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 if test -n "$ac_ct_WINDRES"; then
5653 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir
=.
5660 for ac_exec_ext
in '' $ac_executable_extensions; do
5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662 ac_cv_prog_ac_ct_WINDRES
="windres"
5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5673 if test -n "$ac_ct_WINDRES"; then
5674 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5675 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5677 { echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6; }
5681 if test "x$ac_ct_WINDRES" = x
; then
5684 case $cross_compiling:$ac_tool_warned in
5686 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5687 whose name does not start with the host triplet. If you think this
5688 configuration is useful to you, please write to autoconf@gnu.org." >&5
5689 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5690 whose name does not start with the host triplet. If you think this
5691 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5692 ac_tool_warned
=yes ;;
5694 WINDRES
=$ac_ct_WINDRES
5697 WINDRES
="$ac_cv_prog_WINDRES"
5700 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5701 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5703 if test "$LN_S" = "ln -s"; then
5704 { echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6; }
5707 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5708 echo "${ECHO_T}no, using $LN_S" >&6; }
5711 { echo "$as_me:$LINENO: checking whether ln works" >&5
5712 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5713 rm -f conf$$ conf$$.
file
5715 if ln conf$$.
file conf$$
2>/dev
/null
; then
5718 { echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6; }
5723 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5724 echo "${ECHO_T}no, using $LN" >&6; }
5726 rm -f conf$$ conf$$.
file
5727 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5728 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5729 if test "${ac_cv_path_GREP+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5732 # Extract the first word of "grep ggrep" to use in msg output
5733 if test -z "$GREP"; then
5734 set dummy
grep ggrep
; ac_prog_name
=$2
5735 if test "${ac_cv_path_GREP+set}" = set; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 ac_path_GREP_found
=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5744 test -z "$as_dir" && as_dir
=.
5745 for ac_prog
in grep ggrep
; do
5746 for ac_exec_ext
in '' $ac_executable_extensions; do
5747 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5748 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5749 # Check for GNU ac_path_GREP and select it if it is found.
5750 # Check for GNU $ac_path_GREP
5751 case `"$ac_path_GREP" --version 2>&1` in
5753 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5756 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5759 cat "conftest.in" "conftest.in" >"conftest.tmp"
5760 mv "conftest.tmp" "conftest.in"
5761 cp "conftest.in" "conftest.nl"
5762 echo 'GREP' >> "conftest.nl"
5763 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5764 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5765 ac_count
=`expr $ac_count + 1`
5766 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5767 # Best one so far, save it but keep looking for a better one
5768 ac_cv_path_GREP
="$ac_path_GREP"
5769 ac_path_GREP_max
=$ac_count
5771 # 10*(2^10) chars as input seems more than enough
5772 test $ac_count -gt 10 && break
5774 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5778 $ac_path_GREP_found && break 3
5788 GREP
="$ac_cv_path_GREP"
5789 if test -z "$GREP"; then
5790 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5791 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5792 { (exit 1); exit 1; }; }
5796 ac_cv_path_GREP
=$GREP
5801 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5802 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5803 GREP
="$ac_cv_path_GREP"
5806 { echo "$as_me:$LINENO: checking for egrep" >&5
5807 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5808 if test "${ac_cv_path_EGREP+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5812 then ac_cv_path_EGREP
="$GREP -E"
5814 # Extract the first word of "egrep" to use in msg output
5815 if test -z "$EGREP"; then
5816 set dummy
egrep; ac_prog_name
=$2
5817 if test "${ac_cv_path_EGREP+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 ac_path_EGREP_found
=false
5821 # Loop through the user's path and test for each of PROGNAME-LIST
5822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5823 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5826 test -z "$as_dir" && as_dir
=.
5827 for ac_prog
in egrep; do
5828 for ac_exec_ext
in '' $ac_executable_extensions; do
5829 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5830 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5831 # Check for GNU ac_path_EGREP and select it if it is found.
5832 # Check for GNU $ac_path_EGREP
5833 case `"$ac_path_EGREP" --version 2>&1` in
5835 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5838 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5841 cat "conftest.in" "conftest.in" >"conftest.tmp"
5842 mv "conftest.tmp" "conftest.in"
5843 cp "conftest.in" "conftest.nl"
5844 echo 'EGREP' >> "conftest.nl"
5845 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5846 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5847 ac_count
=`expr $ac_count + 1`
5848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5849 # Best one so far, save it but keep looking for a better one
5850 ac_cv_path_EGREP
="$ac_path_EGREP"
5851 ac_path_EGREP_max
=$ac_count
5853 # 10*(2^10) chars as input seems more than enough
5854 test $ac_count -gt 10 && break
5856 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5860 $ac_path_EGREP_found && break 3
5870 EGREP
="$ac_cv_path_EGREP"
5871 if test -z "$EGREP"; then
5872 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5873 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5874 { (exit 1); exit 1; }; }
5878 ac_cv_path_EGREP
=$EGREP
5884 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5885 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5886 EGREP
="$ac_cv_path_EGREP"
5889 # Extract the first word of "ldconfig", so it can be a program name with args.
5890 set dummy ldconfig
; ac_word
=$2
5891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5893 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5902 for as_dir
in /sbin
/usr
/sbin
$PATH
5905 test -z "$as_dir" && as_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5916 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5920 LDCONFIG
=$ac_cv_path_LDCONFIG
5921 if test -n "$LDCONFIG"; then
5922 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5923 echo "${ECHO_T}$LDCONFIG" >&6; }
5925 { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5930 # Find a good install program. We prefer a C program (faster),
5931 # so one script is as good as another. But avoid the broken or
5932 # incompatible versions:
5933 # SysV /etc/install, /usr/sbin/install
5934 # SunOS /usr/etc/install
5935 # IRIX /sbin/install
5937 # AmigaOS /C/install, which installs bootblocks on floppy discs
5938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5941 # OS/2's system install, which has a completely different semantic
5942 # ./install, which can be erroneously created by make from ./install.sh.
5943 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5944 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5945 if test -z "$INSTALL"; then
5946 if test "${ac_cv_path_install+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5953 test -z "$as_dir" && as_dir
=.
5954 # Account for people who put trailing slashes in PATH elements.
5956 .
/ | .
// |
/cC
/* | \
5957 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5958 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5961 # OSF1 and SCO ODT 3.0 have their own names for install.
5962 # Don't use installbsd from OSF since it installs stuff as root
5964 for ac_prog
in ginstall scoinst
install; do
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5967 if test $ac_prog = install &&
5968 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5969 # AIX install. It has an incompatible calling convention.
5971 elif test $ac_prog = install &&
5972 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5973 # program-specific install script used by HP pwplus--don't use.
5976 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5989 if test "${ac_cv_path_install+set}" = set; then
5990 INSTALL
=$ac_cv_path_install
5992 # As a last resort, use the slow shell script. Don't cache a
5993 # value for INSTALL within a source directory, because that will
5994 # break other packages using the cache if that directory is
5995 # removed, or if the value is a relative name.
5996 INSTALL
=$ac_install_sh
5999 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6000 echo "${ECHO_T}$INSTALL" >&6; }
6002 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6003 # It thinks the first close brace ends the variable substitution.
6004 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6006 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6008 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6011 [\\/$
]* | ?
:[\\/]* ) ;;
6012 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6015 for ac_prog
in lclint lint
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy
$ac_prog; ac_word
=$2
6019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6021 if test "${ac_cv_prog_LINT+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6024 if test -n "$LINT"; then
6025 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir
=.
6032 for ac_exec_ext
in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_LINT
="$ac_prog"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6044 LINT
=$ac_cv_prog_LINT
6045 if test -n "$LINT"; then
6046 { echo "$as_me:$LINENO: result: $LINT" >&5
6047 echo "${ECHO_T}$LINT" >&6; }
6049 { echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6; }
6054 test -n "$LINT" && break
6057 if test "$LINT" = "lint"
6059 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6064 for ac_prog
in fontforge
6066 # Extract the first word of "$ac_prog", so it can be a program name with args.
6067 set dummy
$ac_prog; ac_word
=$2
6068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6070 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 if test -n "$FONTFORGE"; then
6074 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6080 test -z "$as_dir" && as_dir
=.
6081 for ac_exec_ext
in '' $ac_executable_extensions; do
6082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6083 ac_cv_prog_FONTFORGE
="$ac_prog"
6084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 FONTFORGE
=$ac_cv_prog_FONTFORGE
6094 if test -n "$FONTFORGE"; then
6095 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6096 echo "${ECHO_T}$FONTFORGE" >&6; }
6098 { echo "$as_me:$LINENO: result: no" >&5
6099 echo "${ECHO_T}no" >&6; }
6103 test -n "$FONTFORGE" && break
6105 test -n "$FONTFORGE" || FONTFORGE
="false"
6107 for ac_prog
in pkg-config
6109 # Extract the first word of "$ac_prog", so it can be a program name with args.
6110 set dummy
$ac_prog; ac_word
=$2
6111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6113 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 if test -n "$PKG_CONFIG"; then
6117 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6123 test -z "$as_dir" && as_dir
=.
6124 for ac_exec_ext
in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6137 if test -n "$PKG_CONFIG"; then
6138 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6139 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6141 { echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6; }
6146 test -n "$PKG_CONFIG" && break
6148 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6153 # Extract the first word of "prelink", so it can be a program name with args.
6154 set dummy prelink
; ac_word
=$2
6155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6157 if test "${ac_cv_path_PRELINK+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6162 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6166 for as_dir
in /sbin
/usr
/sbin
$PATH
6169 test -z "$as_dir" && as_dir
=.
6170 for ac_exec_ext
in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6180 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6184 PRELINK
=$ac_cv_path_PRELINK
6185 if test -n "$PRELINK"; then
6186 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6187 echo "${ECHO_T}$PRELINK" >&6; }
6189 { echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6; }
6199 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6200 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6201 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6202 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 ac_check_lib_save_LIBS
=$LIBS
6206 cat >conftest.
$ac_ext <<_ACEOF
6209 cat confdefs.h
>>conftest.
$ac_ext
6210 cat >>conftest.
$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6213 /* Override any GCC internal prototype to avoid an error.
6214 Use char because int might match the return type of a GCC
6215 builtin and then its argument prototype would still apply. */
6219 char i386_set_ldt ();
6223 return i386_set_ldt ();
6228 rm -f conftest.
$ac_objext conftest
$ac_exeext
6229 if { (ac_try
="$ac_link"
6231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6232 *) ac_try_echo=$ac_try;;
6234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6235 (eval "$ac_link") 2>conftest.er1
6237 grep -v '^ *+' conftest.er1 >conftest.err
6239 cat conftest.err >&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); } && {
6242 test -z "$ac_c_werror_flag" ||
6243 test ! -s conftest.err
6244 } && test -s conftest$ac_exeext &&
6245 $as_test_x conftest$ac_exeext; then
6246 ac_cv_lib_i386_i386_set_ldt=yes
6248 echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.$ac_ext >&5
6251 ac_cv_lib_i386_i386_set_ldt=no
6254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6255 conftest$ac_exeext conftest.$ac_ext
6256 LIBS=$ac_check_lib_save_LIBS
6258 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6259 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6260 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6261 cat >>confdefs.h <<_ACEOF
6262 #define HAVE_LIBI386 1
6270 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6271 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6272 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6275 ac_check_lib_save_LIBS=$LIBS
6276 LIBS="-lossaudio $LIBS"
6277 cat >conftest.$ac_ext <<_ACEOF
6280 cat confdefs.h >>conftest.$ac_ext
6281 cat >>conftest.$ac_ext <<_ACEOF
6282 /* end confdefs.h. */
6284 /* Override any GCC internal prototype to avoid an error.
6285 Use char because int might match the return type of a GCC
6286 builtin and then its argument prototype would still apply. */
6294 return _oss_ioctl ();
6299 rm -f conftest.$ac_objext conftest$ac_exeext
6300 if { (ac_try="$ac_link"
6302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6303 *) ac_try_echo
=$ac_try;;
6305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306 (eval "$ac_link") 2>conftest.er1
6308 grep -v '^ *+' conftest.er1
>conftest.err
6310 cat conftest.err
>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } && {
6313 test -z "$ac_c_werror_flag" ||
6314 test ! -s conftest.err
6315 } && test -s conftest
$ac_exeext &&
6316 $as_test_x conftest
$ac_exeext; then
6317 ac_cv_lib_ossaudio__oss_ioctl
=yes
6319 echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.
$ac_ext >&5
6322 ac_cv_lib_ossaudio__oss_ioctl
=no
6325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6326 conftest
$ac_exeext conftest.
$ac_ext
6327 LIBS
=$ac_check_lib_save_LIBS
6329 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6330 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6331 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6332 cat >>confdefs.h
<<_ACEOF
6333 #define HAVE_LIBOSSAUDIO 1
6336 LIBS
="-lossaudio $LIBS"
6340 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6341 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6342 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 ac_check_lib_save_LIBS
=$LIBS
6346 LIBS
="-lpthread $LIBS"
6347 cat >conftest.
$ac_ext <<_ACEOF
6350 cat confdefs.h
>>conftest.
$ac_ext
6351 cat >>conftest.
$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6354 /* Override any GCC internal prototype to avoid an error.
6355 Use char because int might match the return type of a GCC
6356 builtin and then its argument prototype would still apply. */
6360 char pthread_create ();
6364 return pthread_create ();
6369 rm -f conftest.
$ac_objext conftest
$ac_exeext
6370 if { (ac_try
="$ac_link"
6372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6373 *) ac_try_echo=$ac_try;;
6375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376 (eval "$ac_link") 2>conftest.er1
6378 grep -v '^ *+' conftest.er1 >conftest.err
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } && {
6383 test -z "$ac_c_werror_flag" ||
6384 test ! -s conftest.err
6385 } && test -s conftest$ac_exeext &&
6386 $as_test_x conftest$ac_exeext; then
6387 ac_cv_lib_pthread_pthread_create=yes
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.$ac_ext >&5
6392 ac_cv_lib_pthread_pthread_create=no
6395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6396 conftest$ac_exeext conftest.$ac_ext
6397 LIBS=$ac_check_lib_save_LIBS
6399 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6400 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6401 if test $ac_cv_lib_pthread_pthread_create = yes; then
6402 LIBPTHREAD="-lpthread"
6421 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6422 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6423 if test "${ac_cv_header_stdc+set}" = set; then
6424 echo $ECHO_N "(cached) $ECHO_C" >&6
6426 cat >conftest.$ac_ext <<_ACEOF
6429 cat confdefs.h >>conftest.$ac_ext
6430 cat >>conftest.$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6445 rm -f conftest.$ac_objext
6446 if { (ac_try="$ac_compile"
6448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6449 *) ac_try_echo
=$ac_try;;
6451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6452 (eval "$ac_compile") 2>conftest.er1
6454 grep -v '^ *+' conftest.er1
>conftest.err
6456 cat conftest.err
>&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } && {
6459 test -z "$ac_c_werror_flag" ||
6460 test ! -s conftest.err
6461 } && test -s conftest.
$ac_objext; then
6462 ac_cv_header_stdc
=yes
6464 echo "$as_me: failed program was:" >&5
6465 sed 's/^/| /' conftest.
$ac_ext >&5
6467 ac_cv_header_stdc
=no
6470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6472 if test $ac_cv_header_stdc = yes; then
6473 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6474 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 $EGREP "memchr" >/dev
/null
2>&1; then
6487 ac_cv_header_stdc
=no
6493 if test $ac_cv_header_stdc = yes; then
6494 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6495 cat >conftest.
$ac_ext <<_ACEOF
6498 cat confdefs.h
>>conftest.
$ac_ext
6499 cat >>conftest.
$ac_ext <<_ACEOF
6500 /* end confdefs.h. */
6504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6505 $EGREP "free" >/dev
/null
2>&1; then
6508 ac_cv_header_stdc
=no
6514 if test $ac_cv_header_stdc = yes; then
6515 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6516 if test "$cross_compiling" = yes; then
6519 cat >conftest.
$ac_ext <<_ACEOF
6522 cat confdefs.h
>>conftest.
$ac_ext
6523 cat >>conftest.
$ac_ext <<_ACEOF
6524 /* end confdefs.h. */
6527 #if ((' ' & 0x0FF) == 0x020)
6528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6531 # define ISLOWER(c) \
6532 (('a' <= (c) && (c) <= 'i') \
6533 || ('j' <= (c) && (c) <= 'r') \
6534 || ('s' <= (c) && (c) <= 'z'))
6535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6543 for (i = 0; i < 256; i++)
6544 if (XOR (islower (i), ISLOWER (i))
6545 || toupper (i) != TOUPPER (i))
6550 rm -f conftest
$ac_exeext
6551 if { (ac_try
="$ac_link"
6553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6554 *) ac_try_echo=$ac_try;;
6556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557 (eval "$ac_link") 2>&5
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6561 { (case "(($ac_try" in
6562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6563 *) ac_try_echo
=$ac_try;;
6565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566 (eval "$ac_try") 2>&5
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); }; }; then
6572 echo "$as_me: program exited with status $ac_status" >&5
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.
$ac_ext >&5
6577 ac_cv_header_stdc
=no
6579 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6585 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6586 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6587 if test $ac_cv_header_stdc = yes; then
6589 cat >>confdefs.h
<<\_ACEOF
6590 #define STDC_HEADERS 1
6595 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6605 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6606 inttypes.h stdint.h unistd.h
6608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6611 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6612 echo $ECHO_N "(cached) $ECHO_C" >&6
6614 cat >conftest.
$ac_ext <<_ACEOF
6617 cat confdefs.h
>>conftest.
$ac_ext
6618 cat >>conftest.
$ac_ext <<_ACEOF
6619 /* end confdefs.h. */
6620 $ac_includes_default
6622 #include <$ac_header>
6624 rm -f conftest.
$ac_objext
6625 if { (ac_try
="$ac_compile"
6627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6628 *) ac_try_echo=$ac_try;;
6630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6631 (eval "$ac_compile") 2>conftest.er1
6633 grep -v '^ *+' conftest.er1 >conftest.err
6635 cat conftest.err >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); } && {
6638 test -z "$ac_c_werror_flag" ||
6639 test ! -s conftest.err
6640 } && test -s conftest.$ac_objext; then
6641 eval "$as_ac_Header=yes"
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6646 eval "$as_ac_Header=no"
6649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6651 ac_res=`eval echo '${'$as_ac_Header'}'`
6652 { echo "$as_me:$LINENO: result: $ac_res" >&5
6653 echo "${ECHO_T}$ac_res" >&6; }
6654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6655 cat >>confdefs.h <<_ACEOF
6656 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6776 AudioUnit/AudioUnit.h \
6778 CoreAudio/CoreAudio.h \
6779 DiskArbitration/DiskArbitration.h \
6792 fontconfig/fontconfig.h \
6818 machine/soundcard.h \
6823 netinet/in_systm.h \
6889 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6891 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6894 echo $ECHO_N "(cached) $ECHO_C" >&6
6896 ac_res=`eval echo '${'$as_ac_Header'}'`
6897 { echo "$as_me:$LINENO: result: $ac_res" >&5
6898 echo "${ECHO_T}$ac_res" >&6; }
6900 # Is the header compilable?
6901 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6903 cat >conftest.$ac_ext <<_ACEOF
6906 cat confdefs.h >>conftest.$ac_ext
6907 cat >>conftest.$ac_ext <<_ACEOF
6908 /* end confdefs.h. */
6909 $ac_includes_default
6910 #include <$ac_header>
6912 rm -f conftest.$ac_objext
6913 if { (ac_try="$ac_compile"
6915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6916 *) ac_try_echo
=$ac_try;;
6918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6919 (eval "$ac_compile") 2>conftest.er1
6921 grep -v '^ *+' conftest.er1
>conftest.err
6923 cat conftest.err
>&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); } && {
6926 test -z "$ac_c_werror_flag" ||
6927 test ! -s conftest.err
6928 } && test -s conftest.
$ac_objext; then
6929 ac_header_compiler
=yes
6931 echo "$as_me: failed program was:" >&5
6932 sed 's/^/| /' conftest.
$ac_ext >&5
6934 ac_header_compiler
=no
6937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6938 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6939 echo "${ECHO_T}$ac_header_compiler" >&6; }
6941 # Is the header present?
6942 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6944 cat >conftest.
$ac_ext <<_ACEOF
6947 cat confdefs.h
>>conftest.
$ac_ext
6948 cat >>conftest.
$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6950 #include <$ac_header>
6952 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6955 *) ac_try_echo=$ac_try;;
6957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6960 grep -v '^ *+' conftest.er1 >conftest.err
6962 cat conftest.err >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } >/dev/null && {
6965 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6966 test ! -s conftest.err
6968 ac_header_preproc=yes
6970 echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.$ac_ext >&5
6973 ac_header_preproc=no
6976 rm -f conftest.err conftest.$ac_ext
6977 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6978 echo "${ECHO_T}$ac_header_preproc" >&6; }
6980 # So? What about this header?
6981 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6983 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6984 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6986 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6987 ac_header_preproc=yes
6990 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6991 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6992 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6993 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6994 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6995 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6996 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6997 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6999 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7000 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7001 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7003 ## ------------------------------------ ##
7004 ## Report this to wine-devel@winehq.org ##
7005 ## ------------------------------------ ##
7007 ) | sed "s/^/$as_me: WARNING: /" >&2
7010 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7013 echo $ECHO_N "(cached) $ECHO_C" >&6
7015 eval "$as_ac_Header=\$ac_header_preproc"
7017 ac_res=`eval echo '${'$as_ac_Header'}'`
7018 { echo "$as_me:$LINENO: result: $ac_res" >&5
7019 echo "${ECHO_T}$ac_res" >&6; }
7022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7023 cat >>confdefs.h <<_ACEOF
7024 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7031 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7032 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7033 if test "${ac_cv_header_stat_broken+set}" = set; then
7034 echo $ECHO_N "(cached) $ECHO_C" >&6
7036 cat >conftest.$ac_ext <<_ACEOF
7039 cat confdefs.h >>conftest.$ac_ext
7040 cat >>conftest.$ac_ext <<_ACEOF
7041 /* end confdefs.h. */
7042 #include <sys/types.h>
7043 #include <sys/stat.h>
7045 #if defined S_ISBLK && defined S_IFDIR
7046 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7049 #if defined S_ISBLK && defined S_IFCHR
7050 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7053 #if defined S_ISLNK && defined S_IFREG
7054 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7057 #if defined S_ISSOCK && defined S_IFREG
7058 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7062 rm -f conftest.$ac_objext
7063 if { (ac_try="$ac_compile"
7065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7066 *) ac_try_echo
=$ac_try;;
7068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7069 (eval "$ac_compile") 2>conftest.er1
7071 grep -v '^ *+' conftest.er1
>conftest.err
7073 cat conftest.err
>&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); } && {
7076 test -z "$ac_c_werror_flag" ||
7077 test ! -s conftest.err
7078 } && test -s conftest.
$ac_objext; then
7079 ac_cv_header_stat_broken
=no
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.
$ac_ext >&5
7084 ac_cv_header_stat_broken
=yes
7087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7089 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7090 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7091 if test $ac_cv_header_stat_broken = yes; then
7093 cat >>confdefs.h
<<\_ACEOF
7094 #define STAT_MACROS_BROKEN 1
7105 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7107 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7108 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7110 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7113 cat >conftest.
$ac_ext <<_ACEOF
7116 cat confdefs.h
>>conftest.
$ac_ext
7117 cat >>conftest.
$ac_ext <<_ACEOF
7118 /* end confdefs.h. */
7119 #include <sys/types.h>
7120 #if HAVE_SYS_PARAM_H
7121 # include <sys/param.h>
7124 #include <$ac_header>
7126 rm -f conftest.
$ac_objext
7127 if { (ac_try
="$ac_compile"
7129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7130 *) ac_try_echo=$ac_try;;
7132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7133 (eval "$ac_compile") 2>conftest.er1
7135 grep -v '^ *+' conftest.er1 >conftest.err
7137 cat conftest.err >&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); } && {
7140 test -z "$ac_c_werror_flag" ||
7141 test ! -s conftest.err
7142 } && test -s conftest.$ac_objext; then
7143 eval "$as_ac_Header=yes"
7145 echo "$as_me: failed program was:" >&5
7146 sed 's/^/| /' conftest.$ac_ext >&5
7148 eval "$as_ac_Header=no"
7151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7153 ac_res=`eval echo '${'$as_ac_Header'}'`
7154 { echo "$as_me:$LINENO: result: $ac_res" >&5
7155 echo "${ECHO_T}$ac_res" >&6; }
7156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7157 cat >>confdefs.h <<_ACEOF
7158 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7174 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7176 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7177 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7180 echo $ECHO_N "(cached) $ECHO_C" >&6
7182 cat >conftest.$ac_ext <<_ACEOF
7185 cat confdefs.h >>conftest.$ac_ext
7186 cat >>conftest.$ac_ext <<_ACEOF
7187 /* end confdefs.h. */
7188 #include <sys/types.h>
7189 #if HAVE_SYS_SOCKET_H
7190 # include <sys/socket.h>
7193 #include <$ac_header>
7195 rm -f conftest.$ac_objext
7196 if { (ac_try="$ac_compile"
7198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7199 *) ac_try_echo
=$ac_try;;
7201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7202 (eval "$ac_compile") 2>conftest.er1
7204 grep -v '^ *+' conftest.er1
>conftest.err
7206 cat conftest.err
>&5
7207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208 (exit $ac_status); } && {
7209 test -z "$ac_c_werror_flag" ||
7210 test ! -s conftest.err
7211 } && test -s conftest.
$ac_objext; then
7212 eval "$as_ac_Header=yes"
7214 echo "$as_me: failed program was:" >&5
7215 sed 's/^/| /' conftest.
$ac_ext >&5
7217 eval "$as_ac_Header=no"
7220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7222 ac_res
=`eval echo '${'$as_ac_Header'}'`
7223 { echo "$as_me:$LINENO: result: $ac_res" >&5
7224 echo "${ECHO_T}$ac_res" >&6; }
7225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7226 cat >>confdefs.h
<<_ACEOF
7227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7234 #if HAVE_SYS_SOCKETVAR_H
7235 # include <sys/socketvar.h>
7239 for ac_header
in netinet
/tcp_var.h
7241 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7242 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7244 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7247 cat >conftest.
$ac_ext <<_ACEOF
7250 cat confdefs.h
>>conftest.
$ac_ext
7251 cat >>conftest.
$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #include <sys/types.h>
7254 #if HAVE_SYS_SOCKET_H
7255 # include <sys/socket.h>
7257 #if HAVE_SYS_SOCKETVAR_H
7258 # include <sys/socketvar.h>
7260 #if HAVE_NETINET_IN_H
7261 # include <netinet/in.h>
7263 #ifdef HAVE_NETINET_TCP_H
7264 # include <netinet/tcp.h>
7267 #include <$ac_header>
7269 rm -f conftest.
$ac_objext
7270 if { (ac_try
="$ac_compile"
7272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7273 *) ac_try_echo=$ac_try;;
7275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7276 (eval "$ac_compile") 2>conftest.er1
7278 grep -v '^ *+' conftest.er1 >conftest.err
7280 cat conftest.err >&5
7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 (exit $ac_status); } && {
7283 test -z "$ac_c_werror_flag" ||
7284 test ! -s conftest.err
7285 } && test -s conftest.$ac_objext; then
7286 eval "$as_ac_Header=yes"
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 eval "$as_ac_Header=no"
7294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7296 ac_res=`eval echo '${'$as_ac_Header'}'`
7297 { echo "$as_me:$LINENO: result: $ac_res" >&5
7298 echo "${ECHO_T}$ac_res" >&6; }
7299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7300 cat >>confdefs.h <<_ACEOF
7301 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7310 for ac_header in linux/ipx.h
7312 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7313 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7315 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7316 echo $ECHO_N "(cached) $ECHO_C" >&6
7318 cat >conftest.$ac_ext <<_ACEOF
7321 cat confdefs.h >>conftest.$ac_ext
7322 cat >>conftest.$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324 #include <sys/types.h>
7325 #ifdef HAVE_ASM_TYPES_H
7326 # include <asm/types.h>
7328 #if HAVE_SYS_SOCKET_H
7329 # include <sys/socket.h>
7332 #include <$ac_header>
7334 rm -f conftest.$ac_objext
7335 if { (ac_try="$ac_compile"
7337 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7338 *) ac_try_echo
=$ac_try;;
7340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7341 (eval "$ac_compile") 2>conftest.er1
7343 grep -v '^ *+' conftest.er1
>conftest.err
7345 cat conftest.err
>&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); } && {
7348 test -z "$ac_c_werror_flag" ||
7349 test ! -s conftest.err
7350 } && test -s conftest.
$ac_objext; then
7351 eval "$as_ac_Header=yes"
7353 echo "$as_me: failed program was:" >&5
7354 sed 's/^/| /' conftest.
$ac_ext >&5
7356 eval "$as_ac_Header=no"
7359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7361 ac_res
=`eval echo '${'$as_ac_Header'}'`
7362 { echo "$as_me:$LINENO: result: $ac_res" >&5
7363 echo "${ECHO_T}$ac_res" >&6; }
7364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7365 cat >>confdefs.h
<<_ACEOF
7366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7375 for ac_header
in resolv.h
7377 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7380 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7381 echo $ECHO_N "(cached) $ECHO_C" >&6
7383 cat >conftest.
$ac_ext <<_ACEOF
7386 cat confdefs.h
>>conftest.
$ac_ext
7387 cat >>conftest.
$ac_ext <<_ACEOF
7388 /* end confdefs.h. */
7389 #include <sys/types.h>
7390 #if HAVE_SYS_SOCKET_H
7391 # include <sys/socket.h>
7393 #if HAVE_NETINET_IN_H
7394 # include <netinet/in.h>
7396 #if HAVE_ARPA_NAMESER_H
7397 # include <arpa/nameser.h>
7400 #include <$ac_header>
7402 rm -f conftest.
$ac_objext
7403 if { (ac_try
="$ac_compile"
7405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7406 *) ac_try_echo=$ac_try;;
7408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7409 (eval "$ac_compile") 2>conftest.er1
7411 grep -v '^ *+' conftest.er1 >conftest.err
7413 cat conftest.err >&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); } && {
7416 test -z "$ac_c_werror_flag" ||
7417 test ! -s conftest.err
7418 } && test -s conftest.$ac_objext; then
7419 eval "$as_ac_Header=yes"
7421 echo "$as_me: failed program was:" >&5
7422 sed 's/^/| /' conftest.$ac_ext >&5
7424 eval "$as_ac_Header=no"
7427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7429 ac_res=`eval echo '${'$as_ac_Header'}'`
7430 { echo "$as_me:$LINENO: result: $ac_res" >&5
7431 echo "${ECHO_T}$ac_res" >&6; }
7432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7433 cat >>confdefs.h <<_ACEOF
7434 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7443 for ac_header in ucontext.h
7445 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7446 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7448 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7449 echo $ECHO_N "(cached) $ECHO_C" >&6
7451 cat >conftest.$ac_ext <<_ACEOF
7454 cat confdefs.h >>conftest.$ac_ext
7455 cat >>conftest.$ac_ext <<_ACEOF
7456 /* end confdefs.h. */
7459 #include <$ac_header>
7461 rm -f conftest.$ac_objext
7462 if { (ac_try="$ac_compile"
7464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7465 *) ac_try_echo
=$ac_try;;
7467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7468 (eval "$ac_compile") 2>conftest.er1
7470 grep -v '^ *+' conftest.er1
>conftest.err
7472 cat conftest.err
>&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); } && {
7475 test -z "$ac_c_werror_flag" ||
7476 test ! -s conftest.err
7477 } && test -s conftest.
$ac_objext; then
7478 eval "$as_ac_Header=yes"
7480 echo "$as_me: failed program was:" >&5
7481 sed 's/^/| /' conftest.
$ac_ext >&5
7483 eval "$as_ac_Header=no"
7486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7488 ac_res
=`eval echo '${'$as_ac_Header'}'`
7489 { echo "$as_me:$LINENO: result: $ac_res" >&5
7490 echo "${ECHO_T}$ac_res" >&6; }
7491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7492 cat >>confdefs.h
<<_ACEOF
7493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7502 for ac_header
in sys
/thr.h
7504 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7507 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7508 echo $ECHO_N "(cached) $ECHO_C" >&6
7510 cat >conftest.
$ac_ext <<_ACEOF
7513 cat confdefs.h
>>conftest.
$ac_ext
7514 cat >>conftest.
$ac_ext <<_ACEOF
7515 /* end confdefs.h. */
7516 #include <sys/types.h>
7518 #include <ucontext.h>
7521 #include <$ac_header>
7523 rm -f conftest.
$ac_objext
7524 if { (ac_try
="$ac_compile"
7526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7527 *) ac_try_echo=$ac_try;;
7529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7530 (eval "$ac_compile") 2>conftest.er1
7532 grep -v '^ *+' conftest.er1 >conftest.err
7534 cat conftest.err >&5
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 (exit $ac_status); } && {
7537 test -z "$ac_c_werror_flag" ||
7538 test ! -s conftest.err
7539 } && test -s conftest.$ac_objext; then
7540 eval "$as_ac_Header=yes"
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7545 eval "$as_ac_Header=no"
7548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7550 ac_res=`eval echo '${'$as_ac_Header'}'`
7551 { echo "$as_me:$LINENO: result: $ac_res" >&5
7552 echo "${ECHO_T}$ac_res" >&6; }
7553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7554 cat >>confdefs.h <<_ACEOF
7555 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7564 for ac_header in pthread_np.h
7566 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7567 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7570 echo $ECHO_N "(cached) $ECHO_C" >&6
7572 cat >conftest.$ac_ext <<_ACEOF
7575 cat confdefs.h >>conftest.$ac_ext
7576 cat >>conftest.$ac_ext <<_ACEOF
7577 /* end confdefs.h. */
7578 #ifdef HAVE_PTHREAD_H
7579 #include <pthread.h>
7582 #include <$ac_header>
7584 rm -f conftest.$ac_objext
7585 if { (ac_try="$ac_compile"
7587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7588 *) ac_try_echo
=$ac_try;;
7590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7591 (eval "$ac_compile") 2>conftest.er1
7593 grep -v '^ *+' conftest.er1
>conftest.err
7595 cat conftest.err
>&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); } && {
7598 test -z "$ac_c_werror_flag" ||
7599 test ! -s conftest.err
7600 } && test -s conftest.
$ac_objext; then
7601 eval "$as_ac_Header=yes"
7603 echo "$as_me: failed program was:" >&5
7604 sed 's/^/| /' conftest.
$ac_ext >&5
7606 eval "$as_ac_Header=no"
7609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7611 ac_res
=`eval echo '${'$as_ac_Header'}'`
7612 { echo "$as_me:$LINENO: result: $ac_res" >&5
7613 echo "${ECHO_T}$ac_res" >&6; }
7614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7615 cat >>confdefs.h
<<_ACEOF
7616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7625 for ac_header
in linux
/videodev.h
7627 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7630 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7631 echo $ECHO_N "(cached) $ECHO_C" >&6
7633 cat >conftest.
$ac_ext <<_ACEOF
7636 cat confdefs.h
>>conftest.
$ac_ext
7637 cat >>conftest.
$ac_ext <<_ACEOF
7638 /* end confdefs.h. */
7639 #ifdef HAVE_SYS_TIME_H
7640 #include <sys/time.h>
7642 #include <sys/types.h>
7643 #ifdef HAVE_ASM_TYPES_H
7644 #include <asm/types.h>
7647 #include <$ac_header>
7649 rm -f conftest.
$ac_objext
7650 if { (ac_try
="$ac_compile"
7652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7653 *) ac_try_echo=$ac_try;;
7655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7656 (eval "$ac_compile") 2>conftest.er1
7658 grep -v '^ *+' conftest.er1 >conftest.err
7660 cat conftest.err >&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } && {
7663 test -z "$ac_c_werror_flag" ||
7664 test ! -s conftest.err
7665 } && test -s conftest.$ac_objext; then
7666 eval "$as_ac_Header=yes"
7668 echo "$as_me: failed program was:" >&5
7669 sed 's/^/| /' conftest.$ac_ext >&5
7671 eval "$as_ac_Header=no"
7674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7676 ac_res=`eval echo '${'$as_ac_Header'}'`
7677 { echo "$as_me:$LINENO: result: $ac_res" >&5
7678 echo "${ECHO_T}$ac_res" >&6; }
7679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7680 cat >>confdefs.h <<_ACEOF
7681 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7690 for ac_header in linux/capi.h
7692 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7693 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7696 echo $ECHO_N "(cached) $ECHO_C" >&6
7698 cat >conftest.$ac_ext <<_ACEOF
7701 cat confdefs.h >>conftest.$ac_ext
7702 cat >>conftest.$ac_ext <<_ACEOF
7703 /* end confdefs.h. */
7706 #include <$ac_header>
7708 rm -f conftest.$ac_objext
7709 if { (ac_try="$ac_compile"
7711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7712 *) ac_try_echo
=$ac_try;;
7714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7715 (eval "$ac_compile") 2>conftest.er1
7717 grep -v '^ *+' conftest.er1
>conftest.err
7719 cat conftest.err
>&5
7720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 (exit $ac_status); } && {
7722 test -z "$ac_c_werror_flag" ||
7723 test ! -s conftest.err
7724 } && test -s conftest.
$ac_objext; then
7725 eval "$as_ac_Header=yes"
7727 echo "$as_me: failed program was:" >&5
7728 sed 's/^/| /' conftest.
$ac_ext >&5
7730 eval "$as_ac_Header=no"
7733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7735 ac_res
=`eval echo '${'$as_ac_Header'}'`
7736 { echo "$as_me:$LINENO: result: $ac_res" >&5
7737 echo "${ECHO_T}$ac_res" >&6; }
7738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7739 cat >>confdefs.h
<<_ACEOF
7740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7751 DLLFLAGS
="-D_REENTRANT"
7765 # Extract the first word of "ldd", so it can be a program name with args.
7766 set dummy ldd
; ac_word
=$2
7767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7769 if test "${ac_cv_path_LDD+set}" = set; then
7770 echo $ECHO_N "(cached) $ECHO_C" >&6
7774 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7778 as_dummy
="/sbin:/usr/sbin:$PATH"
7779 for as_dir
in $as_dummy
7782 test -z "$as_dir" && as_dir
=.
7783 for ac_exec_ext
in '' $ac_executable_extensions; do
7784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7785 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7793 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7798 if test -n "$LDD"; then
7799 { echo "$as_me:$LINENO: result: $LDD" >&5
7800 echo "${ECHO_T}$LDD" >&6; }
7802 { echo "$as_me:$LINENO: result: no" >&5
7803 echo "${ECHO_T}no" >&6; }
7810 if test -n "$ac_tool_prefix"; then
7811 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7812 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7815 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7816 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 if test -n "$DLLTOOL"; then
7819 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7825 test -z "$as_dir" && as_dir
=.
7826 for ac_exec_ext
in '' $ac_executable_extensions; do
7827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7828 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7838 DLLTOOL
=$ac_cv_prog_DLLTOOL
7839 if test -n "$DLLTOOL"; then
7840 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7841 echo "${ECHO_T}$DLLTOOL" >&6; }
7843 { echo "$as_me:$LINENO: result: no" >&5
7844 echo "${ECHO_T}no" >&6; }
7849 if test -z "$ac_cv_prog_DLLTOOL"; then
7850 ac_ct_DLLTOOL
=$DLLTOOL
7851 # Extract the first word of "dlltool", so it can be a program name with args.
7852 set dummy dlltool
; ac_word
=$2
7853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7855 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7856 echo $ECHO_N "(cached) $ECHO_C" >&6
7858 if test -n "$ac_ct_DLLTOOL"; then
7859 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7865 test -z "$as_dir" && as_dir
=.
7866 for ac_exec_ext
in '' $ac_executable_extensions; do
7867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7868 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7878 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7879 if test -n "$ac_ct_DLLTOOL"; then
7880 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7881 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7883 { echo "$as_me:$LINENO: result: no" >&5
7884 echo "${ECHO_T}no" >&6; }
7887 if test "x$ac_ct_DLLTOOL" = x
; then
7890 case $cross_compiling:$ac_tool_warned in
7892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7893 whose name does not start with the host triplet. If you think this
7894 configuration is useful to you, please write to autoconf@gnu.org." >&5
7895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7896 whose name does not start with the host triplet. If you think this
7897 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7898 ac_tool_warned
=yes ;;
7900 DLLTOOL
=$ac_ct_DLLTOOL
7903 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7906 if test -n "$ac_tool_prefix"; then
7907 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7908 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
7909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7911 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7912 echo $ECHO_N "(cached) $ECHO_C" >&6
7914 if test -n "$DLLWRAP"; then
7915 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7921 test -z "$as_dir" && as_dir
=.
7922 for ac_exec_ext
in '' $ac_executable_extensions; do
7923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7924 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
7925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7934 DLLWRAP
=$ac_cv_prog_DLLWRAP
7935 if test -n "$DLLWRAP"; then
7936 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7937 echo "${ECHO_T}$DLLWRAP" >&6; }
7939 { echo "$as_me:$LINENO: result: no" >&5
7940 echo "${ECHO_T}no" >&6; }
7945 if test -z "$ac_cv_prog_DLLWRAP"; then
7946 ac_ct_DLLWRAP
=$DLLWRAP
7947 # Extract the first word of "dllwrap", so it can be a program name with args.
7948 set dummy dllwrap
; ac_word
=$2
7949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7951 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7952 echo $ECHO_N "(cached) $ECHO_C" >&6
7954 if test -n "$ac_ct_DLLWRAP"; then
7955 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
7957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7961 test -z "$as_dir" && as_dir
=.
7962 for ac_exec_ext
in '' $ac_executable_extensions; do
7963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7964 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
7965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7974 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
7975 if test -n "$ac_ct_DLLWRAP"; then
7976 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7977 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7979 { echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6; }
7983 if test "x$ac_ct_DLLWRAP" = x
; then
7986 case $cross_compiling:$ac_tool_warned in
7988 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7989 whose name does not start with the host triplet. If you think this
7990 configuration is useful to you, please write to autoconf@gnu.org." >&5
7991 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7992 whose name does not start with the host triplet. If you think this
7993 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7994 ac_tool_warned
=yes ;;
7996 DLLWRAP
=$ac_ct_DLLWRAP
7999 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8002 if test -n "$ac_tool_prefix"; then
8003 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8004 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8007 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8008 echo $ECHO_N "(cached) $ECHO_C" >&6
8010 if test -n "$MINGWAR"; then
8011 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8017 test -z "$as_dir" && as_dir
=.
8018 for ac_exec_ext
in '' $ac_executable_extensions; do
8019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8020 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 MINGWAR
=$ac_cv_prog_MINGWAR
8031 if test -n "$MINGWAR"; then
8032 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8033 echo "${ECHO_T}$MINGWAR" >&6; }
8035 { echo "$as_me:$LINENO: result: no" >&5
8036 echo "${ECHO_T}no" >&6; }
8041 if test -z "$ac_cv_prog_MINGWAR"; then
8042 ac_ct_MINGWAR
=$MINGWAR
8043 # Extract the first word of "ar", so it can be a program name with args.
8044 set dummy
ar; ac_word
=$2
8045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8047 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8050 if test -n "$ac_ct_MINGWAR"; then
8051 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8057 test -z "$as_dir" && as_dir
=.
8058 for ac_exec_ext
in '' $ac_executable_extensions; do
8059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8060 ac_cv_prog_ac_ct_MINGWAR
="ar"
8061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8070 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8071 if test -n "$ac_ct_MINGWAR"; then
8072 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8073 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8075 { echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6; }
8079 if test "x$ac_ct_MINGWAR" = x
; then
8082 case $cross_compiling:$ac_tool_warned in
8084 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8085 whose name does not start with the host triplet. If you think this
8086 configuration is useful to you, please write to autoconf@gnu.org." >&5
8087 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8088 whose name does not start with the host triplet. If you think this
8089 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8090 ac_tool_warned
=yes ;;
8092 MINGWAR
=$ac_ct_MINGWAR
8095 MINGWAR
="$ac_cv_prog_MINGWAR"
8098 if test "$DLLWRAP" = "false"; then
8110 DLLFLAGS
="$DLLFLAGS -fPIC"
8111 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8112 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8113 LDSHARED
="\$(CC) -dynamiclib"
8115 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8116 COREFOUNDATIONLIB
="-framework CoreFoundation"
8118 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8120 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8122 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8124 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8127 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8129 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8134 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8136 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8138 CARBONLIB
="-framework Carbon"
8140 QUARTZFILES
='$(QUARTZFILES)'
8144 DLLFLAGS
="$DLLFLAGS -fPIC"
8146 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8147 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8148 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8149 echo $ECHO_N "(cached) $ECHO_C" >&6
8151 ac_wine_try_cflags_saved
=$CFLAGS
8152 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8153 cat >conftest.
$ac_ext <<_ACEOF
8156 rm -f conftest.
$ac_objext conftest
$ac_exeext
8157 if { (ac_try
="$ac_link"
8159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8160 *) ac_try_echo=$ac_try;;
8162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8163 (eval "$ac_link") 2>conftest.er1
8165 grep -v '^ *+' conftest.er1 >conftest.err
8167 cat conftest.err >&5
8168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8169 (exit $ac_status); } && {
8170 test -z "$ac_c_werror_flag" ||
8171 test ! -s conftest.err
8172 } && test -s conftest$ac_exeext &&
8173 $as_test_x conftest$ac_exeext; then
8174 ac_cv_c_dll_gnuelf="yes"
8176 echo "$as_me: failed program was:" >&5
8177 sed 's/^/| /' conftest.$ac_ext >&5
8179 ac_cv_c_dll_gnuelf="no"
8182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8183 conftest$ac_exeext conftest.$ac_ext
8184 CFLAGS=$ac_wine_try_cflags_saved
8186 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8187 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8188 if test "$ac_cv_c_dll_gnuelf" = "yes"
8190 LDSHARED="\$(CC) -shared"
8191 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8192 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8193 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8194 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8197 ac_wine_try_cflags_saved=$CFLAGS
8198 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8199 cat >conftest.$ac_ext <<_ACEOF
8202 cat confdefs.h >>conftest.$ac_ext
8203 cat >>conftest.$ac_ext <<_ACEOF
8204 /* end confdefs.h. */
8214 rm -f conftest.$ac_objext conftest$ac_exeext
8215 if { (ac_try="$ac_link"
8217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8218 *) ac_try_echo
=$ac_try;;
8220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8221 (eval "$ac_link") 2>conftest.er1
8223 grep -v '^ *+' conftest.er1
>conftest.err
8225 cat conftest.err
>&5
8226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); } && {
8228 test -z "$ac_c_werror_flag" ||
8229 test ! -s conftest.err
8230 } && test -s conftest
$ac_exeext &&
8231 $as_test_x conftest
$ac_exeext; then
8232 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8234 echo "$as_me: failed program was:" >&5
8235 sed 's/^/| /' conftest.
$ac_ext >&5
8237 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8240 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8241 conftest
$ac_exeext conftest.
$ac_ext
8242 CFLAGS
=$ac_wine_try_cflags_saved
8244 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8245 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8246 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8247 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8249 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8250 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8251 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8252 echo $ECHO_N "(cached) $ECHO_C" >&6
8254 ac_wine_try_cflags_saved
=$CFLAGS
8255 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8256 cat >conftest.
$ac_ext <<_ACEOF
8259 cat confdefs.h
>>conftest.
$ac_ext
8260 cat >>conftest.
$ac_ext <<_ACEOF
8261 /* end confdefs.h. */
8271 rm -f conftest.
$ac_objext conftest
$ac_exeext
8272 if { (ac_try
="$ac_link"
8274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8275 *) ac_try_echo=$ac_try;;
8277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8278 (eval "$ac_link") 2>conftest.er1
8280 grep -v '^ *+' conftest.er1 >conftest.err
8282 cat conftest.err >&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 (exit $ac_status); } && {
8285 test -z "$ac_c_werror_flag" ||
8286 test ! -s conftest.err
8287 } && test -s conftest$ac_exeext &&
8288 $as_test_x conftest$ac_exeext; then
8289 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8291 echo "$as_me: failed program was:" >&5
8292 sed 's/^/| /' conftest.$ac_ext >&5
8294 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8298 conftest$ac_exeext conftest.$ac_ext
8299 CFLAGS=$ac_wine_try_cflags_saved
8301 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8302 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8303 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8304 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8310 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8311 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8312 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8313 echo $ECHO_N "(cached) $ECHO_C" >&6
8315 ac_wine_try_cflags_saved=$CFLAGS
8316 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8317 cat >conftest.$ac_ext <<_ACEOF
8320 cat confdefs.h >>conftest.$ac_ext
8321 cat >>conftest.$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8332 rm -f conftest.$ac_objext conftest$ac_exeext
8333 if { (ac_try="$ac_link"
8335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8336 *) ac_try_echo
=$ac_try;;
8338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8339 (eval "$ac_link") 2>conftest.er1
8341 grep -v '^ *+' conftest.er1
>conftest.err
8343 cat conftest.err
>&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); } && {
8346 test -z "$ac_c_werror_flag" ||
8347 test ! -s conftest.err
8348 } && test -s conftest
$ac_exeext &&
8349 $as_test_x conftest
$ac_exeext; then
8350 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8352 echo "$as_me: failed program was:" >&5
8353 sed 's/^/| /' conftest.
$ac_ext >&5
8355 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8359 conftest
$ac_exeext conftest.
$ac_ext
8360 CFLAGS
=$ac_wine_try_cflags_saved
8362 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8363 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8364 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8365 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8369 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8370 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8371 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8374 ac_wine_try_cflags_saved
=$CFLAGS
8375 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8376 cat >conftest.
$ac_ext <<_ACEOF
8379 cat confdefs.h
>>conftest.
$ac_ext
8380 cat >>conftest.
$ac_ext <<_ACEOF
8381 /* end confdefs.h. */
8391 rm -f conftest.
$ac_objext conftest
$ac_exeext
8392 if { (ac_try
="$ac_link"
8394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8395 *) ac_try_echo=$ac_try;;
8397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8398 (eval "$ac_link") 2>conftest.er1
8400 grep -v '^ *+' conftest.er1 >conftest.err
8402 cat conftest.err >&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); } && {
8405 test -z "$ac_c_werror_flag" ||
8406 test ! -s conftest.err
8407 } && test -s conftest$ac_exeext &&
8408 $as_test_x conftest$ac_exeext; then
8409 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8411 echo "$as_me: failed program was:" >&5
8412 sed 's/^/| /' conftest.$ac_ext >&5
8414 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8418 conftest$ac_exeext conftest.$ac_ext
8419 CFLAGS=$ac_wine_try_cflags_saved
8421 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8422 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8423 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8424 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8428 echo '{ global: *; };' >conftest.map
8429 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8430 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8431 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8434 ac_wine_try_cflags_saved=$CFLAGS
8435 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8436 cat >conftest.$ac_ext <<_ACEOF
8439 cat confdefs.h >>conftest.$ac_ext
8440 cat >>conftest.$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8451 rm -f conftest.$ac_objext conftest$ac_exeext
8452 if { (ac_try="$ac_link"
8454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8455 *) ac_try_echo
=$ac_try;;
8457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8458 (eval "$ac_link") 2>conftest.er1
8460 grep -v '^ *+' conftest.er1
>conftest.err
8462 cat conftest.err
>&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); } && {
8465 test -z "$ac_c_werror_flag" ||
8466 test ! -s conftest.err
8467 } && test -s conftest
$ac_exeext &&
8468 $as_test_x conftest
$ac_exeext; then
8469 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8471 echo "$as_me: failed program was:" >&5
8472 sed 's/^/| /' conftest.
$ac_ext >&5
8474 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8477 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8478 conftest
$ac_exeext conftest.
$ac_ext
8479 CFLAGS
=$ac_wine_try_cflags_saved
8481 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8482 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8483 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8484 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8489 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8490 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8491 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8492 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 ac_wine_try_cflags_saved
=$CFLAGS
8495 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8496 cat >conftest.
$ac_ext <<_ACEOF
8499 cat confdefs.h
>>conftest.
$ac_ext
8500 cat >>conftest.
$ac_ext <<_ACEOF
8501 /* end confdefs.h. */
8511 rm -f conftest.
$ac_objext conftest
$ac_exeext
8512 if { (ac_try
="$ac_link"
8514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8515 *) ac_try_echo=$ac_try;;
8517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8518 (eval "$ac_link") 2>conftest.er1
8520 grep -v '^ *+' conftest.er1 >conftest.err
8522 cat conftest.err >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } && {
8525 test -z "$ac_c_werror_flag" ||
8526 test ! -s conftest.err
8527 } && test -s conftest$ac_exeext &&
8528 $as_test_x conftest$ac_exeext; then
8529 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8531 echo "$as_me: failed program was:" >&5
8532 sed 's/^/| /' conftest.$ac_ext >&5
8534 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8538 conftest$ac_exeext conftest.$ac_ext
8539 CFLAGS=$ac_wine_try_cflags_saved
8541 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8542 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8543 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8544 LDEXECFLAGS="-Wl,--export-dynamic"
8549 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8550 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8551 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8552 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8553 echo $ECHO_N "(cached) $ECHO_C" >&6
8555 ac_wine_try_cflags_saved=$CFLAGS
8556 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8557 cat >conftest.$ac_ext <<_ACEOF
8560 cat confdefs.h >>conftest.$ac_ext
8561 cat >>conftest.$ac_ext <<_ACEOF
8562 /* end confdefs.h. */
8572 rm -f conftest.$ac_objext conftest$ac_exeext
8573 if { (ac_try="$ac_link"
8575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8576 *) ac_try_echo
=$ac_try;;
8578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8579 (eval "$ac_link") 2>conftest.er1
8581 grep -v '^ *+' conftest.er1
>conftest.err
8583 cat conftest.err
>&5
8584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 (exit $ac_status); } && {
8586 test -z "$ac_c_werror_flag" ||
8587 test ! -s conftest.err
8588 } && test -s conftest
$ac_exeext &&
8589 $as_test_x conftest
$ac_exeext; then
8590 eval "$as_ac_var=yes"
8592 echo "$as_me: failed program was:" >&5
8593 sed 's/^/| /' conftest.
$ac_ext >&5
8595 eval "$as_ac_var=no"
8598 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8599 conftest
$ac_exeext conftest.
$ac_ext
8600 CFLAGS
=$ac_wine_try_cflags_saved
8602 ac_res
=`eval echo '${'$as_ac_var'}'`
8603 { echo "$as_me:$LINENO: result: $ac_res" >&5
8604 echo "${ECHO_T}$ac_res" >&6; }
8605 if test `eval echo '${'$as_ac_var'}'` = yes; then
8606 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8607 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8609 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8610 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8611 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8612 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8613 echo $ECHO_N "(cached) $ECHO_C" >&6
8615 ac_wine_try_cflags_saved
=$CFLAGS
8616 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8617 cat >conftest.
$ac_ext <<_ACEOF
8620 cat confdefs.h
>>conftest.
$ac_ext
8621 cat >>conftest.
$ac_ext <<_ACEOF
8622 /* end confdefs.h. */
8632 rm -f conftest.
$ac_objext conftest
$ac_exeext
8633 if { (ac_try
="$ac_link"
8635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8636 *) ac_try_echo=$ac_try;;
8638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8639 (eval "$ac_link") 2>conftest.er1
8641 grep -v '^ *+' conftest.er1 >conftest.err
8643 cat conftest.err >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); } && {
8646 test -z "$ac_c_werror_flag" ||
8647 test ! -s conftest.err
8648 } && test -s conftest$ac_exeext &&
8649 $as_test_x conftest$ac_exeext; then
8650 eval "$as_ac_var=yes"
8652 echo "$as_me: failed program was:" >&5
8653 sed 's/^/| /' conftest.$ac_ext >&5
8655 eval "$as_ac_var=no"
8658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8659 conftest$ac_exeext conftest.$ac_ext
8660 CFLAGS=$ac_wine_try_cflags_saved
8662 ac_res=`eval echo '${'$as_ac_var'}'`
8663 { echo "$as_me:$LINENO: result: $ac_res" >&5
8664 echo "${ECHO_T}$ac_res" >&6; }
8665 if test `eval echo '${'$as_ac_var'}'` = yes; then
8666 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8667 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8673 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8674 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8675 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 ac_wine_try_cflags_saved=$CFLAGS
8679 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8680 cat >conftest.$ac_ext <<_ACEOF
8683 cat confdefs.h >>conftest.$ac_ext
8684 cat >>conftest.$ac_ext <<_ACEOF
8685 /* end confdefs.h. */
8695 rm -f conftest.$ac_objext conftest$ac_exeext
8696 if { (ac_try="$ac_link"
8698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8699 *) ac_try_echo
=$ac_try;;
8701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8702 (eval "$ac_link") 2>conftest.er1
8704 grep -v '^ *+' conftest.er1
>conftest.err
8706 cat conftest.err
>&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); } && {
8709 test -z "$ac_c_werror_flag" ||
8710 test ! -s conftest.err
8711 } && test -s conftest
$ac_exeext &&
8712 $as_test_x conftest
$ac_exeext; then
8713 ac_cv_cflags__Wl___enable_new_dtags
=yes
8715 echo "$as_me: failed program was:" >&5
8716 sed 's/^/| /' conftest.
$ac_ext >&5
8718 ac_cv_cflags__Wl___enable_new_dtags
=no
8721 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8722 conftest
$ac_exeext conftest.
$ac_ext
8723 CFLAGS
=$ac_wine_try_cflags_saved
8725 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8726 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8727 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8728 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8733 *i
[3456789]86* | x86_64
)
8734 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8735 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8736 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8737 echo $ECHO_N "(cached) $ECHO_C" >&6
8739 ac_wine_try_cflags_saved
=$CFLAGS
8740 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8741 cat >conftest.
$ac_ext <<_ACEOF
8744 cat confdefs.h
>>conftest.
$ac_ext
8745 cat >>conftest.
$ac_ext <<_ACEOF
8746 /* end confdefs.h. */
8756 rm -f conftest.
$ac_objext conftest
$ac_exeext
8757 if { (ac_try
="$ac_link"
8759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8760 *) ac_try_echo=$ac_try;;
8762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8763 (eval "$ac_link") 2>conftest.er1
8765 grep -v '^ *+' conftest.er1 >conftest.err
8767 cat conftest.err >&5
8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769 (exit $ac_status); } && {
8770 test -z "$ac_c_werror_flag" ||
8771 test ! -s conftest.err
8772 } && test -s conftest$ac_exeext &&
8773 $as_test_x conftest$ac_exeext; then
8774 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8776 echo "$as_me: failed program was:" >&5
8777 sed 's/^/| /' conftest.$ac_ext >&5
8779 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8783 conftest$ac_exeext conftest.$ac_ext
8784 CFLAGS=$ac_wine_try_cflags_saved
8786 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8787 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8788 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8789 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8796 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8797 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8798 if test "${ac_cv_c_dll_unixware+set}" = set; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 ac_wine_try_cflags_saved=$CFLAGS
8802 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8803 cat >conftest.$ac_ext <<_ACEOF
8806 rm -f conftest.$ac_objext conftest$ac_exeext
8807 if { (ac_try="$ac_link"
8809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8810 *) ac_try_echo
=$ac_try;;
8812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8813 (eval "$ac_link") 2>conftest.er1
8815 grep -v '^ *+' conftest.er1
>conftest.err
8817 cat conftest.err
>&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); } && {
8820 test -z "$ac_c_werror_flag" ||
8821 test ! -s conftest.err
8822 } && test -s conftest
$ac_exeext &&
8823 $as_test_x conftest
$ac_exeext; then
8824 ac_cv_c_dll_unixware
="yes"
8826 echo "$as_me: failed program was:" >&5
8827 sed 's/^/| /' conftest.
$ac_ext >&5
8829 ac_cv_c_dll_unixware
="no"
8832 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8833 conftest
$ac_exeext conftest.
$ac_ext
8834 CFLAGS
=$ac_wine_try_cflags_saved
8836 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8837 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8838 if test "$ac_cv_c_dll_unixware" = "yes"
8840 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8841 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
8844 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8845 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8846 if test "${ac_cv_c_dll_hpux+set}" = set; then
8847 echo $ECHO_N "(cached) $ECHO_C" >&6
8849 ac_wine_try_cflags_saved
=$CFLAGS
8850 CFLAGS
="$CFLAGS -shared"
8851 cat >conftest.
$ac_ext <<_ACEOF
8854 rm -f conftest.
$ac_objext conftest
$ac_exeext
8855 if { (ac_try
="$ac_link"
8857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8858 *) ac_try_echo=$ac_try;;
8860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8861 (eval "$ac_link") 2>conftest.er1
8863 grep -v '^ *+' conftest.er1 >conftest.err
8865 cat conftest.err >&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); } && {
8868 test -z "$ac_c_werror_flag" ||
8869 test ! -s conftest.err
8870 } && test -s conftest$ac_exeext &&
8871 $as_test_x conftest$ac_exeext; then
8872 ac_cv_c_dll_hpux="yes"
8874 echo "$as_me: failed program was:" >&5
8875 sed 's/^/| /' conftest.$ac_ext >&5
8877 ac_cv_c_dll_hpux="no"
8880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8881 conftest$ac_exeext conftest.$ac_ext
8882 CFLAGS=$ac_wine_try_cflags_saved
8884 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8885 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8886 if test "$ac_cv_c_dll_hpux" = "yes"
8890 LDDLLFLAGS="-shared -fPIC"
8891 LDSHARED="\$(CC) -shared"
8898 if test "$cross_compiling" = "no"
8900 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8902 # Extract the first word of "$ac_prog", so it can be a program name with args.
8903 set dummy $ac_prog; ac_word=$2
8904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8906 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8907 echo $ECHO_N "(cached) $ECHO_C" >&6
8909 if test -n "$CROSSCC"; then
8910 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8916 test -z "$as_dir" && as_dir=.
8917 for ac_exec_ext in '' $ac_executable_extensions; do
8918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8919 ac_cv_prog_CROSSCC="$ac_prog"
8920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8929 CROSSCC=$ac_cv_prog_CROSSCC
8930 if test -n "$CROSSCC"; then
8931 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8932 echo "${ECHO_T}$CROSSCC" >&6; }
8934 { echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6; }
8939 test -n "$CROSSCC" && break
8941 test -n "$CROSSCC" || CROSSCC="false"
8943 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8945 # Extract the first word of "$ac_prog", so it can be a program name with args.
8946 set dummy $ac_prog; ac_word=$2
8947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8949 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8950 echo $ECHO_N "(cached) $ECHO_C" >&6
8952 if test -n "$DLLTOOL"; then
8953 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8959 test -z "$as_dir" && as_dir=.
8960 for ac_exec_ext in '' $ac_executable_extensions; do
8961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8962 ac_cv_prog_DLLTOOL="$ac_prog"
8963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8972 DLLTOOL=$ac_cv_prog_DLLTOOL
8973 if test -n "$DLLTOOL"; then
8974 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8975 echo "${ECHO_T}$DLLTOOL" >&6; }
8977 { echo "$as_me:$LINENO: result: no" >&5
8978 echo "${ECHO_T}no" >&6; }
8982 test -n "$DLLTOOL" && break
8984 test -n "$DLLTOOL" || DLLTOOL="false"
8986 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8988 # Extract the first word of "$ac_prog", so it can be a program name with args.
8989 set dummy $ac_prog; ac_word=$2
8990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8992 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 if test -n "$CROSSWINDRES"; then
8996 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9002 test -z "$as_dir" && as_dir=.
9003 for ac_exec_ext in '' $ac_executable_extensions; do
9004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9005 ac_cv_prog_CROSSWINDRES="$ac_prog"
9006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9015 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9016 if test -n "$CROSSWINDRES"; then
9017 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9018 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9020 { echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6; }
9025 test -n "$CROSSWINDRES" && break
9027 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9029 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
9031 # Extract the first word of "$ac_prog", so it can be a program name with args.
9032 set dummy $ac_prog; ac_word=$2
9033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9035 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9036 echo $ECHO_N "(cached) $ECHO_C" >&6
9038 if test -n "$MINGWAR"; then
9039 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9045 test -z "$as_dir" && as_dir=.
9046 for ac_exec_ext in '' $ac_executable_extensions; do
9047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9048 ac_cv_prog_MINGWAR="$ac_prog"
9049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9058 MINGWAR=$ac_cv_prog_MINGWAR
9059 if test -n "$MINGWAR"; then
9060 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9061 echo "${ECHO_T}$MINGWAR" >&6; }
9063 { echo "$as_me:$LINENO: result: no" >&5
9064 echo "${ECHO_T}no" >&6; }
9068 test -n "$MINGWAR" && break
9070 test -n "$MINGWAR" || MINGWAR="false"
9072 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9077 if test "$LIBEXT" = "a"; then
9078 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9079 It is currently not possible to build Wine without shared library
9080 (.so) support to allow transparent switch between .so and .dll files.
9081 If you are using Linux, you will need a newer binutils.
9083 echo "$as_me: error: could not find a way to build shared libraries.
9084 It is currently not possible to build Wine without shared library
9085 (.so) support to allow transparent switch between .so and .dll files.
9086 If you are using Linux, you will need a newer binutils.
9088 { (exit 1); exit 1; }; }
9092 if test "$have_x" = "yes"
9095 ac_save_CPPFLAGS="$CPPFLAGS"
9096 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9098 { echo "$as_me:$LINENO: checking for -lX11" >&5
9099 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9100 if test "${ac_cv_lib_soname_X11+set}" = set; then
9101 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 ac_check_soname_save_LIBS=$LIBS
9104 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9105 cat >conftest.$ac_ext <<_ACEOF
9108 cat confdefs.h >>conftest.$ac_ext
9109 cat >>conftest.$ac_ext <<_ACEOF
9110 /* end confdefs.h. */
9112 /* Override any GCC internal prototype to avoid an error.
9113 Use char because int might match the return type of a GCC
9114 builtin and then its argument prototype would still apply. */
9118 char XCreateWindow ();
9122 return XCreateWindow ();
9127 rm -f conftest.$ac_objext conftest$ac_exeext
9128 if { (ac_try="$ac_link"
9130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9131 *) ac_try_echo
=$ac_try;;
9133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9134 (eval "$ac_link") 2>conftest.er1
9136 grep -v '^ *+' conftest.er1
>conftest.err
9138 cat conftest.err
>&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } && {
9141 test -z "$ac_c_werror_flag" ||
9142 test ! -s conftest.err
9143 } && test -s conftest
$ac_exeext &&
9144 $as_test_x conftest
$ac_exeext; then
9147 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'` ;;
9148 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9151 echo "$as_me: failed program was:" >&5
9152 sed 's/^/| /' conftest.
$ac_ext >&5
9157 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9158 conftest
$ac_exeext conftest.
$ac_ext
9159 LIBS
=$ac_check_soname_save_LIBS
9161 if test "x$ac_cv_lib_soname_X11" = "x"; then
9162 { echo "$as_me:$LINENO: result: not found" >&5
9163 echo "${ECHO_T}not found" >&6; }
9166 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9167 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9169 cat >>confdefs.h
<<_ACEOF
9170 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9176 { echo "$as_me:$LINENO: checking for -lXext" >&5
9177 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9178 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 ac_check_soname_save_LIBS
=$LIBS
9182 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9183 cat >conftest.
$ac_ext <<_ACEOF
9186 cat confdefs.h
>>conftest.
$ac_ext
9187 cat >>conftest.
$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9196 char XextCreateExtension ();
9200 return XextCreateExtension ();
9205 rm -f conftest.
$ac_objext conftest
$ac_exeext
9206 if { (ac_try
="$ac_link"
9208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9209 *) ac_try_echo=$ac_try;;
9211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9212 (eval "$ac_link") 2>conftest.er1
9214 grep -v '^ *+' conftest.er1 >conftest.err
9216 cat conftest.err >&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); } && {
9219 test -z "$ac_c_werror_flag" ||
9220 test ! -s conftest.err
9221 } && test -s conftest$ac_exeext &&
9222 $as_test_x conftest$ac_exeext; then
9225 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'` ;;
9226 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9229 echo "$as_me: failed program was:" >&5
9230 sed 's/^/| /' conftest.$ac_ext >&5
9235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9236 conftest$ac_exeext conftest.$ac_ext
9237 LIBS=$ac_check_soname_save_LIBS
9239 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9240 { echo "$as_me:$LINENO: result: not found" >&5
9241 echo "${ECHO_T}not found" >&6; }
9244 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9245 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9247 cat >>confdefs.h <<_ACEOF
9248 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9266 for ac_header in X11/Xlib.h \
9269 X11/Xcursor/Xcursor.h \
9270 X11/extensions/shape.h \
9271 X11/extensions/XInput.h \
9272 X11/extensions/XShm.h \
9273 X11/extensions/Xinerama.h \
9274 X11/extensions/Xrandr.h \
9275 X11/extensions/Xrender.h \
9276 X11/extensions/xf86vmode.h
9278 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9279 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9281 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9282 echo $ECHO_N "(cached) $ECHO_C" >&6
9284 cat >conftest.$ac_ext <<_ACEOF
9287 cat confdefs.h >>conftest.$ac_ext
9288 cat >>conftest.$ac_ext <<_ACEOF
9289 /* end confdefs.h. */
9290 #ifdef HAVE_X11_XLIB_H
9291 # include <X11/Xlib.h>
9293 #ifdef HAVE_X11_XUTIL_H
9294 # include <X11/Xutil.h>
9297 #include <$ac_header>
9299 rm -f conftest.$ac_objext
9300 if { (ac_try="$ac_compile"
9302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9303 *) ac_try_echo
=$ac_try;;
9305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9306 (eval "$ac_compile") 2>conftest.er1
9308 grep -v '^ *+' conftest.er1
>conftest.err
9310 cat conftest.err
>&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } && {
9313 test -z "$ac_c_werror_flag" ||
9314 test ! -s conftest.err
9315 } && test -s conftest.
$ac_objext; then
9316 eval "$as_ac_Header=yes"
9318 echo "$as_me: failed program was:" >&5
9319 sed 's/^/| /' conftest.
$ac_ext >&5
9321 eval "$as_ac_Header=no"
9324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9326 ac_res
=`eval echo '${'$as_ac_Header'}'`
9327 { echo "$as_me:$LINENO: result: $ac_res" >&5
9328 echo "${ECHO_T}$ac_res" >&6; }
9329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9330 cat >>confdefs.h
<<_ACEOF
9331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9339 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9341 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9342 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9343 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9344 echo $ECHO_N "(cached) $ECHO_C" >&6
9346 ac_check_lib_save_LIBS
=$LIBS
9347 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9348 cat >conftest.
$ac_ext <<_ACEOF
9351 cat confdefs.h
>>conftest.
$ac_ext
9352 cat >>conftest.
$ac_ext <<_ACEOF
9353 /* end confdefs.h. */
9355 /* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
9361 char XkbQueryExtension ();
9365 return XkbQueryExtension ();
9370 rm -f conftest.
$ac_objext conftest
$ac_exeext
9371 if { (ac_try
="$ac_link"
9373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9374 *) ac_try_echo=$ac_try;;
9376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9377 (eval "$ac_link") 2>conftest.er1
9379 grep -v '^ *+' conftest.er1 >conftest.err
9381 cat conftest.err >&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); } && {
9384 test -z "$ac_c_werror_flag" ||
9385 test ! -s conftest.err
9386 } && test -s conftest$ac_exeext &&
9387 $as_test_x conftest$ac_exeext; then
9388 ac_cv_lib_X11_XkbQueryExtension=yes
9390 echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.$ac_ext >&5
9393 ac_cv_lib_X11_XkbQueryExtension=no
9396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9397 conftest$ac_exeext conftest.$ac_ext
9398 LIBS=$ac_check_lib_save_LIBS
9400 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9401 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9402 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9404 cat >>confdefs.h <<\_ACEOF
9412 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9414 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9415 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9416 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9417 echo $ECHO_N "(cached) $ECHO_C" >&6
9419 ac_check_soname_save_LIBS=$LIBS
9420 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9421 cat >conftest.$ac_ext <<_ACEOF
9424 cat confdefs.h >>conftest.$ac_ext
9425 cat >>conftest.$ac_ext <<_ACEOF
9426 /* end confdefs.h. */
9428 /* Override any GCC internal prototype to avoid an error.
9429 Use char because int might match the return type of a GCC
9430 builtin and then its argument prototype would still apply. */
9434 char XcursorImageLoadCursor ();
9438 return XcursorImageLoadCursor ();
9443 rm -f conftest.$ac_objext conftest$ac_exeext
9444 if { (ac_try="$ac_link"
9446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9447 *) ac_try_echo
=$ac_try;;
9449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9450 (eval "$ac_link") 2>conftest.er1
9452 grep -v '^ *+' conftest.er1
>conftest.err
9454 cat conftest.err
>&5
9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9456 (exit $ac_status); } && {
9457 test -z "$ac_c_werror_flag" ||
9458 test ! -s conftest.err
9459 } && test -s conftest
$ac_exeext &&
9460 $as_test_x conftest
$ac_exeext; then
9463 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'` ;;
9464 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9467 echo "$as_me: failed program was:" >&5
9468 sed 's/^/| /' conftest.
$ac_ext >&5
9473 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9474 conftest
$ac_exeext conftest.
$ac_ext
9475 LIBS
=$ac_check_soname_save_LIBS
9477 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9478 { echo "$as_me:$LINENO: result: not found" >&5
9479 echo "${ECHO_T}not found" >&6; }
9482 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9483 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9485 cat >>confdefs.h
<<_ACEOF
9486 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9494 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9496 { echo "$as_me:$LINENO: checking for -lXi" >&5
9497 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9498 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 ac_check_soname_save_LIBS
=$LIBS
9502 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9503 cat >conftest.
$ac_ext <<_ACEOF
9506 cat confdefs.h
>>conftest.
$ac_ext
9507 cat >>conftest.
$ac_ext <<_ACEOF
9508 /* end confdefs.h. */
9510 /* Override any GCC internal prototype to avoid an error.
9511 Use char because int might match the return type of a GCC
9512 builtin and then its argument prototype would still apply. */
9516 char XOpenDevice ();
9520 return XOpenDevice ();
9525 rm -f conftest.
$ac_objext conftest
$ac_exeext
9526 if { (ac_try
="$ac_link"
9528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9529 *) ac_try_echo=$ac_try;;
9531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9532 (eval "$ac_link") 2>conftest.er1
9534 grep -v '^ *+' conftest.er1 >conftest.err
9536 cat conftest.err >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } && {
9539 test -z "$ac_c_werror_flag" ||
9540 test ! -s conftest.err
9541 } && test -s conftest$ac_exeext &&
9542 $as_test_x conftest$ac_exeext; then
9545 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'` ;;
9546 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9549 echo "$as_me: failed program was:" >&5
9550 sed 's/^/| /' conftest.$ac_ext >&5
9555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9556 conftest$ac_exeext conftest.$ac_ext
9557 LIBS=$ac_check_soname_save_LIBS
9559 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9560 { echo "$as_me:$LINENO: result: not found" >&5
9561 echo "${ECHO_T}not found" >&6; }
9564 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9565 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9567 cat >>confdefs.h <<_ACEOF
9568 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9576 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9578 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9579 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9580 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9583 ac_check_lib_save_LIBS=$LIBS
9584 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9585 cat >conftest.$ac_ext <<_ACEOF
9588 cat confdefs.h >>conftest.$ac_ext
9589 cat >>conftest.$ac_ext <<_ACEOF
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9598 char XShmQueryExtension ();
9602 return XShmQueryExtension ();
9607 rm -f conftest.$ac_objext conftest$ac_exeext
9608 if { (ac_try="$ac_link"
9610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9611 *) ac_try_echo
=$ac_try;;
9613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9614 (eval "$ac_link") 2>conftest.er1
9616 grep -v '^ *+' conftest.er1
>conftest.err
9618 cat conftest.err
>&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); } && {
9621 test -z "$ac_c_werror_flag" ||
9622 test ! -s conftest.err
9623 } && test -s conftest
$ac_exeext &&
9624 $as_test_x conftest
$ac_exeext; then
9625 ac_cv_lib_Xext_XShmQueryExtension
=yes
9627 echo "$as_me: failed program was:" >&5
9628 sed 's/^/| /' conftest.
$ac_ext >&5
9630 ac_cv_lib_Xext_XShmQueryExtension
=no
9633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9634 conftest
$ac_exeext conftest.
$ac_ext
9635 LIBS
=$ac_check_lib_save_LIBS
9637 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9638 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9639 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9641 cat >>confdefs.h
<<\_ACEOF
9642 #define HAVE_LIBXXSHM 1
9648 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9649 wine_notices
="$wine_notices|XShm development files not found.
9650 Wine will be built without XShm support. (winex11.drv)"
9654 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9656 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9657 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9658 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6
9661 ac_check_lib_save_LIBS
=$LIBS
9662 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9663 cat >conftest.
$ac_ext <<_ACEOF
9666 cat confdefs.h
>>conftest.
$ac_ext
9667 cat >>conftest.
$ac_ext <<_ACEOF
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9676 char XShapeQueryExtension ();
9680 return XShapeQueryExtension ();
9685 rm -f conftest.
$ac_objext conftest
$ac_exeext
9686 if { (ac_try
="$ac_link"
9688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9689 *) ac_try_echo=$ac_try;;
9691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9692 (eval "$ac_link") 2>conftest.er1
9694 grep -v '^ *+' conftest.er1 >conftest.err
9696 cat conftest.err >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); } && {
9699 test -z "$ac_c_werror_flag" ||
9700 test ! -s conftest.err
9701 } && test -s conftest$ac_exeext &&
9702 $as_test_x conftest$ac_exeext; then
9703 ac_cv_lib_Xext_XShapeQueryExtension=yes
9705 echo "$as_me: failed program was:" >&5
9706 sed 's/^/| /' conftest.$ac_ext >&5
9708 ac_cv_lib_Xext_XShapeQueryExtension=no
9711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9712 conftest$ac_exeext conftest.$ac_ext
9713 LIBS=$ac_check_lib_save_LIBS
9715 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9716 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9717 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9719 cat >>confdefs.h <<\_ACEOF
9720 #define HAVE_LIBXSHAPE 1
9726 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9727 wine_notices="$wine_notices|XShape development files not found.
9728 Wine will be built without XShape support. (winex11.drv)"
9732 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9734 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9735 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9736 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9737 echo $ECHO_N "(cached) $ECHO_C" >&6
9739 ac_check_lib_save_LIBS=$LIBS
9740 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9741 cat >conftest.$ac_ext <<_ACEOF
9744 cat confdefs.h >>conftest.$ac_ext
9745 cat >>conftest.$ac_ext <<_ACEOF
9746 /* end confdefs.h. */
9748 /* Override any GCC internal prototype to avoid an error.
9749 Use char because int might match the return type of a GCC
9750 builtin and then its argument prototype would still apply. */
9754 char XF86VidModeQueryExtension ();
9758 return XF86VidModeQueryExtension ();
9763 rm -f conftest.$ac_objext conftest$ac_exeext
9764 if { (ac_try="$ac_link"
9766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9767 *) ac_try_echo
=$ac_try;;
9769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9770 (eval "$ac_link") 2>conftest.er1
9772 grep -v '^ *+' conftest.er1
>conftest.err
9774 cat conftest.err
>&5
9775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 (exit $ac_status); } && {
9777 test -z "$ac_c_werror_flag" ||
9778 test ! -s conftest.err
9779 } && test -s conftest
$ac_exeext &&
9780 $as_test_x conftest
$ac_exeext; then
9781 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9783 echo "$as_me: failed program was:" >&5
9784 sed 's/^/| /' conftest.
$ac_ext >&5
9786 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9789 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9790 conftest
$ac_exeext conftest.
$ac_ext
9791 LIBS
=$ac_check_lib_save_LIBS
9793 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9794 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9795 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9797 cat >>confdefs.h
<<\_ACEOF
9798 #define HAVE_LIBXXF86VM 1
9801 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9806 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9807 wine_notices
="$wine_notices|Xxf86vm development files not found.
9808 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9812 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"
9814 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9815 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9816 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9819 ac_check_soname_save_LIBS
=$LIBS
9820 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9821 cat >conftest.
$ac_ext <<_ACEOF
9824 cat confdefs.h
>>conftest.
$ac_ext
9825 cat >>conftest.
$ac_ext <<_ACEOF
9826 /* end confdefs.h. */
9828 /* Override any GCC internal prototype to avoid an error.
9829 Use char because int might match the return type of a GCC
9830 builtin and then its argument prototype would still apply. */
9834 char XRenderQueryExtension ();
9838 return XRenderQueryExtension ();
9843 rm -f conftest.
$ac_objext conftest
$ac_exeext
9844 if { (ac_try
="$ac_link"
9846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9847 *) ac_try_echo=$ac_try;;
9849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9850 (eval "$ac_link") 2>conftest.er1
9852 grep -v '^ *+' conftest.er1 >conftest.err
9854 cat conftest.err >&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); } && {
9857 test -z "$ac_c_werror_flag" ||
9858 test ! -s conftest.err
9859 } && test -s conftest$ac_exeext &&
9860 $as_test_x conftest$ac_exeext; then
9863 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'` ;;
9864 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9867 echo "$as_me: failed program was:" >&5
9868 sed 's/^/| /' conftest.$ac_ext >&5
9873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9874 conftest$ac_exeext conftest.$ac_ext
9875 LIBS=$ac_check_soname_save_LIBS
9877 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9878 { echo "$as_me:$LINENO: result: not found" >&5
9879 echo "${ECHO_T}not found" >&6; }
9882 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9883 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9885 cat >>confdefs.h <<_ACEOF
9886 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9889 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9890 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9891 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9892 echo $ECHO_N "(cached) $ECHO_C" >&6
9894 ac_check_lib_save_LIBS=$LIBS
9895 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9896 cat >conftest.$ac_ext <<_ACEOF
9899 cat confdefs.h >>conftest.$ac_ext
9900 cat >>conftest.$ac_ext <<_ACEOF
9901 /* end confdefs.h. */
9903 /* Override any GCC internal prototype to avoid an error.
9904 Use char because int might match the return type of a GCC
9905 builtin and then its argument prototype would still apply. */
9909 char XRenderSetPictureTransform ();
9913 return XRenderSetPictureTransform ();
9918 rm -f conftest.$ac_objext conftest$ac_exeext
9919 if { (ac_try="$ac_link"
9921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9922 *) ac_try_echo
=$ac_try;;
9924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9925 (eval "$ac_link") 2>conftest.er1
9927 grep -v '^ *+' conftest.er1
>conftest.err
9929 cat conftest.err
>&5
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); } && {
9932 test -z "$ac_c_werror_flag" ||
9933 test ! -s conftest.err
9934 } && test -s conftest
$ac_exeext &&
9935 $as_test_x conftest
$ac_exeext; then
9936 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9938 echo "$as_me: failed program was:" >&5
9939 sed 's/^/| /' conftest.
$ac_ext >&5
9941 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9944 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9945 conftest
$ac_exeext conftest.
$ac_ext
9946 LIBS
=$ac_check_lib_save_LIBS
9948 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9949 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9950 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9952 cat >>confdefs.h
<<\_ACEOF
9953 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9962 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9963 wine_notices
="$wine_notices|XRender development files not found.
9964 Wine will be built without XRender support. (winex11.drv)"
9968 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9970 cat >conftest.
$ac_ext <<_ACEOF
9973 cat confdefs.h
>>conftest.
$ac_ext
9974 cat >>conftest.
$ac_ext <<_ACEOF
9975 /* end confdefs.h. */
9976 #include <X11/Xlib.h>
9977 #include <X11/extensions/Xrandr.h>
9981 static typeof(XRRSetScreenConfigAndRate) * func;
9986 rm -f conftest.
$ac_objext
9987 if { (ac_try
="$ac_compile"
9989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9990 *) ac_try_echo=$ac_try;;
9992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9993 (eval "$ac_compile") 2>conftest.er1
9995 grep -v '^ *+' conftest.er1 >conftest.err
9997 cat conftest.err >&5
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); } && {
10000 test -z "$ac_c_werror_flag" ||
10001 test ! -s conftest.err
10002 } && test -s conftest.$ac_objext; then
10003 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10004 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10005 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10006 echo $ECHO_N "(cached) $ECHO_C" >&6
10008 ac_check_soname_save_LIBS=$LIBS
10009 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10010 cat >conftest.$ac_ext <<_ACEOF
10013 cat confdefs.h >>conftest.$ac_ext
10014 cat >>conftest.$ac_ext <<_ACEOF
10015 /* end confdefs.h. */
10017 /* Override any GCC internal prototype to avoid an error.
10018 Use char because int might match the return type of a GCC
10019 builtin and then its argument prototype would still apply. */
10023 char XRRQueryExtension ();
10027 return XRRQueryExtension ();
10032 rm -f conftest.$ac_objext conftest$ac_exeext
10033 if { (ac_try="$ac_link"
10034 case "(($ac_try" in
10035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10036 *) ac_try_echo
=$ac_try;;
10038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10039 (eval "$ac_link") 2>conftest.er1
10041 grep -v '^ *+' conftest.er1
>conftest.err
10043 cat conftest.err
>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); } && {
10046 test -z "$ac_c_werror_flag" ||
10047 test ! -s conftest.err
10048 } && test -s conftest
$ac_exeext &&
10049 $as_test_x conftest
$ac_exeext; then
10052 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'` ;;
10053 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10056 echo "$as_me: failed program was:" >&5
10057 sed 's/^/| /' conftest.
$ac_ext >&5
10062 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10063 conftest
$ac_exeext conftest.
$ac_ext
10064 LIBS
=$ac_check_soname_save_LIBS
10066 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10067 { echo "$as_me:$LINENO: result: not found" >&5
10068 echo "${ECHO_T}not found" >&6; }
10071 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10072 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10074 cat >>confdefs.h
<<_ACEOF
10075 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10082 echo "$as_me: failed program was:" >&5
10083 sed 's/^/| /' conftest.
$ac_ext >&5
10088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10090 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10091 wine_notices
="$wine_notices|XRandr development files not found.
10092 Wine will be built without XRandr support. (winex11.drv)"
10096 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10098 cat >conftest.
$ac_ext <<_ACEOF
10101 cat confdefs.h
>>conftest.
$ac_ext
10102 cat >>conftest.
$ac_ext <<_ACEOF
10103 /* end confdefs.h. */
10104 #include <X11/Xlib.h>
10105 #include <X11/extensions/Xinerama.h>
10109 static typeof(XineramaQueryScreens) * func;
10114 rm -f conftest.
$ac_objext
10115 if { (ac_try
="$ac_compile"
10116 case "(($ac_try" in
10117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10118 *) ac_try_echo=$ac_try;;
10120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10121 (eval "$ac_compile") 2>conftest.er1
10123 grep -v '^ *+' conftest.er1 >conftest.err
10125 cat conftest.err >&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); } && {
10128 test -z "$ac_c_werror_flag" ||
10129 test ! -s conftest.err
10130 } && test -s conftest.$ac_objext; then
10131 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10132 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10133 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10136 ac_check_soname_save_LIBS=$LIBS
10137 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10138 cat >conftest.$ac_ext <<_ACEOF
10141 cat confdefs.h >>conftest.$ac_ext
10142 cat >>conftest.$ac_ext <<_ACEOF
10143 /* end confdefs.h. */
10145 /* Override any GCC internal prototype to avoid an error.
10146 Use char because int might match the return type of a GCC
10147 builtin and then its argument prototype would still apply. */
10151 char XineramaQueryScreens ();
10155 return XineramaQueryScreens ();
10160 rm -f conftest.$ac_objext conftest$ac_exeext
10161 if { (ac_try="$ac_link"
10162 case "(($ac_try" in
10163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10164 *) ac_try_echo
=$ac_try;;
10166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10167 (eval "$ac_link") 2>conftest.er1
10169 grep -v '^ *+' conftest.er1
>conftest.err
10171 cat conftest.err
>&5
10172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10173 (exit $ac_status); } && {
10174 test -z "$ac_c_werror_flag" ||
10175 test ! -s conftest.err
10176 } && test -s conftest
$ac_exeext &&
10177 $as_test_x conftest
$ac_exeext; then
10180 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'` ;;
10181 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10184 echo "$as_me: failed program was:" >&5
10185 sed 's/^/| /' conftest.
$ac_ext >&5
10190 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10191 conftest
$ac_exeext conftest.
$ac_ext
10192 LIBS
=$ac_check_soname_save_LIBS
10194 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10195 { echo "$as_me:$LINENO: result: not found" >&5
10196 echo "${ECHO_T}not found" >&6; }
10199 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10200 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10202 cat >>confdefs.h
<<_ACEOF
10203 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10210 echo "$as_me: failed program was:" >&5
10211 sed 's/^/| /' conftest.
$ac_ext >&5
10216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10218 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10219 wine_notices
="$wine_notices|Xinerama development files not found.
10220 Wine will be built without Xinerama support. (winex11.drv)"
10225 if test "x$with_opengl" != "xno"
10231 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
10233 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10234 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10236 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10237 echo $ECHO_N "(cached) $ECHO_C" >&6
10239 cat >conftest.
$ac_ext <<_ACEOF
10242 cat confdefs.h
>>conftest.
$ac_ext
10243 cat >>conftest.
$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10245 #ifdef HAVE_GL_GLX_H
10246 # include <GL/glx.h>
10249 #include <$ac_header>
10251 rm -f conftest.
$ac_objext
10252 if { (ac_try
="$ac_compile"
10253 case "(($ac_try" in
10254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10255 *) ac_try_echo=$ac_try;;
10257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10258 (eval "$ac_compile") 2>conftest.er1
10260 grep -v '^ *+' conftest.er1 >conftest.err
10262 cat conftest.err >&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); } && {
10265 test -z "$ac_c_werror_flag" ||
10266 test ! -s conftest.err
10267 } && test -s conftest.$ac_objext; then
10268 eval "$as_ac_Header=yes"
10270 echo "$as_me: failed program was:" >&5
10271 sed 's/^/| /' conftest.$ac_ext >&5
10273 eval "$as_ac_Header=no"
10276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10278 ac_res=`eval echo '${'$as_ac_Header'}'`
10279 { echo "$as_me:$LINENO: result: $ac_res" >&5
10280 echo "${ECHO_T}$ac_res" >&6; }
10281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10282 cat >>confdefs.h <<_ACEOF
10283 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10290 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10292 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10293 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10294 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10295 echo $ECHO_N "(cached) $ECHO_C" >&6
10297 cat >conftest.$ac_ext <<_ACEOF
10300 cat confdefs.h >>conftest.$ac_ext
10301 cat >>conftest.$ac_ext <<_ACEOF
10302 /* end confdefs.h. */
10307 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10312 rm -f conftest.$ac_objext
10313 if { (ac_try="$ac_compile"
10314 case "(($ac_try" in
10315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10316 *) ac_try_echo
=$ac_try;;
10318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10319 (eval "$ac_compile") 2>conftest.er1
10321 grep -v '^ *+' conftest.er1
>conftest.err
10323 cat conftest.err
>&5
10324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325 (exit $ac_status); } && {
10326 test -z "$ac_c_werror_flag" ||
10327 test ! -s conftest.err
10328 } && test -s conftest.
$ac_objext; then
10329 wine_cv_opengl_header_version_OK
="yes"
10331 echo "$as_me: failed program was:" >&5
10332 sed 's/^/| /' conftest.
$ac_ext >&5
10334 wine_cv_opengl_header_version_OK
="no"
10337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10339 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10340 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10342 if test "$wine_cv_opengl_header_version_OK" = "yes"
10344 { echo "$as_me:$LINENO: checking for -lGL" >&5
10345 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10346 if test "${ac_cv_lib_soname_GL+set}" = set; then
10347 echo $ECHO_N "(cached) $ECHO_C" >&6
10349 ac_check_soname_save_LIBS
=$LIBS
10350 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10351 cat >conftest.
$ac_ext <<_ACEOF
10354 cat confdefs.h
>>conftest.
$ac_ext
10355 cat >>conftest.
$ac_ext <<_ACEOF
10356 /* end confdefs.h. */
10358 /* Override any GCC internal prototype to avoid an error.
10359 Use char because int might match the return type of a GCC
10360 builtin and then its argument prototype would still apply. */
10364 char glXCreateContext ();
10368 return glXCreateContext ();
10373 rm -f conftest.
$ac_objext conftest
$ac_exeext
10374 if { (ac_try
="$ac_link"
10375 case "(($ac_try" in
10376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10377 *) ac_try_echo=$ac_try;;
10379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10380 (eval "$ac_link") 2>conftest.er1
10382 grep -v '^ *+' conftest.er1 >conftest.err
10384 cat conftest.err >&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); } && {
10387 test -z "$ac_c_werror_flag" ||
10388 test ! -s conftest.err
10389 } && test -s conftest$ac_exeext &&
10390 $as_test_x conftest$ac_exeext; then
10393 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'` ;;
10394 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10397 echo "$as_me: failed program was:" >&5
10398 sed 's/^/| /' conftest.$ac_ext >&5
10403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10404 conftest$ac_exeext conftest.$ac_ext
10405 LIBS=$ac_check_soname_save_LIBS
10407 if test "x$ac_cv_lib_soname_GL" = "x"; then
10408 { echo "$as_me:$LINENO: result: not found" >&5
10409 echo "${ECHO_T}not found" >&6; }
10410 if test -f /usr/X11R6/lib/libGL.a
10412 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10413 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10415 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10416 Wine will be build without OpenGL or Direct3D support."
10419 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10420 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10422 cat >>confdefs.h <<_ACEOF
10423 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10427 OPENGLFILES='$(OPENGLFILES)'
10429 cat >>confdefs.h <<\_ACEOF
10430 #define HAVE_OPENGL 1
10436 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10437 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10438 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10439 echo $ECHO_N "(cached) $ECHO_C" >&6
10441 ac_check_lib_save_LIBS=$LIBS
10442 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10443 cat >conftest.$ac_ext <<_ACEOF
10446 cat confdefs.h >>conftest.$ac_ext
10447 cat >>conftest.$ac_ext <<_ACEOF
10448 /* end confdefs.h. */
10450 /* Override any GCC internal prototype to avoid an error.
10451 Use char because int might match the return type of a GCC
10452 builtin and then its argument prototype would still apply. */
10460 return gluLookAt ();
10465 rm -f conftest.$ac_objext conftest$ac_exeext
10466 if { (ac_try="$ac_link"
10467 case "(($ac_try" in
10468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10469 *) ac_try_echo
=$ac_try;;
10471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10472 (eval "$ac_link") 2>conftest.er1
10474 grep -v '^ *+' conftest.er1
>conftest.err
10476 cat conftest.err
>&5
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); } && {
10479 test -z "$ac_c_werror_flag" ||
10480 test ! -s conftest.err
10481 } && test -s conftest
$ac_exeext &&
10482 $as_test_x conftest
$ac_exeext; then
10483 ac_cv_lib_GLU_gluLookAt
=yes
10485 echo "$as_me: failed program was:" >&5
10486 sed 's/^/| /' conftest.
$ac_ext >&5
10488 ac_cv_lib_GLU_gluLookAt
=no
10491 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10492 conftest
$ac_exeext conftest.
$ac_ext
10493 LIBS
=$ac_check_lib_save_LIBS
10495 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10496 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10497 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10498 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10499 GLU32FILES
='$(GLU32FILES)'
10504 wine_warnings
="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10505 Wine will be build without OpenGL or Direct3D support."
10508 wine_warnings
="$wine_warnings|OpenGL development headers not found.
10509 Wine will be build without OpenGL or Direct3D support."
10516 for ac_header
in audio
/audiolib.h
10518 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10519 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10520 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10522 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10523 echo $ECHO_N "(cached) $ECHO_C" >&6
10525 ac_res
=`eval echo '${'$as_ac_Header'}'`
10526 { echo "$as_me:$LINENO: result: $ac_res" >&5
10527 echo "${ECHO_T}$ac_res" >&6; }
10529 # Is the header compilable?
10530 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10532 cat >conftest.
$ac_ext <<_ACEOF
10535 cat confdefs.h
>>conftest.
$ac_ext
10536 cat >>conftest.
$ac_ext <<_ACEOF
10537 /* end confdefs.h. */
10538 $ac_includes_default
10539 #include <$ac_header>
10541 rm -f conftest.
$ac_objext
10542 if { (ac_try
="$ac_compile"
10543 case "(($ac_try" in
10544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10545 *) ac_try_echo=$ac_try;;
10547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10548 (eval "$ac_compile") 2>conftest.er1
10550 grep -v '^ *+' conftest.er1 >conftest.err
10552 cat conftest.err >&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); } && {
10555 test -z "$ac_c_werror_flag" ||
10556 test ! -s conftest.err
10557 } && test -s conftest.$ac_objext; then
10558 ac_header_compiler=yes
10560 echo "$as_me: failed program was:" >&5
10561 sed 's/^/| /' conftest.$ac_ext >&5
10563 ac_header_compiler=no
10566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10567 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10568 echo "${ECHO_T}$ac_header_compiler" >&6; }
10570 # Is the header present?
10571 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10573 cat >conftest.$ac_ext <<_ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10579 #include <$ac_header>
10581 if { (ac_try="$ac_cpp conftest.$ac_ext"
10582 case "(($ac_try" in
10583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10584 *) ac_try_echo
=$ac_try;;
10586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10589 grep -v '^ *+' conftest.er1
>conftest.err
10591 cat conftest.err
>&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); } >/dev
/null
&& {
10594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10595 test ! -s conftest.err
10597 ac_header_preproc
=yes
10599 echo "$as_me: failed program was:" >&5
10600 sed 's/^/| /' conftest.
$ac_ext >&5
10602 ac_header_preproc
=no
10605 rm -f conftest.err conftest.
$ac_ext
10606 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10607 echo "${ECHO_T}$ac_header_preproc" >&6; }
10609 # So? What about this header?
10610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10616 ac_header_preproc
=yes
10619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10632 ## ------------------------------------ ##
10633 ## Report this to wine-devel@winehq.org ##
10634 ## ------------------------------------ ##
10636 ) |
sed "s/^/$as_me: WARNING: /" >&2
10639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10641 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 eval "$as_ac_Header=\$ac_header_preproc"
10646 ac_res
=`eval echo '${'$as_ac_Header'}'`
10647 { echo "$as_me:$LINENO: result: $ac_res" >&5
10648 echo "${ECHO_T}$ac_res" >&6; }
10651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10652 cat >>confdefs.h
<<_ACEOF
10653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10656 for ac_header
in audio
/soundlib.h
10658 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10661 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 cat >conftest.
$ac_ext <<_ACEOF
10667 cat confdefs.h
>>conftest.
$ac_ext
10668 cat >>conftest.
$ac_ext <<_ACEOF
10669 /* end confdefs.h. */
10670 #include <audio/audiolib.h>
10672 #include <$ac_header>
10674 rm -f conftest.
$ac_objext
10675 if { (ac_try
="$ac_compile"
10676 case "(($ac_try" in
10677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10678 *) ac_try_echo=$ac_try;;
10680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10681 (eval "$ac_compile") 2>conftest.er1
10683 grep -v '^ *+' conftest.er1 >conftest.err
10685 cat conftest.err >&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); } && {
10688 test -z "$ac_c_werror_flag" ||
10689 test ! -s conftest.err
10690 } && test -s conftest.$ac_objext; then
10691 eval "$as_ac_Header=yes"
10693 echo "$as_me: failed program was:" >&5
10694 sed 's/^/| /' conftest.$ac_ext >&5
10696 eval "$as_ac_Header=no"
10699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10701 ac_res=`eval echo '${'$as_ac_Header'}'`
10702 { echo "$as_me:$LINENO: result: $ac_res" >&5
10703 echo "${ECHO_T}$ac_res" >&6; }
10704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10705 cat >>confdefs.h <<_ACEOF
10706 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10713 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10714 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10715 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10716 echo $ECHO_N "(cached) $ECHO_C" >&6
10718 ac_check_lib_save_LIBS=$LIBS
10719 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10720 cat >conftest.$ac_ext <<_ACEOF
10723 cat confdefs.h >>conftest.$ac_ext
10724 cat >>conftest.$ac_ext <<_ACEOF
10725 /* end confdefs.h. */
10727 /* Override any GCC internal prototype to avoid an error.
10728 Use char because int might match the return type of a GCC
10729 builtin and then its argument prototype would still apply. */
10733 char AuCreateFlow ();
10737 return AuCreateFlow ();
10742 rm -f conftest.$ac_objext conftest$ac_exeext
10743 if { (ac_try="$ac_link"
10744 case "(($ac_try" in
10745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10746 *) ac_try_echo
=$ac_try;;
10748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10749 (eval "$ac_link") 2>conftest.er1
10751 grep -v '^ *+' conftest.er1
>conftest.err
10753 cat conftest.err
>&5
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); } && {
10756 test -z "$ac_c_werror_flag" ||
10757 test ! -s conftest.err
10758 } && test -s conftest
$ac_exeext &&
10759 $as_test_x conftest
$ac_exeext; then
10760 ac_cv_lib_audio_AuCreateFlow
=yes
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.
$ac_ext >&5
10765 ac_cv_lib_audio_AuCreateFlow
=no
10768 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10769 conftest
$ac_exeext conftest.
$ac_ext
10770 LIBS
=$ac_check_lib_save_LIBS
10772 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10773 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10774 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10776 cat >>confdefs.h
<<\_ACEOF
10780 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10781 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10782 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10783 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 ac_check_lib_save_LIBS
=$LIBS
10786 LIBS
="-lXau $X_LIBS $LIBS"
10787 cat >conftest.
$ac_ext <<_ACEOF
10790 cat confdefs.h
>>conftest.
$ac_ext
10791 cat >>conftest.
$ac_ext <<_ACEOF
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10800 char XauGetBestAuthByAddr ();
10804 return XauGetBestAuthByAddr ();
10809 rm -f conftest.
$ac_objext conftest
$ac_exeext
10810 if { (ac_try
="$ac_link"
10811 case "(($ac_try" in
10812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10813 *) ac_try_echo=$ac_try;;
10815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10816 (eval "$ac_link") 2>conftest.er1
10818 grep -v '^ *+' conftest.er1 >conftest.err
10820 cat conftest.err >&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } && {
10823 test -z "$ac_c_werror_flag" ||
10824 test ! -s conftest.err
10825 } && test -s conftest$ac_exeext &&
10826 $as_test_x conftest$ac_exeext; then
10827 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10829 echo "$as_me: failed program was:" >&5
10830 sed 's/^/| /' conftest.$ac_ext >&5
10832 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10836 conftest$ac_exeext conftest.$ac_ext
10837 LIBS=$ac_check_lib_save_LIBS
10839 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10840 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10841 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10842 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10844 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10855 CPPFLAGS="$ac_save_CPPFLAGS"
10861 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10862 without X support, which probably isn't what you want. You will need to install
10863 development packages of Xlib/Xfree86 at the very least."
10875 ac_save_CPPFLAGS="$CPPFLAGS"
10876 if test "$PKG_CONFIG" != "false"
10878 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
10879 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
10881 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
10882 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
10884 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10886 for ac_header in libxml/parser.h
10888 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10890 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10893 echo $ECHO_N "(cached) $ECHO_C" >&6
10895 ac_res=`eval echo '${'$as_ac_Header'}'`
10896 { echo "$as_me:$LINENO: result: $ac_res" >&5
10897 echo "${ECHO_T}$ac_res" >&6; }
10899 # Is the header compilable?
10900 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10902 cat >conftest.$ac_ext <<_ACEOF
10905 cat confdefs.h >>conftest.$ac_ext
10906 cat >>conftest.$ac_ext <<_ACEOF
10907 /* end confdefs.h. */
10908 $ac_includes_default
10909 #include <$ac_header>
10911 rm -f conftest.$ac_objext
10912 if { (ac_try="$ac_compile"
10913 case "(($ac_try" in
10914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10915 *) ac_try_echo
=$ac_try;;
10917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10918 (eval "$ac_compile") 2>conftest.er1
10920 grep -v '^ *+' conftest.er1
>conftest.err
10922 cat conftest.err
>&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); } && {
10925 test -z "$ac_c_werror_flag" ||
10926 test ! -s conftest.err
10927 } && test -s conftest.
$ac_objext; then
10928 ac_header_compiler
=yes
10930 echo "$as_me: failed program was:" >&5
10931 sed 's/^/| /' conftest.
$ac_ext >&5
10933 ac_header_compiler
=no
10936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10937 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10938 echo "${ECHO_T}$ac_header_compiler" >&6; }
10940 # Is the header present?
10941 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10942 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10943 cat >conftest.
$ac_ext <<_ACEOF
10946 cat confdefs.h
>>conftest.
$ac_ext
10947 cat >>conftest.
$ac_ext <<_ACEOF
10948 /* end confdefs.h. */
10949 #include <$ac_header>
10951 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10952 case "(($ac_try" in
10953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10954 *) ac_try_echo=$ac_try;;
10956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10959 grep -v '^ *+' conftest.er1 >conftest.err
10961 cat conftest.err >&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); } >/dev/null && {
10964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10965 test ! -s conftest.err
10967 ac_header_preproc=yes
10969 echo "$as_me: failed program was:" >&5
10970 sed 's/^/| /' conftest.$ac_ext >&5
10972 ac_header_preproc=no
10975 rm -f conftest.err conftest.$ac_ext
10976 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10977 echo "${ECHO_T}$ac_header_preproc" >&6; }
10979 # So? What about this header?
10980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10986 ac_header_preproc=yes
10989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11002 ## ------------------------------------ ##
11003 ## Report this to wine-devel@winehq.org ##
11004 ## ------------------------------------ ##
11006 ) | sed "s/^/$as_me: WARNING: /" >&2
11009 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11012 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 eval "$as_ac_Header=\$ac_header_preproc"
11016 ac_res=`eval echo '${'$as_ac_Header'}'`
11017 { echo "$as_me:$LINENO: result: $ac_res" >&5
11018 echo "${ECHO_T}$ac_res" >&6; }
11021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11022 cat >>confdefs.h <<_ACEOF
11023 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11025 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11026 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11027 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11028 echo $ECHO_N "(cached) $ECHO_C" >&6
11030 ac_check_lib_save_LIBS=$LIBS
11031 LIBS="-lxml2 $ac_xml_libs $LIBS"
11032 cat >conftest.$ac_ext <<_ACEOF
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h. */
11039 /* Override any GCC internal prototype to avoid an error.
11040 Use char because int might match the return type of a GCC
11041 builtin and then its argument prototype would still apply. */
11045 char xmlParseMemory ();
11049 return xmlParseMemory ();
11054 rm -f conftest.$ac_objext conftest$ac_exeext
11055 if { (ac_try="$ac_link"
11056 case "(($ac_try" in
11057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11058 *) ac_try_echo
=$ac_try;;
11060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11061 (eval "$ac_link") 2>conftest.er1
11063 grep -v '^ *+' conftest.er1
>conftest.err
11065 cat conftest.err
>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); } && {
11068 test -z "$ac_c_werror_flag" ||
11069 test ! -s conftest.err
11070 } && test -s conftest
$ac_exeext &&
11071 $as_test_x conftest
$ac_exeext; then
11072 ac_cv_lib_xml2_xmlParseMemory
=yes
11074 echo "$as_me: failed program was:" >&5
11075 sed 's/^/| /' conftest.
$ac_ext >&5
11077 ac_cv_lib_xml2_xmlParseMemory
=no
11080 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11081 conftest
$ac_exeext conftest.
$ac_ext
11082 LIBS
=$ac_check_lib_save_LIBS
11084 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11085 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11086 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11088 cat >>confdefs.h
<<\_ACEOF
11089 #define HAVE_LIBXML2 1
11092 XML2LIBS
="$ac_xml_libs"
11093 XML2INCL
="$ac_xml_cflags"
11096 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11097 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11098 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 ac_check_lib_save_LIBS
=$LIBS
11102 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11103 cat >conftest.
$ac_ext <<_ACEOF
11106 cat confdefs.h
>>conftest.
$ac_ext
11107 cat >>conftest.
$ac_ext <<_ACEOF
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11116 char xmlReadMemory ();
11120 return xmlReadMemory ();
11125 rm -f conftest.
$ac_objext conftest
$ac_exeext
11126 if { (ac_try
="$ac_link"
11127 case "(($ac_try" in
11128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11129 *) ac_try_echo=$ac_try;;
11131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11132 (eval "$ac_link") 2>conftest.er1
11134 grep -v '^ *+' conftest.er1 >conftest.err
11136 cat conftest.err >&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); } && {
11139 test -z "$ac_c_werror_flag" ||
11140 test ! -s conftest.err
11141 } && test -s conftest$ac_exeext &&
11142 $as_test_x conftest$ac_exeext; then
11143 ac_cv_lib_xml2_xmlReadMemory=yes
11145 echo "$as_me: failed program was:" >&5
11146 sed 's/^/| /' conftest.$ac_ext >&5
11148 ac_cv_lib_xml2_xmlReadMemory=no
11151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11152 conftest$ac_exeext conftest.$ac_ext
11153 LIBS=$ac_check_lib_save_LIBS
11155 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11156 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11157 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11159 cat >>confdefs.h <<\_ACEOF
11160 #define HAVE_XMLREADMEMORY 1
11165 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11166 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11167 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11168 echo $ECHO_N "(cached) $ECHO_C" >&6
11170 ac_check_lib_save_LIBS=$LIBS
11171 LIBS="-lxml2 $ac_xml_libs $LIBS"
11172 cat >conftest.$ac_ext <<_ACEOF
11175 cat confdefs.h >>conftest.$ac_ext
11176 cat >>conftest.$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11179 /* Override any GCC internal prototype to avoid an error.
11180 Use char because int might match the return type of a GCC
11181 builtin and then its argument prototype would still apply. */
11185 char xmlNewDocPI ();
11189 return xmlNewDocPI ();
11194 rm -f conftest.$ac_objext conftest$ac_exeext
11195 if { (ac_try="$ac_link"
11196 case "(($ac_try" in
11197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11198 *) ac_try_echo
=$ac_try;;
11200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11201 (eval "$ac_link") 2>conftest.er1
11203 grep -v '^ *+' conftest.er1
>conftest.err
11205 cat conftest.err
>&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } && {
11208 test -z "$ac_c_werror_flag" ||
11209 test ! -s conftest.err
11210 } && test -s conftest
$ac_exeext &&
11211 $as_test_x conftest
$ac_exeext; then
11212 ac_cv_lib_xml2_xmlNewDocPI
=yes
11214 echo "$as_me: failed program was:" >&5
11215 sed 's/^/| /' conftest.
$ac_ext >&5
11217 ac_cv_lib_xml2_xmlNewDocPI
=no
11220 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11221 conftest
$ac_exeext conftest.
$ac_ext
11222 LIBS
=$ac_check_lib_save_LIBS
11224 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11225 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11226 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11228 cat >>confdefs.h
<<\_ACEOF
11229 #define HAVE_XMLNEWDOCPI 1
11239 CPPFLAGS
="$ac_save_CPPFLAGS"
11240 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11241 wine_notices
="$wine_notices|libxml2 development files not found.
11242 Wine will be built without XML support. (msxml.dll)"
11246 if test "$PKG_CONFIG" != "false"
11248 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11249 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11251 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11252 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11254 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11257 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11259 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11260 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11262 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11263 echo $ECHO_N "(cached) $ECHO_C" >&6
11265 cat >conftest.
$ac_ext <<_ACEOF
11268 cat confdefs.h
>>conftest.
$ac_ext
11269 cat >>conftest.
$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11271 #ifdef HAVE_LIBXSLT_PATTERN_H
11272 # include <libxslt/pattern.h>
11275 #include <$ac_header>
11277 rm -f conftest.
$ac_objext
11278 if { (ac_try
="$ac_compile"
11279 case "(($ac_try" in
11280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11281 *) ac_try_echo=$ac_try;;
11283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11284 (eval "$ac_compile") 2>conftest.er1
11286 grep -v '^ *+' conftest.er1 >conftest.err
11288 cat conftest.err >&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); } && {
11291 test -z "$ac_c_werror_flag" ||
11292 test ! -s conftest.err
11293 } && test -s conftest.$ac_objext; then
11294 eval "$as_ac_Header=yes"
11296 echo "$as_me: failed program was:" >&5
11297 sed 's/^/| /' conftest.$ac_ext >&5
11299 eval "$as_ac_Header=no"
11302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11304 ac_res=`eval echo '${'$as_ac_Header'}'`
11305 { echo "$as_me:$LINENO: result: $ac_res" >&5
11306 echo "${ECHO_T}$ac_res" >&6; }
11307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11308 cat >>confdefs.h <<_ACEOF
11309 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11311 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11312 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11313 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11316 ac_check_lib_save_LIBS=$LIBS
11317 LIBS="-lxslt $ac_xslt_libs $LIBS"
11318 cat >conftest.$ac_ext <<_ACEOF
11321 cat confdefs.h >>conftest.$ac_ext
11322 cat >>conftest.$ac_ext <<_ACEOF
11323 /* end confdefs.h. */
11325 /* Override any GCC internal prototype to avoid an error.
11326 Use char because int might match the return type of a GCC
11327 builtin and then its argument prototype would still apply. */
11331 char xsltCompilePattern ();
11335 return xsltCompilePattern ();
11340 rm -f conftest.$ac_objext conftest$ac_exeext
11341 if { (ac_try="$ac_link"
11342 case "(($ac_try" in
11343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11344 *) ac_try_echo
=$ac_try;;
11346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11347 (eval "$ac_link") 2>conftest.er1
11349 grep -v '^ *+' conftest.er1
>conftest.err
11351 cat conftest.err
>&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); } && {
11354 test -z "$ac_c_werror_flag" ||
11355 test ! -s conftest.err
11356 } && test -s conftest
$ac_exeext &&
11357 $as_test_x conftest
$ac_exeext; then
11358 ac_cv_lib_xslt_xsltCompilePattern
=yes
11360 echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.
$ac_ext >&5
11363 ac_cv_lib_xslt_xsltCompilePattern
=no
11366 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11367 conftest
$ac_exeext conftest.
$ac_ext
11368 LIBS
=$ac_check_lib_save_LIBS
11370 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11371 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11372 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11374 cat >>confdefs.h
<<\_ACEOF
11375 #define HAVE_LIBXSLT 1
11378 XSLTLIBS
="$ac_xslt_libs"
11379 XSLTINCL
="$ac_xslt_cflags"
11387 CPPFLAGS
="$ac_save_CPPFLAGS"
11388 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11389 wine_notices
="$wine_notices|libxslt development files not found.
11390 Wine will be built without xslt support. (msxml.dll)"
11396 if test "$PKG_CONFIG" != "false"
11398 ac_save_CPPFLAGS
="$CPPFLAGS"
11399 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
11400 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11401 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
11404 for ac_header
in dbus
/dbus.h hal
/libhal.h
11406 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11407 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11408 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11410 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11411 echo $ECHO_N "(cached) $ECHO_C" >&6
11413 ac_res
=`eval echo '${'$as_ac_Header'}'`
11414 { echo "$as_me:$LINENO: result: $ac_res" >&5
11415 echo "${ECHO_T}$ac_res" >&6; }
11417 # Is the header compilable?
11418 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11419 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11420 cat >conftest.
$ac_ext <<_ACEOF
11423 cat confdefs.h
>>conftest.
$ac_ext
11424 cat >>conftest.
$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11426 $ac_includes_default
11427 #include <$ac_header>
11429 rm -f conftest.
$ac_objext
11430 if { (ac_try
="$ac_compile"
11431 case "(($ac_try" in
11432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11433 *) ac_try_echo=$ac_try;;
11435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11436 (eval "$ac_compile") 2>conftest.er1
11438 grep -v '^ *+' conftest.er1 >conftest.err
11440 cat conftest.err >&5
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 (exit $ac_status); } && {
11443 test -z "$ac_c_werror_flag" ||
11444 test ! -s conftest.err
11445 } && test -s conftest.$ac_objext; then
11446 ac_header_compiler=yes
11448 echo "$as_me: failed program was:" >&5
11449 sed 's/^/| /' conftest.$ac_ext >&5
11451 ac_header_compiler=no
11454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11455 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11456 echo "${ECHO_T}$ac_header_compiler" >&6; }
11458 # Is the header present?
11459 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11460 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11461 cat >conftest.$ac_ext <<_ACEOF
11464 cat confdefs.h >>conftest.$ac_ext
11465 cat >>conftest.$ac_ext <<_ACEOF
11466 /* end confdefs.h. */
11467 #include <$ac_header>
11469 if { (ac_try="$ac_cpp conftest.$ac_ext"
11470 case "(($ac_try" in
11471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11472 *) ac_try_echo
=$ac_try;;
11474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11475 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11477 grep -v '^ *+' conftest.er1
>conftest.err
11479 cat conftest.err
>&5
11480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11481 (exit $ac_status); } >/dev
/null
&& {
11482 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11483 test ! -s conftest.err
11485 ac_header_preproc
=yes
11487 echo "$as_me: failed program was:" >&5
11488 sed 's/^/| /' conftest.
$ac_ext >&5
11490 ac_header_preproc
=no
11493 rm -f conftest.err conftest.
$ac_ext
11494 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11495 echo "${ECHO_T}$ac_header_preproc" >&6; }
11497 # So? What about this header?
11498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11504 ac_header_preproc
=yes
11507 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11508 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11511 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11512 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11513 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11514 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11517 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11518 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11520 ## ------------------------------------ ##
11521 ## Report this to wine-devel@winehq.org ##
11522 ## ------------------------------------ ##
11524 ) |
sed "s/^/$as_me: WARNING: /" >&2
11527 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11529 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11530 echo $ECHO_N "(cached) $ECHO_C" >&6
11532 eval "$as_ac_Header=\$ac_header_preproc"
11534 ac_res
=`eval echo '${'$as_ac_Header'}'`
11535 { echo "$as_me:$LINENO: result: $ac_res" >&5
11536 echo "${ECHO_T}$ac_res" >&6; }
11539 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11540 cat >>confdefs.h
<<_ACEOF
11541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11548 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11550 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11551 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11552 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 ac_check_lib_save_LIBS
=$LIBS
11556 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
11557 cat >conftest.
$ac_ext <<_ACEOF
11560 cat confdefs.h
>>conftest.
$ac_ext
11561 cat >>conftest.
$ac_ext <<_ACEOF
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11570 char dbus_connection_close ();
11574 return dbus_connection_close ();
11579 rm -f conftest.
$ac_objext conftest
$ac_exeext
11580 if { (ac_try
="$ac_link"
11581 case "(($ac_try" in
11582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11583 *) ac_try_echo=$ac_try;;
11585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11586 (eval "$ac_link") 2>conftest.er1
11588 grep -v '^ *+' conftest.er1 >conftest.err
11590 cat conftest.err >&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); } && {
11593 test -z "$ac_c_werror_flag" ||
11594 test ! -s conftest.err
11595 } && test -s conftest$ac_exeext &&
11596 $as_test_x conftest$ac_exeext; then
11597 ac_cv_lib_dbus_1_dbus_connection_close=yes
11599 echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.$ac_ext >&5
11602 ac_cv_lib_dbus_1_dbus_connection_close=no
11605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11606 conftest$ac_exeext conftest.$ac_ext
11607 LIBS=$ac_check_lib_save_LIBS
11609 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11610 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11611 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11612 { echo "$as_me:$LINENO: checking for -lhal" >&5
11613 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11614 if test "${ac_cv_lib_soname_hal+set}" = set; then
11615 echo $ECHO_N "(cached) $ECHO_C" >&6
11617 ac_check_soname_save_LIBS=$LIBS
11618 LIBS="-lhal $ac_hal_libs $LIBS"
11619 cat >conftest.$ac_ext <<_ACEOF
11622 cat confdefs.h >>conftest.$ac_ext
11623 cat >>conftest.$ac_ext <<_ACEOF
11624 /* end confdefs.h. */
11626 /* Override any GCC internal prototype to avoid an error.
11627 Use char because int might match the return type of a GCC
11628 builtin and then its argument prototype would still apply. */
11632 char libhal_ctx_new ();
11636 return libhal_ctx_new ();
11641 rm -f conftest.$ac_objext conftest$ac_exeext
11642 if { (ac_try="$ac_link"
11643 case "(($ac_try" in
11644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11645 *) ac_try_echo
=$ac_try;;
11647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11648 (eval "$ac_link") 2>conftest.er1
11650 grep -v '^ *+' conftest.er1
>conftest.err
11652 cat conftest.err
>&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); } && {
11655 test -z "$ac_c_werror_flag" ||
11656 test ! -s conftest.err
11657 } && test -s conftest
$ac_exeext &&
11658 $as_test_x conftest
$ac_exeext; then
11661 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'` ;;
11662 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.
$ac_ext >&5
11671 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11672 conftest
$ac_exeext conftest.
$ac_ext
11673 LIBS
=$ac_check_soname_save_LIBS
11675 if test "x$ac_cv_lib_soname_hal" = "x"; then
11676 { echo "$as_me:$LINENO: result: not found" >&5
11677 echo "${ECHO_T}not found" >&6; }
11680 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11681 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11683 cat >>confdefs.h
<<_ACEOF
11684 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11687 HALINCL
="$ac_hal_cflags"
11693 CPPFLAGS
="$ac_save_CPPFLAGS"
11695 if test "x$ac_cv_lib_soname_hal" = "x"; then
11696 wine_notices
="$wine_notices|libhal development files not found.
11697 Wine will be built without dynamic device support. (explorer.exe)"
11702 if test "$ac_cv_header_ncurses_h" = "yes"
11704 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11705 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11706 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11707 echo $ECHO_N "(cached) $ECHO_C" >&6
11709 ac_check_soname_save_LIBS
=$LIBS
11710 LIBS
="-lncurses $LIBS"
11711 cat >conftest.
$ac_ext <<_ACEOF
11714 cat confdefs.h
>>conftest.
$ac_ext
11715 cat >>conftest.
$ac_ext <<_ACEOF
11716 /* end confdefs.h. */
11718 /* Override any GCC internal prototype to avoid an error.
11719 Use char because int might match the return type of a GCC
11720 builtin and then its argument prototype would still apply. */
11733 rm -f conftest.
$ac_objext conftest
$ac_exeext
11734 if { (ac_try
="$ac_link"
11735 case "(($ac_try" in
11736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11737 *) ac_try_echo=$ac_try;;
11739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11740 (eval "$ac_link") 2>conftest.er1
11742 grep -v '^ *+' conftest.er1 >conftest.err
11744 cat conftest.err >&5
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); } && {
11747 test -z "$ac_c_werror_flag" ||
11748 test ! -s conftest.err
11749 } && test -s conftest$ac_exeext &&
11750 $as_test_x conftest$ac_exeext; then
11753 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'` ;;
11754 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libncurses\\.$LIBEXT" |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11757 echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.$ac_ext >&5
11763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11764 conftest$ac_exeext conftest.$ac_ext
11765 LIBS=$ac_check_soname_save_LIBS
11767 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11768 { echo "$as_me:$LINENO: result: not found" >&5
11769 echo "${ECHO_T}not found" >&6; }
11772 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11773 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11775 cat >>confdefs.h <<_ACEOF
11776 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11779 CURSESLIBS="-lncurses"
11782 elif test "$ac_cv_header_curses_h" = "yes"
11784 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11785 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11786 if test "${ac_cv_lib_soname_curses+set}" = set; then
11787 echo $ECHO_N "(cached) $ECHO_C" >&6
11789 ac_check_soname_save_LIBS=$LIBS
11790 LIBS="-lcurses $LIBS"
11791 cat >conftest.$ac_ext <<_ACEOF
11794 cat confdefs.h >>conftest.$ac_ext
11795 cat >>conftest.$ac_ext <<_ACEOF
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11813 rm -f conftest.$ac_objext conftest$ac_exeext
11814 if { (ac_try="$ac_link"
11815 case "(($ac_try" in
11816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11817 *) ac_try_echo
=$ac_try;;
11819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11820 (eval "$ac_link") 2>conftest.er1
11822 grep -v '^ *+' conftest.er1
>conftest.err
11824 cat conftest.err
>&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); } && {
11827 test -z "$ac_c_werror_flag" ||
11828 test ! -s conftest.err
11829 } && test -s conftest
$ac_exeext &&
11830 $as_test_x conftest
$ac_exeext; then
11833 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'` ;;
11834 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.
$ac_ext >&5
11843 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11844 conftest
$ac_exeext conftest.
$ac_ext
11845 LIBS
=$ac_check_soname_save_LIBS
11847 if test "x$ac_cv_lib_soname_curses" = "x"; then
11848 { echo "$as_me:$LINENO: result: not found" >&5
11849 echo "${ECHO_T}not found" >&6; }
11852 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11853 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11855 cat >>confdefs.h
<<_ACEOF
11856 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11859 CURSESLIBS
="-lcurses"
11863 ac_save_LIBS
="$LIBS"
11864 LIBS
="$LIBS $CURSESLIBS"
11866 for ac_func
in mousemask
11868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11869 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11871 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11874 cat >conftest.
$ac_ext <<_ACEOF
11877 cat confdefs.h
>>conftest.
$ac_ext
11878 cat >>conftest.
$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11882 #define $ac_func innocuous_$ac_func
11884 /* System header to define __stub macros and hopefully few prototypes,
11885 which can conflict with char $ac_func (); below.
11886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11887 <limits.h> exists even on freestanding compilers. */
11890 # include <limits.h>
11892 # include <assert.h>
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11904 /* The GNU C library defines this for functions which it implements
11905 to always fail with ENOSYS. Some functions are actually named
11906 something starting with __ and the normal name is an alias. */
11907 #if defined __stub_$ac_func || defined __stub___$ac_func
11914 return $ac_func ();
11919 rm -f conftest.
$ac_objext conftest
$ac_exeext
11920 if { (ac_try
="$ac_link"
11921 case "(($ac_try" in
11922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11923 *) ac_try_echo=$ac_try;;
11925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11926 (eval "$ac_link") 2>conftest.er1
11928 grep -v '^ *+' conftest.er1 >conftest.err
11930 cat conftest.err >&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } && {
11933 test -z "$ac_c_werror_flag" ||
11934 test ! -s conftest.err
11935 } && test -s conftest$ac_exeext &&
11936 $as_test_x conftest$ac_exeext; then
11937 eval "$as_ac_var=yes"
11939 echo "$as_me: failed program was:" >&5
11940 sed 's/^/| /' conftest.$ac_ext >&5
11942 eval "$as_ac_var=no"
11945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11946 conftest$ac_exeext conftest.$ac_ext
11948 ac_res=`eval echo '${'$as_ac_var'}'`
11949 { echo "$as_me:$LINENO: result: $ac_res" >&5
11950 echo "${ECHO_T}$ac_res" >&6; }
11951 if test `eval echo '${'$as_ac_var'}'` = yes; then
11952 cat >>confdefs.h <<_ACEOF
11953 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11959 LIBS="$ac_save_LIBS"
11960 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11961 wine_notices="$wine_notices|lib(n)curses development files not found.
11962 Wine will be built without (n)curses support. (wineconsole.exe)"
11966 # Extract the first word of "sane-config", so it can be a program name with args.
11967 set dummy sane-config; ac_word=$2
11968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11970 if test "${ac_cv_prog_sane_devel+set}" = set; then
11971 echo $ECHO_N "(cached) $ECHO_C" >&6
11973 if test -n "$sane_devel"; then
11974 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11977 for as_dir in $PATH
11980 test -z "$as_dir" && as_dir=.
11981 for ac_exec_ext in '' $ac_executable_extensions; do
11982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11983 ac_cv_prog_sane_devel="sane-config"
11984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11991 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11994 sane_devel=$ac_cv_prog_sane_devel
11995 if test -n "$sane_devel"; then
11996 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11997 echo "${ECHO_T}$sane_devel" >&6; }
11999 { echo "$as_me:$LINENO: result: no" >&5
12000 echo "${ECHO_T}no" >&6; }
12004 if test "$sane_devel" != "no"
12006 ac_sane_incl="`$sane_devel --cflags`"
12007 ac_save_CPPFLAGS="$CPPFLAGS"
12008 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12009 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12010 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12011 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12012 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12013 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12016 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12018 # Is the header compilable?
12019 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12020 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12021 cat >conftest.$ac_ext <<_ACEOF
12024 cat confdefs.h >>conftest.$ac_ext
12025 cat >>conftest.$ac_ext <<_ACEOF
12026 /* end confdefs.h. */
12027 $ac_includes_default
12028 #include <sane/sane.h>
12030 rm -f conftest.$ac_objext
12031 if { (ac_try="$ac_compile"
12032 case "(($ac_try" in
12033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12034 *) ac_try_echo
=$ac_try;;
12036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12037 (eval "$ac_compile") 2>conftest.er1
12039 grep -v '^ *+' conftest.er1
>conftest.err
12041 cat conftest.err
>&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } && {
12044 test -z "$ac_c_werror_flag" ||
12045 test ! -s conftest.err
12046 } && test -s conftest.
$ac_objext; then
12047 ac_header_compiler
=yes
12049 echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.
$ac_ext >&5
12052 ac_header_compiler
=no
12055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12056 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12057 echo "${ECHO_T}$ac_header_compiler" >&6; }
12059 # Is the header present?
12060 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12061 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12062 cat >conftest.
$ac_ext <<_ACEOF
12065 cat confdefs.h
>>conftest.
$ac_ext
12066 cat >>conftest.
$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12068 #include <sane/sane.h>
12070 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12071 case "(($ac_try" in
12072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12073 *) ac_try_echo=$ac_try;;
12075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12078 grep -v '^ *+' conftest.er1 >conftest.err
12080 cat conftest.err >&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); } >/dev/null && {
12083 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12084 test ! -s conftest.err
12086 ac_header_preproc=yes
12088 echo "$as_me: failed program was:" >&5
12089 sed 's/^/| /' conftest.$ac_ext >&5
12091 ac_header_preproc=no
12094 rm -f conftest.err conftest.$ac_ext
12095 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12096 echo "${ECHO_T}$ac_header_preproc" >&6; }
12098 # So? What about this header?
12099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12101 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12102 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12103 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12104 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12105 ac_header_preproc=yes
12108 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12109 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12110 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12111 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12112 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12113 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12114 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12115 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12116 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12117 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12118 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12119 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12121 ## ------------------------------------ ##
12122 ## Report this to wine-devel@winehq.org ##
12123 ## ------------------------------------ ##
12125 ) | sed "s/^/$as_me: WARNING: /" >&2
12128 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12129 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12130 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12131 echo $ECHO_N "(cached) $ECHO_C" >&6
12133 ac_cv_header_sane_sane_h=$ac_header_preproc
12135 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12136 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12139 if test $ac_cv_header_sane_sane_h = yes; then
12140 { echo "$as_me:$LINENO: checking for -lsane" >&5
12141 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12142 if test "${ac_cv_lib_soname_sane+set}" = set; then
12143 echo $ECHO_N "(cached) $ECHO_C" >&6
12145 ac_check_soname_save_LIBS=$LIBS
12146 LIBS="-lsane $LIBS"
12147 cat >conftest.$ac_ext <<_ACEOF
12150 cat confdefs.h >>conftest.$ac_ext
12151 cat >>conftest.$ac_ext <<_ACEOF
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12164 return sane_init ();
12169 rm -f conftest.$ac_objext conftest$ac_exeext
12170 if { (ac_try="$ac_link"
12171 case "(($ac_try" in
12172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12173 *) ac_try_echo
=$ac_try;;
12175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12176 (eval "$ac_link") 2>conftest.er1
12178 grep -v '^ *+' conftest.er1
>conftest.err
12180 cat conftest.err
>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); } && {
12183 test -z "$ac_c_werror_flag" ||
12184 test ! -s conftest.err
12185 } && test -s conftest
$ac_exeext &&
12186 $as_test_x conftest
$ac_exeext; then
12189 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'` ;;
12190 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12193 echo "$as_me: failed program was:" >&5
12194 sed 's/^/| /' conftest.
$ac_ext >&5
12199 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12200 conftest
$ac_exeext conftest.
$ac_ext
12201 LIBS
=$ac_check_soname_save_LIBS
12203 if test "x$ac_cv_lib_soname_sane" = "x"; then
12204 { echo "$as_me:$LINENO: result: not found" >&5
12205 echo "${ECHO_T}not found" >&6; }
12208 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12209 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12211 cat >>confdefs.h
<<_ACEOF
12212 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12215 SANEINCL
="$ac_sane_incl"
12222 CPPFLAGS
="$ac_save_CPPFLAGS"
12224 if test "x$ac_cv_lib_soname_sane" = "x"; then
12225 wine_notices
="$wine_notices|libsane development files not found.
12226 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12230 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12231 set dummy gphoto2-config
; ac_word
=$2
12232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12234 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 if test -n "$gphoto2_devel"; then
12238 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12241 for as_dir
in $PATH
12244 test -z "$as_dir" && as_dir
=.
12245 for ac_exec_ext
in '' $ac_executable_extensions; do
12246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12247 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12255 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12258 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12259 if test -n "$gphoto2_devel"; then
12260 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12261 echo "${ECHO_T}$gphoto2_devel" >&6; }
12263 { echo "$as_me:$LINENO: result: no" >&5
12264 echo "${ECHO_T}no" >&6; }
12268 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12269 set dummy gphoto2-port-config
; ac_word
=$2
12270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12272 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 if test -n "$gphoto2port_devel"; then
12276 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12279 for as_dir
in $PATH
12282 test -z "$as_dir" && as_dir
=.
12283 for ac_exec_ext
in '' $ac_executable_extensions; do
12284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12285 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12293 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12296 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12297 if test -n "$gphoto2port_devel"; then
12298 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12299 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12301 { echo "$as_me:$LINENO: result: no" >&5
12302 echo "${ECHO_T}no" >&6; }
12306 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12308 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12310 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12313 -L/usr
/lib|
-L/usr
/lib64
) ;;
12314 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
12317 ac_save_CPPFLAGS
="$CPPFLAGS"
12318 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
12319 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12320 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12321 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12322 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12326 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12328 # Is the header compilable?
12329 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12330 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12331 cat >conftest.
$ac_ext <<_ACEOF
12334 cat confdefs.h
>>conftest.
$ac_ext
12335 cat >>conftest.
$ac_ext <<_ACEOF
12336 /* end confdefs.h. */
12337 $ac_includes_default
12338 #include <gphoto2-camera.h>
12340 rm -f conftest.
$ac_objext
12341 if { (ac_try
="$ac_compile"
12342 case "(($ac_try" in
12343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12344 *) ac_try_echo=$ac_try;;
12346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12347 (eval "$ac_compile") 2>conftest.er1
12349 grep -v '^ *+' conftest.er1 >conftest.err
12351 cat conftest.err >&5
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); } && {
12354 test -z "$ac_c_werror_flag" ||
12355 test ! -s conftest.err
12356 } && test -s conftest.$ac_objext; then
12357 ac_header_compiler=yes
12359 echo "$as_me: failed program was:" >&5
12360 sed 's/^/| /' conftest.$ac_ext >&5
12362 ac_header_compiler=no
12365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12366 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12367 echo "${ECHO_T}$ac_header_compiler" >&6; }
12369 # Is the header present?
12370 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12371 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12372 cat >conftest.$ac_ext <<_ACEOF
12375 cat confdefs.h >>conftest.$ac_ext
12376 cat >>conftest.$ac_ext <<_ACEOF
12377 /* end confdefs.h. */
12378 #include <gphoto2-camera.h>
12380 if { (ac_try="$ac_cpp conftest.$ac_ext"
12381 case "(($ac_try" in
12382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12383 *) ac_try_echo
=$ac_try;;
12385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12386 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12388 grep -v '^ *+' conftest.er1
>conftest.err
12390 cat conftest.err
>&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); } >/dev
/null
&& {
12393 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12394 test ! -s conftest.err
12396 ac_header_preproc
=yes
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.
$ac_ext >&5
12401 ac_header_preproc
=no
12404 rm -f conftest.err conftest.
$ac_ext
12405 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12406 echo "${ECHO_T}$ac_header_preproc" >&6; }
12408 # So? What about this header?
12409 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12411 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12412 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12414 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12415 ac_header_preproc
=yes
12418 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12419 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12420 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12421 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12422 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12423 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12424 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12425 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12426 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12427 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12428 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12429 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12431 ## ------------------------------------ ##
12432 ## Report this to wine-devel@winehq.org ##
12433 ## ------------------------------------ ##
12435 ) |
sed "s/^/$as_me: WARNING: /" >&2
12438 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12439 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12440 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12445 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12446 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12449 if test $ac_cv_header_gphoto2_camera_h = yes; then
12450 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12451 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12452 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 ac_check_lib_save_LIBS
=$LIBS
12456 LIBS
="-lgphoto2 $GPHOTO2LIBS $LIBS"
12457 cat >conftest.
$ac_ext <<_ACEOF
12460 cat confdefs.h
>>conftest.
$ac_ext
12461 cat >>conftest.
$ac_ext <<_ACEOF
12462 /* end confdefs.h. */
12464 /* Override any GCC internal prototype to avoid an error.
12465 Use char because int might match the return type of a GCC
12466 builtin and then its argument prototype would still apply. */
12470 char gp_camera_new ();
12474 return gp_camera_new ();
12479 rm -f conftest.
$ac_objext conftest
$ac_exeext
12480 if { (ac_try
="$ac_link"
12481 case "(($ac_try" in
12482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12483 *) ac_try_echo=$ac_try;;
12485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12486 (eval "$ac_link") 2>conftest.er1
12488 grep -v '^ *+' conftest.er1 >conftest.err
12490 cat conftest.err >&5
12491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12492 (exit $ac_status); } && {
12493 test -z "$ac_c_werror_flag" ||
12494 test ! -s conftest.err
12495 } && test -s conftest$ac_exeext &&
12496 $as_test_x conftest$ac_exeext; then
12497 ac_cv_lib_gphoto2_gp_camera_new=yes
12499 echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12502 ac_cv_lib_gphoto2_gp_camera_new=no
12505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12506 conftest$ac_exeext conftest.$ac_ext
12507 LIBS=$ac_check_lib_save_LIBS
12509 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12510 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12511 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12513 cat >>confdefs.h <<\_ACEOF
12514 #define HAVE_GPHOTO2 1
12517 GPHOTO2LIBS="$ac_gphoto2_libs"
12519 GPHOTO2INCL="$ac_gphoto2_incl"
12526 CPPFLAGS="$ac_save_CPPFLAGS"
12528 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12529 wine_notices="$wine_notices|libgphoto2 development files not found.
12530 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12535 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12538 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12539 if test -n "$ICU_LIB_DIR"
12541 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12543 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12544 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12545 LIBS="$saved_libs $icu_libs"
12546 if test "$cross_compiling" = yes; then
12547 { echo "$as_me:$LINENO: result: no" >&5
12548 echo "${ECHO_T}no" >&6; }
12550 cat >conftest.$ac_ext <<_ACEOF
12553 cat confdefs.h >>conftest.$ac_ext
12554 cat >>conftest.$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12556 #include <unicode/ubidi.h>
12565 rm -f conftest$ac_exeext
12566 if { (ac_try="$ac_link"
12567 case "(($ac_try" in
12568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12569 *) ac_try_echo
=$ac_try;;
12571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12572 (eval "$ac_link") 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12576 { (case "(($ac_try" in
12577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12578 *) ac_try_echo=$ac_try;;
12580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12581 (eval "$ac_try") 2>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); }; }; then
12586 cat >>confdefs.h <<\_ACEOF
12590 ICULIBS="$icu_libs"
12592 { echo "$as_me:$LINENO: result: yes" >&5
12593 echo "${ECHO_T}yes" >&6; }
12595 echo "$as_me: program exited with status $ac_status" >&5
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12599 ( exit $ac_status )
12600 { echo "$as_me:$LINENO: result: no" >&5
12601 echo "${ECHO_T}no" >&6; }
12603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12609 if test "x$ICULIBS" = "x"; then
12610 wine_notices="$wine_notices|libicu development files not found.
12611 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12617 if test "$ac_cv_header_resolv_h" = "yes"
12619 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12620 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12621 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 ac_check_lib_save_LIBS=$LIBS
12625 LIBS="-lresolv $LIBS"
12626 cat >conftest.$ac_ext <<_ACEOF
12629 cat confdefs.h >>conftest.$ac_ext
12630 cat >>conftest.$ac_ext <<_ACEOF
12631 /* end confdefs.h. */
12633 /* Override any GCC internal prototype to avoid an error.
12634 Use char because int might match the return type of a GCC
12635 builtin and then its argument prototype would still apply. */
12643 return res_query ();
12648 rm -f conftest.$ac_objext conftest$ac_exeext
12649 if { (ac_try="$ac_link"
12650 case "(($ac_try" in
12651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12652 *) ac_try_echo
=$ac_try;;
12654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12655 (eval "$ac_link") 2>conftest.er1
12657 grep -v '^ *+' conftest.er1
>conftest.err
12659 cat conftest.err
>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); } && {
12662 test -z "$ac_c_werror_flag" ||
12663 test ! -s conftest.err
12664 } && test -s conftest
$ac_exeext &&
12665 $as_test_x conftest
$ac_exeext; then
12666 ac_cv_lib_resolv_res_query
=yes
12668 echo "$as_me: failed program was:" >&5
12669 sed 's/^/| /' conftest.
$ac_ext >&5
12671 ac_cv_lib_resolv_res_query
=no
12674 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12675 conftest
$ac_exeext conftest.
$ac_ext
12676 LIBS
=$ac_check_lib_save_LIBS
12678 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12679 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12680 if test $ac_cv_lib_resolv_res_query = yes; then
12682 cat >>confdefs.h
<<\_ACEOF
12683 #define HAVE_RESOLV 1
12686 RESOLVLIBS
="-lresolv"
12693 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12695 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12696 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12697 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12698 echo $ECHO_N "(cached) $ECHO_C" >&6
12700 ac_check_lib_save_LIBS
=$LIBS
12701 LIBS
="-llcms $LIBS"
12702 cat >conftest.
$ac_ext <<_ACEOF
12705 cat confdefs.h
>>conftest.
$ac_ext
12706 cat >>conftest.
$ac_ext <<_ACEOF
12707 /* end confdefs.h. */
12709 /* Override any GCC internal prototype to avoid an error.
12710 Use char because int might match the return type of a GCC
12711 builtin and then its argument prototype would still apply. */
12715 char cmsOpenProfileFromFile ();
12719 return cmsOpenProfileFromFile ();
12724 rm -f conftest.
$ac_objext conftest
$ac_exeext
12725 if { (ac_try
="$ac_link"
12726 case "(($ac_try" in
12727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12728 *) ac_try_echo=$ac_try;;
12730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12731 (eval "$ac_link") 2>conftest.er1
12733 grep -v '^ *+' conftest.er1 >conftest.err
12735 cat conftest.err >&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } && {
12738 test -z "$ac_c_werror_flag" ||
12739 test ! -s conftest.err
12740 } && test -s conftest$ac_exeext &&
12741 $as_test_x conftest$ac_exeext; then
12742 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12744 echo "$as_me: failed program was:" >&5
12745 sed 's/^/| /' conftest.$ac_ext >&5
12747 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12751 conftest$ac_exeext conftest.$ac_ext
12752 LIBS=$ac_check_lib_save_LIBS
12754 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12755 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12756 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12758 cat >>confdefs.h <<\_ACEOF
12759 #define HAVE_LCMS 1
12766 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12767 wine_notices="$wine_notices|liblcms development files not found.
12768 Wine will be built without Color Management support. (mscms.dll)"
12774 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12776 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12777 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12778 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12779 echo $ECHO_N "(cached) $ECHO_C" >&6
12781 ac_check_lib_save_LIBS=$LIBS
12782 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12783 cat >conftest.$ac_ext <<_ACEOF
12786 cat confdefs.h >>conftest.$ac_ext
12787 cat >>conftest.$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12790 /* Override any GCC internal prototype to avoid an error.
12791 Use char because int might match the return type of a GCC
12792 builtin and then its argument prototype would still apply. */
12796 char ldap_initialize ();
12800 return ldap_initialize ();
12805 rm -f conftest.$ac_objext conftest$ac_exeext
12806 if { (ac_try="$ac_link"
12807 case "(($ac_try" in
12808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12809 *) ac_try_echo
=$ac_try;;
12811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12812 (eval "$ac_link") 2>conftest.er1
12814 grep -v '^ *+' conftest.er1
>conftest.err
12816 cat conftest.err
>&5
12817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818 (exit $ac_status); } && {
12819 test -z "$ac_c_werror_flag" ||
12820 test ! -s conftest.err
12821 } && test -s conftest
$ac_exeext &&
12822 $as_test_x conftest
$ac_exeext; then
12823 ac_cv_lib_ldap_r_ldap_initialize
=yes
12825 echo "$as_me: failed program was:" >&5
12826 sed 's/^/| /' conftest.
$ac_ext >&5
12828 ac_cv_lib_ldap_r_ldap_initialize
=no
12831 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12832 conftest
$ac_exeext conftest.
$ac_ext
12833 LIBS
=$ac_check_lib_save_LIBS
12835 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12836 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12837 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12838 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12839 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12840 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12841 echo $ECHO_N "(cached) $ECHO_C" >&6
12843 ac_check_lib_save_LIBS
=$LIBS
12844 LIBS
="-llber $LIBPTHREAD $LIBS"
12845 cat >conftest.
$ac_ext <<_ACEOF
12848 cat confdefs.h
>>conftest.
$ac_ext
12849 cat >>conftest.
$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12862 return ber_init ();
12867 rm -f conftest.
$ac_objext conftest
$ac_exeext
12868 if { (ac_try
="$ac_link"
12869 case "(($ac_try" in
12870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12871 *) ac_try_echo=$ac_try;;
12873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12874 (eval "$ac_link") 2>conftest.er1
12876 grep -v '^ *+' conftest.er1 >conftest.err
12878 cat conftest.err >&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); } && {
12881 test -z "$ac_c_werror_flag" ||
12882 test ! -s conftest.err
12883 } && test -s conftest$ac_exeext &&
12884 $as_test_x conftest$ac_exeext; then
12885 ac_cv_lib_lber_ber_init=yes
12887 echo "$as_me: failed program was:" >&5
12888 sed 's/^/| /' conftest.$ac_ext >&5
12890 ac_cv_lib_lber_ber_init=no
12893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12894 conftest$ac_exeext conftest.$ac_ext
12895 LIBS=$ac_check_lib_save_LIBS
12897 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12898 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12899 if test $ac_cv_lib_lber_ber_init = yes; then
12901 cat >>confdefs.h <<\_ACEOF
12902 #define HAVE_LDAP 1
12905 LDAPLIBS="-lldap_r -llber"
12910 ac_wine_check_funcs_save_LIBS="$LIBS"
12911 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12917 ldap_count_references \
12918 ldap_first_reference \
12919 ldap_next_reference \
12920 ldap_parse_reference
12922 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12926 echo $ECHO_N "(cached) $ECHO_C" >&6
12928 cat >conftest.$ac_ext <<_ACEOF
12931 cat confdefs.h >>conftest.$ac_ext
12932 cat >>conftest.$ac_ext <<_ACEOF
12933 /* end confdefs.h. */
12934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12936 #define $ac_func innocuous_$ac_func
12938 /* System header to define __stub macros and hopefully few prototypes,
12939 which can conflict with char $ac_func (); below.
12940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12941 <limits.h> exists even on freestanding compilers. */
12944 # include <limits.h>
12946 # include <assert.h>
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12958 /* The GNU C library defines this for functions which it implements
12959 to always fail with ENOSYS. Some functions are actually named
12960 something starting with __ and the normal name is an alias. */
12961 #if defined __stub_$ac_func || defined __stub___$ac_func
12968 return $ac_func ();
12973 rm -f conftest.$ac_objext conftest$ac_exeext
12974 if { (ac_try="$ac_link"
12975 case "(($ac_try" in
12976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12977 *) ac_try_echo
=$ac_try;;
12979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12980 (eval "$ac_link") 2>conftest.er1
12982 grep -v '^ *+' conftest.er1
>conftest.err
12984 cat conftest.err
>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } && {
12987 test -z "$ac_c_werror_flag" ||
12988 test ! -s conftest.err
12989 } && test -s conftest
$ac_exeext &&
12990 $as_test_x conftest
$ac_exeext; then
12991 eval "$as_ac_var=yes"
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.
$ac_ext >&5
12996 eval "$as_ac_var=no"
12999 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13000 conftest
$ac_exeext conftest.
$ac_ext
13002 ac_res
=`eval echo '${'$as_ac_var'}'`
13003 { echo "$as_me:$LINENO: result: $ac_res" >&5
13004 echo "${ECHO_T}$ac_res" >&6; }
13005 if test `eval echo '${'$as_ac_var'}'` = yes; then
13006 cat >>confdefs.h
<<_ACEOF
13007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13013 LIBS
="$ac_wine_check_funcs_save_LIBS"
13015 if test "x$LDAPLIBS" = "x"; then
13016 wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found.
13017 Wine will be built without LDAP support. (wldap32.dll)"
13021 for ac_prog
in freetype-config freetype2-config
13023 # Extract the first word of "$ac_prog", so it can be a program name with args.
13024 set dummy
$ac_prog; ac_word
=$2
13025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13027 if test "${ac_cv_prog_ft_devel+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 if test -n "$ft_devel"; then
13031 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13034 for as_dir
in $PATH
13037 test -z "$as_dir" && as_dir
=.
13038 for ac_exec_ext
in '' $ac_executable_extensions; do
13039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_ft_devel
="$ac_prog"
13041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13050 ft_devel
=$ac_cv_prog_ft_devel
13051 if test -n "$ft_devel"; then
13052 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13053 echo "${ECHO_T}$ft_devel" >&6; }
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13060 test -n "$ft_devel" && break
13062 test -n "$ft_devel" || ft_devel
="false"
13064 if test "$ft_devel" != "false"
13066 ac_freetype_libs
=`$ft_devel --libs`
13067 ac_freetype_incl
=`$ft_devel --cflags`
13068 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13069 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13070 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 ac_check_soname_save_LIBS
=$LIBS
13074 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13075 cat >conftest.
$ac_ext <<_ACEOF
13078 cat confdefs.h
>>conftest.
$ac_ext
13079 cat >>conftest.
$ac_ext <<_ACEOF
13080 /* end confdefs.h. */
13082 /* Override any GCC internal prototype to avoid an error.
13083 Use char because int might match the return type of a GCC
13084 builtin and then its argument prototype would still apply. */
13088 char FT_Init_FreeType ();
13092 return FT_Init_FreeType ();
13097 rm -f conftest.
$ac_objext conftest
$ac_exeext
13098 if { (ac_try
="$ac_link"
13099 case "(($ac_try" in
13100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_link") 2>conftest.er1
13106 grep -v '^ *+' conftest.er1 >conftest.err
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } && {
13111 test -z "$ac_c_werror_flag" ||
13112 test ! -s conftest.err
13113 } && test -s conftest$ac_exeext &&
13114 $as_test_x conftest$ac_exeext; then
13117 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'` ;;
13118 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13121 echo "$as_me: failed program was:" >&5
13122 sed 's/^/| /' conftest.$ac_ext >&5
13127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13128 conftest$ac_exeext conftest.$ac_ext
13129 LIBS=$ac_check_soname_save_LIBS
13131 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13132 { echo "$as_me:$LINENO: result: not found" >&5
13133 echo "${ECHO_T}not found" >&6; }
13136 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13137 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13139 cat >>confdefs.h <<_ACEOF
13140 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13146 if test "$ft_lib" = "yes"
13148 ac_save_CPPFLAGS="$CPPFLAGS"
13149 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13161 for ac_header in ft2build.h \
13162 freetype/freetype.h \
13163 freetype/ftglyph.h \
13164 freetype/tttables.h \
13165 freetype/ftnames.h \
13166 freetype/ftsnames.h \
13167 freetype/ttnameid.h \
13168 freetype/ftoutln.h \
13169 freetype/ftwinfnt.h \
13170 freetype/ftmodapi.h \
13171 freetype/internal/sfnt.h
13173 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13177 echo $ECHO_N "(cached) $ECHO_C" >&6
13179 cat >conftest.$ac_ext <<_ACEOF
13182 cat confdefs.h >>conftest.$ac_ext
13183 cat >>conftest.$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 #if HAVE_FT2BUILD_H
13186 #include <ft2build.h>
13189 #include <$ac_header>
13191 rm -f conftest.$ac_objext
13192 if { (ac_try="$ac_compile"
13193 case "(($ac_try" in
13194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13195 *) ac_try_echo
=$ac_try;;
13197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13198 (eval "$ac_compile") 2>conftest.er1
13200 grep -v '^ *+' conftest.er1
>conftest.err
13202 cat conftest.err
>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } && {
13205 test -z "$ac_c_werror_flag" ||
13206 test ! -s conftest.err
13207 } && test -s conftest.
$ac_objext; then
13208 eval "$as_ac_Header=yes"
13210 echo "$as_me: failed program was:" >&5
13211 sed 's/^/| /' conftest.
$ac_ext >&5
13213 eval "$as_ac_Header=no"
13216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13218 ac_res
=`eval echo '${'$as_ac_Header'}'`
13219 { echo "$as_me:$LINENO: result: $ac_res" >&5
13220 echo "${ECHO_T}$ac_res" >&6; }
13221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13222 cat >>confdefs.h
<<_ACEOF
13223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13230 cat >conftest.
$ac_ext <<_ACEOF
13233 cat confdefs.h
>>conftest.
$ac_ext
13234 cat >>conftest.
$ac_ext <<_ACEOF
13235 /* end confdefs.h. */
13236 #include <ft2build.h>
13237 #include <freetype/fttrigon.h>
13239 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13240 case "(($ac_try" in
13241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13242 *) ac_try_echo=$ac_try;;
13244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13247 grep -v '^ *+' conftest.er1 >conftest.err
13249 cat conftest.err >&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); } >/dev/null && {
13252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13253 test ! -s conftest.err
13256 cat >>confdefs.h <<\_ACEOF
13257 #define HAVE_FREETYPE_FTTRIGON_H 1
13260 wine_cv_fttrigon=yes
13262 echo "$as_me: failed program was:" >&5
13263 sed 's/^/| /' conftest.$ac_ext >&5
13265 wine_cv_fttrigon=no
13268 rm -f conftest.err conftest.$ac_ext
13269 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13270 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13271 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13272 echo $ECHO_N "(cached) $ECHO_C" >&6
13274 cat >conftest.$ac_ext <<_ACEOF
13277 cat confdefs.h >>conftest.$ac_ext
13278 cat >>conftest.$ac_ext <<_ACEOF
13279 /* end confdefs.h. */
13280 #include <freetype/ftmodapi.h>
13282 typedef FT_TrueTypeEngineType ac__type_new_;
13286 if ((ac__type_new_ *) 0)
13288 if (sizeof (ac__type_new_))
13294 rm -f conftest.$ac_objext
13295 if { (ac_try="$ac_compile"
13296 case "(($ac_try" in
13297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13298 *) ac_try_echo
=$ac_try;;
13300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13301 (eval "$ac_compile") 2>conftest.er1
13303 grep -v '^ *+' conftest.er1
>conftest.err
13305 cat conftest.err
>&5
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); } && {
13308 test -z "$ac_c_werror_flag" ||
13309 test ! -s conftest.err
13310 } && test -s conftest.
$ac_objext; then
13311 ac_cv_type_FT_TrueTypeEngineType
=yes
13313 echo "$as_me: failed program was:" >&5
13314 sed 's/^/| /' conftest.
$ac_ext >&5
13316 ac_cv_type_FT_TrueTypeEngineType
=no
13319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13321 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13322 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13323 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13325 cat >>confdefs.h
<<_ACEOF
13326 #define HAVE_FT_TRUETYPEENGINETYPE 1
13332 ac_save_CFLAGS
="$CFLAGS"
13333 CFLAGS
="$CFLAGS $ac_freetype_libs"
13335 for ac_func
in FT_Load_Sfnt_Table
13337 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13340 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13343 cat >conftest.
$ac_ext <<_ACEOF
13346 cat confdefs.h
>>conftest.
$ac_ext
13347 cat >>conftest.
$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13351 #define $ac_func innocuous_$ac_func
13353 /* System header to define __stub macros and hopefully few prototypes,
13354 which can conflict with char $ac_func (); below.
13355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13356 <limits.h> exists even on freestanding compilers. */
13359 # include <limits.h>
13361 # include <assert.h>
13366 /* Override any GCC internal prototype to avoid an error.
13367 Use char because int might match the return type of a GCC
13368 builtin and then its argument prototype would still apply. */
13373 /* The GNU C library defines this for functions which it implements
13374 to always fail with ENOSYS. Some functions are actually named
13375 something starting with __ and the normal name is an alias. */
13376 #if defined __stub_$ac_func || defined __stub___$ac_func
13383 return $ac_func ();
13388 rm -f conftest.
$ac_objext conftest
$ac_exeext
13389 if { (ac_try
="$ac_link"
13390 case "(($ac_try" in
13391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13392 *) ac_try_echo=$ac_try;;
13394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13395 (eval "$ac_link") 2>conftest.er1
13397 grep -v '^ *+' conftest.er1 >conftest.err
13399 cat conftest.err >&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); } && {
13402 test -z "$ac_c_werror_flag" ||
13403 test ! -s conftest.err
13404 } && test -s conftest$ac_exeext &&
13405 $as_test_x conftest$ac_exeext; then
13406 eval "$as_ac_var=yes"
13408 echo "$as_me: failed program was:" >&5
13409 sed 's/^/| /' conftest.$ac_ext >&5
13411 eval "$as_ac_var=no"
13414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13415 conftest$ac_exeext conftest.$ac_ext
13417 ac_res=`eval echo '${'$as_ac_var'}'`
13418 { echo "$as_me:$LINENO: result: $ac_res" >&5
13419 echo "${ECHO_T}$ac_res" >&6; }
13420 if test `eval echo '${'$as_ac_var'}'` = yes; then
13421 cat >>confdefs.h <<_ACEOF
13422 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13428 CFLAGS="$ac_save_CFLAGS"
13429 CPPFLAGS="$ac_save_CPPFLAGS"
13430 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13433 cat >>confdefs.h <<\_ACEOF
13434 #define HAVE_FREETYPE 1
13437 FREETYPELIBS="$ac_freetype_libs"
13439 FREETYPEINCL="$ac_freetype_incl"
13445 if test "$FONTFORGE" = "false"
13447 wine_warnings="$wine_warnings|FontForge is missing.
13448 Fonts will not be built. Dialog text may be invisible or unaligned."
13449 elif test "x$FREETYPELIBS" = "x"
13451 wine_warnings="$wine_warnings|FreeType development files not found.
13452 Fonts will not be built. Dialog text may be invisible or unaligned."
13454 FONTSSUBDIRS="fonts"
13458 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13459 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13460 if test "${ac_cv_c_ppdev+set}" = set; then
13461 echo $ECHO_N "(cached) $ECHO_C" >&6
13463 cat >conftest.$ac_ext <<_ACEOF
13466 cat confdefs.h >>conftest.$ac_ext
13467 cat >>conftest.$ac_ext <<_ACEOF
13468 /* end confdefs.h. */
13469 #include <linux/ppdev.h>
13473 ioctl (1,PPCLAIM,0)
13478 rm -f conftest.$ac_objext
13479 if { (ac_try="$ac_compile"
13480 case "(($ac_try" in
13481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13482 *) ac_try_echo
=$ac_try;;
13484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13485 (eval "$ac_compile") 2>conftest.er1
13487 grep -v '^ *+' conftest.er1
>conftest.err
13489 cat conftest.err
>&5
13490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13491 (exit $ac_status); } && {
13492 test -z "$ac_c_werror_flag" ||
13493 test ! -s conftest.err
13494 } && test -s conftest.
$ac_objext; then
13495 ac_cv_c_ppdev
="yes"
13497 echo "$as_me: failed program was:" >&5
13498 sed 's/^/| /' conftest.
$ac_ext >&5
13503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13505 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13506 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13507 if test "$ac_cv_c_ppdev" = "yes"
13510 cat >>confdefs.h
<<\_ACEOF
13511 #define HAVE_PPDEV 1
13516 { echo "$as_me:$LINENO: checking for va_copy" >&5
13517 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13518 if test "${ac_cv_c_va_copy+set}" = set; then
13519 echo $ECHO_N "(cached) $ECHO_C" >&6
13521 cat >conftest.
$ac_ext <<_ACEOF
13524 cat confdefs.h
>>conftest.
$ac_ext
13525 cat >>conftest.
$ac_ext <<_ACEOF
13526 /* end confdefs.h. */
13527 #include <stdarg.h>
13531 va_list ap1, ap2; va_copy(ap1,ap2);
13536 rm -f conftest.
$ac_objext conftest
$ac_exeext
13537 if { (ac_try
="$ac_link"
13538 case "(($ac_try" in
13539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13540 *) ac_try_echo=$ac_try;;
13542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13543 (eval "$ac_link") 2>conftest.er1
13545 grep -v '^ *+' conftest.er1 >conftest.err
13547 cat conftest.err >&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); } && {
13550 test -z "$ac_c_werror_flag" ||
13551 test ! -s conftest.err
13552 } && test -s conftest$ac_exeext &&
13553 $as_test_x conftest$ac_exeext; then
13554 ac_cv_c_va_copy="yes"
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.$ac_ext >&5
13559 ac_cv_c_va_copy="no"
13562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13563 conftest$ac_exeext conftest.$ac_ext
13566 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13567 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13568 if test "$ac_cv_c_va_copy" = "yes"
13571 cat >>confdefs.h <<\_ACEOF
13572 #define HAVE_VA_COPY 1
13576 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13577 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13578 if test "${ac_cv_c___va_copy+set}" = set; then
13579 echo $ECHO_N "(cached) $ECHO_C" >&6
13581 cat >conftest.$ac_ext <<_ACEOF
13584 cat confdefs.h >>conftest.$ac_ext
13585 cat >>conftest.$ac_ext <<_ACEOF
13586 /* end confdefs.h. */
13587 #include <stdarg.h>
13591 va_list ap1, ap2; __va_copy(ap1,ap2);
13596 rm -f conftest.$ac_objext conftest$ac_exeext
13597 if { (ac_try="$ac_link"
13598 case "(($ac_try" in
13599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13600 *) ac_try_echo
=$ac_try;;
13602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13603 (eval "$ac_link") 2>conftest.er1
13605 grep -v '^ *+' conftest.er1
>conftest.err
13607 cat conftest.err
>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } && {
13610 test -z "$ac_c_werror_flag" ||
13611 test ! -s conftest.err
13612 } && test -s conftest
$ac_exeext &&
13613 $as_test_x conftest
$ac_exeext; then
13614 ac_cv_c___va_copy
="yes"
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.
$ac_ext >&5
13619 ac_cv_c___va_copy
="no"
13622 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13623 conftest
$ac_exeext conftest.
$ac_ext
13626 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13627 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13628 if test "$ac_cv_c___va_copy" = "yes"
13631 cat >>confdefs.h
<<\_ACEOF
13632 #define HAVE___VA_COPY 1
13637 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13638 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13639 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13640 echo $ECHO_N "(cached) $ECHO_C" >&6
13642 cat >conftest.
$ac_ext <<_ACEOF
13645 cat confdefs.h
>>conftest.
$ac_ext
13646 cat >>conftest.
$ac_ext <<_ACEOF
13647 /* end confdefs.h. */
13648 #include <setjmp.h>
13653 sigsetjmp( buf, 1 );
13654 siglongjmp( buf, 1 );
13659 rm -f conftest.
$ac_objext conftest
$ac_exeext
13660 if { (ac_try
="$ac_link"
13661 case "(($ac_try" in
13662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13663 *) ac_try_echo=$ac_try;;
13665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13666 (eval "$ac_link") 2>conftest.er1
13668 grep -v '^ *+' conftest.er1 >conftest.err
13670 cat conftest.err >&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); } && {
13673 test -z "$ac_c_werror_flag" ||
13674 test ! -s conftest.err
13675 } && test -s conftest$ac_exeext &&
13676 $as_test_x conftest$ac_exeext; then
13677 ac_cv_c_sigsetjmp="yes"
13679 echo "$as_me: failed program was:" >&5
13680 sed 's/^/| /' conftest.$ac_ext >&5
13682 ac_cv_c_sigsetjmp="no"
13685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13686 conftest$ac_exeext conftest.$ac_ext
13689 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13690 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13691 if test "$ac_cv_c_sigsetjmp" = "yes"
13694 cat >>confdefs.h <<\_ACEOF
13695 #define HAVE_SIGSETJMP 1
13700 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13701 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13702 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13703 echo $ECHO_N "(cached) $ECHO_C" >&6
13705 cat >conftest.$ac_ext <<_ACEOF
13708 cat confdefs.h >>conftest.$ac_ext
13709 cat >>conftest.$ac_ext <<_ACEOF
13710 /* end confdefs.h. */
13711 #define _GNU_SOURCE
13712 #include <pthread.h>
13714 typedef pthread_rwlock_t ac__type_new_;
13718 if ((ac__type_new_ *) 0)
13720 if (sizeof (ac__type_new_))
13726 rm -f conftest.$ac_objext
13727 if { (ac_try="$ac_compile"
13728 case "(($ac_try" in
13729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13730 *) ac_try_echo
=$ac_try;;
13732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13733 (eval "$ac_compile") 2>conftest.er1
13735 grep -v '^ *+' conftest.er1
>conftest.err
13737 cat conftest.err
>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } && {
13740 test -z "$ac_c_werror_flag" ||
13741 test ! -s conftest.err
13742 } && test -s conftest.
$ac_objext; then
13743 ac_cv_type_pthread_rwlock_t
=yes
13745 echo "$as_me: failed program was:" >&5
13746 sed 's/^/| /' conftest.
$ac_ext >&5
13748 ac_cv_type_pthread_rwlock_t
=no
13751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13753 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13754 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13755 if test $ac_cv_type_pthread_rwlock_t = yes; then
13757 cat >>confdefs.h
<<_ACEOF
13758 #define HAVE_PTHREAD_RWLOCK_T 1
13763 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13764 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13765 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13766 echo $ECHO_N "(cached) $ECHO_C" >&6
13768 cat >conftest.
$ac_ext <<_ACEOF
13771 cat confdefs.h
>>conftest.
$ac_ext
13772 cat >>conftest.
$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13774 #define _GNU_SOURCE
13775 #include <pthread.h>
13777 typedef pthread_rwlockattr_t ac__type_new_;
13781 if ((ac__type_new_ *) 0)
13783 if (sizeof (ac__type_new_))
13789 rm -f conftest.
$ac_objext
13790 if { (ac_try
="$ac_compile"
13791 case "(($ac_try" in
13792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13793 *) ac_try_echo=$ac_try;;
13795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13796 (eval "$ac_compile") 2>conftest.er1
13798 grep -v '^ *+' conftest.er1 >conftest.err
13800 cat conftest.err >&5
13801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 (exit $ac_status); } && {
13803 test -z "$ac_c_werror_flag" ||
13804 test ! -s conftest.err
13805 } && test -s conftest.$ac_objext; then
13806 ac_cv_type_pthread_rwlockattr_t=yes
13808 echo "$as_me: failed program was:" >&5
13809 sed 's/^/| /' conftest.$ac_ext >&5
13811 ac_cv_type_pthread_rwlockattr_t=no
13814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13816 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13817 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13818 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13820 cat >>confdefs.h <<_ACEOF
13821 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13828 ac_wine_check_funcs_save_LIBS="$LIBS"
13829 LIBS="$LIBS $LIBPTHREAD"
13835 pthread_attr_get_np \
13836 pthread_getattr_np \
13837 pthread_get_stackaddr_np \
13838 pthread_get_stacksize_np
13840 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13844 echo $ECHO_N "(cached) $ECHO_C" >&6
13846 cat >conftest.$ac_ext <<_ACEOF
13849 cat confdefs.h >>conftest.$ac_ext
13850 cat >>conftest.$ac_ext <<_ACEOF
13851 /* end confdefs.h. */
13852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13854 #define $ac_func innocuous_$ac_func
13856 /* System header to define __stub macros and hopefully few prototypes,
13857 which can conflict with char $ac_func (); below.
13858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13859 <limits.h> exists even on freestanding compilers. */
13862 # include <limits.h>
13864 # include <assert.h>
13869 /* Override any GCC internal prototype to avoid an error.
13870 Use char because int might match the return type of a GCC
13871 builtin and then its argument prototype would still apply. */
13876 /* The GNU C library defines this for functions which it implements
13877 to always fail with ENOSYS. Some functions are actually named
13878 something starting with __ and the normal name is an alias. */
13879 #if defined __stub_$ac_func || defined __stub___$ac_func
13886 return $ac_func ();
13891 rm -f conftest.$ac_objext conftest$ac_exeext
13892 if { (ac_try="$ac_link"
13893 case "(($ac_try" in
13894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13895 *) ac_try_echo
=$ac_try;;
13897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13898 (eval "$ac_link") 2>conftest.er1
13900 grep -v '^ *+' conftest.er1
>conftest.err
13902 cat conftest.err
>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); } && {
13905 test -z "$ac_c_werror_flag" ||
13906 test ! -s conftest.err
13907 } && test -s conftest
$ac_exeext &&
13908 $as_test_x conftest
$ac_exeext; then
13909 eval "$as_ac_var=yes"
13911 echo "$as_me: failed program was:" >&5
13912 sed 's/^/| /' conftest.
$ac_ext >&5
13914 eval "$as_ac_var=no"
13917 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13918 conftest
$ac_exeext conftest.
$ac_ext
13920 ac_res
=`eval echo '${'$as_ac_var'}'`
13921 { echo "$as_me:$LINENO: result: $ac_res" >&5
13922 echo "${ECHO_T}$ac_res" >&6; }
13923 if test `eval echo '${'$as_ac_var'}'` = yes; then
13924 cat >>confdefs.h
<<_ACEOF
13925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13931 LIBS
="$ac_wine_check_funcs_save_LIBS"
13933 # Extract the first word of "esd-config", so it can be a program name with args.
13934 set dummy esd-config
; ac_word
=$2
13935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13937 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13938 echo $ECHO_N "(cached) $ECHO_C" >&6
13942 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
13945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13946 for as_dir
in $PATH
13949 test -z "$as_dir" && as_dir
=.
13950 for ac_exec_ext
in '' $ac_executable_extensions; do
13951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13952 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
13953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13963 ESDCONFIG
=$ac_cv_path_ESDCONFIG
13964 if test -n "$ESDCONFIG"; then
13965 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13966 echo "${ECHO_T}$ESDCONFIG" >&6; }
13968 { echo "$as_me:$LINENO: result: no" >&5
13969 echo "${ECHO_T}no" >&6; }
13973 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
13976 for i
in `$ESDCONFIG --cflags`
13979 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
13982 ESD_LIBS
=`$ESDCONFIG --libs`
13983 save_CFLAGS
="$CFLAGS"
13984 CFLAGS
="$CFLAGS $ESD_CFLAGS"
13985 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13986 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13987 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13988 echo $ECHO_N "(cached) $ECHO_C" >&6
13990 ac_check_lib_save_LIBS
=$LIBS
13992 cat >conftest.
$ac_ext <<_ACEOF
13995 cat confdefs.h
>>conftest.
$ac_ext
13996 cat >>conftest.
$ac_ext <<_ACEOF
13997 /* end confdefs.h. */
13999 /* Override any GCC internal prototype to avoid an error.
14000 Use char because int might match the return type of a GCC
14001 builtin and then its argument prototype would still apply. */
14005 char esd_open_sound ();
14009 return esd_open_sound ();
14014 rm -f conftest.
$ac_objext conftest
$ac_exeext
14015 if { (ac_try
="$ac_link"
14016 case "(($ac_try" in
14017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14018 *) ac_try_echo=$ac_try;;
14020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14021 (eval "$ac_link") 2>conftest.er1
14023 grep -v '^ *+' conftest.er1 >conftest.err
14025 cat conftest.err >&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } && {
14028 test -z "$ac_c_werror_flag" ||
14029 test ! -s conftest.err
14030 } && test -s conftest$ac_exeext &&
14031 $as_test_x conftest$ac_exeext; then
14032 ac_cv_lib_esd_esd_open_sound=yes
14034 echo "$as_me: failed program was:" >&5
14035 sed 's/^/| /' conftest.$ac_ext >&5
14037 ac_cv_lib_esd_esd_open_sound=no
14040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14041 conftest$ac_exeext conftest.$ac_ext
14042 LIBS=$ac_check_lib_save_LIBS
14044 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14045 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14046 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14049 ESDINCL=$ESD_CFLAGS
14052 cat >>confdefs.h <<\_ACEOF
14058 CFLAGS="$save_CFLAGS"
14063 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14065 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14066 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14067 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14068 echo $ECHO_N "(cached) $ECHO_C" >&6
14070 ac_check_lib_save_LIBS=$LIBS
14071 LIBS="-lasound $LIBS"
14072 cat >conftest.$ac_ext <<_ACEOF
14075 cat confdefs.h >>conftest.$ac_ext
14076 cat >>conftest.$ac_ext <<_ACEOF
14077 /* end confdefs.h. */
14079 /* Override any GCC internal prototype to avoid an error.
14080 Use char because int might match the return type of a GCC
14081 builtin and then its argument prototype would still apply. */
14085 char snd_pcm_hw_params_get_access ();
14089 return snd_pcm_hw_params_get_access ();
14094 rm -f conftest.$ac_objext conftest$ac_exeext
14095 if { (ac_try="$ac_link"
14096 case "(($ac_try" in
14097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14098 *) ac_try_echo
=$ac_try;;
14100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14101 (eval "$ac_link") 2>conftest.er1
14103 grep -v '^ *+' conftest.er1
>conftest.err
14105 cat conftest.err
>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); } && {
14108 test -z "$ac_c_werror_flag" ||
14109 test ! -s conftest.err
14110 } && test -s conftest
$ac_exeext &&
14111 $as_test_x conftest
$ac_exeext; then
14112 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.
$ac_ext >&5
14117 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14120 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14121 conftest
$ac_exeext conftest.
$ac_ext
14122 LIBS
=$ac_check_lib_save_LIBS
14124 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14125 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14126 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14127 cat >conftest.
$ac_ext <<_ACEOF
14130 cat confdefs.h
>>conftest.
$ac_ext
14131 cat >>conftest.
$ac_ext <<_ACEOF
14132 /* end confdefs.h. */
14133 #ifdef HAVE_ALSA_ASOUNDLIB_H
14134 #include <alsa/asoundlib.h>
14135 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14136 #include <sys/asoundlib.h>
14141 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14146 rm -f conftest.
$ac_objext
14147 if { (ac_try
="$ac_compile"
14148 case "(($ac_try" in
14149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14150 *) ac_try_echo=$ac_try;;
14152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14153 (eval "$ac_compile") 2>conftest.er1
14155 grep -v '^ *+' conftest.er1 >conftest.err
14157 cat conftest.err >&5
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); } && {
14160 test -z "$ac_c_werror_flag" ||
14161 test ! -s conftest.err
14162 } && test -s conftest.$ac_objext; then
14164 cat >>confdefs.h <<\_ACEOF
14165 #define HAVE_ALSA 1
14168 ALSALIBS="-lasound"
14170 echo "$as_me: failed program was:" >&5
14171 sed 's/^/| /' conftest.$ac_ext >&5
14176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14183 if test "$ac_cv_header_libaudioio_h" = "yes"
14185 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14186 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14187 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14188 echo $ECHO_N "(cached) $ECHO_C" >&6
14190 ac_check_lib_save_LIBS=$LIBS
14191 LIBS="-laudioio $LIBS"
14192 cat >conftest.$ac_ext <<_ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14199 /* Override any GCC internal prototype to avoid an error.
14200 Use char because int might match the return type of a GCC
14201 builtin and then its argument prototype would still apply. */
14205 char AudioIOGetVersion ();
14209 return AudioIOGetVersion ();
14214 rm -f conftest.$ac_objext conftest$ac_exeext
14215 if { (ac_try="$ac_link"
14216 case "(($ac_try" in
14217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14218 *) ac_try_echo
=$ac_try;;
14220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14221 (eval "$ac_link") 2>conftest.er1
14223 grep -v '^ *+' conftest.er1
>conftest.err
14225 cat conftest.err
>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); } && {
14228 test -z "$ac_c_werror_flag" ||
14229 test ! -s conftest.err
14230 } && test -s conftest
$ac_exeext &&
14231 $as_test_x conftest
$ac_exeext; then
14232 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14234 echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.
$ac_ext >&5
14237 ac_cv_lib_audioio_AudioIOGetVersion
=no
14240 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14241 conftest
$ac_exeext conftest.
$ac_ext
14242 LIBS
=$ac_check_lib_save_LIBS
14244 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14245 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14246 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14247 AUDIOIOLIBS
="-laudioio"
14249 cat >>confdefs.h
<<\_ACEOF
14250 #define HAVE_LIBAUDIOIO 1
14258 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14260 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14261 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14262 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14263 echo $ECHO_N "(cached) $ECHO_C" >&6
14265 ac_check_soname_save_LIBS
=$LIBS
14266 LIBS
="-lcapi20 $LIBS"
14267 cat >conftest.
$ac_ext <<_ACEOF
14270 cat confdefs.h
>>conftest.
$ac_ext
14271 cat >>conftest.
$ac_ext <<_ACEOF
14272 /* end confdefs.h. */
14274 /* Override any GCC internal prototype to avoid an error.
14275 Use char because int might match the return type of a GCC
14276 builtin and then its argument prototype would still apply. */
14280 char capi20_register ();
14284 return capi20_register ();
14289 rm -f conftest.
$ac_objext conftest
$ac_exeext
14290 if { (ac_try
="$ac_link"
14291 case "(($ac_try" in
14292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14293 *) ac_try_echo=$ac_try;;
14295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14296 (eval "$ac_link") 2>conftest.er1
14298 grep -v '^ *+' conftest.er1 >conftest.err
14300 cat conftest.err >&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); } && {
14303 test -z "$ac_c_werror_flag" ||
14304 test ! -s conftest.err
14305 } && test -s conftest$ac_exeext &&
14306 $as_test_x conftest$ac_exeext; then
14309 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'` ;;
14310 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.$ac_ext >&5
14319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14320 conftest$ac_exeext conftest.$ac_ext
14321 LIBS=$ac_check_soname_save_LIBS
14323 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14324 { echo "$as_me:$LINENO: result: not found" >&5
14325 echo "${ECHO_T}not found" >&6; }
14328 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14329 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14331 cat >>confdefs.h <<_ACEOF
14332 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14339 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14340 wine_notices="$wine_notices|libcapi20 development files not found.
14341 Wine will be built without ISDN support. (capi2032.dll)"
14345 if test "$ac_cv_header_cups_cups_h" = "yes"
14347 { echo "$as_me:$LINENO: checking for -lcups" >&5
14348 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14349 if test "${ac_cv_lib_soname_cups+set}" = set; then
14350 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 ac_check_soname_save_LIBS=$LIBS
14353 LIBS="-lcups $LIBS"
14354 cat >conftest.$ac_ext <<_ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14361 /* Override any GCC internal prototype to avoid an error.
14362 Use char because int might match the return type of a GCC
14363 builtin and then its argument prototype would still apply. */
14367 char cupsGetDefault ();
14371 return cupsGetDefault ();
14376 rm -f conftest.$ac_objext conftest$ac_exeext
14377 if { (ac_try="$ac_link"
14378 case "(($ac_try" in
14379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14380 *) ac_try_echo
=$ac_try;;
14382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14383 (eval "$ac_link") 2>conftest.er1
14385 grep -v '^ *+' conftest.er1
>conftest.err
14387 cat conftest.err
>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); } && {
14390 test -z "$ac_c_werror_flag" ||
14391 test ! -s conftest.err
14392 } && test -s conftest
$ac_exeext &&
14393 $as_test_x conftest
$ac_exeext; then
14396 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'` ;;
14397 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14400 echo "$as_me: failed program was:" >&5
14401 sed 's/^/| /' conftest.
$ac_ext >&5
14406 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14407 conftest
$ac_exeext conftest.
$ac_ext
14408 LIBS
=$ac_check_soname_save_LIBS
14410 if test "x$ac_cv_lib_soname_cups" = "x"; then
14411 { echo "$as_me:$LINENO: result: not found" >&5
14412 echo "${ECHO_T}not found" >&6; }
14415 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14416 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14418 cat >>confdefs.h
<<_ACEOF
14419 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14426 if test "x$ac_cv_lib_soname_cups" = "x"; then
14427 wine_notices
="$wine_notices|libcups development files not found.
14428 Wine will be built without CUPS support."
14432 if test "$ac_cv_header_jack_jack_h" = "yes"
14434 { echo "$as_me:$LINENO: checking for -ljack" >&5
14435 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14436 if test "${ac_cv_lib_soname_jack+set}" = set; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14439 ac_check_soname_save_LIBS
=$LIBS
14440 LIBS
="-ljack $LIBS"
14441 cat >conftest.
$ac_ext <<_ACEOF
14444 cat confdefs.h
>>conftest.
$ac_ext
14445 cat >>conftest.
$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14448 /* Override any GCC internal prototype to avoid an error.
14449 Use char because int might match the return type of a GCC
14450 builtin and then its argument prototype would still apply. */
14454 char jack_client_new ();
14458 return jack_client_new ();
14463 rm -f conftest.
$ac_objext conftest
$ac_exeext
14464 if { (ac_try
="$ac_link"
14465 case "(($ac_try" in
14466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14467 *) ac_try_echo=$ac_try;;
14469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14470 (eval "$ac_link") 2>conftest.er1
14472 grep -v '^ *+' conftest.er1 >conftest.err
14474 cat conftest.err >&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } && {
14477 test -z "$ac_c_werror_flag" ||
14478 test ! -s conftest.err
14479 } && test -s conftest$ac_exeext &&
14480 $as_test_x conftest$ac_exeext; then
14483 dylib) ac_cv_lib_soname_jack=`otool
-L conftest
$ac_exeext |
grep "libjack\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14484 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14487 echo "$as_me: failed program was:" >&5
14488 sed 's/^/| /' conftest.$ac_ext >&5
14493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14494 conftest$ac_exeext conftest.$ac_ext
14495 LIBS=$ac_check_soname_save_LIBS
14497 if test "x$ac_cv_lib_soname_jack" = "x"; then
14498 { echo "$as_me:$LINENO: result: not found" >&5
14499 echo "${ECHO_T}not found" >&6; }
14502 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14503 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14505 cat >>confdefs.h <<_ACEOF
14506 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14514 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14516 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14517 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14518 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14519 echo $ECHO_N "(cached) $ECHO_C" >&6
14521 ac_check_soname_save_LIBS=$LIBS
14522 LIBS="-lfontconfig $LIBS"
14523 cat >conftest.$ac_ext <<_ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14530 /* Override any GCC internal prototype to avoid an error.
14531 Use char because int might match the return type of a GCC
14532 builtin and then its argument prototype would still apply. */
14545 rm -f conftest.$ac_objext conftest$ac_exeext
14546 if { (ac_try="$ac_link"
14547 case "(($ac_try" in
14548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14549 *) ac_try_echo
=$ac_try;;
14551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14552 (eval "$ac_link") 2>conftest.er1
14554 grep -v '^ *+' conftest.er1
>conftest.err
14556 cat conftest.err
>&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } && {
14559 test -z "$ac_c_werror_flag" ||
14560 test ! -s conftest.err
14561 } && test -s conftest
$ac_exeext &&
14562 $as_test_x conftest
$ac_exeext; then
14565 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'` ;;
14566 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14569 echo "$as_me: failed program was:" >&5
14570 sed 's/^/| /' conftest.
$ac_ext >&5
14575 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14576 conftest
$ac_exeext conftest.
$ac_ext
14577 LIBS
=$ac_check_soname_save_LIBS
14579 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14580 { echo "$as_me:$LINENO: result: not found" >&5
14581 echo "${ECHO_T}not found" >&6; }
14584 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14585 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14587 cat >>confdefs.h
<<_ACEOF
14588 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14595 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14596 wine_notices
="$wine_notices|fontconfig development files not found.
14597 Wine will be built without fontconfig support."
14601 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14603 { echo "$as_me:$LINENO: checking for -lssl" >&5
14604 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14605 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 ac_check_soname_save_LIBS
=$LIBS
14610 cat >conftest.
$ac_ext <<_ACEOF
14613 cat confdefs.h
>>conftest.
$ac_ext
14614 cat >>conftest.
$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14617 /* Override any GCC internal prototype to avoid an error.
14618 Use char because int might match the return type of a GCC
14619 builtin and then its argument prototype would still apply. */
14623 char SSL_library_init ();
14627 return SSL_library_init ();
14632 rm -f conftest.
$ac_objext conftest
$ac_exeext
14633 if { (ac_try
="$ac_link"
14634 case "(($ac_try" in
14635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14636 *) ac_try_echo=$ac_try;;
14638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14639 (eval "$ac_link") 2>conftest.er1
14641 grep -v '^ *+' conftest.er1 >conftest.err
14643 cat conftest.err >&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); } && {
14646 test -z "$ac_c_werror_flag" ||
14647 test ! -s conftest.err
14648 } && test -s conftest$ac_exeext &&
14649 $as_test_x conftest$ac_exeext; then
14652 dylib) ac_cv_lib_soname_ssl=`otool
-L conftest
$ac_exeext |
grep "libssl\\.[0-9A-Za-z.]*dylib" |
sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14653 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libssl\\.$LIBEXT" |
sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.$ac_ext >&5
14662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14663 conftest$ac_exeext conftest.$ac_ext
14664 LIBS=$ac_check_soname_save_LIBS
14666 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14667 { echo "$as_me:$LINENO: result: not found" >&5
14668 echo "${ECHO_T}not found" >&6; }
14671 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14672 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14674 cat >>confdefs.h <<_ACEOF
14675 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14681 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14682 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14683 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14684 echo $ECHO_N "(cached) $ECHO_C" >&6
14686 ac_check_soname_save_LIBS=$LIBS
14687 LIBS="-lcrypto $LIBS"
14688 cat >conftest.$ac_ext <<_ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14695 /* Override any GCC internal prototype to avoid an error.
14696 Use char because int might match the return type of a GCC
14697 builtin and then its argument prototype would still apply. */
14701 char BIO_new_socket ();
14705 return BIO_new_socket ();
14710 rm -f conftest.$ac_objext conftest$ac_exeext
14711 if { (ac_try="$ac_link"
14712 case "(($ac_try" in
14713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14714 *) ac_try_echo
=$ac_try;;
14716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14717 (eval "$ac_link") 2>conftest.er1
14719 grep -v '^ *+' conftest.er1
>conftest.err
14721 cat conftest.err
>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); } && {
14724 test -z "$ac_c_werror_flag" ||
14725 test ! -s conftest.err
14726 } && test -s conftest
$ac_exeext &&
14727 $as_test_x conftest
$ac_exeext; then
14730 dylib
) ac_cv_lib_soname_crypto
=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14731 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.
$ac_ext >&5
14740 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14741 conftest
$ac_exeext conftest.
$ac_ext
14742 LIBS
=$ac_check_soname_save_LIBS
14744 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14745 { echo "$as_me:$LINENO: result: not found" >&5
14746 echo "${ECHO_T}not found" >&6; }
14749 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14750 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14752 cat >>confdefs.h
<<_ACEOF
14753 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14760 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14761 wine_notices
="$wine_notices|OpenSSL development files not found.
14762 Wine will be built without SSL support. (wininet.dll)"
14766 if test "$ac_cv_header_jpeglib_h" = "yes"
14768 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14769 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14770 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14773 ac_check_soname_save_LIBS
=$LIBS
14774 LIBS
="-ljpeg $LIBS"
14775 cat >conftest.
$ac_ext <<_ACEOF
14778 cat confdefs.h
>>conftest.
$ac_ext
14779 cat >>conftest.
$ac_ext <<_ACEOF
14780 /* end confdefs.h. */
14782 /* Override any GCC internal prototype to avoid an error.
14783 Use char because int might match the return type of a GCC
14784 builtin and then its argument prototype would still apply. */
14788 char jpeg_start_decompress ();
14792 return jpeg_start_decompress ();
14797 rm -f conftest.
$ac_objext conftest
$ac_exeext
14798 if { (ac_try
="$ac_link"
14799 case "(($ac_try" in
14800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14801 *) ac_try_echo=$ac_try;;
14803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14804 (eval "$ac_link") 2>conftest.er1
14806 grep -v '^ *+' conftest.er1 >conftest.err
14808 cat conftest.err >&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } && {
14811 test -z "$ac_c_werror_flag" ||
14812 test ! -s conftest.err
14813 } && test -s conftest$ac_exeext &&
14814 $as_test_x conftest$ac_exeext; then
14817 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'` ;;
14818 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjpeg\\.$LIBEXT" |
sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14821 echo "$as_me: failed program was:" >&5
14822 sed 's/^/| /' conftest.$ac_ext >&5
14827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14828 conftest$ac_exeext conftest.$ac_ext
14829 LIBS=$ac_check_soname_save_LIBS
14831 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14832 { echo "$as_me:$LINENO: result: not found" >&5
14833 echo "${ECHO_T}not found" >&6; }
14836 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14837 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14839 cat >>confdefs.h <<_ACEOF
14840 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14847 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14848 wine_notices="$wine_notices|libjpeg development files not found.
14849 Wine will be built without JPEG support. (oleaut32.dll)"
14853 if test "$ac_cv_header_png_h" = "yes"
14855 { echo "$as_me:$LINENO: checking for -lpng" >&5
14856 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14857 if test "${ac_cv_lib_soname_png+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14860 ac_check_soname_save_LIBS=$LIBS
14862 cat >conftest.$ac_ext <<_ACEOF
14865 cat confdefs.h >>conftest.$ac_ext
14866 cat >>conftest.$ac_ext <<_ACEOF
14867 /* end confdefs.h. */
14869 /* Override any GCC internal prototype to avoid an error.
14870 Use char because int might match the return type of a GCC
14871 builtin and then its argument prototype would still apply. */
14875 char png_create_read_struct ();
14879 return png_create_read_struct ();
14884 rm -f conftest.$ac_objext conftest$ac_exeext
14885 if { (ac_try="$ac_link"
14886 case "(($ac_try" in
14887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14888 *) ac_try_echo
=$ac_try;;
14890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14891 (eval "$ac_link") 2>conftest.er1
14893 grep -v '^ *+' conftest.er1
>conftest.err
14895 cat conftest.err
>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } && {
14898 test -z "$ac_c_werror_flag" ||
14899 test ! -s conftest.err
14900 } && test -s conftest
$ac_exeext &&
14901 $as_test_x conftest
$ac_exeext; then
14904 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'` ;;
14905 *) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.
$ac_ext >&5
14914 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14915 conftest
$ac_exeext conftest.
$ac_ext
14916 LIBS
=$ac_check_soname_save_LIBS
14918 if test "x$ac_cv_lib_soname_png" = "x"; then
14919 { echo "$as_me:$LINENO: result: not found" >&5
14920 echo "${ECHO_T}not found" >&6; }
14923 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14924 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14926 cat >>confdefs.h
<<_ACEOF
14927 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14934 if test "x$ac_cv_lib_soname_png" = "x"; then
14935 wine_notices
="$wine_notices|libpng development files not found.
14936 Wine will be built without PNG support. (oleaut32.dll)"
14940 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14941 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14942 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14943 "$ac_cv_header_soundcard_h" != "yes"; then
14944 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
14951 if test "x${GCC}" = "xyes"
14953 EXTRACFLAGS
="-Wall -pipe"
14955 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14956 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14957 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14958 echo $ECHO_N "(cached) $ECHO_C" >&6
14960 if test "$cross_compiling" = yes; then
14961 ac_cv_c_gcc_strength_bug
="yes"
14963 cat >conftest.
$ac_ext <<_ACEOF
14966 cat confdefs.h
>>conftest.
$ac_ext
14967 cat >>conftest.
$ac_ext <<_ACEOF
14968 /* end confdefs.h. */
14969 int L[4] = {0,1,2,3};
14973 static int Array[3];
14974 unsigned int B = 3;
14976 for(i=0; i<B; i++) Array[i] = i - 3;
14977 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14979 exit( Array[1] != -2 || L[2] != 3)
14984 rm -f conftest
$ac_exeext
14985 if { (ac_try
="$ac_link"
14986 case "(($ac_try" in
14987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14988 *) ac_try_echo=$ac_try;;
14990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14991 (eval "$ac_link") 2>&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14995 { (case "(($ac_try" in
14996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14997 *) ac_try_echo
=$ac_try;;
14999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15000 (eval "$ac_try") 2>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; }; then
15004 ac_cv_c_gcc_strength_bug
="no"
15006 echo "$as_me: program exited with status $ac_status" >&5
15007 echo "$as_me: failed program was:" >&5
15008 sed 's/^/| /' conftest.
$ac_ext >&5
15010 ( exit $ac_status )
15011 ac_cv_c_gcc_strength_bug
="yes"
15013 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15018 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15019 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15020 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15022 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
15026 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15027 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15028 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15031 ac_wine_try_cflags_saved
=$CFLAGS
15032 CFLAGS
="$CFLAGS -fshort-wchar"
15033 cat >conftest.
$ac_ext <<_ACEOF
15036 cat confdefs.h
>>conftest.
$ac_ext
15037 cat >>conftest.
$ac_ext <<_ACEOF
15038 /* end confdefs.h. */
15048 rm -f conftest.
$ac_objext conftest
$ac_exeext
15049 if { (ac_try
="$ac_link"
15050 case "(($ac_try" in
15051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15052 *) ac_try_echo=$ac_try;;
15054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15055 (eval "$ac_link") 2>conftest.er1
15057 grep -v '^ *+' conftest.er1 >conftest.err
15059 cat conftest.err >&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } && {
15062 test -z "$ac_c_werror_flag" ||
15063 test ! -s conftest.err
15064 } && test -s conftest$ac_exeext &&
15065 $as_test_x conftest$ac_exeext; then
15066 ac_cv_cflags__fshort_wchar=yes
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15071 ac_cv_cflags__fshort_wchar=no
15074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15075 conftest$ac_exeext conftest.$ac_ext
15076 CFLAGS=$ac_wine_try_cflags_saved
15078 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15079 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15080 if test $ac_cv_cflags__fshort_wchar = yes; then
15082 cat >>confdefs.h <<\_ACEOF
15083 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15088 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15089 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15090 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15091 echo $ECHO_N "(cached) $ECHO_C" >&6
15093 ac_wine_try_cflags_saved=$CFLAGS
15094 CFLAGS="$CFLAGS -fno-strict-aliasing"
15095 cat >conftest.$ac_ext <<_ACEOF
15098 cat confdefs.h >>conftest.$ac_ext
15099 cat >>conftest.$ac_ext <<_ACEOF
15100 /* end confdefs.h. */
15110 rm -f conftest.$ac_objext conftest$ac_exeext
15111 if { (ac_try="$ac_link"
15112 case "(($ac_try" in
15113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15114 *) ac_try_echo
=$ac_try;;
15116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15117 (eval "$ac_link") 2>conftest.er1
15119 grep -v '^ *+' conftest.er1
>conftest.err
15121 cat conftest.err
>&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); } && {
15124 test -z "$ac_c_werror_flag" ||
15125 test ! -s conftest.err
15126 } && test -s conftest
$ac_exeext &&
15127 $as_test_x conftest
$ac_exeext; then
15128 ac_cv_cflags__fno_strict_aliasing
=yes
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.
$ac_ext >&5
15133 ac_cv_cflags__fno_strict_aliasing
=no
15136 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15137 conftest
$ac_exeext conftest.
$ac_ext
15138 CFLAGS
=$ac_wine_try_cflags_saved
15140 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15141 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15142 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15143 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15146 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15147 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15148 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15149 echo $ECHO_N "(cached) $ECHO_C" >&6
15151 ac_wine_try_cflags_saved
=$CFLAGS
15152 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15153 cat >conftest.
$ac_ext <<_ACEOF
15156 cat confdefs.h
>>conftest.
$ac_ext
15157 cat >>conftest.
$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15168 rm -f conftest.
$ac_objext conftest
$ac_exeext
15169 if { (ac_try
="$ac_link"
15170 case "(($ac_try" in
15171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15172 *) ac_try_echo=$ac_try;;
15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_link") 2>conftest.er1
15177 grep -v '^ *+' conftest.er1 >conftest.err
15179 cat conftest.err >&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } && {
15182 test -z "$ac_c_werror_flag" ||
15183 test ! -s conftest.err
15184 } && test -s conftest$ac_exeext &&
15185 $as_test_x conftest$ac_exeext; then
15186 ac_cv_cflags__Wdeclaration_after_statement=yes
15188 echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.$ac_ext >&5
15191 ac_cv_cflags__Wdeclaration_after_statement=no
15194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15195 conftest$ac_exeext conftest.$ac_ext
15196 CFLAGS=$ac_wine_try_cflags_saved
15198 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15199 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15200 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15201 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15204 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15205 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15206 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15207 echo $ECHO_N "(cached) $ECHO_C" >&6
15209 ac_wine_try_cflags_saved=$CFLAGS
15210 CFLAGS="$CFLAGS -Wwrite-strings"
15211 cat >conftest.$ac_ext <<_ACEOF
15214 cat confdefs.h >>conftest.$ac_ext
15215 cat >>conftest.$ac_ext <<_ACEOF
15216 /* end confdefs.h. */
15226 rm -f conftest.$ac_objext conftest$ac_exeext
15227 if { (ac_try="$ac_link"
15228 case "(($ac_try" in
15229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15230 *) ac_try_echo
=$ac_try;;
15232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15233 (eval "$ac_link") 2>conftest.er1
15235 grep -v '^ *+' conftest.er1
>conftest.err
15237 cat conftest.err
>&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } && {
15240 test -z "$ac_c_werror_flag" ||
15241 test ! -s conftest.err
15242 } && test -s conftest
$ac_exeext &&
15243 $as_test_x conftest
$ac_exeext; then
15244 ac_cv_cflags__Wwrite_strings
=yes
15246 echo "$as_me: failed program was:" >&5
15247 sed 's/^/| /' conftest.
$ac_ext >&5
15249 ac_cv_cflags__Wwrite_strings
=no
15252 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15253 conftest
$ac_exeext conftest.
$ac_ext
15254 CFLAGS
=$ac_wine_try_cflags_saved
15256 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15257 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15258 if test $ac_cv_cflags__Wwrite_strings = yes; then
15259 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
15263 saved_CFLAGS
="$CFLAGS"
15264 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
15265 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15266 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15267 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15270 cat >conftest.
$ac_ext <<_ACEOF
15273 cat confdefs.h
>>conftest.
$ac_ext
15274 cat >>conftest.
$ac_ext <<_ACEOF
15275 /* end confdefs.h. */
15276 #include <string.h>
15285 rm -f conftest.
$ac_objext
15286 if { (ac_try
="$ac_compile"
15287 case "(($ac_try" in
15288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15289 *) ac_try_echo=$ac_try;;
15291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15292 (eval "$ac_compile") 2>conftest.er1
15294 grep -v '^ *+' conftest.er1 >conftest.err
15296 cat conftest.err >&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); } && {
15299 test -z "$ac_c_werror_flag" ||
15300 test ! -s conftest.err
15301 } && test -s conftest.$ac_objext; then
15302 ac_cv_c_string_h_warnings=no
15304 echo "$as_me: failed program was:" >&5
15305 sed 's/^/| /' conftest.$ac_ext >&5
15307 ac_cv_c_string_h_warnings=yes
15310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15312 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15313 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15314 CFLAGS="$saved_CFLAGS"
15315 if test "$ac_cv_c_string_h_warnings" = "no"
15317 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15322 saved_CFLAGS="$CFLAGS"
15323 CFLAGS="$CFLAGS -Werror"
15324 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15325 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15326 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 cat >conftest.$ac_ext <<_ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15339 int iswlower(unsigned short);
15344 rm -f conftest.$ac_objext
15345 if { (ac_try="$ac_compile"
15346 case "(($ac_try" in
15347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15348 *) ac_try_echo
=$ac_try;;
15350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15351 (eval "$ac_compile") 2>conftest.er1
15353 grep -v '^ *+' conftest.er1
>conftest.err
15355 cat conftest.err
>&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); } && {
15358 test -z "$ac_c_werror_flag" ||
15359 test ! -s conftest.err
15360 } && test -s conftest.
$ac_objext; then
15361 ac_cv_c_builtin_wchar_ctype
=no
15363 echo "$as_me: failed program was:" >&5
15364 sed 's/^/| /' conftest.
$ac_ext >&5
15366 ac_cv_c_builtin_wchar_ctype
=yes
15369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15371 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15372 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15373 CFLAGS
="$saved_CFLAGS"
15374 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15376 BUILTINFLAG
="-fno-builtin"
15381 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15382 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15383 if test "${ac_cv_asm_func_def+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 cat >conftest.
$ac_ext <<_ACEOF
15389 cat confdefs.h
>>conftest.
$ac_ext
15390 cat >>conftest.
$ac_ext <<_ACEOF
15391 /* end confdefs.h. */
15396 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15401 rm -f conftest.
$ac_objext conftest
$ac_exeext
15402 if { (ac_try
="$ac_link"
15403 case "(($ac_try" in
15404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15405 *) ac_try_echo=$ac_try;;
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_link") 2>conftest.er1
15410 grep -v '^ *+' conftest.er1 >conftest.err
15412 cat conftest.err >&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); } && {
15415 test -z "$ac_c_werror_flag" ||
15416 test ! -s conftest.err
15417 } && test -s conftest$ac_exeext &&
15418 $as_test_x conftest$ac_exeext; then
15419 ac_cv_asm_func_def=".def"
15421 echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.$ac_ext >&5
15424 cat >conftest.$ac_ext <<_ACEOF
15427 cat confdefs.h >>conftest.$ac_ext
15428 cat >>conftest.$ac_ext <<_ACEOF
15429 /* end confdefs.h. */
15434 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15439 rm -f conftest.$ac_objext conftest$ac_exeext
15440 if { (ac_try="$ac_link"
15441 case "(($ac_try" in
15442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15443 *) ac_try_echo
=$ac_try;;
15445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15446 (eval "$ac_link") 2>conftest.er1
15448 grep -v '^ *+' conftest.er1
>conftest.err
15450 cat conftest.err
>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } && {
15453 test -z "$ac_c_werror_flag" ||
15454 test ! -s conftest.err
15455 } && test -s conftest
$ac_exeext &&
15456 $as_test_x conftest
$ac_exeext; then
15457 ac_cv_asm_func_def
=".type @function"
15459 echo "$as_me: failed program was:" >&5
15460 sed 's/^/| /' conftest.
$ac_ext >&5
15462 cat >conftest.
$ac_ext <<_ACEOF
15465 cat confdefs.h
>>conftest.
$ac_ext
15466 cat >>conftest.
$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15472 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15477 rm -f conftest.
$ac_objext conftest
$ac_exeext
15478 if { (ac_try
="$ac_link"
15479 case "(($ac_try" in
15480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15481 *) ac_try_echo=$ac_try;;
15483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15484 (eval "$ac_link") 2>conftest.er1
15486 grep -v '^ *+' conftest.er1 >conftest.err
15488 cat conftest.err >&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); } && {
15491 test -z "$ac_c_werror_flag" ||
15492 test ! -s conftest.err
15493 } && test -s conftest$ac_exeext &&
15494 $as_test_x conftest$ac_exeext; then
15495 ac_cv_asm_func_def=".type 2"
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15500 ac_cv_asm_func_def="unknown"
15503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15504 conftest$ac_exeext conftest.$ac_ext
15507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15508 conftest$ac_exeext conftest.$ac_ext
15511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15512 conftest$ac_exeext conftest.$ac_ext
15514 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15515 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15519 case "$ac_cv_asm_func_def" in
15521 cat >>confdefs.h <<\_ACEOF
15522 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15526 cat >>confdefs.h <<\_ACEOF
15527 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15531 cat >>confdefs.h <<\_ACEOF
15532 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15536 cat >>confdefs.h <<\_ACEOF
15537 #define __ASM_FUNC(name) ""
15543 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15544 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15545 if test "${ac_cv_c_extern_prefix+set}" = set; then
15546 echo $ECHO_N "(cached) $ECHO_C" >&6
15548 cat >conftest.$ac_ext <<_ACEOF
15551 cat confdefs.h >>conftest.$ac_ext
15552 cat >>conftest.$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15554 extern int ac_test;
15558 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15563 rm -f conftest.$ac_objext conftest$ac_exeext
15564 if { (ac_try="$ac_link"
15565 case "(($ac_try" in
15566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15567 *) ac_try_echo
=$ac_try;;
15569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15570 (eval "$ac_link") 2>conftest.er1
15572 grep -v '^ *+' conftest.er1
>conftest.err
15574 cat conftest.err
>&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } && {
15577 test -z "$ac_c_werror_flag" ||
15578 test ! -s conftest.err
15579 } && test -s conftest
$ac_exeext &&
15580 $as_test_x conftest
$ac_exeext; then
15581 ac_cv_c_extern_prefix
="yes"
15583 echo "$as_me: failed program was:" >&5
15584 sed 's/^/| /' conftest.
$ac_ext >&5
15586 ac_cv_c_extern_prefix
="no"
15589 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15590 conftest
$ac_exeext conftest.
$ac_ext
15592 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15593 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15597 if test "$ac_cv_c_extern_prefix" = "yes"
15599 cat >>confdefs.h
<<\_ACEOF
15600 #define __ASM_NAME(name) "_" name
15604 cat >>confdefs.h
<<\_ACEOF
15605 #define __ASM_NAME(name) name
15615 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15619 linux
*|solaris
*) if test -z "$LDRPATH_LOCAL"
15621 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15625 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15633 SOCKETLIBS
="-lws2_32"
15638 MAIN_BINARY
="wine-pthread"
15642 linux
* | k
*bsd
*-gnu)
15643 MAIN_BINARY
="wine-glibc"
15645 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
15777 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15778 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15780 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15783 cat >conftest.
$ac_ext <<_ACEOF
15786 cat confdefs.h
>>conftest.
$ac_ext
15787 cat >>conftest.
$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15791 #define $ac_func innocuous_$ac_func
15793 /* System header to define __stub macros and hopefully few prototypes,
15794 which can conflict with char $ac_func (); below.
15795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15796 <limits.h> exists even on freestanding compilers. */
15799 # include <limits.h>
15801 # include <assert.h>
15806 /* Override any GCC internal prototype to avoid an error.
15807 Use char because int might match the return type of a GCC
15808 builtin and then its argument prototype would still apply. */
15813 /* The GNU C library defines this for functions which it implements
15814 to always fail with ENOSYS. Some functions are actually named
15815 something starting with __ and the normal name is an alias. */
15816 #if defined __stub_$ac_func || defined __stub___$ac_func
15823 return $ac_func ();
15828 rm -f conftest.
$ac_objext conftest
$ac_exeext
15829 if { (ac_try
="$ac_link"
15830 case "(($ac_try" in
15831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15832 *) ac_try_echo=$ac_try;;
15834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15835 (eval "$ac_link") 2>conftest.er1
15837 grep -v '^ *+' conftest.er1 >conftest.err
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } && {
15842 test -z "$ac_c_werror_flag" ||
15843 test ! -s conftest.err
15844 } && test -s conftest$ac_exeext &&
15845 $as_test_x conftest$ac_exeext; then
15846 eval "$as_ac_var=yes"
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 eval "$as_ac_var=no"
15854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15855 conftest$ac_exeext conftest.$ac_ext
15857 ac_res=`eval echo '${'$as_ac_var'}'`
15858 { echo "$as_me:$LINENO: result: $ac_res" >&5
15859 echo "${ECHO_T}$ac_res" >&6; }
15860 if test `eval echo '${'$as_ac_var'}'` = yes; then
15861 cat >>confdefs.h <<_ACEOF
15862 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
15869 if test "$ac_cv_func_dlopen" = no
15871 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15872 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15873 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15876 ac_check_lib_save_LIBS=$LIBS
15878 cat >conftest.$ac_ext <<_ACEOF
15881 cat confdefs.h >>conftest.$ac_ext
15882 cat >>conftest.$ac_ext <<_ACEOF
15883 /* end confdefs.h. */
15885 /* Override any GCC internal prototype to avoid an error.
15886 Use char because int might match the return type of a GCC
15887 builtin and then its argument prototype would still apply. */
15900 rm -f conftest.$ac_objext conftest$ac_exeext
15901 if { (ac_try="$ac_link"
15902 case "(($ac_try" in
15903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15904 *) ac_try_echo
=$ac_try;;
15906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15907 (eval "$ac_link") 2>conftest.er1
15909 grep -v '^ *+' conftest.er1
>conftest.err
15911 cat conftest.err
>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); } && {
15914 test -z "$ac_c_werror_flag" ||
15915 test ! -s conftest.err
15916 } && test -s conftest
$ac_exeext &&
15917 $as_test_x conftest
$ac_exeext; then
15918 ac_cv_lib_dl_dlopen
=yes
15920 echo "$as_me: failed program was:" >&5
15921 sed 's/^/| /' conftest.
$ac_ext >&5
15923 ac_cv_lib_dl_dlopen
=no
15926 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15927 conftest
$ac_exeext conftest.
$ac_ext
15928 LIBS
=$ac_check_lib_save_LIBS
15930 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15931 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15932 if test $ac_cv_lib_dl_dlopen = yes; then
15933 cat >>confdefs.h
<<\_ACEOF
15934 #define HAVE_DLOPEN 1
15941 ac_wine_check_funcs_save_LIBS
="$LIBS"
15942 LIBS
="$LIBS $LIBDL"
15944 for ac_func
in dladdr
15946 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15949 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 cat >conftest.
$ac_ext <<_ACEOF
15955 cat confdefs.h
>>conftest.
$ac_ext
15956 cat >>conftest.
$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15960 #define $ac_func innocuous_$ac_func
15962 /* System header to define __stub macros and hopefully few prototypes,
15963 which can conflict with char $ac_func (); below.
15964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15965 <limits.h> exists even on freestanding compilers. */
15968 # include <limits.h>
15970 # include <assert.h>
15975 /* Override any GCC internal prototype to avoid an error.
15976 Use char because int might match the return type of a GCC
15977 builtin and then its argument prototype would still apply. */
15982 /* The GNU C library defines this for functions which it implements
15983 to always fail with ENOSYS. Some functions are actually named
15984 something starting with __ and the normal name is an alias. */
15985 #if defined __stub_$ac_func || defined __stub___$ac_func
15992 return $ac_func ();
15997 rm -f conftest.
$ac_objext conftest
$ac_exeext
15998 if { (ac_try
="$ac_link"
15999 case "(($ac_try" in
16000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16001 *) ac_try_echo=$ac_try;;
16003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16004 (eval "$ac_link") 2>conftest.er1
16006 grep -v '^ *+' conftest.er1 >conftest.err
16008 cat conftest.err >&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } && {
16011 test -z "$ac_c_werror_flag" ||
16012 test ! -s conftest.err
16013 } && test -s conftest$ac_exeext &&
16014 $as_test_x conftest$ac_exeext; then
16015 eval "$as_ac_var=yes"
16017 echo "$as_me: failed program was:" >&5
16018 sed 's/^/| /' conftest.$ac_ext >&5
16020 eval "$as_ac_var=no"
16023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16024 conftest$ac_exeext conftest.$ac_ext
16026 ac_res=`eval echo '${'$as_ac_var'}'`
16027 { echo "$as_me:$LINENO: result: $ac_res" >&5
16028 echo "${ECHO_T}$ac_res" >&6; }
16029 if test `eval echo '${'$as_ac_var'}'` = yes; then
16030 cat >>confdefs.h <<_ACEOF
16031 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16037 LIBS="$ac_wine_check_funcs_save_LIBS"
16039 if test "$ac_cv_func_poll" = no
16041 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16042 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16043 if test "${ac_cv_lib_poll_poll+set}" = set; then
16044 echo $ECHO_N "(cached) $ECHO_C" >&6
16046 ac_check_lib_save_LIBS=$LIBS
16047 LIBS="-lpoll $LIBS"
16048 cat >conftest.$ac_ext <<_ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16055 /* Override any GCC internal prototype to avoid an error.
16056 Use char because int might match the return type of a GCC
16057 builtin and then its argument prototype would still apply. */
16070 rm -f conftest.$ac_objext conftest$ac_exeext
16071 if { (ac_try="$ac_link"
16072 case "(($ac_try" in
16073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16074 *) ac_try_echo
=$ac_try;;
16076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16077 (eval "$ac_link") 2>conftest.er1
16079 grep -v '^ *+' conftest.er1
>conftest.err
16081 cat conftest.err
>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } && {
16084 test -z "$ac_c_werror_flag" ||
16085 test ! -s conftest.err
16086 } && test -s conftest
$ac_exeext &&
16087 $as_test_x conftest
$ac_exeext; then
16088 ac_cv_lib_poll_poll
=yes
16090 echo "$as_me: failed program was:" >&5
16091 sed 's/^/| /' conftest.
$ac_ext >&5
16093 ac_cv_lib_poll_poll
=no
16096 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16097 conftest
$ac_exeext conftest.
$ac_ext
16098 LIBS
=$ac_check_lib_save_LIBS
16100 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16101 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16102 if test $ac_cv_lib_poll_poll = yes; then
16103 cat >>confdefs.h
<<\_ACEOF
16104 #define HAVE_POLL 1
16112 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16113 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16114 if test "${ac_cv_search_gethostbyname+set}" = set; then
16115 echo $ECHO_N "(cached) $ECHO_C" >&6
16117 ac_func_search_save_LIBS
=$LIBS
16118 cat >conftest.
$ac_ext <<_ACEOF
16121 cat confdefs.h
>>conftest.
$ac_ext
16122 cat >>conftest.
$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16125 /* Override any GCC internal prototype to avoid an error.
16126 Use char because int might match the return type of a GCC
16127 builtin and then its argument prototype would still apply. */
16131 char gethostbyname ();
16135 return gethostbyname ();
16140 for ac_lib
in '' nsl
; do
16141 if test -z "$ac_lib"; then
16142 ac_res
="none required"
16145 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16147 rm -f conftest.
$ac_objext conftest
$ac_exeext
16148 if { (ac_try
="$ac_link"
16149 case "(($ac_try" in
16150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16151 *) ac_try_echo=$ac_try;;
16153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16154 (eval "$ac_link") 2>conftest.er1
16156 grep -v '^ *+' conftest.er1 >conftest.err
16158 cat conftest.err >&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); } && {
16161 test -z "$ac_c_werror_flag" ||
16162 test ! -s conftest.err
16163 } && test -s conftest$ac_exeext &&
16164 $as_test_x conftest$ac_exeext; then
16165 ac_cv_search_gethostbyname=$ac_res
16167 echo "$as_me: failed program was:" >&5
16168 sed 's/^/| /' conftest.$ac_ext >&5
16173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16175 if test "${ac_cv_search_gethostbyname+set}" = set; then
16179 if test "${ac_cv_search_gethostbyname+set}" = set; then
16182 ac_cv_search_gethostbyname=no
16184 rm conftest.$ac_ext
16185 LIBS=$ac_func_search_save_LIBS
16187 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16188 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16189 ac_res=$ac_cv_search_gethostbyname
16190 if test "$ac_res" != no; then
16191 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16196 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16197 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16198 if test "${ac_cv_search_connect+set}" = set; then
16199 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 ac_func_search_save_LIBS=$LIBS
16202 cat >conftest.$ac_ext <<_ACEOF
16205 cat confdefs.h >>conftest.$ac_ext
16206 cat >>conftest.$ac_ext <<_ACEOF
16207 /* end confdefs.h. */
16209 /* Override any GCC internal prototype to avoid an error.
16210 Use char because int might match the return type of a GCC
16211 builtin and then its argument prototype would still apply. */
16224 for ac_lib in '' socket; do
16225 if test -z "$ac_lib"; then
16226 ac_res="none required"
16229 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16231 rm -f conftest.$ac_objext conftest$ac_exeext
16232 if { (ac_try="$ac_link"
16233 case "(($ac_try" in
16234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16235 *) ac_try_echo
=$ac_try;;
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_link") 2>conftest.er1
16240 grep -v '^ *+' conftest.er1
>conftest.err
16242 cat conftest.err
>&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } && {
16245 test -z "$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16247 } && test -s conftest
$ac_exeext &&
16248 $as_test_x conftest
$ac_exeext; then
16249 ac_cv_search_connect
=$ac_res
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.
$ac_ext >&5
16257 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16259 if test "${ac_cv_search_connect+set}" = set; then
16263 if test "${ac_cv_search_connect+set}" = set; then
16266 ac_cv_search_connect
=no
16268 rm conftest.
$ac_ext
16269 LIBS
=$ac_func_search_save_LIBS
16271 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16272 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16273 ac_res
=$ac_cv_search_connect
16274 if test "$ac_res" != no
; then
16275 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16280 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16281 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16282 if test "${ac_cv_search_inet_aton+set}" = set; then
16283 echo $ECHO_N "(cached) $ECHO_C" >&6
16285 ac_func_search_save_LIBS
=$LIBS
16286 cat >conftest.
$ac_ext <<_ACEOF
16289 cat confdefs.h
>>conftest.
$ac_ext
16290 cat >>conftest.
$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16293 /* Override any GCC internal prototype to avoid an error.
16294 Use char because int might match the return type of a GCC
16295 builtin and then its argument prototype would still apply. */
16303 return inet_aton ();
16308 for ac_lib
in '' resolv
; do
16309 if test -z "$ac_lib"; then
16310 ac_res
="none required"
16313 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16315 rm -f conftest.
$ac_objext conftest
$ac_exeext
16316 if { (ac_try
="$ac_link"
16317 case "(($ac_try" in
16318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16319 *) ac_try_echo=$ac_try;;
16321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16322 (eval "$ac_link") 2>conftest.er1
16324 grep -v '^ *+' conftest.er1 >conftest.err
16326 cat conftest.err >&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } && {
16329 test -z "$ac_c_werror_flag" ||
16330 test ! -s conftest.err
16331 } && test -s conftest$ac_exeext &&
16332 $as_test_x conftest$ac_exeext; then
16333 ac_cv_search_inet_aton=$ac_res
16335 echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.$ac_ext >&5
16341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16343 if test "${ac_cv_search_inet_aton+set}" = set; then
16347 if test "${ac_cv_search_inet_aton+set}" = set; then
16350 ac_cv_search_inet_aton=no
16352 rm conftest.$ac_ext
16353 LIBS=$ac_func_search_save_LIBS
16355 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16356 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16357 ac_res=$ac_cv_search_inet_aton
16358 if test "$ac_res" != no; then
16359 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16383 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16384 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16386 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16387 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 cat >conftest.$ac_ext <<_ACEOF
16392 cat confdefs.h >>conftest.$ac_ext
16393 cat >>conftest.$ac_ext <<_ACEOF
16394 /* end confdefs.h. */
16395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16397 #define $ac_func innocuous_$ac_func
16399 /* System header to define __stub macros and hopefully few prototypes,
16400 which can conflict with char $ac_func (); below.
16401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16402 <limits.h> exists even on freestanding compilers. */
16405 # include <limits.h>
16407 # include <assert.h>
16412 /* Override any GCC internal prototype to avoid an error.
16413 Use char because int might match the return type of a GCC
16414 builtin and then its argument prototype would still apply. */
16419 /* The GNU C library defines this for functions which it implements
16420 to always fail with ENOSYS. Some functions are actually named
16421 something starting with __ and the normal name is an alias. */
16422 #if defined __stub_$ac_func || defined __stub___$ac_func
16429 return $ac_func ();
16434 rm -f conftest.$ac_objext conftest$ac_exeext
16435 if { (ac_try="$ac_link"
16436 case "(($ac_try" in
16437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16438 *) ac_try_echo
=$ac_try;;
16440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16441 (eval "$ac_link") 2>conftest.er1
16443 grep -v '^ *+' conftest.er1
>conftest.err
16445 cat conftest.err
>&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); } && {
16448 test -z "$ac_c_werror_flag" ||
16449 test ! -s conftest.err
16450 } && test -s conftest
$ac_exeext &&
16451 $as_test_x conftest
$ac_exeext; then
16452 eval "$as_ac_var=yes"
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.
$ac_ext >&5
16457 eval "$as_ac_var=no"
16460 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16461 conftest
$ac_exeext conftest.
$ac_ext
16463 ac_res
=`eval echo '${'$as_ac_var'}'`
16464 { echo "$as_me:$LINENO: result: $ac_res" >&5
16465 echo "${ECHO_T}$ac_res" >&6; }
16466 if test `eval echo '${'$as_ac_var'}'` = yes; then
16467 cat >>confdefs.h
<<_ACEOF
16468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16476 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16477 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16478 if test "${ac_cv_c_const+set}" = set; then
16479 echo $ECHO_N "(cached) $ECHO_C" >&6
16481 cat >conftest.
$ac_ext <<_ACEOF
16484 cat confdefs.h
>>conftest.
$ac_ext
16485 cat >>conftest.
$ac_ext <<_ACEOF
16486 /* end confdefs.h. */
16491 /* FIXME: Include the comments suggested by Paul. */
16492 #ifndef __cplusplus
16493 /* Ultrix mips cc rejects this. */
16494 typedef int charset[2];
16496 /* SunOS 4.1.1 cc rejects this. */
16497 char const *const *pcpcc;
16499 /* NEC SVR4.0.2 mips cc rejects this. */
16500 struct point {int x, y;};
16501 static struct point const zero = {0,0};
16502 /* AIX XL C 1.02.0.0 rejects this.
16503 It does not let you subtract one const X* pointer from another in
16504 an arm of an if-expression whose if-part is not a constant
16506 const char *g = "string";
16507 pcpcc = &g + (g ? g-g : 0);
16508 /* HPUX 7.0 cc rejects these. */
16510 ppc = (char**) pcpcc;
16511 pcpcc = (char const *const *) ppc;
16512 { /* SCO 3.2v4 cc rejects this. */
16514 char const *s = 0 ? (char *) 0 : (char const *) 0;
16519 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16520 int x[] = {25, 17};
16521 const int *foo = &x[0];
16524 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16525 typedef const int *iptr;
16529 { /* AIX XL C 1.02.0.0 rejects this saying
16530 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16531 struct s { int j; const int *ap[3]; };
16532 struct s *b; b->j = 5;
16534 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16535 const int foo = 10;
16536 if (!foo) return 0;
16538 return !cs[0] && !zero.x;
16545 rm -f conftest.
$ac_objext
16546 if { (ac_try
="$ac_compile"
16547 case "(($ac_try" in
16548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16549 *) ac_try_echo=$ac_try;;
16551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16552 (eval "$ac_compile") 2>conftest.er1
16554 grep -v '^ *+' conftest.er1 >conftest.err
16556 cat conftest.err >&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); } && {
16559 test -z "$ac_c_werror_flag" ||
16560 test ! -s conftest.err
16561 } && test -s conftest.$ac_objext; then
16564 echo "$as_me: failed program was:" >&5
16565 sed 's/^/| /' conftest.$ac_ext >&5
16570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16572 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16573 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16574 if test $ac_cv_c_const = no; then
16576 cat >>confdefs.h <<\_ACEOF
16582 { echo "$as_me:$LINENO: checking for inline" >&5
16583 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16584 if test "${ac_cv_c_inline+set}" = set; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16588 for ac_kw in inline __inline__ __inline; do
16589 cat >conftest.$ac_ext <<_ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16595 #ifndef __cplusplus
16597 static $ac_kw foo_t static_foo () {return 0; }
16598 $ac_kw foo_t foo () {return 0; }
16602 rm -f conftest.$ac_objext
16603 if { (ac_try="$ac_compile"
16604 case "(($ac_try" in
16605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16606 *) ac_try_echo
=$ac_try;;
16608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16609 (eval "$ac_compile") 2>conftest.er1
16611 grep -v '^ *+' conftest.er1
>conftest.err
16613 cat conftest.err
>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } && {
16616 test -z "$ac_c_werror_flag" ||
16617 test ! -s conftest.err
16618 } && test -s conftest.
$ac_objext; then
16619 ac_cv_c_inline
=$ac_kw
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.
$ac_ext >&5
16627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16628 test "$ac_cv_c_inline" != no
&& break
16632 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16633 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16636 case $ac_cv_c_inline in
16639 case $ac_cv_c_inline in
16641 *) ac_val
=$ac_cv_c_inline;;
16643 cat >>confdefs.h
<<_ACEOF
16644 #ifndef __cplusplus
16645 #define inline $ac_val
16651 { echo "$as_me:$LINENO: checking for mode_t" >&5
16652 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16653 if test "${ac_cv_type_mode_t+set}" = set; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16656 cat >conftest.
$ac_ext <<_ACEOF
16659 cat confdefs.h
>>conftest.
$ac_ext
16660 cat >>conftest.
$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16662 $ac_includes_default
16663 typedef mode_t ac__type_new_;
16667 if ((ac__type_new_ *) 0)
16669 if (sizeof (ac__type_new_))
16675 rm -f conftest.
$ac_objext
16676 if { (ac_try
="$ac_compile"
16677 case "(($ac_try" in
16678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16679 *) ac_try_echo=$ac_try;;
16681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16682 (eval "$ac_compile") 2>conftest.er1
16684 grep -v '^ *+' conftest.er1 >conftest.err
16686 cat conftest.err >&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); } && {
16689 test -z "$ac_c_werror_flag" ||
16690 test ! -s conftest.err
16691 } && test -s conftest.$ac_objext; then
16692 ac_cv_type_mode_t=yes
16694 echo "$as_me: failed program was:" >&5
16695 sed 's/^/| /' conftest.$ac_ext >&5
16697 ac_cv_type_mode_t=no
16700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16702 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16703 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16704 if test $ac_cv_type_mode_t = yes; then
16706 cat >>confdefs.h <<_ACEOF
16707 #define HAVE_MODE_T 1
16712 { echo "$as_me:$LINENO: checking for off_t" >&5
16713 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16714 if test "${ac_cv_type_off_t+set}" = set; then
16715 echo $ECHO_N "(cached) $ECHO_C" >&6
16717 cat >conftest.$ac_ext <<_ACEOF
16720 cat confdefs.h >>conftest.$ac_ext
16721 cat >>conftest.$ac_ext <<_ACEOF
16722 /* end confdefs.h. */
16723 $ac_includes_default
16724 typedef off_t ac__type_new_;
16728 if ((ac__type_new_ *) 0)
16730 if (sizeof (ac__type_new_))
16736 rm -f conftest.$ac_objext
16737 if { (ac_try="$ac_compile"
16738 case "(($ac_try" in
16739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16740 *) ac_try_echo
=$ac_try;;
16742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16743 (eval "$ac_compile") 2>conftest.er1
16745 grep -v '^ *+' conftest.er1
>conftest.err
16747 cat conftest.err
>&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } && {
16750 test -z "$ac_c_werror_flag" ||
16751 test ! -s conftest.err
16752 } && test -s conftest.
$ac_objext; then
16753 ac_cv_type_off_t
=yes
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.
$ac_ext >&5
16758 ac_cv_type_off_t
=no
16761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16763 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16764 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16765 if test $ac_cv_type_off_t = yes; then
16767 cat >>confdefs.h
<<_ACEOF
16768 #define HAVE_OFF_T 1
16773 { echo "$as_me:$LINENO: checking for pid_t" >&5
16774 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16775 if test "${ac_cv_type_pid_t+set}" = set; then
16776 echo $ECHO_N "(cached) $ECHO_C" >&6
16778 cat >conftest.
$ac_ext <<_ACEOF
16781 cat confdefs.h
>>conftest.
$ac_ext
16782 cat >>conftest.
$ac_ext <<_ACEOF
16783 /* end confdefs.h. */
16784 $ac_includes_default
16785 typedef pid_t ac__type_new_;
16789 if ((ac__type_new_ *) 0)
16791 if (sizeof (ac__type_new_))
16797 rm -f conftest.
$ac_objext
16798 if { (ac_try
="$ac_compile"
16799 case "(($ac_try" in
16800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16801 *) ac_try_echo=$ac_try;;
16803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16804 (eval "$ac_compile") 2>conftest.er1
16806 grep -v '^ *+' conftest.er1 >conftest.err
16808 cat conftest.err >&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); } && {
16811 test -z "$ac_c_werror_flag" ||
16812 test ! -s conftest.err
16813 } && test -s conftest.$ac_objext; then
16814 ac_cv_type_pid_t=yes
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.$ac_ext >&5
16819 ac_cv_type_pid_t=no
16822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16824 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16825 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16826 if test $ac_cv_type_pid_t = yes; then
16828 cat >>confdefs.h <<_ACEOF
16829 #define HAVE_PID_T 1
16834 { echo "$as_me:$LINENO: checking for size_t" >&5
16835 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16836 if test "${ac_cv_type_size_t+set}" = set; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 cat >conftest.$ac_ext <<_ACEOF
16842 cat confdefs.h >>conftest.$ac_ext
16843 cat >>conftest.$ac_ext <<_ACEOF
16844 /* end confdefs.h. */
16845 $ac_includes_default
16846 typedef size_t ac__type_new_;
16850 if ((ac__type_new_ *) 0)
16852 if (sizeof (ac__type_new_))
16858 rm -f conftest.$ac_objext
16859 if { (ac_try="$ac_compile"
16860 case "(($ac_try" in
16861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16862 *) ac_try_echo
=$ac_try;;
16864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16865 (eval "$ac_compile") 2>conftest.er1
16867 grep -v '^ *+' conftest.er1
>conftest.err
16869 cat conftest.err
>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } && {
16872 test -z "$ac_c_werror_flag" ||
16873 test ! -s conftest.err
16874 } && test -s conftest.
$ac_objext; then
16875 ac_cv_type_size_t
=yes
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.
$ac_ext >&5
16880 ac_cv_type_size_t
=no
16883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16885 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16886 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16887 if test $ac_cv_type_size_t = yes; then
16889 cat >>confdefs.h
<<_ACEOF
16890 #define HAVE_SIZE_T 1
16895 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16896 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16897 if test "${ac_cv_type_ssize_t+set}" = set; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16900 cat >conftest.
$ac_ext <<_ACEOF
16903 cat confdefs.h
>>conftest.
$ac_ext
16904 cat >>conftest.
$ac_ext <<_ACEOF
16905 /* end confdefs.h. */
16906 $ac_includes_default
16907 typedef ssize_t ac__type_new_;
16911 if ((ac__type_new_ *) 0)
16913 if (sizeof (ac__type_new_))
16919 rm -f conftest.
$ac_objext
16920 if { (ac_try
="$ac_compile"
16921 case "(($ac_try" in
16922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16923 *) ac_try_echo=$ac_try;;
16925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16926 (eval "$ac_compile") 2>conftest.er1
16928 grep -v '^ *+' conftest.er1 >conftest.err
16930 cat conftest.err >&5
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); } && {
16933 test -z "$ac_c_werror_flag" ||
16934 test ! -s conftest.err
16935 } && test -s conftest.$ac_objext; then
16936 ac_cv_type_ssize_t=yes
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.$ac_ext >&5
16941 ac_cv_type_ssize_t=no
16944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16946 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16947 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16948 if test $ac_cv_type_ssize_t = yes; then
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_SSIZE_T 1
16956 { echo "$as_me:$LINENO: checking for long long" >&5
16957 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16958 if test "${ac_cv_type_long_long+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16961 cat >conftest.$ac_ext <<_ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16967 $ac_includes_default
16968 typedef long long ac__type_new_;
16972 if ((ac__type_new_ *) 0)
16974 if (sizeof (ac__type_new_))
16980 rm -f conftest.$ac_objext
16981 if { (ac_try="$ac_compile"
16982 case "(($ac_try" in
16983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16984 *) ac_try_echo
=$ac_try;;
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_compile") 2>conftest.er1
16989 grep -v '^ *+' conftest.er1
>conftest.err
16991 cat conftest.err
>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_c_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest.
$ac_objext; then
16997 ac_cv_type_long_long
=yes
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.
$ac_ext >&5
17002 ac_cv_type_long_long
=no
17005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17007 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17008 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17009 if test $ac_cv_type_long_long = yes; then
17011 cat >>confdefs.h
<<_ACEOF
17012 #define HAVE_LONG_LONG 1
17017 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17018 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17019 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 cat >conftest.
$ac_ext <<_ACEOF
17025 cat confdefs.h
>>conftest.
$ac_ext
17026 cat >>conftest.
$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17028 $ac_includes_default
17029 typedef fsblkcnt_t ac__type_new_;
17033 if ((ac__type_new_ *) 0)
17035 if (sizeof (ac__type_new_))
17041 rm -f conftest.
$ac_objext
17042 if { (ac_try
="$ac_compile"
17043 case "(($ac_try" in
17044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17045 *) ac_try_echo=$ac_try;;
17047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17048 (eval "$ac_compile") 2>conftest.er1
17050 grep -v '^ *+' conftest.er1 >conftest.err
17052 cat conftest.err >&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } && {
17055 test -z "$ac_c_werror_flag" ||
17056 test ! -s conftest.err
17057 } && test -s conftest.$ac_objext; then
17058 ac_cv_type_fsblkcnt_t=yes
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 ac_cv_type_fsblkcnt_t=no
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17068 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17069 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17070 if test $ac_cv_type_fsblkcnt_t = yes; then
17072 cat >>confdefs.h <<_ACEOF
17073 #define HAVE_FSBLKCNT_T 1
17078 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17079 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17080 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17081 echo $ECHO_N "(cached) $ECHO_C" >&6
17083 cat >conftest.$ac_ext <<_ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 $ac_includes_default
17090 typedef fsfilcnt_t ac__type_new_;
17094 if ((ac__type_new_ *) 0)
17096 if (sizeof (ac__type_new_))
17102 rm -f conftest.$ac_objext
17103 if { (ac_try="$ac_compile"
17104 case "(($ac_try" in
17105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17106 *) ac_try_echo
=$ac_try;;
17108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17109 (eval "$ac_compile") 2>conftest.er1
17111 grep -v '^ *+' conftest.er1
>conftest.err
17113 cat conftest.err
>&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } && {
17116 test -z "$ac_c_werror_flag" ||
17117 test ! -s conftest.err
17118 } && test -s conftest.
$ac_objext; then
17119 ac_cv_type_fsfilcnt_t
=yes
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.
$ac_ext >&5
17124 ac_cv_type_fsfilcnt_t
=no
17127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17129 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17130 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17131 if test $ac_cv_type_fsfilcnt_t = yes; then
17133 cat >>confdefs.h
<<_ACEOF
17134 #define HAVE_FSFILCNT_T 1
17140 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17141 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17142 if test "${ac_cv_type_sigset_t+set}" = set; then
17143 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 cat >conftest.
$ac_ext <<_ACEOF
17148 cat confdefs.h
>>conftest.
$ac_ext
17149 cat >>conftest.
$ac_ext <<_ACEOF
17150 /* end confdefs.h. */
17151 #include <signal.h>
17153 typedef sigset_t ac__type_new_;
17157 if ((ac__type_new_ *) 0)
17159 if (sizeof (ac__type_new_))
17165 rm -f conftest.
$ac_objext
17166 if { (ac_try
="$ac_compile"
17167 case "(($ac_try" in
17168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17169 *) ac_try_echo=$ac_try;;
17171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17172 (eval "$ac_compile") 2>conftest.er1
17174 grep -v '^ *+' conftest.er1 >conftest.err
17176 cat conftest.err >&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } && {
17179 test -z "$ac_c_werror_flag" ||
17180 test ! -s conftest.err
17181 } && test -s conftest.$ac_objext; then
17182 ac_cv_type_sigset_t=yes
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.$ac_ext >&5
17187 ac_cv_type_sigset_t=no
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17192 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17193 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17194 if test $ac_cv_type_sigset_t = yes; then
17196 cat >>confdefs.h <<_ACEOF
17197 #define HAVE_SIGSET_T 1
17203 { echo "$as_me:$LINENO: checking for request_sense" >&5
17204 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17205 if test "${ac_cv_type_request_sense+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17208 cat >conftest.$ac_ext <<_ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 #include <linux/cdrom.h>
17216 typedef request_sense ac__type_new_;
17220 if ((ac__type_new_ *) 0)
17222 if (sizeof (ac__type_new_))
17228 rm -f conftest.$ac_objext
17229 if { (ac_try="$ac_compile"
17230 case "(($ac_try" in
17231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17232 *) ac_try_echo
=$ac_try;;
17234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17235 (eval "$ac_compile") 2>conftest.er1
17237 grep -v '^ *+' conftest.er1
>conftest.err
17239 cat conftest.err
>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } && {
17242 test -z "$ac_c_werror_flag" ||
17243 test ! -s conftest.err
17244 } && test -s conftest.
$ac_objext; then
17245 ac_cv_type_request_sense
=yes
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.
$ac_ext >&5
17250 ac_cv_type_request_sense
=no
17253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17255 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17256 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17257 if test $ac_cv_type_request_sense = yes; then
17259 cat >>confdefs.h
<<_ACEOF
17260 #define HAVE_REQUEST_SENSE 1
17267 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17268 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17269 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17270 echo $ECHO_N "(cached) $ECHO_C" >&6
17272 cat >conftest.
$ac_ext <<_ACEOF
17275 cat confdefs.h
>>conftest.
$ac_ext
17276 cat >>conftest.
$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 #ifdef HAVE_LINUX_INPUT_H
17279 #include <linux/input.h>
17285 static struct ff_effect ac_aggr;
17286 if (ac_aggr.direction)
17292 rm -f conftest.
$ac_objext
17293 if { (ac_try
="$ac_compile"
17294 case "(($ac_try" in
17295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17296 *) ac_try_echo=$ac_try;;
17298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17299 (eval "$ac_compile") 2>conftest.er1
17301 grep -v '^ *+' conftest.er1 >conftest.err
17303 cat conftest.err >&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); } && {
17306 test -z "$ac_c_werror_flag" ||
17307 test ! -s conftest.err
17308 } && test -s conftest.$ac_objext; then
17309 ac_cv_member_struct_ff_effect_direction=yes
17311 echo "$as_me: failed program was:" >&5
17312 sed 's/^/| /' conftest.$ac_ext >&5
17314 cat >conftest.$ac_ext <<_ACEOF
17317 cat confdefs.h >>conftest.$ac_ext
17318 cat >>conftest.$ac_ext <<_ACEOF
17319 /* end confdefs.h. */
17320 #ifdef HAVE_LINUX_INPUT_H
17321 #include <linux/input.h>
17327 static struct ff_effect ac_aggr;
17328 if (sizeof ac_aggr.direction)
17334 rm -f conftest.$ac_objext
17335 if { (ac_try="$ac_compile"
17336 case "(($ac_try" in
17337 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17338 *) ac_try_echo
=$ac_try;;
17340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17341 (eval "$ac_compile") 2>conftest.er1
17343 grep -v '^ *+' conftest.er1
>conftest.err
17345 cat conftest.err
>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } && {
17348 test -z "$ac_c_werror_flag" ||
17349 test ! -s conftest.err
17350 } && test -s conftest.
$ac_objext; then
17351 ac_cv_member_struct_ff_effect_direction
=yes
17353 echo "$as_me: failed program was:" >&5
17354 sed 's/^/| /' conftest.
$ac_ext >&5
17356 ac_cv_member_struct_ff_effect_direction
=no
17359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17364 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17365 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17366 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17368 cat >>confdefs.h
<<_ACEOF
17369 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17376 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17377 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17378 if test "${wine_cv_have_sigaddset+set}" = set; then
17379 echo $ECHO_N "(cached) $ECHO_C" >&6
17381 cat >conftest.
$ac_ext <<_ACEOF
17384 cat confdefs.h
>>conftest.
$ac_ext
17385 cat >>conftest.
$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 #include <signal.h>
17391 sigset_t set; sigaddset(&set,SIGTERM);
17396 rm -f conftest.
$ac_objext conftest
$ac_exeext
17397 if { (ac_try
="$ac_link"
17398 case "(($ac_try" in
17399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17400 *) ac_try_echo=$ac_try;;
17402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17403 (eval "$ac_link") 2>conftest.er1
17405 grep -v '^ *+' conftest.er1 >conftest.err
17407 cat conftest.err >&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); } && {
17410 test -z "$ac_c_werror_flag" ||
17411 test ! -s conftest.err
17412 } && test -s conftest$ac_exeext &&
17413 $as_test_x conftest$ac_exeext; then
17414 wine_cv_have_sigaddset=yes
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17419 wine_cv_have_sigaddset=no
17422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17423 conftest$ac_exeext conftest.$ac_ext
17425 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17426 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17427 if test "$wine_cv_have_sigaddset" = "yes"
17430 cat >>confdefs.h <<\_ACEOF
17431 #define HAVE_SIGADDSET 1
17437 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17438 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17439 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17442 cat >conftest.$ac_ext <<_ACEOF
17445 cat confdefs.h >>conftest.$ac_ext
17446 cat >>conftest.$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17455 struct hostent *result;
17462 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17463 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17469 rm -f conftest.$ac_objext conftest$ac_exeext
17470 if { (ac_try="$ac_link"
17471 case "(($ac_try" in
17472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17473 *) ac_try_echo
=$ac_try;;
17475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17476 (eval "$ac_link") 2>conftest.er1
17478 grep -v '^ *+' conftest.er1
>conftest.err
17480 cat conftest.err
>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); } && {
17483 test -z "$ac_c_werror_flag" ||
17484 test ! -s conftest.err
17485 } && test -s conftest
$ac_exeext &&
17486 $as_test_x conftest
$ac_exeext; then
17487 wine_cv_linux_gethostbyname_r_6
=yes
17489 echo "$as_me: failed program was:" >&5
17490 sed 's/^/| /' conftest.
$ac_ext >&5
17492 wine_cv_linux_gethostbyname_r_6
=no
17496 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17497 conftest
$ac_exeext conftest.
$ac_ext
17500 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17501 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17502 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17505 cat >>confdefs.h
<<\_ACEOF
17506 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17511 if test "$ac_cv_header_linux_joystick_h" = "yes"
17513 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17514 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17515 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17516 echo $ECHO_N "(cached) $ECHO_C" >&6
17518 cat >conftest.
$ac_ext <<_ACEOF
17521 cat confdefs.h
>>conftest.
$ac_ext
17522 cat >>conftest.
$ac_ext <<_ACEOF
17523 /* end confdefs.h. */
17525 #include <sys/ioctl.h>
17526 #include <sys/types.h>
17527 #include <linux/joystick.h>
17529 struct js_event blub;
17530 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17531 #error "no 2.2 header"
17542 rm -f conftest.
$ac_objext
17543 if { (ac_try
="$ac_compile"
17544 case "(($ac_try" in
17545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17546 *) ac_try_echo=$ac_try;;
17548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17549 (eval "$ac_compile") 2>conftest.er1
17551 grep -v '^ *+' conftest.er1 >conftest.err
17553 cat conftest.err >&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } && {
17556 test -z "$ac_c_werror_flag" ||
17557 test ! -s conftest.err
17558 } && test -s conftest.$ac_objext; then
17559 wine_cv_linux_joystick_22_api=yes
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.$ac_ext >&5
17564 wine_cv_linux_joystick_22_api=no
17567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17570 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17571 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17572 if test "$wine_cv_linux_joystick_22_api" = "yes"
17575 cat >>confdefs.h <<\_ACEOF
17576 #define HAVE_LINUX_22_JOYSTICK_API 1
17583 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17584 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17585 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17586 echo $ECHO_N "(cached) $ECHO_C" >&6
17588 cat >conftest.$ac_ext <<_ACEOF
17591 cat confdefs.h >>conftest.$ac_ext
17592 cat >>conftest.$ac_ext <<_ACEOF
17593 /* end confdefs.h. */
17594 #include <sys/types.h>
17595 #ifdef HAVE_SYS_PARAM_H
17596 # include <sys/param.h>
17598 #ifdef HAVE_SYS_MOUNT_H
17599 # include <sys/mount.h>
17601 #ifdef HAVE_SYS_VFS_H
17602 # include <sys/vfs.h>
17604 #ifdef HAVE_SYS_STATFS_H
17605 # include <sys/statfs.h>
17611 static struct statfs ac_aggr;
17612 if (ac_aggr.f_bfree)
17618 rm -f conftest.$ac_objext
17619 if { (ac_try="$ac_compile"
17620 case "(($ac_try" in
17621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17622 *) ac_try_echo
=$ac_try;;
17624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17625 (eval "$ac_compile") 2>conftest.er1
17627 grep -v '^ *+' conftest.er1
>conftest.err
17629 cat conftest.err
>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); } && {
17632 test -z "$ac_c_werror_flag" ||
17633 test ! -s conftest.err
17634 } && test -s conftest.
$ac_objext; then
17635 ac_cv_member_struct_statfs_f_bfree
=yes
17637 echo "$as_me: failed program was:" >&5
17638 sed 's/^/| /' conftest.
$ac_ext >&5
17640 cat >conftest.
$ac_ext <<_ACEOF
17643 cat confdefs.h
>>conftest.
$ac_ext
17644 cat >>conftest.
$ac_ext <<_ACEOF
17645 /* end confdefs.h. */
17646 #include <sys/types.h>
17647 #ifdef HAVE_SYS_PARAM_H
17648 # include <sys/param.h>
17650 #ifdef HAVE_SYS_MOUNT_H
17651 # include <sys/mount.h>
17653 #ifdef HAVE_SYS_VFS_H
17654 # include <sys/vfs.h>
17656 #ifdef HAVE_SYS_STATFS_H
17657 # include <sys/statfs.h>
17663 static struct statfs ac_aggr;
17664 if (sizeof ac_aggr.f_bfree)
17670 rm -f conftest.
$ac_objext
17671 if { (ac_try
="$ac_compile"
17672 case "(($ac_try" in
17673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17674 *) ac_try_echo=$ac_try;;
17676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17677 (eval "$ac_compile") 2>conftest.er1
17679 grep -v '^ *+' conftest.er1 >conftest.err
17681 cat conftest.err >&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); } && {
17684 test -z "$ac_c_werror_flag" ||
17685 test ! -s conftest.err
17686 } && test -s conftest.$ac_objext; then
17687 ac_cv_member_struct_statfs_f_bfree=yes
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.$ac_ext >&5
17692 ac_cv_member_struct_statfs_f_bfree=no
17695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17700 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17701 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17702 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17704 cat >>confdefs.h <<_ACEOF
17705 #define HAVE_STRUCT_STATFS_F_BFREE 1
17710 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17711 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17712 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17713 echo $ECHO_N "(cached) $ECHO_C" >&6
17715 cat >conftest.$ac_ext <<_ACEOF
17718 cat confdefs.h >>conftest.$ac_ext
17719 cat >>conftest.$ac_ext <<_ACEOF
17720 /* end confdefs.h. */
17721 #include <sys/types.h>
17722 #ifdef HAVE_SYS_PARAM_H
17723 # include <sys/param.h>
17725 #ifdef HAVE_SYS_MOUNT_H
17726 # include <sys/mount.h>
17728 #ifdef HAVE_SYS_VFS_H
17729 # include <sys/vfs.h>
17731 #ifdef HAVE_SYS_STATFS_H
17732 # include <sys/statfs.h>
17738 static struct statfs ac_aggr;
17739 if (ac_aggr.f_bavail)
17745 rm -f conftest.$ac_objext
17746 if { (ac_try="$ac_compile"
17747 case "(($ac_try" in
17748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17749 *) ac_try_echo
=$ac_try;;
17751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17752 (eval "$ac_compile") 2>conftest.er1
17754 grep -v '^ *+' conftest.er1
>conftest.err
17756 cat conftest.err
>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } && {
17759 test -z "$ac_c_werror_flag" ||
17760 test ! -s conftest.err
17761 } && test -s conftest.
$ac_objext; then
17762 ac_cv_member_struct_statfs_f_bavail
=yes
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.
$ac_ext >&5
17767 cat >conftest.
$ac_ext <<_ACEOF
17770 cat confdefs.h
>>conftest.
$ac_ext
17771 cat >>conftest.
$ac_ext <<_ACEOF
17772 /* end confdefs.h. */
17773 #include <sys/types.h>
17774 #ifdef HAVE_SYS_PARAM_H
17775 # include <sys/param.h>
17777 #ifdef HAVE_SYS_MOUNT_H
17778 # include <sys/mount.h>
17780 #ifdef HAVE_SYS_VFS_H
17781 # include <sys/vfs.h>
17783 #ifdef HAVE_SYS_STATFS_H
17784 # include <sys/statfs.h>
17790 static struct statfs ac_aggr;
17791 if (sizeof ac_aggr.f_bavail)
17797 rm -f conftest.
$ac_objext
17798 if { (ac_try
="$ac_compile"
17799 case "(($ac_try" in
17800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17801 *) ac_try_echo=$ac_try;;
17803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17804 (eval "$ac_compile") 2>conftest.er1
17806 grep -v '^ *+' conftest.er1 >conftest.err
17808 cat conftest.err >&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } && {
17811 test -z "$ac_c_werror_flag" ||
17812 test ! -s conftest.err
17813 } && test -s conftest.$ac_objext; then
17814 ac_cv_member_struct_statfs_f_bavail=yes
17816 echo "$as_me: failed program was:" >&5
17817 sed 's/^/| /' conftest.$ac_ext >&5
17819 ac_cv_member_struct_statfs_f_bavail=no
17822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17827 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17828 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17829 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17831 cat >>confdefs.h <<_ACEOF
17832 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17837 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17838 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17839 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17842 cat >conftest.$ac_ext <<_ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 #include <sys/types.h>
17849 #ifdef HAVE_SYS_PARAM_H
17850 # include <sys/param.h>
17852 #ifdef HAVE_SYS_MOUNT_H
17853 # include <sys/mount.h>
17855 #ifdef HAVE_SYS_VFS_H
17856 # include <sys/vfs.h>
17858 #ifdef HAVE_SYS_STATFS_H
17859 # include <sys/statfs.h>
17865 static struct statfs ac_aggr;
17866 if (ac_aggr.f_frsize)
17872 rm -f conftest.$ac_objext
17873 if { (ac_try="$ac_compile"
17874 case "(($ac_try" in
17875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17876 *) ac_try_echo
=$ac_try;;
17878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17879 (eval "$ac_compile") 2>conftest.er1
17881 grep -v '^ *+' conftest.er1
>conftest.err
17883 cat conftest.err
>&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); } && {
17886 test -z "$ac_c_werror_flag" ||
17887 test ! -s conftest.err
17888 } && test -s conftest.
$ac_objext; then
17889 ac_cv_member_struct_statfs_f_frsize
=yes
17891 echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.
$ac_ext >&5
17894 cat >conftest.
$ac_ext <<_ACEOF
17897 cat confdefs.h
>>conftest.
$ac_ext
17898 cat >>conftest.
$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900 #include <sys/types.h>
17901 #ifdef HAVE_SYS_PARAM_H
17902 # include <sys/param.h>
17904 #ifdef HAVE_SYS_MOUNT_H
17905 # include <sys/mount.h>
17907 #ifdef HAVE_SYS_VFS_H
17908 # include <sys/vfs.h>
17910 #ifdef HAVE_SYS_STATFS_H
17911 # include <sys/statfs.h>
17917 static struct statfs ac_aggr;
17918 if (sizeof ac_aggr.f_frsize)
17924 rm -f conftest.
$ac_objext
17925 if { (ac_try
="$ac_compile"
17926 case "(($ac_try" in
17927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17928 *) ac_try_echo=$ac_try;;
17930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17931 (eval "$ac_compile") 2>conftest.er1
17933 grep -v '^ *+' conftest.er1 >conftest.err
17935 cat conftest.err >&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } && {
17938 test -z "$ac_c_werror_flag" ||
17939 test ! -s conftest.err
17940 } && test -s conftest.$ac_objext; then
17941 ac_cv_member_struct_statfs_f_frsize=yes
17943 echo "$as_me: failed program was:" >&5
17944 sed 's/^/| /' conftest.$ac_ext >&5
17946 ac_cv_member_struct_statfs_f_frsize=no
17949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17954 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17955 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17956 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17958 cat >>confdefs.h <<_ACEOF
17959 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17964 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17965 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17966 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17969 cat >conftest.$ac_ext <<_ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17975 #include <sys/types.h>
17976 #ifdef HAVE_SYS_PARAM_H
17977 # include <sys/param.h>
17979 #ifdef HAVE_SYS_MOUNT_H
17980 # include <sys/mount.h>
17982 #ifdef HAVE_SYS_VFS_H
17983 # include <sys/vfs.h>
17985 #ifdef HAVE_SYS_STATFS_H
17986 # include <sys/statfs.h>
17992 static struct statfs ac_aggr;
17993 if (ac_aggr.f_ffree)
17999 rm -f conftest.$ac_objext
18000 if { (ac_try="$ac_compile"
18001 case "(($ac_try" in
18002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18003 *) ac_try_echo
=$ac_try;;
18005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18006 (eval "$ac_compile") 2>conftest.er1
18008 grep -v '^ *+' conftest.er1
>conftest.err
18010 cat conftest.err
>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } && {
18013 test -z "$ac_c_werror_flag" ||
18014 test ! -s conftest.err
18015 } && test -s conftest.
$ac_objext; then
18016 ac_cv_member_struct_statfs_f_ffree
=yes
18018 echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.
$ac_ext >&5
18021 cat >conftest.
$ac_ext <<_ACEOF
18024 cat confdefs.h
>>conftest.
$ac_ext
18025 cat >>conftest.
$ac_ext <<_ACEOF
18026 /* end confdefs.h. */
18027 #include <sys/types.h>
18028 #ifdef HAVE_SYS_PARAM_H
18029 # include <sys/param.h>
18031 #ifdef HAVE_SYS_MOUNT_H
18032 # include <sys/mount.h>
18034 #ifdef HAVE_SYS_VFS_H
18035 # include <sys/vfs.h>
18037 #ifdef HAVE_SYS_STATFS_H
18038 # include <sys/statfs.h>
18044 static struct statfs ac_aggr;
18045 if (sizeof ac_aggr.f_ffree)
18051 rm -f conftest.
$ac_objext
18052 if { (ac_try
="$ac_compile"
18053 case "(($ac_try" in
18054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18055 *) ac_try_echo=$ac_try;;
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18058 (eval "$ac_compile") 2>conftest.er1
18060 grep -v '^ *+' conftest.er1 >conftest.err
18062 cat conftest.err >&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } && {
18065 test -z "$ac_c_werror_flag" ||
18066 test ! -s conftest.err
18067 } && test -s conftest.$ac_objext; then
18068 ac_cv_member_struct_statfs_f_ffree=yes
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.$ac_ext >&5
18073 ac_cv_member_struct_statfs_f_ffree=no
18076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18081 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18082 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18083 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18085 cat >>confdefs.h <<_ACEOF
18086 #define HAVE_STRUCT_STATFS_F_FFREE 1
18091 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18092 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18093 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 cat >conftest.$ac_ext <<_ACEOF
18099 cat confdefs.h >>conftest.$ac_ext
18100 cat >>conftest.$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18102 #include <sys/types.h>
18103 #ifdef HAVE_SYS_PARAM_H
18104 # include <sys/param.h>
18106 #ifdef HAVE_SYS_MOUNT_H
18107 # include <sys/mount.h>
18109 #ifdef HAVE_SYS_VFS_H
18110 # include <sys/vfs.h>
18112 #ifdef HAVE_SYS_STATFS_H
18113 # include <sys/statfs.h>
18119 static struct statfs ac_aggr;
18120 if (ac_aggr.f_favail)
18126 rm -f conftest.$ac_objext
18127 if { (ac_try="$ac_compile"
18128 case "(($ac_try" in
18129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18130 *) ac_try_echo
=$ac_try;;
18132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18133 (eval "$ac_compile") 2>conftest.er1
18135 grep -v '^ *+' conftest.er1
>conftest.err
18137 cat conftest.err
>&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } && {
18140 test -z "$ac_c_werror_flag" ||
18141 test ! -s conftest.err
18142 } && test -s conftest.
$ac_objext; then
18143 ac_cv_member_struct_statfs_f_favail
=yes
18145 echo "$as_me: failed program was:" >&5
18146 sed 's/^/| /' conftest.
$ac_ext >&5
18148 cat >conftest.
$ac_ext <<_ACEOF
18151 cat confdefs.h
>>conftest.
$ac_ext
18152 cat >>conftest.
$ac_ext <<_ACEOF
18153 /* end confdefs.h. */
18154 #include <sys/types.h>
18155 #ifdef HAVE_SYS_PARAM_H
18156 # include <sys/param.h>
18158 #ifdef HAVE_SYS_MOUNT_H
18159 # include <sys/mount.h>
18161 #ifdef HAVE_SYS_VFS_H
18162 # include <sys/vfs.h>
18164 #ifdef HAVE_SYS_STATFS_H
18165 # include <sys/statfs.h>
18171 static struct statfs ac_aggr;
18172 if (sizeof ac_aggr.f_favail)
18178 rm -f conftest.
$ac_objext
18179 if { (ac_try
="$ac_compile"
18180 case "(($ac_try" in
18181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18182 *) ac_try_echo=$ac_try;;
18184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18185 (eval "$ac_compile") 2>conftest.er1
18187 grep -v '^ *+' conftest.er1 >conftest.err
18189 cat conftest.err >&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } && {
18192 test -z "$ac_c_werror_flag" ||
18193 test ! -s conftest.err
18194 } && test -s conftest.$ac_objext; then
18195 ac_cv_member_struct_statfs_f_favail=yes
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.$ac_ext >&5
18200 ac_cv_member_struct_statfs_f_favail=no
18203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18208 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18209 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18210 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18212 cat >>confdefs.h <<_ACEOF
18213 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18218 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18219 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18220 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18221 echo $ECHO_N "(cached) $ECHO_C" >&6
18223 cat >conftest.$ac_ext <<_ACEOF
18226 cat confdefs.h >>conftest.$ac_ext
18227 cat >>conftest.$ac_ext <<_ACEOF
18228 /* end confdefs.h. */
18229 #include <sys/types.h>
18230 #ifdef HAVE_SYS_PARAM_H
18231 # include <sys/param.h>
18233 #ifdef HAVE_SYS_MOUNT_H
18234 # include <sys/mount.h>
18236 #ifdef HAVE_SYS_VFS_H
18237 # include <sys/vfs.h>
18239 #ifdef HAVE_SYS_STATFS_H
18240 # include <sys/statfs.h>
18246 static struct statfs ac_aggr;
18247 if (ac_aggr.f_namelen)
18253 rm -f conftest.$ac_objext
18254 if { (ac_try="$ac_compile"
18255 case "(($ac_try" in
18256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18257 *) ac_try_echo
=$ac_try;;
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_compile") 2>conftest.er1
18262 grep -v '^ *+' conftest.er1
>conftest.err
18264 cat conftest.err
>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_c_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest.
$ac_objext; then
18270 ac_cv_member_struct_statfs_f_namelen
=yes
18272 echo "$as_me: failed program was:" >&5
18273 sed 's/^/| /' conftest.
$ac_ext >&5
18275 cat >conftest.
$ac_ext <<_ACEOF
18278 cat confdefs.h
>>conftest.
$ac_ext
18279 cat >>conftest.
$ac_ext <<_ACEOF
18280 /* end confdefs.h. */
18281 #include <sys/types.h>
18282 #ifdef HAVE_SYS_PARAM_H
18283 # include <sys/param.h>
18285 #ifdef HAVE_SYS_MOUNT_H
18286 # include <sys/mount.h>
18288 #ifdef HAVE_SYS_VFS_H
18289 # include <sys/vfs.h>
18291 #ifdef HAVE_SYS_STATFS_H
18292 # include <sys/statfs.h>
18298 static struct statfs ac_aggr;
18299 if (sizeof ac_aggr.f_namelen)
18305 rm -f conftest.
$ac_objext
18306 if { (ac_try
="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18314 grep -v '^ *+' conftest.er1 >conftest.err
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_c_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 ac_cv_member_struct_statfs_f_namelen=yes
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18327 ac_cv_member_struct_statfs_f_namelen=no
18330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18336 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18337 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18339 cat >>confdefs.h <<_ACEOF
18340 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18347 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18348 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18349 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18350 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 cat >conftest.$ac_ext <<_ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358 #ifdef HAVE_SYS_STATVFS_H
18359 #include <sys/statvfs.h>
18365 static struct statvfs ac_aggr;
18366 if (ac_aggr.f_blocks)
18372 rm -f conftest.$ac_objext
18373 if { (ac_try="$ac_compile"
18374 case "(($ac_try" in
18375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18376 *) ac_try_echo
=$ac_try;;
18378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18379 (eval "$ac_compile") 2>conftest.er1
18381 grep -v '^ *+' conftest.er1
>conftest.err
18383 cat conftest.err
>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } && {
18386 test -z "$ac_c_werror_flag" ||
18387 test ! -s conftest.err
18388 } && test -s conftest.
$ac_objext; then
18389 ac_cv_member_struct_statvfs_f_blocks
=yes
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.
$ac_ext >&5
18394 cat >conftest.
$ac_ext <<_ACEOF
18397 cat confdefs.h
>>conftest.
$ac_ext
18398 cat >>conftest.
$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18400 #ifdef HAVE_SYS_STATVFS_H
18401 #include <sys/statvfs.h>
18407 static struct statvfs ac_aggr;
18408 if (sizeof ac_aggr.f_blocks)
18414 rm -f conftest.
$ac_objext
18415 if { (ac_try
="$ac_compile"
18416 case "(($ac_try" in
18417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18418 *) ac_try_echo=$ac_try;;
18420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18421 (eval "$ac_compile") 2>conftest.er1
18423 grep -v '^ *+' conftest.er1 >conftest.err
18425 cat conftest.err >&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); } && {
18428 test -z "$ac_c_werror_flag" ||
18429 test ! -s conftest.err
18430 } && test -s conftest.$ac_objext; then
18431 ac_cv_member_struct_statvfs_f_blocks=yes
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.$ac_ext >&5
18436 ac_cv_member_struct_statvfs_f_blocks=no
18439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18444 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18445 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18446 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18448 cat >>confdefs.h <<_ACEOF
18449 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18456 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18457 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18458 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18459 echo $ECHO_N "(cached) $ECHO_C" >&6
18461 cat >conftest.$ac_ext <<_ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18467 #include <sys/types.h>
18468 #ifdef HAVE_SYS_SOCKET_H
18469 # include <sys/socket.h>
18471 #ifdef HAVE_SYS_UN_H
18472 # include <sys/un.h>
18478 static struct msghdr ac_aggr;
18479 if (ac_aggr.msg_accrights)
18485 rm -f conftest.$ac_objext
18486 if { (ac_try="$ac_compile"
18487 case "(($ac_try" in
18488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18489 *) ac_try_echo
=$ac_try;;
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_compile") 2>conftest.er1
18494 grep -v '^ *+' conftest.er1
>conftest.err
18496 cat conftest.err
>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } && {
18499 test -z "$ac_c_werror_flag" ||
18500 test ! -s conftest.err
18501 } && test -s conftest.
$ac_objext; then
18502 ac_cv_member_struct_msghdr_msg_accrights
=yes
18504 echo "$as_me: failed program was:" >&5
18505 sed 's/^/| /' conftest.
$ac_ext >&5
18507 cat >conftest.
$ac_ext <<_ACEOF
18510 cat confdefs.h
>>conftest.
$ac_ext
18511 cat >>conftest.
$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18513 #include <sys/types.h>
18514 #ifdef HAVE_SYS_SOCKET_H
18515 # include <sys/socket.h>
18517 #ifdef HAVE_SYS_UN_H
18518 # include <sys/un.h>
18524 static struct msghdr ac_aggr;
18525 if (sizeof ac_aggr.msg_accrights)
18531 rm -f conftest.
$ac_objext
18532 if { (ac_try
="$ac_compile"
18533 case "(($ac_try" in
18534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18535 *) ac_try_echo=$ac_try;;
18537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18538 (eval "$ac_compile") 2>conftest.er1
18540 grep -v '^ *+' conftest.er1 >conftest.err
18542 cat conftest.err >&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } && {
18545 test -z "$ac_c_werror_flag" ||
18546 test ! -s conftest.err
18547 } && test -s conftest.$ac_objext; then
18548 ac_cv_member_struct_msghdr_msg_accrights=yes
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.$ac_ext >&5
18553 ac_cv_member_struct_msghdr_msg_accrights=no
18556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18561 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18562 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18563 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18565 cat >>confdefs.h <<_ACEOF
18566 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18571 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18572 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18573 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 cat >conftest.$ac_ext <<_ACEOF
18579 cat confdefs.h >>conftest.$ac_ext
18580 cat >>conftest.$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 #include <sys/types.h>
18583 #ifdef HAVE_SYS_SOCKET_H
18584 # include <sys/socket.h>
18586 #ifdef HAVE_SYS_UN_H
18587 # include <sys/un.h>
18593 static struct sockaddr ac_aggr;
18594 if (ac_aggr.sa_len)
18600 rm -f conftest.$ac_objext
18601 if { (ac_try="$ac_compile"
18602 case "(($ac_try" in
18603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18604 *) ac_try_echo
=$ac_try;;
18606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18607 (eval "$ac_compile") 2>conftest.er1
18609 grep -v '^ *+' conftest.er1
>conftest.err
18611 cat conftest.err
>&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } && {
18614 test -z "$ac_c_werror_flag" ||
18615 test ! -s conftest.err
18616 } && test -s conftest.
$ac_objext; then
18617 ac_cv_member_struct_sockaddr_sa_len
=yes
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.
$ac_ext >&5
18622 cat >conftest.
$ac_ext <<_ACEOF
18625 cat confdefs.h
>>conftest.
$ac_ext
18626 cat >>conftest.
$ac_ext <<_ACEOF
18627 /* end confdefs.h. */
18628 #include <sys/types.h>
18629 #ifdef HAVE_SYS_SOCKET_H
18630 # include <sys/socket.h>
18632 #ifdef HAVE_SYS_UN_H
18633 # include <sys/un.h>
18639 static struct sockaddr ac_aggr;
18640 if (sizeof ac_aggr.sa_len)
18646 rm -f conftest.
$ac_objext
18647 if { (ac_try
="$ac_compile"
18648 case "(($ac_try" in
18649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18650 *) ac_try_echo=$ac_try;;
18652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_compile") 2>conftest.er1
18655 grep -v '^ *+' conftest.er1 >conftest.err
18657 cat conftest.err >&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } && {
18660 test -z "$ac_c_werror_flag" ||
18661 test ! -s conftest.err
18662 } && test -s conftest.$ac_objext; then
18663 ac_cv_member_struct_sockaddr_sa_len=yes
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.$ac_ext >&5
18668 ac_cv_member_struct_sockaddr_sa_len=no
18671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18676 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18677 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18678 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18680 cat >>confdefs.h <<_ACEOF
18681 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18686 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18687 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18688 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18689 echo $ECHO_N "(cached) $ECHO_C" >&6
18691 cat >conftest.$ac_ext <<_ACEOF
18694 cat confdefs.h >>conftest.$ac_ext
18695 cat >>conftest.$ac_ext <<_ACEOF
18696 /* end confdefs.h. */
18697 #include <sys/types.h>
18698 #ifdef HAVE_SYS_SOCKET_H
18699 # include <sys/socket.h>
18701 #ifdef HAVE_SYS_UN_H
18702 # include <sys/un.h>
18708 static struct sockaddr_un ac_aggr;
18709 if (ac_aggr.sun_len)
18715 rm -f conftest.$ac_objext
18716 if { (ac_try="$ac_compile"
18717 case "(($ac_try" in
18718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18719 *) ac_try_echo
=$ac_try;;
18721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18722 (eval "$ac_compile") 2>conftest.er1
18724 grep -v '^ *+' conftest.er1
>conftest.err
18726 cat conftest.err
>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } && {
18729 test -z "$ac_c_werror_flag" ||
18730 test ! -s conftest.err
18731 } && test -s conftest.
$ac_objext; then
18732 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18734 echo "$as_me: failed program was:" >&5
18735 sed 's/^/| /' conftest.
$ac_ext >&5
18737 cat >conftest.
$ac_ext <<_ACEOF
18740 cat confdefs.h
>>conftest.
$ac_ext
18741 cat >>conftest.
$ac_ext <<_ACEOF
18742 /* end confdefs.h. */
18743 #include <sys/types.h>
18744 #ifdef HAVE_SYS_SOCKET_H
18745 # include <sys/socket.h>
18747 #ifdef HAVE_SYS_UN_H
18748 # include <sys/un.h>
18754 static struct sockaddr_un ac_aggr;
18755 if (sizeof ac_aggr.sun_len)
18761 rm -f conftest.
$ac_objext
18762 if { (ac_try
="$ac_compile"
18763 case "(($ac_try" in
18764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18765 *) ac_try_echo=$ac_try;;
18767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18768 (eval "$ac_compile") 2>conftest.er1
18770 grep -v '^ *+' conftest.er1 >conftest.err
18772 cat conftest.err >&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); } && {
18775 test -z "$ac_c_werror_flag" ||
18776 test ! -s conftest.err
18777 } && test -s conftest.$ac_objext; then
18778 ac_cv_member_struct_sockaddr_un_sun_len=yes
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18783 ac_cv_member_struct_sockaddr_un_sun_len=no
18786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18792 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18793 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18795 cat >>confdefs.h <<_ACEOF
18796 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18803 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18804 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18805 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18806 echo $ECHO_N "(cached) $ECHO_C" >&6
18808 cat >conftest.$ac_ext <<_ACEOF
18811 cat confdefs.h >>conftest.$ac_ext
18812 cat >>conftest.$ac_ext <<_ACEOF
18813 /* end confdefs.h. */
18814 #include <sys/types.h>
18815 #ifdef HAVE_SCSI_SG_H
18816 #include <scsi/sg.h>
18822 static scsireq_t ac_aggr;
18829 rm -f conftest.$ac_objext
18830 if { (ac_try="$ac_compile"
18831 case "(($ac_try" in
18832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18833 *) ac_try_echo
=$ac_try;;
18835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18836 (eval "$ac_compile") 2>conftest.er1
18838 grep -v '^ *+' conftest.er1
>conftest.err
18840 cat conftest.err
>&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } && {
18843 test -z "$ac_c_werror_flag" ||
18844 test ! -s conftest.err
18845 } && test -s conftest.
$ac_objext; then
18846 ac_cv_member_scsireq_t_cmd
=yes
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.
$ac_ext >&5
18851 cat >conftest.
$ac_ext <<_ACEOF
18854 cat confdefs.h
>>conftest.
$ac_ext
18855 cat >>conftest.
$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857 #include <sys/types.h>
18858 #ifdef HAVE_SCSI_SG_H
18859 #include <scsi/sg.h>
18865 static scsireq_t ac_aggr;
18866 if (sizeof ac_aggr.cmd)
18872 rm -f conftest.
$ac_objext
18873 if { (ac_try
="$ac_compile"
18874 case "(($ac_try" in
18875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18876 *) ac_try_echo=$ac_try;;
18878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18879 (eval "$ac_compile") 2>conftest.er1
18881 grep -v '^ *+' conftest.er1 >conftest.err
18883 cat conftest.err >&5
18884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18885 (exit $ac_status); } && {
18886 test -z "$ac_c_werror_flag" ||
18887 test ! -s conftest.err
18888 } && test -s conftest.$ac_objext; then
18889 ac_cv_member_scsireq_t_cmd=yes
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.$ac_ext >&5
18894 ac_cv_member_scsireq_t_cmd=no
18897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18902 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18903 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18904 if test $ac_cv_member_scsireq_t_cmd = yes; then
18906 cat >>confdefs.h <<_ACEOF
18907 #define HAVE_SCSIREQ_T_CMD 1
18912 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18913 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18914 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18915 echo $ECHO_N "(cached) $ECHO_C" >&6
18917 cat >conftest.$ac_ext <<_ACEOF
18920 cat confdefs.h >>conftest.$ac_ext
18921 cat >>conftest.$ac_ext <<_ACEOF
18922 /* end confdefs.h. */
18923 #include <sys/types.h>
18924 #ifdef HAVE_SCSI_SG_H
18925 #include <scsi/sg.h>
18931 static sg_io_hdr_t ac_aggr;
18932 if (ac_aggr.interface_id)
18938 rm -f conftest.$ac_objext
18939 if { (ac_try="$ac_compile"
18940 case "(($ac_try" in
18941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18942 *) ac_try_echo
=$ac_try;;
18944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18945 (eval "$ac_compile") 2>conftest.er1
18947 grep -v '^ *+' conftest.er1
>conftest.err
18949 cat conftest.err
>&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); } && {
18952 test -z "$ac_c_werror_flag" ||
18953 test ! -s conftest.err
18954 } && test -s conftest.
$ac_objext; then
18955 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18957 echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.
$ac_ext >&5
18960 cat >conftest.
$ac_ext <<_ACEOF
18963 cat confdefs.h
>>conftest.
$ac_ext
18964 cat >>conftest.
$ac_ext <<_ACEOF
18965 /* end confdefs.h. */
18966 #include <sys/types.h>
18967 #ifdef HAVE_SCSI_SG_H
18968 #include <scsi/sg.h>
18974 static sg_io_hdr_t ac_aggr;
18975 if (sizeof ac_aggr.interface_id)
18981 rm -f conftest.
$ac_objext
18982 if { (ac_try
="$ac_compile"
18983 case "(($ac_try" in
18984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18985 *) ac_try_echo=$ac_try;;
18987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18988 (eval "$ac_compile") 2>conftest.er1
18990 grep -v '^ *+' conftest.er1 >conftest.err
18992 cat conftest.err >&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); } && {
18995 test -z "$ac_c_werror_flag" ||
18996 test ! -s conftest.err
18997 } && test -s conftest.$ac_objext; then
18998 ac_cv_member_sg_io_hdr_t_interface_id=yes
19000 echo "$as_me: failed program was:" >&5
19001 sed 's/^/| /' conftest.$ac_ext >&5
19003 ac_cv_member_sg_io_hdr_t_interface_id=no
19006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19011 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19012 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19013 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19015 cat >>confdefs.h <<_ACEOF
19016 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19023 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19024 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19025 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19028 cat >conftest.$ac_ext <<_ACEOF
19031 cat confdefs.h >>conftest.$ac_ext
19032 cat >>conftest.$ac_ext <<_ACEOF
19033 /* end confdefs.h. */
19034 #include <signal.h>
19039 static siginfo_t ac_aggr;
19046 rm -f conftest.$ac_objext
19047 if { (ac_try="$ac_compile"
19048 case "(($ac_try" in
19049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19050 *) ac_try_echo
=$ac_try;;
19052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19053 (eval "$ac_compile") 2>conftest.er1
19055 grep -v '^ *+' conftest.er1
>conftest.err
19057 cat conftest.err
>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } && {
19060 test -z "$ac_c_werror_flag" ||
19061 test ! -s conftest.err
19062 } && test -s conftest.
$ac_objext; then
19063 ac_cv_member_siginfo_t_si_fd
=yes
19065 echo "$as_me: failed program was:" >&5
19066 sed 's/^/| /' conftest.
$ac_ext >&5
19068 cat >conftest.
$ac_ext <<_ACEOF
19071 cat confdefs.h
>>conftest.
$ac_ext
19072 cat >>conftest.
$ac_ext <<_ACEOF
19073 /* end confdefs.h. */
19074 #include <signal.h>
19079 static siginfo_t ac_aggr;
19080 if (sizeof ac_aggr.si_fd)
19086 rm -f conftest.
$ac_objext
19087 if { (ac_try
="$ac_compile"
19088 case "(($ac_try" in
19089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19090 *) ac_try_echo=$ac_try;;
19092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19093 (eval "$ac_compile") 2>conftest.er1
19095 grep -v '^ *+' conftest.er1 >conftest.err
19097 cat conftest.err >&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } && {
19100 test -z "$ac_c_werror_flag" ||
19101 test ! -s conftest.err
19102 } && test -s conftest.$ac_objext; then
19103 ac_cv_member_siginfo_t_si_fd=yes
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.$ac_ext >&5
19108 ac_cv_member_siginfo_t_si_fd=no
19111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19116 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19117 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19118 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_SIGINFO_T_SI_FD 1
19128 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19129 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19130 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19131 echo $ECHO_N "(cached) $ECHO_C" >&6
19133 cat >conftest.$ac_ext <<_ACEOF
19136 cat confdefs.h >>conftest.$ac_ext
19137 cat >>conftest.$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 #include <sys/types.h>
19140 #ifdef HAVE_SYS_MTIO_H
19141 #include <sys/mtio.h>
19147 static struct mtget ac_aggr;
19148 if (ac_aggr.mt_blksiz)
19154 rm -f conftest.$ac_objext
19155 if { (ac_try="$ac_compile"
19156 case "(($ac_try" in
19157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19158 *) ac_try_echo
=$ac_try;;
19160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19161 (eval "$ac_compile") 2>conftest.er1
19163 grep -v '^ *+' conftest.er1
>conftest.err
19165 cat conftest.err
>&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); } && {
19168 test -z "$ac_c_werror_flag" ||
19169 test ! -s conftest.err
19170 } && test -s conftest.
$ac_objext; then
19171 ac_cv_member_struct_mtget_mt_blksiz
=yes
19173 echo "$as_me: failed program was:" >&5
19174 sed 's/^/| /' conftest.
$ac_ext >&5
19176 cat >conftest.
$ac_ext <<_ACEOF
19179 cat confdefs.h
>>conftest.
$ac_ext
19180 cat >>conftest.
$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182 #include <sys/types.h>
19183 #ifdef HAVE_SYS_MTIO_H
19184 #include <sys/mtio.h>
19190 static struct mtget ac_aggr;
19191 if (sizeof ac_aggr.mt_blksiz)
19197 rm -f conftest.
$ac_objext
19198 if { (ac_try
="$ac_compile"
19199 case "(($ac_try" in
19200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19201 *) ac_try_echo=$ac_try;;
19203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19204 (eval "$ac_compile") 2>conftest.er1
19206 grep -v '^ *+' conftest.er1 >conftest.err
19208 cat conftest.err >&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); } && {
19211 test -z "$ac_c_werror_flag" ||
19212 test ! -s conftest.err
19213 } && test -s conftest.$ac_objext; then
19214 ac_cv_member_struct_mtget_mt_blksiz=yes
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.$ac_ext >&5
19219 ac_cv_member_struct_mtget_mt_blksiz=no
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19227 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19228 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19229 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19231 cat >>confdefs.h <<_ACEOF
19232 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19237 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19238 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19239 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19240 echo $ECHO_N "(cached) $ECHO_C" >&6
19242 cat >conftest.$ac_ext <<_ACEOF
19245 cat confdefs.h >>conftest.$ac_ext
19246 cat >>conftest.$ac_ext <<_ACEOF
19247 /* end confdefs.h. */
19248 #include <sys/types.h>
19249 #ifdef HAVE_SYS_MTIO_H
19250 #include <sys/mtio.h>
19256 static struct mtget ac_aggr;
19257 if (ac_aggr.mt_gstat)
19263 rm -f conftest.$ac_objext
19264 if { (ac_try="$ac_compile"
19265 case "(($ac_try" in
19266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19267 *) ac_try_echo
=$ac_try;;
19269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19270 (eval "$ac_compile") 2>conftest.er1
19272 grep -v '^ *+' conftest.er1
>conftest.err
19274 cat conftest.err
>&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } && {
19277 test -z "$ac_c_werror_flag" ||
19278 test ! -s conftest.err
19279 } && test -s conftest.
$ac_objext; then
19280 ac_cv_member_struct_mtget_mt_gstat
=yes
19282 echo "$as_me: failed program was:" >&5
19283 sed 's/^/| /' conftest.
$ac_ext >&5
19285 cat >conftest.
$ac_ext <<_ACEOF
19288 cat confdefs.h
>>conftest.
$ac_ext
19289 cat >>conftest.
$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19291 #include <sys/types.h>
19292 #ifdef HAVE_SYS_MTIO_H
19293 #include <sys/mtio.h>
19299 static struct mtget ac_aggr;
19300 if (sizeof ac_aggr.mt_gstat)
19306 rm -f conftest.
$ac_objext
19307 if { (ac_try
="$ac_compile"
19308 case "(($ac_try" in
19309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19310 *) ac_try_echo=$ac_try;;
19312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19313 (eval "$ac_compile") 2>conftest.er1
19315 grep -v '^ *+' conftest.er1 >conftest.err
19317 cat conftest.err >&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } && {
19320 test -z "$ac_c_werror_flag" ||
19321 test ! -s conftest.err
19322 } && test -s conftest.$ac_objext; then
19323 ac_cv_member_struct_mtget_mt_gstat=yes
19325 echo "$as_me: failed program was:" >&5
19326 sed 's/^/| /' conftest.$ac_ext >&5
19328 ac_cv_member_struct_mtget_mt_gstat=no
19331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19336 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19337 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19338 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19340 cat >>confdefs.h <<_ACEOF
19341 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19346 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19347 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19348 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19351 cat >conftest.$ac_ext <<_ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 #include <sys/types.h>
19358 #ifdef HAVE_SYS_MTIO_H
19359 #include <sys/mtio.h>
19365 static struct mtget ac_aggr;
19366 if (ac_aggr.mt_blkno)
19372 rm -f conftest.$ac_objext
19373 if { (ac_try="$ac_compile"
19374 case "(($ac_try" in
19375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19376 *) ac_try_echo
=$ac_try;;
19378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19379 (eval "$ac_compile") 2>conftest.er1
19381 grep -v '^ *+' conftest.er1
>conftest.err
19383 cat conftest.err
>&5
19384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19385 (exit $ac_status); } && {
19386 test -z "$ac_c_werror_flag" ||
19387 test ! -s conftest.err
19388 } && test -s conftest.
$ac_objext; then
19389 ac_cv_member_struct_mtget_mt_blkno
=yes
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.
$ac_ext >&5
19394 cat >conftest.
$ac_ext <<_ACEOF
19397 cat confdefs.h
>>conftest.
$ac_ext
19398 cat >>conftest.
$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19400 #include <sys/types.h>
19401 #ifdef HAVE_SYS_MTIO_H
19402 #include <sys/mtio.h>
19408 static struct mtget ac_aggr;
19409 if (sizeof ac_aggr.mt_blkno)
19415 rm -f conftest.
$ac_objext
19416 if { (ac_try
="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19424 grep -v '^ *+' conftest.er1 >conftest.err
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.$ac_objext; then
19432 ac_cv_member_struct_mtget_mt_blkno=yes
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19437 ac_cv_member_struct_mtget_mt_blkno=no
19440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19445 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19446 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19447 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19449 cat >>confdefs.h <<_ACEOF
19450 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19457 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19458 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19459 if test "${ac_cv_member_struct_option_name+set}" = set; then
19460 echo $ECHO_N "(cached) $ECHO_C" >&6
19462 cat >conftest.$ac_ext <<_ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 #ifdef HAVE_GETOPT_H
19469 #include <getopt.h>
19475 static struct option ac_aggr;
19482 rm -f conftest.$ac_objext
19483 if { (ac_try="$ac_compile"
19484 case "(($ac_try" in
19485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19486 *) ac_try_echo
=$ac_try;;
19488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19489 (eval "$ac_compile") 2>conftest.er1
19491 grep -v '^ *+' conftest.er1
>conftest.err
19493 cat conftest.err
>&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); } && {
19496 test -z "$ac_c_werror_flag" ||
19497 test ! -s conftest.err
19498 } && test -s conftest.
$ac_objext; then
19499 ac_cv_member_struct_option_name
=yes
19501 echo "$as_me: failed program was:" >&5
19502 sed 's/^/| /' conftest.
$ac_ext >&5
19504 cat >conftest.
$ac_ext <<_ACEOF
19507 cat confdefs.h
>>conftest.
$ac_ext
19508 cat >>conftest.
$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19510 #ifdef HAVE_GETOPT_H
19511 #include <getopt.h>
19517 static struct option ac_aggr;
19518 if (sizeof ac_aggr.name)
19524 rm -f conftest.
$ac_objext
19525 if { (ac_try
="$ac_compile"
19526 case "(($ac_try" in
19527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19528 *) ac_try_echo=$ac_try;;
19530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19531 (eval "$ac_compile") 2>conftest.er1
19533 grep -v '^ *+' conftest.er1 >conftest.err
19535 cat conftest.err >&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); } && {
19538 test -z "$ac_c_werror_flag" ||
19539 test ! -s conftest.err
19540 } && test -s conftest.$ac_objext; then
19541 ac_cv_member_struct_option_name=yes
19543 echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.$ac_ext >&5
19546 ac_cv_member_struct_option_name=no
19549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19554 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19555 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19556 if test $ac_cv_member_struct_option_name = yes; then
19558 cat >>confdefs.h <<_ACEOF
19559 #define HAVE_STRUCT_OPTION_NAME 1
19566 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19567 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19568 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19569 echo $ECHO_N "(cached) $ECHO_C" >&6
19571 cat >conftest.$ac_ext <<_ACEOF
19574 cat confdefs.h >>conftest.$ac_ext
19575 cat >>conftest.$ac_ext <<_ACEOF
19576 /* end confdefs.h. */
19577 $ac_includes_default
19581 static struct stat ac_aggr;
19582 if (ac_aggr.st_blocks)
19588 rm -f conftest.$ac_objext
19589 if { (ac_try="$ac_compile"
19590 case "(($ac_try" in
19591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19592 *) ac_try_echo
=$ac_try;;
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_compile") 2>conftest.er1
19597 grep -v '^ *+' conftest.er1
>conftest.err
19599 cat conftest.err
>&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && {
19602 test -z "$ac_c_werror_flag" ||
19603 test ! -s conftest.err
19604 } && test -s conftest.
$ac_objext; then
19605 ac_cv_member_struct_stat_st_blocks
=yes
19607 echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.
$ac_ext >&5
19610 cat >conftest.
$ac_ext <<_ACEOF
19613 cat confdefs.h
>>conftest.
$ac_ext
19614 cat >>conftest.
$ac_ext <<_ACEOF
19615 /* end confdefs.h. */
19616 $ac_includes_default
19620 static struct stat ac_aggr;
19621 if (sizeof ac_aggr.st_blocks)
19627 rm -f conftest.
$ac_objext
19628 if { (ac_try
="$ac_compile"
19629 case "(($ac_try" in
19630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19631 *) ac_try_echo=$ac_try;;
19633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19634 (eval "$ac_compile") 2>conftest.er1
19636 grep -v '^ *+' conftest.er1 >conftest.err
19638 cat conftest.err >&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); } && {
19641 test -z "$ac_c_werror_flag" ||
19642 test ! -s conftest.err
19643 } && test -s conftest.$ac_objext; then
19644 ac_cv_member_struct_stat_st_blocks=yes
19646 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.$ac_ext >&5
19649 ac_cv_member_struct_stat_st_blocks=no
19652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19657 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19658 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19659 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19661 cat >>confdefs.h <<_ACEOF
19662 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19669 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19670 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19671 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 cat >conftest.$ac_ext <<_ACEOF
19677 cat confdefs.h >>conftest.$ac_ext
19678 cat >>conftest.$ac_ext <<_ACEOF
19679 /* end confdefs.h. */
19680 #ifdef HAVE_SYS_TYPES_H
19681 #include <sys/types.h>
19683 #ifdef HAVE_NETINET_IN_H
19684 #include <netinet/in.h>
19690 static struct sockaddr_in6 ac_aggr;
19691 if (ac_aggr.sin6_scope_id)
19697 rm -f conftest.$ac_objext
19698 if { (ac_try="$ac_compile"
19699 case "(($ac_try" in
19700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19701 *) ac_try_echo
=$ac_try;;
19703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_compile") 2>conftest.er1
19706 grep -v '^ *+' conftest.er1
>conftest.err
19708 cat conftest.err
>&5
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } && {
19711 test -z "$ac_c_werror_flag" ||
19712 test ! -s conftest.err
19713 } && test -s conftest.
$ac_objext; then
19714 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.
$ac_ext >&5
19719 cat >conftest.
$ac_ext <<_ACEOF
19722 cat confdefs.h
>>conftest.
$ac_ext
19723 cat >>conftest.
$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 #ifdef HAVE_SYS_TYPES_H
19726 #include <sys/types.h>
19728 #ifdef HAVE_NETINET_IN_H
19729 #include <netinet/in.h>
19735 static struct sockaddr_in6 ac_aggr;
19736 if (sizeof ac_aggr.sin6_scope_id)
19742 rm -f conftest.
$ac_objext
19743 if { (ac_try
="$ac_compile"
19744 case "(($ac_try" in
19745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19746 *) ac_try_echo=$ac_try;;
19748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749 (eval "$ac_compile") 2>conftest.er1
19751 grep -v '^ *+' conftest.er1 >conftest.err
19753 cat conftest.err >&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } && {
19756 test -z "$ac_c_werror_flag" ||
19757 test ! -s conftest.err
19758 } && test -s conftest.$ac_objext; then
19759 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19761 echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.$ac_ext >&5
19764 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19772 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19773 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19774 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19776 cat >>confdefs.h <<_ACEOF
19777 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19784 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19785 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19786 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19787 echo $ECHO_N "(cached) $ECHO_C" >&6
19789 cat >conftest.$ac_ext <<_ACEOF
19792 cat confdefs.h >>conftest.$ac_ext
19793 cat >>conftest.$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19795 #ifdef HAVE_SYS_TYPES_H
19796 #include <sys/types.h>
19798 #ifdef HAVE_NETINET_IN_H
19799 # include <netinet/in.h>
19801 #ifdef HAVE_ARPA_NAMESER_H
19802 # include <arpa/nameser.h>
19808 static ns_msg ac_aggr;
19809 if (ac_aggr._msg_ptr)
19815 rm -f conftest.$ac_objext
19816 if { (ac_try="$ac_compile"
19817 case "(($ac_try" in
19818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19819 *) ac_try_echo
=$ac_try;;
19821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19822 (eval "$ac_compile") 2>conftest.er1
19824 grep -v '^ *+' conftest.er1
>conftest.err
19826 cat conftest.err
>&5
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); } && {
19829 test -z "$ac_c_werror_flag" ||
19830 test ! -s conftest.err
19831 } && test -s conftest.
$ac_objext; then
19832 ac_cv_member_ns_msg__msg_ptr
=yes
19834 echo "$as_me: failed program was:" >&5
19835 sed 's/^/| /' conftest.
$ac_ext >&5
19837 cat >conftest.
$ac_ext <<_ACEOF
19840 cat confdefs.h
>>conftest.
$ac_ext
19841 cat >>conftest.
$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19843 #ifdef HAVE_SYS_TYPES_H
19844 #include <sys/types.h>
19846 #ifdef HAVE_NETINET_IN_H
19847 # include <netinet/in.h>
19849 #ifdef HAVE_ARPA_NAMESER_H
19850 # include <arpa/nameser.h>
19856 static ns_msg ac_aggr;
19857 if (sizeof ac_aggr._msg_ptr)
19863 rm -f conftest.
$ac_objext
19864 if { (ac_try
="$ac_compile"
19865 case "(($ac_try" in
19866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19867 *) ac_try_echo=$ac_try;;
19869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19870 (eval "$ac_compile") 2>conftest.er1
19872 grep -v '^ *+' conftest.er1 >conftest.err
19874 cat conftest.err >&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } && {
19877 test -z "$ac_c_werror_flag" ||
19878 test ! -s conftest.err
19879 } && test -s conftest.$ac_objext; then
19880 ac_cv_member_ns_msg__msg_ptr=yes
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.$ac_ext >&5
19885 ac_cv_member_ns_msg__msg_ptr=no
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19893 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19894 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19895 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19897 cat >>confdefs.h <<_ACEOF
19898 #define HAVE_NS_MSG__MSG_PTR 1
19905 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19906 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19907 if test "${ac_cv_have_timezone+set}" = set; then
19908 echo $ECHO_N "(cached) $ECHO_C" >&6
19910 cat >conftest.$ac_ext <<_ACEOF
19913 cat confdefs.h >>conftest.$ac_ext
19914 cat >>conftest.$ac_ext <<_ACEOF
19915 /* end confdefs.h. */
19925 rm -f conftest.$ac_objext conftest$ac_exeext
19926 if { (ac_try="$ac_link"
19927 case "(($ac_try" in
19928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19929 *) ac_try_echo
=$ac_try;;
19931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19932 (eval "$ac_link") 2>conftest.er1
19934 grep -v '^ *+' conftest.er1
>conftest.err
19936 cat conftest.err
>&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } && {
19939 test -z "$ac_c_werror_flag" ||
19940 test ! -s conftest.err
19941 } && test -s conftest
$ac_exeext &&
19942 $as_test_x conftest
$ac_exeext; then
19943 ac_cv_have_timezone
="yes"
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.
$ac_ext >&5
19948 ac_cv_have_timezone
="no"
19951 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19952 conftest
$ac_exeext conftest.
$ac_ext
19954 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19955 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19956 if test "$ac_cv_have_timezone" = "yes"
19959 cat >>confdefs.h
<<\_ACEOF
19960 #define HAVE_TIMEZONE 1
19964 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19965 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19966 if test "${ac_cv_have_daylight+set}" = set; then
19967 echo $ECHO_N "(cached) $ECHO_C" >&6
19969 cat >conftest.
$ac_ext <<_ACEOF
19972 cat confdefs.h
>>conftest.
$ac_ext
19973 cat >>conftest.
$ac_ext <<_ACEOF
19974 /* end confdefs.h. */
19984 rm -f conftest.
$ac_objext conftest
$ac_exeext
19985 if { (ac_try
="$ac_link"
19986 case "(($ac_try" in
19987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19988 *) ac_try_echo=$ac_try;;
19990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19991 (eval "$ac_link") 2>conftest.er1
19993 grep -v '^ *+' conftest.er1 >conftest.err
19995 cat conftest.err >&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } && {
19998 test -z "$ac_c_werror_flag" ||
19999 test ! -s conftest.err
20000 } && test -s conftest$ac_exeext &&
20001 $as_test_x conftest$ac_exeext; then
20002 ac_cv_have_daylight="yes"
20004 echo "$as_me: failed program was:" >&5
20005 sed 's/^/| /' conftest.$ac_ext >&5
20007 ac_cv_have_daylight="no"
20010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20011 conftest$ac_exeext conftest.$ac_ext
20013 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20014 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20015 if test "$ac_cv_have_daylight" = "yes"
20018 cat >>confdefs.h <<\_ACEOF
20019 #define HAVE_DAYLIGHT 1
20026 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20027 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20028 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20029 echo $ECHO_N "(cached) $ECHO_C" >&6
20031 cat >conftest.$ac_ext <<_ACEOF
20034 cat confdefs.h >>conftest.$ac_ext
20035 cat >>conftest.$ac_ext <<_ACEOF
20036 /* end confdefs.h. */
20041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20042 $EGREP "yes" >/dev/null 2>&1; then
20043 ac_cv_cpp_def___i386__=yes
20045 ac_cv_cpp_def___i386__=no
20050 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20051 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20052 if test $ac_cv_cpp_def___i386__ = yes; then
20053 CFLAGS="$CFLAGS -D__i386__"
20054 LINTFLAGS="$LINTFLAGS -D__i386__"
20057 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20058 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20059 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20060 echo $ECHO_N "(cached) $ECHO_C" >&6
20062 cat >conftest.$ac_ext <<_ACEOF
20065 cat confdefs.h >>conftest.$ac_ext
20066 cat >>conftest.$ac_ext <<_ACEOF
20067 /* end confdefs.h. */
20072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20073 $EGREP "yes" >/dev/null 2>&1; then
20074 ac_cv_cpp_def___x86_64__=yes
20076 ac_cv_cpp_def___x86_64__=no
20081 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20082 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20083 if test $ac_cv_cpp_def___x86_64__ = yes; then
20084 CFLAGS="$CFLAGS -D__x86_64__"
20085 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20088 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20089 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20090 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20091 echo $ECHO_N "(cached) $ECHO_C" >&6
20093 cat >conftest.$ac_ext <<_ACEOF
20096 cat confdefs.h >>conftest.$ac_ext
20097 cat >>conftest.$ac_ext <<_ACEOF
20098 /* end confdefs.h. */
20103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20104 $EGREP "yes" >/dev/null 2>&1; then
20105 ac_cv_cpp_def___ALPHA__=yes
20107 ac_cv_cpp_def___ALPHA__=no
20112 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20113 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20114 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20115 CFLAGS="$CFLAGS -D__ALPHA__"
20116 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20119 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20120 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20121 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20122 echo $ECHO_N "(cached) $ECHO_C" >&6
20124 cat >conftest.$ac_ext <<_ACEOF
20127 cat confdefs.h >>conftest.$ac_ext
20128 cat >>conftest.$ac_ext <<_ACEOF
20129 /* end confdefs.h. */
20134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20135 $EGREP "yes" >/dev/null 2>&1; then
20136 ac_cv_cpp_def___sparc__=yes
20138 ac_cv_cpp_def___sparc__=no
20143 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20144 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20145 if test $ac_cv_cpp_def___sparc__ = yes; then
20146 CFLAGS="$CFLAGS -D__sparc__"
20147 LINTFLAGS="$LINTFLAGS -D__sparc__"
20150 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20151 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20152 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20153 echo $ECHO_N "(cached) $ECHO_C" >&6
20155 cat >conftest.$ac_ext <<_ACEOF
20158 cat confdefs.h >>conftest.$ac_ext
20159 cat >>conftest.$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20161 #ifndef __powerpc__
20165 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20166 $EGREP "yes" >/dev/null 2>&1; then
20167 ac_cv_cpp_def___powerpc__=yes
20169 ac_cv_cpp_def___powerpc__=no
20174 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20175 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20176 if test $ac_cv_cpp_def___powerpc__ = yes; then
20177 CFLAGS="$CFLAGS -D__powerpc__"
20178 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20183 case $host_vendor in
20184 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20185 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20186 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20187 echo $ECHO_N "(cached) $ECHO_C" >&6
20189 cat >conftest.$ac_ext <<_ACEOF
20192 cat confdefs.h >>conftest.$ac_ext
20193 cat >>conftest.$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20200 $EGREP "yes" >/dev/null 2>&1; then
20201 ac_cv_cpp_def___sun__=yes
20203 ac_cv_cpp_def___sun__=no
20208 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20209 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20210 if test $ac_cv_cpp_def___sun__ = yes; then
20211 CFLAGS="$CFLAGS -D__sun__"
20212 LINTFLAGS="$LINTFLAGS -D__sun__"
20218 DEPENDENCIES="### Dependencies:
20223 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20225 \$(OBJS): \$(IDL_GEN_HEADERS)
20226 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20227 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20228 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20234 ac_config_commands="$ac_config_commands include/stamp-h"
20237 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20239 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20241 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20243 ac_config_commands="$ac_config_commands dlls/user32/resources"
20245 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20247 ac_config_commands="$ac_config_commands include/wine"
20250 MAKE_RULES=Make.rules
20253 MAKE_DLL_RULES=dlls/Makedll.rules
20256 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20259 MAKE_TEST_RULES=dlls/Maketest.rules
20262 MAKE_PROG_RULES=programs/Makeprog.rules
20265 ac_config_files="$ac_config_files Make.rules"
20267 ac_config_files="$ac_config_files dlls/Makedll.rules"
20269 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20271 ac_config_files="$ac_config_files dlls/Maketest.rules"
20273 ac_config_files="$ac_config_files programs/Makeprog.rules"
20275 ac_config_files="$ac_config_files Makefile"
20277 ac_config_files="$ac_config_files dlls/Makefile"
20279 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20281 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20283 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20285 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20287 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20289 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20291 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20293 ac_config_files="$ac_config_files dlls/atl/Makefile"
20295 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20297 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20299 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20301 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20303 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20305 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20307 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20309 ac_config_files="$ac_config_files dlls/cards/Makefile"
20311 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20313 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20315 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20317 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20319 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20321 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20323 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20325 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20327 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20329 ac_config_files="$ac_config_files dlls/credui/Makefile"
20331 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20333 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20335 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20337 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20339 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20341 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20343 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20345 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20347 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20349 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20351 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20353 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20355 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20357 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20359 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20361 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20363 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20365 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20367 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20369 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20371 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20373 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20375 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20377 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20379 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20381 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20383 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20385 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20387 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20389 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20391 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20393 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20395 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20397 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20399 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20401 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20403 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20405 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20407 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20409 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20411 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20413 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20415 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20417 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20419 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20421 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20423 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20425 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20427 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20429 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20431 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20433 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20435 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20437 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20439 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20441 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20443 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20445 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20447 ac_config_files="$ac_config_files dlls/hal/Makefile"
20449 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20451 ac_config_files="$ac_config_files dlls/hid/Makefile"
20453 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20455 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20457 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20459 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20461 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20463 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20465 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20467 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20469 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20471 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20473 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20475 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20477 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20479 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20481 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20483 ac_config_files="$ac_config_files dlls/itss/Makefile"
20485 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20487 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20489 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20491 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20493 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20495 ac_config_files="$ac_config_files dlls/localui/Makefile"
20497 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20499 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20501 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20503 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20505 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20509 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20511 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20513 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20515 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20517 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20519 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20521 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20523 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20525 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20527 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20529 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20531 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20533 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20535 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20537 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20539 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20541 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20543 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20545 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20547 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20549 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20551 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20553 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20555 ac_config_files="$ac_config_files dlls/msi/Makefile"
20557 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20559 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20561 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20563 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20565 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20567 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20569 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20571 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20573 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20575 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20577 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20579 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20581 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20583 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20585 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20587 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20589 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20591 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20593 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20595 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20597 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20599 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20601 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20603 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20605 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20607 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20609 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20611 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20613 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20615 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20617 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20619 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20621 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20623 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20625 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20627 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20629 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20631 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20633 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20635 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20637 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20639 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20641 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20643 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20645 ac_config_files="$ac_config_files dlls/printui/Makefile"
20647 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20649 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20651 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20653 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20655 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20657 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20659 ac_config_files="$ac_config_files dlls/query/Makefile"
20661 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20663 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20665 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20667 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20669 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20671 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20673 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20675 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20677 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20679 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20681 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20683 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20685 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20687 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20689 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20691 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20693 ac_config_files="$ac_config_files dlls/security/Makefile"
20695 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20697 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20699 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20701 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20703 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20705 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20707 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20709 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20711 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20713 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20715 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20717 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20719 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20721 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20723 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20725 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20727 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20729 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20731 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20733 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20735 ac_config_files="$ac_config_files dlls/sti/Makefile"
20737 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20739 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20741 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20743 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20745 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20747 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20749 ac_config_files="$ac_config_files dlls/url/Makefile"
20751 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20753 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20755 ac_config_files="$ac_config_files dlls/user32/Makefile"
20757 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20761 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20763 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20765 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20767 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20769 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20771 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20773 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20775 ac_config_files="$ac_config_files dlls/version/Makefile"
20777 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20779 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20781 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20783 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20785 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20787 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20789 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20791 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20793 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20795 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20797 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20799 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20801 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20803 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20805 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20807 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20809 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20811 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20813 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20815 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20817 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20819 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20821 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20823 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20825 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20827 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20829 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20831 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20833 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20835 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20837 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20839 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20841 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20843 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20845 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20847 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20849 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20851 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20853 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20855 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20857 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20859 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20861 ac_config_files="$ac_config_files documentation/Makefile"
20863 ac_config_files="$ac_config_files fonts/Makefile"
20865 ac_config_files="$ac_config_files include/Makefile"
20867 ac_config_files="$ac_config_files libs/Makefile"
20869 ac_config_files="$ac_config_files libs/port/Makefile"
20871 ac_config_files="$ac_config_files libs/wine/Makefile"
20873 ac_config_files="$ac_config_files libs/wpp/Makefile"
20875 ac_config_files="$ac_config_files loader/Makefile"
20877 ac_config_files="$ac_config_files programs/Makefile"
20879 ac_config_files="$ac_config_files programs/clock/Makefile"
20881 ac_config_files="$ac_config_files programs/cmd/Makefile"
20883 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20885 ac_config_files="$ac_config_files programs/control/Makefile"
20887 ac_config_files="$ac_config_files programs/eject/Makefile"
20889 ac_config_files="$ac_config_files programs/expand/Makefile"
20891 ac_config_files="$ac_config_files programs/explorer/Makefile"
20893 ac_config_files="$ac_config_files programs/hh/Makefile"
20895 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20897 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20899 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20901 ac_config_files="$ac_config_files programs/net/Makefile"
20903 ac_config_files="$ac_config_files programs/notepad/Makefile"
20905 ac_config_files="$ac_config_files programs/oleview/Makefile"
20907 ac_config_files="$ac_config_files programs/progman/Makefile"
20909 ac_config_files="$ac_config_files programs/regedit/Makefile"
20911 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20913 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20915 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20917 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20919 ac_config_files="$ac_config_files programs/start/Makefile"
20921 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20923 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20925 ac_config_files="$ac_config_files programs/view/Makefile"
20927 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20929 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20931 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20933 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20935 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20937 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20939 ac_config_files="$ac_config_files programs/winefile/Makefile"
20941 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20943 ac_config_files="$ac_config_files programs/winemine/Makefile"
20945 ac_config_files="$ac_config_files programs/winepath/Makefile"
20947 ac_config_files="$ac_config_files programs/winetest/Makefile"
20949 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20951 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20953 ac_config_files="$ac_config_files programs/winver/Makefile"
20955 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20957 ac_config_files="$ac_config_files programs/write/Makefile"
20959 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20961 ac_config_files="$ac_config_files server/Makefile"
20963 ac_config_files="$ac_config_files tools/Makefile"
20965 ac_config_files="$ac_config_files tools/widl/Makefile"
20967 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20969 ac_config_files="$ac_config_files tools/winedump/Makefile"
20971 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20973 ac_config_files="$ac_config_files tools/wmc/Makefile"
20975 ac_config_files="$ac_config_files tools/wrc/Makefile"
20978 cat >confcache <<\_ACEOF
20979 # This file is a shell script that caches the results of configure
20980 # tests run on this system so they can be shared between configure
20981 # scripts and configure runs, see configure's option --config-cache.
20982 # It is not useful on other systems. If it contains results you don't
20983 # want to keep, you may remove or edit it.
20985 # config.status only pays attention to the cache file if you give it
20986 # the --recheck option to rerun configure.
20988 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20989 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20990 # following values.
20994 # The following way of writing the cache mishandles newlines in values,
20995 # but we know of no workaround that is simple, portable, and efficient.
20996 # So, we kill variables containing newlines.
20997 # Ultrix sh set writes to stderr and can't be redirected directly,
20998 # and sets the high bit in the cache file unless we assign to the vars.
21000 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21001 eval ac_val
=\$
$ac_var
21005 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21006 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21009 _ | IFS | as_nl
) ;; #(
21010 *) $as_unset $ac_var ;;
21016 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21017 *${as_nl}ac_space
=\
*)
21018 # `set' does not quote correctly, so add quotes (double-quote
21019 # substitution turns \\\\ into \\, and sed turns \\ into \).
21022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21025 # `set' quotes correctly as required by POSIX, so do not add quotes.
21026 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21035 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21037 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21039 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21040 if test -w "$cache_file"; then
21041 test "x$cache_file" != "x/dev/null" &&
21042 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21043 echo "$as_me: updating cache $cache_file" >&6;}
21044 cat confcache
>$cache_file
21046 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21047 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21052 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21053 # Let make expand exec_prefix.
21054 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21056 DEFS
=-DHAVE_CONFIG_H
21060 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21061 # 1. Remove the extension, and $U if already installed.
21062 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21063 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21064 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21065 # will be set to the directory where LIBOBJS objects are built.
21066 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21067 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21069 LIBOBJS
=$ac_libobjs
21071 LTLIBOBJS
=$ac_ltlibobjs
21075 : ${CONFIG_STATUS=./config.status}
21076 ac_clean_files_save
=$ac_clean_files
21077 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21078 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21079 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21080 cat >$CONFIG_STATUS <<_ACEOF
21082 # Generated by $as_me.
21083 # Run this file to recreate the current configuration.
21084 # Compiler output produced by configure, useful for debugging
21085 # configure, is in config.log if it exists.
21088 ac_cs_recheck=false
21090 SHELL=\${CONFIG_SHELL-$SHELL}
21093 cat >>$CONFIG_STATUS <<\_ACEOF
21094 ## --------------------- ##
21095 ## M4sh Initialization. ##
21096 ## --------------------- ##
21098 # Be more Bourne compatible
21099 DUALCASE
=1; export DUALCASE
# for MKS sh
21100 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21103 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21104 # is contrary to our usage. Disable this feature.
21105 alias -g '${1+"$@"}'='"$@"'
21106 setopt NO_GLOB_SUBST
21108 case `(set -o) 2>/dev/null` in
21109 *posix
*) set -o posix
;;
21118 # Avoid depending upon Character Ranges.
21119 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21120 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21121 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21122 as_cr_digits
='0123456789'
21123 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21125 # The user is always right.
21126 if test "${PATH_SEPARATOR+set}" != set; then
21127 echo "#! /bin/sh" >conf$$.sh
21128 echo "exit 0" >>conf$$.sh
21130 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21138 # Support unset when possible.
21139 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21147 # We need space, tab and new line, in precisely that order. Quoting is
21148 # there to prevent editors from complaining about space-tab.
21149 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21150 # splitting by setting IFS to empty value.)
21155 # Find who we are. Look in the path if we contain no directory separator.
21157 *[\\/]* ) as_myself
=$0 ;;
21158 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21159 for as_dir
in $PATH
21162 test -z "$as_dir" && as_dir
=.
21163 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21169 # We did not find ourselves, most probably we were run as `sh COMMAND'
21170 # in which case we are not to be found in the path.
21171 if test "x$as_myself" = x
; then
21174 if test ! -f "$as_myself"; then
21175 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21176 { (exit 1); exit 1; }
21179 # Work around bugs in pre-3.0 UWIN ksh.
21180 for as_var
in ENV MAIL MAILPATH
21181 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21189 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21190 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21191 LC_TELEPHONE LC_TIME
21193 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21194 eval $as_var=C
; export $as_var
21196 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21200 # Required to use basename.
21201 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21202 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21208 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21209 as_basename
=basename
21215 # Name of the executable.
21216 as_me
=`$as_basename -- "$0" ||
21217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21218 X"$0" : 'X\(//\)$' \| \
21219 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21221 sed '/^.*\/\([^/][^/]*\)\/*$/{
21240 as_lineno_1
=$LINENO
21241 as_lineno_2
=$LINENO
21242 test "x$as_lineno_1" != "x$as_lineno_2" &&
21243 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21245 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21246 # uniformly replaced by the line number. The first 'sed' inserts a
21247 # line-number line after each line using $LINENO; the second 'sed'
21248 # does the real work. The second script uses 'N' to pair each
21249 # line-number line with the line containing $LINENO, and appends
21250 # trailing '-' during substitution so that $LINENO is not a special
21251 # case at line end.
21252 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21253 # scripts with optimization help from Paolo Bonzini. Blame Lee
21254 # E. McMahon (1931-1989) for sed's syntax. :-)
21266 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21269 ' >$as_me.lineno
&&
21270 chmod +x
"$as_me.lineno" ||
21271 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21272 { (exit 1); exit 1; }; }
21274 # Don't try to exec as it changes $[0], causing all sort of problems
21275 # (the dirname of $[0] is not the place where we might find the
21276 # original and so on. Autoconf is especially sensitive to this).
21277 .
"./$as_me.lineno"
21278 # Exit status is that of the last command.
21283 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21289 ECHO_C
= ECHO_N
= ECHO_T
=
21290 case `echo -n x` in
21292 case `echo 'x\c'` in
21293 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21300 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21301 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21307 rm -f conf$$ conf$$.exe conf$$.
file
21308 if test -d conf$$.dir
; then
21309 rm -f conf$$.dir
/conf$$.
file
21315 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21317 # ... but there are two gotchas:
21318 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21319 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21320 # In both cases, we have to default to `cp -p'.
21321 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21323 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21328 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21329 rmdir conf$$.dir
2>/dev
/null
21331 if mkdir
-p .
2>/dev
/null
; then
21334 test -d .
/-p && rmdir .
/-p
21338 if test -x / >/dev
/null
2>&1; then
21339 as_test_x
='test -x'
21341 if ls -dL / >/dev
/null
2>&1; then
21348 if test -d "$1"; then
21354 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21355 ???[sx]*):;;*)false;;esac;fi
21359 as_executable_p
=$as_test_x
21361 # Sed expression to map a string onto a valid CPP name.
21362 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21364 # Sed expression to map a string onto a valid variable name.
21365 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21370 # Save the log message, to keep $[0] and so on meaningful, and to
21371 # report actual input values of CONFIG_FILES etc. instead of their
21372 # values after options handling.
21374 This file was extended by Wine $as_me 0.9.42, which was
21375 generated by GNU Autoconf 2.61. Invocation command line was
21377 CONFIG_FILES = $CONFIG_FILES
21378 CONFIG_HEADERS = $CONFIG_HEADERS
21379 CONFIG_LINKS = $CONFIG_LINKS
21380 CONFIG_COMMANDS = $CONFIG_COMMANDS
21383 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21388 cat >>$CONFIG_STATUS <<_ACEOF
21389 # Files that config.status was made for.
21390 config_files="$ac_config_files"
21391 config_headers="$ac_config_headers"
21392 config_commands="$ac_config_commands"
21396 cat >>$CONFIG_STATUS <<\_ACEOF
21398 \`$as_me' instantiates files from templates according to the
21399 current configuration.
21401 Usage: $0 [OPTIONS] [FILE]...
21403 -h, --help print this help, then exit
21404 -V, --version print version number and configuration settings, then exit
21405 -q, --quiet do not print progress messages
21406 -d, --debug don't remove temporary files
21407 --recheck update $as_me by reconfiguring in the same conditions
21408 --file=FILE[:TEMPLATE]
21409 instantiate the configuration file FILE
21410 --header=FILE[:TEMPLATE]
21411 instantiate the configuration header FILE
21413 Configuration files:
21416 Configuration headers:
21419 Configuration commands:
21422 Report bugs to <bug-autoconf@gnu.org>."
21425 cat >>$CONFIG_STATUS <<_ACEOF
21427 Wine config.status 0.9.42
21428 configured by $0, generated by GNU Autoconf 2.61,
21429 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21431 Copyright (C) 2006 Free Software Foundation, Inc.
21432 This config.status script is free software; the Free Software Foundation
21433 gives unlimited permission to copy, distribute and modify it."
21440 cat >>$CONFIG_STATUS <<\_ACEOF
21441 # If no file are specified by the user, then we need to provide default
21442 # value. By we need to know if files were specified by the user.
21448 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21449 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21460 # Handling of the options.
21461 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21463 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21464 echo "$ac_cs_version"; exit ;;
21465 --debug |
--debu |
--deb |
--de |
--d |
-d )
21467 --file |
--fil |
--fi |
--f )
21469 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21470 ac_need_defaults
=false
;;
21471 --header |
--heade |
--head |
--hea )
21473 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21474 ac_need_defaults
=false
;;
21476 # Conflict between --help and --header
21477 { echo "$as_me: error: ambiguous option: $1
21478 Try \`$0 --help' for more information." >&2
21479 { (exit 1); exit 1; }; };;
21480 --help |
--hel |
-h )
21481 echo "$ac_cs_usage"; exit ;;
21482 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21483 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21486 # This is an error.
21487 -*) { echo "$as_me: error: unrecognized option: $1
21488 Try \`$0 --help' for more information." >&2
21489 { (exit 1); exit 1; }; } ;;
21491 *) ac_config_targets
="$ac_config_targets $1"
21492 ac_need_defaults
=false
;;
21498 ac_configure_extra_args
=
21500 if $ac_cs_silent; then
21502 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21506 cat >>$CONFIG_STATUS <<_ACEOF
21507 if \$ac_cs_recheck; then
21508 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21509 CONFIG_SHELL=$SHELL
21510 export CONFIG_SHELL
21511 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21515 cat >>$CONFIG_STATUS <<\_ACEOF
21519 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21520 ## Running $as_me. ##
21526 cat >>$CONFIG_STATUS <<_ACEOF
21529 cat >>$CONFIG_STATUS <<\_ACEOF
21531 # Handling of arguments.
21532 for ac_config_target
in $ac_config_targets
21534 case $ac_config_target in
21535 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21536 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21537 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21538 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21539 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21540 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21541 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21542 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21543 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21544 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21545 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21546 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21547 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21548 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21549 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21550 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21551 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21552 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21553 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21554 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21555 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21556 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21557 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21558 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21559 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21560 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21561 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21562 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21563 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21564 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21565 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21566 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21567 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21568 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21569 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21570 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21571 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21572 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21573 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21574 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21575 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21576 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21577 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21578 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21579 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21580 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21581 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21582 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21583 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21584 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21585 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21586 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21587 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21588 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21589 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21590 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21591 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21592 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21593 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21594 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21595 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21596 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21597 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21598 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21599 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21600 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21601 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21602 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21603 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21604 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21605 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21606 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21607 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21608 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21609 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21610 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21611 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21612 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21613 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21614 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21615 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21616 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21617 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21618 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21619 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21620 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21621 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21622 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21623 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21624 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21625 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21626 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21627 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21628 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21629 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21630 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21631 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21632 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21633 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21634 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21635 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21636 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21637 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21638 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21639 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21640 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21641 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21642 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21643 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21644 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21645 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21646 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21647 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21648 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21649 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21650 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21651 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21652 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21653 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21654 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21655 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21656 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21657 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21658 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21659 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21660 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21661 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21662 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21663 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21664 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21665 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21666 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21667 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21668 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21669 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21670 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21671 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21672 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21673 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21674 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21675 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21676 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21677 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21678 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21679 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21680 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21681 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21682 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21683 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21684 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21685 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21686 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21687 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21688 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21689 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21690 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21691 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21692 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21693 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21694 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21695 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21696 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21697 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21698 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21699 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21700 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21701 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21702 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21703 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21704 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21705 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21706 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21707 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21708 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21709 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21710 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21711 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21712 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21713 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21714 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21715 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21716 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21717 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21718 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21719 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21720 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21721 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21722 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21723 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21724 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21725 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21726 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21727 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21728 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21729 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21730 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
21731 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21732 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21733 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
21734 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21735 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21736 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21737 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21738 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21739 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21740 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21741 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21742 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21743 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21744 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21745 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21746 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21747 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21748 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21749 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21750 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21751 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21752 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21753 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21754 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21755 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21756 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21757 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21758 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21759 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21760 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21761 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21762 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21763 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21764 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21765 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21766 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21767 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21768 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21769 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21770 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21771 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21772 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21773 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21774 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21775 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21776 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21777 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21778 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21779 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21780 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21781 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
21782 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21783 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21784 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21785 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21786 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21787 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21788 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21789 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21790 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21791 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21792 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21793 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21794 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21795 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21796 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21797 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21798 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21799 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21800 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21801 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21802 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21803 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21804 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21805 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21806 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21807 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21808 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21809 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21810 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21811 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21812 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21813 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21814 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21815 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21816 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21817 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21818 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21819 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21820 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21821 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21822 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21823 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21824 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21825 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21826 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21827 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21828 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
21829 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21830 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21831 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21832 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21833 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21834 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21835 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21836 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21837 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21838 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21839 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21840 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21841 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21842 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21843 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21844 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21845 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21846 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21847 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21848 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21849 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21850 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21851 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21852 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21853 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21854 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21855 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21856 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21857 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21858 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21859 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21860 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21861 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
21862 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21863 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21864 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21865 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21866 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21867 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21868 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21869 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21870 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21871 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21872 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21873 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21874 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21875 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21876 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21877 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21878 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21879 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
21880 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21881 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21882 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21883 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21884 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21885 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21886 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21887 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21888 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21889 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
21890 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
21891 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21892 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21893 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21894 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21895 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21896 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21897 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21898 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21900 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21901 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21902 { (exit 1); exit 1; }; };;
21907 # If the user did not use the arguments to specify the items to instantiate,
21908 # then the envvar interface is used. Set only those that are not.
21909 # We use the long form for the default assignment because of an extremely
21910 # bizarre bug on SunOS 4.1.3.
21911 if $ac_need_defaults; then
21912 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21913 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21914 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21917 # Have a temporary directory for convenience. Make it in the build tree
21918 # simply because there is no reason against having it here, and in addition,
21919 # creating and moving files from /tmp can sometimes cause problems.
21920 # Hook for its removal unless debugging.
21921 # Note that there is a small window in which the directory will not be cleaned:
21922 # after its creation but before its name has been assigned to `$tmp'.
21926 trap 'exit_status=$?
21927 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21929 trap '{ (exit 1); exit 1; }' 1 2 13 15
21931 # Create a (secure) tmp directory for tmp files.
21934 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21935 test -n "$tmp" && test -d "$tmp"
21938 tmp
=.
/conf$$
-$RANDOM
21939 (umask 077 && mkdir
"$tmp")
21942 echo "$me: cannot create a temporary directory in ." >&2
21943 { (exit 1); exit 1; }
21947 # Set up the sed scripts for CONFIG_FILES section.
21950 # No need to generate the scripts if there are no CONFIG_FILES.
21951 # This happens for instance when ./config.status config.h
21952 if test -n "$CONFIG_FILES"; then
21956 # Create sed commands to just substitute file output variables.
21958 # Remaining file output variables are in a fragment that also has non-file
21964 for ac_last_try
in false false false false false
:; do
21965 cat >conf$
$subs.
sed <<_ACEOF
21966 SHELL!$SHELL$ac_delim
21967 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21968 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21969 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21970 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21971 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21972 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21973 exec_prefix!$exec_prefix$ac_delim
21974 prefix!$prefix$ac_delim
21975 program_transform_name!$program_transform_name$ac_delim
21976 bindir!$bindir$ac_delim
21977 sbindir!$sbindir$ac_delim
21978 libexecdir!$libexecdir$ac_delim
21979 datarootdir!$datarootdir$ac_delim
21980 datadir!$datadir$ac_delim
21981 sysconfdir!$sysconfdir$ac_delim
21982 sharedstatedir!$sharedstatedir$ac_delim
21983 localstatedir!$localstatedir$ac_delim
21984 includedir!$includedir$ac_delim
21985 oldincludedir!$oldincludedir$ac_delim
21986 docdir!$docdir$ac_delim
21987 infodir!$infodir$ac_delim
21988 htmldir!$htmldir$ac_delim
21989 dvidir!$dvidir$ac_delim
21990 pdfdir!$pdfdir$ac_delim
21991 psdir!$psdir$ac_delim
21992 libdir!$libdir$ac_delim
21993 localedir!$localedir$ac_delim
21994 mandir!$mandir$ac_delim
21995 DEFS!$DEFS$ac_delim
21996 ECHO_C!$ECHO_C$ac_delim
21997 ECHO_N!$ECHO_N$ac_delim
21998 ECHO_T!$ECHO_T$ac_delim
21999 LIBS!$LIBS$ac_delim
22000 build_alias!$build_alias$ac_delim
22001 host_alias!$host_alias$ac_delim
22002 target_alias!$target_alias$ac_delim
22003 build!$build$ac_delim
22004 build_cpu!$build_cpu$ac_delim
22005 build_vendor!$build_vendor$ac_delim
22006 build_os!$build_os$ac_delim
22007 host!$host$ac_delim
22008 host_cpu!$host_cpu$ac_delim
22009 host_vendor!$host_vendor$ac_delim
22010 host_os!$host_os$ac_delim
22011 WIN16_FILES!$WIN16_FILES$ac_delim
22012 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22013 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22014 WINETEST!$WINETEST$ac_delim
22015 SET_MAKE!$SET_MAKE$ac_delim
22017 CFLAGS!$CFLAGS$ac_delim
22018 LDFLAGS!$LDFLAGS$ac_delim
22019 CPPFLAGS!$CPPFLAGS$ac_delim
22020 ac_ct_CC!$ac_ct_CC$ac_delim
22021 EXEEXT!$EXEEXT$ac_delim
22022 OBJEXT!$OBJEXT$ac_delim
22024 CXXFLAGS!$CXXFLAGS$ac_delim
22025 ac_ct_CXX!$ac_ct_CXX$ac_delim
22026 CPPBIN!$CPPBIN$ac_delim
22027 TOOLSDIR!$TOOLSDIR$ac_delim
22028 XMKMF!$XMKMF$ac_delim
22030 X_CFLAGS!$X_CFLAGS$ac_delim
22031 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22032 X_LIBS!$X_LIBS$ac_delim
22033 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22034 FLEX!$FLEX$ac_delim
22035 BISON!$BISON$ac_delim
22037 ac_ct_AS!$ac_ct_AS$ac_delim
22040 RANLIB!$RANLIB$ac_delim
22041 STRIP!$STRIP$ac_delim
22042 WINDRES!$WINDRES$ac_delim
22043 LN_S!$LN_S$ac_delim
22045 GREP!$GREP$ac_delim
22046 EGREP!$EGREP$ac_delim
22047 LDCONFIG!$LDCONFIG$ac_delim
22050 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22052 elif $ac_last_try; then
22053 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22054 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22055 { (exit 1); exit 1; }; }
22057 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22061 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22062 if test -n "$ac_eof"; then
22063 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22064 ac_eof
=`expr $ac_eof + 1`
22067 cat >>$CONFIG_STATUS <<_ACEOF
22068 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22069 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22070 /^[ ]*@MAKE_RULES@[ ]*$/{
22074 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22078 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22079 r $MAKE_IMPLIB_RULES
22082 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22086 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22092 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22093 s/^/s,@/; s/!/@,|#_!!_#|/
22096 s/'"$ac_delim"'$/,g/; t
22098 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22099 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22100 rm -f conf$
$subs.
sed
22101 cat >>$CONFIG_STATUS <<_ACEOF
22107 for ac_last_try
in false false false false false
:; do
22108 cat >conf$
$subs.
sed <<_ACEOF
22109 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22110 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22111 INSTALL_DATA!$INSTALL_DATA$ac_delim
22112 LINT!$LINT$ac_delim
22113 LINTFLAGS!$LINTFLAGS$ac_delim
22114 FONTFORGE!$FONTFORGE$ac_delim
22115 PKG_CONFIG!$PKG_CONFIG$ac_delim
22116 PRELINK!$PRELINK$ac_delim
22117 LIBPTHREAD!$LIBPTHREAD$ac_delim
22118 XLIB!$XLIB$ac_delim
22119 XFILES!$XFILES$ac_delim
22120 OPENGLFILES!$OPENGLFILES$ac_delim
22121 GLU32FILES!$GLU32FILES$ac_delim
22122 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22123 QUARTZFILES!$QUARTZFILES$ac_delim
22124 DLLEXT!$DLLEXT$ac_delim
22125 DLLFLAGS!$DLLFLAGS$ac_delim
22126 LDSHARED!$LDSHARED$ac_delim
22127 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22128 LIBEXT!$LIBEXT$ac_delim
22129 IMPLIBEXT!$IMPLIBEXT$ac_delim
22130 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22131 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22133 DLLTOOL!$DLLTOOL$ac_delim
22134 DLLWRAP!$DLLWRAP$ac_delim
22135 MINGWAR!$MINGWAR$ac_delim
22136 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22137 IOKITLIB!$IOKITLIB$ac_delim
22138 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22139 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22140 COREAUDIO!$COREAUDIO$ac_delim
22141 CARBONLIB!$CARBONLIB$ac_delim
22142 CROSSTEST!$CROSSTEST$ac_delim
22143 CROSSCC!$CROSSCC$ac_delim
22144 CROSSWINDRES!$CROSSWINDRES$ac_delim
22145 NASLIBS!$NASLIBS$ac_delim
22146 XML2LIBS!$XML2LIBS$ac_delim
22147 XML2INCL!$XML2INCL$ac_delim
22148 XSLTLIBS!$XSLTLIBS$ac_delim
22149 XSLTINCL!$XSLTINCL$ac_delim
22150 HALINCL!$HALINCL$ac_delim
22151 sane_devel!$sane_devel$ac_delim
22152 SANEINCL!$SANEINCL$ac_delim
22153 gphoto2_devel!$gphoto2_devel$ac_delim
22154 gphoto2port_devel!$gphoto2port_devel$ac_delim
22155 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22156 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22157 ICULIBS!$ICULIBS$ac_delim
22158 RESOLVLIBS!$RESOLVLIBS$ac_delim
22159 LCMSLIBS!$LCMSLIBS$ac_delim
22160 LDAPLIBS!$LDAPLIBS$ac_delim
22161 ft_devel!$ft_devel$ac_delim
22162 FREETYPELIBS!$FREETYPELIBS$ac_delim
22163 FREETYPEINCL!$FREETYPEINCL$ac_delim
22164 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22165 ESDCONFIG!$ESDCONFIG$ac_delim
22166 ESDLIBS!$ESDLIBS$ac_delim
22167 ESDINCL!$ESDINCL$ac_delim
22168 ALSALIBS!$ALSALIBS$ac_delim
22169 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22170 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22171 BUILTINFLAG!$BUILTINFLAG$ac_delim
22172 LDPATH!$LDPATH$ac_delim
22173 CRTLIBS!$CRTLIBS$ac_delim
22174 SOCKETLIBS!$SOCKETLIBS$ac_delim
22175 MAIN_BINARY!$MAIN_BINARY$ac_delim
22176 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22177 LIBDL!$LIBDL$ac_delim
22178 LIBPOLL!$LIBPOLL$ac_delim
22179 DEPENDENCIES!$DEPENDENCIES$ac_delim
22180 LIBOBJS!$LIBOBJS$ac_delim
22181 LTLIBOBJS!$LTLIBOBJS$ac_delim
22184 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22186 elif $ac_last_try; then
22187 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22188 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22189 { (exit 1); exit 1; }; }
22191 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22195 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22196 if test -n "$ac_eof"; then
22197 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22198 ac_eof
=`expr $ac_eof + 1`
22201 cat >>$CONFIG_STATUS <<_ACEOF
22202 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22203 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22206 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22207 s/^/s,@/; s/!/@,|#_!!_#|/
22210 s/'"$ac_delim"'$/,g/; t
22212 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22213 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22214 rm -f conf$
$subs.
sed
22215 cat >>$CONFIG_STATUS <<_ACEOF
22222 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22223 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22224 # trailing colons and then remove the whole line if VPATH becomes empty
22225 # (actually we leave an empty line to preserve line numbers).
22226 if test "x$srcdir" = x.
; then
22227 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22228 s/:*\$(srcdir):*/:/
22229 s/:*\${srcdir}:*/:/
22231 s/^\([^=]*=[ ]*\):*/\1/
22237 cat >>$CONFIG_STATUS <<\_ACEOF
22238 fi # test -n "$CONFIG_FILES"
22241 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22244 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22246 case $ac_mode$ac_tag in
22248 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22249 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22250 { (exit 1); exit 1; }; };;
22251 :[FH
]-) ac_tag
=-:-;;
22252 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22269 -) ac_f
="$tmp/stdin";;
22270 *) # Look for the file first in the build tree, then in the source tree
22271 # (if the path is not absolute). The absolute path cannot be DOS-style,
22272 # because $ac_f cannot contain `:'.
22276 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22278 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22279 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22280 { (exit 1); exit 1; }; };;
22282 ac_file_inputs
="$ac_file_inputs $ac_f"
22285 # Let's still pretend it is `configure' which instantiates (i.e., don't
22286 # use $as_me), people would be surprised to read:
22287 # /* config.h. Generated by config.status. */
22288 configure_input
="Generated from "`IFS=:
22289 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22290 if test x
"$ac_file" != x-
; then
22291 configure_input
="$ac_file. $configure_input"
22292 { echo "$as_me:$LINENO: creating $ac_file" >&5
22293 echo "$as_me: creating $ac_file" >&6;}
22297 *:-:* |
*:-) cat >"$tmp/stdin";;
22302 ac_dir
=`$as_dirname -- "$ac_file" ||
22303 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22304 X"$ac_file" : 'X\(//\)[^/]' \| \
22305 X"$ac_file" : 'X\(//\)$' \| \
22306 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22312 /^X\(\/\/\)[^/].*/{
22327 -*) as_dir
=.
/$as_dir;;
22329 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22333 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22334 *) as_qdir
=$as_dir;;
22336 as_dirs
="'$as_qdir' $as_dirs"
22337 as_dir
=`$as_dirname -- "$as_dir" ||
22338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22339 X"$as_dir" : 'X\(//\)[^/]' \| \
22340 X"$as_dir" : 'X\(//\)$' \| \
22341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22347 /^X\(\/\/\)[^/].*/{
22360 test -d "$as_dir" && break
22362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22363 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22364 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22365 { (exit 1); exit 1; }; }; }
22369 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22371 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22372 # A ".." for each directory in $ac_dir_suffix.
22373 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22374 case $ac_top_builddir_sub in
22375 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22376 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22379 ac_abs_top_builddir
=$ac_pwd
22380 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22381 # for backward compatibility:
22382 ac_top_builddir
=$ac_top_build_prefix
22385 .
) # We are building in place.
22387 ac_top_srcdir
=$ac_top_builddir_sub
22388 ac_abs_top_srcdir
=$ac_pwd ;;
22389 [\\/]* | ?
:[\\/]* ) # Absolute name.
22390 ac_srcdir
=$srcdir$ac_dir_suffix;
22391 ac_top_srcdir
=$srcdir
22392 ac_abs_top_srcdir
=$srcdir ;;
22393 *) # Relative name.
22394 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22395 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22396 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22398 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22408 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22409 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22413 cat >>$CONFIG_STATUS <<\_ACEOF
22414 # If the template does not know about datarootdir, expand it.
22415 # FIXME: This hack should be removed a few years after 2.60.
22416 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22418 case `sed -n '/datarootdir/ {
22427 ' $ac_file_inputs` in
22428 *datarootdir
*) ac_datarootdir_seen
=yes;;
22429 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22430 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22431 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22433 cat >>$CONFIG_STATUS <<_ACEOF
22434 ac_datarootdir_hack='
22435 s&@datadir@&$datadir&g
22436 s&@docdir@&$docdir&g
22437 s&@infodir@&$infodir&g
22438 s&@localedir@&$localedir&g
22439 s&@mandir@&$mandir&g
22440 s&\\\${datarootdir}&$datarootdir&g' ;;
22444 # Neutralize VPATH when `$srcdir' = `.'.
22445 # Shell code in configure.ac might set extrasub.
22446 # FIXME: do we really want to maintain this feature?
22447 cat >>$CONFIG_STATUS <<_ACEOF
22451 cat >>$CONFIG_STATUS <<\_ACEOF
22453 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22454 s
&@configure_input@
&$configure_input&;t t
22455 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22456 s
&@srcdir@
&$ac_srcdir&;t t
22457 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22458 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22459 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22460 s
&@builddir@
&$ac_builddir&;t t
22461 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22462 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22463 s
&@INSTALL@
&$ac_INSTALL&;t t
22464 $ac_datarootdir_hack
22465 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22467 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22468 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22469 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22470 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22471 which seems to be undefined. Please make sure it is defined." >&5
22472 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22473 which seems to be undefined. Please make sure it is defined." >&2;}
22477 -) cat "$tmp/out"; rm -f "$tmp/out";;
22478 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22487 # Transform confdefs.h into a sed script `conftest.defines', that
22488 # substitutes the proper values into config.h.in to produce config.h.
22489 rm -f conftest.defines conftest.
tail
22490 # First, append a space to every undef/define line, to ease matching.
22491 echo 's/$/ /' >conftest.defines
22492 # Then, protect against being on the right side of a sed subst, or in
22493 # an unquoted here document, in config.status. If some macros were
22494 # called several times there might be several #defines for the same
22495 # symbol, which is useless. But do not sort them, since the last
22496 # AC_DEFINE must be honored.
22497 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22498 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22499 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22500 # PARAMS is the parameter list in the macro definition--in most cases, it's
22501 # just an empty string.
22502 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22503 ac_dB
='\\)[ (].*,\\1define\\2'
22511 s/^[ ]*#[ ]*define[ ][ ]*//
22516 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22517 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22518 ' >>conftest.defines
22520 # Remove the space that was appended to ease matching.
22521 # Then replace #undef with comments. This is necessary, for
22522 # example, in the case of _POSIX_SOURCE, which is predefined and required
22523 # on some systems where configure will not decide to define it.
22524 # (The regexp can be short, since the line contains either #define or #undef.)
22526 s,^[ #]*u.*,/* & */,' >>conftest.defines
22528 # Break up conftest.defines:
22529 ac_max_sed_lines
=50
22531 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22532 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22533 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22535 ac_in
='$ac_file_inputs'
22536 ac_out
='"$tmp/out1"'
22537 ac_nxt
='"$tmp/out2"'
22541 # Write a here document:
22542 cat >>$CONFIG_STATUS <<_ACEOF
22543 # First, check the format of the line:
22544 cat >"\$tmp/defines.sed" <<\\CEOF
22545 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22546 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22550 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22552 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22553 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22554 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22555 grep . conftest.
tail >/dev
/null ||
break
22556 rm -f conftest.defines
22557 mv conftest.
tail conftest.defines
22559 rm -f conftest.defines conftest.
tail
22561 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22562 cat >>$CONFIG_STATUS <<\_ACEOF
22563 if test x
"$ac_file" != x-
; then
22564 echo "/* $configure_input */" >"$tmp/config.h"
22565 cat "$ac_result" >>"$tmp/config.h"
22566 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22567 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22568 echo "$as_me: $ac_file is unchanged" >&6;}
22571 mv "$tmp/config.h" $ac_file
22574 echo "/* $configure_input */"
22580 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22581 echo "$as_me: executing $ac_file commands" >&6;}
22586 case $ac_file$ac_mode in
22587 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22588 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22589 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22590 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22591 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22592 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22593 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22594 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22595 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22596 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22597 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22598 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22599 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22605 { (exit 0); exit 0; }
22607 chmod +x
$CONFIG_STATUS
22608 ac_clean_files
=$ac_clean_files_save
22611 # configure is writing to config.log, and then calls config.status.
22612 # config.status does its own redirection, appending to config.log.
22613 # Unfortunately, on DOS this fails, as config.log is still kept open
22614 # by configure, so config.status won't be able to write to it; its
22615 # output is simply discarded. So we exec the FD to /dev/null,
22616 # effectively closing config.log, so it can be properly (re)opened and
22617 # appended to by config.status. When coming back to configure, we
22618 # need to make the FD available again.
22619 if test "$no_create" != yes; then
22621 ac_config_status_args
=
22622 test "$silent" = yes &&
22623 ac_config_status_args
="$ac_config_status_args --quiet"
22625 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22627 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22628 # would make configure fail if this is the last instruction.
22629 $ac_cs_success ||
{ (exit 1); exit 1; }
22633 if test "$no_create" = "yes"
22640 if test "$verbose" = "yes"; then
22641 for msg
in $wine_notices; do
22642 if test -n "$msg"; then
22644 { echo "$as_me:$LINENO: $msg" >&5
22645 echo "$as_me: $msg" >&6;}
22649 for msg
in $wine_warnings; do
22650 if test -n "$msg"; then
22652 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22653 echo "$as_me: WARNING: $msg" >&2;}
22659 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."