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"
6341 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6342 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6343 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6346 ac_check_lib_save_LIBS
=$LIBS
6348 cat >conftest.
$ac_ext <<_ACEOF
6351 cat confdefs.h
>>conftest.
$ac_ext
6352 cat >>conftest.
$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6355 /* Override any GCC internal prototype to avoid an error.
6356 Use char because int might match the return type of a GCC
6357 builtin and then its argument prototype would still apply. */
6361 char _xpg4_setrunelocale ();
6365 return _xpg4_setrunelocale ();
6370 rm -f conftest.
$ac_objext conftest
$ac_exeext
6371 if { (ac_try
="$ac_link"
6373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6374 *) ac_try_echo=$ac_try;;
6376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6377 (eval "$ac_link") 2>conftest.er1
6379 grep -v '^ *+' conftest.er1 >conftest.err
6381 cat conftest.err >&5
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); } && {
6384 test -z "$ac_c_werror_flag" ||
6385 test ! -s conftest.err
6386 } && test -s conftest$ac_exeext &&
6387 $as_test_x conftest$ac_exeext; then
6388 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6390 echo "$as_me: failed program was:" >&5
6391 sed 's/^/| /' conftest.$ac_ext >&5
6393 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6397 conftest$ac_exeext conftest.$ac_ext
6398 LIBS=$ac_check_lib_save_LIBS
6400 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6401 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6402 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6403 cat >>confdefs.h <<_ACEOF
6404 #define HAVE_LIBXPG4 1
6411 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6412 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6413 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6416 ac_check_lib_save_LIBS=$LIBS
6417 LIBS="-lpthread $LIBS"
6418 cat >conftest.$ac_ext <<_ACEOF
6421 cat confdefs.h >>conftest.$ac_ext
6422 cat >>conftest.$ac_ext <<_ACEOF
6423 /* end confdefs.h. */
6425 /* Override any GCC internal prototype to avoid an error.
6426 Use char because int might match the return type of a GCC
6427 builtin and then its argument prototype would still apply. */
6431 char pthread_create ();
6435 return pthread_create ();
6440 rm -f conftest.$ac_objext conftest$ac_exeext
6441 if { (ac_try="$ac_link"
6443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6444 *) ac_try_echo
=$ac_try;;
6446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6447 (eval "$ac_link") 2>conftest.er1
6449 grep -v '^ *+' conftest.er1
>conftest.err
6451 cat conftest.err
>&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } && {
6454 test -z "$ac_c_werror_flag" ||
6455 test ! -s conftest.err
6456 } && test -s conftest
$ac_exeext &&
6457 $as_test_x conftest
$ac_exeext; then
6458 ac_cv_lib_pthread_pthread_create
=yes
6460 echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.
$ac_ext >&5
6463 ac_cv_lib_pthread_pthread_create
=no
6466 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6467 conftest
$ac_exeext conftest.
$ac_ext
6468 LIBS
=$ac_check_lib_save_LIBS
6470 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6471 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6472 if test $ac_cv_lib_pthread_pthread_create = yes; then
6473 LIBPTHREAD
="-lpthread"
6492 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6493 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6494 if test "${ac_cv_header_stdc+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 cat >conftest.
$ac_ext <<_ACEOF
6500 cat confdefs.h
>>conftest.
$ac_ext
6501 cat >>conftest.
$ac_ext <<_ACEOF
6502 /* end confdefs.h. */
6516 rm -f conftest.
$ac_objext
6517 if { (ac_try
="$ac_compile"
6519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6520 *) ac_try_echo=$ac_try;;
6522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6523 (eval "$ac_compile") 2>conftest.er1
6525 grep -v '^ *+' conftest.er1 >conftest.err
6527 cat conftest.err >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } && {
6530 test -z "$ac_c_werror_flag" ||
6531 test ! -s conftest.err
6532 } && test -s conftest.$ac_objext; then
6533 ac_cv_header_stdc=yes
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6538 ac_cv_header_stdc=no
6541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6543 if test $ac_cv_header_stdc = yes; then
6544 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6545 cat >conftest.$ac_ext <<_ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "memchr" >/dev/null 2>&1; then
6558 ac_cv_header_stdc=no
6564 if test $ac_cv_header_stdc = yes; then
6565 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6566 cat >conftest.$ac_ext <<_ACEOF
6569 cat confdefs.h >>conftest.$ac_ext
6570 cat >>conftest.$ac_ext <<_ACEOF
6571 /* end confdefs.h. */
6575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6576 $EGREP "free" >/dev/null 2>&1; then
6579 ac_cv_header_stdc=no
6585 if test $ac_cv_header_stdc = yes; then
6586 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6587 if test "$cross_compiling" = yes; then
6590 cat >conftest.$ac_ext <<_ACEOF
6593 cat confdefs.h >>conftest.$ac_ext
6594 cat >>conftest.$ac_ext <<_ACEOF
6595 /* end confdefs.h. */
6598 #if ((' ' & 0x0FF) == 0x020)
6599 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6600 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6602 # define ISLOWER(c) \
6603 (('a' <= (c) && (c) <= 'i') \
6604 || ('j' <= (c) && (c) <= 'r') \
6605 || ('s' <= (c) && (c) <= 'z'))
6606 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6609 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6614 for (i = 0; i < 256; i++)
6615 if (XOR (islower (i), ISLOWER (i))
6616 || toupper (i) != TOUPPER (i))
6621 rm -f conftest$ac_exeext
6622 if { (ac_try="$ac_link"
6624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6625 *) ac_try_echo
=$ac_try;;
6627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6628 (eval "$ac_link") 2>&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6632 { (case "(($ac_try" in
6633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6634 *) ac_try_echo=$ac_try;;
6636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6637 (eval "$ac_try") 2>&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then
6643 echo "$as_me: program exited with status $ac_status" >&5
6644 echo "$as_me: failed program was:" >&5
6645 sed 's/^/| /' conftest.$ac_ext >&5
6648 ac_cv_header_stdc=no
6650 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6656 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6657 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6658 if test $ac_cv_header_stdc = yes; then
6660 cat >>confdefs.h <<\_ACEOF
6661 #define STDC_HEADERS 1
6666 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6677 inttypes.h stdint.h unistd.h
6679 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6680 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 cat >conftest.$ac_ext <<_ACEOF
6688 cat confdefs.h >>conftest.$ac_ext
6689 cat >>conftest.$ac_ext <<_ACEOF
6690 /* end confdefs.h. */
6691 $ac_includes_default
6693 #include <$ac_header>
6695 rm -f conftest.$ac_objext
6696 if { (ac_try="$ac_compile"
6698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6699 *) ac_try_echo
=$ac_try;;
6701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6702 (eval "$ac_compile") 2>conftest.er1
6704 grep -v '^ *+' conftest.er1
>conftest.err
6706 cat conftest.err
>&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } && {
6709 test -z "$ac_c_werror_flag" ||
6710 test ! -s conftest.err
6711 } && test -s conftest.
$ac_objext; then
6712 eval "$as_ac_Header=yes"
6714 echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.
$ac_ext >&5
6717 eval "$as_ac_Header=no"
6720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6722 ac_res
=`eval echo '${'$as_ac_Header'}'`
6723 { echo "$as_me:$LINENO: result: $ac_res" >&5
6724 echo "${ECHO_T}$ac_res" >&6; }
6725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6726 cat >>confdefs.h
<<_ACEOF
6727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6847 AudioUnit
/AudioUnit.h \
6849 CoreAudio
/CoreAudio.h \
6850 DiskArbitration
/DiskArbitration.h \
6863 fontconfig
/fontconfig.h \
6889 machine
/soundcard.h \
6894 netinet
/in_systm.h \
6960 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6961 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6964 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 ac_res
=`eval echo '${'$as_ac_Header'}'`
6968 { echo "$as_me:$LINENO: result: $ac_res" >&5
6969 echo "${ECHO_T}$ac_res" >&6; }
6971 # Is the header compilable?
6972 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6974 cat >conftest.
$ac_ext <<_ACEOF
6977 cat confdefs.h
>>conftest.
$ac_ext
6978 cat >>conftest.
$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6980 $ac_includes_default
6981 #include <$ac_header>
6983 rm -f conftest.
$ac_objext
6984 if { (ac_try
="$ac_compile"
6986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6987 *) ac_try_echo=$ac_try;;
6989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6990 (eval "$ac_compile") 2>conftest.er1
6992 grep -v '^ *+' conftest.er1 >conftest.err
6994 cat conftest.err >&5
6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 (exit $ac_status); } && {
6997 test -z "$ac_c_werror_flag" ||
6998 test ! -s conftest.err
6999 } && test -s conftest.$ac_objext; then
7000 ac_header_compiler=yes
7002 echo "$as_me: failed program was:" >&5
7003 sed 's/^/| /' conftest.$ac_ext >&5
7005 ac_header_compiler=no
7008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7009 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7010 echo "${ECHO_T}$ac_header_compiler" >&6; }
7012 # Is the header present?
7013 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7014 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7015 cat >conftest.$ac_ext <<_ACEOF
7018 cat confdefs.h >>conftest.$ac_ext
7019 cat >>conftest.$ac_ext <<_ACEOF
7020 /* end confdefs.h. */
7021 #include <$ac_header>
7023 if { (ac_try="$ac_cpp conftest.$ac_ext"
7025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7026 *) ac_try_echo
=$ac_try;;
7028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7031 grep -v '^ *+' conftest.er1
>conftest.err
7033 cat conftest.err
>&5
7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); } >/dev
/null
&& {
7036 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7037 test ! -s conftest.err
7039 ac_header_preproc
=yes
7041 echo "$as_me: failed program was:" >&5
7042 sed 's/^/| /' conftest.
$ac_ext >&5
7044 ac_header_preproc
=no
7047 rm -f conftest.err conftest.
$ac_ext
7048 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7049 echo "${ECHO_T}$ac_header_preproc" >&6; }
7051 # So? What about this header?
7052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7058 ac_header_preproc
=yes
7061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7074 ## ------------------------------------ ##
7075 ## Report this to wine-devel@winehq.org ##
7076 ## ------------------------------------ ##
7078 ) |
sed "s/^/$as_me: WARNING: /" >&2
7081 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7083 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7084 echo $ECHO_N "(cached) $ECHO_C" >&6
7086 eval "$as_ac_Header=\$ac_header_preproc"
7088 ac_res
=`eval echo '${'$as_ac_Header'}'`
7089 { echo "$as_me:$LINENO: result: $ac_res" >&5
7090 echo "${ECHO_T}$ac_res" >&6; }
7093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7094 cat >>confdefs.h
<<_ACEOF
7095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7102 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7103 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7104 if test "${ac_cv_header_stat_broken+set}" = set; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 cat >conftest.
$ac_ext <<_ACEOF
7110 cat confdefs.h
>>conftest.
$ac_ext
7111 cat >>conftest.
$ac_ext <<_ACEOF
7112 /* end confdefs.h. */
7113 #include <sys/types.h>
7114 #include <sys/stat.h>
7116 #if defined S_ISBLK && defined S_IFDIR
7117 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7120 #if defined S_ISBLK && defined S_IFCHR
7121 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7124 #if defined S_ISLNK && defined S_IFREG
7125 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7128 #if defined S_ISSOCK && defined S_IFREG
7129 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7133 rm -f conftest.
$ac_objext
7134 if { (ac_try
="$ac_compile"
7136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7137 *) ac_try_echo=$ac_try;;
7139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7140 (eval "$ac_compile") 2>conftest.er1
7142 grep -v '^ *+' conftest.er1 >conftest.err
7144 cat conftest.err >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } && {
7147 test -z "$ac_c_werror_flag" ||
7148 test ! -s conftest.err
7149 } && test -s conftest.$ac_objext; then
7150 ac_cv_header_stat_broken=no
7152 echo "$as_me: failed program was:" >&5
7153 sed 's/^/| /' conftest.$ac_ext >&5
7155 ac_cv_header_stat_broken=yes
7158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7160 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7161 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7162 if test $ac_cv_header_stat_broken = yes; then
7164 cat >>confdefs.h <<\_ACEOF
7165 #define STAT_MACROS_BROKEN 1
7176 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7178 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7179 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7182 echo $ECHO_N "(cached) $ECHO_C" >&6
7184 cat >conftest.$ac_ext <<_ACEOF
7187 cat confdefs.h >>conftest.$ac_ext
7188 cat >>conftest.$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7190 #include <sys/types.h>
7191 #if HAVE_SYS_PARAM_H
7192 # include <sys/param.h>
7195 #include <$ac_header>
7197 rm -f conftest.$ac_objext
7198 if { (ac_try="$ac_compile"
7200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7201 *) ac_try_echo
=$ac_try;;
7203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7204 (eval "$ac_compile") 2>conftest.er1
7206 grep -v '^ *+' conftest.er1
>conftest.err
7208 cat conftest.err
>&5
7209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7210 (exit $ac_status); } && {
7211 test -z "$ac_c_werror_flag" ||
7212 test ! -s conftest.err
7213 } && test -s conftest.
$ac_objext; then
7214 eval "$as_ac_Header=yes"
7216 echo "$as_me: failed program was:" >&5
7217 sed 's/^/| /' conftest.
$ac_ext >&5
7219 eval "$as_ac_Header=no"
7222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7224 ac_res
=`eval echo '${'$as_ac_Header'}'`
7225 { echo "$as_me:$LINENO: result: $ac_res" >&5
7226 echo "${ECHO_T}$ac_res" >&6; }
7227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7228 cat >>confdefs.h
<<_ACEOF
7229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7245 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
7247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7248 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7250 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7251 echo $ECHO_N "(cached) $ECHO_C" >&6
7253 cat >conftest.
$ac_ext <<_ACEOF
7256 cat confdefs.h
>>conftest.
$ac_ext
7257 cat >>conftest.
$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7259 #include <sys/types.h>
7260 #if HAVE_SYS_SOCKET_H
7261 # include <sys/socket.h>
7264 #include <$ac_header>
7266 rm -f conftest.
$ac_objext
7267 if { (ac_try
="$ac_compile"
7269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7270 *) ac_try_echo=$ac_try;;
7272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7273 (eval "$ac_compile") 2>conftest.er1
7275 grep -v '^ *+' conftest.er1 >conftest.err
7277 cat conftest.err >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } && {
7280 test -z "$ac_c_werror_flag" ||
7281 test ! -s conftest.err
7282 } && test -s conftest.$ac_objext; then
7283 eval "$as_ac_Header=yes"
7285 echo "$as_me: failed program was:" >&5
7286 sed 's/^/| /' conftest.$ac_ext >&5
7288 eval "$as_ac_Header=no"
7291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7293 ac_res=`eval echo '${'$as_ac_Header'}'`
7294 { echo "$as_me:$LINENO: result: $ac_res" >&5
7295 echo "${ECHO_T}$ac_res" >&6; }
7296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7297 cat >>confdefs.h <<_ACEOF
7298 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7305 #if HAVE_SYS_SOCKETVAR_H
7306 # include <sys/socketvar.h>
7310 for ac_header in netinet/tcp_var.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 #if HAVE_SYS_SOCKET_H
7326 # include <sys/socket.h>
7328 #if HAVE_SYS_SOCKETVAR_H
7329 # include <sys/socketvar.h>
7331 #if HAVE_NETINET_IN_H
7332 # include <netinet/in.h>
7334 #ifdef HAVE_NETINET_TCP_H
7335 # include <netinet/tcp.h>
7338 #include <$ac_header>
7340 rm -f conftest.$ac_objext
7341 if { (ac_try="$ac_compile"
7343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7344 *) ac_try_echo
=$ac_try;;
7346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7347 (eval "$ac_compile") 2>conftest.er1
7349 grep -v '^ *+' conftest.er1
>conftest.err
7351 cat conftest.err
>&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); } && {
7354 test -z "$ac_c_werror_flag" ||
7355 test ! -s conftest.err
7356 } && test -s conftest.
$ac_objext; then
7357 eval "$as_ac_Header=yes"
7359 echo "$as_me: failed program was:" >&5
7360 sed 's/^/| /' conftest.
$ac_ext >&5
7362 eval "$as_ac_Header=no"
7365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7367 ac_res
=`eval echo '${'$as_ac_Header'}'`
7368 { echo "$as_me:$LINENO: result: $ac_res" >&5
7369 echo "${ECHO_T}$ac_res" >&6; }
7370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7371 cat >>confdefs.h
<<_ACEOF
7372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7381 for ac_header
in linux
/ipx.h
7383 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7386 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7389 cat >conftest.
$ac_ext <<_ACEOF
7392 cat confdefs.h
>>conftest.
$ac_ext
7393 cat >>conftest.
$ac_ext <<_ACEOF
7394 /* end confdefs.h. */
7395 #include <sys/types.h>
7396 #ifdef HAVE_ASM_TYPES_H
7397 # include <asm/types.h>
7399 #if HAVE_SYS_SOCKET_H
7400 # include <sys/socket.h>
7403 #include <$ac_header>
7405 rm -f conftest.
$ac_objext
7406 if { (ac_try
="$ac_compile"
7408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7409 *) ac_try_echo=$ac_try;;
7411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7412 (eval "$ac_compile") 2>conftest.er1
7414 grep -v '^ *+' conftest.er1 >conftest.err
7416 cat conftest.err >&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); } && {
7419 test -z "$ac_c_werror_flag" ||
7420 test ! -s conftest.err
7421 } && test -s conftest.$ac_objext; then
7422 eval "$as_ac_Header=yes"
7424 echo "$as_me: failed program was:" >&5
7425 sed 's/^/| /' conftest.$ac_ext >&5
7427 eval "$as_ac_Header=no"
7430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7432 ac_res=`eval echo '${'$as_ac_Header'}'`
7433 { echo "$as_me:$LINENO: result: $ac_res" >&5
7434 echo "${ECHO_T}$ac_res" >&6; }
7435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7436 cat >>confdefs.h <<_ACEOF
7437 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7446 for ac_header in resolv.h
7448 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7449 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7452 echo $ECHO_N "(cached) $ECHO_C" >&6
7454 cat >conftest.$ac_ext <<_ACEOF
7457 cat confdefs.h >>conftest.$ac_ext
7458 cat >>conftest.$ac_ext <<_ACEOF
7459 /* end confdefs.h. */
7460 #include <sys/types.h>
7461 #if HAVE_SYS_SOCKET_H
7462 # include <sys/socket.h>
7464 #if HAVE_NETINET_IN_H
7465 # include <netinet/in.h>
7467 #if HAVE_ARPA_NAMESER_H
7468 # include <arpa/nameser.h>
7471 #include <$ac_header>
7473 rm -f conftest.$ac_objext
7474 if { (ac_try="$ac_compile"
7476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7477 *) ac_try_echo
=$ac_try;;
7479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7480 (eval "$ac_compile") 2>conftest.er1
7482 grep -v '^ *+' conftest.er1
>conftest.err
7484 cat conftest.err
>&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); } && {
7487 test -z "$ac_c_werror_flag" ||
7488 test ! -s conftest.err
7489 } && test -s conftest.
$ac_objext; then
7490 eval "$as_ac_Header=yes"
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.
$ac_ext >&5
7495 eval "$as_ac_Header=no"
7498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7500 ac_res
=`eval echo '${'$as_ac_Header'}'`
7501 { echo "$as_me:$LINENO: result: $ac_res" >&5
7502 echo "${ECHO_T}$ac_res" >&6; }
7503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7504 cat >>confdefs.h
<<_ACEOF
7505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7514 for ac_header
in ucontext.h
7516 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7517 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7519 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7520 echo $ECHO_N "(cached) $ECHO_C" >&6
7522 cat >conftest.
$ac_ext <<_ACEOF
7525 cat confdefs.h
>>conftest.
$ac_ext
7526 cat >>conftest.
$ac_ext <<_ACEOF
7527 /* end confdefs.h. */
7530 #include <$ac_header>
7532 rm -f conftest.
$ac_objext
7533 if { (ac_try
="$ac_compile"
7535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7536 *) ac_try_echo=$ac_try;;
7538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7539 (eval "$ac_compile") 2>conftest.er1
7541 grep -v '^ *+' conftest.er1 >conftest.err
7543 cat conftest.err >&5
7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545 (exit $ac_status); } && {
7546 test -z "$ac_c_werror_flag" ||
7547 test ! -s conftest.err
7548 } && test -s conftest.$ac_objext; then
7549 eval "$as_ac_Header=yes"
7551 echo "$as_me: failed program was:" >&5
7552 sed 's/^/| /' conftest.$ac_ext >&5
7554 eval "$as_ac_Header=no"
7557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7559 ac_res=`eval echo '${'$as_ac_Header'}'`
7560 { echo "$as_me:$LINENO: result: $ac_res" >&5
7561 echo "${ECHO_T}$ac_res" >&6; }
7562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7563 cat >>confdefs.h <<_ACEOF
7564 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7573 for ac_header in pthread_np.h
7575 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7576 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7578 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7579 echo $ECHO_N "(cached) $ECHO_C" >&6
7581 cat >conftest.$ac_ext <<_ACEOF
7584 cat confdefs.h >>conftest.$ac_ext
7585 cat >>conftest.$ac_ext <<_ACEOF
7586 /* end confdefs.h. */
7587 #ifdef HAVE_PTHREAD_H
7588 #include <pthread.h>
7591 #include <$ac_header>
7593 rm -f conftest.$ac_objext
7594 if { (ac_try="$ac_compile"
7596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7597 *) ac_try_echo
=$ac_try;;
7599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7600 (eval "$ac_compile") 2>conftest.er1
7602 grep -v '^ *+' conftest.er1
>conftest.err
7604 cat conftest.err
>&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); } && {
7607 test -z "$ac_c_werror_flag" ||
7608 test ! -s conftest.err
7609 } && test -s conftest.
$ac_objext; then
7610 eval "$as_ac_Header=yes"
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.
$ac_ext >&5
7615 eval "$as_ac_Header=no"
7618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7620 ac_res
=`eval echo '${'$as_ac_Header'}'`
7621 { echo "$as_me:$LINENO: result: $ac_res" >&5
7622 echo "${ECHO_T}$ac_res" >&6; }
7623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7624 cat >>confdefs.h
<<_ACEOF
7625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7634 for ac_header
in linux
/videodev.h
7636 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7637 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7639 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7640 echo $ECHO_N "(cached) $ECHO_C" >&6
7642 cat >conftest.
$ac_ext <<_ACEOF
7645 cat confdefs.h
>>conftest.
$ac_ext
7646 cat >>conftest.
$ac_ext <<_ACEOF
7647 /* end confdefs.h. */
7648 #ifdef HAVE_SYS_TIME_H
7649 #include <sys/time.h>
7651 #include <sys/types.h>
7652 #ifdef HAVE_ASM_TYPES_H
7653 #include <asm/types.h>
7656 #include <$ac_header>
7658 rm -f conftest.
$ac_objext
7659 if { (ac_try
="$ac_compile"
7661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7662 *) ac_try_echo=$ac_try;;
7664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7665 (eval "$ac_compile") 2>conftest.er1
7667 grep -v '^ *+' conftest.er1 >conftest.err
7669 cat conftest.err >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); } && {
7672 test -z "$ac_c_werror_flag" ||
7673 test ! -s conftest.err
7674 } && test -s conftest.$ac_objext; then
7675 eval "$as_ac_Header=yes"
7677 echo "$as_me: failed program was:" >&5
7678 sed 's/^/| /' conftest.$ac_ext >&5
7680 eval "$as_ac_Header=no"
7683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7685 ac_res=`eval echo '${'$as_ac_Header'}'`
7686 { echo "$as_me:$LINENO: result: $ac_res" >&5
7687 echo "${ECHO_T}$ac_res" >&6; }
7688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7689 cat >>confdefs.h <<_ACEOF
7690 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7699 for ac_header in linux/capi.h
7701 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7702 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7705 echo $ECHO_N "(cached) $ECHO_C" >&6
7707 cat >conftest.$ac_ext <<_ACEOF
7710 cat confdefs.h >>conftest.$ac_ext
7711 cat >>conftest.$ac_ext <<_ACEOF
7712 /* end confdefs.h. */
7715 #include <$ac_header>
7717 rm -f conftest.$ac_objext
7718 if { (ac_try="$ac_compile"
7720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7721 *) ac_try_echo
=$ac_try;;
7723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7724 (eval "$ac_compile") 2>conftest.er1
7726 grep -v '^ *+' conftest.er1
>conftest.err
7728 cat conftest.err
>&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); } && {
7731 test -z "$ac_c_werror_flag" ||
7732 test ! -s conftest.err
7733 } && test -s conftest.
$ac_objext; then
7734 eval "$as_ac_Header=yes"
7736 echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.
$ac_ext >&5
7739 eval "$as_ac_Header=no"
7742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7744 ac_res
=`eval echo '${'$as_ac_Header'}'`
7745 { echo "$as_me:$LINENO: result: $ac_res" >&5
7746 echo "${ECHO_T}$ac_res" >&6; }
7747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7748 cat >>confdefs.h
<<_ACEOF
7749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7760 DLLFLAGS
="-D_REENTRANT"
7774 # Extract the first word of "ldd", so it can be a program name with args.
7775 set dummy ldd
; ac_word
=$2
7776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7778 if test "${ac_cv_path_LDD+set}" = set; then
7779 echo $ECHO_N "(cached) $ECHO_C" >&6
7783 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7787 as_dummy
="/sbin:/usr/sbin:$PATH"
7788 for as_dir
in $as_dummy
7791 test -z "$as_dir" && as_dir
=.
7792 for ac_exec_ext
in '' $ac_executable_extensions; do
7793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7794 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7802 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7807 if test -n "$LDD"; then
7808 { echo "$as_me:$LINENO: result: $LDD" >&5
7809 echo "${ECHO_T}$LDD" >&6; }
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7819 if test -n "$ac_tool_prefix"; then
7820 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7821 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7824 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7827 if test -n "$DLLTOOL"; then
7828 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir
=.
7835 for ac_exec_ext
in '' $ac_executable_extensions; do
7836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7837 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7847 DLLTOOL
=$ac_cv_prog_DLLTOOL
7848 if test -n "$DLLTOOL"; then
7849 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7850 echo "${ECHO_T}$DLLTOOL" >&6; }
7852 { echo "$as_me:$LINENO: result: no" >&5
7853 echo "${ECHO_T}no" >&6; }
7858 if test -z "$ac_cv_prog_DLLTOOL"; then
7859 ac_ct_DLLTOOL
=$DLLTOOL
7860 # Extract the first word of "dlltool", so it can be a program name with args.
7861 set dummy dlltool
; ac_word
=$2
7862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7864 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7865 echo $ECHO_N "(cached) $ECHO_C" >&6
7867 if test -n "$ac_ct_DLLTOOL"; then
7868 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7874 test -z "$as_dir" && as_dir
=.
7875 for ac_exec_ext
in '' $ac_executable_extensions; do
7876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7877 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7887 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7888 if test -n "$ac_ct_DLLTOOL"; then
7889 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7890 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7892 { echo "$as_me:$LINENO: result: no" >&5
7893 echo "${ECHO_T}no" >&6; }
7896 if test "x$ac_ct_DLLTOOL" = x
; then
7899 case $cross_compiling:$ac_tool_warned in
7901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7902 whose name does not start with the host triplet. If you think this
7903 configuration is useful to you, please write to autoconf@gnu.org." >&5
7904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7905 whose name does not start with the host triplet. If you think this
7906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7907 ac_tool_warned
=yes ;;
7909 DLLTOOL
=$ac_ct_DLLTOOL
7912 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7915 if test -n "$ac_tool_prefix"; then
7916 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7917 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
7918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7920 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7921 echo $ECHO_N "(cached) $ECHO_C" >&6
7923 if test -n "$DLLWRAP"; then
7924 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7930 test -z "$as_dir" && as_dir
=.
7931 for ac_exec_ext
in '' $ac_executable_extensions; do
7932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7933 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
7934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7943 DLLWRAP
=$ac_cv_prog_DLLWRAP
7944 if test -n "$DLLWRAP"; then
7945 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7946 echo "${ECHO_T}$DLLWRAP" >&6; }
7948 { echo "$as_me:$LINENO: result: no" >&5
7949 echo "${ECHO_T}no" >&6; }
7954 if test -z "$ac_cv_prog_DLLWRAP"; then
7955 ac_ct_DLLWRAP
=$DLLWRAP
7956 # Extract the first word of "dllwrap", so it can be a program name with args.
7957 set dummy dllwrap
; ac_word
=$2
7958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7960 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7963 if test -n "$ac_ct_DLLWRAP"; then
7964 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
7966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7970 test -z "$as_dir" && as_dir
=.
7971 for ac_exec_ext
in '' $ac_executable_extensions; do
7972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7973 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
7974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7983 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
7984 if test -n "$ac_ct_DLLWRAP"; then
7985 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7986 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7988 { echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6; }
7992 if test "x$ac_ct_DLLWRAP" = x
; then
7995 case $cross_compiling:$ac_tool_warned in
7997 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7998 whose name does not start with the host triplet. If you think this
7999 configuration is useful to you, please write to autoconf@gnu.org." >&5
8000 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8001 whose name does not start with the host triplet. If you think this
8002 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8003 ac_tool_warned
=yes ;;
8005 DLLWRAP
=$ac_ct_DLLWRAP
8008 DLLWRAP
="$ac_cv_prog_DLLWRAP"
8011 if test -n "$ac_tool_prefix"; then
8012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8013 set dummy
${ac_tool_prefix}ar; ac_word
=$2
8014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8016 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 if test -n "$MINGWAR"; then
8020 ac_cv_prog_MINGWAR
="$MINGWAR" # Let the user override the test.
8022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8026 test -z "$as_dir" && as_dir
=.
8027 for ac_exec_ext
in '' $ac_executable_extensions; do
8028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8029 ac_cv_prog_MINGWAR
="${ac_tool_prefix}ar"
8030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8039 MINGWAR
=$ac_cv_prog_MINGWAR
8040 if test -n "$MINGWAR"; then
8041 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8042 echo "${ECHO_T}$MINGWAR" >&6; }
8044 { echo "$as_me:$LINENO: result: no" >&5
8045 echo "${ECHO_T}no" >&6; }
8050 if test -z "$ac_cv_prog_MINGWAR"; then
8051 ac_ct_MINGWAR
=$MINGWAR
8052 # Extract the first word of "ar", so it can be a program name with args.
8053 set dummy
ar; ac_word
=$2
8054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8056 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8057 echo $ECHO_N "(cached) $ECHO_C" >&6
8059 if test -n "$ac_ct_MINGWAR"; then
8060 ac_cv_prog_ac_ct_MINGWAR
="$ac_ct_MINGWAR" # Let the user override the test.
8062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8066 test -z "$as_dir" && as_dir
=.
8067 for ac_exec_ext
in '' $ac_executable_extensions; do
8068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8069 ac_cv_prog_ac_ct_MINGWAR
="ar"
8070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 ac_ct_MINGWAR
=$ac_cv_prog_ac_ct_MINGWAR
8080 if test -n "$ac_ct_MINGWAR"; then
8081 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8082 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8084 { echo "$as_me:$LINENO: result: no" >&5
8085 echo "${ECHO_T}no" >&6; }
8088 if test "x$ac_ct_MINGWAR" = x
; then
8091 case $cross_compiling:$ac_tool_warned in
8093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8094 whose name does not start with the host triplet. If you think this
8095 configuration is useful to you, please write to autoconf@gnu.org." >&5
8096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8097 whose name does not start with the host triplet. If you think this
8098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8099 ac_tool_warned
=yes ;;
8101 MINGWAR
=$ac_ct_MINGWAR
8104 MINGWAR
="$ac_cv_prog_MINGWAR"
8107 if test "$DLLWRAP" = "false"; then
8119 DLLFLAGS
="$DLLFLAGS -fPIC"
8120 LDDLLFLAGS
="-bundle -multiply_defined suppress"
8121 LIBWINE_LDFLAGS
="-multiply_defined suppress"
8122 LDSHARED
="\$(CC) -dynamiclib"
8124 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8125 COREFOUNDATIONLIB
="-framework CoreFoundation"
8127 IOKITLIB
="-framework IOKit -framework CoreFoundation"
8129 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8131 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8133 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
8136 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8138 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8143 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
8145 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8147 CARBONLIB
="-framework Carbon"
8149 QUARTZFILES
='$(QUARTZFILES)'
8153 DLLFLAGS
="$DLLFLAGS -fPIC"
8155 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8156 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8157 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8158 echo $ECHO_N "(cached) $ECHO_C" >&6
8160 ac_wine_try_cflags_saved
=$CFLAGS
8161 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8162 cat >conftest.
$ac_ext <<_ACEOF
8165 rm -f conftest.
$ac_objext conftest
$ac_exeext
8166 if { (ac_try
="$ac_link"
8168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8169 *) ac_try_echo=$ac_try;;
8171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8172 (eval "$ac_link") 2>conftest.er1
8174 grep -v '^ *+' conftest.er1 >conftest.err
8176 cat conftest.err >&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } && {
8179 test -z "$ac_c_werror_flag" ||
8180 test ! -s conftest.err
8181 } && test -s conftest$ac_exeext &&
8182 $as_test_x conftest$ac_exeext; then
8183 ac_cv_c_dll_gnuelf="yes"
8185 echo "$as_me: failed program was:" >&5
8186 sed 's/^/| /' conftest.$ac_ext >&5
8188 ac_cv_c_dll_gnuelf="no"
8191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8192 conftest$ac_exeext conftest.$ac_ext
8193 CFLAGS=$ac_wine_try_cflags_saved
8195 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8196 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8197 if test "$ac_cv_c_dll_gnuelf" = "yes"
8199 LDSHARED="\$(CC) -shared"
8200 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8201 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8202 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8203 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8204 echo $ECHO_N "(cached) $ECHO_C" >&6
8206 ac_wine_try_cflags_saved=$CFLAGS
8207 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8208 cat >conftest.$ac_ext <<_ACEOF
8211 cat confdefs.h >>conftest.$ac_ext
8212 cat >>conftest.$ac_ext <<_ACEOF
8213 /* end confdefs.h. */
8223 rm -f conftest.$ac_objext conftest$ac_exeext
8224 if { (ac_try="$ac_link"
8226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8227 *) ac_try_echo
=$ac_try;;
8229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8230 (eval "$ac_link") 2>conftest.er1
8232 grep -v '^ *+' conftest.er1
>conftest.err
8234 cat conftest.err
>&5
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); } && {
8237 test -z "$ac_c_werror_flag" ||
8238 test ! -s conftest.err
8239 } && test -s conftest
$ac_exeext &&
8240 $as_test_x conftest
$ac_exeext; then
8241 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8243 echo "$as_me: failed program was:" >&5
8244 sed 's/^/| /' conftest.
$ac_ext >&5
8246 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8249 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8250 conftest
$ac_exeext conftest.
$ac_ext
8251 CFLAGS
=$ac_wine_try_cflags_saved
8253 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8254 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8255 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8256 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8258 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8259 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8260 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 ac_wine_try_cflags_saved
=$CFLAGS
8264 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8265 cat >conftest.
$ac_ext <<_ACEOF
8268 cat confdefs.h
>>conftest.
$ac_ext
8269 cat >>conftest.
$ac_ext <<_ACEOF
8270 /* end confdefs.h. */
8280 rm -f conftest.
$ac_objext conftest
$ac_exeext
8281 if { (ac_try
="$ac_link"
8283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8284 *) ac_try_echo=$ac_try;;
8286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8287 (eval "$ac_link") 2>conftest.er1
8289 grep -v '^ *+' conftest.er1 >conftest.err
8291 cat conftest.err >&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); } && {
8294 test -z "$ac_c_werror_flag" ||
8295 test ! -s conftest.err
8296 } && test -s conftest$ac_exeext &&
8297 $as_test_x conftest$ac_exeext; then
8298 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8300 echo "$as_me: failed program was:" >&5
8301 sed 's/^/| /' conftest.$ac_ext >&5
8303 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8307 conftest$ac_exeext conftest.$ac_ext
8308 CFLAGS=$ac_wine_try_cflags_saved
8310 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8311 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8312 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8313 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8319 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8320 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8321 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8322 echo $ECHO_N "(cached) $ECHO_C" >&6
8324 ac_wine_try_cflags_saved=$CFLAGS
8325 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8326 cat >conftest.$ac_ext <<_ACEOF
8329 cat confdefs.h >>conftest.$ac_ext
8330 cat >>conftest.$ac_ext <<_ACEOF
8331 /* end confdefs.h. */
8341 rm -f conftest.$ac_objext conftest$ac_exeext
8342 if { (ac_try="$ac_link"
8344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8345 *) ac_try_echo
=$ac_try;;
8347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8348 (eval "$ac_link") 2>conftest.er1
8350 grep -v '^ *+' conftest.er1
>conftest.err
8352 cat conftest.err
>&5
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); } && {
8355 test -z "$ac_c_werror_flag" ||
8356 test ! -s conftest.err
8357 } && test -s conftest
$ac_exeext &&
8358 $as_test_x conftest
$ac_exeext; then
8359 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
8361 echo "$as_me: failed program was:" >&5
8362 sed 's/^/| /' conftest.
$ac_ext >&5
8364 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
8367 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8368 conftest
$ac_exeext conftest.
$ac_ext
8369 CFLAGS
=$ac_wine_try_cflags_saved
8371 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8372 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8373 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8374 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
8378 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8379 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8380 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8381 echo $ECHO_N "(cached) $ECHO_C" >&6
8383 ac_wine_try_cflags_saved
=$CFLAGS
8384 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8385 cat >conftest.
$ac_ext <<_ACEOF
8388 cat confdefs.h
>>conftest.
$ac_ext
8389 cat >>conftest.
$ac_ext <<_ACEOF
8390 /* end confdefs.h. */
8400 rm -f conftest.
$ac_objext conftest
$ac_exeext
8401 if { (ac_try
="$ac_link"
8403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8404 *) ac_try_echo=$ac_try;;
8406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8407 (eval "$ac_link") 2>conftest.er1
8409 grep -v '^ *+' conftest.er1 >conftest.err
8411 cat conftest.err >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); } && {
8414 test -z "$ac_c_werror_flag" ||
8415 test ! -s conftest.err
8416 } && test -s conftest$ac_exeext &&
8417 $as_test_x conftest$ac_exeext; then
8418 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8420 echo "$as_me: failed program was:" >&5
8421 sed 's/^/| /' conftest.$ac_ext >&5
8423 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8427 conftest$ac_exeext conftest.$ac_ext
8428 CFLAGS=$ac_wine_try_cflags_saved
8430 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8431 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8432 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8433 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8437 echo '{ global: *; };' >conftest.map
8438 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8439 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8440 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8441 echo $ECHO_N "(cached) $ECHO_C" >&6
8443 ac_wine_try_cflags_saved=$CFLAGS
8444 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8445 cat >conftest.$ac_ext <<_ACEOF
8448 cat confdefs.h >>conftest.$ac_ext
8449 cat >>conftest.$ac_ext <<_ACEOF
8450 /* end confdefs.h. */
8460 rm -f conftest.$ac_objext conftest$ac_exeext
8461 if { (ac_try="$ac_link"
8463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8464 *) ac_try_echo
=$ac_try;;
8466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8467 (eval "$ac_link") 2>conftest.er1
8469 grep -v '^ *+' conftest.er1
>conftest.err
8471 cat conftest.err
>&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); } && {
8474 test -z "$ac_c_werror_flag" ||
8475 test ! -s conftest.err
8476 } && test -s conftest
$ac_exeext &&
8477 $as_test_x conftest
$ac_exeext; then
8478 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8480 echo "$as_me: failed program was:" >&5
8481 sed 's/^/| /' conftest.
$ac_ext >&5
8483 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8486 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8487 conftest
$ac_exeext conftest.
$ac_ext
8488 CFLAGS
=$ac_wine_try_cflags_saved
8490 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8491 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8492 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8493 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8498 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8499 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8500 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8501 echo $ECHO_N "(cached) $ECHO_C" >&6
8503 ac_wine_try_cflags_saved
=$CFLAGS
8504 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8505 cat >conftest.
$ac_ext <<_ACEOF
8508 cat confdefs.h
>>conftest.
$ac_ext
8509 cat >>conftest.
$ac_ext <<_ACEOF
8510 /* end confdefs.h. */
8520 rm -f conftest.
$ac_objext conftest
$ac_exeext
8521 if { (ac_try
="$ac_link"
8523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8524 *) ac_try_echo=$ac_try;;
8526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8527 (eval "$ac_link") 2>conftest.er1
8529 grep -v '^ *+' conftest.er1 >conftest.err
8531 cat conftest.err >&5
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); } && {
8534 test -z "$ac_c_werror_flag" ||
8535 test ! -s conftest.err
8536 } && test -s conftest$ac_exeext &&
8537 $as_test_x conftest$ac_exeext; then
8538 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8540 echo "$as_me: failed program was:" >&5
8541 sed 's/^/| /' conftest.$ac_ext >&5
8543 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8547 conftest$ac_exeext conftest.$ac_ext
8548 CFLAGS=$ac_wine_try_cflags_saved
8550 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8551 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8552 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8553 LDEXECFLAGS="-Wl,--export-dynamic"
8558 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
8559 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8560 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8561 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8562 echo $ECHO_N "(cached) $ECHO_C" >&6
8564 ac_wine_try_cflags_saved=$CFLAGS
8565 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8566 cat >conftest.$ac_ext <<_ACEOF
8569 cat confdefs.h >>conftest.$ac_ext
8570 cat >>conftest.$ac_ext <<_ACEOF
8571 /* end confdefs.h. */
8581 rm -f conftest.$ac_objext conftest$ac_exeext
8582 if { (ac_try="$ac_link"
8584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8585 *) ac_try_echo
=$ac_try;;
8587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8588 (eval "$ac_link") 2>conftest.er1
8590 grep -v '^ *+' conftest.er1
>conftest.err
8592 cat conftest.err
>&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); } && {
8595 test -z "$ac_c_werror_flag" ||
8596 test ! -s conftest.err
8597 } && test -s conftest
$ac_exeext &&
8598 $as_test_x conftest
$ac_exeext; then
8599 eval "$as_ac_var=yes"
8601 echo "$as_me: failed program was:" >&5
8602 sed 's/^/| /' conftest.
$ac_ext >&5
8604 eval "$as_ac_var=no"
8607 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8608 conftest
$ac_exeext conftest.
$ac_ext
8609 CFLAGS
=$ac_wine_try_cflags_saved
8611 ac_res
=`eval echo '${'$as_ac_var'}'`
8612 { echo "$as_me:$LINENO: result: $ac_res" >&5
8613 echo "${ECHO_T}$ac_res" >&6; }
8614 if test `eval echo '${'$as_ac_var'}'` = yes; then
8615 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8616 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8618 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8619 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8620 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8621 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8622 echo $ECHO_N "(cached) $ECHO_C" >&6
8624 ac_wine_try_cflags_saved
=$CFLAGS
8625 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8626 cat >conftest.
$ac_ext <<_ACEOF
8629 cat confdefs.h
>>conftest.
$ac_ext
8630 cat >>conftest.
$ac_ext <<_ACEOF
8631 /* end confdefs.h. */
8641 rm -f conftest.
$ac_objext conftest
$ac_exeext
8642 if { (ac_try
="$ac_link"
8644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8645 *) ac_try_echo=$ac_try;;
8647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8648 (eval "$ac_link") 2>conftest.er1
8650 grep -v '^ *+' conftest.er1 >conftest.err
8652 cat conftest.err >&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); } && {
8655 test -z "$ac_c_werror_flag" ||
8656 test ! -s conftest.err
8657 } && test -s conftest$ac_exeext &&
8658 $as_test_x conftest$ac_exeext; then
8659 eval "$as_ac_var=yes"
8661 echo "$as_me: failed program was:" >&5
8662 sed 's/^/| /' conftest.$ac_ext >&5
8664 eval "$as_ac_var=no"
8667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8668 conftest$ac_exeext conftest.$ac_ext
8669 CFLAGS=$ac_wine_try_cflags_saved
8671 ac_res=`eval echo '${'$as_ac_var'}'`
8672 { echo "$as_me:$LINENO: result: $ac_res" >&5
8673 echo "${ECHO_T}$ac_res" >&6; }
8674 if test `eval echo '${'$as_ac_var'}'` = yes; then
8675 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
8676 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8682 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8683 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8684 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 ac_wine_try_cflags_saved=$CFLAGS
8688 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8689 cat >conftest.$ac_ext <<_ACEOF
8692 cat confdefs.h >>conftest.$ac_ext
8693 cat >>conftest.$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8704 rm -f conftest.$ac_objext conftest$ac_exeext
8705 if { (ac_try="$ac_link"
8707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8708 *) ac_try_echo
=$ac_try;;
8710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8711 (eval "$ac_link") 2>conftest.er1
8713 grep -v '^ *+' conftest.er1
>conftest.err
8715 cat conftest.err
>&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } && {
8718 test -z "$ac_c_werror_flag" ||
8719 test ! -s conftest.err
8720 } && test -s conftest
$ac_exeext &&
8721 $as_test_x conftest
$ac_exeext; then
8722 ac_cv_cflags__Wl___enable_new_dtags
=yes
8724 echo "$as_me: failed program was:" >&5
8725 sed 's/^/| /' conftest.
$ac_ext >&5
8727 ac_cv_cflags__Wl___enable_new_dtags
=no
8730 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8731 conftest
$ac_exeext conftest.
$ac_ext
8732 CFLAGS
=$ac_wine_try_cflags_saved
8734 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8735 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8736 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8737 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8742 *i
[3456789]86* | x86_64
)
8743 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8744 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8745 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8746 echo $ECHO_N "(cached) $ECHO_C" >&6
8748 ac_wine_try_cflags_saved
=$CFLAGS
8749 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8750 cat >conftest.
$ac_ext <<_ACEOF
8753 cat confdefs.h
>>conftest.
$ac_ext
8754 cat >>conftest.
$ac_ext <<_ACEOF
8755 /* end confdefs.h. */
8765 rm -f conftest.
$ac_objext conftest
$ac_exeext
8766 if { (ac_try
="$ac_link"
8768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8769 *) ac_try_echo=$ac_try;;
8771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8772 (eval "$ac_link") 2>conftest.er1
8774 grep -v '^ *+' conftest.er1 >conftest.err
8776 cat conftest.err >&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); } && {
8779 test -z "$ac_c_werror_flag" ||
8780 test ! -s conftest.err
8781 } && test -s conftest$ac_exeext &&
8782 $as_test_x conftest$ac_exeext; then
8783 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8785 echo "$as_me: failed program was:" >&5
8786 sed 's/^/| /' conftest.$ac_ext >&5
8788 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8792 conftest$ac_exeext conftest.$ac_ext
8793 CFLAGS=$ac_wine_try_cflags_saved
8795 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8796 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8797 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8798 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8805 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8806 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8807 if test "${ac_cv_c_dll_unixware+set}" = set; then
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8810 ac_wine_try_cflags_saved=$CFLAGS
8811 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8812 cat >conftest.$ac_ext <<_ACEOF
8815 rm -f conftest.$ac_objext conftest$ac_exeext
8816 if { (ac_try="$ac_link"
8818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8819 *) ac_try_echo
=$ac_try;;
8821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8822 (eval "$ac_link") 2>conftest.er1
8824 grep -v '^ *+' conftest.er1
>conftest.err
8826 cat conftest.err
>&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 (exit $ac_status); } && {
8829 test -z "$ac_c_werror_flag" ||
8830 test ! -s conftest.err
8831 } && test -s conftest
$ac_exeext &&
8832 $as_test_x conftest
$ac_exeext; then
8833 ac_cv_c_dll_unixware
="yes"
8835 echo "$as_me: failed program was:" >&5
8836 sed 's/^/| /' conftest.
$ac_ext >&5
8838 ac_cv_c_dll_unixware
="no"
8841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8842 conftest
$ac_exeext conftest.
$ac_ext
8843 CFLAGS
=$ac_wine_try_cflags_saved
8845 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8846 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8847 if test "$ac_cv_c_dll_unixware" = "yes"
8849 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8850 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
8853 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8854 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8855 if test "${ac_cv_c_dll_hpux+set}" = set; then
8856 echo $ECHO_N "(cached) $ECHO_C" >&6
8858 ac_wine_try_cflags_saved
=$CFLAGS
8859 CFLAGS
="$CFLAGS -shared"
8860 cat >conftest.
$ac_ext <<_ACEOF
8863 rm -f conftest.
$ac_objext conftest
$ac_exeext
8864 if { (ac_try
="$ac_link"
8866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8867 *) ac_try_echo=$ac_try;;
8869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8870 (eval "$ac_link") 2>conftest.er1
8872 grep -v '^ *+' conftest.er1 >conftest.err
8874 cat conftest.err >&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); } && {
8877 test -z "$ac_c_werror_flag" ||
8878 test ! -s conftest.err
8879 } && test -s conftest$ac_exeext &&
8880 $as_test_x conftest$ac_exeext; then
8881 ac_cv_c_dll_hpux="yes"
8883 echo "$as_me: failed program was:" >&5
8884 sed 's/^/| /' conftest.$ac_ext >&5
8886 ac_cv_c_dll_hpux="no"
8889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8890 conftest$ac_exeext conftest.$ac_ext
8891 CFLAGS=$ac_wine_try_cflags_saved
8893 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8894 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8895 if test "$ac_cv_c_dll_hpux" = "yes"
8899 LDDLLFLAGS="-shared -fPIC"
8900 LDSHARED="\$(CC) -shared"
8907 if test "$cross_compiling" = "no"
8909 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8911 # Extract the first word of "$ac_prog", so it can be a program name with args.
8912 set dummy $ac_prog; ac_word=$2
8913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8915 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8916 echo $ECHO_N "(cached) $ECHO_C" >&6
8918 if test -n "$CROSSCC"; then
8919 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8925 test -z "$as_dir" && as_dir=.
8926 for ac_exec_ext in '' $ac_executable_extensions; do
8927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8928 ac_cv_prog_CROSSCC="$ac_prog"
8929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8938 CROSSCC=$ac_cv_prog_CROSSCC
8939 if test -n "$CROSSCC"; then
8940 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8941 echo "${ECHO_T}$CROSSCC" >&6; }
8943 { echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6; }
8948 test -n "$CROSSCC" && break
8950 test -n "$CROSSCC" || CROSSCC="false"
8952 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8954 # Extract the first word of "$ac_prog", so it can be a program name with args.
8955 set dummy $ac_prog; ac_word=$2
8956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8958 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8959 echo $ECHO_N "(cached) $ECHO_C" >&6
8961 if test -n "$DLLTOOL"; then
8962 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8968 test -z "$as_dir" && as_dir=.
8969 for ac_exec_ext in '' $ac_executable_extensions; do
8970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8971 ac_cv_prog_DLLTOOL="$ac_prog"
8972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8981 DLLTOOL=$ac_cv_prog_DLLTOOL
8982 if test -n "$DLLTOOL"; then
8983 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8984 echo "${ECHO_T}$DLLTOOL" >&6; }
8986 { echo "$as_me:$LINENO: result: no" >&5
8987 echo "${ECHO_T}no" >&6; }
8991 test -n "$DLLTOOL" && break
8993 test -n "$DLLTOOL" || DLLTOOL="false"
8995 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8997 # Extract the first word of "$ac_prog", so it can be a program name with args.
8998 set dummy $ac_prog; ac_word=$2
8999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9001 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9002 echo $ECHO_N "(cached) $ECHO_C" >&6
9004 if test -n "$CROSSWINDRES"; then
9005 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9011 test -z "$as_dir" && as_dir=.
9012 for ac_exec_ext in '' $ac_executable_extensions; do
9013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9014 ac_cv_prog_CROSSWINDRES="$ac_prog"
9015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9024 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9025 if test -n "$CROSSWINDRES"; then
9026 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9027 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9029 { echo "$as_me:$LINENO: result: no" >&5
9030 echo "${ECHO_T}no" >&6; }
9034 test -n "$CROSSWINDRES" && break
9036 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9038 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
9040 # Extract the first word of "$ac_prog", so it can be a program name with args.
9041 set dummy $ac_prog; ac_word=$2
9042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9044 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9045 echo $ECHO_N "(cached) $ECHO_C" >&6
9047 if test -n "$MINGWAR"; then
9048 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9054 test -z "$as_dir" && as_dir=.
9055 for ac_exec_ext in '' $ac_executable_extensions; do
9056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9057 ac_cv_prog_MINGWAR="$ac_prog"
9058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9067 MINGWAR=$ac_cv_prog_MINGWAR
9068 if test -n "$MINGWAR"; then
9069 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9070 echo "${ECHO_T}$MINGWAR" >&6; }
9072 { echo "$as_me:$LINENO: result: no" >&5
9073 echo "${ECHO_T}no" >&6; }
9077 test -n "$MINGWAR" && break
9079 test -n "$MINGWAR" || MINGWAR="false"
9081 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9086 if test "$LIBEXT" = "a"; then
9087 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9088 It is currently not possible to build Wine without shared library
9089 (.so) support to allow transparent switch between .so and .dll files.
9090 If you are using Linux, you will need a newer binutils.
9092 echo "$as_me: error: could not find a way to build shared libraries.
9093 It is currently not possible to build Wine without shared library
9094 (.so) support to allow transparent switch between .so and .dll files.
9095 If you are using Linux, you will need a newer binutils.
9097 { (exit 1); exit 1; }; }
9101 if test "$have_x" = "yes"
9104 ac_save_CPPFLAGS="$CPPFLAGS"
9105 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9107 { echo "$as_me:$LINENO: checking for -lX11" >&5
9108 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9109 if test "${ac_cv_lib_soname_X11+set}" = set; then
9110 echo $ECHO_N "(cached) $ECHO_C" >&6
9112 ac_check_soname_save_LIBS=$LIBS
9113 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9114 cat >conftest.$ac_ext <<_ACEOF
9117 cat confdefs.h >>conftest.$ac_ext
9118 cat >>conftest.$ac_ext <<_ACEOF
9119 /* end confdefs.h. */
9121 /* Override any GCC internal prototype to avoid an error.
9122 Use char because int might match the return type of a GCC
9123 builtin and then its argument prototype would still apply. */
9127 char XCreateWindow ();
9131 return XCreateWindow ();
9136 rm -f conftest.$ac_objext conftest$ac_exeext
9137 if { (ac_try="$ac_link"
9139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9140 *) ac_try_echo
=$ac_try;;
9142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9143 (eval "$ac_link") 2>conftest.er1
9145 grep -v '^ *+' conftest.er1
>conftest.err
9147 cat conftest.err
>&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); } && {
9150 test -z "$ac_c_werror_flag" ||
9151 test ! -s conftest.err
9152 } && test -s conftest
$ac_exeext &&
9153 $as_test_x conftest
$ac_exeext; then
9156 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'` ;;
9157 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9160 echo "$as_me: failed program was:" >&5
9161 sed 's/^/| /' conftest.
$ac_ext >&5
9166 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9167 conftest
$ac_exeext conftest.
$ac_ext
9168 LIBS
=$ac_check_soname_save_LIBS
9170 if test "x$ac_cv_lib_soname_X11" = "x"; then
9171 { echo "$as_me:$LINENO: result: not found" >&5
9172 echo "${ECHO_T}not found" >&6; }
9175 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9176 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9178 cat >>confdefs.h
<<_ACEOF
9179 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9185 { echo "$as_me:$LINENO: checking for -lXext" >&5
9186 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9187 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9188 echo $ECHO_N "(cached) $ECHO_C" >&6
9190 ac_check_soname_save_LIBS
=$LIBS
9191 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9192 cat >conftest.
$ac_ext <<_ACEOF
9195 cat confdefs.h
>>conftest.
$ac_ext
9196 cat >>conftest.
$ac_ext <<_ACEOF
9197 /* end confdefs.h. */
9199 /* Override any GCC internal prototype to avoid an error.
9200 Use char because int might match the return type of a GCC
9201 builtin and then its argument prototype would still apply. */
9205 char XextCreateExtension ();
9209 return XextCreateExtension ();
9214 rm -f conftest.
$ac_objext conftest
$ac_exeext
9215 if { (ac_try
="$ac_link"
9217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9218 *) ac_try_echo=$ac_try;;
9220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9221 (eval "$ac_link") 2>conftest.er1
9223 grep -v '^ *+' conftest.er1 >conftest.err
9225 cat conftest.err >&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); } && {
9228 test -z "$ac_c_werror_flag" ||
9229 test ! -s conftest.err
9230 } && test -s conftest$ac_exeext &&
9231 $as_test_x conftest$ac_exeext; then
9234 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'` ;;
9235 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXext\\.$LIBEXT" |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9238 echo "$as_me: failed program was:" >&5
9239 sed 's/^/| /' conftest.$ac_ext >&5
9244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9245 conftest$ac_exeext conftest.$ac_ext
9246 LIBS=$ac_check_soname_save_LIBS
9248 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9249 { echo "$as_me:$LINENO: result: not found" >&5
9250 echo "${ECHO_T}not found" >&6; }
9253 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9254 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9256 cat >>confdefs.h <<_ACEOF
9257 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9275 for ac_header in X11/Xlib.h \
9278 X11/Xcursor/Xcursor.h \
9279 X11/extensions/shape.h \
9280 X11/extensions/XInput.h \
9281 X11/extensions/XShm.h \
9282 X11/extensions/Xinerama.h \
9283 X11/extensions/Xrandr.h \
9284 X11/extensions/Xrender.h \
9285 X11/extensions/xf86vmode.h
9287 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9288 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9291 echo $ECHO_N "(cached) $ECHO_C" >&6
9293 cat >conftest.$ac_ext <<_ACEOF
9296 cat confdefs.h >>conftest.$ac_ext
9297 cat >>conftest.$ac_ext <<_ACEOF
9298 /* end confdefs.h. */
9299 #ifdef HAVE_X11_XLIB_H
9300 # include <X11/Xlib.h>
9302 #ifdef HAVE_X11_XUTIL_H
9303 # include <X11/Xutil.h>
9306 #include <$ac_header>
9308 rm -f conftest.$ac_objext
9309 if { (ac_try="$ac_compile"
9311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9312 *) ac_try_echo
=$ac_try;;
9314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9315 (eval "$ac_compile") 2>conftest.er1
9317 grep -v '^ *+' conftest.er1
>conftest.err
9319 cat conftest.err
>&5
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); } && {
9322 test -z "$ac_c_werror_flag" ||
9323 test ! -s conftest.err
9324 } && test -s conftest.
$ac_objext; then
9325 eval "$as_ac_Header=yes"
9327 echo "$as_me: failed program was:" >&5
9328 sed 's/^/| /' conftest.
$ac_ext >&5
9330 eval "$as_ac_Header=no"
9333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9335 ac_res
=`eval echo '${'$as_ac_Header'}'`
9336 { echo "$as_me:$LINENO: result: $ac_res" >&5
9337 echo "${ECHO_T}$ac_res" >&6; }
9338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9339 cat >>confdefs.h
<<_ACEOF
9340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9348 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9350 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9351 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9352 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9353 echo $ECHO_N "(cached) $ECHO_C" >&6
9355 ac_check_lib_save_LIBS
=$LIBS
9356 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9357 cat >conftest.
$ac_ext <<_ACEOF
9360 cat confdefs.h
>>conftest.
$ac_ext
9361 cat >>conftest.
$ac_ext <<_ACEOF
9362 /* end confdefs.h. */
9364 /* Override any GCC internal prototype to avoid an error.
9365 Use char because int might match the return type of a GCC
9366 builtin and then its argument prototype would still apply. */
9370 char XkbQueryExtension ();
9374 return XkbQueryExtension ();
9379 rm -f conftest.
$ac_objext conftest
$ac_exeext
9380 if { (ac_try
="$ac_link"
9382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9383 *) ac_try_echo=$ac_try;;
9385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9386 (eval "$ac_link") 2>conftest.er1
9388 grep -v '^ *+' conftest.er1 >conftest.err
9390 cat conftest.err >&5
9391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392 (exit $ac_status); } && {
9393 test -z "$ac_c_werror_flag" ||
9394 test ! -s conftest.err
9395 } && test -s conftest$ac_exeext &&
9396 $as_test_x conftest$ac_exeext; then
9397 ac_cv_lib_X11_XkbQueryExtension=yes
9399 echo "$as_me: failed program was:" >&5
9400 sed 's/^/| /' conftest.$ac_ext >&5
9402 ac_cv_lib_X11_XkbQueryExtension=no
9405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS=$ac_check_lib_save_LIBS
9409 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9410 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9411 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9413 cat >>confdefs.h <<\_ACEOF
9421 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9423 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9424 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9425 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9428 ac_check_soname_save_LIBS=$LIBS
9429 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9430 cat >conftest.$ac_ext <<_ACEOF
9433 cat confdefs.h >>conftest.$ac_ext
9434 cat >>conftest.$ac_ext <<_ACEOF
9435 /* end confdefs.h. */
9437 /* Override any GCC internal prototype to avoid an error.
9438 Use char because int might match the return type of a GCC
9439 builtin and then its argument prototype would still apply. */
9443 char XcursorImageLoadCursor ();
9447 return XcursorImageLoadCursor ();
9452 rm -f conftest.$ac_objext conftest$ac_exeext
9453 if { (ac_try="$ac_link"
9455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9456 *) ac_try_echo
=$ac_try;;
9458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9459 (eval "$ac_link") 2>conftest.er1
9461 grep -v '^ *+' conftest.er1
>conftest.err
9463 cat conftest.err
>&5
9464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9465 (exit $ac_status); } && {
9466 test -z "$ac_c_werror_flag" ||
9467 test ! -s conftest.err
9468 } && test -s conftest
$ac_exeext &&
9469 $as_test_x conftest
$ac_exeext; then
9472 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'` ;;
9473 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9476 echo "$as_me: failed program was:" >&5
9477 sed 's/^/| /' conftest.
$ac_ext >&5
9482 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9483 conftest
$ac_exeext conftest.
$ac_ext
9484 LIBS
=$ac_check_soname_save_LIBS
9486 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9487 { echo "$as_me:$LINENO: result: not found" >&5
9488 echo "${ECHO_T}not found" >&6; }
9491 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9492 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9494 cat >>confdefs.h
<<_ACEOF
9495 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9503 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9505 { echo "$as_me:$LINENO: checking for -lXi" >&5
9506 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9507 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9508 echo $ECHO_N "(cached) $ECHO_C" >&6
9510 ac_check_soname_save_LIBS
=$LIBS
9511 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9512 cat >conftest.
$ac_ext <<_ACEOF
9515 cat confdefs.h
>>conftest.
$ac_ext
9516 cat >>conftest.
$ac_ext <<_ACEOF
9517 /* end confdefs.h. */
9519 /* Override any GCC internal prototype to avoid an error.
9520 Use char because int might match the return type of a GCC
9521 builtin and then its argument prototype would still apply. */
9525 char XOpenDevice ();
9529 return XOpenDevice ();
9534 rm -f conftest.
$ac_objext conftest
$ac_exeext
9535 if { (ac_try
="$ac_link"
9537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9538 *) ac_try_echo=$ac_try;;
9540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9541 (eval "$ac_link") 2>conftest.er1
9543 grep -v '^ *+' conftest.er1 >conftest.err
9545 cat conftest.err >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); } && {
9548 test -z "$ac_c_werror_flag" ||
9549 test ! -s conftest.err
9550 } && test -s conftest$ac_exeext &&
9551 $as_test_x conftest$ac_exeext; then
9554 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'` ;;
9555 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXi\\.$LIBEXT" |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9558 echo "$as_me: failed program was:" >&5
9559 sed 's/^/| /' conftest.$ac_ext >&5
9564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9565 conftest$ac_exeext conftest.$ac_ext
9566 LIBS=$ac_check_soname_save_LIBS
9568 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9569 { echo "$as_me:$LINENO: result: not found" >&5
9570 echo "${ECHO_T}not found" >&6; }
9573 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9574 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9576 cat >>confdefs.h <<_ACEOF
9577 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9585 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9587 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9588 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9589 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9590 echo $ECHO_N "(cached) $ECHO_C" >&6
9592 ac_check_lib_save_LIBS=$LIBS
9593 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9594 cat >conftest.$ac_ext <<_ACEOF
9597 cat confdefs.h >>conftest.$ac_ext
9598 cat >>conftest.$ac_ext <<_ACEOF
9599 /* end confdefs.h. */
9601 /* Override any GCC internal prototype to avoid an error.
9602 Use char because int might match the return type of a GCC
9603 builtin and then its argument prototype would still apply. */
9607 char XShmQueryExtension ();
9611 return XShmQueryExtension ();
9616 rm -f conftest.$ac_objext conftest$ac_exeext
9617 if { (ac_try="$ac_link"
9619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9620 *) ac_try_echo
=$ac_try;;
9622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9623 (eval "$ac_link") 2>conftest.er1
9625 grep -v '^ *+' conftest.er1
>conftest.err
9627 cat conftest.err
>&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); } && {
9630 test -z "$ac_c_werror_flag" ||
9631 test ! -s conftest.err
9632 } && test -s conftest
$ac_exeext &&
9633 $as_test_x conftest
$ac_exeext; then
9634 ac_cv_lib_Xext_XShmQueryExtension
=yes
9636 echo "$as_me: failed program was:" >&5
9637 sed 's/^/| /' conftest.
$ac_ext >&5
9639 ac_cv_lib_Xext_XShmQueryExtension
=no
9642 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9643 conftest
$ac_exeext conftest.
$ac_ext
9644 LIBS
=$ac_check_lib_save_LIBS
9646 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9647 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9648 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9650 cat >>confdefs.h
<<\_ACEOF
9651 #define HAVE_LIBXXSHM 1
9657 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9658 wine_notices
="$wine_notices|XShm development files not found.
9659 Wine will be built without XShm support. (winex11.drv)"
9663 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9665 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9666 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9667 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9668 echo $ECHO_N "(cached) $ECHO_C" >&6
9670 ac_check_lib_save_LIBS
=$LIBS
9671 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9672 cat >conftest.
$ac_ext <<_ACEOF
9675 cat confdefs.h
>>conftest.
$ac_ext
9676 cat >>conftest.
$ac_ext <<_ACEOF
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9685 char XShapeQueryExtension ();
9689 return XShapeQueryExtension ();
9694 rm -f conftest.
$ac_objext conftest
$ac_exeext
9695 if { (ac_try
="$ac_link"
9697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9698 *) ac_try_echo=$ac_try;;
9700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9701 (eval "$ac_link") 2>conftest.er1
9703 grep -v '^ *+' conftest.er1 >conftest.err
9705 cat conftest.err >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } && {
9708 test -z "$ac_c_werror_flag" ||
9709 test ! -s conftest.err
9710 } && test -s conftest$ac_exeext &&
9711 $as_test_x conftest$ac_exeext; then
9712 ac_cv_lib_Xext_XShapeQueryExtension=yes
9714 echo "$as_me: failed program was:" >&5
9715 sed 's/^/| /' conftest.$ac_ext >&5
9717 ac_cv_lib_Xext_XShapeQueryExtension=no
9720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_lib_save_LIBS
9724 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9725 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9726 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9728 cat >>confdefs.h <<\_ACEOF
9729 #define HAVE_LIBXSHAPE 1
9735 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9736 wine_notices="$wine_notices|XShape development files not found.
9737 Wine will be built without XShape support. (winex11.drv)"
9741 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9743 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9744 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9745 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9746 echo $ECHO_N "(cached) $ECHO_C" >&6
9748 ac_check_lib_save_LIBS=$LIBS
9749 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9750 cat >conftest.$ac_ext <<_ACEOF
9753 cat confdefs.h >>conftest.$ac_ext
9754 cat >>conftest.$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9763 char XF86VidModeQueryExtension ();
9767 return XF86VidModeQueryExtension ();
9772 rm -f conftest.$ac_objext conftest$ac_exeext
9773 if { (ac_try="$ac_link"
9775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9776 *) ac_try_echo
=$ac_try;;
9778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9779 (eval "$ac_link") 2>conftest.er1
9781 grep -v '^ *+' conftest.er1
>conftest.err
9783 cat conftest.err
>&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); } && {
9786 test -z "$ac_c_werror_flag" ||
9787 test ! -s conftest.err
9788 } && test -s conftest
$ac_exeext &&
9789 $as_test_x conftest
$ac_exeext; then
9790 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.
$ac_ext >&5
9795 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9798 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9799 conftest
$ac_exeext conftest.
$ac_ext
9800 LIBS
=$ac_check_lib_save_LIBS
9802 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9803 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9804 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9806 cat >>confdefs.h
<<\_ACEOF
9807 #define HAVE_LIBXXF86VM 1
9810 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9815 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9816 wine_notices
="$wine_notices|Xxf86vm development files not found.
9817 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9821 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"
9823 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9824 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9825 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9828 ac_check_soname_save_LIBS
=$LIBS
9829 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9830 cat >conftest.
$ac_ext <<_ACEOF
9833 cat confdefs.h
>>conftest.
$ac_ext
9834 cat >>conftest.
$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9843 char XRenderQueryExtension ();
9847 return XRenderQueryExtension ();
9852 rm -f conftest.
$ac_objext conftest
$ac_exeext
9853 if { (ac_try
="$ac_link"
9855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9856 *) ac_try_echo=$ac_try;;
9858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9859 (eval "$ac_link") 2>conftest.er1
9861 grep -v '^ *+' conftest.er1 >conftest.err
9863 cat conftest.err >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } && {
9866 test -z "$ac_c_werror_flag" ||
9867 test ! -s conftest.err
9868 } && test -s conftest$ac_exeext &&
9869 $as_test_x conftest$ac_exeext; then
9872 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'` ;;
9873 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libXrender\\.$LIBEXT" |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9876 echo "$as_me: failed program was:" >&5
9877 sed 's/^/| /' conftest.$ac_ext >&5
9882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9883 conftest$ac_exeext conftest.$ac_ext
9884 LIBS=$ac_check_soname_save_LIBS
9886 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9887 { echo "$as_me:$LINENO: result: not found" >&5
9888 echo "${ECHO_T}not found" >&6; }
9891 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9892 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9894 cat >>confdefs.h <<_ACEOF
9895 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9898 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9899 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9900 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9903 ac_check_lib_save_LIBS=$LIBS
9904 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9905 cat >conftest.$ac_ext <<_ACEOF
9908 cat confdefs.h >>conftest.$ac_ext
9909 cat >>conftest.$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9918 char XRenderSetPictureTransform ();
9922 return XRenderSetPictureTransform ();
9927 rm -f conftest.$ac_objext conftest$ac_exeext
9928 if { (ac_try="$ac_link"
9930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9931 *) ac_try_echo
=$ac_try;;
9933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9934 (eval "$ac_link") 2>conftest.er1
9936 grep -v '^ *+' conftest.er1
>conftest.err
9938 cat conftest.err
>&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } && {
9941 test -z "$ac_c_werror_flag" ||
9942 test ! -s conftest.err
9943 } && test -s conftest
$ac_exeext &&
9944 $as_test_x conftest
$ac_exeext; then
9945 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9947 echo "$as_me: failed program was:" >&5
9948 sed 's/^/| /' conftest.
$ac_ext >&5
9950 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9953 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9954 conftest
$ac_exeext conftest.
$ac_ext
9955 LIBS
=$ac_check_lib_save_LIBS
9957 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9958 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9959 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9961 cat >>confdefs.h
<<\_ACEOF
9962 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9971 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9972 wine_notices
="$wine_notices|XRender development files not found.
9973 Wine will be built without XRender support. (winex11.drv)"
9977 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9979 cat >conftest.
$ac_ext <<_ACEOF
9982 cat confdefs.h
>>conftest.
$ac_ext
9983 cat >>conftest.
$ac_ext <<_ACEOF
9984 /* end confdefs.h. */
9985 #include <X11/Xlib.h>
9986 #include <X11/extensions/Xrandr.h>
9990 static typeof(XRRSetScreenConfigAndRate) * func;
9995 rm -f conftest.
$ac_objext
9996 if { (ac_try
="$ac_compile"
9998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9999 *) ac_try_echo=$ac_try;;
10001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10002 (eval "$ac_compile") 2>conftest.er1
10004 grep -v '^ *+' conftest.er1 >conftest.err
10006 cat conftest.err >&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); } && {
10009 test -z "$ac_c_werror_flag" ||
10010 test ! -s conftest.err
10011 } && test -s conftest.$ac_objext; then
10012 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10013 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10014 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10017 ac_check_soname_save_LIBS=$LIBS
10018 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10019 cat >conftest.$ac_ext <<_ACEOF
10022 cat confdefs.h >>conftest.$ac_ext
10023 cat >>conftest.$ac_ext <<_ACEOF
10024 /* end confdefs.h. */
10026 /* Override any GCC internal prototype to avoid an error.
10027 Use char because int might match the return type of a GCC
10028 builtin and then its argument prototype would still apply. */
10032 char XRRQueryExtension ();
10036 return XRRQueryExtension ();
10041 rm -f conftest.$ac_objext conftest$ac_exeext
10042 if { (ac_try="$ac_link"
10043 case "(($ac_try" in
10044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10045 *) ac_try_echo
=$ac_try;;
10047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10048 (eval "$ac_link") 2>conftest.er1
10050 grep -v '^ *+' conftest.er1
>conftest.err
10052 cat conftest.err
>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } && {
10055 test -z "$ac_c_werror_flag" ||
10056 test ! -s conftest.err
10057 } && test -s conftest
$ac_exeext &&
10058 $as_test_x conftest
$ac_exeext; then
10061 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'` ;;
10062 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10065 echo "$as_me: failed program was:" >&5
10066 sed 's/^/| /' conftest.
$ac_ext >&5
10071 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10072 conftest
$ac_exeext conftest.
$ac_ext
10073 LIBS
=$ac_check_soname_save_LIBS
10075 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10076 { echo "$as_me:$LINENO: result: not found" >&5
10077 echo "${ECHO_T}not found" >&6; }
10080 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10081 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10083 cat >>confdefs.h
<<_ACEOF
10084 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10091 echo "$as_me: failed program was:" >&5
10092 sed 's/^/| /' conftest.
$ac_ext >&5
10097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10099 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10100 wine_notices
="$wine_notices|XRandr development files not found.
10101 Wine will be built without XRandr support. (winex11.drv)"
10105 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10107 cat >conftest.
$ac_ext <<_ACEOF
10110 cat confdefs.h
>>conftest.
$ac_ext
10111 cat >>conftest.
$ac_ext <<_ACEOF
10112 /* end confdefs.h. */
10113 #include <X11/Xlib.h>
10114 #include <X11/extensions/Xinerama.h>
10118 static typeof(XineramaQueryScreens) * func;
10123 rm -f conftest.
$ac_objext
10124 if { (ac_try
="$ac_compile"
10125 case "(($ac_try" in
10126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10127 *) ac_try_echo=$ac_try;;
10129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10130 (eval "$ac_compile") 2>conftest.er1
10132 grep -v '^ *+' conftest.er1 >conftest.err
10134 cat conftest.err >&5
10135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136 (exit $ac_status); } && {
10137 test -z "$ac_c_werror_flag" ||
10138 test ! -s conftest.err
10139 } && test -s conftest.$ac_objext; then
10140 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10141 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10142 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10143 echo $ECHO_N "(cached) $ECHO_C" >&6
10145 ac_check_soname_save_LIBS=$LIBS
10146 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10147 cat >conftest.$ac_ext <<_ACEOF
10150 cat confdefs.h >>conftest.$ac_ext
10151 cat >>conftest.$ac_ext <<_ACEOF
10152 /* end confdefs.h. */
10154 /* Override any GCC internal prototype to avoid an error.
10155 Use char because int might match the return type of a GCC
10156 builtin and then its argument prototype would still apply. */
10160 char XineramaQueryScreens ();
10164 return XineramaQueryScreens ();
10169 rm -f conftest.$ac_objext conftest$ac_exeext
10170 if { (ac_try="$ac_link"
10171 case "(($ac_try" in
10172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10173 *) ac_try_echo
=$ac_try;;
10175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10176 (eval "$ac_link") 2>conftest.er1
10178 grep -v '^ *+' conftest.er1
>conftest.err
10180 cat conftest.err
>&5
10181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182 (exit $ac_status); } && {
10183 test -z "$ac_c_werror_flag" ||
10184 test ! -s conftest.err
10185 } && test -s conftest
$ac_exeext &&
10186 $as_test_x conftest
$ac_exeext; then
10189 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'` ;;
10190 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10193 echo "$as_me: failed program was:" >&5
10194 sed 's/^/| /' conftest.
$ac_ext >&5
10199 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10200 conftest
$ac_exeext conftest.
$ac_ext
10201 LIBS
=$ac_check_soname_save_LIBS
10203 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10204 { echo "$as_me:$LINENO: result: not found" >&5
10205 echo "${ECHO_T}not found" >&6; }
10208 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10209 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10211 cat >>confdefs.h
<<_ACEOF
10212 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.
$ac_ext >&5
10225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10227 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10228 wine_notices
="$wine_notices|Xinerama development files not found.
10229 Wine will be built without Xinerama support. (winex11.drv)"
10234 if test "x$with_opengl" != "xno"
10240 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
10242 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10243 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10245 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10246 echo $ECHO_N "(cached) $ECHO_C" >&6
10248 cat >conftest.
$ac_ext <<_ACEOF
10251 cat confdefs.h
>>conftest.
$ac_ext
10252 cat >>conftest.
$ac_ext <<_ACEOF
10253 /* end confdefs.h. */
10254 #ifdef HAVE_GL_GLX_H
10255 # include <GL/glx.h>
10258 #include <$ac_header>
10260 rm -f conftest.
$ac_objext
10261 if { (ac_try
="$ac_compile"
10262 case "(($ac_try" in
10263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10264 *) ac_try_echo=$ac_try;;
10266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10267 (eval "$ac_compile") 2>conftest.er1
10269 grep -v '^ *+' conftest.er1 >conftest.err
10271 cat conftest.err >&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); } && {
10274 test -z "$ac_c_werror_flag" ||
10275 test ! -s conftest.err
10276 } && test -s conftest.$ac_objext; then
10277 eval "$as_ac_Header=yes"
10279 echo "$as_me: failed program was:" >&5
10280 sed 's/^/| /' conftest.$ac_ext >&5
10282 eval "$as_ac_Header=no"
10285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10287 ac_res=`eval echo '${'$as_ac_Header'}'`
10288 { echo "$as_me:$LINENO: result: $ac_res" >&5
10289 echo "${ECHO_T}$ac_res" >&6; }
10290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10291 cat >>confdefs.h <<_ACEOF
10292 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10299 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10301 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10302 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10303 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10306 cat >conftest.$ac_ext <<_ACEOF
10309 cat confdefs.h >>conftest.$ac_ext
10310 cat >>conftest.$ac_ext <<_ACEOF
10311 /* end confdefs.h. */
10316 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10321 rm -f conftest.$ac_objext
10322 if { (ac_try="$ac_compile"
10323 case "(($ac_try" in
10324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10325 *) ac_try_echo
=$ac_try;;
10327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10328 (eval "$ac_compile") 2>conftest.er1
10330 grep -v '^ *+' conftest.er1
>conftest.err
10332 cat conftest.err
>&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); } && {
10335 test -z "$ac_c_werror_flag" ||
10336 test ! -s conftest.err
10337 } && test -s conftest.
$ac_objext; then
10338 wine_cv_opengl_header_version_OK
="yes"
10340 echo "$as_me: failed program was:" >&5
10341 sed 's/^/| /' conftest.
$ac_ext >&5
10343 wine_cv_opengl_header_version_OK
="no"
10346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10348 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10349 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10351 if test "$wine_cv_opengl_header_version_OK" = "yes"
10353 { echo "$as_me:$LINENO: checking for -lGL" >&5
10354 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10355 if test "${ac_cv_lib_soname_GL+set}" = set; then
10356 echo $ECHO_N "(cached) $ECHO_C" >&6
10358 ac_check_soname_save_LIBS
=$LIBS
10359 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10360 cat >conftest.
$ac_ext <<_ACEOF
10363 cat confdefs.h
>>conftest.
$ac_ext
10364 cat >>conftest.
$ac_ext <<_ACEOF
10365 /* end confdefs.h. */
10367 /* Override any GCC internal prototype to avoid an error.
10368 Use char because int might match the return type of a GCC
10369 builtin and then its argument prototype would still apply. */
10373 char glXCreateContext ();
10377 return glXCreateContext ();
10382 rm -f conftest.
$ac_objext conftest
$ac_exeext
10383 if { (ac_try
="$ac_link"
10384 case "(($ac_try" in
10385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10386 *) ac_try_echo=$ac_try;;
10388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10389 (eval "$ac_link") 2>conftest.er1
10391 grep -v '^ *+' conftest.er1 >conftest.err
10393 cat conftest.err >&5
10394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395 (exit $ac_status); } && {
10396 test -z "$ac_c_werror_flag" ||
10397 test ! -s conftest.err
10398 } && test -s conftest$ac_exeext &&
10399 $as_test_x conftest$ac_exeext; then
10402 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'` ;;
10403 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libGL\\.$LIBEXT" |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10406 echo "$as_me: failed program was:" >&5
10407 sed 's/^/| /' conftest.$ac_ext >&5
10412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10413 conftest$ac_exeext conftest.$ac_ext
10414 LIBS=$ac_check_soname_save_LIBS
10416 if test "x$ac_cv_lib_soname_GL" = "x"; then
10417 { echo "$as_me:$LINENO: result: not found" >&5
10418 echo "${ECHO_T}not found" >&6; }
10419 if test -f /usr/X11R6/lib/libGL.a
10421 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10422 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10424 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10425 Wine will be build without OpenGL or Direct3D support."
10428 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10429 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10431 cat >>confdefs.h <<_ACEOF
10432 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10436 OPENGLFILES='$(OPENGLFILES)'
10438 cat >>confdefs.h <<\_ACEOF
10439 #define HAVE_OPENGL 1
10445 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10446 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10447 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10448 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 ac_check_lib_save_LIBS=$LIBS
10451 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10452 cat >conftest.$ac_ext <<_ACEOF
10455 cat confdefs.h >>conftest.$ac_ext
10456 cat >>conftest.$ac_ext <<_ACEOF
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10469 return gluLookAt ();
10474 rm -f conftest.$ac_objext conftest$ac_exeext
10475 if { (ac_try="$ac_link"
10476 case "(($ac_try" in
10477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10478 *) ac_try_echo
=$ac_try;;
10480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10481 (eval "$ac_link") 2>conftest.er1
10483 grep -v '^ *+' conftest.er1
>conftest.err
10485 cat conftest.err
>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } && {
10488 test -z "$ac_c_werror_flag" ||
10489 test ! -s conftest.err
10490 } && test -s conftest
$ac_exeext &&
10491 $as_test_x conftest
$ac_exeext; then
10492 ac_cv_lib_GLU_gluLookAt
=yes
10494 echo "$as_me: failed program was:" >&5
10495 sed 's/^/| /' conftest.
$ac_ext >&5
10497 ac_cv_lib_GLU_gluLookAt
=no
10500 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10501 conftest
$ac_exeext conftest.
$ac_ext
10502 LIBS
=$ac_check_lib_save_LIBS
10504 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10505 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10506 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10507 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10508 GLU32FILES
='$(GLU32FILES)'
10513 wine_warnings
="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10514 Wine will be build without OpenGL or Direct3D support."
10517 wine_warnings
="$wine_warnings|OpenGL development headers not found.
10518 Wine will be build without OpenGL or Direct3D support."
10525 for ac_header
in audio
/audiolib.h
10527 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10528 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10529 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10531 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 ac_res
=`eval echo '${'$as_ac_Header'}'`
10535 { echo "$as_me:$LINENO: result: $ac_res" >&5
10536 echo "${ECHO_T}$ac_res" >&6; }
10538 # Is the header compilable?
10539 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10540 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10541 cat >conftest.
$ac_ext <<_ACEOF
10544 cat confdefs.h
>>conftest.
$ac_ext
10545 cat >>conftest.
$ac_ext <<_ACEOF
10546 /* end confdefs.h. */
10547 $ac_includes_default
10548 #include <$ac_header>
10550 rm -f conftest.
$ac_objext
10551 if { (ac_try
="$ac_compile"
10552 case "(($ac_try" in
10553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10554 *) ac_try_echo=$ac_try;;
10556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10557 (eval "$ac_compile") 2>conftest.er1
10559 grep -v '^ *+' conftest.er1 >conftest.err
10561 cat conftest.err >&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); } && {
10564 test -z "$ac_c_werror_flag" ||
10565 test ! -s conftest.err
10566 } && test -s conftest.$ac_objext; then
10567 ac_header_compiler=yes
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.$ac_ext >&5
10572 ac_header_compiler=no
10575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10576 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10577 echo "${ECHO_T}$ac_header_compiler" >&6; }
10579 # Is the header present?
10580 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10582 cat >conftest.$ac_ext <<_ACEOF
10585 cat confdefs.h >>conftest.$ac_ext
10586 cat >>conftest.$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588 #include <$ac_header>
10590 if { (ac_try="$ac_cpp conftest.$ac_ext"
10591 case "(($ac_try" in
10592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10593 *) ac_try_echo
=$ac_try;;
10595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10596 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10598 grep -v '^ *+' conftest.er1
>conftest.err
10600 cat conftest.err
>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); } >/dev
/null
&& {
10603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10604 test ! -s conftest.err
10606 ac_header_preproc
=yes
10608 echo "$as_me: failed program was:" >&5
10609 sed 's/^/| /' conftest.
$ac_ext >&5
10611 ac_header_preproc
=no
10614 rm -f conftest.err conftest.
$ac_ext
10615 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10616 echo "${ECHO_T}$ac_header_preproc" >&6; }
10618 # So? What about this header?
10619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10621 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10622 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10624 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10625 ac_header_preproc
=yes
10628 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10629 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10630 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10631 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10632 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10633 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10634 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10635 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10637 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10638 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10639 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10641 ## ------------------------------------ ##
10642 ## Report this to wine-devel@winehq.org ##
10643 ## ------------------------------------ ##
10645 ) |
sed "s/^/$as_me: WARNING: /" >&2
10648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10650 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 eval "$as_ac_Header=\$ac_header_preproc"
10655 ac_res
=`eval echo '${'$as_ac_Header'}'`
10656 { echo "$as_me:$LINENO: result: $ac_res" >&5
10657 echo "${ECHO_T}$ac_res" >&6; }
10660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10661 cat >>confdefs.h
<<_ACEOF
10662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10665 for ac_header
in audio
/soundlib.h
10667 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10670 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10671 echo $ECHO_N "(cached) $ECHO_C" >&6
10673 cat >conftest.
$ac_ext <<_ACEOF
10676 cat confdefs.h
>>conftest.
$ac_ext
10677 cat >>conftest.
$ac_ext <<_ACEOF
10678 /* end confdefs.h. */
10679 #include <audio/audiolib.h>
10681 #include <$ac_header>
10683 rm -f conftest.
$ac_objext
10684 if { (ac_try
="$ac_compile"
10685 case "(($ac_try" in
10686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10687 *) ac_try_echo=$ac_try;;
10689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10690 (eval "$ac_compile") 2>conftest.er1
10692 grep -v '^ *+' conftest.er1 >conftest.err
10694 cat conftest.err >&5
10695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10696 (exit $ac_status); } && {
10697 test -z "$ac_c_werror_flag" ||
10698 test ! -s conftest.err
10699 } && test -s conftest.$ac_objext; then
10700 eval "$as_ac_Header=yes"
10702 echo "$as_me: failed program was:" >&5
10703 sed 's/^/| /' conftest.$ac_ext >&5
10705 eval "$as_ac_Header=no"
10708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10710 ac_res=`eval echo '${'$as_ac_Header'}'`
10711 { echo "$as_me:$LINENO: result: $ac_res" >&5
10712 echo "${ECHO_T}$ac_res" >&6; }
10713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10714 cat >>confdefs.h <<_ACEOF
10715 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10722 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10723 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10724 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10725 echo $ECHO_N "(cached) $ECHO_C" >&6
10727 ac_check_lib_save_LIBS=$LIBS
10728 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10729 cat >conftest.$ac_ext <<_ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10742 char AuCreateFlow ();
10746 return AuCreateFlow ();
10751 rm -f conftest.$ac_objext conftest$ac_exeext
10752 if { (ac_try="$ac_link"
10753 case "(($ac_try" in
10754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10755 *) ac_try_echo
=$ac_try;;
10757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10758 (eval "$ac_link") 2>conftest.er1
10760 grep -v '^ *+' conftest.er1
>conftest.err
10762 cat conftest.err
>&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); } && {
10765 test -z "$ac_c_werror_flag" ||
10766 test ! -s conftest.err
10767 } && test -s conftest
$ac_exeext &&
10768 $as_test_x conftest
$ac_exeext; then
10769 ac_cv_lib_audio_AuCreateFlow
=yes
10771 echo "$as_me: failed program was:" >&5
10772 sed 's/^/| /' conftest.
$ac_ext >&5
10774 ac_cv_lib_audio_AuCreateFlow
=no
10777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10778 conftest
$ac_exeext conftest.
$ac_ext
10779 LIBS
=$ac_check_lib_save_LIBS
10781 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10782 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10783 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10785 cat >>confdefs.h
<<\_ACEOF
10789 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10790 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10791 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10794 ac_check_lib_save_LIBS
=$LIBS
10795 LIBS
="-lXau $X_LIBS $LIBS"
10796 cat >conftest.
$ac_ext <<_ACEOF
10799 cat confdefs.h
>>conftest.
$ac_ext
10800 cat >>conftest.
$ac_ext <<_ACEOF
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10809 char XauGetBestAuthByAddr ();
10813 return XauGetBestAuthByAddr ();
10818 rm -f conftest.
$ac_objext conftest
$ac_exeext
10819 if { (ac_try
="$ac_link"
10820 case "(($ac_try" in
10821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10822 *) ac_try_echo=$ac_try;;
10824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10825 (eval "$ac_link") 2>conftest.er1
10827 grep -v '^ *+' conftest.er1 >conftest.err
10829 cat conftest.err >&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); } && {
10832 test -z "$ac_c_werror_flag" ||
10833 test ! -s conftest.err
10834 } && test -s conftest$ac_exeext &&
10835 $as_test_x conftest$ac_exeext; then
10836 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10838 echo "$as_me: failed program was:" >&5
10839 sed 's/^/| /' conftest.$ac_ext >&5
10841 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10845 conftest$ac_exeext conftest.$ac_ext
10846 LIBS=$ac_check_lib_save_LIBS
10848 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10849 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10850 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10851 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10853 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10864 CPPFLAGS="$ac_save_CPPFLAGS"
10870 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10871 without X support, which probably isn't what you want. You will need to install
10872 development packages of Xlib/Xfree86 at the very least."
10884 ac_save_CPPFLAGS="$CPPFLAGS"
10885 if test "$PKG_CONFIG" != "false"
10887 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
10888 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
10890 ac_xml_libs="`xml2-config
--libs 2>/dev
/null
`"
10891 ac_xml_cflags="`xml2-config
--cflags 2>/dev
/null
`"
10893 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10895 for ac_header in libxml/parser.h
10897 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10899 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10902 echo $ECHO_N "(cached) $ECHO_C" >&6
10904 ac_res=`eval echo '${'$as_ac_Header'}'`
10905 { echo "$as_me:$LINENO: result: $ac_res" >&5
10906 echo "${ECHO_T}$ac_res" >&6; }
10908 # Is the header compilable?
10909 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10911 cat >conftest.$ac_ext <<_ACEOF
10914 cat confdefs.h >>conftest.$ac_ext
10915 cat >>conftest.$ac_ext <<_ACEOF
10916 /* end confdefs.h. */
10917 $ac_includes_default
10918 #include <$ac_header>
10920 rm -f conftest.$ac_objext
10921 if { (ac_try="$ac_compile"
10922 case "(($ac_try" in
10923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10924 *) ac_try_echo
=$ac_try;;
10926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10927 (eval "$ac_compile") 2>conftest.er1
10929 grep -v '^ *+' conftest.er1
>conftest.err
10931 cat conftest.err
>&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } && {
10934 test -z "$ac_c_werror_flag" ||
10935 test ! -s conftest.err
10936 } && test -s conftest.
$ac_objext; then
10937 ac_header_compiler
=yes
10939 echo "$as_me: failed program was:" >&5
10940 sed 's/^/| /' conftest.
$ac_ext >&5
10942 ac_header_compiler
=no
10945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10946 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10947 echo "${ECHO_T}$ac_header_compiler" >&6; }
10949 # Is the header present?
10950 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10951 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10952 cat >conftest.
$ac_ext <<_ACEOF
10955 cat confdefs.h
>>conftest.
$ac_ext
10956 cat >>conftest.
$ac_ext <<_ACEOF
10957 /* end confdefs.h. */
10958 #include <$ac_header>
10960 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10961 case "(($ac_try" in
10962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10963 *) ac_try_echo=$ac_try;;
10965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10968 grep -v '^ *+' conftest.er1 >conftest.err
10970 cat conftest.err >&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); } >/dev/null && {
10973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10974 test ! -s conftest.err
10976 ac_header_preproc=yes
10978 echo "$as_me: failed program was:" >&5
10979 sed 's/^/| /' conftest.$ac_ext >&5
10981 ac_header_preproc=no
10984 rm -f conftest.err conftest.$ac_ext
10985 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10986 echo "${ECHO_T}$ac_header_preproc" >&6; }
10988 # So? What about this header?
10989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10991 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10992 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10994 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10995 ac_header_preproc=yes
10998 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10999 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11000 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11001 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11002 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11003 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11004 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11005 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11007 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11008 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11009 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11011 ## ------------------------------------ ##
11012 ## Report this to wine-devel@winehq.org ##
11013 ## ------------------------------------ ##
11015 ) | sed "s/^/$as_me: WARNING: /" >&2
11018 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11023 eval "$as_ac_Header=\$ac_header_preproc"
11025 ac_res=`eval echo '${'$as_ac_Header'}'`
11026 { echo "$as_me:$LINENO: result: $ac_res" >&5
11027 echo "${ECHO_T}$ac_res" >&6; }
11030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11031 cat >>confdefs.h <<_ACEOF
11032 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11034 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11035 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11036 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11037 echo $ECHO_N "(cached) $ECHO_C" >&6
11039 ac_check_lib_save_LIBS=$LIBS
11040 LIBS="-lxml2 $ac_xml_libs $LIBS"
11041 cat >conftest.$ac_ext <<_ACEOF
11044 cat confdefs.h >>conftest.$ac_ext
11045 cat >>conftest.$ac_ext <<_ACEOF
11046 /* end confdefs.h. */
11048 /* Override any GCC internal prototype to avoid an error.
11049 Use char because int might match the return type of a GCC
11050 builtin and then its argument prototype would still apply. */
11054 char xmlParseMemory ();
11058 return xmlParseMemory ();
11063 rm -f conftest.$ac_objext conftest$ac_exeext
11064 if { (ac_try="$ac_link"
11065 case "(($ac_try" in
11066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11067 *) ac_try_echo
=$ac_try;;
11069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11070 (eval "$ac_link") 2>conftest.er1
11072 grep -v '^ *+' conftest.er1
>conftest.err
11074 cat conftest.err
>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } && {
11077 test -z "$ac_c_werror_flag" ||
11078 test ! -s conftest.err
11079 } && test -s conftest
$ac_exeext &&
11080 $as_test_x conftest
$ac_exeext; then
11081 ac_cv_lib_xml2_xmlParseMemory
=yes
11083 echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.
$ac_ext >&5
11086 ac_cv_lib_xml2_xmlParseMemory
=no
11089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11090 conftest
$ac_exeext conftest.
$ac_ext
11091 LIBS
=$ac_check_lib_save_LIBS
11093 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11094 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11095 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11097 cat >>confdefs.h
<<\_ACEOF
11098 #define HAVE_LIBXML2 1
11101 XML2LIBS
="$ac_xml_libs"
11102 XML2INCL
="$ac_xml_cflags"
11105 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11106 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11107 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6
11110 ac_check_lib_save_LIBS
=$LIBS
11111 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11112 cat >conftest.
$ac_ext <<_ACEOF
11115 cat confdefs.h
>>conftest.
$ac_ext
11116 cat >>conftest.
$ac_ext <<_ACEOF
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11125 char xmlReadMemory ();
11129 return xmlReadMemory ();
11134 rm -f conftest.
$ac_objext conftest
$ac_exeext
11135 if { (ac_try
="$ac_link"
11136 case "(($ac_try" in
11137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11138 *) ac_try_echo=$ac_try;;
11140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11141 (eval "$ac_link") 2>conftest.er1
11143 grep -v '^ *+' conftest.er1 >conftest.err
11145 cat conftest.err >&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } && {
11148 test -z "$ac_c_werror_flag" ||
11149 test ! -s conftest.err
11150 } && test -s conftest$ac_exeext &&
11151 $as_test_x conftest$ac_exeext; then
11152 ac_cv_lib_xml2_xmlReadMemory=yes
11154 echo "$as_me: failed program was:" >&5
11155 sed 's/^/| /' conftest.$ac_ext >&5
11157 ac_cv_lib_xml2_xmlReadMemory=no
11160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11161 conftest$ac_exeext conftest.$ac_ext
11162 LIBS=$ac_check_lib_save_LIBS
11164 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11165 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11166 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11168 cat >>confdefs.h <<\_ACEOF
11169 #define HAVE_XMLREADMEMORY 1
11174 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11175 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11176 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11177 echo $ECHO_N "(cached) $ECHO_C" >&6
11179 ac_check_lib_save_LIBS=$LIBS
11180 LIBS="-lxml2 $ac_xml_libs $LIBS"
11181 cat >conftest.$ac_ext <<_ACEOF
11184 cat confdefs.h >>conftest.$ac_ext
11185 cat >>conftest.$ac_ext <<_ACEOF
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11194 char xmlNewDocPI ();
11198 return xmlNewDocPI ();
11203 rm -f conftest.$ac_objext conftest$ac_exeext
11204 if { (ac_try="$ac_link"
11205 case "(($ac_try" in
11206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11207 *) ac_try_echo
=$ac_try;;
11209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11210 (eval "$ac_link") 2>conftest.er1
11212 grep -v '^ *+' conftest.er1
>conftest.err
11214 cat conftest.err
>&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); } && {
11217 test -z "$ac_c_werror_flag" ||
11218 test ! -s conftest.err
11219 } && test -s conftest
$ac_exeext &&
11220 $as_test_x conftest
$ac_exeext; then
11221 ac_cv_lib_xml2_xmlNewDocPI
=yes
11223 echo "$as_me: failed program was:" >&5
11224 sed 's/^/| /' conftest.
$ac_ext >&5
11226 ac_cv_lib_xml2_xmlNewDocPI
=no
11229 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11230 conftest
$ac_exeext conftest.
$ac_ext
11231 LIBS
=$ac_check_lib_save_LIBS
11233 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11234 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11235 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11237 cat >>confdefs.h
<<\_ACEOF
11238 #define HAVE_XMLNEWDOCPI 1
11248 CPPFLAGS
="$ac_save_CPPFLAGS"
11249 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11250 wine_notices
="$wine_notices|libxml2 development files not found.
11251 Wine will be built without XML support. (msxml.dll)"
11255 if test "$PKG_CONFIG" != "false"
11257 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11258 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11260 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
11261 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
11263 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11266 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11268 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11269 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11271 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11274 cat >conftest.
$ac_ext <<_ACEOF
11277 cat confdefs.h
>>conftest.
$ac_ext
11278 cat >>conftest.
$ac_ext <<_ACEOF
11279 /* end confdefs.h. */
11280 #ifdef HAVE_LIBXSLT_PATTERN_H
11281 # include <libxslt/pattern.h>
11284 #include <$ac_header>
11286 rm -f conftest.
$ac_objext
11287 if { (ac_try
="$ac_compile"
11288 case "(($ac_try" in
11289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11290 *) ac_try_echo=$ac_try;;
11292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11293 (eval "$ac_compile") 2>conftest.er1
11295 grep -v '^ *+' conftest.er1 >conftest.err
11297 cat conftest.err >&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } && {
11300 test -z "$ac_c_werror_flag" ||
11301 test ! -s conftest.err
11302 } && test -s conftest.$ac_objext; then
11303 eval "$as_ac_Header=yes"
11305 echo "$as_me: failed program was:" >&5
11306 sed 's/^/| /' conftest.$ac_ext >&5
11308 eval "$as_ac_Header=no"
11311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11313 ac_res=`eval echo '${'$as_ac_Header'}'`
11314 { echo "$as_me:$LINENO: result: $ac_res" >&5
11315 echo "${ECHO_T}$ac_res" >&6; }
11316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11317 cat >>confdefs.h <<_ACEOF
11318 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11320 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11321 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11322 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-lxslt $ac_xslt_libs $LIBS"
11327 cat >conftest.$ac_ext <<_ACEOF
11330 cat confdefs.h >>conftest.$ac_ext
11331 cat >>conftest.$ac_ext <<_ACEOF
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11340 char xsltCompilePattern ();
11344 return xsltCompilePattern ();
11349 rm -f conftest.$ac_objext conftest$ac_exeext
11350 if { (ac_try="$ac_link"
11351 case "(($ac_try" in
11352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11353 *) ac_try_echo
=$ac_try;;
11355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11356 (eval "$ac_link") 2>conftest.er1
11358 grep -v '^ *+' conftest.er1
>conftest.err
11360 cat conftest.err
>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } && {
11363 test -z "$ac_c_werror_flag" ||
11364 test ! -s conftest.err
11365 } && test -s conftest
$ac_exeext &&
11366 $as_test_x conftest
$ac_exeext; then
11367 ac_cv_lib_xslt_xsltCompilePattern
=yes
11369 echo "$as_me: failed program was:" >&5
11370 sed 's/^/| /' conftest.
$ac_ext >&5
11372 ac_cv_lib_xslt_xsltCompilePattern
=no
11375 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11376 conftest
$ac_exeext conftest.
$ac_ext
11377 LIBS
=$ac_check_lib_save_LIBS
11379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11380 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11381 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11383 cat >>confdefs.h
<<\_ACEOF
11384 #define HAVE_LIBXSLT 1
11387 XSLTLIBS
="$ac_xslt_libs"
11388 XSLTINCL
="$ac_xslt_cflags"
11396 CPPFLAGS
="$ac_save_CPPFLAGS"
11397 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11398 wine_notices
="$wine_notices|libxslt development files not found.
11399 Wine will be built without xslt support. (msxml.dll)"
11405 if test "$PKG_CONFIG" != "false"
11407 ac_save_CPPFLAGS
="$CPPFLAGS"
11408 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
11409 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11410 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
11413 for ac_header
in dbus
/dbus.h hal
/libhal.h
11415 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11416 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11419 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11422 ac_res
=`eval echo '${'$as_ac_Header'}'`
11423 { echo "$as_me:$LINENO: result: $ac_res" >&5
11424 echo "${ECHO_T}$ac_res" >&6; }
11426 # Is the header compilable?
11427 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11429 cat >conftest.
$ac_ext <<_ACEOF
11432 cat confdefs.h
>>conftest.
$ac_ext
11433 cat >>conftest.
$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11435 $ac_includes_default
11436 #include <$ac_header>
11438 rm -f conftest.
$ac_objext
11439 if { (ac_try
="$ac_compile"
11440 case "(($ac_try" in
11441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11442 *) ac_try_echo=$ac_try;;
11444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11445 (eval "$ac_compile") 2>conftest.er1
11447 grep -v '^ *+' conftest.er1 >conftest.err
11449 cat conftest.err >&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } && {
11452 test -z "$ac_c_werror_flag" ||
11453 test ! -s conftest.err
11454 } && test -s conftest.$ac_objext; then
11455 ac_header_compiler=yes
11457 echo "$as_me: failed program was:" >&5
11458 sed 's/^/| /' conftest.$ac_ext >&5
11460 ac_header_compiler=no
11463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11464 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11465 echo "${ECHO_T}$ac_header_compiler" >&6; }
11467 # Is the header present?
11468 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11470 cat >conftest.$ac_ext <<_ACEOF
11473 cat confdefs.h >>conftest.$ac_ext
11474 cat >>conftest.$ac_ext <<_ACEOF
11475 /* end confdefs.h. */
11476 #include <$ac_header>
11478 if { (ac_try="$ac_cpp conftest.$ac_ext"
11479 case "(($ac_try" in
11480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11481 *) ac_try_echo
=$ac_try;;
11483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11486 grep -v '^ *+' conftest.er1
>conftest.err
11488 cat conftest.err
>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); } >/dev
/null
&& {
11491 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11492 test ! -s conftest.err
11494 ac_header_preproc
=yes
11496 echo "$as_me: failed program was:" >&5
11497 sed 's/^/| /' conftest.
$ac_ext >&5
11499 ac_header_preproc
=no
11502 rm -f conftest.err conftest.
$ac_ext
11503 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11504 echo "${ECHO_T}$ac_header_preproc" >&6; }
11506 # So? What about this header?
11507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11509 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11510 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11511 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11512 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11513 ac_header_preproc
=yes
11516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11520 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11521 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11522 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11523 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11525 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11526 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11527 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11529 ## ------------------------------------ ##
11530 ## Report this to wine-devel@winehq.org ##
11531 ## ------------------------------------ ##
11533 ) |
sed "s/^/$as_me: WARNING: /" >&2
11536 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11538 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11541 eval "$as_ac_Header=\$ac_header_preproc"
11543 ac_res
=`eval echo '${'$as_ac_Header'}'`
11544 { echo "$as_me:$LINENO: result: $ac_res" >&5
11545 echo "${ECHO_T}$ac_res" >&6; }
11548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11549 cat >>confdefs.h
<<_ACEOF
11550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11557 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11559 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11560 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11561 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11562 echo $ECHO_N "(cached) $ECHO_C" >&6
11564 ac_check_lib_save_LIBS
=$LIBS
11565 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
11566 cat >conftest.
$ac_ext <<_ACEOF
11569 cat confdefs.h
>>conftest.
$ac_ext
11570 cat >>conftest.
$ac_ext <<_ACEOF
11571 /* end confdefs.h. */
11573 /* Override any GCC internal prototype to avoid an error.
11574 Use char because int might match the return type of a GCC
11575 builtin and then its argument prototype would still apply. */
11579 char dbus_connection_close ();
11583 return dbus_connection_close ();
11588 rm -f conftest.
$ac_objext conftest
$ac_exeext
11589 if { (ac_try
="$ac_link"
11590 case "(($ac_try" in
11591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11592 *) ac_try_echo=$ac_try;;
11594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11595 (eval "$ac_link") 2>conftest.er1
11597 grep -v '^ *+' conftest.er1 >conftest.err
11599 cat conftest.err >&5
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 (exit $ac_status); } && {
11602 test -z "$ac_c_werror_flag" ||
11603 test ! -s conftest.err
11604 } && test -s conftest$ac_exeext &&
11605 $as_test_x conftest$ac_exeext; then
11606 ac_cv_lib_dbus_1_dbus_connection_close=yes
11608 echo "$as_me: failed program was:" >&5
11609 sed 's/^/| /' conftest.$ac_ext >&5
11611 ac_cv_lib_dbus_1_dbus_connection_close=no
11614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11615 conftest$ac_exeext conftest.$ac_ext
11616 LIBS=$ac_check_lib_save_LIBS
11618 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11619 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11620 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11621 { echo "$as_me:$LINENO: checking for -lhal" >&5
11622 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11623 if test "${ac_cv_lib_soname_hal+set}" = set; then
11624 echo $ECHO_N "(cached) $ECHO_C" >&6
11626 ac_check_soname_save_LIBS=$LIBS
11627 LIBS="-lhal $ac_hal_libs $LIBS"
11628 cat >conftest.$ac_ext <<_ACEOF
11631 cat confdefs.h >>conftest.$ac_ext
11632 cat >>conftest.$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11635 /* Override any GCC internal prototype to avoid an error.
11636 Use char because int might match the return type of a GCC
11637 builtin and then its argument prototype would still apply. */
11641 char libhal_ctx_new ();
11645 return libhal_ctx_new ();
11650 rm -f conftest.$ac_objext conftest$ac_exeext
11651 if { (ac_try="$ac_link"
11652 case "(($ac_try" in
11653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11654 *) ac_try_echo
=$ac_try;;
11656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11657 (eval "$ac_link") 2>conftest.er1
11659 grep -v '^ *+' conftest.er1
>conftest.err
11661 cat conftest.err
>&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); } && {
11664 test -z "$ac_c_werror_flag" ||
11665 test ! -s conftest.err
11666 } && test -s conftest
$ac_exeext &&
11667 $as_test_x conftest
$ac_exeext; then
11670 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'` ;;
11671 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.
$ac_ext >&5
11680 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11681 conftest
$ac_exeext conftest.
$ac_ext
11682 LIBS
=$ac_check_soname_save_LIBS
11684 if test "x$ac_cv_lib_soname_hal" = "x"; then
11685 { echo "$as_me:$LINENO: result: not found" >&5
11686 echo "${ECHO_T}not found" >&6; }
11689 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11690 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11692 cat >>confdefs.h
<<_ACEOF
11693 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11696 HALINCL
="$ac_hal_cflags"
11702 CPPFLAGS
="$ac_save_CPPFLAGS"
11704 if test "x$ac_cv_lib_soname_hal" = "x"; then
11705 wine_notices
="$wine_notices|libhal development files not found.
11706 Wine will be built without dynamic device support. (explorer.exe)"
11711 if test "$ac_cv_header_ncurses_h" = "yes"
11713 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11714 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11715 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11716 echo $ECHO_N "(cached) $ECHO_C" >&6
11718 ac_check_soname_save_LIBS
=$LIBS
11719 LIBS
="-lncurses $LIBS"
11720 cat >conftest.
$ac_ext <<_ACEOF
11723 cat confdefs.h
>>conftest.
$ac_ext
11724 cat >>conftest.
$ac_ext <<_ACEOF
11725 /* end confdefs.h. */
11727 /* Override any GCC internal prototype to avoid an error.
11728 Use char because int might match the return type of a GCC
11729 builtin and then its argument prototype would still apply. */
11742 rm -f conftest.
$ac_objext conftest
$ac_exeext
11743 if { (ac_try
="$ac_link"
11744 case "(($ac_try" in
11745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11746 *) ac_try_echo=$ac_try;;
11748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11749 (eval "$ac_link") 2>conftest.er1
11751 grep -v '^ *+' conftest.er1 >conftest.err
11753 cat conftest.err >&5
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); } && {
11756 test -z "$ac_c_werror_flag" ||
11757 test ! -s conftest.err
11758 } && test -s conftest$ac_exeext &&
11759 $as_test_x conftest$ac_exeext; then
11762 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'` ;;
11763 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libncurses\\.$LIBEXT" |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11766 echo "$as_me: failed program was:" >&5
11767 sed 's/^/| /' conftest.$ac_ext >&5
11772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11773 conftest$ac_exeext conftest.$ac_ext
11774 LIBS=$ac_check_soname_save_LIBS
11776 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11777 { echo "$as_me:$LINENO: result: not found" >&5
11778 echo "${ECHO_T}not found" >&6; }
11781 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11782 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11784 cat >>confdefs.h <<_ACEOF
11785 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11788 CURSESLIBS="-lncurses"
11791 elif test "$ac_cv_header_curses_h" = "yes"
11793 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11794 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11795 if test "${ac_cv_lib_soname_curses+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 ac_check_soname_save_LIBS=$LIBS
11799 LIBS="-lcurses $LIBS"
11800 cat >conftest.$ac_ext <<_ACEOF
11803 cat confdefs.h >>conftest.$ac_ext
11804 cat >>conftest.$ac_ext <<_ACEOF
11805 /* end confdefs.h. */
11807 /* Override any GCC internal prototype to avoid an error.
11808 Use char because int might match the return type of a GCC
11809 builtin and then its argument prototype would still apply. */
11822 rm -f conftest.$ac_objext conftest$ac_exeext
11823 if { (ac_try="$ac_link"
11824 case "(($ac_try" in
11825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11826 *) ac_try_echo
=$ac_try;;
11828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11829 (eval "$ac_link") 2>conftest.er1
11831 grep -v '^ *+' conftest.er1
>conftest.err
11833 cat conftest.err
>&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } && {
11836 test -z "$ac_c_werror_flag" ||
11837 test ! -s conftest.err
11838 } && test -s conftest
$ac_exeext &&
11839 $as_test_x conftest
$ac_exeext; then
11842 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'` ;;
11843 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11846 echo "$as_me: failed program was:" >&5
11847 sed 's/^/| /' conftest.
$ac_ext >&5
11852 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11853 conftest
$ac_exeext conftest.
$ac_ext
11854 LIBS
=$ac_check_soname_save_LIBS
11856 if test "x$ac_cv_lib_soname_curses" = "x"; then
11857 { echo "$as_me:$LINENO: result: not found" >&5
11858 echo "${ECHO_T}not found" >&6; }
11861 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11862 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11864 cat >>confdefs.h
<<_ACEOF
11865 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11868 CURSESLIBS
="-lcurses"
11872 ac_save_LIBS
="$LIBS"
11873 LIBS
="$LIBS $CURSESLIBS"
11875 for ac_func
in mousemask
11877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11878 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11880 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11883 cat >conftest.
$ac_ext <<_ACEOF
11886 cat confdefs.h
>>conftest.
$ac_ext
11887 cat >>conftest.
$ac_ext <<_ACEOF
11888 /* end confdefs.h. */
11889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11891 #define $ac_func innocuous_$ac_func
11893 /* System header to define __stub macros and hopefully few prototypes,
11894 which can conflict with char $ac_func (); below.
11895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 <limits.h> exists even on freestanding compilers. */
11899 # include <limits.h>
11901 # include <assert.h>
11906 /* Override any GCC internal prototype to avoid an error.
11907 Use char because int might match the return type of a GCC
11908 builtin and then its argument prototype would still apply. */
11913 /* The GNU C library defines this for functions which it implements
11914 to always fail with ENOSYS. Some functions are actually named
11915 something starting with __ and the normal name is an alias. */
11916 #if defined __stub_$ac_func || defined __stub___$ac_func
11923 return $ac_func ();
11928 rm -f conftest.
$ac_objext conftest
$ac_exeext
11929 if { (ac_try
="$ac_link"
11930 case "(($ac_try" in
11931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11932 *) ac_try_echo=$ac_try;;
11934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11935 (eval "$ac_link") 2>conftest.er1
11937 grep -v '^ *+' conftest.er1 >conftest.err
11939 cat conftest.err >&5
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); } && {
11942 test -z "$ac_c_werror_flag" ||
11943 test ! -s conftest.err
11944 } && test -s conftest$ac_exeext &&
11945 $as_test_x conftest$ac_exeext; then
11946 eval "$as_ac_var=yes"
11948 echo "$as_me: failed program was:" >&5
11949 sed 's/^/| /' conftest.$ac_ext >&5
11951 eval "$as_ac_var=no"
11954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11955 conftest$ac_exeext conftest.$ac_ext
11957 ac_res=`eval echo '${'$as_ac_var'}'`
11958 { echo "$as_me:$LINENO: result: $ac_res" >&5
11959 echo "${ECHO_T}$ac_res" >&6; }
11960 if test `eval echo '${'$as_ac_var'}'` = yes; then
11961 cat >>confdefs.h <<_ACEOF
11962 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11968 LIBS="$ac_save_LIBS"
11969 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
11970 wine_notices="$wine_notices|lib(n)curses development files not found.
11971 Wine will be built without (n)curses support. (wineconsole.exe)"
11975 # Extract the first word of "sane-config", so it can be a program name with args.
11976 set dummy sane-config; ac_word=$2
11977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11979 if test "${ac_cv_prog_sane_devel+set}" = set; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6
11982 if test -n "$sane_devel"; then
11983 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11986 for as_dir in $PATH
11989 test -z "$as_dir" && as_dir=.
11990 for ac_exec_ext in '' $ac_executable_extensions; do
11991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11992 ac_cv_prog_sane_devel="sane-config"
11993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12000 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12003 sane_devel=$ac_cv_prog_sane_devel
12004 if test -n "$sane_devel"; then
12005 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12006 echo "${ECHO_T}$sane_devel" >&6; }
12008 { echo "$as_me:$LINENO: result: no" >&5
12009 echo "${ECHO_T}no" >&6; }
12013 if test "$sane_devel" != "no"
12015 ac_sane_incl="`$sane_devel --cflags`"
12016 ac_save_CPPFLAGS="$CPPFLAGS"
12017 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12018 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12019 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12020 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12021 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12022 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12025 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12027 # Is the header compilable?
12028 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12029 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12030 cat >conftest.$ac_ext <<_ACEOF
12033 cat confdefs.h >>conftest.$ac_ext
12034 cat >>conftest.$ac_ext <<_ACEOF
12035 /* end confdefs.h. */
12036 $ac_includes_default
12037 #include <sane/sane.h>
12039 rm -f conftest.$ac_objext
12040 if { (ac_try="$ac_compile"
12041 case "(($ac_try" in
12042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12043 *) ac_try_echo
=$ac_try;;
12045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12046 (eval "$ac_compile") 2>conftest.er1
12048 grep -v '^ *+' conftest.er1
>conftest.err
12050 cat conftest.err
>&5
12051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052 (exit $ac_status); } && {
12053 test -z "$ac_c_werror_flag" ||
12054 test ! -s conftest.err
12055 } && test -s conftest.
$ac_objext; then
12056 ac_header_compiler
=yes
12058 echo "$as_me: failed program was:" >&5
12059 sed 's/^/| /' conftest.
$ac_ext >&5
12061 ac_header_compiler
=no
12064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12065 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12066 echo "${ECHO_T}$ac_header_compiler" >&6; }
12068 # Is the header present?
12069 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12070 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12071 cat >conftest.
$ac_ext <<_ACEOF
12074 cat confdefs.h
>>conftest.
$ac_ext
12075 cat >>conftest.
$ac_ext <<_ACEOF
12076 /* end confdefs.h. */
12077 #include <sane/sane.h>
12079 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12080 case "(($ac_try" in
12081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12082 *) ac_try_echo=$ac_try;;
12084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12087 grep -v '^ *+' conftest.er1 >conftest.err
12089 cat conftest.err >&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); } >/dev/null && {
12092 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12093 test ! -s conftest.err
12095 ac_header_preproc=yes
12097 echo "$as_me: failed program was:" >&5
12098 sed 's/^/| /' conftest.$ac_ext >&5
12100 ac_header_preproc=no
12103 rm -f conftest.err conftest.$ac_ext
12104 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12105 echo "${ECHO_T}$ac_header_preproc" >&6; }
12107 # So? What about this header?
12108 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12110 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12111 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12112 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12113 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12114 ac_header_preproc=yes
12117 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12118 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12119 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12120 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12121 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12122 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12123 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12124 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12125 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12126 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12127 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12128 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12130 ## ------------------------------------ ##
12131 ## Report this to wine-devel@winehq.org ##
12132 ## ------------------------------------ ##
12134 ) | sed "s/^/$as_me: WARNING: /" >&2
12137 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12138 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12139 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12142 ac_cv_header_sane_sane_h=$ac_header_preproc
12144 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12145 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12148 if test $ac_cv_header_sane_sane_h = yes; then
12149 { echo "$as_me:$LINENO: checking for -lsane" >&5
12150 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12151 if test "${ac_cv_lib_soname_sane+set}" = set; then
12152 echo $ECHO_N "(cached) $ECHO_C" >&6
12154 ac_check_soname_save_LIBS=$LIBS
12155 LIBS="-lsane $LIBS"
12156 cat >conftest.$ac_ext <<_ACEOF
12159 cat confdefs.h >>conftest.$ac_ext
12160 cat >>conftest.$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12173 return sane_init ();
12178 rm -f conftest.$ac_objext conftest$ac_exeext
12179 if { (ac_try="$ac_link"
12180 case "(($ac_try" in
12181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12182 *) ac_try_echo
=$ac_try;;
12184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12185 (eval "$ac_link") 2>conftest.er1
12187 grep -v '^ *+' conftest.er1
>conftest.err
12189 cat conftest.err
>&5
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); } && {
12192 test -z "$ac_c_werror_flag" ||
12193 test ! -s conftest.err
12194 } && test -s conftest
$ac_exeext &&
12195 $as_test_x conftest
$ac_exeext; then
12198 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'` ;;
12199 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.
$ac_ext >&5
12208 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12209 conftest
$ac_exeext conftest.
$ac_ext
12210 LIBS
=$ac_check_soname_save_LIBS
12212 if test "x$ac_cv_lib_soname_sane" = "x"; then
12213 { echo "$as_me:$LINENO: result: not found" >&5
12214 echo "${ECHO_T}not found" >&6; }
12217 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12218 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12220 cat >>confdefs.h
<<_ACEOF
12221 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12224 SANEINCL
="$ac_sane_incl"
12231 CPPFLAGS
="$ac_save_CPPFLAGS"
12233 if test "x$ac_cv_lib_soname_sane" = "x"; then
12234 wine_notices
="$wine_notices|libsane development files not found.
12235 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12239 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12240 set dummy gphoto2-config
; ac_word
=$2
12241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12243 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12244 echo $ECHO_N "(cached) $ECHO_C" >&6
12246 if test -n "$gphoto2_devel"; then
12247 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12250 for as_dir
in $PATH
12253 test -z "$as_dir" && as_dir
=.
12254 for ac_exec_ext
in '' $ac_executable_extensions; do
12255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12256 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12264 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12267 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12268 if test -n "$gphoto2_devel"; then
12269 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12270 echo "${ECHO_T}$gphoto2_devel" >&6; }
12272 { echo "$as_me:$LINENO: result: no" >&5
12273 echo "${ECHO_T}no" >&6; }
12277 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12278 set dummy gphoto2-port-config
; ac_word
=$2
12279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12281 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12284 if test -n "$gphoto2port_devel"; then
12285 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12288 for as_dir
in $PATH
12291 test -z "$as_dir" && as_dir
=.
12292 for ac_exec_ext
in '' $ac_executable_extensions; do
12293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12294 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12302 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12305 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12306 if test -n "$gphoto2port_devel"; then
12307 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12308 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12310 { echo "$as_me:$LINENO: result: no" >&5
12311 echo "${ECHO_T}no" >&6; }
12315 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12317 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12319 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12322 -L/usr
/lib|
-L/usr
/lib64
) ;;
12323 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
12326 ac_save_CPPFLAGS
="$CPPFLAGS"
12327 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
12328 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12329 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12330 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12331 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12332 echo $ECHO_N "(cached) $ECHO_C" >&6
12334 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12335 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12337 # Is the header compilable?
12338 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12339 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12340 cat >conftest.
$ac_ext <<_ACEOF
12343 cat confdefs.h
>>conftest.
$ac_ext
12344 cat >>conftest.
$ac_ext <<_ACEOF
12345 /* end confdefs.h. */
12346 $ac_includes_default
12347 #include <gphoto2-camera.h>
12349 rm -f conftest.
$ac_objext
12350 if { (ac_try
="$ac_compile"
12351 case "(($ac_try" in
12352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12353 *) ac_try_echo=$ac_try;;
12355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12356 (eval "$ac_compile") 2>conftest.er1
12358 grep -v '^ *+' conftest.er1 >conftest.err
12360 cat conftest.err >&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } && {
12363 test -z "$ac_c_werror_flag" ||
12364 test ! -s conftest.err
12365 } && test -s conftest.$ac_objext; then
12366 ac_header_compiler=yes
12368 echo "$as_me: failed program was:" >&5
12369 sed 's/^/| /' conftest.$ac_ext >&5
12371 ac_header_compiler=no
12374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12375 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12376 echo "${ECHO_T}$ac_header_compiler" >&6; }
12378 # Is the header present?
12379 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12380 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12381 cat >conftest.$ac_ext <<_ACEOF
12384 cat confdefs.h >>conftest.$ac_ext
12385 cat >>conftest.$ac_ext <<_ACEOF
12386 /* end confdefs.h. */
12387 #include <gphoto2-camera.h>
12389 if { (ac_try="$ac_cpp conftest.$ac_ext"
12390 case "(($ac_try" in
12391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12392 *) ac_try_echo
=$ac_try;;
12394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12395 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12397 grep -v '^ *+' conftest.er1
>conftest.err
12399 cat conftest.err
>&5
12400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401 (exit $ac_status); } >/dev
/null
&& {
12402 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12403 test ! -s conftest.err
12405 ac_header_preproc
=yes
12407 echo "$as_me: failed program was:" >&5
12408 sed 's/^/| /' conftest.
$ac_ext >&5
12410 ac_header_preproc
=no
12413 rm -f conftest.err conftest.
$ac_ext
12414 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12415 echo "${ECHO_T}$ac_header_preproc" >&6; }
12417 # So? What about this header?
12418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12420 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12421 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12422 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12423 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12424 ac_header_preproc
=yes
12427 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12428 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12429 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12430 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12431 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12432 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12433 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12434 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12435 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12436 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12437 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12438 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12440 ## ------------------------------------ ##
12441 ## Report this to wine-devel@winehq.org ##
12442 ## ------------------------------------ ##
12444 ) |
sed "s/^/$as_me: WARNING: /" >&2
12447 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12448 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12449 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12450 echo $ECHO_N "(cached) $ECHO_C" >&6
12452 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12454 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12455 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12458 if test $ac_cv_header_gphoto2_camera_h = yes; then
12459 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12460 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12461 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12462 echo $ECHO_N "(cached) $ECHO_C" >&6
12464 ac_check_lib_save_LIBS
=$LIBS
12465 LIBS
="-lgphoto2 $GPHOTO2LIBS $LIBS"
12466 cat >conftest.
$ac_ext <<_ACEOF
12469 cat confdefs.h
>>conftest.
$ac_ext
12470 cat >>conftest.
$ac_ext <<_ACEOF
12471 /* end confdefs.h. */
12473 /* Override any GCC internal prototype to avoid an error.
12474 Use char because int might match the return type of a GCC
12475 builtin and then its argument prototype would still apply. */
12479 char gp_camera_new ();
12483 return gp_camera_new ();
12488 rm -f conftest.
$ac_objext conftest
$ac_exeext
12489 if { (ac_try
="$ac_link"
12490 case "(($ac_try" in
12491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12492 *) ac_try_echo=$ac_try;;
12494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12495 (eval "$ac_link") 2>conftest.er1
12497 grep -v '^ *+' conftest.er1 >conftest.err
12499 cat conftest.err >&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } && {
12502 test -z "$ac_c_werror_flag" ||
12503 test ! -s conftest.err
12504 } && test -s conftest$ac_exeext &&
12505 $as_test_x conftest$ac_exeext; then
12506 ac_cv_lib_gphoto2_gp_camera_new=yes
12508 echo "$as_me: failed program was:" >&5
12509 sed 's/^/| /' conftest.$ac_ext >&5
12511 ac_cv_lib_gphoto2_gp_camera_new=no
12514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12515 conftest$ac_exeext conftest.$ac_ext
12516 LIBS=$ac_check_lib_save_LIBS
12518 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12519 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12520 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12522 cat >>confdefs.h <<\_ACEOF
12523 #define HAVE_GPHOTO2 1
12526 GPHOTO2LIBS="$ac_gphoto2_libs"
12528 GPHOTO2INCL="$ac_gphoto2_incl"
12535 CPPFLAGS="$ac_save_CPPFLAGS"
12537 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12538 wine_notices="$wine_notices|libgphoto2 development files not found.
12539 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12544 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12547 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12548 if test -n "$ICU_LIB_DIR"
12550 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12552 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12553 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12554 LIBS="$saved_libs $icu_libs"
12555 if test "$cross_compiling" = yes; then
12556 { echo "$as_me:$LINENO: result: no" >&5
12557 echo "${ECHO_T}no" >&6; }
12559 cat >conftest.$ac_ext <<_ACEOF
12562 cat confdefs.h >>conftest.$ac_ext
12563 cat >>conftest.$ac_ext <<_ACEOF
12564 /* end confdefs.h. */
12565 #include <unicode/ubidi.h>
12574 rm -f conftest$ac_exeext
12575 if { (ac_try="$ac_link"
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_link") 2>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12585 { (case "(($ac_try" in
12586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12587 *) ac_try_echo=$ac_try;;
12589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12590 (eval "$ac_try") 2>&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; }; then
12595 cat >>confdefs.h <<\_ACEOF
12599 ICULIBS="$icu_libs"
12601 { echo "$as_me:$LINENO: result: yes" >&5
12602 echo "${ECHO_T}yes" >&6; }
12604 echo "$as_me: program exited with status $ac_status" >&5
12605 echo "$as_me: failed program was:" >&5
12606 sed 's/^/| /' conftest.$ac_ext >&5
12608 ( exit $ac_status )
12609 { echo "$as_me:$LINENO: result: no" >&5
12610 echo "${ECHO_T}no" >&6; }
12612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12618 if test "x$ICULIBS" = "x"; then
12619 wine_notices="$wine_notices|libicu development files not found.
12620 Wine will be built without bidi (Right to Left) support. (gdi32.dll)"
12626 if test "$ac_cv_header_resolv_h" = "yes"
12628 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12629 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12630 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 ac_check_lib_save_LIBS=$LIBS
12634 LIBS="-lresolv $LIBS"
12635 cat >conftest.$ac_ext <<_ACEOF
12638 cat confdefs.h >>conftest.$ac_ext
12639 cat >>conftest.$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12652 return res_query ();
12657 rm -f conftest.$ac_objext conftest$ac_exeext
12658 if { (ac_try="$ac_link"
12659 case "(($ac_try" in
12660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12661 *) ac_try_echo
=$ac_try;;
12663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12664 (eval "$ac_link") 2>conftest.er1
12666 grep -v '^ *+' conftest.er1
>conftest.err
12668 cat conftest.err
>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); } && {
12671 test -z "$ac_c_werror_flag" ||
12672 test ! -s conftest.err
12673 } && test -s conftest
$ac_exeext &&
12674 $as_test_x conftest
$ac_exeext; then
12675 ac_cv_lib_resolv_res_query
=yes
12677 echo "$as_me: failed program was:" >&5
12678 sed 's/^/| /' conftest.
$ac_ext >&5
12680 ac_cv_lib_resolv_res_query
=no
12683 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12684 conftest
$ac_exeext conftest.
$ac_ext
12685 LIBS
=$ac_check_lib_save_LIBS
12687 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12688 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12689 if test $ac_cv_lib_resolv_res_query = yes; then
12691 cat >>confdefs.h
<<\_ACEOF
12692 #define HAVE_RESOLV 1
12695 RESOLVLIBS
="-lresolv"
12702 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12704 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12705 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12706 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12707 echo $ECHO_N "(cached) $ECHO_C" >&6
12709 ac_check_lib_save_LIBS
=$LIBS
12710 LIBS
="-llcms $LIBS"
12711 cat >conftest.
$ac_ext <<_ACEOF
12714 cat confdefs.h
>>conftest.
$ac_ext
12715 cat >>conftest.
$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12718 /* Override any GCC internal prototype to avoid an error.
12719 Use char because int might match the return type of a GCC
12720 builtin and then its argument prototype would still apply. */
12724 char cmsOpenProfileFromFile ();
12728 return cmsOpenProfileFromFile ();
12733 rm -f conftest.
$ac_objext conftest
$ac_exeext
12734 if { (ac_try
="$ac_link"
12735 case "(($ac_try" in
12736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12737 *) ac_try_echo=$ac_try;;
12739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12740 (eval "$ac_link") 2>conftest.er1
12742 grep -v '^ *+' conftest.er1 >conftest.err
12744 cat conftest.err >&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } && {
12747 test -z "$ac_c_werror_flag" ||
12748 test ! -s conftest.err
12749 } && test -s conftest$ac_exeext &&
12750 $as_test_x conftest$ac_exeext; then
12751 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12753 echo "$as_me: failed program was:" >&5
12754 sed 's/^/| /' conftest.$ac_ext >&5
12756 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12760 conftest$ac_exeext conftest.$ac_ext
12761 LIBS=$ac_check_lib_save_LIBS
12763 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12764 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12765 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12767 cat >>confdefs.h <<\_ACEOF
12768 #define HAVE_LCMS 1
12775 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12776 wine_notices="$wine_notices|liblcms development files not found.
12777 Wine will be built without Color Management support. (mscms.dll)"
12783 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12785 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12786 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12787 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12790 ac_check_lib_save_LIBS=$LIBS
12791 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12792 cat >conftest.$ac_ext <<_ACEOF
12795 cat confdefs.h >>conftest.$ac_ext
12796 cat >>conftest.$ac_ext <<_ACEOF
12797 /* end confdefs.h. */
12799 /* Override any GCC internal prototype to avoid an error.
12800 Use char because int might match the return type of a GCC
12801 builtin and then its argument prototype would still apply. */
12805 char ldap_initialize ();
12809 return ldap_initialize ();
12814 rm -f conftest.$ac_objext conftest$ac_exeext
12815 if { (ac_try="$ac_link"
12816 case "(($ac_try" in
12817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12818 *) ac_try_echo
=$ac_try;;
12820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12821 (eval "$ac_link") 2>conftest.er1
12823 grep -v '^ *+' conftest.er1
>conftest.err
12825 cat conftest.err
>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } && {
12828 test -z "$ac_c_werror_flag" ||
12829 test ! -s conftest.err
12830 } && test -s conftest
$ac_exeext &&
12831 $as_test_x conftest
$ac_exeext; then
12832 ac_cv_lib_ldap_r_ldap_initialize
=yes
12834 echo "$as_me: failed program was:" >&5
12835 sed 's/^/| /' conftest.
$ac_ext >&5
12837 ac_cv_lib_ldap_r_ldap_initialize
=no
12840 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12841 conftest
$ac_exeext conftest.
$ac_ext
12842 LIBS
=$ac_check_lib_save_LIBS
12844 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12845 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12846 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12847 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12848 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12849 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12850 echo $ECHO_N "(cached) $ECHO_C" >&6
12852 ac_check_lib_save_LIBS
=$LIBS
12853 LIBS
="-llber $LIBPTHREAD $LIBS"
12854 cat >conftest.
$ac_ext <<_ACEOF
12857 cat confdefs.h
>>conftest.
$ac_ext
12858 cat >>conftest.
$ac_ext <<_ACEOF
12859 /* end confdefs.h. */
12861 /* Override any GCC internal prototype to avoid an error.
12862 Use char because int might match the return type of a GCC
12863 builtin and then its argument prototype would still apply. */
12871 return ber_init ();
12876 rm -f conftest.
$ac_objext conftest
$ac_exeext
12877 if { (ac_try
="$ac_link"
12878 case "(($ac_try" in
12879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12880 *) ac_try_echo=$ac_try;;
12882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12883 (eval "$ac_link") 2>conftest.er1
12885 grep -v '^ *+' conftest.er1 >conftest.err
12887 cat conftest.err >&5
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); } && {
12890 test -z "$ac_c_werror_flag" ||
12891 test ! -s conftest.err
12892 } && test -s conftest$ac_exeext &&
12893 $as_test_x conftest$ac_exeext; then
12894 ac_cv_lib_lber_ber_init=yes
12896 echo "$as_me: failed program was:" >&5
12897 sed 's/^/| /' conftest.$ac_ext >&5
12899 ac_cv_lib_lber_ber_init=no
12902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12903 conftest$ac_exeext conftest.$ac_ext
12904 LIBS=$ac_check_lib_save_LIBS
12906 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12907 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12908 if test $ac_cv_lib_lber_ber_init = yes; then
12910 cat >>confdefs.h <<\_ACEOF
12911 #define HAVE_LDAP 1
12914 LDAPLIBS="-lldap_r -llber"
12919 ac_wine_check_funcs_save_LIBS="$LIBS"
12920 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12926 ldap_count_references \
12927 ldap_first_reference \
12928 ldap_next_reference \
12929 ldap_parse_reference
12931 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12932 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12934 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12935 echo $ECHO_N "(cached) $ECHO_C" >&6
12937 cat >conftest.$ac_ext <<_ACEOF
12940 cat confdefs.h >>conftest.$ac_ext
12941 cat >>conftest.$ac_ext <<_ACEOF
12942 /* end confdefs.h. */
12943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12945 #define $ac_func innocuous_$ac_func
12947 /* System header to define __stub macros and hopefully few prototypes,
12948 which can conflict with char $ac_func (); below.
12949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12950 <limits.h> exists even on freestanding compilers. */
12953 # include <limits.h>
12955 # include <assert.h>
12960 /* Override any GCC internal prototype to avoid an error.
12961 Use char because int might match the return type of a GCC
12962 builtin and then its argument prototype would still apply. */
12967 /* The GNU C library defines this for functions which it implements
12968 to always fail with ENOSYS. Some functions are actually named
12969 something starting with __ and the normal name is an alias. */
12970 #if defined __stub_$ac_func || defined __stub___$ac_func
12977 return $ac_func ();
12982 rm -f conftest.$ac_objext conftest$ac_exeext
12983 if { (ac_try="$ac_link"
12984 case "(($ac_try" in
12985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12986 *) ac_try_echo
=$ac_try;;
12988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12989 (eval "$ac_link") 2>conftest.er1
12991 grep -v '^ *+' conftest.er1
>conftest.err
12993 cat conftest.err
>&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } && {
12996 test -z "$ac_c_werror_flag" ||
12997 test ! -s conftest.err
12998 } && test -s conftest
$ac_exeext &&
12999 $as_test_x conftest
$ac_exeext; then
13000 eval "$as_ac_var=yes"
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.
$ac_ext >&5
13005 eval "$as_ac_var=no"
13008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13009 conftest
$ac_exeext conftest.
$ac_ext
13011 ac_res
=`eval echo '${'$as_ac_var'}'`
13012 { echo "$as_me:$LINENO: result: $ac_res" >&5
13013 echo "${ECHO_T}$ac_res" >&6; }
13014 if test `eval echo '${'$as_ac_var'}'` = yes; then
13015 cat >>confdefs.h
<<_ACEOF
13016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13022 LIBS
="$ac_wine_check_funcs_save_LIBS"
13024 if test "x$LDAPLIBS" = "x"; then
13025 wine_notices
="$wine_notices|libldap (OpenLDAP) development files not found.
13026 Wine will be built without LDAP support. (wldap32.dll)"
13030 for ac_prog
in freetype-config freetype2-config
13032 # Extract the first word of "$ac_prog", so it can be a program name with args.
13033 set dummy
$ac_prog; ac_word
=$2
13034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13036 if test "${ac_cv_prog_ft_devel+set}" = set; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 if test -n "$ft_devel"; then
13040 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13043 for as_dir
in $PATH
13046 test -z "$as_dir" && as_dir
=.
13047 for ac_exec_ext
in '' $ac_executable_extensions; do
13048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13049 ac_cv_prog_ft_devel
="$ac_prog"
13050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13059 ft_devel
=$ac_cv_prog_ft_devel
13060 if test -n "$ft_devel"; then
13061 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13062 echo "${ECHO_T}$ft_devel" >&6; }
13064 { echo "$as_me:$LINENO: result: no" >&5
13065 echo "${ECHO_T}no" >&6; }
13069 test -n "$ft_devel" && break
13071 test -n "$ft_devel" || ft_devel
="false"
13073 if test "$ft_devel" != "false"
13075 ac_freetype_libs
=`$ft_devel --libs`
13076 ac_freetype_incl
=`$ft_devel --cflags`
13077 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13078 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13079 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 ac_check_soname_save_LIBS
=$LIBS
13083 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
13084 cat >conftest.
$ac_ext <<_ACEOF
13087 cat confdefs.h
>>conftest.
$ac_ext
13088 cat >>conftest.
$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13091 /* Override any GCC internal prototype to avoid an error.
13092 Use char because int might match the return type of a GCC
13093 builtin and then its argument prototype would still apply. */
13097 char FT_Init_FreeType ();
13101 return FT_Init_FreeType ();
13106 rm -f conftest.
$ac_objext conftest
$ac_exeext
13107 if { (ac_try
="$ac_link"
13108 case "(($ac_try" in
13109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13110 *) ac_try_echo=$ac_try;;
13112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13113 (eval "$ac_link") 2>conftest.er1
13115 grep -v '^ *+' conftest.er1 >conftest.err
13117 cat conftest.err >&5
13118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119 (exit $ac_status); } && {
13120 test -z "$ac_c_werror_flag" ||
13121 test ! -s conftest.err
13122 } && test -s conftest$ac_exeext &&
13123 $as_test_x conftest$ac_exeext; then
13126 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'` ;;
13127 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libfreetype\\.$LIBEXT" |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13130 echo "$as_me: failed program was:" >&5
13131 sed 's/^/| /' conftest.$ac_ext >&5
13136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13137 conftest$ac_exeext conftest.$ac_ext
13138 LIBS=$ac_check_soname_save_LIBS
13140 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13141 { echo "$as_me:$LINENO: result: not found" >&5
13142 echo "${ECHO_T}not found" >&6; }
13145 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13146 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13148 cat >>confdefs.h <<_ACEOF
13149 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13155 if test "$ft_lib" = "yes"
13157 ac_save_CPPFLAGS="$CPPFLAGS"
13158 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13170 for ac_header in ft2build.h \
13171 freetype/freetype.h \
13172 freetype/ftglyph.h \
13173 freetype/tttables.h \
13174 freetype/ftnames.h \
13175 freetype/ftsnames.h \
13176 freetype/ttnameid.h \
13177 freetype/ftoutln.h \
13178 freetype/ftwinfnt.h \
13179 freetype/ftmodapi.h \
13180 freetype/internal/sfnt.h
13182 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13183 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 cat >conftest.$ac_ext <<_ACEOF
13191 cat confdefs.h >>conftest.$ac_ext
13192 cat >>conftest.$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13194 #if HAVE_FT2BUILD_H
13195 #include <ft2build.h>
13198 #include <$ac_header>
13200 rm -f conftest.$ac_objext
13201 if { (ac_try="$ac_compile"
13202 case "(($ac_try" in
13203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13204 *) ac_try_echo
=$ac_try;;
13206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13207 (eval "$ac_compile") 2>conftest.er1
13209 grep -v '^ *+' conftest.er1
>conftest.err
13211 cat conftest.err
>&5
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); } && {
13214 test -z "$ac_c_werror_flag" ||
13215 test ! -s conftest.err
13216 } && test -s conftest.
$ac_objext; then
13217 eval "$as_ac_Header=yes"
13219 echo "$as_me: failed program was:" >&5
13220 sed 's/^/| /' conftest.
$ac_ext >&5
13222 eval "$as_ac_Header=no"
13225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13227 ac_res
=`eval echo '${'$as_ac_Header'}'`
13228 { echo "$as_me:$LINENO: result: $ac_res" >&5
13229 echo "${ECHO_T}$ac_res" >&6; }
13230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13231 cat >>confdefs.h
<<_ACEOF
13232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13239 cat >conftest.
$ac_ext <<_ACEOF
13242 cat confdefs.h
>>conftest.
$ac_ext
13243 cat >>conftest.
$ac_ext <<_ACEOF
13244 /* end confdefs.h. */
13245 #include <ft2build.h>
13246 #include <freetype/fttrigon.h>
13248 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13249 case "(($ac_try" in
13250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13251 *) ac_try_echo=$ac_try;;
13253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13256 grep -v '^ *+' conftest.er1 >conftest.err
13258 cat conftest.err >&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); } >/dev/null && {
13261 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13262 test ! -s conftest.err
13265 cat >>confdefs.h <<\_ACEOF
13266 #define HAVE_FREETYPE_FTTRIGON_H 1
13269 wine_cv_fttrigon=yes
13271 echo "$as_me: failed program was:" >&5
13272 sed 's/^/| /' conftest.$ac_ext >&5
13274 wine_cv_fttrigon=no
13277 rm -f conftest.err conftest.$ac_ext
13278 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13279 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13280 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13281 echo $ECHO_N "(cached) $ECHO_C" >&6
13283 cat >conftest.$ac_ext <<_ACEOF
13286 cat confdefs.h >>conftest.$ac_ext
13287 cat >>conftest.$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13289 #include <freetype/ftmodapi.h>
13291 typedef FT_TrueTypeEngineType ac__type_new_;
13295 if ((ac__type_new_ *) 0)
13297 if (sizeof (ac__type_new_))
13303 rm -f conftest.$ac_objext
13304 if { (ac_try="$ac_compile"
13305 case "(($ac_try" in
13306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13307 *) ac_try_echo
=$ac_try;;
13309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13310 (eval "$ac_compile") 2>conftest.er1
13312 grep -v '^ *+' conftest.er1
>conftest.err
13314 cat conftest.err
>&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); } && {
13317 test -z "$ac_c_werror_flag" ||
13318 test ! -s conftest.err
13319 } && test -s conftest.
$ac_objext; then
13320 ac_cv_type_FT_TrueTypeEngineType
=yes
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.
$ac_ext >&5
13325 ac_cv_type_FT_TrueTypeEngineType
=no
13328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13330 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13331 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13332 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13334 cat >>confdefs.h
<<_ACEOF
13335 #define HAVE_FT_TRUETYPEENGINETYPE 1
13341 ac_save_CFLAGS
="$CFLAGS"
13342 CFLAGS
="$CFLAGS $ac_freetype_libs"
13344 for ac_func
in FT_Load_Sfnt_Table
13346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13347 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13349 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13350 echo $ECHO_N "(cached) $ECHO_C" >&6
13352 cat >conftest.
$ac_ext <<_ACEOF
13355 cat confdefs.h
>>conftest.
$ac_ext
13356 cat >>conftest.
$ac_ext <<_ACEOF
13357 /* end confdefs.h. */
13358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13360 #define $ac_func innocuous_$ac_func
13362 /* System header to define __stub macros and hopefully few prototypes,
13363 which can conflict with char $ac_func (); below.
13364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13365 <limits.h> exists even on freestanding compilers. */
13368 # include <limits.h>
13370 # include <assert.h>
13375 /* Override any GCC internal prototype to avoid an error.
13376 Use char because int might match the return type of a GCC
13377 builtin and then its argument prototype would still apply. */
13382 /* The GNU C library defines this for functions which it implements
13383 to always fail with ENOSYS. Some functions are actually named
13384 something starting with __ and the normal name is an alias. */
13385 #if defined __stub_$ac_func || defined __stub___$ac_func
13392 return $ac_func ();
13397 rm -f conftest.
$ac_objext conftest
$ac_exeext
13398 if { (ac_try
="$ac_link"
13399 case "(($ac_try" in
13400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13401 *) ac_try_echo=$ac_try;;
13403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13404 (eval "$ac_link") 2>conftest.er1
13406 grep -v '^ *+' conftest.er1 >conftest.err
13408 cat conftest.err >&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); } && {
13411 test -z "$ac_c_werror_flag" ||
13412 test ! -s conftest.err
13413 } && test -s conftest$ac_exeext &&
13414 $as_test_x conftest$ac_exeext; then
13415 eval "$as_ac_var=yes"
13417 echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.$ac_ext >&5
13420 eval "$as_ac_var=no"
13423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13424 conftest$ac_exeext conftest.$ac_ext
13426 ac_res=`eval echo '${'$as_ac_var'}'`
13427 { echo "$as_me:$LINENO: result: $ac_res" >&5
13428 echo "${ECHO_T}$ac_res" >&6; }
13429 if test `eval echo '${'$as_ac_var'}'` = yes; then
13430 cat >>confdefs.h <<_ACEOF
13431 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13437 CFLAGS="$ac_save_CFLAGS"
13438 CPPFLAGS="$ac_save_CPPFLAGS"
13439 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13442 cat >>confdefs.h <<\_ACEOF
13443 #define HAVE_FREETYPE 1
13446 FREETYPELIBS="$ac_freetype_libs"
13448 FREETYPEINCL="$ac_freetype_incl"
13454 if test "$FONTFORGE" = "false"
13456 wine_warnings="$wine_warnings|FontForge is missing.
13457 Fonts will not be built. Dialog text may be invisible or unaligned."
13458 elif test "x$FREETYPELIBS" = "x"
13460 wine_warnings="$wine_warnings|FreeType development files not found.
13461 Fonts will not be built. Dialog text may be invisible or unaligned."
13463 FONTSSUBDIRS="fonts"
13467 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13468 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13469 if test "${ac_cv_c_ppdev+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13472 cat >conftest.$ac_ext <<_ACEOF
13475 cat confdefs.h >>conftest.$ac_ext
13476 cat >>conftest.$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13478 #include <linux/ppdev.h>
13482 ioctl (1,PPCLAIM,0)
13487 rm -f conftest.$ac_objext
13488 if { (ac_try="$ac_compile"
13489 case "(($ac_try" in
13490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13491 *) ac_try_echo
=$ac_try;;
13493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13494 (eval "$ac_compile") 2>conftest.er1
13496 grep -v '^ *+' conftest.er1
>conftest.err
13498 cat conftest.err
>&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); } && {
13501 test -z "$ac_c_werror_flag" ||
13502 test ! -s conftest.err
13503 } && test -s conftest.
$ac_objext; then
13504 ac_cv_c_ppdev
="yes"
13506 echo "$as_me: failed program was:" >&5
13507 sed 's/^/| /' conftest.
$ac_ext >&5
13512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13514 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13515 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13516 if test "$ac_cv_c_ppdev" = "yes"
13519 cat >>confdefs.h
<<\_ACEOF
13520 #define HAVE_PPDEV 1
13525 { echo "$as_me:$LINENO: checking for va_copy" >&5
13526 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13527 if test "${ac_cv_c_va_copy+set}" = set; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13530 cat >conftest.
$ac_ext <<_ACEOF
13533 cat confdefs.h
>>conftest.
$ac_ext
13534 cat >>conftest.
$ac_ext <<_ACEOF
13535 /* end confdefs.h. */
13536 #include <stdarg.h>
13540 va_list ap1, ap2; va_copy(ap1,ap2);
13545 rm -f conftest.
$ac_objext conftest
$ac_exeext
13546 if { (ac_try
="$ac_link"
13547 case "(($ac_try" in
13548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13549 *) ac_try_echo=$ac_try;;
13551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13552 (eval "$ac_link") 2>conftest.er1
13554 grep -v '^ *+' conftest.er1 >conftest.err
13556 cat conftest.err >&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } && {
13559 test -z "$ac_c_werror_flag" ||
13560 test ! -s conftest.err
13561 } && test -s conftest$ac_exeext &&
13562 $as_test_x conftest$ac_exeext; then
13563 ac_cv_c_va_copy="yes"
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.$ac_ext >&5
13568 ac_cv_c_va_copy="no"
13571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13572 conftest$ac_exeext conftest.$ac_ext
13575 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13576 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13577 if test "$ac_cv_c_va_copy" = "yes"
13580 cat >>confdefs.h <<\_ACEOF
13581 #define HAVE_VA_COPY 1
13585 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13586 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13587 if test "${ac_cv_c___va_copy+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 cat >conftest.$ac_ext <<_ACEOF
13593 cat confdefs.h >>conftest.$ac_ext
13594 cat >>conftest.$ac_ext <<_ACEOF
13595 /* end confdefs.h. */
13596 #include <stdarg.h>
13600 va_list ap1, ap2; __va_copy(ap1,ap2);
13605 rm -f conftest.$ac_objext conftest$ac_exeext
13606 if { (ac_try="$ac_link"
13607 case "(($ac_try" in
13608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13609 *) ac_try_echo
=$ac_try;;
13611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13612 (eval "$ac_link") 2>conftest.er1
13614 grep -v '^ *+' conftest.er1
>conftest.err
13616 cat conftest.err
>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); } && {
13619 test -z "$ac_c_werror_flag" ||
13620 test ! -s conftest.err
13621 } && test -s conftest
$ac_exeext &&
13622 $as_test_x conftest
$ac_exeext; then
13623 ac_cv_c___va_copy
="yes"
13625 echo "$as_me: failed program was:" >&5
13626 sed 's/^/| /' conftest.
$ac_ext >&5
13628 ac_cv_c___va_copy
="no"
13631 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13632 conftest
$ac_exeext conftest.
$ac_ext
13635 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13636 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13637 if test "$ac_cv_c___va_copy" = "yes"
13640 cat >>confdefs.h
<<\_ACEOF
13641 #define HAVE___VA_COPY 1
13646 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13647 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13648 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13649 echo $ECHO_N "(cached) $ECHO_C" >&6
13651 cat >conftest.
$ac_ext <<_ACEOF
13654 cat confdefs.h
>>conftest.
$ac_ext
13655 cat >>conftest.
$ac_ext <<_ACEOF
13656 /* end confdefs.h. */
13657 #include <setjmp.h>
13662 sigsetjmp( buf, 1 );
13663 siglongjmp( buf, 1 );
13668 rm -f conftest.
$ac_objext conftest
$ac_exeext
13669 if { (ac_try
="$ac_link"
13670 case "(($ac_try" in
13671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13672 *) ac_try_echo=$ac_try;;
13674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13675 (eval "$ac_link") 2>conftest.er1
13677 grep -v '^ *+' conftest.er1 >conftest.err
13679 cat conftest.err >&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); } && {
13682 test -z "$ac_c_werror_flag" ||
13683 test ! -s conftest.err
13684 } && test -s conftest$ac_exeext &&
13685 $as_test_x conftest$ac_exeext; then
13686 ac_cv_c_sigsetjmp="yes"
13688 echo "$as_me: failed program was:" >&5
13689 sed 's/^/| /' conftest.$ac_ext >&5
13691 ac_cv_c_sigsetjmp="no"
13694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13695 conftest$ac_exeext conftest.$ac_ext
13698 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13699 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13700 if test "$ac_cv_c_sigsetjmp" = "yes"
13703 cat >>confdefs.h <<\_ACEOF
13704 #define HAVE_SIGSETJMP 1
13709 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13710 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13711 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13712 echo $ECHO_N "(cached) $ECHO_C" >&6
13714 cat >conftest.$ac_ext <<_ACEOF
13717 cat confdefs.h >>conftest.$ac_ext
13718 cat >>conftest.$ac_ext <<_ACEOF
13719 /* end confdefs.h. */
13720 #define _GNU_SOURCE
13721 #include <pthread.h>
13723 typedef pthread_rwlock_t ac__type_new_;
13727 if ((ac__type_new_ *) 0)
13729 if (sizeof (ac__type_new_))
13735 rm -f conftest.$ac_objext
13736 if { (ac_try="$ac_compile"
13737 case "(($ac_try" in
13738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13739 *) ac_try_echo
=$ac_try;;
13741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13742 (eval "$ac_compile") 2>conftest.er1
13744 grep -v '^ *+' conftest.er1
>conftest.err
13746 cat conftest.err
>&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); } && {
13749 test -z "$ac_c_werror_flag" ||
13750 test ! -s conftest.err
13751 } && test -s conftest.
$ac_objext; then
13752 ac_cv_type_pthread_rwlock_t
=yes
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.
$ac_ext >&5
13757 ac_cv_type_pthread_rwlock_t
=no
13760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13762 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13763 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13764 if test $ac_cv_type_pthread_rwlock_t = yes; then
13766 cat >>confdefs.h
<<_ACEOF
13767 #define HAVE_PTHREAD_RWLOCK_T 1
13772 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13773 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13774 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13777 cat >conftest.
$ac_ext <<_ACEOF
13780 cat confdefs.h
>>conftest.
$ac_ext
13781 cat >>conftest.
$ac_ext <<_ACEOF
13782 /* end confdefs.h. */
13783 #define _GNU_SOURCE
13784 #include <pthread.h>
13786 typedef pthread_rwlockattr_t ac__type_new_;
13790 if ((ac__type_new_ *) 0)
13792 if (sizeof (ac__type_new_))
13798 rm -f conftest.
$ac_objext
13799 if { (ac_try
="$ac_compile"
13800 case "(($ac_try" in
13801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13802 *) ac_try_echo=$ac_try;;
13804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13805 (eval "$ac_compile") 2>conftest.er1
13807 grep -v '^ *+' conftest.er1 >conftest.err
13809 cat conftest.err >&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } && {
13812 test -z "$ac_c_werror_flag" ||
13813 test ! -s conftest.err
13814 } && test -s conftest.$ac_objext; then
13815 ac_cv_type_pthread_rwlockattr_t=yes
13817 echo "$as_me: failed program was:" >&5
13818 sed 's/^/| /' conftest.$ac_ext >&5
13820 ac_cv_type_pthread_rwlockattr_t=no
13823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13825 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13826 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13827 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13829 cat >>confdefs.h <<_ACEOF
13830 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13837 ac_wine_check_funcs_save_LIBS="$LIBS"
13838 LIBS="$LIBS $LIBPTHREAD"
13844 pthread_attr_get_np \
13845 pthread_getattr_np \
13846 pthread_get_stackaddr_np \
13847 pthread_get_stacksize_np
13849 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13850 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13852 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13853 echo $ECHO_N "(cached) $ECHO_C" >&6
13855 cat >conftest.$ac_ext <<_ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13863 #define $ac_func innocuous_$ac_func
13865 /* System header to define __stub macros and hopefully few prototypes,
13866 which can conflict with char $ac_func (); below.
13867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13868 <limits.h> exists even on freestanding compilers. */
13871 # include <limits.h>
13873 # include <assert.h>
13878 /* Override any GCC internal prototype to avoid an error.
13879 Use char because int might match the return type of a GCC
13880 builtin and then its argument prototype would still apply. */
13885 /* The GNU C library defines this for functions which it implements
13886 to always fail with ENOSYS. Some functions are actually named
13887 something starting with __ and the normal name is an alias. */
13888 #if defined __stub_$ac_func || defined __stub___$ac_func
13895 return $ac_func ();
13900 rm -f conftest.$ac_objext conftest$ac_exeext
13901 if { (ac_try="$ac_link"
13902 case "(($ac_try" in
13903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13904 *) ac_try_echo
=$ac_try;;
13906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13907 (eval "$ac_link") 2>conftest.er1
13909 grep -v '^ *+' conftest.er1
>conftest.err
13911 cat conftest.err
>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } && {
13914 test -z "$ac_c_werror_flag" ||
13915 test ! -s conftest.err
13916 } && test -s conftest
$ac_exeext &&
13917 $as_test_x conftest
$ac_exeext; then
13918 eval "$as_ac_var=yes"
13920 echo "$as_me: failed program was:" >&5
13921 sed 's/^/| /' conftest.
$ac_ext >&5
13923 eval "$as_ac_var=no"
13926 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13927 conftest
$ac_exeext conftest.
$ac_ext
13929 ac_res
=`eval echo '${'$as_ac_var'}'`
13930 { echo "$as_me:$LINENO: result: $ac_res" >&5
13931 echo "${ECHO_T}$ac_res" >&6; }
13932 if test `eval echo '${'$as_ac_var'}'` = yes; then
13933 cat >>confdefs.h
<<_ACEOF
13934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13940 LIBS
="$ac_wine_check_funcs_save_LIBS"
13942 # Extract the first word of "esd-config", so it can be a program name with args.
13943 set dummy esd-config
; ac_word
=$2
13944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13946 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13947 echo $ECHO_N "(cached) $ECHO_C" >&6
13951 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
13954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13955 for as_dir
in $PATH
13958 test -z "$as_dir" && as_dir
=.
13959 for ac_exec_ext
in '' $ac_executable_extensions; do
13960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13961 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
13962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13972 ESDCONFIG
=$ac_cv_path_ESDCONFIG
13973 if test -n "$ESDCONFIG"; then
13974 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13975 echo "${ECHO_T}$ESDCONFIG" >&6; }
13977 { echo "$as_me:$LINENO: result: no" >&5
13978 echo "${ECHO_T}no" >&6; }
13982 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
13985 for i
in `$ESDCONFIG --cflags`
13988 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
13991 ESD_LIBS
=`$ESDCONFIG --libs`
13992 save_CFLAGS
="$CFLAGS"
13993 CFLAGS
="$CFLAGS $ESD_CFLAGS"
13994 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13995 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13996 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13997 echo $ECHO_N "(cached) $ECHO_C" >&6
13999 ac_check_lib_save_LIBS
=$LIBS
14001 cat >conftest.
$ac_ext <<_ACEOF
14004 cat confdefs.h
>>conftest.
$ac_ext
14005 cat >>conftest.
$ac_ext <<_ACEOF
14006 /* end confdefs.h. */
14008 /* Override any GCC internal prototype to avoid an error.
14009 Use char because int might match the return type of a GCC
14010 builtin and then its argument prototype would still apply. */
14014 char esd_open_sound ();
14018 return esd_open_sound ();
14023 rm -f conftest.
$ac_objext conftest
$ac_exeext
14024 if { (ac_try
="$ac_link"
14025 case "(($ac_try" in
14026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14027 *) ac_try_echo=$ac_try;;
14029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14030 (eval "$ac_link") 2>conftest.er1
14032 grep -v '^ *+' conftest.er1 >conftest.err
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } && {
14037 test -z "$ac_c_werror_flag" ||
14038 test ! -s conftest.err
14039 } && test -s conftest$ac_exeext &&
14040 $as_test_x conftest$ac_exeext; then
14041 ac_cv_lib_esd_esd_open_sound=yes
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14046 ac_cv_lib_esd_esd_open_sound=no
14049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14050 conftest$ac_exeext conftest.$ac_ext
14051 LIBS=$ac_check_lib_save_LIBS
14053 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14054 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14055 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14058 ESDINCL=$ESD_CFLAGS
14061 cat >>confdefs.h <<\_ACEOF
14067 CFLAGS="$save_CFLAGS"
14072 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14074 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14075 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14076 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 ac_check_lib_save_LIBS=$LIBS
14080 LIBS="-lasound $LIBS"
14081 cat >conftest.$ac_ext <<_ACEOF
14084 cat confdefs.h >>conftest.$ac_ext
14085 cat >>conftest.$ac_ext <<_ACEOF
14086 /* end confdefs.h. */
14088 /* Override any GCC internal prototype to avoid an error.
14089 Use char because int might match the return type of a GCC
14090 builtin and then its argument prototype would still apply. */
14094 char snd_pcm_hw_params_get_access ();
14098 return snd_pcm_hw_params_get_access ();
14103 rm -f conftest.$ac_objext conftest$ac_exeext
14104 if { (ac_try="$ac_link"
14105 case "(($ac_try" in
14106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14107 *) ac_try_echo
=$ac_try;;
14109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14110 (eval "$ac_link") 2>conftest.er1
14112 grep -v '^ *+' conftest.er1
>conftest.err
14114 cat conftest.err
>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } && {
14117 test -z "$ac_c_werror_flag" ||
14118 test ! -s conftest.err
14119 } && test -s conftest
$ac_exeext &&
14120 $as_test_x conftest
$ac_exeext; then
14121 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.
$ac_ext >&5
14126 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14129 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14130 conftest
$ac_exeext conftest.
$ac_ext
14131 LIBS
=$ac_check_lib_save_LIBS
14133 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14134 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14135 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14136 cat >conftest.
$ac_ext <<_ACEOF
14139 cat confdefs.h
>>conftest.
$ac_ext
14140 cat >>conftest.
$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 #ifdef HAVE_ALSA_ASOUNDLIB_H
14143 #include <alsa/asoundlib.h>
14144 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14145 #include <sys/asoundlib.h>
14150 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14155 rm -f conftest.
$ac_objext
14156 if { (ac_try
="$ac_compile"
14157 case "(($ac_try" in
14158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14159 *) ac_try_echo=$ac_try;;
14161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14162 (eval "$ac_compile") 2>conftest.er1
14164 grep -v '^ *+' conftest.er1 >conftest.err
14166 cat conftest.err >&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); } && {
14169 test -z "$ac_c_werror_flag" ||
14170 test ! -s conftest.err
14171 } && test -s conftest.$ac_objext; then
14173 cat >>confdefs.h <<\_ACEOF
14174 #define HAVE_ALSA 1
14177 ALSALIBS="-lasound"
14179 echo "$as_me: failed program was:" >&5
14180 sed 's/^/| /' conftest.$ac_ext >&5
14185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14192 if test "$ac_cv_header_libaudioio_h" = "yes"
14194 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14195 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14196 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14199 ac_check_lib_save_LIBS=$LIBS
14200 LIBS="-laudioio $LIBS"
14201 cat >conftest.$ac_ext <<_ACEOF
14204 cat confdefs.h >>conftest.$ac_ext
14205 cat >>conftest.$ac_ext <<_ACEOF
14206 /* end confdefs.h. */
14208 /* Override any GCC internal prototype to avoid an error.
14209 Use char because int might match the return type of a GCC
14210 builtin and then its argument prototype would still apply. */
14214 char AudioIOGetVersion ();
14218 return AudioIOGetVersion ();
14223 rm -f conftest.$ac_objext conftest$ac_exeext
14224 if { (ac_try="$ac_link"
14225 case "(($ac_try" in
14226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14227 *) ac_try_echo
=$ac_try;;
14229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14230 (eval "$ac_link") 2>conftest.er1
14232 grep -v '^ *+' conftest.er1
>conftest.err
14234 cat conftest.err
>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } && {
14237 test -z "$ac_c_werror_flag" ||
14238 test ! -s conftest.err
14239 } && test -s conftest
$ac_exeext &&
14240 $as_test_x conftest
$ac_exeext; then
14241 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.
$ac_ext >&5
14246 ac_cv_lib_audioio_AudioIOGetVersion
=no
14249 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14250 conftest
$ac_exeext conftest.
$ac_ext
14251 LIBS
=$ac_check_lib_save_LIBS
14253 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14254 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14255 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14256 AUDIOIOLIBS
="-laudioio"
14258 cat >>confdefs.h
<<\_ACEOF
14259 #define HAVE_LIBAUDIOIO 1
14267 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14269 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14270 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14271 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 ac_check_soname_save_LIBS
=$LIBS
14275 LIBS
="-lcapi20 $LIBS"
14276 cat >conftest.
$ac_ext <<_ACEOF
14279 cat confdefs.h
>>conftest.
$ac_ext
14280 cat >>conftest.
$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14283 /* Override any GCC internal prototype to avoid an error.
14284 Use char because int might match the return type of a GCC
14285 builtin and then its argument prototype would still apply. */
14289 char capi20_register ();
14293 return capi20_register ();
14298 rm -f conftest.
$ac_objext conftest
$ac_exeext
14299 if { (ac_try
="$ac_link"
14300 case "(($ac_try" in
14301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14302 *) ac_try_echo=$ac_try;;
14304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14305 (eval "$ac_link") 2>conftest.er1
14307 grep -v '^ *+' conftest.er1 >conftest.err
14309 cat conftest.err >&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } && {
14312 test -z "$ac_c_werror_flag" ||
14313 test ! -s conftest.err
14314 } && test -s conftest$ac_exeext &&
14315 $as_test_x conftest$ac_exeext; then
14318 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'` ;;
14319 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libcapi20\\.$LIBEXT" |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14322 echo "$as_me: failed program was:" >&5
14323 sed 's/^/| /' conftest.$ac_ext >&5
14328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14329 conftest$ac_exeext conftest.$ac_ext
14330 LIBS=$ac_check_soname_save_LIBS
14332 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14333 { echo "$as_me:$LINENO: result: not found" >&5
14334 echo "${ECHO_T}not found" >&6; }
14337 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14338 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14340 cat >>confdefs.h <<_ACEOF
14341 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14348 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14349 wine_notices="$wine_notices|libcapi20 development files not found.
14350 Wine will be built without ISDN support. (capi2032.dll)"
14354 if test "$ac_cv_header_cups_cups_h" = "yes"
14356 { echo "$as_me:$LINENO: checking for -lcups" >&5
14357 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14358 if test "${ac_cv_lib_soname_cups+set}" = set; then
14359 echo $ECHO_N "(cached) $ECHO_C" >&6
14361 ac_check_soname_save_LIBS=$LIBS
14362 LIBS="-lcups $LIBS"
14363 cat >conftest.$ac_ext <<_ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14376 char cupsGetDefault ();
14380 return cupsGetDefault ();
14385 rm -f conftest.$ac_objext conftest$ac_exeext
14386 if { (ac_try="$ac_link"
14387 case "(($ac_try" in
14388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14389 *) ac_try_echo
=$ac_try;;
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_link") 2>conftest.er1
14394 grep -v '^ *+' conftest.er1
>conftest.err
14396 cat conftest.err
>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } && {
14399 test -z "$ac_c_werror_flag" ||
14400 test ! -s conftest.err
14401 } && test -s conftest
$ac_exeext &&
14402 $as_test_x conftest
$ac_exeext; then
14405 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'` ;;
14406 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14409 echo "$as_me: failed program was:" >&5
14410 sed 's/^/| /' conftest.
$ac_ext >&5
14415 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14416 conftest
$ac_exeext conftest.
$ac_ext
14417 LIBS
=$ac_check_soname_save_LIBS
14419 if test "x$ac_cv_lib_soname_cups" = "x"; then
14420 { echo "$as_me:$LINENO: result: not found" >&5
14421 echo "${ECHO_T}not found" >&6; }
14424 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14425 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14427 cat >>confdefs.h
<<_ACEOF
14428 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14435 if test "x$ac_cv_lib_soname_cups" = "x"; then
14436 wine_notices
="$wine_notices|libcups development files not found.
14437 Wine will be built without CUPS support."
14441 if test "$ac_cv_header_jack_jack_h" = "yes"
14443 { echo "$as_me:$LINENO: checking for -ljack" >&5
14444 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14445 if test "${ac_cv_lib_soname_jack+set}" = set; then
14446 echo $ECHO_N "(cached) $ECHO_C" >&6
14448 ac_check_soname_save_LIBS
=$LIBS
14449 LIBS
="-ljack $LIBS"
14450 cat >conftest.
$ac_ext <<_ACEOF
14453 cat confdefs.h
>>conftest.
$ac_ext
14454 cat >>conftest.
$ac_ext <<_ACEOF
14455 /* end confdefs.h. */
14457 /* Override any GCC internal prototype to avoid an error.
14458 Use char because int might match the return type of a GCC
14459 builtin and then its argument prototype would still apply. */
14463 char jack_client_new ();
14467 return jack_client_new ();
14472 rm -f conftest.
$ac_objext conftest
$ac_exeext
14473 if { (ac_try
="$ac_link"
14474 case "(($ac_try" in
14475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14476 *) ac_try_echo=$ac_try;;
14478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14479 (eval "$ac_link") 2>conftest.er1
14481 grep -v '^ *+' conftest.er1 >conftest.err
14483 cat conftest.err >&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } && {
14486 test -z "$ac_c_werror_flag" ||
14487 test ! -s conftest.err
14488 } && test -s conftest$ac_exeext &&
14489 $as_test_x conftest$ac_exeext; then
14492 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'` ;;
14493 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjack\\.$LIBEXT" |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.$ac_ext >&5
14502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14503 conftest$ac_exeext conftest.$ac_ext
14504 LIBS=$ac_check_soname_save_LIBS
14506 if test "x$ac_cv_lib_soname_jack" = "x"; then
14507 { echo "$as_me:$LINENO: result: not found" >&5
14508 echo "${ECHO_T}not found" >&6; }
14511 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14512 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14514 cat >>confdefs.h <<_ACEOF
14515 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14523 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14525 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14526 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14527 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14528 echo $ECHO_N "(cached) $ECHO_C" >&6
14530 ac_check_soname_save_LIBS=$LIBS
14531 LIBS="-lfontconfig $LIBS"
14532 cat >conftest.$ac_ext <<_ACEOF
14535 cat confdefs.h >>conftest.$ac_ext
14536 cat >>conftest.$ac_ext <<_ACEOF
14537 /* end confdefs.h. */
14539 /* Override any GCC internal prototype to avoid an error.
14540 Use char because int might match the return type of a GCC
14541 builtin and then its argument prototype would still apply. */
14554 rm -f conftest.$ac_objext conftest$ac_exeext
14555 if { (ac_try="$ac_link"
14556 case "(($ac_try" in
14557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14558 *) ac_try_echo
=$ac_try;;
14560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14561 (eval "$ac_link") 2>conftest.er1
14563 grep -v '^ *+' conftest.er1
>conftest.err
14565 cat conftest.err
>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); } && {
14568 test -z "$ac_c_werror_flag" ||
14569 test ! -s conftest.err
14570 } && test -s conftest
$ac_exeext &&
14571 $as_test_x conftest
$ac_exeext; then
14574 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'` ;;
14575 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14578 echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.
$ac_ext >&5
14584 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14585 conftest
$ac_exeext conftest.
$ac_ext
14586 LIBS
=$ac_check_soname_save_LIBS
14588 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14589 { echo "$as_me:$LINENO: result: not found" >&5
14590 echo "${ECHO_T}not found" >&6; }
14593 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14594 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14596 cat >>confdefs.h
<<_ACEOF
14597 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14604 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14605 wine_notices
="$wine_notices|fontconfig development files not found.
14606 Wine will be built without fontconfig support."
14610 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14612 { echo "$as_me:$LINENO: checking for -lssl" >&5
14613 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14614 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14615 echo $ECHO_N "(cached) $ECHO_C" >&6
14617 ac_check_soname_save_LIBS
=$LIBS
14619 cat >conftest.
$ac_ext <<_ACEOF
14622 cat confdefs.h
>>conftest.
$ac_ext
14623 cat >>conftest.
$ac_ext <<_ACEOF
14624 /* end confdefs.h. */
14626 /* Override any GCC internal prototype to avoid an error.
14627 Use char because int might match the return type of a GCC
14628 builtin and then its argument prototype would still apply. */
14632 char SSL_library_init ();
14636 return SSL_library_init ();
14641 rm -f conftest.
$ac_objext conftest
$ac_exeext
14642 if { (ac_try
="$ac_link"
14643 case "(($ac_try" in
14644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14645 *) ac_try_echo=$ac_try;;
14647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14648 (eval "$ac_link") 2>conftest.er1
14650 grep -v '^ *+' conftest.er1 >conftest.err
14652 cat conftest.err >&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); } && {
14655 test -z "$ac_c_werror_flag" ||
14656 test ! -s conftest.err
14657 } && test -s conftest$ac_exeext &&
14658 $as_test_x conftest$ac_exeext; then
14661 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'` ;;
14662 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libssl\\.$LIBEXT" |
sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14672 conftest$ac_exeext conftest.$ac_ext
14673 LIBS=$ac_check_soname_save_LIBS
14675 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14676 { echo "$as_me:$LINENO: result: not found" >&5
14677 echo "${ECHO_T}not found" >&6; }
14680 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14681 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14683 cat >>confdefs.h <<_ACEOF
14684 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14690 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14691 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14692 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14693 echo $ECHO_N "(cached) $ECHO_C" >&6
14695 ac_check_soname_save_LIBS=$LIBS
14696 LIBS="-lcrypto $LIBS"
14697 cat >conftest.$ac_ext <<_ACEOF
14700 cat confdefs.h >>conftest.$ac_ext
14701 cat >>conftest.$ac_ext <<_ACEOF
14702 /* end confdefs.h. */
14704 /* Override any GCC internal prototype to avoid an error.
14705 Use char because int might match the return type of a GCC
14706 builtin and then its argument prototype would still apply. */
14710 char BIO_new_socket ();
14714 return BIO_new_socket ();
14719 rm -f conftest.$ac_objext conftest$ac_exeext
14720 if { (ac_try="$ac_link"
14721 case "(($ac_try" in
14722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14723 *) ac_try_echo
=$ac_try;;
14725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14726 (eval "$ac_link") 2>conftest.er1
14728 grep -v '^ *+' conftest.er1
>conftest.err
14730 cat conftest.err
>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } && {
14733 test -z "$ac_c_werror_flag" ||
14734 test ! -s conftest.err
14735 } && test -s conftest
$ac_exeext &&
14736 $as_test_x conftest
$ac_exeext; then
14739 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'` ;;
14740 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14743 echo "$as_me: failed program was:" >&5
14744 sed 's/^/| /' conftest.
$ac_ext >&5
14749 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14750 conftest
$ac_exeext conftest.
$ac_ext
14751 LIBS
=$ac_check_soname_save_LIBS
14753 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14754 { echo "$as_me:$LINENO: result: not found" >&5
14755 echo "${ECHO_T}not found" >&6; }
14758 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14759 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14761 cat >>confdefs.h
<<_ACEOF
14762 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14769 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14770 wine_notices
="$wine_notices|OpenSSL development files not found.
14771 Wine will be built without SSL support. (wininet.dll)"
14775 if test "$ac_cv_header_jpeglib_h" = "yes"
14777 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14778 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14779 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 ac_check_soname_save_LIBS
=$LIBS
14783 LIBS
="-ljpeg $LIBS"
14784 cat >conftest.
$ac_ext <<_ACEOF
14787 cat confdefs.h
>>conftest.
$ac_ext
14788 cat >>conftest.
$ac_ext <<_ACEOF
14789 /* end confdefs.h. */
14791 /* Override any GCC internal prototype to avoid an error.
14792 Use char because int might match the return type of a GCC
14793 builtin and then its argument prototype would still apply. */
14797 char jpeg_start_decompress ();
14801 return jpeg_start_decompress ();
14806 rm -f conftest.
$ac_objext conftest
$ac_exeext
14807 if { (ac_try
="$ac_link"
14808 case "(($ac_try" in
14809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14810 *) ac_try_echo=$ac_try;;
14812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14813 (eval "$ac_link") 2>conftest.er1
14815 grep -v '^ *+' conftest.er1 >conftest.err
14817 cat conftest.err >&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); } && {
14820 test -z "$ac_c_werror_flag" ||
14821 test ! -s conftest.err
14822 } && test -s conftest$ac_exeext &&
14823 $as_test_x conftest$ac_exeext; then
14826 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'` ;;
14827 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep "libjpeg\\.$LIBEXT" |
sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14830 echo "$as_me: failed program was:" >&5
14831 sed 's/^/| /' conftest.$ac_ext >&5
14836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14837 conftest$ac_exeext conftest.$ac_ext
14838 LIBS=$ac_check_soname_save_LIBS
14840 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14841 { echo "$as_me:$LINENO: result: not found" >&5
14842 echo "${ECHO_T}not found" >&6; }
14845 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14846 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14848 cat >>confdefs.h <<_ACEOF
14849 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14856 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14857 wine_notices="$wine_notices|libjpeg development files not found.
14858 Wine will be built without JPEG support. (oleaut32.dll)"
14862 if test "$ac_cv_header_png_h" = "yes"
14864 { echo "$as_me:$LINENO: checking for -lpng" >&5
14865 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14866 if test "${ac_cv_lib_soname_png+set}" = set; then
14867 echo $ECHO_N "(cached) $ECHO_C" >&6
14869 ac_check_soname_save_LIBS=$LIBS
14871 cat >conftest.$ac_ext <<_ACEOF
14874 cat confdefs.h >>conftest.$ac_ext
14875 cat >>conftest.$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14878 /* Override any GCC internal prototype to avoid an error.
14879 Use char because int might match the return type of a GCC
14880 builtin and then its argument prototype would still apply. */
14884 char png_create_read_struct ();
14888 return png_create_read_struct ();
14893 rm -f conftest.$ac_objext conftest$ac_exeext
14894 if { (ac_try="$ac_link"
14895 case "(($ac_try" in
14896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14897 *) ac_try_echo
=$ac_try;;
14899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14900 (eval "$ac_link") 2>conftest.er1
14902 grep -v '^ *+' conftest.er1
>conftest.err
14904 cat conftest.err
>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); } && {
14907 test -z "$ac_c_werror_flag" ||
14908 test ! -s conftest.err
14909 } && test -s conftest
$ac_exeext &&
14910 $as_test_x conftest
$ac_exeext; then
14913 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'` ;;
14914 *) 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'` ;;
14917 echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.
$ac_ext >&5
14923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14924 conftest
$ac_exeext conftest.
$ac_ext
14925 LIBS
=$ac_check_soname_save_LIBS
14927 if test "x$ac_cv_lib_soname_png" = "x"; then
14928 { echo "$as_me:$LINENO: result: not found" >&5
14929 echo "${ECHO_T}not found" >&6; }
14932 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14933 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14935 cat >>confdefs.h
<<_ACEOF
14936 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14943 if test "x$ac_cv_lib_soname_png" = "x"; then
14944 wine_notices
="$wine_notices|libpng development files not found.
14945 Wine will be built without PNG support. (oleaut32.dll)"
14949 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
14950 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
14951 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
14952 "$ac_cv_header_soundcard_h" != "yes"; then
14953 wine_warnings
="$wine_warnings|No sound system was found. Windows applications will be silent."
14960 if test "x${GCC}" = "xyes"
14962 EXTRACFLAGS
="-Wall -pipe"
14964 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14965 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14966 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14967 echo $ECHO_N "(cached) $ECHO_C" >&6
14969 if test "$cross_compiling" = yes; then
14970 ac_cv_c_gcc_strength_bug
="yes"
14972 cat >conftest.
$ac_ext <<_ACEOF
14975 cat confdefs.h
>>conftest.
$ac_ext
14976 cat >>conftest.
$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14978 int L[4] = {0,1,2,3};
14982 static int Array[3];
14983 unsigned int B = 3;
14985 for(i=0; i<B; i++) Array[i] = i - 3;
14986 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14988 exit( Array[1] != -2 || L[2] != 3)
14993 rm -f conftest
$ac_exeext
14994 if { (ac_try
="$ac_link"
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_link") 2>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15004 { (case "(($ac_try" in
15005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15006 *) ac_try_echo
=$ac_try;;
15008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15009 (eval "$ac_try") 2>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; }; then
15013 ac_cv_c_gcc_strength_bug
="no"
15015 echo "$as_me: program exited with status $ac_status" >&5
15016 echo "$as_me: failed program was:" >&5
15017 sed 's/^/| /' conftest.
$ac_ext >&5
15019 ( exit $ac_status )
15020 ac_cv_c_gcc_strength_bug
="yes"
15022 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15027 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15028 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15029 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15031 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
15035 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15036 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15037 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15038 echo $ECHO_N "(cached) $ECHO_C" >&6
15040 ac_wine_try_cflags_saved
=$CFLAGS
15041 CFLAGS
="$CFLAGS -fshort-wchar"
15042 cat >conftest.
$ac_ext <<_ACEOF
15045 cat confdefs.h
>>conftest.
$ac_ext
15046 cat >>conftest.
$ac_ext <<_ACEOF
15047 /* end confdefs.h. */
15057 rm -f conftest.
$ac_objext conftest
$ac_exeext
15058 if { (ac_try
="$ac_link"
15059 case "(($ac_try" in
15060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15061 *) ac_try_echo=$ac_try;;
15063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15064 (eval "$ac_link") 2>conftest.er1
15066 grep -v '^ *+' conftest.er1 >conftest.err
15068 cat conftest.err >&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } && {
15071 test -z "$ac_c_werror_flag" ||
15072 test ! -s conftest.err
15073 } && test -s conftest$ac_exeext &&
15074 $as_test_x conftest$ac_exeext; then
15075 ac_cv_cflags__fshort_wchar=yes
15077 echo "$as_me: failed program was:" >&5
15078 sed 's/^/| /' conftest.$ac_ext >&5
15080 ac_cv_cflags__fshort_wchar=no
15083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15084 conftest$ac_exeext conftest.$ac_ext
15085 CFLAGS=$ac_wine_try_cflags_saved
15087 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15088 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15089 if test $ac_cv_cflags__fshort_wchar = yes; then
15091 cat >>confdefs.h <<\_ACEOF
15092 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15097 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15098 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15099 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15100 echo $ECHO_N "(cached) $ECHO_C" >&6
15102 ac_wine_try_cflags_saved=$CFLAGS
15103 CFLAGS="$CFLAGS -fno-strict-aliasing"
15104 cat >conftest.$ac_ext <<_ACEOF
15107 cat confdefs.h >>conftest.$ac_ext
15108 cat >>conftest.$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15119 rm -f conftest.$ac_objext conftest$ac_exeext
15120 if { (ac_try="$ac_link"
15121 case "(($ac_try" in
15122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15123 *) ac_try_echo
=$ac_try;;
15125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15126 (eval "$ac_link") 2>conftest.er1
15128 grep -v '^ *+' conftest.er1
>conftest.err
15130 cat conftest.err
>&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); } && {
15133 test -z "$ac_c_werror_flag" ||
15134 test ! -s conftest.err
15135 } && test -s conftest
$ac_exeext &&
15136 $as_test_x conftest
$ac_exeext; then
15137 ac_cv_cflags__fno_strict_aliasing
=yes
15139 echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.
$ac_ext >&5
15142 ac_cv_cflags__fno_strict_aliasing
=no
15145 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15146 conftest
$ac_exeext conftest.
$ac_ext
15147 CFLAGS
=$ac_wine_try_cflags_saved
15149 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15150 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15151 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15152 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15155 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15156 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15157 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15160 ac_wine_try_cflags_saved
=$CFLAGS
15161 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15162 cat >conftest.
$ac_ext <<_ACEOF
15165 cat confdefs.h
>>conftest.
$ac_ext
15166 cat >>conftest.
$ac_ext <<_ACEOF
15167 /* end confdefs.h. */
15177 rm -f conftest.
$ac_objext conftest
$ac_exeext
15178 if { (ac_try
="$ac_link"
15179 case "(($ac_try" in
15180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15181 *) ac_try_echo=$ac_try;;
15183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15184 (eval "$ac_link") 2>conftest.er1
15186 grep -v '^ *+' conftest.er1 >conftest.err
15188 cat conftest.err >&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); } && {
15191 test -z "$ac_c_werror_flag" ||
15192 test ! -s conftest.err
15193 } && test -s conftest$ac_exeext &&
15194 $as_test_x conftest$ac_exeext; then
15195 ac_cv_cflags__Wdeclaration_after_statement=yes
15197 echo "$as_me: failed program was:" >&5
15198 sed 's/^/| /' conftest.$ac_ext >&5
15200 ac_cv_cflags__Wdeclaration_after_statement=no
15203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15204 conftest$ac_exeext conftest.$ac_ext
15205 CFLAGS=$ac_wine_try_cflags_saved
15207 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15208 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15209 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15210 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15213 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15214 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15215 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15216 echo $ECHO_N "(cached) $ECHO_C" >&6
15218 ac_wine_try_cflags_saved=$CFLAGS
15219 CFLAGS="$CFLAGS -Wwrite-strings"
15220 cat >conftest.$ac_ext <<_ACEOF
15223 cat confdefs.h >>conftest.$ac_ext
15224 cat >>conftest.$ac_ext <<_ACEOF
15225 /* end confdefs.h. */
15235 rm -f conftest.$ac_objext conftest$ac_exeext
15236 if { (ac_try="$ac_link"
15237 case "(($ac_try" in
15238 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15239 *) ac_try_echo
=$ac_try;;
15241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15242 (eval "$ac_link") 2>conftest.er1
15244 grep -v '^ *+' conftest.er1
>conftest.err
15246 cat conftest.err
>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); } && {
15249 test -z "$ac_c_werror_flag" ||
15250 test ! -s conftest.err
15251 } && test -s conftest
$ac_exeext &&
15252 $as_test_x conftest
$ac_exeext; then
15253 ac_cv_cflags__Wwrite_strings
=yes
15255 echo "$as_me: failed program was:" >&5
15256 sed 's/^/| /' conftest.
$ac_ext >&5
15258 ac_cv_cflags__Wwrite_strings
=no
15261 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15262 conftest
$ac_exeext conftest.
$ac_ext
15263 CFLAGS
=$ac_wine_try_cflags_saved
15265 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15266 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15267 if test $ac_cv_cflags__Wwrite_strings = yes; then
15268 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
15272 saved_CFLAGS
="$CFLAGS"
15273 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
15274 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15275 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15276 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15277 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 cat >conftest.
$ac_ext <<_ACEOF
15282 cat confdefs.h
>>conftest.
$ac_ext
15283 cat >>conftest.
$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15285 #include <string.h>
15294 rm -f conftest.
$ac_objext
15295 if { (ac_try
="$ac_compile"
15296 case "(($ac_try" in
15297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15298 *) ac_try_echo=$ac_try;;
15300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15301 (eval "$ac_compile") 2>conftest.er1
15303 grep -v '^ *+' conftest.er1 >conftest.err
15305 cat conftest.err >&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } && {
15308 test -z "$ac_c_werror_flag" ||
15309 test ! -s conftest.err
15310 } && test -s conftest.$ac_objext; then
15311 ac_cv_c_string_h_warnings=no
15313 echo "$as_me: failed program was:" >&5
15314 sed 's/^/| /' conftest.$ac_ext >&5
15316 ac_cv_c_string_h_warnings=yes
15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15321 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15322 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15323 CFLAGS="$saved_CFLAGS"
15324 if test "$ac_cv_c_string_h_warnings" = "no"
15326 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15331 saved_CFLAGS="$CFLAGS"
15332 CFLAGS="$CFLAGS -Werror"
15333 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15334 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15335 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15336 echo $ECHO_N "(cached) $ECHO_C" >&6
15338 cat >conftest.$ac_ext <<_ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15348 int iswlower(unsigned short);
15353 rm -f conftest.$ac_objext
15354 if { (ac_try="$ac_compile"
15355 case "(($ac_try" in
15356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15357 *) ac_try_echo
=$ac_try;;
15359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15360 (eval "$ac_compile") 2>conftest.er1
15362 grep -v '^ *+' conftest.er1
>conftest.err
15364 cat conftest.err
>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } && {
15367 test -z "$ac_c_werror_flag" ||
15368 test ! -s conftest.err
15369 } && test -s conftest.
$ac_objext; then
15370 ac_cv_c_builtin_wchar_ctype
=no
15372 echo "$as_me: failed program was:" >&5
15373 sed 's/^/| /' conftest.
$ac_ext >&5
15375 ac_cv_c_builtin_wchar_ctype
=yes
15378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15380 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15381 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15382 CFLAGS
="$saved_CFLAGS"
15383 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15385 BUILTINFLAG
="-fno-builtin"
15390 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15391 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15392 if test "${ac_cv_asm_func_def+set}" = set; then
15393 echo $ECHO_N "(cached) $ECHO_C" >&6
15395 cat >conftest.
$ac_ext <<_ACEOF
15398 cat confdefs.h
>>conftest.
$ac_ext
15399 cat >>conftest.
$ac_ext <<_ACEOF
15400 /* end confdefs.h. */
15405 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15410 rm -f conftest.
$ac_objext conftest
$ac_exeext
15411 if { (ac_try
="$ac_link"
15412 case "(($ac_try" in
15413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15414 *) ac_try_echo=$ac_try;;
15416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15417 (eval "$ac_link") 2>conftest.er1
15419 grep -v '^ *+' conftest.er1 >conftest.err
15421 cat conftest.err >&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } && {
15424 test -z "$ac_c_werror_flag" ||
15425 test ! -s conftest.err
15426 } && test -s conftest$ac_exeext &&
15427 $as_test_x conftest$ac_exeext; then
15428 ac_cv_asm_func_def=".def"
15430 echo "$as_me: failed program was:" >&5
15431 sed 's/^/| /' conftest.$ac_ext >&5
15433 cat >conftest.$ac_ext <<_ACEOF
15436 cat confdefs.h >>conftest.$ac_ext
15437 cat >>conftest.$ac_ext <<_ACEOF
15438 /* end confdefs.h. */
15443 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15448 rm -f conftest.$ac_objext conftest$ac_exeext
15449 if { (ac_try="$ac_link"
15450 case "(($ac_try" in
15451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15452 *) ac_try_echo
=$ac_try;;
15454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15455 (eval "$ac_link") 2>conftest.er1
15457 grep -v '^ *+' conftest.er1
>conftest.err
15459 cat conftest.err
>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } && {
15462 test -z "$ac_c_werror_flag" ||
15463 test ! -s conftest.err
15464 } && test -s conftest
$ac_exeext &&
15465 $as_test_x conftest
$ac_exeext; then
15466 ac_cv_asm_func_def
=".type @function"
15468 echo "$as_me: failed program was:" >&5
15469 sed 's/^/| /' conftest.
$ac_ext >&5
15471 cat >conftest.
$ac_ext <<_ACEOF
15474 cat confdefs.h
>>conftest.
$ac_ext
15475 cat >>conftest.
$ac_ext <<_ACEOF
15476 /* end confdefs.h. */
15481 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15486 rm -f conftest.
$ac_objext conftest
$ac_exeext
15487 if { (ac_try
="$ac_link"
15488 case "(($ac_try" in
15489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15490 *) ac_try_echo=$ac_try;;
15492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15493 (eval "$ac_link") 2>conftest.er1
15495 grep -v '^ *+' conftest.er1 >conftest.err
15497 cat conftest.err >&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } && {
15500 test -z "$ac_c_werror_flag" ||
15501 test ! -s conftest.err
15502 } && test -s conftest$ac_exeext &&
15503 $as_test_x conftest$ac_exeext; then
15504 ac_cv_asm_func_def=".type 2"
15506 echo "$as_me: failed program was:" >&5
15507 sed 's/^/| /' conftest.$ac_ext >&5
15509 ac_cv_asm_func_def="unknown"
15512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15513 conftest$ac_exeext conftest.$ac_ext
15516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15517 conftest$ac_exeext conftest.$ac_ext
15520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15521 conftest$ac_exeext conftest.$ac_ext
15523 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15524 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15528 case "$ac_cv_asm_func_def" in
15530 cat >>confdefs.h <<\_ACEOF
15531 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15535 cat >>confdefs.h <<\_ACEOF
15536 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15540 cat >>confdefs.h <<\_ACEOF
15541 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15545 cat >>confdefs.h <<\_ACEOF
15546 #define __ASM_FUNC(name) ""
15552 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15553 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15554 if test "${ac_cv_c_extern_prefix+set}" = set; then
15555 echo $ECHO_N "(cached) $ECHO_C" >&6
15557 cat >conftest.$ac_ext <<_ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 extern int ac_test;
15567 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15572 rm -f conftest.$ac_objext conftest$ac_exeext
15573 if { (ac_try="$ac_link"
15574 case "(($ac_try" in
15575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15576 *) ac_try_echo
=$ac_try;;
15578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15579 (eval "$ac_link") 2>conftest.er1
15581 grep -v '^ *+' conftest.er1
>conftest.err
15583 cat conftest.err
>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); } && {
15586 test -z "$ac_c_werror_flag" ||
15587 test ! -s conftest.err
15588 } && test -s conftest
$ac_exeext &&
15589 $as_test_x conftest
$ac_exeext; then
15590 ac_cv_c_extern_prefix
="yes"
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.
$ac_ext >&5
15595 ac_cv_c_extern_prefix
="no"
15598 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15599 conftest
$ac_exeext conftest.
$ac_ext
15601 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15602 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15606 if test "$ac_cv_c_extern_prefix" = "yes"
15608 cat >>confdefs.h
<<\_ACEOF
15609 #define __ASM_NAME(name) "_" name
15613 cat >>confdefs.h
<<\_ACEOF
15614 #define __ASM_NAME(name) name
15624 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15628 linux
*|solaris
*) if test -z "$LDRPATH_LOCAL"
15630 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15634 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15642 SOCKETLIBS
="-lws2_32"
15647 MAIN_BINARY
="wine-pthread"
15651 linux
* | k
*bsd
*-gnu)
15652 MAIN_BINARY
="wine-glibc"
15654 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
15786 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15787 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15789 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15790 echo $ECHO_N "(cached) $ECHO_C" >&6
15792 cat >conftest.
$ac_ext <<_ACEOF
15795 cat confdefs.h
>>conftest.
$ac_ext
15796 cat >>conftest.
$ac_ext <<_ACEOF
15797 /* end confdefs.h. */
15798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15800 #define $ac_func innocuous_$ac_func
15802 /* System header to define __stub macros and hopefully few prototypes,
15803 which can conflict with char $ac_func (); below.
15804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15805 <limits.h> exists even on freestanding compilers. */
15808 # include <limits.h>
15810 # include <assert.h>
15815 /* Override any GCC internal prototype to avoid an error.
15816 Use char because int might match the return type of a GCC
15817 builtin and then its argument prototype would still apply. */
15822 /* The GNU C library defines this for functions which it implements
15823 to always fail with ENOSYS. Some functions are actually named
15824 something starting with __ and the normal name is an alias. */
15825 #if defined __stub_$ac_func || defined __stub___$ac_func
15832 return $ac_func ();
15837 rm -f conftest.
$ac_objext conftest
$ac_exeext
15838 if { (ac_try
="$ac_link"
15839 case "(($ac_try" in
15840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15841 *) ac_try_echo=$ac_try;;
15843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15844 (eval "$ac_link") 2>conftest.er1
15846 grep -v '^ *+' conftest.er1 >conftest.err
15848 cat conftest.err >&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } && {
15851 test -z "$ac_c_werror_flag" ||
15852 test ! -s conftest.err
15853 } && test -s conftest$ac_exeext &&
15854 $as_test_x conftest$ac_exeext; then
15855 eval "$as_ac_var=yes"
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15860 eval "$as_ac_var=no"
15863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15864 conftest$ac_exeext conftest.$ac_ext
15866 ac_res=`eval echo '${'$as_ac_var'}'`
15867 { echo "$as_me:$LINENO: result: $ac_res" >&5
15868 echo "${ECHO_T}$ac_res" >&6; }
15869 if test `eval echo '${'$as_ac_var'}'` = yes; then
15870 cat >>confdefs.h <<_ACEOF
15871 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
15878 if test "$ac_cv_func_dlopen" = no
15880 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15881 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15882 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15883 echo $ECHO_N "(cached) $ECHO_C" >&6
15885 ac_check_lib_save_LIBS=$LIBS
15887 cat >conftest.$ac_ext <<_ACEOF
15890 cat confdefs.h >>conftest.$ac_ext
15891 cat >>conftest.$ac_ext <<_ACEOF
15892 /* end confdefs.h. */
15894 /* Override any GCC internal prototype to avoid an error.
15895 Use char because int might match the return type of a GCC
15896 builtin and then its argument prototype would still apply. */
15909 rm -f conftest.$ac_objext conftest$ac_exeext
15910 if { (ac_try="$ac_link"
15911 case "(($ac_try" in
15912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15913 *) ac_try_echo
=$ac_try;;
15915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15916 (eval "$ac_link") 2>conftest.er1
15918 grep -v '^ *+' conftest.er1
>conftest.err
15920 cat conftest.err
>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } && {
15923 test -z "$ac_c_werror_flag" ||
15924 test ! -s conftest.err
15925 } && test -s conftest
$ac_exeext &&
15926 $as_test_x conftest
$ac_exeext; then
15927 ac_cv_lib_dl_dlopen
=yes
15929 echo "$as_me: failed program was:" >&5
15930 sed 's/^/| /' conftest.
$ac_ext >&5
15932 ac_cv_lib_dl_dlopen
=no
15935 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15936 conftest
$ac_exeext conftest.
$ac_ext
15937 LIBS
=$ac_check_lib_save_LIBS
15939 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15940 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15941 if test $ac_cv_lib_dl_dlopen = yes; then
15942 cat >>confdefs.h
<<\_ACEOF
15943 #define HAVE_DLOPEN 1
15950 ac_wine_check_funcs_save_LIBS
="$LIBS"
15951 LIBS
="$LIBS $LIBDL"
15953 for ac_func
in dladdr
15955 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15958 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15959 echo $ECHO_N "(cached) $ECHO_C" >&6
15961 cat >conftest.
$ac_ext <<_ACEOF
15964 cat confdefs.h
>>conftest.
$ac_ext
15965 cat >>conftest.
$ac_ext <<_ACEOF
15966 /* end confdefs.h. */
15967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15969 #define $ac_func innocuous_$ac_func
15971 /* System header to define __stub macros and hopefully few prototypes,
15972 which can conflict with char $ac_func (); below.
15973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15974 <limits.h> exists even on freestanding compilers. */
15977 # include <limits.h>
15979 # include <assert.h>
15984 /* Override any GCC internal prototype to avoid an error.
15985 Use char because int might match the return type of a GCC
15986 builtin and then its argument prototype would still apply. */
15991 /* The GNU C library defines this for functions which it implements
15992 to always fail with ENOSYS. Some functions are actually named
15993 something starting with __ and the normal name is an alias. */
15994 #if defined __stub_$ac_func || defined __stub___$ac_func
16001 return $ac_func ();
16006 rm -f conftest.
$ac_objext conftest
$ac_exeext
16007 if { (ac_try
="$ac_link"
16008 case "(($ac_try" in
16009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16010 *) ac_try_echo=$ac_try;;
16012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16013 (eval "$ac_link") 2>conftest.er1
16015 grep -v '^ *+' conftest.er1 >conftest.err
16017 cat conftest.err >&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); } && {
16020 test -z "$ac_c_werror_flag" ||
16021 test ! -s conftest.err
16022 } && test -s conftest$ac_exeext &&
16023 $as_test_x conftest$ac_exeext; then
16024 eval "$as_ac_var=yes"
16026 echo "$as_me: failed program was:" >&5
16027 sed 's/^/| /' conftest.$ac_ext >&5
16029 eval "$as_ac_var=no"
16032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16033 conftest$ac_exeext conftest.$ac_ext
16035 ac_res=`eval echo '${'$as_ac_var'}'`
16036 { echo "$as_me:$LINENO: result: $ac_res" >&5
16037 echo "${ECHO_T}$ac_res" >&6; }
16038 if test `eval echo '${'$as_ac_var'}'` = yes; then
16039 cat >>confdefs.h <<_ACEOF
16040 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16046 LIBS="$ac_wine_check_funcs_save_LIBS"
16048 if test "$ac_cv_func_poll" = no
16050 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16051 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16052 if test "${ac_cv_lib_poll_poll+set}" = set; then
16053 echo $ECHO_N "(cached) $ECHO_C" >&6
16055 ac_check_lib_save_LIBS=$LIBS
16056 LIBS="-lpoll $LIBS"
16057 cat >conftest.$ac_ext <<_ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16064 /* Override any GCC internal prototype to avoid an error.
16065 Use char because int might match the return type of a GCC
16066 builtin and then its argument prototype would still apply. */
16079 rm -f conftest.$ac_objext conftest$ac_exeext
16080 if { (ac_try="$ac_link"
16081 case "(($ac_try" in
16082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16083 *) ac_try_echo
=$ac_try;;
16085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16086 (eval "$ac_link") 2>conftest.er1
16088 grep -v '^ *+' conftest.er1
>conftest.err
16090 cat conftest.err
>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } && {
16093 test -z "$ac_c_werror_flag" ||
16094 test ! -s conftest.err
16095 } && test -s conftest
$ac_exeext &&
16096 $as_test_x conftest
$ac_exeext; then
16097 ac_cv_lib_poll_poll
=yes
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.
$ac_ext >&5
16102 ac_cv_lib_poll_poll
=no
16105 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16106 conftest
$ac_exeext conftest.
$ac_ext
16107 LIBS
=$ac_check_lib_save_LIBS
16109 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16110 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16111 if test $ac_cv_lib_poll_poll = yes; then
16112 cat >>confdefs.h
<<\_ACEOF
16113 #define HAVE_POLL 1
16121 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16122 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16123 if test "${ac_cv_search_gethostbyname+set}" = set; then
16124 echo $ECHO_N "(cached) $ECHO_C" >&6
16126 ac_func_search_save_LIBS
=$LIBS
16127 cat >conftest.
$ac_ext <<_ACEOF
16130 cat confdefs.h
>>conftest.
$ac_ext
16131 cat >>conftest.
$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16134 /* Override any GCC internal prototype to avoid an error.
16135 Use char because int might match the return type of a GCC
16136 builtin and then its argument prototype would still apply. */
16140 char gethostbyname ();
16144 return gethostbyname ();
16149 for ac_lib
in '' nsl
; do
16150 if test -z "$ac_lib"; then
16151 ac_res
="none required"
16154 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16156 rm -f conftest.
$ac_objext conftest
$ac_exeext
16157 if { (ac_try
="$ac_link"
16158 case "(($ac_try" in
16159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16160 *) ac_try_echo=$ac_try;;
16162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16163 (eval "$ac_link") 2>conftest.er1
16165 grep -v '^ *+' conftest.er1 >conftest.err
16167 cat conftest.err >&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); } && {
16170 test -z "$ac_c_werror_flag" ||
16171 test ! -s conftest.err
16172 } && test -s conftest$ac_exeext &&
16173 $as_test_x conftest$ac_exeext; then
16174 ac_cv_search_gethostbyname=$ac_res
16176 echo "$as_me: failed program was:" >&5
16177 sed 's/^/| /' conftest.$ac_ext >&5
16182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16184 if test "${ac_cv_search_gethostbyname+set}" = set; then
16188 if test "${ac_cv_search_gethostbyname+set}" = set; then
16191 ac_cv_search_gethostbyname=no
16193 rm conftest.$ac_ext
16194 LIBS=$ac_func_search_save_LIBS
16196 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16197 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16198 ac_res=$ac_cv_search_gethostbyname
16199 if test "$ac_res" != no; then
16200 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16205 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16206 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16207 if test "${ac_cv_search_connect+set}" = set; then
16208 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 ac_func_search_save_LIBS=$LIBS
16211 cat >conftest.$ac_ext <<_ACEOF
16214 cat confdefs.h >>conftest.$ac_ext
16215 cat >>conftest.$ac_ext <<_ACEOF
16216 /* end confdefs.h. */
16218 /* Override any GCC internal prototype to avoid an error.
16219 Use char because int might match the return type of a GCC
16220 builtin and then its argument prototype would still apply. */
16233 for ac_lib in '' socket; do
16234 if test -z "$ac_lib"; then
16235 ac_res="none required"
16238 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16240 rm -f conftest.$ac_objext conftest$ac_exeext
16241 if { (ac_try="$ac_link"
16242 case "(($ac_try" in
16243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16244 *) ac_try_echo
=$ac_try;;
16246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16247 (eval "$ac_link") 2>conftest.er1
16249 grep -v '^ *+' conftest.er1
>conftest.err
16251 cat conftest.err
>&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } && {
16254 test -z "$ac_c_werror_flag" ||
16255 test ! -s conftest.err
16256 } && test -s conftest
$ac_exeext &&
16257 $as_test_x conftest
$ac_exeext; then
16258 ac_cv_search_connect
=$ac_res
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.
$ac_ext >&5
16266 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16268 if test "${ac_cv_search_connect+set}" = set; then
16272 if test "${ac_cv_search_connect+set}" = set; then
16275 ac_cv_search_connect
=no
16277 rm conftest.
$ac_ext
16278 LIBS
=$ac_func_search_save_LIBS
16280 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16281 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16282 ac_res
=$ac_cv_search_connect
16283 if test "$ac_res" != no
; then
16284 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16289 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16290 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16291 if test "${ac_cv_search_inet_aton+set}" = set; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16294 ac_func_search_save_LIBS
=$LIBS
16295 cat >conftest.
$ac_ext <<_ACEOF
16298 cat confdefs.h
>>conftest.
$ac_ext
16299 cat >>conftest.
$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16302 /* Override any GCC internal prototype to avoid an error.
16303 Use char because int might match the return type of a GCC
16304 builtin and then its argument prototype would still apply. */
16312 return inet_aton ();
16317 for ac_lib
in '' resolv
; do
16318 if test -z "$ac_lib"; then
16319 ac_res
="none required"
16322 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16324 rm -f conftest.
$ac_objext conftest
$ac_exeext
16325 if { (ac_try
="$ac_link"
16326 case "(($ac_try" in
16327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16328 *) ac_try_echo=$ac_try;;
16330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16331 (eval "$ac_link") 2>conftest.er1
16333 grep -v '^ *+' conftest.er1 >conftest.err
16335 cat conftest.err >&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); } && {
16338 test -z "$ac_c_werror_flag" ||
16339 test ! -s conftest.err
16340 } && test -s conftest$ac_exeext &&
16341 $as_test_x conftest$ac_exeext; then
16342 ac_cv_search_inet_aton=$ac_res
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16352 if test "${ac_cv_search_inet_aton+set}" = set; then
16356 if test "${ac_cv_search_inet_aton+set}" = set; then
16359 ac_cv_search_inet_aton=no
16361 rm conftest.$ac_ext
16362 LIBS=$ac_func_search_save_LIBS
16364 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16365 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16366 ac_res=$ac_cv_search_inet_aton
16367 if test "$ac_res" != no; then
16368 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16392 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16393 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16395 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16396 echo $ECHO_N "(cached) $ECHO_C" >&6
16398 cat >conftest.$ac_ext <<_ACEOF
16401 cat confdefs.h >>conftest.$ac_ext
16402 cat >>conftest.$ac_ext <<_ACEOF
16403 /* end confdefs.h. */
16404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16406 #define $ac_func innocuous_$ac_func
16408 /* System header to define __stub macros and hopefully few prototypes,
16409 which can conflict with char $ac_func (); below.
16410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16411 <limits.h> exists even on freestanding compilers. */
16414 # include <limits.h>
16416 # include <assert.h>
16421 /* Override any GCC internal prototype to avoid an error.
16422 Use char because int might match the return type of a GCC
16423 builtin and then its argument prototype would still apply. */
16428 /* The GNU C library defines this for functions which it implements
16429 to always fail with ENOSYS. Some functions are actually named
16430 something starting with __ and the normal name is an alias. */
16431 #if defined __stub_$ac_func || defined __stub___$ac_func
16438 return $ac_func ();
16443 rm -f conftest.$ac_objext conftest$ac_exeext
16444 if { (ac_try="$ac_link"
16445 case "(($ac_try" in
16446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16447 *) ac_try_echo
=$ac_try;;
16449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16450 (eval "$ac_link") 2>conftest.er1
16452 grep -v '^ *+' conftest.er1
>conftest.err
16454 cat conftest.err
>&5
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); } && {
16457 test -z "$ac_c_werror_flag" ||
16458 test ! -s conftest.err
16459 } && test -s conftest
$ac_exeext &&
16460 $as_test_x conftest
$ac_exeext; then
16461 eval "$as_ac_var=yes"
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.
$ac_ext >&5
16466 eval "$as_ac_var=no"
16469 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16470 conftest
$ac_exeext conftest.
$ac_ext
16472 ac_res
=`eval echo '${'$as_ac_var'}'`
16473 { echo "$as_me:$LINENO: result: $ac_res" >&5
16474 echo "${ECHO_T}$ac_res" >&6; }
16475 if test `eval echo '${'$as_ac_var'}'` = yes; then
16476 cat >>confdefs.h
<<_ACEOF
16477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16485 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16486 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16487 if test "${ac_cv_c_const+set}" = set; then
16488 echo $ECHO_N "(cached) $ECHO_C" >&6
16490 cat >conftest.
$ac_ext <<_ACEOF
16493 cat confdefs.h
>>conftest.
$ac_ext
16494 cat >>conftest.
$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16500 /* FIXME: Include the comments suggested by Paul. */
16501 #ifndef __cplusplus
16502 /* Ultrix mips cc rejects this. */
16503 typedef int charset[2];
16505 /* SunOS 4.1.1 cc rejects this. */
16506 char const *const *pcpcc;
16508 /* NEC SVR4.0.2 mips cc rejects this. */
16509 struct point {int x, y;};
16510 static struct point const zero = {0,0};
16511 /* AIX XL C 1.02.0.0 rejects this.
16512 It does not let you subtract one const X* pointer from another in
16513 an arm of an if-expression whose if-part is not a constant
16515 const char *g = "string";
16516 pcpcc = &g + (g ? g-g : 0);
16517 /* HPUX 7.0 cc rejects these. */
16519 ppc = (char**) pcpcc;
16520 pcpcc = (char const *const *) ppc;
16521 { /* SCO 3.2v4 cc rejects this. */
16523 char const *s = 0 ? (char *) 0 : (char const *) 0;
16528 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16529 int x[] = {25, 17};
16530 const int *foo = &x[0];
16533 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16534 typedef const int *iptr;
16538 { /* AIX XL C 1.02.0.0 rejects this saying
16539 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16540 struct s { int j; const int *ap[3]; };
16541 struct s *b; b->j = 5;
16543 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16544 const int foo = 10;
16545 if (!foo) return 0;
16547 return !cs[0] && !zero.x;
16554 rm -f conftest.
$ac_objext
16555 if { (ac_try
="$ac_compile"
16556 case "(($ac_try" in
16557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16558 *) ac_try_echo=$ac_try;;
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_compile") 2>conftest.er1
16563 grep -v '^ *+' conftest.er1 >conftest.err
16565 cat conftest.err >&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } && {
16568 test -z "$ac_c_werror_flag" ||
16569 test ! -s conftest.err
16570 } && test -s conftest.$ac_objext; then
16573 echo "$as_me: failed program was:" >&5
16574 sed 's/^/| /' conftest.$ac_ext >&5
16579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16581 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16582 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16583 if test $ac_cv_c_const = no; then
16585 cat >>confdefs.h <<\_ACEOF
16591 { echo "$as_me:$LINENO: checking for inline" >&5
16592 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16593 if test "${ac_cv_c_inline+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 for ac_kw in inline __inline__ __inline; do
16598 cat >conftest.$ac_ext <<_ACEOF
16601 cat confdefs.h >>conftest.$ac_ext
16602 cat >>conftest.$ac_ext <<_ACEOF
16603 /* end confdefs.h. */
16604 #ifndef __cplusplus
16606 static $ac_kw foo_t static_foo () {return 0; }
16607 $ac_kw foo_t foo () {return 0; }
16611 rm -f conftest.$ac_objext
16612 if { (ac_try="$ac_compile"
16613 case "(($ac_try" in
16614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16615 *) ac_try_echo
=$ac_try;;
16617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16618 (eval "$ac_compile") 2>conftest.er1
16620 grep -v '^ *+' conftest.er1
>conftest.err
16622 cat conftest.err
>&5
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); } && {
16625 test -z "$ac_c_werror_flag" ||
16626 test ! -s conftest.err
16627 } && test -s conftest.
$ac_objext; then
16628 ac_cv_c_inline
=$ac_kw
16630 echo "$as_me: failed program was:" >&5
16631 sed 's/^/| /' conftest.
$ac_ext >&5
16636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16637 test "$ac_cv_c_inline" != no
&& break
16641 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16642 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16645 case $ac_cv_c_inline in
16648 case $ac_cv_c_inline in
16650 *) ac_val
=$ac_cv_c_inline;;
16652 cat >>confdefs.h
<<_ACEOF
16653 #ifndef __cplusplus
16654 #define inline $ac_val
16660 { echo "$as_me:$LINENO: checking for mode_t" >&5
16661 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16662 if test "${ac_cv_type_mode_t+set}" = set; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16665 cat >conftest.
$ac_ext <<_ACEOF
16668 cat confdefs.h
>>conftest.
$ac_ext
16669 cat >>conftest.
$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16671 $ac_includes_default
16672 typedef mode_t ac__type_new_;
16676 if ((ac__type_new_ *) 0)
16678 if (sizeof (ac__type_new_))
16684 rm -f conftest.
$ac_objext
16685 if { (ac_try
="$ac_compile"
16686 case "(($ac_try" in
16687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16688 *) ac_try_echo=$ac_try;;
16690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16691 (eval "$ac_compile") 2>conftest.er1
16693 grep -v '^ *+' conftest.er1 >conftest.err
16695 cat conftest.err >&5
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); } && {
16698 test -z "$ac_c_werror_flag" ||
16699 test ! -s conftest.err
16700 } && test -s conftest.$ac_objext; then
16701 ac_cv_type_mode_t=yes
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.$ac_ext >&5
16706 ac_cv_type_mode_t=no
16709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16711 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16712 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16713 if test $ac_cv_type_mode_t = yes; then
16715 cat >>confdefs.h <<_ACEOF
16716 #define HAVE_MODE_T 1
16721 { echo "$as_me:$LINENO: checking for off_t" >&5
16722 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16723 if test "${ac_cv_type_off_t+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 cat >conftest.$ac_ext <<_ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 $ac_includes_default
16733 typedef off_t ac__type_new_;
16737 if ((ac__type_new_ *) 0)
16739 if (sizeof (ac__type_new_))
16745 rm -f conftest.$ac_objext
16746 if { (ac_try="$ac_compile"
16747 case "(($ac_try" in
16748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16749 *) ac_try_echo
=$ac_try;;
16751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16752 (eval "$ac_compile") 2>conftest.er1
16754 grep -v '^ *+' conftest.er1
>conftest.err
16756 cat conftest.err
>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); } && {
16759 test -z "$ac_c_werror_flag" ||
16760 test ! -s conftest.err
16761 } && test -s conftest.
$ac_objext; then
16762 ac_cv_type_off_t
=yes
16764 echo "$as_me: failed program was:" >&5
16765 sed 's/^/| /' conftest.
$ac_ext >&5
16767 ac_cv_type_off_t
=no
16770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16772 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16773 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16774 if test $ac_cv_type_off_t = yes; then
16776 cat >>confdefs.h
<<_ACEOF
16777 #define HAVE_OFF_T 1
16782 { echo "$as_me:$LINENO: checking for pid_t" >&5
16783 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16784 if test "${ac_cv_type_pid_t+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 cat >conftest.
$ac_ext <<_ACEOF
16790 cat confdefs.h
>>conftest.
$ac_ext
16791 cat >>conftest.
$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16793 $ac_includes_default
16794 typedef pid_t ac__type_new_;
16798 if ((ac__type_new_ *) 0)
16800 if (sizeof (ac__type_new_))
16806 rm -f conftest.
$ac_objext
16807 if { (ac_try
="$ac_compile"
16808 case "(($ac_try" in
16809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16810 *) ac_try_echo=$ac_try;;
16812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16813 (eval "$ac_compile") 2>conftest.er1
16815 grep -v '^ *+' conftest.er1 >conftest.err
16817 cat conftest.err >&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } && {
16820 test -z "$ac_c_werror_flag" ||
16821 test ! -s conftest.err
16822 } && test -s conftest.$ac_objext; then
16823 ac_cv_type_pid_t=yes
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.$ac_ext >&5
16828 ac_cv_type_pid_t=no
16831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16833 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16834 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16835 if test $ac_cv_type_pid_t = yes; then
16837 cat >>confdefs.h <<_ACEOF
16838 #define HAVE_PID_T 1
16843 { echo "$as_me:$LINENO: checking for size_t" >&5
16844 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16845 if test "${ac_cv_type_size_t+set}" = set; then
16846 echo $ECHO_N "(cached) $ECHO_C" >&6
16848 cat >conftest.$ac_ext <<_ACEOF
16851 cat confdefs.h >>conftest.$ac_ext
16852 cat >>conftest.$ac_ext <<_ACEOF
16853 /* end confdefs.h. */
16854 $ac_includes_default
16855 typedef size_t ac__type_new_;
16859 if ((ac__type_new_ *) 0)
16861 if (sizeof (ac__type_new_))
16867 rm -f conftest.$ac_objext
16868 if { (ac_try="$ac_compile"
16869 case "(($ac_try" in
16870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16871 *) ac_try_echo
=$ac_try;;
16873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16874 (eval "$ac_compile") 2>conftest.er1
16876 grep -v '^ *+' conftest.er1
>conftest.err
16878 cat conftest.err
>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } && {
16881 test -z "$ac_c_werror_flag" ||
16882 test ! -s conftest.err
16883 } && test -s conftest.
$ac_objext; then
16884 ac_cv_type_size_t
=yes
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.
$ac_ext >&5
16889 ac_cv_type_size_t
=no
16892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16894 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16895 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16896 if test $ac_cv_type_size_t = yes; then
16898 cat >>confdefs.h
<<_ACEOF
16899 #define HAVE_SIZE_T 1
16904 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16905 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16906 if test "${ac_cv_type_ssize_t+set}" = set; then
16907 echo $ECHO_N "(cached) $ECHO_C" >&6
16909 cat >conftest.
$ac_ext <<_ACEOF
16912 cat confdefs.h
>>conftest.
$ac_ext
16913 cat >>conftest.
$ac_ext <<_ACEOF
16914 /* end confdefs.h. */
16915 $ac_includes_default
16916 typedef ssize_t ac__type_new_;
16920 if ((ac__type_new_ *) 0)
16922 if (sizeof (ac__type_new_))
16928 rm -f conftest.
$ac_objext
16929 if { (ac_try
="$ac_compile"
16930 case "(($ac_try" in
16931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16932 *) ac_try_echo=$ac_try;;
16934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16935 (eval "$ac_compile") 2>conftest.er1
16937 grep -v '^ *+' conftest.er1 >conftest.err
16939 cat conftest.err >&5
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } && {
16942 test -z "$ac_c_werror_flag" ||
16943 test ! -s conftest.err
16944 } && test -s conftest.$ac_objext; then
16945 ac_cv_type_ssize_t=yes
16947 echo "$as_me: failed program was:" >&5
16948 sed 's/^/| /' conftest.$ac_ext >&5
16950 ac_cv_type_ssize_t=no
16953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16955 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16956 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16957 if test $ac_cv_type_ssize_t = yes; then
16959 cat >>confdefs.h <<_ACEOF
16960 #define HAVE_SSIZE_T 1
16965 { echo "$as_me:$LINENO: checking for long long" >&5
16966 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16967 if test "${ac_cv_type_long_long+set}" = set; then
16968 echo $ECHO_N "(cached) $ECHO_C" >&6
16970 cat >conftest.$ac_ext <<_ACEOF
16973 cat confdefs.h >>conftest.$ac_ext
16974 cat >>conftest.$ac_ext <<_ACEOF
16975 /* end confdefs.h. */
16976 $ac_includes_default
16977 typedef long long ac__type_new_;
16981 if ((ac__type_new_ *) 0)
16983 if (sizeof (ac__type_new_))
16989 rm -f conftest.$ac_objext
16990 if { (ac_try="$ac_compile"
16991 case "(($ac_try" in
16992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16993 *) ac_try_echo
=$ac_try;;
16995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16996 (eval "$ac_compile") 2>conftest.er1
16998 grep -v '^ *+' conftest.er1
>conftest.err
17000 cat conftest.err
>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); } && {
17003 test -z "$ac_c_werror_flag" ||
17004 test ! -s conftest.err
17005 } && test -s conftest.
$ac_objext; then
17006 ac_cv_type_long_long
=yes
17008 echo "$as_me: failed program was:" >&5
17009 sed 's/^/| /' conftest.
$ac_ext >&5
17011 ac_cv_type_long_long
=no
17014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17016 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17017 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17018 if test $ac_cv_type_long_long = yes; then
17020 cat >>confdefs.h
<<_ACEOF
17021 #define HAVE_LONG_LONG 1
17026 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17027 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17028 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 cat >conftest.
$ac_ext <<_ACEOF
17034 cat confdefs.h
>>conftest.
$ac_ext
17035 cat >>conftest.
$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 $ac_includes_default
17038 typedef fsblkcnt_t ac__type_new_;
17042 if ((ac__type_new_ *) 0)
17044 if (sizeof (ac__type_new_))
17050 rm -f conftest.
$ac_objext
17051 if { (ac_try
="$ac_compile"
17052 case "(($ac_try" in
17053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17054 *) ac_try_echo=$ac_try;;
17056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17057 (eval "$ac_compile") 2>conftest.er1
17059 grep -v '^ *+' conftest.er1 >conftest.err
17061 cat conftest.err >&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); } && {
17064 test -z "$ac_c_werror_flag" ||
17065 test ! -s conftest.err
17066 } && test -s conftest.$ac_objext; then
17067 ac_cv_type_fsblkcnt_t=yes
17069 echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.$ac_ext >&5
17072 ac_cv_type_fsblkcnt_t=no
17075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17077 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17078 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17079 if test $ac_cv_type_fsblkcnt_t = yes; then
17081 cat >>confdefs.h <<_ACEOF
17082 #define HAVE_FSBLKCNT_T 1
17087 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17088 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17089 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17090 echo $ECHO_N "(cached) $ECHO_C" >&6
17092 cat >conftest.$ac_ext <<_ACEOF
17095 cat confdefs.h >>conftest.$ac_ext
17096 cat >>conftest.$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098 $ac_includes_default
17099 typedef fsfilcnt_t ac__type_new_;
17103 if ((ac__type_new_ *) 0)
17105 if (sizeof (ac__type_new_))
17111 rm -f conftest.$ac_objext
17112 if { (ac_try="$ac_compile"
17113 case "(($ac_try" in
17114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17115 *) ac_try_echo
=$ac_try;;
17117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17118 (eval "$ac_compile") 2>conftest.er1
17120 grep -v '^ *+' conftest.er1
>conftest.err
17122 cat conftest.err
>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); } && {
17125 test -z "$ac_c_werror_flag" ||
17126 test ! -s conftest.err
17127 } && test -s conftest.
$ac_objext; then
17128 ac_cv_type_fsfilcnt_t
=yes
17130 echo "$as_me: failed program was:" >&5
17131 sed 's/^/| /' conftest.
$ac_ext >&5
17133 ac_cv_type_fsfilcnt_t
=no
17136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17138 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17139 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17140 if test $ac_cv_type_fsfilcnt_t = yes; then
17142 cat >>confdefs.h
<<_ACEOF
17143 #define HAVE_FSFILCNT_T 1
17149 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17150 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17151 if test "${ac_cv_type_sigset_t+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17154 cat >conftest.
$ac_ext <<_ACEOF
17157 cat confdefs.h
>>conftest.
$ac_ext
17158 cat >>conftest.
$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17160 #include <signal.h>
17162 typedef sigset_t ac__type_new_;
17166 if ((ac__type_new_ *) 0)
17168 if (sizeof (ac__type_new_))
17174 rm -f conftest.
$ac_objext
17175 if { (ac_try
="$ac_compile"
17176 case "(($ac_try" in
17177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17178 *) ac_try_echo=$ac_try;;
17180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17181 (eval "$ac_compile") 2>conftest.er1
17183 grep -v '^ *+' conftest.er1 >conftest.err
17185 cat conftest.err >&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } && {
17188 test -z "$ac_c_werror_flag" ||
17189 test ! -s conftest.err
17190 } && test -s conftest.$ac_objext; then
17191 ac_cv_type_sigset_t=yes
17193 echo "$as_me: failed program was:" >&5
17194 sed 's/^/| /' conftest.$ac_ext >&5
17196 ac_cv_type_sigset_t=no
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17201 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17202 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17203 if test $ac_cv_type_sigset_t = yes; then
17205 cat >>confdefs.h <<_ACEOF
17206 #define HAVE_SIGSET_T 1
17212 { echo "$as_me:$LINENO: checking for request_sense" >&5
17213 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17214 if test "${ac_cv_type_request_sense+set}" = set; then
17215 echo $ECHO_N "(cached) $ECHO_C" >&6
17217 cat >conftest.$ac_ext <<_ACEOF
17220 cat confdefs.h >>conftest.$ac_ext
17221 cat >>conftest.$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17223 #include <linux/cdrom.h>
17225 typedef request_sense ac__type_new_;
17229 if ((ac__type_new_ *) 0)
17231 if (sizeof (ac__type_new_))
17237 rm -f conftest.$ac_objext
17238 if { (ac_try="$ac_compile"
17239 case "(($ac_try" in
17240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17241 *) ac_try_echo
=$ac_try;;
17243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_compile") 2>conftest.er1
17246 grep -v '^ *+' conftest.er1
>conftest.err
17248 cat conftest.err
>&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } && {
17251 test -z "$ac_c_werror_flag" ||
17252 test ! -s conftest.err
17253 } && test -s conftest.
$ac_objext; then
17254 ac_cv_type_request_sense
=yes
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.
$ac_ext >&5
17259 ac_cv_type_request_sense
=no
17262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17264 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17265 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17266 if test $ac_cv_type_request_sense = yes; then
17268 cat >>confdefs.h
<<_ACEOF
17269 #define HAVE_REQUEST_SENSE 1
17276 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17277 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17278 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17279 echo $ECHO_N "(cached) $ECHO_C" >&6
17281 cat >conftest.
$ac_ext <<_ACEOF
17284 cat confdefs.h
>>conftest.
$ac_ext
17285 cat >>conftest.
$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287 #ifdef HAVE_LINUX_INPUT_H
17288 #include <linux/input.h>
17294 static struct ff_effect ac_aggr;
17295 if (ac_aggr.direction)
17301 rm -f conftest.
$ac_objext
17302 if { (ac_try
="$ac_compile"
17303 case "(($ac_try" in
17304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17305 *) ac_try_echo=$ac_try;;
17307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17308 (eval "$ac_compile") 2>conftest.er1
17310 grep -v '^ *+' conftest.er1 >conftest.err
17312 cat conftest.err >&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } && {
17315 test -z "$ac_c_werror_flag" ||
17316 test ! -s conftest.err
17317 } && test -s conftest.$ac_objext; then
17318 ac_cv_member_struct_ff_effect_direction=yes
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.$ac_ext >&5
17323 cat >conftest.$ac_ext <<_ACEOF
17326 cat confdefs.h >>conftest.$ac_ext
17327 cat >>conftest.$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17329 #ifdef HAVE_LINUX_INPUT_H
17330 #include <linux/input.h>
17336 static struct ff_effect ac_aggr;
17337 if (sizeof ac_aggr.direction)
17343 rm -f conftest.$ac_objext
17344 if { (ac_try="$ac_compile"
17345 case "(($ac_try" in
17346 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17347 *) ac_try_echo
=$ac_try;;
17349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17350 (eval "$ac_compile") 2>conftest.er1
17352 grep -v '^ *+' conftest.er1
>conftest.err
17354 cat conftest.err
>&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); } && {
17357 test -z "$ac_c_werror_flag" ||
17358 test ! -s conftest.err
17359 } && test -s conftest.
$ac_objext; then
17360 ac_cv_member_struct_ff_effect_direction
=yes
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.
$ac_ext >&5
17365 ac_cv_member_struct_ff_effect_direction
=no
17368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17373 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17374 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17375 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17377 cat >>confdefs.h
<<_ACEOF
17378 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17385 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17386 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17387 if test "${wine_cv_have_sigaddset+set}" = set; then
17388 echo $ECHO_N "(cached) $ECHO_C" >&6
17390 cat >conftest.
$ac_ext <<_ACEOF
17393 cat confdefs.h
>>conftest.
$ac_ext
17394 cat >>conftest.
$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17396 #include <signal.h>
17400 sigset_t set; sigaddset(&set,SIGTERM);
17405 rm -f conftest.
$ac_objext conftest
$ac_exeext
17406 if { (ac_try
="$ac_link"
17407 case "(($ac_try" in
17408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17409 *) ac_try_echo=$ac_try;;
17411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17412 (eval "$ac_link") 2>conftest.er1
17414 grep -v '^ *+' conftest.er1 >conftest.err
17416 cat conftest.err >&5
17417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418 (exit $ac_status); } && {
17419 test -z "$ac_c_werror_flag" ||
17420 test ! -s conftest.err
17421 } && test -s conftest$ac_exeext &&
17422 $as_test_x conftest$ac_exeext; then
17423 wine_cv_have_sigaddset=yes
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.$ac_ext >&5
17428 wine_cv_have_sigaddset=no
17431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17432 conftest$ac_exeext conftest.$ac_ext
17434 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17435 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17436 if test "$wine_cv_have_sigaddset" = "yes"
17439 cat >>confdefs.h <<\_ACEOF
17440 #define HAVE_SIGADDSET 1
17446 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17447 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17448 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17449 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 cat >conftest.$ac_ext <<_ACEOF
17454 cat confdefs.h >>conftest.$ac_ext
17455 cat >>conftest.$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17464 struct hostent *result;
17471 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17472 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17478 rm -f conftest.$ac_objext conftest$ac_exeext
17479 if { (ac_try="$ac_link"
17480 case "(($ac_try" in
17481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17482 *) ac_try_echo
=$ac_try;;
17484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17485 (eval "$ac_link") 2>conftest.er1
17487 grep -v '^ *+' conftest.er1
>conftest.err
17489 cat conftest.err
>&5
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); } && {
17492 test -z "$ac_c_werror_flag" ||
17493 test ! -s conftest.err
17494 } && test -s conftest
$ac_exeext &&
17495 $as_test_x conftest
$ac_exeext; then
17496 wine_cv_linux_gethostbyname_r_6
=yes
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.
$ac_ext >&5
17501 wine_cv_linux_gethostbyname_r_6
=no
17505 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17506 conftest
$ac_exeext conftest.
$ac_ext
17509 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17510 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17511 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17514 cat >>confdefs.h
<<\_ACEOF
17515 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17520 if test "$ac_cv_header_linux_joystick_h" = "yes"
17522 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17523 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17524 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17525 echo $ECHO_N "(cached) $ECHO_C" >&6
17527 cat >conftest.
$ac_ext <<_ACEOF
17530 cat confdefs.h
>>conftest.
$ac_ext
17531 cat >>conftest.
$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17534 #include <sys/ioctl.h>
17535 #include <sys/types.h>
17536 #include <linux/joystick.h>
17538 struct js_event blub;
17539 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17540 #error "no 2.2 header"
17551 rm -f conftest.
$ac_objext
17552 if { (ac_try
="$ac_compile"
17553 case "(($ac_try" in
17554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17555 *) ac_try_echo=$ac_try;;
17557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17558 (eval "$ac_compile") 2>conftest.er1
17560 grep -v '^ *+' conftest.er1 >conftest.err
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } && {
17565 test -z "$ac_c_werror_flag" ||
17566 test ! -s conftest.err
17567 } && test -s conftest.$ac_objext; then
17568 wine_cv_linux_joystick_22_api=yes
17570 echo "$as_me: failed program was:" >&5
17571 sed 's/^/| /' conftest.$ac_ext >&5
17573 wine_cv_linux_joystick_22_api=no
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17579 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17580 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17581 if test "$wine_cv_linux_joystick_22_api" = "yes"
17584 cat >>confdefs.h <<\_ACEOF
17585 #define HAVE_LINUX_22_JOYSTICK_API 1
17592 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17593 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17594 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17595 echo $ECHO_N "(cached) $ECHO_C" >&6
17597 cat >conftest.$ac_ext <<_ACEOF
17600 cat confdefs.h >>conftest.$ac_ext
17601 cat >>conftest.$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17603 #include <sys/types.h>
17604 #ifdef HAVE_SYS_PARAM_H
17605 # include <sys/param.h>
17607 #ifdef HAVE_SYS_MOUNT_H
17608 # include <sys/mount.h>
17610 #ifdef HAVE_SYS_VFS_H
17611 # include <sys/vfs.h>
17613 #ifdef HAVE_SYS_STATFS_H
17614 # include <sys/statfs.h>
17620 static struct statfs ac_aggr;
17621 if (ac_aggr.f_bfree)
17627 rm -f conftest.$ac_objext
17628 if { (ac_try="$ac_compile"
17629 case "(($ac_try" in
17630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17631 *) ac_try_echo
=$ac_try;;
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_compile") 2>conftest.er1
17636 grep -v '^ *+' conftest.er1
>conftest.err
17638 cat conftest.err
>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && {
17641 test -z "$ac_c_werror_flag" ||
17642 test ! -s conftest.err
17643 } && test -s conftest.
$ac_objext; then
17644 ac_cv_member_struct_statfs_f_bfree
=yes
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.
$ac_ext >&5
17649 cat >conftest.
$ac_ext <<_ACEOF
17652 cat confdefs.h
>>conftest.
$ac_ext
17653 cat >>conftest.
$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 #include <sys/types.h>
17656 #ifdef HAVE_SYS_PARAM_H
17657 # include <sys/param.h>
17659 #ifdef HAVE_SYS_MOUNT_H
17660 # include <sys/mount.h>
17662 #ifdef HAVE_SYS_VFS_H
17663 # include <sys/vfs.h>
17665 #ifdef HAVE_SYS_STATFS_H
17666 # include <sys/statfs.h>
17672 static struct statfs ac_aggr;
17673 if (sizeof ac_aggr.f_bfree)
17679 rm -f conftest.
$ac_objext
17680 if { (ac_try
="$ac_compile"
17681 case "(($ac_try" in
17682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17683 *) ac_try_echo=$ac_try;;
17685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17686 (eval "$ac_compile") 2>conftest.er1
17688 grep -v '^ *+' conftest.er1 >conftest.err
17690 cat conftest.err >&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); } && {
17693 test -z "$ac_c_werror_flag" ||
17694 test ! -s conftest.err
17695 } && test -s conftest.$ac_objext; then
17696 ac_cv_member_struct_statfs_f_bfree=yes
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.$ac_ext >&5
17701 ac_cv_member_struct_statfs_f_bfree=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17709 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17710 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17711 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17713 cat >>confdefs.h <<_ACEOF
17714 #define HAVE_STRUCT_STATFS_F_BFREE 1
17719 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17720 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17721 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17724 cat >conftest.$ac_ext <<_ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 #include <sys/types.h>
17731 #ifdef HAVE_SYS_PARAM_H
17732 # include <sys/param.h>
17734 #ifdef HAVE_SYS_MOUNT_H
17735 # include <sys/mount.h>
17737 #ifdef HAVE_SYS_VFS_H
17738 # include <sys/vfs.h>
17740 #ifdef HAVE_SYS_STATFS_H
17741 # include <sys/statfs.h>
17747 static struct statfs ac_aggr;
17748 if (ac_aggr.f_bavail)
17754 rm -f conftest.$ac_objext
17755 if { (ac_try="$ac_compile"
17756 case "(($ac_try" in
17757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17758 *) ac_try_echo
=$ac_try;;
17760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17761 (eval "$ac_compile") 2>conftest.er1
17763 grep -v '^ *+' conftest.er1
>conftest.err
17765 cat conftest.err
>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } && {
17768 test -z "$ac_c_werror_flag" ||
17769 test ! -s conftest.err
17770 } && test -s conftest.
$ac_objext; then
17771 ac_cv_member_struct_statfs_f_bavail
=yes
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.
$ac_ext >&5
17776 cat >conftest.
$ac_ext <<_ACEOF
17779 cat confdefs.h
>>conftest.
$ac_ext
17780 cat >>conftest.
$ac_ext <<_ACEOF
17781 /* end confdefs.h. */
17782 #include <sys/types.h>
17783 #ifdef HAVE_SYS_PARAM_H
17784 # include <sys/param.h>
17786 #ifdef HAVE_SYS_MOUNT_H
17787 # include <sys/mount.h>
17789 #ifdef HAVE_SYS_VFS_H
17790 # include <sys/vfs.h>
17792 #ifdef HAVE_SYS_STATFS_H
17793 # include <sys/statfs.h>
17799 static struct statfs ac_aggr;
17800 if (sizeof ac_aggr.f_bavail)
17806 rm -f conftest.
$ac_objext
17807 if { (ac_try
="$ac_compile"
17808 case "(($ac_try" in
17809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_compile") 2>conftest.er1
17815 grep -v '^ *+' conftest.er1 >conftest.err
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_c_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest.$ac_objext; then
17823 ac_cv_member_struct_statfs_f_bavail=yes
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17828 ac_cv_member_struct_statfs_f_bavail=no
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17837 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17838 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17840 cat >>confdefs.h <<_ACEOF
17841 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17846 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17847 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17848 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17851 cat >conftest.$ac_ext <<_ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 #include <sys/types.h>
17858 #ifdef HAVE_SYS_PARAM_H
17859 # include <sys/param.h>
17861 #ifdef HAVE_SYS_MOUNT_H
17862 # include <sys/mount.h>
17864 #ifdef HAVE_SYS_VFS_H
17865 # include <sys/vfs.h>
17867 #ifdef HAVE_SYS_STATFS_H
17868 # include <sys/statfs.h>
17874 static struct statfs ac_aggr;
17875 if (ac_aggr.f_frsize)
17881 rm -f conftest.$ac_objext
17882 if { (ac_try="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17885 *) ac_try_echo
=$ac_try;;
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17890 grep -v '^ *+' conftest.er1
>conftest.err
17892 cat conftest.err
>&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.
$ac_objext; then
17898 ac_cv_member_struct_statfs_f_frsize
=yes
17900 echo "$as_me: failed program was:" >&5
17901 sed 's/^/| /' conftest.
$ac_ext >&5
17903 cat >conftest.
$ac_ext <<_ACEOF
17906 cat confdefs.h
>>conftest.
$ac_ext
17907 cat >>conftest.
$ac_ext <<_ACEOF
17908 /* end confdefs.h. */
17909 #include <sys/types.h>
17910 #ifdef HAVE_SYS_PARAM_H
17911 # include <sys/param.h>
17913 #ifdef HAVE_SYS_MOUNT_H
17914 # include <sys/mount.h>
17916 #ifdef HAVE_SYS_VFS_H
17917 # include <sys/vfs.h>
17919 #ifdef HAVE_SYS_STATFS_H
17920 # include <sys/statfs.h>
17926 static struct statfs ac_aggr;
17927 if (sizeof ac_aggr.f_frsize)
17933 rm -f conftest.
$ac_objext
17934 if { (ac_try
="$ac_compile"
17935 case "(($ac_try" in
17936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17937 *) ac_try_echo=$ac_try;;
17939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17940 (eval "$ac_compile") 2>conftest.er1
17942 grep -v '^ *+' conftest.er1 >conftest.err
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } && {
17947 test -z "$ac_c_werror_flag" ||
17948 test ! -s conftest.err
17949 } && test -s conftest.$ac_objext; then
17950 ac_cv_member_struct_statfs_f_frsize=yes
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.$ac_ext >&5
17955 ac_cv_member_struct_statfs_f_frsize=no
17958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17964 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17965 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17967 cat >>confdefs.h <<_ACEOF
17968 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17973 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17974 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17975 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17978 cat >conftest.$ac_ext <<_ACEOF
17981 cat confdefs.h >>conftest.$ac_ext
17982 cat >>conftest.$ac_ext <<_ACEOF
17983 /* end confdefs.h. */
17984 #include <sys/types.h>
17985 #ifdef HAVE_SYS_PARAM_H
17986 # include <sys/param.h>
17988 #ifdef HAVE_SYS_MOUNT_H
17989 # include <sys/mount.h>
17991 #ifdef HAVE_SYS_VFS_H
17992 # include <sys/vfs.h>
17994 #ifdef HAVE_SYS_STATFS_H
17995 # include <sys/statfs.h>
18001 static struct statfs ac_aggr;
18002 if (ac_aggr.f_ffree)
18008 rm -f conftest.$ac_objext
18009 if { (ac_try="$ac_compile"
18010 case "(($ac_try" in
18011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18012 *) ac_try_echo
=$ac_try;;
18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18015 (eval "$ac_compile") 2>conftest.er1
18017 grep -v '^ *+' conftest.er1
>conftest.err
18019 cat conftest.err
>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } && {
18022 test -z "$ac_c_werror_flag" ||
18023 test ! -s conftest.err
18024 } && test -s conftest.
$ac_objext; then
18025 ac_cv_member_struct_statfs_f_ffree
=yes
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.
$ac_ext >&5
18030 cat >conftest.
$ac_ext <<_ACEOF
18033 cat confdefs.h
>>conftest.
$ac_ext
18034 cat >>conftest.
$ac_ext <<_ACEOF
18035 /* end confdefs.h. */
18036 #include <sys/types.h>
18037 #ifdef HAVE_SYS_PARAM_H
18038 # include <sys/param.h>
18040 #ifdef HAVE_SYS_MOUNT_H
18041 # include <sys/mount.h>
18043 #ifdef HAVE_SYS_VFS_H
18044 # include <sys/vfs.h>
18046 #ifdef HAVE_SYS_STATFS_H
18047 # include <sys/statfs.h>
18053 static struct statfs ac_aggr;
18054 if (sizeof ac_aggr.f_ffree)
18060 rm -f conftest.
$ac_objext
18061 if { (ac_try
="$ac_compile"
18062 case "(($ac_try" in
18063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18064 *) ac_try_echo=$ac_try;;
18066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18067 (eval "$ac_compile") 2>conftest.er1
18069 grep -v '^ *+' conftest.er1 >conftest.err
18071 cat conftest.err >&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); } && {
18074 test -z "$ac_c_werror_flag" ||
18075 test ! -s conftest.err
18076 } && test -s conftest.$ac_objext; then
18077 ac_cv_member_struct_statfs_f_ffree=yes
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.$ac_ext >&5
18082 ac_cv_member_struct_statfs_f_ffree=no
18085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18091 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18092 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_STRUCT_STATFS_F_FFREE 1
18100 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18101 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18102 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18103 echo $ECHO_N "(cached) $ECHO_C" >&6
18105 cat >conftest.$ac_ext <<_ACEOF
18108 cat confdefs.h >>conftest.$ac_ext
18109 cat >>conftest.$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 #include <sys/types.h>
18112 #ifdef HAVE_SYS_PARAM_H
18113 # include <sys/param.h>
18115 #ifdef HAVE_SYS_MOUNT_H
18116 # include <sys/mount.h>
18118 #ifdef HAVE_SYS_VFS_H
18119 # include <sys/vfs.h>
18121 #ifdef HAVE_SYS_STATFS_H
18122 # include <sys/statfs.h>
18128 static struct statfs ac_aggr;
18129 if (ac_aggr.f_favail)
18135 rm -f conftest.$ac_objext
18136 if { (ac_try="$ac_compile"
18137 case "(($ac_try" in
18138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18139 *) ac_try_echo
=$ac_try;;
18141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18142 (eval "$ac_compile") 2>conftest.er1
18144 grep -v '^ *+' conftest.er1
>conftest.err
18146 cat conftest.err
>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } && {
18149 test -z "$ac_c_werror_flag" ||
18150 test ! -s conftest.err
18151 } && test -s conftest.
$ac_objext; then
18152 ac_cv_member_struct_statfs_f_favail
=yes
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.
$ac_ext >&5
18157 cat >conftest.
$ac_ext <<_ACEOF
18160 cat confdefs.h
>>conftest.
$ac_ext
18161 cat >>conftest.
$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 #include <sys/types.h>
18164 #ifdef HAVE_SYS_PARAM_H
18165 # include <sys/param.h>
18167 #ifdef HAVE_SYS_MOUNT_H
18168 # include <sys/mount.h>
18170 #ifdef HAVE_SYS_VFS_H
18171 # include <sys/vfs.h>
18173 #ifdef HAVE_SYS_STATFS_H
18174 # include <sys/statfs.h>
18180 static struct statfs ac_aggr;
18181 if (sizeof ac_aggr.f_favail)
18187 rm -f conftest.
$ac_objext
18188 if { (ac_try
="$ac_compile"
18189 case "(($ac_try" in
18190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18191 *) ac_try_echo=$ac_try;;
18193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18194 (eval "$ac_compile") 2>conftest.er1
18196 grep -v '^ *+' conftest.er1 >conftest.err
18198 cat conftest.err >&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); } && {
18201 test -z "$ac_c_werror_flag" ||
18202 test ! -s conftest.err
18203 } && test -s conftest.$ac_objext; then
18204 ac_cv_member_struct_statfs_f_favail=yes
18206 echo "$as_me: failed program was:" >&5
18207 sed 's/^/| /' conftest.$ac_ext >&5
18209 ac_cv_member_struct_statfs_f_favail=no
18212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18218 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18219 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18221 cat >>confdefs.h <<_ACEOF
18222 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18227 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18228 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18229 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18230 echo $ECHO_N "(cached) $ECHO_C" >&6
18232 cat >conftest.$ac_ext <<_ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 #include <sys/types.h>
18239 #ifdef HAVE_SYS_PARAM_H
18240 # include <sys/param.h>
18242 #ifdef HAVE_SYS_MOUNT_H
18243 # include <sys/mount.h>
18245 #ifdef HAVE_SYS_VFS_H
18246 # include <sys/vfs.h>
18248 #ifdef HAVE_SYS_STATFS_H
18249 # include <sys/statfs.h>
18255 static struct statfs ac_aggr;
18256 if (ac_aggr.f_namelen)
18262 rm -f conftest.$ac_objext
18263 if { (ac_try="$ac_compile"
18264 case "(($ac_try" in
18265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18266 *) ac_try_echo
=$ac_try;;
18268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18269 (eval "$ac_compile") 2>conftest.er1
18271 grep -v '^ *+' conftest.er1
>conftest.err
18273 cat conftest.err
>&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); } && {
18276 test -z "$ac_c_werror_flag" ||
18277 test ! -s conftest.err
18278 } && test -s conftest.
$ac_objext; then
18279 ac_cv_member_struct_statfs_f_namelen
=yes
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.
$ac_ext >&5
18284 cat >conftest.
$ac_ext <<_ACEOF
18287 cat confdefs.h
>>conftest.
$ac_ext
18288 cat >>conftest.
$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 #include <sys/types.h>
18291 #ifdef HAVE_SYS_PARAM_H
18292 # include <sys/param.h>
18294 #ifdef HAVE_SYS_MOUNT_H
18295 # include <sys/mount.h>
18297 #ifdef HAVE_SYS_VFS_H
18298 # include <sys/vfs.h>
18300 #ifdef HAVE_SYS_STATFS_H
18301 # include <sys/statfs.h>
18307 static struct statfs ac_aggr;
18308 if (sizeof ac_aggr.f_namelen)
18314 rm -f conftest.
$ac_objext
18315 if { (ac_try
="$ac_compile"
18316 case "(($ac_try" in
18317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18318 *) ac_try_echo=$ac_try;;
18320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18321 (eval "$ac_compile") 2>conftest.er1
18323 grep -v '^ *+' conftest.er1 >conftest.err
18325 cat conftest.err >&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } && {
18328 test -z "$ac_c_werror_flag" ||
18329 test ! -s conftest.err
18330 } && test -s conftest.$ac_objext; then
18331 ac_cv_member_struct_statfs_f_namelen=yes
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.$ac_ext >&5
18336 ac_cv_member_struct_statfs_f_namelen=no
18339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18345 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18346 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18348 cat >>confdefs.h <<_ACEOF
18349 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18356 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18357 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18358 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 cat >conftest.$ac_ext <<_ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 #ifdef HAVE_SYS_STATVFS_H
18368 #include <sys/statvfs.h>
18374 static struct statvfs ac_aggr;
18375 if (ac_aggr.f_blocks)
18381 rm -f conftest.$ac_objext
18382 if { (ac_try="$ac_compile"
18383 case "(($ac_try" in
18384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18385 *) ac_try_echo
=$ac_try;;
18387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18388 (eval "$ac_compile") 2>conftest.er1
18390 grep -v '^ *+' conftest.er1
>conftest.err
18392 cat conftest.err
>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && {
18395 test -z "$ac_c_werror_flag" ||
18396 test ! -s conftest.err
18397 } && test -s conftest.
$ac_objext; then
18398 ac_cv_member_struct_statvfs_f_blocks
=yes
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.
$ac_ext >&5
18403 cat >conftest.
$ac_ext <<_ACEOF
18406 cat confdefs.h
>>conftest.
$ac_ext
18407 cat >>conftest.
$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409 #ifdef HAVE_SYS_STATVFS_H
18410 #include <sys/statvfs.h>
18416 static struct statvfs ac_aggr;
18417 if (sizeof ac_aggr.f_blocks)
18423 rm -f conftest.
$ac_objext
18424 if { (ac_try
="$ac_compile"
18425 case "(($ac_try" in
18426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18427 *) ac_try_echo=$ac_try;;
18429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18430 (eval "$ac_compile") 2>conftest.er1
18432 grep -v '^ *+' conftest.er1 >conftest.err
18434 cat conftest.err >&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } && {
18437 test -z "$ac_c_werror_flag" ||
18438 test ! -s conftest.err
18439 } && test -s conftest.$ac_objext; then
18440 ac_cv_member_struct_statvfs_f_blocks=yes
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18445 ac_cv_member_struct_statvfs_f_blocks=no
18448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18453 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18454 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18455 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18457 cat >>confdefs.h <<_ACEOF
18458 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18465 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18466 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18467 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18470 cat >conftest.$ac_ext <<_ACEOF
18473 cat confdefs.h >>conftest.$ac_ext
18474 cat >>conftest.$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 #include <sys/types.h>
18477 #ifdef HAVE_SYS_SOCKET_H
18478 # include <sys/socket.h>
18480 #ifdef HAVE_SYS_UN_H
18481 # include <sys/un.h>
18487 static struct msghdr ac_aggr;
18488 if (ac_aggr.msg_accrights)
18494 rm -f conftest.$ac_objext
18495 if { (ac_try="$ac_compile"
18496 case "(($ac_try" in
18497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18498 *) ac_try_echo
=$ac_try;;
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_compile") 2>conftest.er1
18503 grep -v '^ *+' conftest.er1
>conftest.err
18505 cat conftest.err
>&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } && {
18508 test -z "$ac_c_werror_flag" ||
18509 test ! -s conftest.err
18510 } && test -s conftest.
$ac_objext; then
18511 ac_cv_member_struct_msghdr_msg_accrights
=yes
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.
$ac_ext >&5
18516 cat >conftest.
$ac_ext <<_ACEOF
18519 cat confdefs.h
>>conftest.
$ac_ext
18520 cat >>conftest.
$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 #include <sys/types.h>
18523 #ifdef HAVE_SYS_SOCKET_H
18524 # include <sys/socket.h>
18526 #ifdef HAVE_SYS_UN_H
18527 # include <sys/un.h>
18533 static struct msghdr ac_aggr;
18534 if (sizeof ac_aggr.msg_accrights)
18540 rm -f conftest.
$ac_objext
18541 if { (ac_try
="$ac_compile"
18542 case "(($ac_try" in
18543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18544 *) ac_try_echo=$ac_try;;
18546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18547 (eval "$ac_compile") 2>conftest.er1
18549 grep -v '^ *+' conftest.er1 >conftest.err
18551 cat conftest.err >&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } && {
18554 test -z "$ac_c_werror_flag" ||
18555 test ! -s conftest.err
18556 } && test -s conftest.$ac_objext; then
18557 ac_cv_member_struct_msghdr_msg_accrights=yes
18559 echo "$as_me: failed program was:" >&5
18560 sed 's/^/| /' conftest.$ac_ext >&5
18562 ac_cv_member_struct_msghdr_msg_accrights=no
18565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18570 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18571 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18572 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18574 cat >>confdefs.h <<_ACEOF
18575 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18580 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18581 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18582 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 cat >conftest.$ac_ext <<_ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18591 #include <sys/types.h>
18592 #ifdef HAVE_SYS_SOCKET_H
18593 # include <sys/socket.h>
18595 #ifdef HAVE_SYS_UN_H
18596 # include <sys/un.h>
18602 static struct sockaddr ac_aggr;
18603 if (ac_aggr.sa_len)
18609 rm -f conftest.$ac_objext
18610 if { (ac_try="$ac_compile"
18611 case "(($ac_try" in
18612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18613 *) ac_try_echo
=$ac_try;;
18615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18616 (eval "$ac_compile") 2>conftest.er1
18618 grep -v '^ *+' conftest.er1
>conftest.err
18620 cat conftest.err
>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); } && {
18623 test -z "$ac_c_werror_flag" ||
18624 test ! -s conftest.err
18625 } && test -s conftest.
$ac_objext; then
18626 ac_cv_member_struct_sockaddr_sa_len
=yes
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.
$ac_ext >&5
18631 cat >conftest.
$ac_ext <<_ACEOF
18634 cat confdefs.h
>>conftest.
$ac_ext
18635 cat >>conftest.
$ac_ext <<_ACEOF
18636 /* end confdefs.h. */
18637 #include <sys/types.h>
18638 #ifdef HAVE_SYS_SOCKET_H
18639 # include <sys/socket.h>
18641 #ifdef HAVE_SYS_UN_H
18642 # include <sys/un.h>
18648 static struct sockaddr ac_aggr;
18649 if (sizeof ac_aggr.sa_len)
18655 rm -f conftest.
$ac_objext
18656 if { (ac_try
="$ac_compile"
18657 case "(($ac_try" in
18658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_compile") 2>conftest.er1
18664 grep -v '^ *+' conftest.er1 >conftest.err
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } && {
18669 test -z "$ac_c_werror_flag" ||
18670 test ! -s conftest.err
18671 } && test -s conftest.$ac_objext; then
18672 ac_cv_member_struct_sockaddr_sa_len=yes
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18677 ac_cv_member_struct_sockaddr_sa_len=no
18680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18686 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18687 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18689 cat >>confdefs.h <<_ACEOF
18690 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18695 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18696 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18697 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 cat >conftest.$ac_ext <<_ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 #include <sys/types.h>
18707 #ifdef HAVE_SYS_SOCKET_H
18708 # include <sys/socket.h>
18710 #ifdef HAVE_SYS_UN_H
18711 # include <sys/un.h>
18717 static struct sockaddr_un ac_aggr;
18718 if (ac_aggr.sun_len)
18724 rm -f conftest.$ac_objext
18725 if { (ac_try="$ac_compile"
18726 case "(($ac_try" in
18727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18728 *) ac_try_echo
=$ac_try;;
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_compile") 2>conftest.er1
18733 grep -v '^ *+' conftest.er1
>conftest.err
18735 cat conftest.err
>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } && {
18738 test -z "$ac_c_werror_flag" ||
18739 test ! -s conftest.err
18740 } && test -s conftest.
$ac_objext; then
18741 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.
$ac_ext >&5
18746 cat >conftest.
$ac_ext <<_ACEOF
18749 cat confdefs.h
>>conftest.
$ac_ext
18750 cat >>conftest.
$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 #include <sys/types.h>
18753 #ifdef HAVE_SYS_SOCKET_H
18754 # include <sys/socket.h>
18756 #ifdef HAVE_SYS_UN_H
18757 # include <sys/un.h>
18763 static struct sockaddr_un ac_aggr;
18764 if (sizeof ac_aggr.sun_len)
18770 rm -f conftest.
$ac_objext
18771 if { (ac_try
="$ac_compile"
18772 case "(($ac_try" in
18773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18774 *) ac_try_echo=$ac_try;;
18776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18777 (eval "$ac_compile") 2>conftest.er1
18779 grep -v '^ *+' conftest.er1 >conftest.err
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } && {
18784 test -z "$ac_c_werror_flag" ||
18785 test ! -s conftest.err
18786 } && test -s conftest.$ac_objext; then
18787 ac_cv_member_struct_sockaddr_un_sun_len=yes
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18792 ac_cv_member_struct_sockaddr_un_sun_len=no
18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18801 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18802 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18804 cat >>confdefs.h <<_ACEOF
18805 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18812 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18813 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18814 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18817 cat >conftest.$ac_ext <<_ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823 #include <sys/types.h>
18824 #ifdef HAVE_SCSI_SG_H
18825 #include <scsi/sg.h>
18831 static scsireq_t ac_aggr;
18838 rm -f conftest.$ac_objext
18839 if { (ac_try="$ac_compile"
18840 case "(($ac_try" in
18841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18842 *) ac_try_echo
=$ac_try;;
18844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18845 (eval "$ac_compile") 2>conftest.er1
18847 grep -v '^ *+' conftest.er1
>conftest.err
18849 cat conftest.err
>&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); } && {
18852 test -z "$ac_c_werror_flag" ||
18853 test ! -s conftest.err
18854 } && test -s conftest.
$ac_objext; then
18855 ac_cv_member_scsireq_t_cmd
=yes
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.
$ac_ext >&5
18860 cat >conftest.
$ac_ext <<_ACEOF
18863 cat confdefs.h
>>conftest.
$ac_ext
18864 cat >>conftest.
$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 #include <sys/types.h>
18867 #ifdef HAVE_SCSI_SG_H
18868 #include <scsi/sg.h>
18874 static scsireq_t ac_aggr;
18875 if (sizeof ac_aggr.cmd)
18881 rm -f conftest.
$ac_objext
18882 if { (ac_try
="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18885 *) ac_try_echo=$ac_try;;
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18890 grep -v '^ *+' conftest.er1 >conftest.err
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.$ac_objext; then
18898 ac_cv_member_scsireq_t_cmd=yes
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 ac_cv_member_scsireq_t_cmd=no
18906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18911 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18912 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18913 if test $ac_cv_member_scsireq_t_cmd = yes; then
18915 cat >>confdefs.h <<_ACEOF
18916 #define HAVE_SCSIREQ_T_CMD 1
18921 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18922 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18923 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 cat >conftest.$ac_ext <<_ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <sys/types.h>
18933 #ifdef HAVE_SCSI_SG_H
18934 #include <scsi/sg.h>
18940 static sg_io_hdr_t ac_aggr;
18941 if (ac_aggr.interface_id)
18947 rm -f conftest.$ac_objext
18948 if { (ac_try="$ac_compile"
18949 case "(($ac_try" in
18950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18951 *) ac_try_echo
=$ac_try;;
18953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_compile") 2>conftest.er1
18956 grep -v '^ *+' conftest.er1
>conftest.err
18958 cat conftest.err
>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } && {
18961 test -z "$ac_c_werror_flag" ||
18962 test ! -s conftest.err
18963 } && test -s conftest.
$ac_objext; then
18964 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.
$ac_ext >&5
18969 cat >conftest.
$ac_ext <<_ACEOF
18972 cat confdefs.h
>>conftest.
$ac_ext
18973 cat >>conftest.
$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <sys/types.h>
18976 #ifdef HAVE_SCSI_SG_H
18977 #include <scsi/sg.h>
18983 static sg_io_hdr_t ac_aggr;
18984 if (sizeof ac_aggr.interface_id)
18990 rm -f conftest.
$ac_objext
18991 if { (ac_try
="$ac_compile"
18992 case "(($ac_try" in
18993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18994 *) ac_try_echo=$ac_try;;
18996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18997 (eval "$ac_compile") 2>conftest.er1
18999 grep -v '^ *+' conftest.er1 >conftest.err
19001 cat conftest.err >&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } && {
19004 test -z "$ac_c_werror_flag" ||
19005 test ! -s conftest.err
19006 } && test -s conftest.$ac_objext; then
19007 ac_cv_member_sg_io_hdr_t_interface_id=yes
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19012 ac_cv_member_sg_io_hdr_t_interface_id=no
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19020 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19021 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19022 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19032 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19033 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19034 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19037 cat >conftest.$ac_ext <<_ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 #include <signal.h>
19048 static siginfo_t ac_aggr;
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19059 *) ac_try_echo
=$ac_try;;
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19064 grep -v '^ *+' conftest.er1
>conftest.err
19066 cat conftest.err
>&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_c_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.
$ac_objext; then
19072 ac_cv_member_siginfo_t_si_fd
=yes
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.
$ac_ext >&5
19077 cat >conftest.
$ac_ext <<_ACEOF
19080 cat confdefs.h
>>conftest.
$ac_ext
19081 cat >>conftest.
$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19083 #include <signal.h>
19088 static siginfo_t ac_aggr;
19089 if (sizeof ac_aggr.si_fd)
19095 rm -f conftest.
$ac_objext
19096 if { (ac_try
="$ac_compile"
19097 case "(($ac_try" in
19098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19099 *) ac_try_echo=$ac_try;;
19101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19102 (eval "$ac_compile") 2>conftest.er1
19104 grep -v '^ *+' conftest.er1 >conftest.err
19106 cat conftest.err >&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } && {
19109 test -z "$ac_c_werror_flag" ||
19110 test ! -s conftest.err
19111 } && test -s conftest.$ac_objext; then
19112 ac_cv_member_siginfo_t_si_fd=yes
19114 echo "$as_me: failed program was:" >&5
19115 sed 's/^/| /' conftest.$ac_ext >&5
19117 ac_cv_member_siginfo_t_si_fd=no
19120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19125 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19126 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19127 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_SIGINFO_T_SI_FD 1
19137 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19138 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19139 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19142 cat >conftest.$ac_ext <<_ACEOF
19145 cat confdefs.h >>conftest.$ac_ext
19146 cat >>conftest.$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19148 #include <sys/types.h>
19149 #ifdef HAVE_SYS_MTIO_H
19150 #include <sys/mtio.h>
19156 static struct mtget ac_aggr;
19157 if (ac_aggr.mt_blksiz)
19163 rm -f conftest.$ac_objext
19164 if { (ac_try="$ac_compile"
19165 case "(($ac_try" in
19166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19167 *) ac_try_echo
=$ac_try;;
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_compile") 2>conftest.er1
19172 grep -v '^ *+' conftest.er1
>conftest.err
19174 cat conftest.err
>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } && {
19177 test -z "$ac_c_werror_flag" ||
19178 test ! -s conftest.err
19179 } && test -s conftest.
$ac_objext; then
19180 ac_cv_member_struct_mtget_mt_blksiz
=yes
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.
$ac_ext >&5
19185 cat >conftest.
$ac_ext <<_ACEOF
19188 cat confdefs.h
>>conftest.
$ac_ext
19189 cat >>conftest.
$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 #include <sys/types.h>
19192 #ifdef HAVE_SYS_MTIO_H
19193 #include <sys/mtio.h>
19199 static struct mtget ac_aggr;
19200 if (sizeof ac_aggr.mt_blksiz)
19206 rm -f conftest.
$ac_objext
19207 if { (ac_try
="$ac_compile"
19208 case "(($ac_try" in
19209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19210 *) ac_try_echo=$ac_try;;
19212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19213 (eval "$ac_compile") 2>conftest.er1
19215 grep -v '^ *+' conftest.er1 >conftest.err
19217 cat conftest.err >&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } && {
19220 test -z "$ac_c_werror_flag" ||
19221 test ! -s conftest.err
19222 } && test -s conftest.$ac_objext; then
19223 ac_cv_member_struct_mtget_mt_blksiz=yes
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19228 ac_cv_member_struct_mtget_mt_blksiz=no
19231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19236 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19237 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19238 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19240 cat >>confdefs.h <<_ACEOF
19241 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19246 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19247 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19248 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19249 echo $ECHO_N "(cached) $ECHO_C" >&6
19251 cat >conftest.$ac_ext <<_ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #include <sys/types.h>
19258 #ifdef HAVE_SYS_MTIO_H
19259 #include <sys/mtio.h>
19265 static struct mtget ac_aggr;
19266 if (ac_aggr.mt_gstat)
19272 rm -f conftest.$ac_objext
19273 if { (ac_try="$ac_compile"
19274 case "(($ac_try" in
19275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19276 *) ac_try_echo
=$ac_try;;
19278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19279 (eval "$ac_compile") 2>conftest.er1
19281 grep -v '^ *+' conftest.er1
>conftest.err
19283 cat conftest.err
>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); } && {
19286 test -z "$ac_c_werror_flag" ||
19287 test ! -s conftest.err
19288 } && test -s conftest.
$ac_objext; then
19289 ac_cv_member_struct_mtget_mt_gstat
=yes
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.
$ac_ext >&5
19294 cat >conftest.
$ac_ext <<_ACEOF
19297 cat confdefs.h
>>conftest.
$ac_ext
19298 cat >>conftest.
$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 #include <sys/types.h>
19301 #ifdef HAVE_SYS_MTIO_H
19302 #include <sys/mtio.h>
19308 static struct mtget ac_aggr;
19309 if (sizeof ac_aggr.mt_gstat)
19315 rm -f conftest.
$ac_objext
19316 if { (ac_try
="$ac_compile"
19317 case "(($ac_try" in
19318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_compile") 2>conftest.er1
19324 grep -v '^ *+' conftest.er1 >conftest.err
19326 cat conftest.err >&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } && {
19329 test -z "$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19331 } && test -s conftest.$ac_objext; then
19332 ac_cv_member_struct_mtget_mt_gstat=yes
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19337 ac_cv_member_struct_mtget_mt_gstat=no
19340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19346 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19347 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19355 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19356 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19357 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19360 cat >conftest.$ac_ext <<_ACEOF
19363 cat confdefs.h >>conftest.$ac_ext
19364 cat >>conftest.$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19366 #include <sys/types.h>
19367 #ifdef HAVE_SYS_MTIO_H
19368 #include <sys/mtio.h>
19374 static struct mtget ac_aggr;
19375 if (ac_aggr.mt_blkno)
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19385 *) ac_try_echo
=$ac_try;;
19387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19390 grep -v '^ *+' conftest.er1
>conftest.err
19392 cat conftest.err
>&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.
$ac_objext; then
19398 ac_cv_member_struct_mtget_mt_blkno
=yes
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.
$ac_ext >&5
19403 cat >conftest.
$ac_ext <<_ACEOF
19406 cat confdefs.h
>>conftest.
$ac_ext
19407 cat >>conftest.
$ac_ext <<_ACEOF
19408 /* end confdefs.h. */
19409 #include <sys/types.h>
19410 #ifdef HAVE_SYS_MTIO_H
19411 #include <sys/mtio.h>
19417 static struct mtget ac_aggr;
19418 if (sizeof ac_aggr.mt_blkno)
19424 rm -f conftest.
$ac_objext
19425 if { (ac_try
="$ac_compile"
19426 case "(($ac_try" in
19427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19428 *) ac_try_echo=$ac_try;;
19430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19431 (eval "$ac_compile") 2>conftest.er1
19433 grep -v '^ *+' conftest.er1 >conftest.err
19435 cat conftest.err >&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } && {
19438 test -z "$ac_c_werror_flag" ||
19439 test ! -s conftest.err
19440 } && test -s conftest.$ac_objext; then
19441 ac_cv_member_struct_mtget_mt_blkno=yes
19443 echo "$as_me: failed program was:" >&5
19444 sed 's/^/| /' conftest.$ac_ext >&5
19446 ac_cv_member_struct_mtget_mt_blkno=no
19449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19455 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19456 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19458 cat >>confdefs.h <<_ACEOF
19459 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19466 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19467 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19468 if test "${ac_cv_member_struct_option_name+set}" = set; then
19469 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 cat >conftest.$ac_ext <<_ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 #ifdef HAVE_GETOPT_H
19478 #include <getopt.h>
19484 static struct option ac_aggr;
19491 rm -f conftest.$ac_objext
19492 if { (ac_try="$ac_compile"
19493 case "(($ac_try" in
19494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19495 *) ac_try_echo
=$ac_try;;
19497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19498 (eval "$ac_compile") 2>conftest.er1
19500 grep -v '^ *+' conftest.er1
>conftest.err
19502 cat conftest.err
>&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } && {
19505 test -z "$ac_c_werror_flag" ||
19506 test ! -s conftest.err
19507 } && test -s conftest.
$ac_objext; then
19508 ac_cv_member_struct_option_name
=yes
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.
$ac_ext >&5
19513 cat >conftest.
$ac_ext <<_ACEOF
19516 cat confdefs.h
>>conftest.
$ac_ext
19517 cat >>conftest.
$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 #ifdef HAVE_GETOPT_H
19520 #include <getopt.h>
19526 static struct option ac_aggr;
19527 if (sizeof ac_aggr.name)
19533 rm -f conftest.
$ac_objext
19534 if { (ac_try
="$ac_compile"
19535 case "(($ac_try" in
19536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_compile") 2>conftest.er1
19542 grep -v '^ *+' conftest.er1 >conftest.err
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } && {
19547 test -z "$ac_c_werror_flag" ||
19548 test ! -s conftest.err
19549 } && test -s conftest.$ac_objext; then
19550 ac_cv_member_struct_option_name=yes
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.$ac_ext >&5
19555 ac_cv_member_struct_option_name=no
19558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19564 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19565 if test $ac_cv_member_struct_option_name = yes; then
19567 cat >>confdefs.h <<_ACEOF
19568 #define HAVE_STRUCT_OPTION_NAME 1
19575 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19576 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19577 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 cat >conftest.$ac_ext <<_ACEOF
19583 cat confdefs.h >>conftest.$ac_ext
19584 cat >>conftest.$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 $ac_includes_default
19590 static struct stat ac_aggr;
19591 if (ac_aggr.st_blocks)
19597 rm -f conftest.$ac_objext
19598 if { (ac_try="$ac_compile"
19599 case "(($ac_try" in
19600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19601 *) ac_try_echo
=$ac_try;;
19603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19604 (eval "$ac_compile") 2>conftest.er1
19606 grep -v '^ *+' conftest.er1
>conftest.err
19608 cat conftest.err
>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); } && {
19611 test -z "$ac_c_werror_flag" ||
19612 test ! -s conftest.err
19613 } && test -s conftest.
$ac_objext; then
19614 ac_cv_member_struct_stat_st_blocks
=yes
19616 echo "$as_me: failed program was:" >&5
19617 sed 's/^/| /' conftest.
$ac_ext >&5
19619 cat >conftest.
$ac_ext <<_ACEOF
19622 cat confdefs.h
>>conftest.
$ac_ext
19623 cat >>conftest.
$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 $ac_includes_default
19629 static struct stat ac_aggr;
19630 if (sizeof ac_aggr.st_blocks)
19636 rm -f conftest.
$ac_objext
19637 if { (ac_try
="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19645 grep -v '^ *+' conftest.er1 >conftest.err
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.$ac_objext; then
19653 ac_cv_member_struct_stat_st_blocks=yes
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19658 ac_cv_member_struct_stat_st_blocks=no
19661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19666 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19667 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19668 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19670 cat >>confdefs.h <<_ACEOF
19671 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19678 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19679 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19680 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19681 echo $ECHO_N "(cached) $ECHO_C" >&6
19683 cat >conftest.$ac_ext <<_ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 #ifdef HAVE_SYS_TYPES_H
19690 #include <sys/types.h>
19692 #ifdef HAVE_NETINET_IN_H
19693 #include <netinet/in.h>
19699 static struct sockaddr_in6 ac_aggr;
19700 if (ac_aggr.sin6_scope_id)
19706 rm -f conftest.$ac_objext
19707 if { (ac_try="$ac_compile"
19708 case "(($ac_try" in
19709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19710 *) ac_try_echo
=$ac_try;;
19712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19713 (eval "$ac_compile") 2>conftest.er1
19715 grep -v '^ *+' conftest.er1
>conftest.err
19717 cat conftest.err
>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } && {
19720 test -z "$ac_c_werror_flag" ||
19721 test ! -s conftest.err
19722 } && test -s conftest.
$ac_objext; then
19723 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
19725 echo "$as_me: failed program was:" >&5
19726 sed 's/^/| /' conftest.
$ac_ext >&5
19728 cat >conftest.
$ac_ext <<_ACEOF
19731 cat confdefs.h
>>conftest.
$ac_ext
19732 cat >>conftest.
$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19734 #ifdef HAVE_SYS_TYPES_H
19735 #include <sys/types.h>
19737 #ifdef HAVE_NETINET_IN_H
19738 #include <netinet/in.h>
19744 static struct sockaddr_in6 ac_aggr;
19745 if (sizeof ac_aggr.sin6_scope_id)
19751 rm -f conftest.
$ac_objext
19752 if { (ac_try
="$ac_compile"
19753 case "(($ac_try" in
19754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19755 *) ac_try_echo=$ac_try;;
19757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19758 (eval "$ac_compile") 2>conftest.er1
19760 grep -v '^ *+' conftest.er1 >conftest.err
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } && {
19765 test -z "$ac_c_werror_flag" ||
19766 test ! -s conftest.err
19767 } && test -s conftest.$ac_objext; then
19768 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.$ac_ext >&5
19773 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19781 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19782 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19783 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19785 cat >>confdefs.h <<_ACEOF
19786 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19793 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19794 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19795 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 cat >conftest.$ac_ext <<_ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804 #ifdef HAVE_SYS_TYPES_H
19805 #include <sys/types.h>
19807 #ifdef HAVE_NETINET_IN_H
19808 # include <netinet/in.h>
19810 #ifdef HAVE_ARPA_NAMESER_H
19811 # include <arpa/nameser.h>
19817 static ns_msg ac_aggr;
19818 if (ac_aggr._msg_ptr)
19824 rm -f conftest.$ac_objext
19825 if { (ac_try="$ac_compile"
19826 case "(($ac_try" in
19827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19828 *) ac_try_echo
=$ac_try;;
19830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19831 (eval "$ac_compile") 2>conftest.er1
19833 grep -v '^ *+' conftest.er1
>conftest.err
19835 cat conftest.err
>&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); } && {
19838 test -z "$ac_c_werror_flag" ||
19839 test ! -s conftest.err
19840 } && test -s conftest.
$ac_objext; then
19841 ac_cv_member_ns_msg__msg_ptr
=yes
19843 echo "$as_me: failed program was:" >&5
19844 sed 's/^/| /' conftest.
$ac_ext >&5
19846 cat >conftest.
$ac_ext <<_ACEOF
19849 cat confdefs.h
>>conftest.
$ac_ext
19850 cat >>conftest.
$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19852 #ifdef HAVE_SYS_TYPES_H
19853 #include <sys/types.h>
19855 #ifdef HAVE_NETINET_IN_H
19856 # include <netinet/in.h>
19858 #ifdef HAVE_ARPA_NAMESER_H
19859 # include <arpa/nameser.h>
19865 static ns_msg ac_aggr;
19866 if (sizeof ac_aggr._msg_ptr)
19872 rm -f conftest.
$ac_objext
19873 if { (ac_try
="$ac_compile"
19874 case "(($ac_try" in
19875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19876 *) ac_try_echo=$ac_try;;
19878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19879 (eval "$ac_compile") 2>conftest.er1
19881 grep -v '^ *+' conftest.er1 >conftest.err
19883 cat conftest.err >&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } && {
19886 test -z "$ac_c_werror_flag" ||
19887 test ! -s conftest.err
19888 } && test -s conftest.$ac_objext; then
19889 ac_cv_member_ns_msg__msg_ptr=yes
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19894 ac_cv_member_ns_msg__msg_ptr=no
19897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19903 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19904 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19906 cat >>confdefs.h <<_ACEOF
19907 #define HAVE_NS_MSG__MSG_PTR 1
19914 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19915 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19916 if test "${ac_cv_have_timezone+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 cat >conftest.$ac_ext <<_ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19934 rm -f conftest.$ac_objext conftest$ac_exeext
19935 if { (ac_try="$ac_link"
19936 case "(($ac_try" in
19937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19938 *) ac_try_echo
=$ac_try;;
19940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19941 (eval "$ac_link") 2>conftest.er1
19943 grep -v '^ *+' conftest.er1
>conftest.err
19945 cat conftest.err
>&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); } && {
19948 test -z "$ac_c_werror_flag" ||
19949 test ! -s conftest.err
19950 } && test -s conftest
$ac_exeext &&
19951 $as_test_x conftest
$ac_exeext; then
19952 ac_cv_have_timezone
="yes"
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.
$ac_ext >&5
19957 ac_cv_have_timezone
="no"
19960 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19961 conftest
$ac_exeext conftest.
$ac_ext
19963 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19964 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19965 if test "$ac_cv_have_timezone" = "yes"
19968 cat >>confdefs.h
<<\_ACEOF
19969 #define HAVE_TIMEZONE 1
19973 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19974 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19975 if test "${ac_cv_have_daylight+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19978 cat >conftest.
$ac_ext <<_ACEOF
19981 cat confdefs.h
>>conftest.
$ac_ext
19982 cat >>conftest.
$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19993 rm -f conftest.
$ac_objext conftest
$ac_exeext
19994 if { (ac_try
="$ac_link"
19995 case "(($ac_try" in
19996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19997 *) ac_try_echo=$ac_try;;
19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_link") 2>conftest.er1
20002 grep -v '^ *+' conftest.er1 >conftest.err
20004 cat conftest.err >&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } && {
20007 test -z "$ac_c_werror_flag" ||
20008 test ! -s conftest.err
20009 } && test -s conftest$ac_exeext &&
20010 $as_test_x conftest$ac_exeext; then
20011 ac_cv_have_daylight="yes"
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20016 ac_cv_have_daylight="no"
20019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20020 conftest$ac_exeext conftest.$ac_ext
20022 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20023 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20024 if test "$ac_cv_have_daylight" = "yes"
20027 cat >>confdefs.h <<\_ACEOF
20028 #define HAVE_DAYLIGHT 1
20035 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20036 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20037 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20040 cat >conftest.$ac_ext <<_ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20051 $EGREP "yes" >/dev/null 2>&1; then
20052 ac_cv_cpp_def___i386__=yes
20054 ac_cv_cpp_def___i386__=no
20059 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20060 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20061 if test $ac_cv_cpp_def___i386__ = yes; then
20062 CFLAGS="$CFLAGS -D__i386__"
20063 LINTFLAGS="$LINTFLAGS -D__i386__"
20066 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20067 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20068 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20069 echo $ECHO_N "(cached) $ECHO_C" >&6
20071 cat >conftest.$ac_ext <<_ACEOF
20074 cat confdefs.h >>conftest.$ac_ext
20075 cat >>conftest.$ac_ext <<_ACEOF
20076 /* end confdefs.h. */
20081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20082 $EGREP "yes" >/dev/null 2>&1; then
20083 ac_cv_cpp_def___x86_64__=yes
20085 ac_cv_cpp_def___x86_64__=no
20090 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20091 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20092 if test $ac_cv_cpp_def___x86_64__ = yes; then
20093 CFLAGS="$CFLAGS -D__x86_64__"
20094 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20097 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20098 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20099 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20100 echo $ECHO_N "(cached) $ECHO_C" >&6
20102 cat >conftest.$ac_ext <<_ACEOF
20105 cat confdefs.h >>conftest.$ac_ext
20106 cat >>conftest.$ac_ext <<_ACEOF
20107 /* end confdefs.h. */
20112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20113 $EGREP "yes" >/dev/null 2>&1; then
20114 ac_cv_cpp_def___ALPHA__=yes
20116 ac_cv_cpp_def___ALPHA__=no
20121 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20122 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20123 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20124 CFLAGS="$CFLAGS -D__ALPHA__"
20125 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20128 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20129 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20130 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20131 echo $ECHO_N "(cached) $ECHO_C" >&6
20133 cat >conftest.$ac_ext <<_ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20144 $EGREP "yes" >/dev/null 2>&1; then
20145 ac_cv_cpp_def___sparc__=yes
20147 ac_cv_cpp_def___sparc__=no
20152 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20153 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20154 if test $ac_cv_cpp_def___sparc__ = yes; then
20155 CFLAGS="$CFLAGS -D__sparc__"
20156 LINTFLAGS="$LINTFLAGS -D__sparc__"
20159 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20160 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20161 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20162 echo $ECHO_N "(cached) $ECHO_C" >&6
20164 cat >conftest.$ac_ext <<_ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 #ifndef __powerpc__
20174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20175 $EGREP "yes" >/dev/null 2>&1; then
20176 ac_cv_cpp_def___powerpc__=yes
20178 ac_cv_cpp_def___powerpc__=no
20183 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20184 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20185 if test $ac_cv_cpp_def___powerpc__ = yes; then
20186 CFLAGS="$CFLAGS -D__powerpc__"
20187 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20192 case $host_vendor in
20193 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20194 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20195 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20198 cat >conftest.$ac_ext <<_ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20209 $EGREP "yes" >/dev/null 2>&1; then
20210 ac_cv_cpp_def___sun__=yes
20212 ac_cv_cpp_def___sun__=no
20217 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20218 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20219 if test $ac_cv_cpp_def___sun__ = yes; then
20220 CFLAGS="$CFLAGS -D__sun__"
20221 LINTFLAGS="$LINTFLAGS -D__sun__"
20227 DEPENDENCIES="### Dependencies:
20232 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20234 \$(OBJS): \$(IDL_GEN_HEADERS)
20235 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20236 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20237 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20243 ac_config_commands="$ac_config_commands include/stamp-h"
20246 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20248 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20250 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20252 ac_config_commands="$ac_config_commands dlls/user32/resources"
20254 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20256 ac_config_commands="$ac_config_commands include/wine"
20259 MAKE_RULES=Make.rules
20262 MAKE_DLL_RULES=dlls/Makedll.rules
20265 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20268 MAKE_TEST_RULES=dlls/Maketest.rules
20271 MAKE_PROG_RULES=programs/Makeprog.rules
20274 ac_config_files="$ac_config_files Make.rules"
20276 ac_config_files="$ac_config_files dlls/Makedll.rules"
20278 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20280 ac_config_files="$ac_config_files dlls/Maketest.rules"
20282 ac_config_files="$ac_config_files programs/Makeprog.rules"
20284 ac_config_files="$ac_config_files Makefile"
20286 ac_config_files="$ac_config_files dlls/Makefile"
20288 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20290 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20292 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20294 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20296 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20298 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20300 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20302 ac_config_files="$ac_config_files dlls/atl/Makefile"
20304 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20306 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20308 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20310 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20312 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20314 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20316 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20318 ac_config_files="$ac_config_files dlls/cards/Makefile"
20320 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20322 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20324 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20326 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20328 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20330 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20332 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20334 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20336 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20338 ac_config_files="$ac_config_files dlls/credui/Makefile"
20340 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20342 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20344 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20346 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20348 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20350 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20352 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20354 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20356 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20358 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20360 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20362 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20364 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20366 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20368 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20370 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20372 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20374 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20376 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20378 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20380 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20382 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20384 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20386 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20388 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20390 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20392 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20394 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20396 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20398 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20400 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20402 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20404 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20406 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20408 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20410 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20412 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20414 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20416 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20418 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20420 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20422 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20424 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20426 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20428 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20430 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20432 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20434 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20436 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20438 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20440 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20442 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20444 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20446 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20448 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20450 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20452 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20454 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20456 ac_config_files="$ac_config_files dlls/hal/Makefile"
20458 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20460 ac_config_files="$ac_config_files dlls/hid/Makefile"
20462 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20464 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20466 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20468 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20470 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20472 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20474 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20476 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20478 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20480 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20482 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20484 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20486 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20488 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20490 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20492 ac_config_files="$ac_config_files dlls/itss/Makefile"
20494 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20496 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20498 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20500 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20502 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20504 ac_config_files="$ac_config_files dlls/localui/Makefile"
20506 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20508 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20510 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20512 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20514 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20516 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20518 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20520 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20522 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20524 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20526 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20528 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20530 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20532 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20534 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20536 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20538 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20540 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20542 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20544 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20546 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20548 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20550 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20552 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20554 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20556 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20558 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20560 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20562 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20564 ac_config_files="$ac_config_files dlls/msi/Makefile"
20566 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20568 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20570 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20572 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20574 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20576 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20578 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20580 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20582 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20584 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20586 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20588 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20590 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20592 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20594 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20596 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20598 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20600 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20602 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20604 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20606 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20608 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20610 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20612 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20614 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20616 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20618 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20620 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20622 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20624 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20626 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20628 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20630 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20632 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20634 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20636 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20638 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20640 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20642 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20644 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20646 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20648 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20650 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20652 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20654 ac_config_files="$ac_config_files dlls/printui/Makefile"
20656 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20658 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20660 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20662 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20664 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20666 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20668 ac_config_files="$ac_config_files dlls/query/Makefile"
20670 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20672 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20674 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20676 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20678 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20680 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20682 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20684 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20686 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20688 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20690 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20692 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20694 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20696 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20698 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20700 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20702 ac_config_files="$ac_config_files dlls/security/Makefile"
20704 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20706 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20708 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20710 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20712 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20714 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20716 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20718 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20720 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20722 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20724 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20726 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20728 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20730 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20732 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20734 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20736 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20738 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20740 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20742 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20744 ac_config_files="$ac_config_files dlls/sti/Makefile"
20746 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20748 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20750 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20752 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20754 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20756 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20758 ac_config_files="$ac_config_files dlls/url/Makefile"
20760 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20762 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20764 ac_config_files="$ac_config_files dlls/user32/Makefile"
20766 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20768 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20770 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20772 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20774 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20776 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20778 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20780 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20782 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20784 ac_config_files="$ac_config_files dlls/version/Makefile"
20786 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20788 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20790 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20792 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20794 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20796 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20798 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20800 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20802 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20804 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20806 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20808 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20810 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20812 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20814 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20816 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20818 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20820 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20822 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20824 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20826 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20828 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20830 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20832 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
20834 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20836 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20838 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20840 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20842 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20844 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20846 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20848 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20850 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20852 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20854 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20856 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20858 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20860 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20862 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20864 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20866 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20868 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20870 ac_config_files="$ac_config_files documentation/Makefile"
20872 ac_config_files="$ac_config_files fonts/Makefile"
20874 ac_config_files="$ac_config_files include/Makefile"
20876 ac_config_files="$ac_config_files libs/Makefile"
20878 ac_config_files="$ac_config_files libs/port/Makefile"
20880 ac_config_files="$ac_config_files libs/wine/Makefile"
20882 ac_config_files="$ac_config_files libs/wpp/Makefile"
20884 ac_config_files="$ac_config_files loader/Makefile"
20886 ac_config_files="$ac_config_files programs/Makefile"
20888 ac_config_files="$ac_config_files programs/clock/Makefile"
20890 ac_config_files="$ac_config_files programs/cmd/Makefile"
20892 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20894 ac_config_files="$ac_config_files programs/control/Makefile"
20896 ac_config_files="$ac_config_files programs/eject/Makefile"
20898 ac_config_files="$ac_config_files programs/expand/Makefile"
20900 ac_config_files="$ac_config_files programs/explorer/Makefile"
20902 ac_config_files="$ac_config_files programs/hh/Makefile"
20904 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20906 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20908 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20910 ac_config_files="$ac_config_files programs/net/Makefile"
20912 ac_config_files="$ac_config_files programs/notepad/Makefile"
20914 ac_config_files="$ac_config_files programs/oleview/Makefile"
20916 ac_config_files="$ac_config_files programs/progman/Makefile"
20918 ac_config_files="$ac_config_files programs/regedit/Makefile"
20920 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20922 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20924 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20926 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20928 ac_config_files="$ac_config_files programs/start/Makefile"
20930 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20932 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20934 ac_config_files="$ac_config_files programs/view/Makefile"
20936 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20938 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20940 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20942 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20944 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20946 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20948 ac_config_files="$ac_config_files programs/winefile/Makefile"
20950 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20952 ac_config_files="$ac_config_files programs/winemine/Makefile"
20954 ac_config_files="$ac_config_files programs/winepath/Makefile"
20956 ac_config_files="$ac_config_files programs/winetest/Makefile"
20958 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20960 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20962 ac_config_files="$ac_config_files programs/winver/Makefile"
20964 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20966 ac_config_files="$ac_config_files programs/write/Makefile"
20968 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20970 ac_config_files="$ac_config_files server/Makefile"
20972 ac_config_files="$ac_config_files tools/Makefile"
20974 ac_config_files="$ac_config_files tools/widl/Makefile"
20976 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20978 ac_config_files="$ac_config_files tools/winedump/Makefile"
20980 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20982 ac_config_files="$ac_config_files tools/wmc/Makefile"
20984 ac_config_files="$ac_config_files tools/wrc/Makefile"
20987 cat >confcache <<\_ACEOF
20988 # This file is a shell script that caches the results of configure
20989 # tests run on this system so they can be shared between configure
20990 # scripts and configure runs, see configure's option --config-cache.
20991 # It is not useful on other systems. If it contains results you don't
20992 # want to keep, you may remove or edit it.
20994 # config.status only pays attention to the cache file if you give it
20995 # the --recheck option to rerun configure.
20997 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20998 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20999 # following values.
21003 # The following way of writing the cache mishandles newlines in values,
21004 # but we know of no workaround that is simple, portable, and efficient.
21005 # So, we kill variables containing newlines.
21006 # Ultrix sh set writes to stderr and can't be redirected directly,
21007 # and sets the high bit in the cache file unless we assign to the vars.
21009 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21010 eval ac_val
=\$
$ac_var
21014 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21015 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21018 _ | IFS | as_nl
) ;; #(
21019 *) $as_unset $ac_var ;;
21025 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21026 *${as_nl}ac_space
=\
*)
21027 # `set' does not quote correctly, so add quotes (double-quote
21028 # substitution turns \\\\ into \\, and sed turns \\ into \).
21031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21034 # `set' quotes correctly as required by POSIX, so do not add quotes.
21035 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21044 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21046 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21048 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21049 if test -w "$cache_file"; then
21050 test "x$cache_file" != "x/dev/null" &&
21051 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21052 echo "$as_me: updating cache $cache_file" >&6;}
21053 cat confcache
>$cache_file
21055 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21056 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21061 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21062 # Let make expand exec_prefix.
21063 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21065 DEFS
=-DHAVE_CONFIG_H
21069 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21070 # 1. Remove the extension, and $U if already installed.
21071 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21072 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21073 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21074 # will be set to the directory where LIBOBJS objects are built.
21075 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21076 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21078 LIBOBJS
=$ac_libobjs
21080 LTLIBOBJS
=$ac_ltlibobjs
21084 : ${CONFIG_STATUS=./config.status}
21085 ac_clean_files_save
=$ac_clean_files
21086 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21087 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21088 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21089 cat >$CONFIG_STATUS <<_ACEOF
21091 # Generated by $as_me.
21092 # Run this file to recreate the current configuration.
21093 # Compiler output produced by configure, useful for debugging
21094 # configure, is in config.log if it exists.
21097 ac_cs_recheck=false
21099 SHELL=\${CONFIG_SHELL-$SHELL}
21102 cat >>$CONFIG_STATUS <<\_ACEOF
21103 ## --------------------- ##
21104 ## M4sh Initialization. ##
21105 ## --------------------- ##
21107 # Be more Bourne compatible
21108 DUALCASE
=1; export DUALCASE
# for MKS sh
21109 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21112 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21113 # is contrary to our usage. Disable this feature.
21114 alias -g '${1+"$@"}'='"$@"'
21115 setopt NO_GLOB_SUBST
21117 case `(set -o) 2>/dev/null` in
21118 *posix
*) set -o posix
;;
21127 # Avoid depending upon Character Ranges.
21128 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21129 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21130 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21131 as_cr_digits
='0123456789'
21132 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21134 # The user is always right.
21135 if test "${PATH_SEPARATOR+set}" != set; then
21136 echo "#! /bin/sh" >conf$$.sh
21137 echo "exit 0" >>conf$$.sh
21139 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21147 # Support unset when possible.
21148 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21156 # We need space, tab and new line, in precisely that order. Quoting is
21157 # there to prevent editors from complaining about space-tab.
21158 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21159 # splitting by setting IFS to empty value.)
21164 # Find who we are. Look in the path if we contain no directory separator.
21166 *[\\/]* ) as_myself
=$0 ;;
21167 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21168 for as_dir
in $PATH
21171 test -z "$as_dir" && as_dir
=.
21172 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21178 # We did not find ourselves, most probably we were run as `sh COMMAND'
21179 # in which case we are not to be found in the path.
21180 if test "x$as_myself" = x
; then
21183 if test ! -f "$as_myself"; then
21184 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21185 { (exit 1); exit 1; }
21188 # Work around bugs in pre-3.0 UWIN ksh.
21189 for as_var
in ENV MAIL MAILPATH
21190 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21198 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21199 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21200 LC_TELEPHONE LC_TIME
21202 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21203 eval $as_var=C
; export $as_var
21205 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21209 # Required to use basename.
21210 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21211 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21217 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21218 as_basename
=basename
21224 # Name of the executable.
21225 as_me
=`$as_basename -- "$0" ||
21226 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21227 X"$0" : 'X\(//\)$' \| \
21228 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21230 sed '/^.*\/\([^/][^/]*\)\/*$/{
21249 as_lineno_1
=$LINENO
21250 as_lineno_2
=$LINENO
21251 test "x$as_lineno_1" != "x$as_lineno_2" &&
21252 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21254 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21255 # uniformly replaced by the line number. The first 'sed' inserts a
21256 # line-number line after each line using $LINENO; the second 'sed'
21257 # does the real work. The second script uses 'N' to pair each
21258 # line-number line with the line containing $LINENO, and appends
21259 # trailing '-' during substitution so that $LINENO is not a special
21260 # case at line end.
21261 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21262 # scripts with optimization help from Paolo Bonzini. Blame Lee
21263 # E. McMahon (1931-1989) for sed's syntax. :-)
21275 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21278 ' >$as_me.lineno
&&
21279 chmod +x
"$as_me.lineno" ||
21280 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21281 { (exit 1); exit 1; }; }
21283 # Don't try to exec as it changes $[0], causing all sort of problems
21284 # (the dirname of $[0] is not the place where we might find the
21285 # original and so on. Autoconf is especially sensitive to this).
21286 .
"./$as_me.lineno"
21287 # Exit status is that of the last command.
21292 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21298 ECHO_C
= ECHO_N
= ECHO_T
=
21299 case `echo -n x` in
21301 case `echo 'x\c'` in
21302 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21309 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21310 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21316 rm -f conf$$ conf$$.exe conf$$.
file
21317 if test -d conf$$.dir
; then
21318 rm -f conf$$.dir
/conf$$.
file
21324 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21326 # ... but there are two gotchas:
21327 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21328 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21329 # In both cases, we have to default to `cp -p'.
21330 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21332 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21337 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21338 rmdir conf$$.dir
2>/dev
/null
21340 if mkdir
-p .
2>/dev
/null
; then
21343 test -d .
/-p && rmdir .
/-p
21347 if test -x / >/dev
/null
2>&1; then
21348 as_test_x
='test -x'
21350 if ls -dL / >/dev
/null
2>&1; then
21357 if test -d "$1"; then
21363 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21364 ???[sx]*):;;*)false;;esac;fi
21368 as_executable_p
=$as_test_x
21370 # Sed expression to map a string onto a valid CPP name.
21371 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21373 # Sed expression to map a string onto a valid variable name.
21374 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21379 # Save the log message, to keep $[0] and so on meaningful, and to
21380 # report actual input values of CONFIG_FILES etc. instead of their
21381 # values after options handling.
21383 This file was extended by Wine $as_me 0.9.42, which was
21384 generated by GNU Autoconf 2.61. Invocation command line was
21386 CONFIG_FILES = $CONFIG_FILES
21387 CONFIG_HEADERS = $CONFIG_HEADERS
21388 CONFIG_LINKS = $CONFIG_LINKS
21389 CONFIG_COMMANDS = $CONFIG_COMMANDS
21392 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21397 cat >>$CONFIG_STATUS <<_ACEOF
21398 # Files that config.status was made for.
21399 config_files="$ac_config_files"
21400 config_headers="$ac_config_headers"
21401 config_commands="$ac_config_commands"
21405 cat >>$CONFIG_STATUS <<\_ACEOF
21407 \`$as_me' instantiates files from templates according to the
21408 current configuration.
21410 Usage: $0 [OPTIONS] [FILE]...
21412 -h, --help print this help, then exit
21413 -V, --version print version number and configuration settings, then exit
21414 -q, --quiet do not print progress messages
21415 -d, --debug don't remove temporary files
21416 --recheck update $as_me by reconfiguring in the same conditions
21417 --file=FILE[:TEMPLATE]
21418 instantiate the configuration file FILE
21419 --header=FILE[:TEMPLATE]
21420 instantiate the configuration header FILE
21422 Configuration files:
21425 Configuration headers:
21428 Configuration commands:
21431 Report bugs to <bug-autoconf@gnu.org>."
21434 cat >>$CONFIG_STATUS <<_ACEOF
21436 Wine config.status 0.9.42
21437 configured by $0, generated by GNU Autoconf 2.61,
21438 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21440 Copyright (C) 2006 Free Software Foundation, Inc.
21441 This config.status script is free software; the Free Software Foundation
21442 gives unlimited permission to copy, distribute and modify it."
21449 cat >>$CONFIG_STATUS <<\_ACEOF
21450 # If no file are specified by the user, then we need to provide default
21451 # value. By we need to know if files were specified by the user.
21457 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21458 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21469 # Handling of the options.
21470 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21472 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21473 echo "$ac_cs_version"; exit ;;
21474 --debug |
--debu |
--deb |
--de |
--d |
-d )
21476 --file |
--fil |
--fi |
--f )
21478 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21479 ac_need_defaults
=false
;;
21480 --header |
--heade |
--head |
--hea )
21482 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21483 ac_need_defaults
=false
;;
21485 # Conflict between --help and --header
21486 { echo "$as_me: error: ambiguous option: $1
21487 Try \`$0 --help' for more information." >&2
21488 { (exit 1); exit 1; }; };;
21489 --help |
--hel |
-h )
21490 echo "$ac_cs_usage"; exit ;;
21491 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21492 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21495 # This is an error.
21496 -*) { echo "$as_me: error: unrecognized option: $1
21497 Try \`$0 --help' for more information." >&2
21498 { (exit 1); exit 1; }; } ;;
21500 *) ac_config_targets
="$ac_config_targets $1"
21501 ac_need_defaults
=false
;;
21507 ac_configure_extra_args
=
21509 if $ac_cs_silent; then
21511 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21515 cat >>$CONFIG_STATUS <<_ACEOF
21516 if \$ac_cs_recheck; then
21517 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21518 CONFIG_SHELL=$SHELL
21519 export CONFIG_SHELL
21520 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21524 cat >>$CONFIG_STATUS <<\_ACEOF
21528 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21529 ## Running $as_me. ##
21535 cat >>$CONFIG_STATUS <<_ACEOF
21538 cat >>$CONFIG_STATUS <<\_ACEOF
21540 # Handling of arguments.
21541 for ac_config_target
in $ac_config_targets
21543 case $ac_config_target in
21544 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21545 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
21546 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21547 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21548 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21549 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
21550 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21551 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21552 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21553 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21554 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21555 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21556 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21557 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21558 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21559 "dlls/acledit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/acledit/Makefile" ;;
21560 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21561 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21562 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21563 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21564 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21565 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21566 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21567 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21568 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21569 "dlls/browseui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/Makefile" ;;
21570 "dlls/browseui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21571 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21572 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21573 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21574 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21575 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21576 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21577 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21578 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21579 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21580 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21581 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21582 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21583 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
21584 "dlls/credui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/credui/Makefile" ;;
21585 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21586 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21587 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21588 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21589 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21590 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21591 "dlls/d3d10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21592 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21593 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21594 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21595 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21596 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21597 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21598 "dlls/d3drm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21599 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21600 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21601 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21602 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21603 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21604 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21605 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21606 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21607 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21608 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21609 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21610 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21611 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21612 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21613 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21614 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21615 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21616 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21617 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21618 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21619 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21620 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21621 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21622 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21623 "dlls/dplayx/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21624 "dlls/dpnaddr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21625 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21626 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21627 "dlls/dpnlobby/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21628 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21629 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21630 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21631 "dlls/dwmapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21632 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21633 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21634 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21635 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21636 "dlls/faultrep/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21637 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21638 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21639 "dlls/gdiplus/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21640 "dlls/gdiplus/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21641 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21642 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21643 "dlls/hal/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hal/Makefile" ;;
21644 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21645 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
21646 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21647 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21648 "dlls/hnetcfg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21649 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21650 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21651 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21652 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21653 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21654 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21655 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21656 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21657 "dlls/inkobj/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21658 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
21659 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21660 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21661 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21662 "dlls/itss/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21663 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21664 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21665 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
21666 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21667 "dlls/localui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/Makefile" ;;
21668 "dlls/localui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21669 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21670 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21671 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21672 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21673 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21674 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21675 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21676 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21677 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21678 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21679 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21680 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21681 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21682 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21683 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21684 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21685 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21686 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21687 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21688 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21689 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21690 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21691 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21692 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21693 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21694 "dlls/mshtml.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21695 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21696 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21697 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21698 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21699 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21700 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21701 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21702 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21703 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21704 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21705 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21706 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21707 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21708 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21709 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21710 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21711 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21712 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21713 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21714 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21715 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21716 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21717 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21718 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21719 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21720 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21721 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21722 "dlls/ntprint/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21723 "dlls/ntprint/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21724 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21725 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21726 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21727 "dlls/odbccp32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21728 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21729 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21730 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21731 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21732 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21733 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21734 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21735 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21736 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21737 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21738 "dlls/opengl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
21739 "dlls/pdh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/Makefile" ;;
21740 "dlls/pdh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21741 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21742 "dlls/printui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/printui/Makefile" ;;
21743 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21744 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21745 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21746 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21747 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21748 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21749 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
21750 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21751 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
21752 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21753 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21754 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21755 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21756 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21757 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21758 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21759 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21760 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21761 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21762 "dlls/schannel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/Makefile" ;;
21763 "dlls/schannel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21764 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21765 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21766 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21767 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21768 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21769 "dlls/serialui/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21770 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21771 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21772 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21773 "dlls/sfc_os/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21774 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21775 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21776 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21777 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21778 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21779 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21780 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21781 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21782 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21783 "dlls/snmpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21784 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21785 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21786 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21787 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21788 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21789 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21790 "dlls/sxs/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sxs/Makefile" ;;
21791 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21792 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21793 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21794 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21795 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21796 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21797 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
21798 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21799 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21800 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21801 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21802 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21803 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21804 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21805 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21806 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21807 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21808 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21809 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21810 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21811 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21812 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21813 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21814 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21815 "dlls/winealsa.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21816 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21817 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21818 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21819 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21820 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21821 "dlls/wineesd.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21822 "dlls/winejack.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21823 "dlls/winejoystick.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21824 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21825 "dlls/winenas.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21826 "dlls/wineoss.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21827 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21828 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21829 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21830 "dlls/wing32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wing32/Makefile" ;;
21831 "dlls/winhttp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winhttp/Makefile" ;;
21832 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21833 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21834 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21835 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21836 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21837 "dlls/winscard/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winscard/Makefile" ;;
21838 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21839 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21840 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21841 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21842 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21843 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21844 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21845 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
21846 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21847 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21848 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21849 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21850 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
21851 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
21852 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
21853 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
21854 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
21855 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
21856 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
21857 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
21858 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
21859 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
21860 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
21861 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21862 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
21863 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
21864 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
21865 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
21866 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
21867 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
21868 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
21869 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
21870 "programs/net/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/net/Makefile" ;;
21871 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
21872 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
21873 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
21874 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
21875 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21876 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
21877 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
21878 "programs/spoolsv/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21879 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
21880 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21881 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21882 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
21883 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21884 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21885 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21886 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21887 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21888 "programs/winedevice/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedevice/Makefile" ;;
21889 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21890 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21891 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21892 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21893 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21894 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21895 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21896 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21897 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
21898 "programs/write/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/write/Makefile" ;;
21899 "programs/xcopy/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/xcopy/Makefile" ;;
21900 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21901 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21902 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21903 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21904 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21905 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21906 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21907 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21909 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21910 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21911 { (exit 1); exit 1; }; };;
21916 # If the user did not use the arguments to specify the items to instantiate,
21917 # then the envvar interface is used. Set only those that are not.
21918 # We use the long form for the default assignment because of an extremely
21919 # bizarre bug on SunOS 4.1.3.
21920 if $ac_need_defaults; then
21921 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21922 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21923 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21926 # Have a temporary directory for convenience. Make it in the build tree
21927 # simply because there is no reason against having it here, and in addition,
21928 # creating and moving files from /tmp can sometimes cause problems.
21929 # Hook for its removal unless debugging.
21930 # Note that there is a small window in which the directory will not be cleaned:
21931 # after its creation but before its name has been assigned to `$tmp'.
21935 trap 'exit_status=$?
21936 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21938 trap '{ (exit 1); exit 1; }' 1 2 13 15
21940 # Create a (secure) tmp directory for tmp files.
21943 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21944 test -n "$tmp" && test -d "$tmp"
21947 tmp
=.
/conf$$
-$RANDOM
21948 (umask 077 && mkdir
"$tmp")
21951 echo "$me: cannot create a temporary directory in ." >&2
21952 { (exit 1); exit 1; }
21956 # Set up the sed scripts for CONFIG_FILES section.
21959 # No need to generate the scripts if there are no CONFIG_FILES.
21960 # This happens for instance when ./config.status config.h
21961 if test -n "$CONFIG_FILES"; then
21965 # Create sed commands to just substitute file output variables.
21967 # Remaining file output variables are in a fragment that also has non-file
21973 for ac_last_try
in false false false false false
:; do
21974 cat >conf$
$subs.
sed <<_ACEOF
21975 SHELL!$SHELL$ac_delim
21976 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21977 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21978 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21979 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21980 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21981 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21982 exec_prefix!$exec_prefix$ac_delim
21983 prefix!$prefix$ac_delim
21984 program_transform_name!$program_transform_name$ac_delim
21985 bindir!$bindir$ac_delim
21986 sbindir!$sbindir$ac_delim
21987 libexecdir!$libexecdir$ac_delim
21988 datarootdir!$datarootdir$ac_delim
21989 datadir!$datadir$ac_delim
21990 sysconfdir!$sysconfdir$ac_delim
21991 sharedstatedir!$sharedstatedir$ac_delim
21992 localstatedir!$localstatedir$ac_delim
21993 includedir!$includedir$ac_delim
21994 oldincludedir!$oldincludedir$ac_delim
21995 docdir!$docdir$ac_delim
21996 infodir!$infodir$ac_delim
21997 htmldir!$htmldir$ac_delim
21998 dvidir!$dvidir$ac_delim
21999 pdfdir!$pdfdir$ac_delim
22000 psdir!$psdir$ac_delim
22001 libdir!$libdir$ac_delim
22002 localedir!$localedir$ac_delim
22003 mandir!$mandir$ac_delim
22004 DEFS!$DEFS$ac_delim
22005 ECHO_C!$ECHO_C$ac_delim
22006 ECHO_N!$ECHO_N$ac_delim
22007 ECHO_T!$ECHO_T$ac_delim
22008 LIBS!$LIBS$ac_delim
22009 build_alias!$build_alias$ac_delim
22010 host_alias!$host_alias$ac_delim
22011 target_alias!$target_alias$ac_delim
22012 build!$build$ac_delim
22013 build_cpu!$build_cpu$ac_delim
22014 build_vendor!$build_vendor$ac_delim
22015 build_os!$build_os$ac_delim
22016 host!$host$ac_delim
22017 host_cpu!$host_cpu$ac_delim
22018 host_vendor!$host_vendor$ac_delim
22019 host_os!$host_os$ac_delim
22020 WIN16_FILES!$WIN16_FILES$ac_delim
22021 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22022 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22023 WINETEST!$WINETEST$ac_delim
22024 SET_MAKE!$SET_MAKE$ac_delim
22026 CFLAGS!$CFLAGS$ac_delim
22027 LDFLAGS!$LDFLAGS$ac_delim
22028 CPPFLAGS!$CPPFLAGS$ac_delim
22029 ac_ct_CC!$ac_ct_CC$ac_delim
22030 EXEEXT!$EXEEXT$ac_delim
22031 OBJEXT!$OBJEXT$ac_delim
22033 CXXFLAGS!$CXXFLAGS$ac_delim
22034 ac_ct_CXX!$ac_ct_CXX$ac_delim
22035 CPPBIN!$CPPBIN$ac_delim
22036 TOOLSDIR!$TOOLSDIR$ac_delim
22037 XMKMF!$XMKMF$ac_delim
22039 X_CFLAGS!$X_CFLAGS$ac_delim
22040 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22041 X_LIBS!$X_LIBS$ac_delim
22042 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22043 FLEX!$FLEX$ac_delim
22044 BISON!$BISON$ac_delim
22046 ac_ct_AS!$ac_ct_AS$ac_delim
22049 RANLIB!$RANLIB$ac_delim
22050 STRIP!$STRIP$ac_delim
22051 WINDRES!$WINDRES$ac_delim
22052 LN_S!$LN_S$ac_delim
22054 GREP!$GREP$ac_delim
22055 EGREP!$EGREP$ac_delim
22056 LDCONFIG!$LDCONFIG$ac_delim
22059 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22061 elif $ac_last_try; then
22062 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22063 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22064 { (exit 1); exit 1; }; }
22066 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22070 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22071 if test -n "$ac_eof"; then
22072 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22073 ac_eof
=`expr $ac_eof + 1`
22076 cat >>$CONFIG_STATUS <<_ACEOF
22077 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22078 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22079 /^[ ]*@MAKE_RULES@[ ]*$/{
22083 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22087 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22088 r $MAKE_IMPLIB_RULES
22091 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22095 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22101 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22102 s/^/s,@/; s/!/@,|#_!!_#|/
22105 s/'"$ac_delim"'$/,g/; t
22107 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22108 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22109 rm -f conf$
$subs.
sed
22110 cat >>$CONFIG_STATUS <<_ACEOF
22116 for ac_last_try
in false false false false false
:; do
22117 cat >conf$
$subs.
sed <<_ACEOF
22118 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22119 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22120 INSTALL_DATA!$INSTALL_DATA$ac_delim
22121 LINT!$LINT$ac_delim
22122 LINTFLAGS!$LINTFLAGS$ac_delim
22123 FONTFORGE!$FONTFORGE$ac_delim
22124 PKG_CONFIG!$PKG_CONFIG$ac_delim
22125 PRELINK!$PRELINK$ac_delim
22126 LIBPTHREAD!$LIBPTHREAD$ac_delim
22127 XLIB!$XLIB$ac_delim
22128 XFILES!$XFILES$ac_delim
22129 OPENGLFILES!$OPENGLFILES$ac_delim
22130 GLU32FILES!$GLU32FILES$ac_delim
22131 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22132 QUARTZFILES!$QUARTZFILES$ac_delim
22133 DLLEXT!$DLLEXT$ac_delim
22134 DLLFLAGS!$DLLFLAGS$ac_delim
22135 LDSHARED!$LDSHARED$ac_delim
22136 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22137 LIBEXT!$LIBEXT$ac_delim
22138 IMPLIBEXT!$IMPLIBEXT$ac_delim
22139 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22140 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22142 DLLTOOL!$DLLTOOL$ac_delim
22143 DLLWRAP!$DLLWRAP$ac_delim
22144 MINGWAR!$MINGWAR$ac_delim
22145 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22146 IOKITLIB!$IOKITLIB$ac_delim
22147 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22148 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22149 COREAUDIO!$COREAUDIO$ac_delim
22150 CARBONLIB!$CARBONLIB$ac_delim
22151 CROSSTEST!$CROSSTEST$ac_delim
22152 CROSSCC!$CROSSCC$ac_delim
22153 CROSSWINDRES!$CROSSWINDRES$ac_delim
22154 NASLIBS!$NASLIBS$ac_delim
22155 XML2LIBS!$XML2LIBS$ac_delim
22156 XML2INCL!$XML2INCL$ac_delim
22157 XSLTLIBS!$XSLTLIBS$ac_delim
22158 XSLTINCL!$XSLTINCL$ac_delim
22159 HALINCL!$HALINCL$ac_delim
22160 sane_devel!$sane_devel$ac_delim
22161 SANEINCL!$SANEINCL$ac_delim
22162 gphoto2_devel!$gphoto2_devel$ac_delim
22163 gphoto2port_devel!$gphoto2port_devel$ac_delim
22164 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22165 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22166 ICULIBS!$ICULIBS$ac_delim
22167 RESOLVLIBS!$RESOLVLIBS$ac_delim
22168 LCMSLIBS!$LCMSLIBS$ac_delim
22169 LDAPLIBS!$LDAPLIBS$ac_delim
22170 ft_devel!$ft_devel$ac_delim
22171 FREETYPELIBS!$FREETYPELIBS$ac_delim
22172 FREETYPEINCL!$FREETYPEINCL$ac_delim
22173 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22174 ESDCONFIG!$ESDCONFIG$ac_delim
22175 ESDLIBS!$ESDLIBS$ac_delim
22176 ESDINCL!$ESDINCL$ac_delim
22177 ALSALIBS!$ALSALIBS$ac_delim
22178 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22179 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22180 BUILTINFLAG!$BUILTINFLAG$ac_delim
22181 LDPATH!$LDPATH$ac_delim
22182 CRTLIBS!$CRTLIBS$ac_delim
22183 SOCKETLIBS!$SOCKETLIBS$ac_delim
22184 MAIN_BINARY!$MAIN_BINARY$ac_delim
22185 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22186 LIBDL!$LIBDL$ac_delim
22187 LIBPOLL!$LIBPOLL$ac_delim
22188 DEPENDENCIES!$DEPENDENCIES$ac_delim
22189 LIBOBJS!$LIBOBJS$ac_delim
22190 LTLIBOBJS!$LTLIBOBJS$ac_delim
22193 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22195 elif $ac_last_try; then
22196 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22197 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22198 { (exit 1); exit 1; }; }
22200 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22204 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22205 if test -n "$ac_eof"; then
22206 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22207 ac_eof
=`expr $ac_eof + 1`
22210 cat >>$CONFIG_STATUS <<_ACEOF
22211 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22212 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22215 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22216 s/^/s,@/; s/!/@,|#_!!_#|/
22219 s/'"$ac_delim"'$/,g/; t
22221 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22222 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22223 rm -f conf$
$subs.
sed
22224 cat >>$CONFIG_STATUS <<_ACEOF
22231 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22232 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22233 # trailing colons and then remove the whole line if VPATH becomes empty
22234 # (actually we leave an empty line to preserve line numbers).
22235 if test "x$srcdir" = x.
; then
22236 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22237 s/:*\$(srcdir):*/:/
22238 s/:*\${srcdir}:*/:/
22240 s/^\([^=]*=[ ]*\):*/\1/
22246 cat >>$CONFIG_STATUS <<\_ACEOF
22247 fi # test -n "$CONFIG_FILES"
22250 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22253 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22255 case $ac_mode$ac_tag in
22257 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22258 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22259 { (exit 1); exit 1; }; };;
22260 :[FH
]-) ac_tag
=-:-;;
22261 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22278 -) ac_f
="$tmp/stdin";;
22279 *) # Look for the file first in the build tree, then in the source tree
22280 # (if the path is not absolute). The absolute path cannot be DOS-style,
22281 # because $ac_f cannot contain `:'.
22285 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22287 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22288 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22289 { (exit 1); exit 1; }; };;
22291 ac_file_inputs
="$ac_file_inputs $ac_f"
22294 # Let's still pretend it is `configure' which instantiates (i.e., don't
22295 # use $as_me), people would be surprised to read:
22296 # /* config.h. Generated by config.status. */
22297 configure_input
="Generated from "`IFS=:
22298 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22299 if test x
"$ac_file" != x-
; then
22300 configure_input
="$ac_file. $configure_input"
22301 { echo "$as_me:$LINENO: creating $ac_file" >&5
22302 echo "$as_me: creating $ac_file" >&6;}
22306 *:-:* |
*:-) cat >"$tmp/stdin";;
22311 ac_dir
=`$as_dirname -- "$ac_file" ||
22312 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22313 X"$ac_file" : 'X\(//\)[^/]' \| \
22314 X"$ac_file" : 'X\(//\)$' \| \
22315 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22321 /^X\(\/\/\)[^/].*/{
22336 -*) as_dir
=.
/$as_dir;;
22338 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22342 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22343 *) as_qdir
=$as_dir;;
22345 as_dirs
="'$as_qdir' $as_dirs"
22346 as_dir
=`$as_dirname -- "$as_dir" ||
22347 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22348 X"$as_dir" : 'X\(//\)[^/]' \| \
22349 X"$as_dir" : 'X\(//\)$' \| \
22350 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22356 /^X\(\/\/\)[^/].*/{
22369 test -d "$as_dir" && break
22371 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22372 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22373 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22374 { (exit 1); exit 1; }; }; }
22378 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22380 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22381 # A ".." for each directory in $ac_dir_suffix.
22382 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22383 case $ac_top_builddir_sub in
22384 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22385 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22388 ac_abs_top_builddir
=$ac_pwd
22389 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22390 # for backward compatibility:
22391 ac_top_builddir
=$ac_top_build_prefix
22394 .
) # We are building in place.
22396 ac_top_srcdir
=$ac_top_builddir_sub
22397 ac_abs_top_srcdir
=$ac_pwd ;;
22398 [\\/]* | ?
:[\\/]* ) # Absolute name.
22399 ac_srcdir
=$srcdir$ac_dir_suffix;
22400 ac_top_srcdir
=$srcdir
22401 ac_abs_top_srcdir
=$srcdir ;;
22402 *) # Relative name.
22403 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22404 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22405 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22407 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22417 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22418 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22422 cat >>$CONFIG_STATUS <<\_ACEOF
22423 # If the template does not know about datarootdir, expand it.
22424 # FIXME: This hack should be removed a few years after 2.60.
22425 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22427 case `sed -n '/datarootdir/ {
22436 ' $ac_file_inputs` in
22437 *datarootdir
*) ac_datarootdir_seen
=yes;;
22438 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22439 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22440 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22442 cat >>$CONFIG_STATUS <<_ACEOF
22443 ac_datarootdir_hack='
22444 s&@datadir@&$datadir&g
22445 s&@docdir@&$docdir&g
22446 s&@infodir@&$infodir&g
22447 s&@localedir@&$localedir&g
22448 s&@mandir@&$mandir&g
22449 s&\\\${datarootdir}&$datarootdir&g' ;;
22453 # Neutralize VPATH when `$srcdir' = `.'.
22454 # Shell code in configure.ac might set extrasub.
22455 # FIXME: do we really want to maintain this feature?
22456 cat >>$CONFIG_STATUS <<_ACEOF
22460 cat >>$CONFIG_STATUS <<\_ACEOF
22462 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22463 s
&@configure_input@
&$configure_input&;t t
22464 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22465 s
&@srcdir@
&$ac_srcdir&;t t
22466 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22467 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22468 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22469 s
&@builddir@
&$ac_builddir&;t t
22470 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22471 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22472 s
&@INSTALL@
&$ac_INSTALL&;t t
22473 $ac_datarootdir_hack
22474 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22476 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22477 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
22478 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
22479 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22480 which seems to be undefined. Please make sure it is defined." >&5
22481 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22482 which seems to be undefined. Please make sure it is defined." >&2;}
22486 -) cat "$tmp/out"; rm -f "$tmp/out";;
22487 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22496 # Transform confdefs.h into a sed script `conftest.defines', that
22497 # substitutes the proper values into config.h.in to produce config.h.
22498 rm -f conftest.defines conftest.
tail
22499 # First, append a space to every undef/define line, to ease matching.
22500 echo 's/$/ /' >conftest.defines
22501 # Then, protect against being on the right side of a sed subst, or in
22502 # an unquoted here document, in config.status. If some macros were
22503 # called several times there might be several #defines for the same
22504 # symbol, which is useless. But do not sort them, since the last
22505 # AC_DEFINE must be honored.
22506 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
22507 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22508 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22509 # PARAMS is the parameter list in the macro definition--in most cases, it's
22510 # just an empty string.
22511 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22512 ac_dB
='\\)[ (].*,\\1define\\2'
22520 s/^[ ]*#[ ]*define[ ][ ]*//
22525 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22526 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22527 ' >>conftest.defines
22529 # Remove the space that was appended to ease matching.
22530 # Then replace #undef with comments. This is necessary, for
22531 # example, in the case of _POSIX_SOURCE, which is predefined and required
22532 # on some systems where configure will not decide to define it.
22533 # (The regexp can be short, since the line contains either #define or #undef.)
22535 s,^[ #]*u.*,/* & */,' >>conftest.defines
22537 # Break up conftest.defines:
22538 ac_max_sed_lines
=50
22540 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22541 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22542 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22544 ac_in
='$ac_file_inputs'
22545 ac_out
='"$tmp/out1"'
22546 ac_nxt
='"$tmp/out2"'
22550 # Write a here document:
22551 cat >>$CONFIG_STATUS <<_ACEOF
22552 # First, check the format of the line:
22553 cat >"\$tmp/defines.sed" <<\\CEOF
22554 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22555 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22559 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
22561 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22562 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
22563 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
22564 grep . conftest.
tail >/dev
/null ||
break
22565 rm -f conftest.defines
22566 mv conftest.
tail conftest.defines
22568 rm -f conftest.defines conftest.
tail
22570 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22571 cat >>$CONFIG_STATUS <<\_ACEOF
22572 if test x
"$ac_file" != x-
; then
22573 echo "/* $configure_input */" >"$tmp/config.h"
22574 cat "$ac_result" >>"$tmp/config.h"
22575 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
22576 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22577 echo "$as_me: $ac_file is unchanged" >&6;}
22580 mv "$tmp/config.h" $ac_file
22583 echo "/* $configure_input */"
22589 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22590 echo "$as_me: executing $ac_file commands" >&6;}
22595 case $ac_file$ac_mode in
22596 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
22597 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22598 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
22599 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22600 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
22601 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22602 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
22603 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22604 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
22605 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22606 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
22607 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
22608 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
22614 { (exit 0); exit 0; }
22616 chmod +x
$CONFIG_STATUS
22617 ac_clean_files
=$ac_clean_files_save
22620 # configure is writing to config.log, and then calls config.status.
22621 # config.status does its own redirection, appending to config.log.
22622 # Unfortunately, on DOS this fails, as config.log is still kept open
22623 # by configure, so config.status won't be able to write to it; its
22624 # output is simply discarded. So we exec the FD to /dev/null,
22625 # effectively closing config.log, so it can be properly (re)opened and
22626 # appended to by config.status. When coming back to configure, we
22627 # need to make the FD available again.
22628 if test "$no_create" != yes; then
22630 ac_config_status_args
=
22631 test "$silent" = yes &&
22632 ac_config_status_args
="$ac_config_status_args --quiet"
22634 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22636 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22637 # would make configure fail if this is the last instruction.
22638 $ac_cs_success ||
{ (exit 1); exit 1; }
22642 if test "$no_create" = "yes"
22649 if test "$verbose" = "yes"; then
22650 for msg
in $wine_notices; do
22651 if test -n "$msg"; then
22653 { echo "$as_me:$LINENO: $msg" >&5
22654 echo "$as_me: $msg" >&6;}
22658 for msg
in $wine_warnings; do
22659 if test -n "$msg"; then
22661 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22662 echo "$as_me: WARNING: $msg" >&2;}
22668 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."