2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.21.
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 Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
561 PACKAGE_TARNAME
='wine'
562 PACKAGE_VERSION
='0.9.21'
563 PACKAGE_STRING
='Wine 0.9.21'
564 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
566 ac_unique_file
="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
571 # include <sys/types.h>
574 # include <sys/stat.h>
585 # if !STDC_HEADERS && HAVE_MEMORY_H
591 # include <strings.h>
594 # include <inttypes.h>
612 program_transform_name
762 ac_subst_files
='MAKE_RULES
767 ac_precious_vars
='build_alias
781 # Initialize some variables set by options.
783 ac_init_version
=false
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
793 program_transform_name
=s
,x
,x
,
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir
='${exec_prefix}/bin'
808 sbindir
='${exec_prefix}/sbin'
809 libexecdir
='${exec_prefix}/libexec'
810 datarootdir
='${prefix}/share'
811 datadir
='${datarootdir}'
812 sysconfdir
='${prefix}/etc'
813 sharedstatedir
='${prefix}/com'
814 localstatedir
='${prefix}/var'
815 includedir
='${prefix}/include'
816 oldincludedir
='/usr/include'
817 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir
='${datarootdir}/info'
823 libdir
='${exec_prefix}/lib'
824 localedir
='${datarootdir}/locale'
825 mandir
='${datarootdir}/man'
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\
$ac_option
839 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
843 # Accept the important Cygnus configure options, so we can diagnose typos.
845 case $ac_dashdash$ac_option in
849 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
851 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
854 -build |
--build |
--buil |
--bui |
--bu)
855 ac_prev
=build_alias
;;
856 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
857 build_alias
=$ac_optarg ;;
859 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
860 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
861 ac_prev
=cache_file
;;
862 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
863 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
864 cache_file
=$ac_optarg ;;
867 cache_file
=config.cache
;;
869 -datadir |
--datadir |
--datadi |
--datad)
871 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
872 datadir
=$ac_optarg ;;
874 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
875 |
--dataroo |
--dataro |
--datar)
876 ac_prev
=datarootdir
;;
877 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
878 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
879 datarootdir
=$ac_optarg ;;
881 -disable-* |
--disable-*)
882 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
885 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
886 { (exit 1); exit 1; }; }
887 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
888 eval enable_
$ac_feature=no
;;
890 -docdir |
--docdir |
--docdi |
--doc |
--do)
892 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
895 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
897 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
900 -enable-* |
--enable-*)
901 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
905 { (exit 1); exit 1; }; }
906 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
907 eval enable_
$ac_feature=\
$ac_optarg ;;
909 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
910 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
911 |
--exec |
--exe |
--ex)
912 ac_prev
=exec_prefix
;;
913 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
914 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
915 |
--exec=* |
--exe=* |
--ex=*)
916 exec_prefix
=$ac_optarg ;;
918 -gas |
--gas |
--ga |
--g)
919 # Obsolete; use --with-gas.
922 -help |
--help |
--hel |
--he |
-h)
924 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
925 ac_init_help
=recursive
;;
926 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
927 ac_init_help
=short
;;
929 -host |
--host |
--hos |
--ho)
930 ac_prev
=host_alias
;;
931 -host=* |
--host=* |
--hos=* |
--ho=*)
932 host_alias
=$ac_optarg ;;
934 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
936 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
938 htmldir
=$ac_optarg ;;
940 -includedir |
--includedir |
--includedi |
--included |
--include \
941 |
--includ |
--inclu |
--incl |
--inc)
942 ac_prev
=includedir
;;
943 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
944 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
945 includedir
=$ac_optarg ;;
947 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
949 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
950 infodir
=$ac_optarg ;;
952 -libdir |
--libdir |
--libdi |
--libd)
954 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
957 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
958 |
--libexe |
--libex |
--libe)
959 ac_prev
=libexecdir
;;
960 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
961 |
--libexe=* |
--libex=* |
--libe=*)
962 libexecdir
=$ac_optarg ;;
964 -localedir |
--localedir |
--localedi |
--localed |
--locale)
966 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
967 localedir
=$ac_optarg ;;
969 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
970 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
971 ac_prev
=localstatedir
;;
972 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
973 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
974 localstatedir
=$ac_optarg ;;
976 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
978 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
982 # Obsolete; use --without-fp.
985 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
986 |
--no-cr |
--no-c |
-n)
989 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
990 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
993 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
994 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
995 |
--oldin |
--oldi |
--old |
--ol |
--o)
996 ac_prev
=oldincludedir
;;
997 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
998 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
999 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1000 oldincludedir
=$ac_optarg ;;
1002 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1004 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1005 prefix
=$ac_optarg ;;
1007 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1008 |
--program-pre |
--program-pr |
--program-p)
1009 ac_prev
=program_prefix
;;
1010 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1011 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1012 program_prefix
=$ac_optarg ;;
1014 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1015 |
--program-suf |
--program-su |
--program-s)
1016 ac_prev
=program_suffix
;;
1017 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1018 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1019 program_suffix
=$ac_optarg ;;
1021 -program-transform-name |
--program-transform-name \
1022 |
--program-transform-nam |
--program-transform-na \
1023 |
--program-transform-n |
--program-transform- \
1024 |
--program-transform |
--program-transfor \
1025 |
--program-transfo |
--program-transf \
1026 |
--program-trans |
--program-tran \
1027 |
--progr-tra |
--program-tr |
--program-t)
1028 ac_prev
=program_transform_name
;;
1029 -program-transform-name=* |
--program-transform-name=* \
1030 |
--program-transform-nam=* |
--program-transform-na=* \
1031 |
--program-transform-n=* |
--program-transform-=* \
1032 |
--program-transform=* |
--program-transfor=* \
1033 |
--program-transfo=* |
--program-transf=* \
1034 |
--program-trans=* |
--program-tran=* \
1035 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1036 program_transform_name
=$ac_optarg ;;
1038 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1040 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1041 pdfdir
=$ac_optarg ;;
1043 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1045 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1049 |
-silent |
--silent |
--silen |
--sile |
--sil)
1052 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1054 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1056 sbindir
=$ac_optarg ;;
1058 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1059 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1060 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1062 ac_prev
=sharedstatedir
;;
1063 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1064 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1065 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1067 sharedstatedir
=$ac_optarg ;;
1069 -site |
--site |
--sit)
1071 -site=* |
--site=* |
--sit=*)
1074 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1076 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1077 srcdir
=$ac_optarg ;;
1079 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1080 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1081 ac_prev
=sysconfdir
;;
1082 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1083 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1084 sysconfdir
=$ac_optarg ;;
1086 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1087 ac_prev
=target_alias
;;
1088 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1089 target_alias
=$ac_optarg ;;
1091 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1094 -version |
--version |
--versio |
--versi |
--vers |
-V)
1095 ac_init_version
=: ;;
1098 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1101 { echo "$as_me: error: invalid package name: $ac_package" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1104 eval with_
$ac_package=\
$ac_optarg ;;
1106 -without-* |
--without-*)
1107 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1110 { echo "$as_me: error: invalid package name: $ac_package" >&2
1111 { (exit 1); exit 1; }; }
1112 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1113 eval with_
$ac_package=no
;;
1116 # Obsolete; use --with-x.
1119 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1120 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1121 ac_prev
=x_includes
;;
1122 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1123 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1124 x_includes
=$ac_optarg ;;
1126 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1127 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1128 ac_prev
=x_libraries
;;
1129 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1130 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1131 x_libraries
=$ac_optarg ;;
1133 -*) { echo "$as_me: error: unrecognized option: $ac_option
1134 Try \`$0 --help' for more information." >&2
1135 { (exit 1); exit 1; }; }
1139 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1142 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1143 { (exit 1); exit 1; }; }
1144 eval $ac_envvar=\
$ac_optarg
1145 export $ac_envvar ;;
1148 # FIXME: should be removed in autoconf 3.0.
1149 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1151 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1152 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158 if test -n "$ac_prev"; then
1159 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1160 { echo "$as_me: error: missing argument to $ac_option" >&2
1161 { (exit 1); exit 1; }; }
1164 # Be sure to have absolute directory names.
1165 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir
1170 eval ac_val
=\$
$ac_var
1172 [\\/$
]* | ?
:[\\/]* ) continue;;
1173 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1175 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1176 { (exit 1); exit 1; }; }
1179 # There might be people who depend on the old broken behavior: `$host'
1180 # used to hold the argument of --host etc.
1181 # FIXME: To remove some day.
1184 target
=$target_alias
1186 # FIXME: To remove some day.
1187 if test "x$host_alias" != x
; then
1188 if test "x$build_alias" = x
; then
1189 cross_compiling
=maybe
1190 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1191 If a cross compiler is detected then cross compile mode will be used." >&2
1192 elif test "x$build_alias" != "x$host_alias"; then
1198 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1200 test "$silent" = yes && exec 6>/dev
/null
1203 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1204 ac_ls_di
=`ls -di .` &&
1205 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1206 { echo "$as_me: error: Working directory cannot be determined" >&2
1207 { (exit 1); exit 1; }; }
1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 { echo "$as_me: error: pwd does not report name of working directory" >&2
1210 { (exit 1); exit 1; }; }
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted
=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir
=`$as_dirname -- "$0" ||
1218 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$0" : 'X\(//\)[^/]' \| \
1220 X"$0" : 'X\(//\)$' \| \
1221 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1245 ac_srcdir_defaulted
=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1249 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1250 { (exit 1); exit 1; }; }
1252 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1254 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1255 { (exit 1); exit 1; }; }
1257 # When building in place, set srcdir=.
1258 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 # Remove unnecessary trailing slashes from srcdir.
1262 # Double slashes in file names in object file debugging info
1263 # mess up M-x gdb in Emacs.
1265 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 for ac_var
in $ac_precious_vars; do
1268 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1269 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1270 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1271 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1275 # Report the --help message.
1277 if test "$ac_init_help" = "long"; then
1278 # Omit some internal or obsolete options to make the list less imposing.
1279 # This message is too long to be a string in the A/UX 3.1 sh.
1281 \`configure' configures Wine 0.9.21 to adapt to many kinds of systems.
1283 Usage: $0 [OPTION]... [VAR=VALUE]...
1285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286 VAR=VALUE. See below for descriptions of some of the useful variables.
1288 Defaults for the options are specified in brackets.
1291 -h, --help display this help and exit
1292 --help=short display options specific to this package
1293 --help=recursive display the short help of all the included packages
1294 -V, --version display version information and exit
1295 -q, --quiet, --silent do not print \`checking...' messages
1296 --cache-file=FILE cache test results in FILE [disabled]
1297 -C, --config-cache alias for \`--cache-file=config.cache'
1298 -n, --no-create do not create output files
1299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1301 Installation directories:
1302 --prefix=PREFIX install architecture-independent files in PREFIX
1303 [$ac_default_prefix]
1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 By default, \`make install' will install all the files in
1308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310 for instance \`--prefix=\$HOME'.
1312 For better control, use the options below.
1314 Fine tuning of the installation directories:
1315 --bindir=DIR user executables [EPREFIX/bin]
1316 --sbindir=DIR system admin executables [EPREFIX/sbin]
1317 --libexecdir=DIR program executables [EPREFIX/libexec]
1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1321 --libdir=DIR object code libraries [EPREFIX/lib]
1322 --includedir=DIR C header files [PREFIX/include]
1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1326 --infodir=DIR info documentation [DATAROOTDIR/info]
1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1328 --mandir=DIR man documentation [DATAROOTDIR/man]
1329 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1339 --x-includes=DIR X include files are
in DIR
1340 --x-libraries=DIR X library files are
in DIR
1343 --build=BUILD configure
for building on BUILD
[guessed
]
1344 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1348 if test -n "$ac_init_help"; then
1349 case $ac_init_help in
1350 short | recursive
) echo "Configuration of Wine 0.9.21:";;
1355 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1356 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1357 --disable-win16 do not include Win16 support
1358 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1364 --without-opengl do not use OpenGL
1365 --without-curses do not use curses
1366 --with-wine-tools=<dir> use Wine tools from directory <dir>
1367 --with-x use the X Window System
1369 Some influential environment variables:
1370 CC C compiler command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1373 nonstandard directory <lib dir>
1374 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1375 you have headers in a nonstandard directory <include dir>
1376 CXX C++ compiler command
1377 CXXFLAGS C++ compiler flags
1378 XMKMF Path to xmkmf, Makefile generator for X Window System
1381 Use these variables to override the choices made by `configure' or to
help
1382 it to
find libraries and programs with nonstandard names
/locations.
1384 Report bugs to
<wine-devel@winehq.org
>.
1389 if test "$ac_init_help" = "recursive"; then
1390 # If there are subdirs, report their specific --help.
1391 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1392 test -d "$ac_dir" ||
continue
1396 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1398 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1403 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1406 ac_abs_top_builddir
=$ac_pwd
1407 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir
=$ac_top_build_prefix
1412 .
) # We are building in place.
1414 ac_top_srcdir
=$ac_top_builddir_sub
1415 ac_abs_top_srcdir
=$ac_pwd ;;
1416 [\\/]* | ?
:[\\/]* ) # Absolute name.
1417 ac_srcdir
=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir
=$srcdir
1419 ac_abs_top_srcdir
=$srcdir ;;
1421 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1425 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1427 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1428 # Check for guested configure.
1429 if test -f "$ac_srcdir/configure.gnu"; then
1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1432 elif test -f "$ac_srcdir/configure"; then
1434 $SHELL "$ac_srcdir/configure" --help=recursive
1436 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1445 Wine configure
0.9.21
1446 generated by GNU Autoconf
2.60a
1448 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1449 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1450 This configure
script is free software
; the Free Software Foundation
1451 gives unlimited permission to copy
, distribute and modify it.
1455 cat >config.log
<<_ACEOF
1456 This file contains any messages produced by compilers while
1457 running configure, to aid debugging if configure makes a mistake.
1459 It was created by Wine $as_me 0.9.21, which was
1460 generated by GNU Autoconf 2.60a. Invocation command line was
1472 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1473 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1474 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1475 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1476 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1478 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1479 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1481 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1482 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1483 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1484 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1485 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1486 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1487 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1495 test -z "$as_dir" && as_dir
=.
1496 echo "PATH: $as_dir"
1512 # Keep a trace of the command line.
1513 # Strip out --no-create and --no-recursion so they do not pile up.
1514 # Strip out --silent because we don't want to record it for future runs.
1515 # Also quote any args containing shell meta-characters.
1516 # Make two passes to allow for proper duplicate-argument suppression.
1520 ac_must_keep_next
=false
1526 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1527 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1528 |
-silent |
--silent |
--silen |
--sile |
--sil)
1531 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1534 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1536 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1537 if test $ac_must_keep_next = true
; then
1538 ac_must_keep_next
=false
# Got value, back to normal.
1541 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1542 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1543 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1544 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1545 case "$ac_configure_args0 " in
1546 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 -* ) ac_must_keep_next
=true
;;
1552 ac_configure_args
="$ac_configure_args '$ac_arg'"
1557 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1558 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1560 # When interrupted or exit'd, cleanup temporary files, and complete
1561 # config.log. We remove comments because anyway the quotes in there
1562 # would cause problems or look ugly.
1563 # WARNING: Use '\'' to represent an apostrophe within the trap.
1564 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1565 trap 'exit_status=$?
1566 # Save into config.log some information that might help in debugging.
1571 ## ---------------- ##
1572 ## Cache variables. ##
1573 ## ---------------- ##
1576 # The following way of writing the cache mishandles newlines in values,
1578 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1579 eval ac_val=\$$ac_var
1583 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1584 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1587 _ | IFS | as_nl) ;; #(
1588 *) $as_unset $ac_var ;;
1593 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1594 *${as_nl}ac_space=\ *)
1596 "s/'\''/'\''\\\\'\'''\''/g;
1597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1608 ## ----------------- ##
1609 ## Output variables. ##
1610 ## ----------------- ##
1613 for ac_var in $ac_subst_vars
1615 eval ac_val=\$$ac_var
1617 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 echo "$ac_var='\''$ac_val'\''"
1623 if test -n "$ac_subst_files"; then
1625 ## ------------------- ##
1626 ## File substitutions. ##
1627 ## ------------------- ##
1630 for ac_var
in $ac_subst_files
1632 eval ac_val
=\$
$ac_var
1634 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1636 echo "$ac_var='\''$ac_val'\''"
1641 if test -s confdefs.h; then
1651 test "$ac_signal" != 0 &&
1652 echo "$as_me: caught signal $ac_signal"
1653 echo "$as_me: exit $exit_status"
1655 rm -f core *.core core.conftest.* &&
1656 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659 for ac_signal
in 1 2 13 15; do
1660 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1664 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1665 rm -f -r conftest
* confdefs.h
1667 # Predefined preprocessor variables.
1669 cat >>confdefs.h
<<_ACEOF
1670 #define PACKAGE_NAME "$PACKAGE_NAME"
1674 cat >>confdefs.h
<<_ACEOF
1675 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1679 cat >>confdefs.h
<<_ACEOF
1680 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1684 cat >>confdefs.h
<<_ACEOF
1685 #define PACKAGE_STRING "$PACKAGE_STRING"
1689 cat >>confdefs.h
<<_ACEOF
1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1694 # Let the site file select an alternate cache file if it wants to.
1695 # Prefer explicitly selected file to automatically selected ones.
1696 if test -n "$CONFIG_SITE"; then
1697 set x
"$CONFIG_SITE"
1698 elif test "x$prefix" != xNONE
; then
1699 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1701 set x
"$ac_default_prefix/share/config.site" \
1702 "$ac_default_prefix/etc/config.site"
1707 if test -r "$ac_site_file"; then
1708 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1709 echo "$as_me: loading site script $ac_site_file" >&6;}
1710 sed 's/^/| /' "$ac_site_file" >&5
1715 if test -r "$cache_file"; then
1716 # Some versions of bash will fail to source /dev/null (special
1717 # files actually), so we avoid doing that.
1718 if test -f "$cache_file"; then
1719 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1720 echo "$as_me: loading cache $cache_file" >&6;}
1722 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1723 *) .
"./$cache_file";;
1727 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1728 echo "$as_me: creating cache $cache_file" >&6;}
1732 # Check that the precious variables saved in the cache have kept the same
1734 ac_cache_corrupted
=false
1735 for ac_var
in $ac_precious_vars; do
1736 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1737 eval ac_new_set
=\
$ac_env_${ac_var}_set
1738 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1739 eval ac_new_val
=\
$ac_env_${ac_var}_value
1740 case $ac_old_set,$ac_new_set in
1742 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1743 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1744 ac_cache_corrupted
=: ;;
1746 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1747 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1748 ac_cache_corrupted
=: ;;
1751 if test "x$ac_old_val" != "x$ac_new_val"; then
1752 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1753 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1754 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1755 echo "$as_me: former value: $ac_old_val" >&2;}
1756 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1757 echo "$as_me: current value: $ac_new_val" >&2;}
1758 ac_cache_corrupted
=:
1761 # Pass precious variables to config.status.
1762 if test "$ac_new_set" = set; then
1764 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1765 *) ac_arg
=$ac_var=$ac_new_val ;;
1767 case " $ac_configure_args " in
1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1769 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1773 if $ac_cache_corrupted; then
1774 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1775 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1776 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1777 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1778 { (exit 1); exit 1; }; }
1806 ac_cpp
='$CPP $CPPFLAGS'
1807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1813 ac_config_headers
="$ac_config_headers include/config.h"
1816 for ac_dir
in tools
"$srcdir"/tools
; do
1817 if test -f "$ac_dir/install-sh"; then
1819 ac_install_sh
="$ac_aux_dir/install-sh -c"
1821 elif test -f "$ac_dir/install.sh"; then
1823 ac_install_sh
="$ac_aux_dir/install.sh -c"
1825 elif test -f "$ac_dir/shtool"; then
1827 ac_install_sh
="$ac_aux_dir/shtool install -c"
1831 if test -z "$ac_aux_dir"; then
1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1833 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1834 { (exit 1); exit 1; }; }
1837 # These three variables are undocumented and unsupported,
1838 # and are intended to be withdrawn in a future Autoconf release.
1839 # They can cause serious problems if a builder's source tree is in a directory
1840 # whose full name contains unusual characters.
1841 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1842 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1843 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1848 # Check whether --enable-win16 was given.
1849 if test "${enable_win16+set}" = set; then
1850 enableval
=$enable_win16;
1853 # Check whether --enable-win64 was given.
1854 if test "${enable_win64+set}" = set; then
1855 enableval
=$enable_win64;
1860 # Check whether --with-opengl was given.
1861 if test "${with_opengl+set}" = set; then
1862 withval
=$with_opengl;
1866 # Check whether --with-curses was given.
1867 if test "${with_curses+set}" = set; then
1868 withval
=$with_curses;
1872 # Check whether --with-wine-tools was given.
1873 if test "${with_wine_tools+set}" = set; then
1874 withval
=$with_wine_tools;
1878 # Make sure we can run config.sub.
1879 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1880 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1881 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1882 { (exit 1); exit 1; }; }
1884 { echo "$as_me:$LINENO: checking build system type" >&5
1885 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1886 if test "${ac_cv_build+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 ac_build_alias
=$build_alias
1890 test "x$ac_build_alias" = x
&&
1891 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1892 test "x$ac_build_alias" = x
&&
1893 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1894 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1895 { (exit 1); exit 1; }; }
1896 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1897 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1898 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1899 { (exit 1); exit 1; }; }
1902 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1903 echo "${ECHO_T}$ac_cv_build" >&6; }
1904 case $ac_cv_build in
1906 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1907 echo "$as_me: error: invalid value of canonical build" >&2;}
1908 { (exit 1); exit 1; }; };;
1911 ac_save_IFS
=$IFS; IFS
='-'
1917 # Remember, the first character of IFS is used to create $*,
1918 # except with old shells:
1921 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1924 { echo "$as_me:$LINENO: checking host system type" >&5
1925 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1926 if test "${ac_cv_host+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test "x$host_alias" = x
; then
1930 ac_cv_host
=$ac_cv_build
1932 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1933 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1934 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1935 { (exit 1); exit 1; }; }
1939 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1940 echo "${ECHO_T}$ac_cv_host" >&6; }
1943 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1944 echo "$as_me: error: invalid value of canonical host" >&2;}
1945 { (exit 1); exit 1; }; };;
1948 ac_save_IFS
=$IFS; IFS
='-'
1954 # Remember, the first character of IFS is used to create $*,
1955 # except with old shells:
1958 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1963 if test "x$enable_win64" != "xyes"
1965 test -n "$CC" || CC
="gcc -m32"
1966 test -n "$LD" || LD
="ld -m elf_i386"
1967 test -n "$AS" || AS
="as --32"
1975 if test "x$enable_win16" != "xno"
1982 WIN16_FILES
="\$(WIN16_FILES)"
1984 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1986 if test "x$enable_win16" != "xyes"
1993 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1994 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1995 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1996 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 cat >conftest.
make <<\_ACEOF
2002 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2005 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2007 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2009 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2013 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2014 { echo "$as_me:$LINENO: result: yes" >&5
2015 echo "${ECHO_T}yes" >&6; }
2018 { echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6; }
2020 SET_MAKE
="MAKE=${MAKE-make}"
2024 ac_cpp
='$CPP $CPPFLAGS'
2025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2028 if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2030 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2033 if test "${ac_cv_prog_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC
="$CC" # Let the user override the test.
2039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir
=.
2044 for ac_exec_ext
in '' $ac_executable_extensions; do
2045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2046 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 if test -n "$CC"; then
2058 { echo "$as_me:$LINENO: result: $CC" >&5
2059 echo "${ECHO_T}$CC" >&6; }
2061 { echo "$as_me:$LINENO: result: no" >&5
2062 echo "${ECHO_T}no" >&6; }
2067 if test -z "$ac_cv_prog_CC"; then
2069 # Extract the first word of "gcc", so it can be a program name with args.
2070 set dummy gcc
; ac_word
=$2
2071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2074 echo $ECHO_N "(cached) $ECHO_C" >&6
2076 if test -n "$ac_ct_CC"; then
2077 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir
=.
2084 for ac_exec_ext
in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_ac_ct_CC
="gcc"
2087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2097 if test -n "$ac_ct_CC"; then
2098 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2099 echo "${ECHO_T}$ac_ct_CC" >&6; }
2101 { echo "$as_me:$LINENO: result: no" >&5
2102 echo "${ECHO_T}no" >&6; }
2105 if test "x$ac_ct_CC" = x
; then
2108 case $cross_compiling:$ac_tool_warned in
2110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2111 whose name does not start with the host triplet. If you think this
2112 configuration is useful to you, please write to autoconf@gnu.org." >&5
2113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2114 whose name does not start with the host triplet. If you think this
2115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2116 ac_tool_warned
=yes ;;
2124 if test -z "$CC"; then
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2127 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2130 if test "${ac_cv_prog_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC
="$CC" # Let the user override the test.
2136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir
=.
2141 for ac_exec_ext
in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 if test -n "$CC"; then
2155 { echo "$as_me:$LINENO: result: $CC" >&5
2156 echo "${ECHO_T}$CC" >&6; }
2158 { echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6; }
2165 if test -z "$CC"; then
2166 # Extract the first word of "cc", so it can be a program name with args.
2167 set dummy cc
; ac_word
=$2
2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test -n "$CC"; then
2174 ac_cv_prog_CC
="$CC" # Let the user override the test.
2177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir
=.
2182 for ac_exec_ext
in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2185 ac_prog_rejected
=yes
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 if test $ac_prog_rejected = yes; then
2197 # We found a bogon in the path, so make sure we never use it.
2198 set dummy
$ac_cv_prog_CC
2200 if test $# != 0; then
2201 # We chose a different compiler from the bogus one.
2202 # However, it has the same basename, so the bogon will be chosen
2203 # first if we set CC to just the basename; use the full file name.
2205 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2211 if test -n "$CC"; then
2212 { echo "$as_me:$LINENO: result: $CC" >&5
2213 echo "${ECHO_T}$CC" >&6; }
2215 { echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6; }
2221 if test -z "$CC"; then
2222 if test -n "$ac_tool_prefix"; then
2223 for ac_prog
in cl.exe
2225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2226 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2229 if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC
="$CC" # Let the user override the test.
2235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir
=.
2240 for ac_exec_ext
in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 { echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6; }
2257 { echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6; }
2262 test -n "$CC" && break
2265 if test -z "$CC"; then
2267 for ac_prog
in cl.exe
2269 # Extract the first word of "$ac_prog", so it can be a program name with args.
2270 set dummy
$ac_prog; ac_word
=$2
2271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$ac_ct_CC"; then
2277 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir
=.
2284 for ac_exec_ext
in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_ac_ct_CC
="$ac_prog"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2297 if test -n "$ac_ct_CC"; then
2298 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2299 echo "${ECHO_T}$ac_ct_CC" >&6; }
2301 { echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6; }
2306 test -n "$ac_ct_CC" && break
2309 if test "x$ac_ct_CC" = x
; then
2312 case $cross_compiling:$ac_tool_warned in
2314 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2315 whose name does not start with the host triplet. If you think this
2316 configuration is useful to you, please write to autoconf@gnu.org." >&5
2317 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2318 whose name does not start with the host triplet. If you think this
2319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2320 ac_tool_warned
=yes ;;
2329 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2330 See \`config.log' for more details." >&5
2331 echo "$as_me: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&2;}
2333 { (exit 1); exit 1; }; }
2335 # Provide some information about the compiler.
2336 echo "$as_me:$LINENO: checking for C compiler version" >&5
2337 ac_compiler
=`set X $ac_compile; echo $2`
2338 { (ac_try
="$ac_compiler --version >&5"
2340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2344 (eval "$ac_compiler --version >&5") 2>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }
2348 { (ac_try="$ac_compiler -v >&5"
2350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2351 *) ac_try_echo
=$ac_try;;
2353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2354 (eval "$ac_compiler -v >&5") 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (ac_try
="$ac_compiler -V >&5"
2360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2364 (eval "$ac_compiler -V >&5") 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }
2369 cat >conftest.$ac_ext <<_ACEOF
2372 cat confdefs.h >>conftest.$ac_ext
2373 cat >>conftest.$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2384 ac_clean_files_save=$ac_clean_files
2385 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2386 # Try to create an executable without -o first, disregard a.out.
2387 # It will help us diagnose broken compilers, and finding out an intuition
2389 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2390 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2391 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2393 # List of possible output files, starting from the most likely.
2394 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2395 # only as a last resort. b.out is created by i960 compilers.
2396 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2398 # The IRIX 6 linker writes into existing files which may not be
2399 # executable, retaining their permissions. Remove them first so a
2400 # subsequent execution test works.
2402 for ac_file in $ac_files
2405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2406 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2411 if { (ac_try="$ac_link_default"
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2417 (eval "$ac_link_default") 2>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; then
2421 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2422 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2423 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2424 # so that the user can short-circuit this test for compilers unknown to
2426 for ac_file
in $ac_files ''
2428 test -f "$ac_file" ||
continue
2430 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2433 # We found the default executable, but exeext='' is most
2437 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2439 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2441 # We set ac_cv_exeext here because the later test for it is not
2442 # safe: cross compilers may not add the suffix if given an `-o'
2443 # argument, so we may need to know it at that point already.
2444 # Even if this section looks crufty: it has the advantage of
2451 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2457 { echo "$as_me:$LINENO: result: $ac_file" >&5
2458 echo "${ECHO_T}$ac_file" >&6; }
2459 if test -z "$ac_file"; then
2460 echo "$as_me: failed program was:" >&5
2461 sed 's/^/| /' conftest.
$ac_ext >&5
2463 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2464 See \`config.log' for more details." >&5
2465 echo "$as_me: error: C compiler cannot create executables
2466 See \`config.log' for more details." >&2;}
2467 { (exit 77); exit 77; }; }
2470 ac_exeext
=$ac_cv_exeext
2472 # Check that the compiler produces executables we can run. If not, either
2473 # the compiler is broken, or we cross compile.
2474 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2477 # If not cross compiling, check that we can run a simple program.
2478 if test "$cross_compiling" != yes; then
2479 if { ac_try
='./$ac_file'
2480 { (case "(($ac_try" in
2481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2482 *) ac_try_echo=$ac_try;;
2484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2485 (eval "$ac_try") 2>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; }; then
2491 if test "$cross_compiling" = maybe; then
2494 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2495 If you meant to cross compile, use \`--host'.
2496 See \`config.log' for more details.
" >&5
2497 echo "$as_me: error
: cannot run C compiled programs.
2498 If you meant to cross compile
, use \
`--host'.
2499 See \`config.log
' for more details." >&2;}
2500 { (exit 1); exit 1; }; }
2504 { echo "$as_me:$LINENO: result: yes" >&5
2505 echo "${ECHO_T}yes" >&6; }
2507 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2508 ac_clean_files=$ac_clean_files_save
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 we are cross compiling" >&5
2512 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2513 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2514 echo "${ECHO_T}$cross_compiling" >&6; }
2516 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2517 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2518 if { (ac_try="$ac_link"
2520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2521 *) ac_try_echo=$ac_try;;
2523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2524 (eval "$ac_link") 2>&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; then
2528 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2529 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2530 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2532 for ac_file
in conftest.exe conftest conftest.
*; do
2533 test -f "$ac_file" ||
continue
2535 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2536 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2542 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2543 See \`config.log' for more details." >&5
2544 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2545 See \`config.log' for more details." >&2;}
2546 { (exit 1); exit 1; }; }
2549 rm -f conftest
$ac_cv_exeext
2550 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2551 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2553 rm -f conftest.
$ac_ext
2554 EXEEXT
=$ac_cv_exeext
2556 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2557 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2558 if test "${ac_cv_objext+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 cat >conftest.
$ac_ext <<_ACEOF
2564 cat confdefs.h
>>conftest.
$ac_ext
2565 cat >>conftest.
$ac_ext <<_ACEOF
2566 /* end confdefs.h. */
2576 rm -f conftest.o conftest.obj
2577 if { (ac_try
="$ac_compile"
2579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583 (eval "$ac_compile") 2>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; then
2587 for ac_file in conftest.o conftest.obj conftest.*; do
2588 test -f "$ac_file" || continue;
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2591 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2599 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2600 See \`config.log
' for more details." >&5
2601 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2602 See \`config.log' for more details.
" >&2;}
2603 { (exit 1); exit 1; }; }
2606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2608 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2609 echo "${ECHO_T}$ac_cv_objext" >&6; }
2610 OBJEXT=$ac_cv_objext
2612 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2613 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2614 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2615 echo $ECHO_N "(cached
) $ECHO_C" >&6
2617 cat >conftest.$ac_ext <<_ACEOF
2620 cat confdefs.h >>conftest.$ac_ext
2621 cat >>conftest.$ac_ext <<_ACEOF
2622 /* end confdefs.h. */
2635 rm -f conftest.$ac_objext
2636 if { (ac_try="$ac_compile"
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2642 (eval "$ac_compile") 2>conftest.er1
2644 grep -v '^ *+' conftest.er1 >conftest.err
2646 cat conftest.err >&5
2647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2648 (exit $ac_status); } &&
2649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2650 { (case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2655 (eval "$ac_try") 2>&5
2657 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2658 (exit $ac_status); }; } &&
2659 { ac_try='test -s conftest.$ac_objext'
2660 { (case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2664 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2665 (eval "$ac_try") 2>&5
2667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2668 (exit $ac_status); }; }; then
2671 echo "$as_me: failed program was
:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2681 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2687 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2688 if test "${ac_cv_prog_cc_g+set}" = set; then
2689 echo $ECHO_N "(cached
) $ECHO_C" >&6
2691 ac_save_c_werror_flag=$ac_c_werror_flag
2692 ac_c_werror_flag=yes
2695 cat >conftest.$ac_ext <<_ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2710 rm -f conftest.$ac_objext
2711 if { (ac_try="$ac_compile"
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2716 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2717 (eval "$ac_compile") 2>conftest.er1
2719 grep -v '^ *+' conftest.er1 >conftest.err
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2723 (exit $ac_status); } &&
2724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2725 { (case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2730 (eval "$ac_try") 2>&5
2732 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2733 (exit $ac_status); }; } &&
2734 { ac_try='test -s conftest.$ac_objext'
2735 { (case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2740 (eval "$ac_try") 2>&5
2742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2743 (exit $ac_status); }; }; then
2746 echo "$as_me: failed program was
:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2750 cat >conftest.$ac_ext <<_ACEOF
2753 cat confdefs.h >>conftest.$ac_ext
2754 cat >>conftest.$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2765 rm -f conftest.$ac_objext
2766 if { (ac_try="$ac_compile"
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2772 (eval "$ac_compile") 2>conftest.er1
2774 grep -v '^ *+' conftest.er1 >conftest.err
2776 cat conftest.err >&5
2777 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2778 (exit $ac_status); } &&
2779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2780 { (case "(($ac_try" in
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_try") 2>&5
2787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2788 (exit $ac_status); }; } &&
2789 { ac_try='test -s conftest.$ac_objext'
2790 { (case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_try") 2>&5
2797 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2798 (exit $ac_status); }; }; then
2801 echo "$as_me: failed program was
:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 ac_c_werror_flag=$ac_save_c_werror_flag
2806 cat >conftest.$ac_ext <<_ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 rm -f conftest.$ac_objext
2822 if { (ac_try="$ac_compile"
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2828 (eval "$ac_compile") 2>conftest.er1
2830 grep -v '^ *+' conftest.er1 >conftest.err
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2836 { (case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2840 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2841 (eval "$ac_try") 2>&5
2843 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2844 (exit $ac_status); }; } &&
2845 { ac_try='test -s conftest.$ac_objext'
2846 { (case "(($ac_try" in
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2850 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2851 (eval "$ac_try") 2>&5
2853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2854 (exit $ac_status); }; }; then
2857 echo "$as_me: failed program was
:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 ac_c_werror_flag=$ac_save_c_werror_flag
2872 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2873 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2874 if test "$ac_test_CFLAGS" = set; then
2875 CFLAGS=$ac_save_CFLAGS
2876 elif test $ac_cv_prog_cc_g = yes; then
2877 if test "$GCC" = yes; then
2883 if test "$GCC" = yes; then
2889 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2890 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2891 if test "${ac_cv_prog_cc_c89+set}" = set; then
2892 echo $ECHO_N "(cached
) $ECHO_C" >&6
2894 ac_cv_prog_cc_c89=no
2896 cat >conftest.$ac_ext <<_ACEOF
2899 cat confdefs.h >>conftest.$ac_ext
2900 cat >>conftest.$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2904 #include <sys/types.h>
2905 #include <sys/stat.h>
2906 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2907 struct buf { int x; };
2908 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2909 static char *e (p, i)
2915 static char *f (char * (*g) (char **, int), char **p, ...)
2920 s = g (p, va_arg (v,int));
2925 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2926 function prototypes and stuff, but not '\xHH' hex character constants.
2927 These don't provoke an error unfortunately, instead are silently treated
2928 as 'x'. The following induces an error, until -std is added to get
2929 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2930 array size at least. It's necessary to write '\x00'==0 to get something
2931 that's true only with -std. */
2932 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2934 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2935 inside strings and character constants. */
2937 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2939 int test (int i, double x);
2940 struct s1 {int (*f) (int a);};
2941 struct s2 {int (*f) (double a);};
2942 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2948 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2953 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2954 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2956 CC="$ac_save_CC $ac_arg"
2957 rm -f conftest.$ac_objext
2958 if { (ac_try="$ac_compile"
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2963 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2964 (eval "$ac_compile") 2>conftest.er1
2966 grep -v '^ *+' conftest.er1 >conftest.err
2968 cat conftest.err >&5
2969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2970 (exit $ac_status); } &&
2971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2972 { (case "(($ac_try" in
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_try") 2>&5
2979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2980 (exit $ac_status); }; } &&
2981 { ac_try='test -s conftest.$ac_objext'
2982 { (case "(($ac_try" in
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_try") 2>&5
2989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2990 (exit $ac_status); }; }; then
2991 ac_cv_prog_cc_c89=$ac_arg
2993 echo "$as_me: failed program was
:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2999 rm -f core conftest.err conftest.$ac_objext
3000 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3002 rm -f conftest.$ac_ext
3007 case "x
$ac_cv_prog_cc_c89" in
3009 { echo "$as_me:$LINENO: result
: none needed
" >&5
3010 echo "${ECHO_T}none needed
" >&6; } ;;
3012 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3013 echo "${ECHO_T}unsupported
" >&6; } ;;
3015 CC="$CC $ac_cv_prog_cc_c89"
3016 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3017 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3022 ac_cpp='$CPP $CPPFLAGS'
3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3028 ac_cpp='$CXXCPP $CPPFLAGS'
3029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3032 if test -z "$CXX"; then
3033 if test -n "$CCC"; then
3036 if test -n "$ac_tool_prefix"; then
3037 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3039 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3040 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3041 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3042 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3043 if test "${ac_cv_prog_CXX+set}" = set; then
3044 echo $ECHO_N "(cached
) $ECHO_C" >&6
3046 if test -n "$CXX"; then
3047 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3056 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3057 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3067 if test -n "$CXX"; then
3068 { echo "$as_me:$LINENO: result
: $CXX" >&5
3069 echo "${ECHO_T}$CXX" >&6; }
3071 { echo "$as_me:$LINENO: result
: no
" >&5
3072 echo "${ECHO_T}no
" >&6; }
3076 test -n "$CXX" && break
3079 if test -z "$CXX"; then
3081 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3083 # Extract the first word of "$ac_prog", so it can be a program name with args.
3084 set dummy $ac_prog; ac_word=$2
3085 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3086 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3087 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3088 echo $ECHO_N "(cached
) $ECHO_C" >&6
3090 if test -n "$ac_ct_CXX"; then
3091 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 test -z "$as_dir" && as_dir=.
3098 for ac_exec_ext in '' $ac_executable_extensions; do
3099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3100 ac_cv_prog_ac_ct_CXX="$ac_prog"
3101 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3110 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3111 if test -n "$ac_ct_CXX"; then
3112 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3113 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3115 { echo "$as_me:$LINENO: result
: no
" >&5
3116 echo "${ECHO_T}no
" >&6; }
3120 test -n "$ac_ct_CXX" && break
3123 if test "x
$ac_ct_CXX" = x; then
3126 case $cross_compiling:$ac_tool_warned in
3128 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3129 whose name does not start with the
host triplet. If you think this
3130 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3131 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3132 whose name does not start with the
host triplet. If you think this
3133 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3134 ac_tool_warned=yes ;;
3142 # Provide some information about the compiler.
3143 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3144 ac_compiler=`set X $ac_compile; echo $2`
3145 { (ac_try="$ac_compiler --version >&5"
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3150 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3151 (eval "$ac_compiler --version >&5") 2>&5
3153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3154 (exit $ac_status); }
3155 { (ac_try="$ac_compiler -v >&5"
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3161 (eval "$ac_compiler -v >&5") 2>&5
3163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3164 (exit $ac_status); }
3165 { (ac_try="$ac_compiler -V >&5"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compiler -V >&5") 2>&5
3173 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3174 (exit $ac_status); }
3176 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3177 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3178 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3179 echo $ECHO_N "(cached
) $ECHO_C" >&6
3181 cat >conftest.$ac_ext <<_ACEOF
3184 cat confdefs.h >>conftest.$ac_ext
3185 cat >>conftest.$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3199 rm -f conftest.$ac_objext
3200 if { (ac_try="$ac_compile"
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3206 (eval "$ac_compile") 2>conftest.er1
3208 grep -v '^ *+' conftest.er1 >conftest.err
3210 cat conftest.err >&5
3211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3212 (exit $ac_status); } &&
3213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3214 { (case "(($ac_try" in
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3219 (eval "$ac_try") 2>&5
3221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3222 (exit $ac_status); }; } &&
3223 { ac_try='test -s conftest.$ac_objext'
3224 { (case "(($ac_try" in
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_try") 2>&5
3231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3232 (exit $ac_status); }; }; then
3235 echo "$as_me: failed program was
:" >&5
3236 sed 's/^/| /' conftest.$ac_ext >&5
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3245 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3246 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3247 GXX=`test $ac_compiler_gnu = yes && echo yes`
3248 ac_test_CXXFLAGS=${CXXFLAGS+set}
3249 ac_save_CXXFLAGS=$CXXFLAGS
3250 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3251 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3252 if test "${ac_cv_prog_cxx_g+set}" = set; then
3253 echo $ECHO_N "(cached
) $ECHO_C" >&6
3255 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3256 ac_cxx_werror_flag=yes
3259 cat >conftest.$ac_ext <<_ACEOF
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3274 rm -f conftest.$ac_objext
3275 if { (ac_try="$ac_compile"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3281 (eval "$ac_compile") 2>conftest.er1
3283 grep -v '^ *+' conftest.er1 >conftest.err
3285 cat conftest.err >&5
3286 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3287 (exit $ac_status); } &&
3288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3289 { (case "(($ac_try" in
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_try") 2>&5
3296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3297 (exit $ac_status); }; } &&
3298 { ac_try='test -s conftest.$ac_objext'
3299 { (case "(($ac_try" in
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3304 (eval "$ac_try") 2>&5
3306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3307 (exit $ac_status); }; }; then
3308 ac_cv_prog_cxx_g=yes
3310 echo "$as_me: failed program was
:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3314 cat >conftest.$ac_ext <<_ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3329 rm -f conftest.$ac_objext
3330 if { (ac_try="$ac_compile"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compile") 2>conftest.er1
3338 grep -v '^ *+' conftest.er1 >conftest.err
3340 cat conftest.err >&5
3341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3342 (exit $ac_status); } &&
3343 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3344 { (case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_try") 2>&5
3351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3352 (exit $ac_status); }; } &&
3353 { ac_try='test -s conftest.$ac_objext'
3354 { (case "(($ac_try" in
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_try") 2>&5
3361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3362 (exit $ac_status); }; }; then
3365 echo "$as_me: failed program was
:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3368 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3370 cat >conftest.$ac_ext <<_ACEOF
3373 cat confdefs.h >>conftest.$ac_ext
3374 cat >>conftest.$ac_ext <<_ACEOF
3375 /* end confdefs.h. */
3385 rm -f conftest.$ac_objext
3386 if { (ac_try="$ac_compile"
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3392 (eval "$ac_compile") 2>conftest.er1
3394 grep -v '^ *+' conftest.er1 >conftest.err
3396 cat conftest.err >&5
3397 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3398 (exit $ac_status); } &&
3399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3400 { (case "(($ac_try" in
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3405 (eval "$ac_try") 2>&5
3407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try='test -s conftest.$ac_objext'
3410 { (case "(($ac_try" in
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3414 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3415 (eval "$ac_try") 2>&5
3417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 ac_cv_prog_cxx_g=yes
3421 echo "$as_me: failed program was
:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3436 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3437 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3438 if test "$ac_test_CXXFLAGS" = set; then
3439 CXXFLAGS=$ac_save_CXXFLAGS
3440 elif test $ac_cv_prog_cxx_g = yes; then
3441 if test "$GXX" = yes; then
3447 if test "$GXX" = yes; then
3454 ac_cpp='$CPP $CPPFLAGS'
3455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3459 if test -n "$ac_tool_prefix"; then
3460 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3461 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3462 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3463 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3464 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3465 echo $ECHO_N "(cached
) $ECHO_C" >&6
3467 if test -n "$CPPBIN"; then
3468 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474 test -z "$as_dir" && as_dir=.
3475 for ac_exec_ext in '' $ac_executable_extensions; do
3476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3477 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3478 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3487 CPPBIN=$ac_cv_prog_CPPBIN
3488 if test -n "$CPPBIN"; then
3489 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3490 echo "${ECHO_T}$CPPBIN" >&6; }
3492 { echo "$as_me:$LINENO: result
: no
" >&5
3493 echo "${ECHO_T}no
" >&6; }
3498 if test -z "$ac_cv_prog_CPPBIN"; then
3499 ac_ct_CPPBIN=$CPPBIN
3500 # Extract the first word of "cpp
", so it can be a program name with args.
3501 set dummy cpp; ac_word=$2
3502 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3503 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3504 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3505 echo $ECHO_N "(cached
) $ECHO_C" >&6
3507 if test -n "$ac_ct_CPPBIN"; then
3508 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514 test -z "$as_dir" && as_dir=.
3515 for ac_exec_ext in '' $ac_executable_extensions; do
3516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3517 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3518 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3527 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3528 if test -n "$ac_ct_CPPBIN"; then
3529 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3530 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3532 { echo "$as_me:$LINENO: result
: no
" >&5
3533 echo "${ECHO_T}no
" >&6; }
3536 if test "x
$ac_ct_CPPBIN" = x; then
3539 case $cross_compiling:$ac_tool_warned in
3541 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3542 whose name does not start with the
host triplet. If you think this
3543 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3544 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3545 whose name does not start with the
host triplet. If you think this
3546 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3547 ac_tool_warned=yes ;;
3549 CPPBIN=$ac_ct_CPPBIN
3552 CPPBIN="$ac_cv_prog_CPPBIN"
3556 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3557 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3558 if test "${wine_cv_toolsdir+set}" = set; then
3559 echo $ECHO_N "(cached
) $ECHO_C" >&6
3561 if test -z "$with_wine_tools"; then
3562 if test "$cross_compiling" = "yes"; then
3563 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3564 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3565 { (exit 1); exit 1; }; }
3567 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3569 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3570 case $with_wine_tools in
3571 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3572 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3575 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3576 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3577 { (exit 1); exit 1; }; }
3580 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3581 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3582 TOOLSDIR=$wine_cv_toolsdir
3587 ac_cpp='$CPP $CPPFLAGS'
3588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3591 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3592 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3593 # On Suns, sometimes $CPP names a directory.
3594 if test -n "$CPP" && test -d "$CPP"; then
3597 if test -z "$CPP"; then
3598 if test "${ac_cv_prog_CPP+set}" = set; then
3599 echo $ECHO_N "(cached
) $ECHO_C" >&6
3601 # Double quotes because CPP needs to be expanded
3602 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3605 for ac_c_preproc_warn_flag in '' yes
3607 # Use a header file that comes with gcc, so configuring glibc
3608 # with a fresh cross-compiler works.
3609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3610 # <limits.h> exists even on freestanding compilers.
3611 # On the NeXT, cc -E runs the code through the compiler's parser,
3612 # not just through cpp. "Syntax error
" is here to catch this case.
3613 cat >conftest.$ac_ext <<_ACEOF
3616 cat confdefs.h >>conftest.$ac_ext
3617 cat >>conftest.$ac_ext <<_ACEOF
3618 /* end confdefs.h. */
3620 # include <limits.h>
3622 # include <assert.h>
3626 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629 *) ac_try_echo=$ac_try;;
3631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3632 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3634 grep -v '^ *+' conftest.er1 >conftest.err
3636 cat conftest.err >&5
3637 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3638 (exit $ac_status); } >/dev/null; then
3639 if test -s conftest.err; then
3640 ac_cpp_err=$ac_c_preproc_warn_flag
3641 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3648 if test -z "$ac_cpp_err"; then
3651 echo "$as_me: failed program was
:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3654 # Broken: fails on valid input.
3658 rm -f conftest.err conftest.$ac_ext
3660 # OK, works on sane cases. Now check whether nonexistent headers
3661 # can be detected and how.
3662 cat >conftest.$ac_ext <<_ACEOF
3665 cat confdefs.h >>conftest.$ac_ext
3666 cat >>conftest.$ac_ext <<_ACEOF
3667 /* end confdefs.h. */
3668 #include <ac_nonexistent.h>
3670 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673 *) ac_try_echo=$ac_try;;
3675 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3676 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3678 grep -v '^ *+' conftest.er1 >conftest.err
3680 cat conftest.err >&5
3681 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3682 (exit $ac_status); } >/dev/null; then
3683 if test -s conftest.err; then
3684 ac_cpp_err=$ac_c_preproc_warn_flag
3685 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3692 if test -z "$ac_cpp_err"; then
3693 # Broken: success on invalid input.
3696 echo "$as_me: failed program was
:" >&5
3697 sed 's/^/| /' conftest.$ac_ext >&5
3699 # Passes both tests.
3704 rm -f conftest.err conftest.$ac_ext
3707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3708 rm -f conftest.err conftest.$ac_ext
3709 if $ac_preproc_ok; then
3721 { echo "$as_me:$LINENO: result
: $CPP" >&5
3722 echo "${ECHO_T}$CPP" >&6; }
3724 for ac_c_preproc_warn_flag in '' yes
3726 # Use a header file that comes with gcc, so configuring glibc
3727 # with a fresh cross-compiler works.
3728 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3729 # <limits.h> exists even on freestanding compilers.
3730 # On the NeXT, cc -E runs the code through the compiler's parser,
3731 # not just through cpp. "Syntax error
" is here to catch this case.
3732 cat >conftest.$ac_ext <<_ACEOF
3735 cat confdefs.h >>conftest.$ac_ext
3736 cat >>conftest.$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3739 # include <limits.h>
3741 # include <assert.h>
3745 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3751 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3753 grep -v '^ *+' conftest.er1 >conftest.err
3755 cat conftest.err >&5
3756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3757 (exit $ac_status); } >/dev/null; then
3758 if test -s conftest.err; then
3759 ac_cpp_err=$ac_c_preproc_warn_flag
3760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3767 if test -z "$ac_cpp_err"; then
3770 echo "$as_me: failed program was
:" >&5
3771 sed 's/^/| /' conftest.$ac_ext >&5
3773 # Broken: fails on valid input.
3777 rm -f conftest.err conftest.$ac_ext
3779 # OK, works on sane cases. Now check whether nonexistent headers
3780 # can be detected and how.
3781 cat >conftest.$ac_ext <<_ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <ac_nonexistent.h>
3789 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3797 grep -v '^ *+' conftest.er1 >conftest.err
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3801 (exit $ac_status); } >/dev/null; then
3802 if test -s conftest.err; then
3803 ac_cpp_err=$ac_c_preproc_warn_flag
3804 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3811 if test -z "$ac_cpp_err"; then
3812 # Broken: success on invalid input.
3815 echo "$as_me: failed program was
:" >&5
3816 sed 's/^/| /' conftest.$ac_ext >&5
3818 # Passes both tests.
3823 rm -f conftest.err conftest.$ac_ext
3826 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3827 rm -f conftest.err conftest.$ac_ext
3828 if $ac_preproc_ok; then
3831 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3832 See \
`config.log' for more details." >&5
3833 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3834 See \`config.log
' for more details." >&2;}
3835 { (exit 1); exit 1; }; }
3839 ac_cpp='$CPP $CPPFLAGS'
3840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3841 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845 { echo "$as_me:$LINENO: checking for X" >&5
3846 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3849 # Check whether --with-x was given.
3850 if test "${with_x+set}" = set; then
3854 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3855 if test "x$with_x" = xno; then
3856 # The user explicitly disabled X.
3859 case $x_includes,$x_libraries in #(
3860 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3861 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3862 { (exit 1); exit 1; }; };; #(
3863 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 # One or both of the vars are not set, and there is no cached value.
3867 ac_x_includes=no ac_x_libraries=no
3868 rm -f -r conftest.dir
3869 if mkdir conftest.dir; then
3871 cat >Imakefile <<'_ACEOF'
3873 @echo incroot='${INCROOT}'
3875 @echo usrlibdir='${USRLIBDIR}'
3877 @echo libdir='${LIBDIR}'
3879 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3880 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3881 for ac_var in incroot usrlibdir libdir; do
3882 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3884 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3885 for ac_extension in a so sl; do
3886 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3887 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3888 ac_im_usrlibdir=$ac_im_libdir; break
3891 # Screen out bogus values from the imake configuration. They are
3892 # bogus both because they are the default anyway, and because
3893 # using them would break gcc on systems where it needs fixed includes.
3894 case $ac_im_incroot in
3895 /usr/include) ac_x_includes= ;;
3896 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3898 case $ac_im_usrlibdir in
3900 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3904 rm -f -r conftest.dir
3907 # Standard set of common directories for X headers.
3908 # Check X11 before X11Rn because it is often a symlink to the current release.
3920 /usr
/local
/X11
/include
3921 /usr
/local
/X11R
6/include
3922 /usr
/local
/X11R
5/include
3923 /usr
/local
/X11R
4/include
3925 /usr
/local
/include
/X11
3926 /usr
/local
/include
/X11R6
3927 /usr
/local
/include
/X11R5
3928 /usr
/local
/include
/X11R4
3932 /usr
/XFree86
/include
/X11
3936 /usr
/unsupported
/include
3938 /usr
/local
/x11r
5/include
3939 /usr
/lpp
/Xamples
/include
3941 /usr
/openwin
/include
3942 /usr
/openwin
/share
/include
'
3944 if test "$ac_x_includes" = no; then
3945 # Guess where to find include files, by looking for Xlib.h.
3946 # First, try using that file with no special directory specified.
3947 cat >conftest.$ac_ext <<_ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3953 #include <X11/Xlib.h>
3955 if { (ac_try="$ac_cpp conftest.$ac_ext"
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3963 grep -v '^
*+' conftest.er1 >conftest.err
3965 cat conftest.err >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } >/dev/null; then
3968 if test -s conftest.err; then
3969 ac_cpp_err=$ac_c_preproc_warn_flag
3970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3977 if test -z "$ac_cpp_err"; then
3978 # We can compile using X headers with no special include directory.
3981 echo "$as_me: failed program was:" >&5
3982 sed 's
/^
/|
/' conftest.$ac_ext >&5
3984 for ac_dir in $ac_x_header_dirs; do
3985 if test -r "$ac_dir/X11/Xlib.h"; then
3986 ac_x_includes=$ac_dir
3992 rm -f conftest.err conftest.$ac_ext
3993 fi # $ac_x_includes = no
3995 if test "$ac_x_libraries" = no; then
3996 # Check for the libraries.
3997 # See if we find them without any special options.
3998 # Don't add to
$LIBS permanently.
4001 cat >conftest.
$ac_ext <<_ACEOF
4004 cat confdefs.h
>>conftest.
$ac_ext
4005 cat >>conftest.
$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4007 #include <X11/Xlib.h>
4016 rm -f conftest.
$ac_objext conftest
$ac_exeext
4017 if { (ac_try
="$ac_link"
4019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4023 (eval "$ac_link") 2>conftest.er1
4025 grep -v '^ *+' conftest.er1 >conftest.err
4027 cat conftest.err >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4031 { (case "(($ac_try" in
4032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4033 *) ac_try_echo
=$ac_try;;
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_try") 2>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; } &&
4040 { ac_try
='test -s conftest$ac_exeext'
4041 { (case "(($ac_try" in
4042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_try") 2>&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; }; then
4051 # We can link X programs with no special library path.
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4058 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4060 # Don't even attempt the hair of trying to link an X program!
4061 for ac_extension in a so sl; do
4062 if test -r "$ac_dir/libX11.$ac_extension"; then
4063 ac_x_libraries=$ac_dir
4070 rm -f core conftest.err conftest.$ac_objext \
4071 conftest$ac_exeext conftest.$ac_ext
4072 fi # $ac_x_libraries = no
4074 case $ac_x_includes,$ac_x_libraries in #(
4076 # Didn't find X, or a directory has "'" in its name.
4077 ac_cv_have_x="have_x=no";; #(
4079 # Record where we found X for the cache.
4080 ac_cv_have_x="have_x=yes\
4081 ac_x_includes='$ac_x_includes'\
4082 ac_x_libraries='$ac_x_libraries'"
4088 eval "$ac_cv_have_x"
4091 if test "$have_x" != yes; then
4092 { echo "$as_me:$LINENO: result: $have_x" >&5
4093 echo "${ECHO_T}$have_x" >&6; }
4096 # If each of the values was on the command line, it overrides each guess.
4097 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4098 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4099 # Update the cache value to reflect the command line values.
4100 ac_cv_have_x="have_x=yes\
4101 ac_x_includes='$x_includes'\
4102 ac_x_libraries='$x_libraries'"
4103 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4104 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4107 if test "$no_x" = yes; then
4108 # Not all programs may use this symbol, but it does not hurt to define it.
4110 cat >>confdefs.h <<\_ACEOF
4111 #define X_DISPLAY_MISSING 1
4114 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4116 if test -n "$x_includes"; then
4117 X_CFLAGS="$X_CFLAGS -I$x_includes"
4120 # It would also be nice to do this for all -L options, not just this one.
4121 if test -n "$x_libraries"; then
4122 X_LIBS="$X_LIBS -L$x_libraries"
4123 # For Solaris; some versions of Sun CC require a space after -R and
4124 # others require no space. Words are not sufficient . . . .
4125 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4126 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4127 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4128 ac_xsave_c_werror_flag=$ac_c_werror_flag
4129 ac_c_werror_flag=yes
4130 cat >conftest.$ac_ext <<_ACEOF
4133 cat confdefs.h >>conftest.$ac_ext
4134 cat >>conftest.$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4145 rm -f conftest.$ac_objext conftest$ac_exeext
4146 if { (ac_try="$ac_link"
4148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4149 *) ac_try_echo
=$ac_try;;
4151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4152 (eval "$ac_link") 2>conftest.er1
4154 grep -v '^ *+' conftest.er1
>conftest.err
4156 cat conftest.err
>&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } &&
4159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4160 { (case "(($ac_try" in
4161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4165 (eval "$ac_try") 2>&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); }; } &&
4169 { ac_try='test -s conftest$ac_exeext'
4170 { (case "(($ac_try" in
4171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4172 *) ac_try_echo
=$ac_try;;
4174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4175 (eval "$ac_try") 2>&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; }; then
4179 { echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6; }
4181 X_LIBS
="$X_LIBS -R$x_libraries"
4183 echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.
$ac_ext >&5
4186 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4187 cat >conftest.
$ac_ext <<_ACEOF
4190 cat confdefs.h
>>conftest.
$ac_ext
4191 cat >>conftest.
$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4202 rm -f conftest.
$ac_objext conftest
$ac_exeext
4203 if { (ac_try
="$ac_link"
4205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_link") 2>conftest.er1
4211 grep -v '^ *+' conftest.er1 >conftest.err
4213 cat conftest.err >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } &&
4216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4217 { (case "(($ac_try" in
4218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4219 *) ac_try_echo
=$ac_try;;
4221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4222 (eval "$ac_try") 2>&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); }; } &&
4226 { ac_try
='test -s conftest$ac_exeext'
4227 { (case "(($ac_try" in
4228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4232 (eval "$ac_try") 2>&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; }; then
4236 { echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6; }
4238 X_LIBS="$X_LIBS -R $x_libraries"
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4243 { echo "$as_me:$LINENO: result: neither works" >&5
4244 echo "${ECHO_T}neither works" >&6; }
4247 rm -f core conftest.err conftest.$ac_objext \
4248 conftest$ac_exeext conftest.$ac_ext
4251 rm -f core conftest.err conftest.$ac_objext \
4252 conftest$ac_exeext conftest.$ac_ext
4253 ac_c_werror_flag=$ac_xsave_c_werror_flag
4257 # Check for system-dependent libraries X programs must link with.
4258 # Do this before checking for the system-independent R6 libraries
4259 # (-lICE), since we may need -lsocket or whatever for X linking.
4261 if test "$ISC" = yes; then
4262 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4264 # Martyn Johnson says this is needed for Ultrix, if the X
4265 # libraries were built with DECnet support. And Karl Berry says
4266 # the Alpha needs dnet_stub (dnet does not exist).
4267 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4268 cat >conftest.$ac_ext <<_ACEOF
4271 cat confdefs.h >>conftest.$ac_ext
4272 cat >>conftest.$ac_ext <<_ACEOF
4273 /* end confdefs.h. */
4275 /* Override any GCC internal prototype to avoid an error.
4276 Use char because int might match the return type of a GCC
4277 builtin and then its argument prototype would still apply. */
4281 char XOpenDisplay ();
4285 return XOpenDisplay ();
4290 rm -f conftest.$ac_objext conftest$ac_exeext
4291 if { (ac_try="$ac_link"
4293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4294 *) ac_try_echo
=$ac_try;;
4296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4297 (eval "$ac_link") 2>conftest.er1
4299 grep -v '^ *+' conftest.er1
>conftest.err
4301 cat conftest.err
>&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); } &&
4304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4305 { (case "(($ac_try" in
4306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4307 *) ac_try_echo=$ac_try;;
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 (eval "$ac_try") 2>&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); }; } &&
4314 { ac_try='test -s conftest$ac_exeext'
4315 { (case "(($ac_try" in
4316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4317 *) ac_try_echo
=$ac_try;;
4319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4320 (eval "$ac_try") 2>&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); }; }; then
4326 echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.
$ac_ext >&5
4329 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4330 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4331 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 ac_check_lib_save_LIBS
=$LIBS
4336 cat >conftest.
$ac_ext <<_ACEOF
4339 cat confdefs.h
>>conftest.
$ac_ext
4340 cat >>conftest.
$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4343 /* Override any GCC internal prototype to avoid an error.
4344 Use char because int might match the return type of a GCC
4345 builtin and then its argument prototype would still apply. */
4353 return dnet_ntoa ();
4358 rm -f conftest.
$ac_objext conftest
$ac_exeext
4359 if { (ac_try
="$ac_link"
4361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4365 (eval "$ac_link") 2>conftest.er1
4367 grep -v '^ *+' conftest.er1 >conftest.err
4369 cat conftest.err >&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4373 { (case "(($ac_try" in
4374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4375 *) ac_try_echo
=$ac_try;;
4377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378 (eval "$ac_try") 2>&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; } &&
4382 { ac_try
='test -s conftest$ac_exeext'
4383 { (case "(($ac_try" in
4384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4388 (eval "$ac_try") 2>&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); }; }; then
4392 ac_cv_lib_dnet_dnet_ntoa=yes
4394 echo "$as_me: failed program was:" >&5
4395 sed 's/^/| /' conftest.$ac_ext >&5
4397 ac_cv_lib_dnet_dnet_ntoa=no
4400 rm -f core conftest.err conftest.$ac_objext \
4401 conftest$ac_exeext conftest.$ac_ext
4402 LIBS=$ac_check_lib_save_LIBS
4404 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4405 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4406 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4407 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4410 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4411 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4412 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4413 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4414 echo $ECHO_N "(cached) $ECHO_C" >&6
4416 ac_check_lib_save_LIBS=$LIBS
4417 LIBS="-ldnet_stub $LIBS"
4418 cat >conftest.$ac_ext <<_ACEOF
4421 cat confdefs.h >>conftest.$ac_ext
4422 cat >>conftest.$ac_ext <<_ACEOF
4423 /* end confdefs.h. */
4425 /* Override any GCC internal prototype to avoid an error.
4426 Use char because int might match the return type of a GCC
4427 builtin and then its argument prototype would still apply. */
4435 return dnet_ntoa ();
4440 rm -f conftest.$ac_objext conftest$ac_exeext
4441 if { (ac_try="$ac_link"
4443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4444 *) ac_try_echo
=$ac_try;;
4446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4447 (eval "$ac_link") 2>conftest.er1
4449 grep -v '^ *+' conftest.er1
>conftest.err
4451 cat conftest.err
>&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } &&
4454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4455 { (case "(($ac_try" in
4456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4460 (eval "$ac_try") 2>&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }; } &&
4464 { ac_try='test -s conftest$ac_exeext'
4465 { (case "(($ac_try" in
4466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4467 *) ac_try_echo
=$ac_try;;
4469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4470 (eval "$ac_try") 2>&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; }; then
4474 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4476 echo "$as_me: failed program was:" >&5
4477 sed 's/^/| /' conftest.
$ac_ext >&5
4479 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4482 rm -f core conftest.err conftest.
$ac_objext \
4483 conftest
$ac_exeext conftest.
$ac_ext
4484 LIBS
=$ac_check_lib_save_LIBS
4486 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4487 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4488 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4489 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4495 rm -f core conftest.err conftest.
$ac_objext \
4496 conftest
$ac_exeext conftest.
$ac_ext
4497 LIBS
="$ac_xsave_LIBS"
4499 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4500 # to get the SysV transport functions.
4501 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4503 # The nsl library prevents programs from opening the X display
4504 # on Irix 5.2, according to T.E. Dickey.
4505 # The functions gethostbyname, getservbyname, and inet_addr are
4506 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4507 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4508 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4509 if test "${ac_cv_func_gethostbyname+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 cat >conftest.
$ac_ext <<_ACEOF
4515 cat confdefs.h
>>conftest.
$ac_ext
4516 cat >>conftest.
$ac_ext <<_ACEOF
4517 /* end confdefs.h. */
4518 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4520 #define gethostbyname innocuous_gethostbyname
4522 /* System header to define __stub macros and hopefully few prototypes,
4523 which can conflict with char gethostbyname (); below.
4524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4525 <limits.h> exists even on freestanding compilers. */
4528 # include <limits.h>
4530 # include <assert.h>
4533 #undef gethostbyname
4535 /* Override any GCC internal prototype to avoid an error.
4536 Use char because int might match the return type of a GCC
4537 builtin and then its argument prototype would still apply. */
4541 char gethostbyname ();
4542 /* The GNU C library defines this for functions which it implements
4543 to always fail with ENOSYS. Some functions are actually named
4544 something starting with __ and the normal name is an alias. */
4545 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4552 return gethostbyname ();
4557 rm -f conftest.
$ac_objext conftest
$ac_exeext
4558 if { (ac_try
="$ac_link"
4560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4561 *) ac_try_echo=$ac_try;;
4563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4564 (eval "$ac_link") 2>conftest.er1
4566 grep -v '^ *+' conftest.er1 >conftest.err
4568 cat conftest.err >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } &&
4571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4572 { (case "(($ac_try" in
4573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4574 *) ac_try_echo
=$ac_try;;
4576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4577 (eval "$ac_try") 2>&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; } &&
4581 { ac_try
='test -s conftest$ac_exeext'
4582 { (case "(($ac_try" in
4583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4584 *) ac_try_echo=$ac_try;;
4586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4587 (eval "$ac_try") 2>&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; }; then
4591 ac_cv_func_gethostbyname=yes
4593 echo "$as_me: failed program was:" >&5
4594 sed 's/^/| /' conftest.$ac_ext >&5
4596 ac_cv_func_gethostbyname=no
4599 rm -f core conftest.err conftest.$ac_objext \
4600 conftest$ac_exeext conftest.$ac_ext
4602 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4603 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4605 if test $ac_cv_func_gethostbyname = no; then
4606 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4607 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4608 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 ac_check_lib_save_LIBS=$LIBS
4613 cat >conftest.$ac_ext <<_ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4620 /* Override any GCC internal prototype to avoid an error.
4621 Use char because int might match the return type of a GCC
4622 builtin and then its argument prototype would still apply. */
4626 char gethostbyname ();
4630 return gethostbyname ();
4635 rm -f conftest.$ac_objext conftest$ac_exeext
4636 if { (ac_try="$ac_link"
4638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4639 *) ac_try_echo
=$ac_try;;
4641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4642 (eval "$ac_link") 2>conftest.er1
4644 grep -v '^ *+' conftest.er1
>conftest.err
4646 cat conftest.err
>&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); } &&
4649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4650 { (case "(($ac_try" in
4651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4652 *) ac_try_echo=$ac_try;;
4654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4655 (eval "$ac_try") 2>&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }; } &&
4659 { ac_try='test -s conftest$ac_exeext'
4660 { (case "(($ac_try" in
4661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4662 *) ac_try_echo
=$ac_try;;
4664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4665 (eval "$ac_try") 2>&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; }; then
4669 ac_cv_lib_nsl_gethostbyname
=yes
4671 echo "$as_me: failed program was:" >&5
4672 sed 's/^/| /' conftest.
$ac_ext >&5
4674 ac_cv_lib_nsl_gethostbyname
=no
4677 rm -f core conftest.err conftest.
$ac_objext \
4678 conftest
$ac_exeext conftest.
$ac_ext
4679 LIBS
=$ac_check_lib_save_LIBS
4681 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4682 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4683 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4684 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4687 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4688 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4689 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4690 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 ac_check_lib_save_LIBS
=$LIBS
4695 cat >conftest.
$ac_ext <<_ACEOF
4698 cat confdefs.h
>>conftest.
$ac_ext
4699 cat >>conftest.
$ac_ext <<_ACEOF
4700 /* end confdefs.h. */
4702 /* Override any GCC internal prototype to avoid an error.
4703 Use char because int might match the return type of a GCC
4704 builtin and then its argument prototype would still apply. */
4708 char gethostbyname ();
4712 return gethostbyname ();
4717 rm -f conftest.
$ac_objext conftest
$ac_exeext
4718 if { (ac_try
="$ac_link"
4720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4721 *) ac_try_echo=$ac_try;;
4723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4724 (eval "$ac_link") 2>conftest.er1
4726 grep -v '^ *+' conftest.er1 >conftest.err
4728 cat conftest.err >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } &&
4731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4732 { (case "(($ac_try" in
4733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4734 *) ac_try_echo
=$ac_try;;
4736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4737 (eval "$ac_try") 2>&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; } &&
4741 { ac_try
='test -s conftest$ac_exeext'
4742 { (case "(($ac_try" in
4743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4744 *) ac_try_echo=$ac_try;;
4746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4747 (eval "$ac_try") 2>&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then
4751 ac_cv_lib_bsd_gethostbyname=yes
4753 echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.$ac_ext >&5
4756 ac_cv_lib_bsd_gethostbyname=no
4759 rm -f core conftest.err conftest.$ac_objext \
4760 conftest$ac_exeext conftest.$ac_ext
4761 LIBS=$ac_check_lib_save_LIBS
4763 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4764 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4765 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4766 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4772 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4773 # socket/setsockopt and other routines are undefined under SCO ODT
4774 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4775 # on later versions), says Simon Leinen: it contains gethostby*
4776 # variants that don't use the name server (or something). -lsocket
4777 # must be given before -lnsl if both are needed. We assume that
4778 # if connect needs -lnsl, so does gethostbyname.
4779 { echo "$as_me:$LINENO: checking for connect" >&5
4780 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4781 if test "${ac_cv_func_connect+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 cat >conftest.$ac_ext <<_ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4790 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4792 #define connect innocuous_connect
4794 /* System header to define __stub macros and hopefully few prototypes,
4795 which can conflict with char connect (); below.
4796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4797 <limits.h> exists even on freestanding compilers. */
4800 # include <limits.h>
4802 # include <assert.h>
4807 /* Override any GCC internal prototype to avoid an error.
4808 Use char because int might match the return type of a GCC
4809 builtin and then its argument prototype would still apply. */
4814 /* The GNU C library defines this for functions which it implements
4815 to always fail with ENOSYS. Some functions are actually named
4816 something starting with __ and the normal name is an alias. */
4817 #if defined __stub_connect || defined __stub___connect
4829 rm -f conftest.$ac_objext conftest$ac_exeext
4830 if { (ac_try="$ac_link"
4832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4833 *) ac_try_echo
=$ac_try;;
4835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4836 (eval "$ac_link") 2>conftest.er1
4838 grep -v '^ *+' conftest.er1
>conftest.err
4840 cat conftest.err
>&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } &&
4843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4844 { (case "(($ac_try" in
4845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4846 *) ac_try_echo=$ac_try;;
4848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4849 (eval "$ac_try") 2>&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; } &&
4853 { ac_try='test -s conftest$ac_exeext'
4854 { (case "(($ac_try" in
4855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4856 *) ac_try_echo
=$ac_try;;
4858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4859 (eval "$ac_try") 2>&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); }; }; then
4863 ac_cv_func_connect
=yes
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.
$ac_ext >&5
4868 ac_cv_func_connect
=no
4871 rm -f core conftest.err conftest.
$ac_objext \
4872 conftest
$ac_exeext conftest.
$ac_ext
4874 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4875 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4877 if test $ac_cv_func_connect = no
; then
4878 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4879 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4880 if test "${ac_cv_lib_socket_connect+set}" = set; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 ac_check_lib_save_LIBS
=$LIBS
4884 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4885 cat >conftest.
$ac_ext <<_ACEOF
4888 cat confdefs.h
>>conftest.
$ac_ext
4889 cat >>conftest.
$ac_ext <<_ACEOF
4890 /* end confdefs.h. */
4892 /* Override any GCC internal prototype to avoid an error.
4893 Use char because int might match the return type of a GCC
4894 builtin and then its argument prototype would still apply. */
4907 rm -f conftest.
$ac_objext conftest
$ac_exeext
4908 if { (ac_try
="$ac_link"
4910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4911 *) ac_try_echo=$ac_try;;
4913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4914 (eval "$ac_link") 2>conftest.er1
4916 grep -v '^ *+' conftest.er1 >conftest.err
4918 cat conftest.err >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } &&
4921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4922 { (case "(($ac_try" in
4923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4924 *) ac_try_echo
=$ac_try;;
4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927 (eval "$ac_try") 2>&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); }; } &&
4931 { ac_try
='test -s conftest$ac_exeext'
4932 { (case "(($ac_try" in
4933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4937 (eval "$ac_try") 2>&5
4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); }; }; then
4941 ac_cv_lib_socket_connect=yes
4943 echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.$ac_ext >&5
4946 ac_cv_lib_socket_connect=no
4949 rm -f core conftest.err conftest.$ac_objext \
4950 conftest$ac_exeext conftest.$ac_ext
4951 LIBS=$ac_check_lib_save_LIBS
4953 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4954 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4955 if test $ac_cv_lib_socket_connect = yes; then
4956 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4961 # Guillermo Gomez says -lposix is necessary on A/UX.
4962 { echo "$as_me:$LINENO: checking for remove" >&5
4963 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4964 if test "${ac_cv_func_remove+set}" = set; then
4965 echo $ECHO_N "(cached) $ECHO_C" >&6
4967 cat >conftest.$ac_ext <<_ACEOF
4970 cat confdefs.h >>conftest.$ac_ext
4971 cat >>conftest.$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4973 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4975 #define remove innocuous_remove
4977 /* System header to define __stub macros and hopefully few prototypes,
4978 which can conflict with char remove (); below.
4979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4980 <limits.h> exists even on freestanding compilers. */
4983 # include <limits.h>
4985 # include <assert.h>
4990 /* Override any GCC internal prototype to avoid an error.
4991 Use char because int might match the return type of a GCC
4992 builtin and then its argument prototype would still apply. */
4997 /* The GNU C library defines this for functions which it implements
4998 to always fail with ENOSYS. Some functions are actually named
4999 something starting with __ and the normal name is an alias. */
5000 #if defined __stub_remove || defined __stub___remove
5012 rm -f conftest.$ac_objext conftest$ac_exeext
5013 if { (ac_try="$ac_link"
5015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5016 *) ac_try_echo
=$ac_try;;
5018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5019 (eval "$ac_link") 2>conftest.er1
5021 grep -v '^ *+' conftest.er1
>conftest.err
5023 cat conftest.err
>&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); } &&
5026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5027 { (case "(($ac_try" in
5028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5029 *) ac_try_echo=$ac_try;;
5031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5032 (eval "$ac_try") 2>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; } &&
5036 { ac_try='test -s conftest$ac_exeext'
5037 { (case "(($ac_try" in
5038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5039 *) ac_try_echo
=$ac_try;;
5041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5042 (eval "$ac_try") 2>&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; }; then
5046 ac_cv_func_remove
=yes
5048 echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.
$ac_ext >&5
5051 ac_cv_func_remove
=no
5054 rm -f core conftest.err conftest.
$ac_objext \
5055 conftest
$ac_exeext conftest.
$ac_ext
5057 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5058 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5060 if test $ac_cv_func_remove = no
; then
5061 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5062 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5063 if test "${ac_cv_lib_posix_remove+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5066 ac_check_lib_save_LIBS
=$LIBS
5067 LIBS
="-lposix $LIBS"
5068 cat >conftest.
$ac_ext <<_ACEOF
5071 cat confdefs.h
>>conftest.
$ac_ext
5072 cat >>conftest.
$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5075 /* Override any GCC internal prototype to avoid an error.
5076 Use char because int might match the return type of a GCC
5077 builtin and then its argument prototype would still apply. */
5090 rm -f conftest.
$ac_objext conftest
$ac_exeext
5091 if { (ac_try
="$ac_link"
5093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5097 (eval "$ac_link") 2>conftest.er1
5099 grep -v '^ *+' conftest.er1 >conftest.err
5101 cat conftest.err >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } &&
5104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5105 { (case "(($ac_try" in
5106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5107 *) ac_try_echo
=$ac_try;;
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110 (eval "$ac_try") 2>&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); }; } &&
5114 { ac_try
='test -s conftest$ac_exeext'
5115 { (case "(($ac_try" in
5116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5117 *) ac_try_echo=$ac_try;;
5119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5120 (eval "$ac_try") 2>&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; }; then
5124 ac_cv_lib_posix_remove=yes
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5129 ac_cv_lib_posix_remove=no
5132 rm -f core conftest.err conftest.$ac_objext \
5133 conftest$ac_exeext conftest.$ac_ext
5134 LIBS=$ac_check_lib_save_LIBS
5136 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5137 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5138 if test $ac_cv_lib_posix_remove = yes; then
5139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5144 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5145 { echo "$as_me:$LINENO: checking for shmat" >&5
5146 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5147 if test "${ac_cv_func_shmat+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 cat >conftest.$ac_ext <<_ACEOF
5153 cat confdefs.h >>conftest.$ac_ext
5154 cat >>conftest.$ac_ext <<_ACEOF
5155 /* end confdefs.h. */
5156 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5158 #define shmat innocuous_shmat
5160 /* System header to define __stub macros and hopefully few prototypes,
5161 which can conflict with char shmat (); below.
5162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5163 <limits.h> exists even on freestanding compilers. */
5166 # include <limits.h>
5168 # include <assert.h>
5173 /* Override any GCC internal prototype to avoid an error.
5174 Use char because int might match the return type of a GCC
5175 builtin and then its argument prototype would still apply. */
5180 /* The GNU C library defines this for functions which it implements
5181 to always fail with ENOSYS. Some functions are actually named
5182 something starting with __ and the normal name is an alias. */
5183 #if defined __stub_shmat || defined __stub___shmat
5195 rm -f conftest.$ac_objext conftest$ac_exeext
5196 if { (ac_try="$ac_link"
5198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5199 *) ac_try_echo
=$ac_try;;
5201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5202 (eval "$ac_link") 2>conftest.er1
5204 grep -v '^ *+' conftest.er1
>conftest.err
5206 cat conftest.err
>&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } &&
5209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5210 { (case "(($ac_try" in
5211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5212 *) ac_try_echo=$ac_try;;
5214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5215 (eval "$ac_try") 2>&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); }; } &&
5219 { ac_try='test -s conftest$ac_exeext'
5220 { (case "(($ac_try" in
5221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5222 *) ac_try_echo
=$ac_try;;
5224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5225 (eval "$ac_try") 2>&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }; }; then
5229 ac_cv_func_shmat
=yes
5231 echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.
$ac_ext >&5
5237 rm -f core conftest.err conftest.
$ac_objext \
5238 conftest
$ac_exeext conftest.
$ac_ext
5240 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5241 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5243 if test $ac_cv_func_shmat = no
; then
5244 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5245 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5246 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 ac_check_lib_save_LIBS
=$LIBS
5251 cat >conftest.
$ac_ext <<_ACEOF
5254 cat confdefs.h
>>conftest.
$ac_ext
5255 cat >>conftest.
$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5258 /* Override any GCC internal prototype to avoid an error.
5259 Use char because int might match the return type of a GCC
5260 builtin and then its argument prototype would still apply. */
5273 rm -f conftest.
$ac_objext conftest
$ac_exeext
5274 if { (ac_try
="$ac_link"
5276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5277 *) ac_try_echo=$ac_try;;
5279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5280 (eval "$ac_link") 2>conftest.er1
5282 grep -v '^ *+' conftest.er1 >conftest.err
5284 cat conftest.err >&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); } &&
5287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5288 { (case "(($ac_try" in
5289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5290 *) ac_try_echo
=$ac_try;;
5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293 (eval "$ac_try") 2>&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; } &&
5297 { ac_try
='test -s conftest$ac_exeext'
5298 { (case "(($ac_try" in
5299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5300 *) ac_try_echo=$ac_try;;
5302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5303 (eval "$ac_try") 2>&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); }; }; then
5307 ac_cv_lib_ipc_shmat=yes
5309 echo "$as_me: failed program was:" >&5
5310 sed 's/^/| /' conftest.$ac_ext >&5
5312 ac_cv_lib_ipc_shmat=no
5315 rm -f core conftest.err conftest.$ac_objext \
5316 conftest$ac_exeext conftest.$ac_ext
5317 LIBS=$ac_check_lib_save_LIBS
5319 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5320 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5321 if test $ac_cv_lib_ipc_shmat = yes; then
5322 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5328 # Check for libraries that X11R6 Xt/Xaw programs need.
5329 ac_save_LDFLAGS=$LDFLAGS
5330 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5331 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5332 # check for ICE first), but we must link in the order -lSM -lICE or
5333 # we get undefined symbols. So assume we have SM if we have ICE.
5334 # These have to be linked with before -lX11, unlike the other
5335 # libraries we check for below, so use a different variable.
5336 # John Interrante, Karl Berry
5337 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5338 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5339 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 ac_check_lib_save_LIBS=$LIBS
5343 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5344 cat >conftest.$ac_ext <<_ACEOF
5347 cat confdefs.h >>conftest.$ac_ext
5348 cat >>conftest.$ac_ext <<_ACEOF
5349 /* end confdefs.h. */
5351 /* Override any GCC internal prototype to avoid an error.
5352 Use char because int might match the return type of a GCC
5353 builtin and then its argument prototype would still apply. */
5357 char IceConnectionNumber ();
5361 return IceConnectionNumber ();
5366 rm -f conftest.$ac_objext conftest$ac_exeext
5367 if { (ac_try="$ac_link"
5369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5370 *) ac_try_echo
=$ac_try;;
5372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5373 (eval "$ac_link") 2>conftest.er1
5375 grep -v '^ *+' conftest.er1
>conftest.err
5377 cat conftest.err
>&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } &&
5380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5381 { (case "(($ac_try" in
5382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5383 *) ac_try_echo=$ac_try;;
5385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5386 (eval "$ac_try") 2>&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; } &&
5390 { ac_try='test -s conftest$ac_exeext'
5391 { (case "(($ac_try" in
5392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5393 *) ac_try_echo
=$ac_try;;
5395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5396 (eval "$ac_try") 2>&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }; }; then
5400 ac_cv_lib_ICE_IceConnectionNumber
=yes
5402 echo "$as_me: failed program was:" >&5
5403 sed 's/^/| /' conftest.
$ac_ext >&5
5405 ac_cv_lib_ICE_IceConnectionNumber
=no
5408 rm -f core conftest.err conftest.
$ac_objext \
5409 conftest
$ac_exeext conftest.
$ac_ext
5410 LIBS
=$ac_check_lib_save_LIBS
5412 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5413 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5414 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5415 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5418 LDFLAGS
=$ac_save_LDFLAGS
5422 for ac_prog
in flex
lex
5424 # Extract the first word of "$ac_prog", so it can be a program name with args.
5425 set dummy
$ac_prog; ac_word
=$2
5426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5428 if test "${ac_cv_prog_LEX+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 if test -n "$LEX"; then
5432 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir
=.
5439 for ac_exec_ext
in '' $ac_executable_extensions; do
5440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5441 ac_cv_prog_LEX
="$ac_prog"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 if test -n "$LEX"; then
5453 { echo "$as_me:$LINENO: result: $LEX" >&5
5454 echo "${ECHO_T}$LEX" >&6; }
5456 { echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6; }
5461 test -n "$LEX" && break
5463 test -n "$LEX" || LEX
=":"
5465 if test -z "$LEXLIB"
5467 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5468 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5469 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5470 echo $ECHO_N "(cached) $ECHO_C" >&6
5472 ac_check_lib_save_LIBS
=$LIBS
5474 cat >conftest.
$ac_ext <<_ACEOF
5477 cat confdefs.h
>>conftest.
$ac_ext
5478 cat >>conftest.
$ac_ext <<_ACEOF
5479 /* end confdefs.h. */
5481 /* Override any GCC internal prototype to avoid an error.
5482 Use char because int might match the return type of a GCC
5483 builtin and then its argument prototype would still apply. */
5496 rm -f conftest.
$ac_objext conftest
$ac_exeext
5497 if { (ac_try
="$ac_link"
5499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5500 *) ac_try_echo=$ac_try;;
5502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5503 (eval "$ac_link") 2>conftest.er1
5505 grep -v '^ *+' conftest.er1 >conftest.err
5507 cat conftest.err >&5
5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509 (exit $ac_status); } &&
5510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5511 { (case "(($ac_try" in
5512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5513 *) ac_try_echo
=$ac_try;;
5515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5516 (eval "$ac_try") 2>&5
5518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519 (exit $ac_status); }; } &&
5520 { ac_try
='test -s conftest$ac_exeext'
5521 { (case "(($ac_try" in
5522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5523 *) ac_try_echo=$ac_try;;
5525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5526 (eval "$ac_try") 2>&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); }; }; then
5530 ac_cv_lib_fl_yywrap=yes
5532 echo "$as_me: failed program was:" >&5
5533 sed 's/^/| /' conftest.$ac_ext >&5
5535 ac_cv_lib_fl_yywrap=no
5538 rm -f core conftest.err conftest.$ac_objext \
5539 conftest$ac_exeext conftest.$ac_ext
5540 LIBS=$ac_check_lib_save_LIBS
5542 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5543 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5544 if test $ac_cv_lib_fl_yywrap = yes; then
5547 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5548 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5549 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5550 echo $ECHO_N "(cached) $ECHO_C" >&6
5552 ac_check_lib_save_LIBS=$LIBS
5554 cat >conftest.$ac_ext <<_ACEOF
5557 cat confdefs.h >>conftest.$ac_ext
5558 cat >>conftest.$ac_ext <<_ACEOF
5559 /* end confdefs.h. */
5561 /* Override any GCC internal prototype to avoid an error.
5562 Use char because int might match the return type of a GCC
5563 builtin and then its argument prototype would still apply. */
5576 rm -f conftest.$ac_objext conftest$ac_exeext
5577 if { (ac_try="$ac_link"
5579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5580 *) ac_try_echo
=$ac_try;;
5582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5583 (eval "$ac_link") 2>conftest.er1
5585 grep -v '^ *+' conftest.er1
>conftest.err
5587 cat conftest.err
>&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } &&
5590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5591 { (case "(($ac_try" in
5592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5593 *) ac_try_echo=$ac_try;;
5595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5596 (eval "$ac_try") 2>&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }; } &&
5600 { ac_try='test -s conftest$ac_exeext'
5601 { (case "(($ac_try" in
5602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5603 *) ac_try_echo
=$ac_try;;
5605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5606 (eval "$ac_try") 2>&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); }; }; then
5610 ac_cv_lib_l_yywrap
=yes
5612 echo "$as_me: failed program was:" >&5
5613 sed 's/^/| /' conftest.
$ac_ext >&5
5615 ac_cv_lib_l_yywrap
=no
5618 rm -f core conftest.err conftest.
$ac_objext \
5619 conftest
$ac_exeext conftest.
$ac_ext
5620 LIBS
=$ac_check_lib_save_LIBS
5622 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5623 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5624 if test $ac_cv_lib_l_yywrap = yes; then
5632 if test "x$LEX" != "x:"; then
5633 { echo "$as_me:$LINENO: checking lex output file root" >&5
5634 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5635 if test "${ac_cv_prog_lex_root+set}" = set; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5638 # The minimal lex program is just a single line: %%. But some broken lexes
5639 # (Solaris, I think it was) want two %% lines, so accommodate them.
5640 cat >conftest.l
<<_ACEOF
5644 { (ac_try
="$LEX conftest.l"
5646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5647 *) ac_try_echo=$ac_try;;
5649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5650 (eval "$LEX conftest.l") 2>&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); }
5654 if test -f lex.yy.c; then
5655 ac_cv_prog_lex_root=lex.yy
5656 elif test -f lexyy.c; then
5657 ac_cv_prog_lex_root=lexyy
5659 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5660 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5661 { (exit 1); exit 1; }; }
5664 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5665 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5667 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5669 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5670 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5671 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 # POSIX says lex can declare yytext either as a pointer or an array; the
5675 # default is implementation-dependent. Figure out which it is, since
5676 # not all implementations provide the %pointer and %array declarations.
5677 ac_cv_prog_lex_yytext_pointer=no
5678 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5680 LIBS="$LIBS $LEXLIB"
5681 cat >conftest.$ac_ext <<_ACEOF
5682 `cat $LEX_OUTPUT_ROOT.c
`
5684 rm -f conftest.$ac_objext conftest$ac_exeext
5685 if { (ac_try="$ac_link"
5687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5688 *) ac_try_echo
=$ac_try;;
5690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5691 (eval "$ac_link") 2>conftest.er1
5693 grep -v '^ *+' conftest.er1
>conftest.err
5695 cat conftest.err
>&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); } &&
5698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5699 { (case "(($ac_try" in
5700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5701 *) ac_try_echo=$ac_try;;
5703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5704 (eval "$ac_try") 2>&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; } &&
5708 { ac_try='test -s conftest$ac_exeext'
5709 { (case "(($ac_try" in
5710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5711 *) ac_try_echo
=$ac_try;;
5713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5714 (eval "$ac_try") 2>&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); }; }; then
5718 ac_cv_prog_lex_yytext_pointer
=yes
5720 echo "$as_me: failed program was:" >&5
5721 sed 's/^/| /' conftest.
$ac_ext >&5
5726 rm -f core conftest.err conftest.
$ac_objext \
5727 conftest
$ac_exeext conftest.
$ac_ext
5729 rm -f "${LEX_OUTPUT_ROOT}.c"
5732 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5733 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5734 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5736 cat >>confdefs.h
<<\_ACEOF
5737 #define YYTEXT_POINTER 1
5744 for ac_prog
in $LEX flex
lex
5746 # Extract the first word of "$ac_prog", so it can be a program name with args.
5747 set dummy
$ac_prog; ac_word
=$2
5748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5750 if test "${ac_cv_prog_XLEX+set}" = set; then
5751 echo $ECHO_N "(cached) $ECHO_C" >&6
5753 if test -n "$XLEX"; then
5754 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
5756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5760 test -z "$as_dir" && as_dir
=.
5761 for ac_exec_ext
in '' $ac_executable_extensions; do
5762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5763 ac_cv_prog_XLEX
="$ac_prog"
5764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 XLEX
=$ac_cv_prog_XLEX
5774 if test -n "$XLEX"; then
5775 { echo "$as_me:$LINENO: result: $XLEX" >&5
5776 echo "${ECHO_T}$XLEX" >&6; }
5778 { echo "$as_me:$LINENO: result: no" >&5
5779 echo "${ECHO_T}no" >&6; }
5783 test -n "$XLEX" && break
5785 test -n "$XLEX" || XLEX
="none"
5787 if test "$XLEX" = "none"
5789 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5790 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5791 { (exit 1); exit 1; }; }
5794 for ac_prog
in bison
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy
$ac_prog; ac_word
=$2
5798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5800 if test "${ac_cv_prog_BISON+set}" = set; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 if test -n "$BISON"; then
5804 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5810 test -z "$as_dir" && as_dir
=.
5811 for ac_exec_ext
in '' $ac_executable_extensions; do
5812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5813 ac_cv_prog_BISON
="$ac_prog"
5814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5823 BISON
=$ac_cv_prog_BISON
5824 if test -n "$BISON"; then
5825 { echo "$as_me:$LINENO: result: $BISON" >&5
5826 echo "${ECHO_T}$BISON" >&6; }
5828 { echo "$as_me:$LINENO: result: no" >&5
5829 echo "${ECHO_T}no" >&6; }
5833 test -n "$BISON" && break
5835 test -n "$BISON" || BISON
="none"
5837 if test "$BISON" = "none"
5839 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5840 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5841 { (exit 1); exit 1; }; }
5844 if test -n "$ac_tool_prefix"; then
5845 for ac_prog
in gas as
5847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5848 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5851 if test "${ac_cv_prog_AS+set}" = set; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5854 if test -n "$AS"; then
5855 ac_cv_prog_AS
="$AS" # Let the user override the test.
5857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5861 test -z "$as_dir" && as_dir
=.
5862 for ac_exec_ext
in '' $ac_executable_extensions; do
5863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5864 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 if test -n "$AS"; then
5876 { echo "$as_me:$LINENO: result: $AS" >&5
5877 echo "${ECHO_T}$AS" >&6; }
5879 { echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6; }
5884 test -n "$AS" && break
5887 if test -z "$AS"; then
5889 for ac_prog
in gas as
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy
$ac_prog; ac_word
=$2
5893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5895 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 if test -n "$ac_ct_AS"; then
5899 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_prog_ac_ct_AS
="$ac_prog"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5919 if test -n "$ac_ct_AS"; then
5920 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5921 echo "${ECHO_T}$ac_ct_AS" >&6; }
5923 { echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6; }
5928 test -n "$ac_ct_AS" && break
5931 if test "x$ac_ct_AS" = x
; then
5934 case $cross_compiling:$ac_tool_warned in
5936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5937 whose name does not start with the host triplet. If you think this
5938 configuration is useful to you, please write to autoconf@gnu.org." >&5
5939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5940 whose name does not start with the host triplet. If you think this
5941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5942 ac_tool_warned
=yes ;;
5948 if test -n "$ac_tool_prefix"; then
5949 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5950 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5953 if test "${ac_cv_prog_LD+set}" = set; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 if test -n "$LD"; then
5957 ac_cv_prog_LD
="$LD" # Let the user override the test.
5959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5963 test -z "$as_dir" && as_dir
=.
5964 for ac_exec_ext
in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5966 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 if test -n "$LD"; then
5978 { echo "$as_me:$LINENO: result: $LD" >&5
5979 echo "${ECHO_T}$LD" >&6; }
5981 { echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6; }
5987 if test -z "$ac_cv_prog_LD"; then
5989 # Extract the first word of "ld", so it can be a program name with args.
5990 set dummy ld
; ac_word
=$2
5991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5993 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 if test -n "$ac_ct_LD"; then
5997 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6003 test -z "$as_dir" && as_dir
=.
6004 for ac_exec_ext
in '' $ac_executable_extensions; do
6005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6006 ac_cv_prog_ac_ct_LD
="ld"
6007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6017 if test -n "$ac_ct_LD"; then
6018 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6019 echo "${ECHO_T}$ac_ct_LD" >&6; }
6021 { echo "$as_me:$LINENO: result: no" >&5
6022 echo "${ECHO_T}no" >&6; }
6025 if test "x$ac_ct_LD" = x
; then
6028 case $cross_compiling:$ac_tool_warned in
6030 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6031 whose name does not start with the host triplet. If you think this
6032 configuration is useful to you, please write to autoconf@gnu.org." >&5
6033 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6034 whose name does not start with the host triplet. If you think this
6035 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6036 ac_tool_warned
=yes ;;
6044 if test -n "$ac_tool_prefix"; then
6045 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6046 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_AR+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 if test -n "$AR"; then
6053 ac_cv_prog_AR
="$AR" # Let the user override the test.
6055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir
=.
6060 for ac_exec_ext
in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 if test -n "$AR"; then
6074 { echo "$as_me:$LINENO: result: $AR" >&5
6075 echo "${ECHO_T}$AR" >&6; }
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6083 if test -z "$ac_cv_prog_AR"; then
6085 # Extract the first word of "ar", so it can be a program name with args.
6086 set dummy
ar; ac_word
=$2
6087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6089 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 if test -n "$ac_ct_AR"; then
6093 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir
=.
6100 for ac_exec_ext
in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_prog_ac_ct_AR
="ar"
6103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6113 if test -n "$ac_ct_AR"; then
6114 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6115 echo "${ECHO_T}$ac_ct_AR" >&6; }
6117 { echo "$as_me:$LINENO: result: no" >&5
6118 echo "${ECHO_T}no" >&6; }
6121 if test "x$ac_ct_AR" = x
; then
6124 case $cross_compiling:$ac_tool_warned in
6126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6127 whose name does not start with the host triplet. If you think this
6128 configuration is useful to you, please write to autoconf@gnu.org." >&5
6129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6130 whose name does not start with the host triplet. If you think this
6131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6132 ac_tool_warned
=yes ;;
6140 if test -n "$ac_tool_prefix"; then
6141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6142 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6145 if test "${ac_cv_prog_RANLIB+set}" = set; then
6146 echo $ECHO_N "(cached) $ECHO_C" >&6
6148 if test -n "$RANLIB"; then
6149 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6155 test -z "$as_dir" && as_dir
=.
6156 for ac_exec_ext
in '' $ac_executable_extensions; do
6157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6158 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6168 RANLIB
=$ac_cv_prog_RANLIB
6169 if test -n "$RANLIB"; then
6170 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6171 echo "${ECHO_T}$RANLIB" >&6; }
6173 { echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6; }
6179 if test -z "$ac_cv_prog_RANLIB"; then
6180 ac_ct_RANLIB
=$RANLIB
6181 # Extract the first word of "ranlib", so it can be a program name with args.
6182 set dummy ranlib
; ac_word
=$2
6183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6185 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 if test -n "$ac_ct_RANLIB"; then
6189 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6195 test -z "$as_dir" && as_dir
=.
6196 for ac_exec_ext
in '' $ac_executable_extensions; do
6197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6198 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6209 if test -n "$ac_ct_RANLIB"; then
6210 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6211 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6213 { echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6; }
6217 if test "x$ac_ct_RANLIB" = x
; then
6220 case $cross_compiling:$ac_tool_warned in
6222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6223 whose name does not start with the host triplet. If you think this
6224 configuration is useful to you, please write to autoconf@gnu.org." >&5
6225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6226 whose name does not start with the host triplet. If you think this
6227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6228 ac_tool_warned
=yes ;;
6230 RANLIB
=$ac_ct_RANLIB
6233 RANLIB
="$ac_cv_prog_RANLIB"
6236 if test -n "$ac_tool_prefix"; then
6237 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6238 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6241 if test "${ac_cv_prog_STRIP+set}" = set; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 if test -n "$STRIP"; then
6245 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6251 test -z "$as_dir" && as_dir
=.
6252 for ac_exec_ext
in '' $ac_executable_extensions; do
6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6264 STRIP
=$ac_cv_prog_STRIP
6265 if test -n "$STRIP"; then
6266 { echo "$as_me:$LINENO: result: $STRIP" >&5
6267 echo "${ECHO_T}$STRIP" >&6; }
6269 { echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6; }
6275 if test -z "$ac_cv_prog_STRIP"; then
6277 # Extract the first word of "strip", so it can be a program name with args.
6278 set dummy strip
; ac_word
=$2
6279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6281 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 if test -n "$ac_ct_STRIP"; then
6285 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6291 test -z "$as_dir" && as_dir
=.
6292 for ac_exec_ext
in '' $ac_executable_extensions; do
6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 ac_cv_prog_ac_ct_STRIP
="strip"
6295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6304 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6305 if test -n "$ac_ct_STRIP"; then
6306 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6307 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6309 { echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6; }
6313 if test "x$ac_ct_STRIP" = x
; then
6316 case $cross_compiling:$ac_tool_warned in
6318 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6319 whose name does not start with the host triplet. If you think this
6320 configuration is useful to you, please write to autoconf@gnu.org." >&5
6321 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6322 whose name does not start with the host triplet. If you think this
6323 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6324 ac_tool_warned
=yes ;;
6329 STRIP
="$ac_cv_prog_STRIP"
6332 if test -n "$ac_tool_prefix"; then
6333 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6334 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
6335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6337 if test "${ac_cv_prog_WINDRES+set}" = set; then
6338 echo $ECHO_N "(cached) $ECHO_C" >&6
6340 if test -n "$WINDRES"; then
6341 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
6343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6347 test -z "$as_dir" && as_dir
=.
6348 for ac_exec_ext
in '' $ac_executable_extensions; do
6349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6350 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
6351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6360 WINDRES
=$ac_cv_prog_WINDRES
6361 if test -n "$WINDRES"; then
6362 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6363 echo "${ECHO_T}$WINDRES" >&6; }
6365 { echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6; }
6371 if test -z "$ac_cv_prog_WINDRES"; then
6372 ac_ct_WINDRES
=$WINDRES
6373 # Extract the first word of "windres", so it can be a program name with args.
6374 set dummy windres
; ac_word
=$2
6375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6377 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6380 if test -n "$ac_ct_WINDRES"; then
6381 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir
=.
6388 for ac_exec_ext
in '' $ac_executable_extensions; do
6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6390 ac_cv_prog_ac_ct_WINDRES
="windres"
6391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6401 if test -n "$ac_ct_WINDRES"; then
6402 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6403 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6405 { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6409 if test "x$ac_ct_WINDRES" = x
; then
6412 case $cross_compiling:$ac_tool_warned in
6414 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6415 whose name does not start with the host triplet. If you think this
6416 configuration is useful to you, please write to autoconf@gnu.org." >&5
6417 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6418 whose name does not start with the host triplet. If you think this
6419 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6420 ac_tool_warned
=yes ;;
6422 WINDRES
=$ac_ct_WINDRES
6425 WINDRES
="$ac_cv_prog_WINDRES"
6428 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6429 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6431 if test "$LN_S" = "ln -s"; then
6432 { echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6; }
6435 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6436 echo "${ECHO_T}no, using $LN_S" >&6; }
6439 { echo "$as_me:$LINENO: checking whether ln works" >&5
6440 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6441 rm -f conf$$ conf$$.
file
6443 if ln conf$$.
file conf$$
2>/dev
/null
; then
6446 { echo "$as_me:$LINENO: result: yes" >&5
6447 echo "${ECHO_T}yes" >&6; }
6451 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6452 echo "${ECHO_T}no, using $LN" >&6; }
6454 rm -f conf$$ conf$$.
file
6455 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6456 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6457 if test "${ac_cv_path_GREP+set}" = set; then
6458 echo $ECHO_N "(cached) $ECHO_C" >&6
6460 # Extract the first word of "grep ggrep" to use in msg output
6461 if test -z "$GREP"; then
6462 set dummy
grep ggrep
; ac_prog_name
=$2
6463 if test "${ac_cv_path_GREP+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 ac_path_GREP_found
=false
6467 # Loop through the user's path and test for each of PROGNAME-LIST
6468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6469 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6472 test -z "$as_dir" && as_dir
=.
6473 for ac_prog
in grep ggrep
; do
6474 for ac_exec_ext
in '' $ac_executable_extensions; do
6475 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6476 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
6477 # Check for GNU ac_path_GREP and select it if it is found.
6478 # Check for GNU $ac_path_GREP
6479 case `"$ac_path_GREP" --version 2>&1` in
6481 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6484 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6487 cat "conftest.in" "conftest.in" >"conftest.tmp"
6488 mv "conftest.tmp" "conftest.in"
6489 cp "conftest.in" "conftest.nl"
6490 echo 'GREP' >> "conftest.nl"
6491 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6492 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6493 ac_count
=`expr $ac_count + 1`
6494 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6495 # Best one so far, save it but keep looking for a better one
6496 ac_cv_path_GREP
="$ac_path_GREP"
6497 ac_path_GREP_max
=$ac_count
6499 # 10*(2^10) chars as input seems more than enough
6500 test $ac_count -gt 10 && break
6502 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6506 $ac_path_GREP_found && break 3
6516 GREP
="$ac_cv_path_GREP"
6517 if test -z "$GREP"; then
6518 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6519 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6520 { (exit 1); exit 1; }; }
6524 ac_cv_path_GREP
=$GREP
6529 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6530 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6531 GREP
="$ac_cv_path_GREP"
6534 { echo "$as_me:$LINENO: checking for egrep" >&5
6535 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6536 if test "${ac_cv_path_EGREP+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6540 then ac_cv_path_EGREP
="$GREP -E"
6542 # Extract the first word of "egrep" to use in msg output
6543 if test -z "$EGREP"; then
6544 set dummy
egrep; ac_prog_name
=$2
6545 if test "${ac_cv_path_EGREP+set}" = set; then
6546 echo $ECHO_N "(cached) $ECHO_C" >&6
6548 ac_path_EGREP_found
=false
6549 # Loop through the user's path and test for each of PROGNAME-LIST
6550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6551 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6554 test -z "$as_dir" && as_dir
=.
6555 for ac_prog
in egrep; do
6556 for ac_exec_ext
in '' $ac_executable_extensions; do
6557 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6558 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
6559 # Check for GNU ac_path_EGREP and select it if it is found.
6560 # Check for GNU $ac_path_EGREP
6561 case `"$ac_path_EGREP" --version 2>&1` in
6563 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6566 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6569 cat "conftest.in" "conftest.in" >"conftest.tmp"
6570 mv "conftest.tmp" "conftest.in"
6571 cp "conftest.in" "conftest.nl"
6572 echo 'EGREP' >> "conftest.nl"
6573 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6574 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6575 ac_count
=`expr $ac_count + 1`
6576 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6577 # Best one so far, save it but keep looking for a better one
6578 ac_cv_path_EGREP
="$ac_path_EGREP"
6579 ac_path_EGREP_max
=$ac_count
6581 # 10*(2^10) chars as input seems more than enough
6582 test $ac_count -gt 10 && break
6584 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6588 $ac_path_EGREP_found && break 3
6598 EGREP
="$ac_cv_path_EGREP"
6599 if test -z "$EGREP"; then
6600 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6601 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6602 { (exit 1); exit 1; }; }
6606 ac_cv_path_EGREP
=$EGREP
6612 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6613 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6614 EGREP
="$ac_cv_path_EGREP"
6617 # Extract the first word of "ldconfig", so it can be a program name with args.
6618 set dummy ldconfig
; ac_word
=$2
6619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6621 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6622 echo $ECHO_N "(cached) $ECHO_C" >&6
6626 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6630 for as_dir
in /sbin
/usr
/sbin
$PATH
6633 test -z "$as_dir" && as_dir
=.
6634 for ac_exec_ext
in '' $ac_executable_extensions; do
6635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6636 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6648 LDCONFIG
=$ac_cv_path_LDCONFIG
6649 if test -n "$LDCONFIG"; then
6650 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6651 echo "${ECHO_T}$LDCONFIG" >&6; }
6653 { echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6; }
6658 # Find a good install program. We prefer a C program (faster),
6659 # so one script is as good as another. But avoid the broken or
6660 # incompatible versions:
6661 # SysV /etc/install, /usr/sbin/install
6662 # SunOS /usr/etc/install
6663 # IRIX /sbin/install
6665 # AmigaOS /C/install, which installs bootblocks on floppy discs
6666 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6667 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6668 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6669 # OS/2's system install, which has a completely different semantic
6670 # ./install, which can be erroneously created by make from ./install.sh.
6671 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6672 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6673 if test -z "$INSTALL"; then
6674 if test "${ac_cv_path_install+set}" = set; then
6675 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir
=.
6682 # Account for people who put trailing slashes in PATH elements.
6684 .
/ | .
// |
/cC
/* | \
6685 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6686 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6689 # OSF1 and SCO ODT 3.0 have their own names for install.
6690 # Don't use installbsd from OSF since it installs stuff as root
6692 for ac_prog
in ginstall scoinst
install; do
6693 for ac_exec_ext
in '' $ac_executable_extensions; do
6694 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6695 if test $ac_prog = install &&
6696 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6697 # AIX install. It has an incompatible calling convention.
6699 elif test $ac_prog = install &&
6700 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6701 # program-specific install script used by HP pwplus--don't use.
6704 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6717 if test "${ac_cv_path_install+set}" = set; then
6718 INSTALL
=$ac_cv_path_install
6720 # As a last resort, use the slow shell script. Don't cache a
6721 # value for INSTALL within a source directory, because that will
6722 # break other packages using the cache if that directory is
6723 # removed, or if the value is a relative name.
6724 INSTALL
=$ac_install_sh
6727 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6728 echo "${ECHO_T}$INSTALL" >&6; }
6730 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6731 # It thinks the first close brace ends the variable substitution.
6732 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6734 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6736 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6739 [\\/$
]* | ?
:[\\/]* ) ;;
6740 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6743 for ac_prog
in lclint lint
6745 # Extract the first word of "$ac_prog", so it can be a program name with args.
6746 set dummy
$ac_prog; ac_word
=$2
6747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6749 if test "${ac_cv_prog_LINT+set}" = set; then
6750 echo $ECHO_N "(cached) $ECHO_C" >&6
6752 if test -n "$LINT"; then
6753 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6759 test -z "$as_dir" && as_dir
=.
6760 for ac_exec_ext
in '' $ac_executable_extensions; do
6761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6762 ac_cv_prog_LINT
="$ac_prog"
6763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 LINT
=$ac_cv_prog_LINT
6773 if test -n "$LINT"; then
6774 { echo "$as_me:$LINENO: result: $LINT" >&5
6775 echo "${ECHO_T}$LINT" >&6; }
6777 { echo "$as_me:$LINENO: result: no" >&5
6778 echo "${ECHO_T}no" >&6; }
6782 test -n "$LINT" && break
6785 if test "$LINT" = "lint"
6787 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6792 for ac_prog
in fontforge
6794 # Extract the first word of "$ac_prog", so it can be a program name with args.
6795 set dummy
$ac_prog; ac_word
=$2
6796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6798 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6799 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 if test -n "$FONTFORGE"; then
6802 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6808 test -z "$as_dir" && as_dir
=.
6809 for ac_exec_ext
in '' $ac_executable_extensions; do
6810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6811 ac_cv_prog_FONTFORGE
="$ac_prog"
6812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6821 FONTFORGE
=$ac_cv_prog_FONTFORGE
6822 if test -n "$FONTFORGE"; then
6823 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6824 echo "${ECHO_T}$FONTFORGE" >&6; }
6826 { echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6; }
6831 test -n "$FONTFORGE" && break
6833 test -n "$FONTFORGE" || FONTFORGE
="false"
6835 for ac_prog
in pkg-config
6837 # Extract the first word of "$ac_prog", so it can be a program name with args.
6838 set dummy
$ac_prog; ac_word
=$2
6839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6841 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6844 if test -n "$PKG_CONFIG"; then
6845 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6851 test -z "$as_dir" && as_dir
=.
6852 for ac_exec_ext
in '' $ac_executable_extensions; do
6853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6854 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6864 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6865 if test -n "$PKG_CONFIG"; then
6866 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6867 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6869 { echo "$as_me:$LINENO: result: no" >&5
6870 echo "${ECHO_T}no" >&6; }
6874 test -n "$PKG_CONFIG" && break
6876 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6881 # Extract the first word of "prelink", so it can be a program name with args.
6882 set dummy prelink
; ac_word
=$2
6883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6885 if test "${ac_cv_path_PRELINK+set}" = set; then
6886 echo $ECHO_N "(cached) $ECHO_C" >&6
6890 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6894 for as_dir
in /sbin
/usr
/sbin
$PATH
6897 test -z "$as_dir" && as_dir
=.
6898 for ac_exec_ext
in '' $ac_executable_extensions; do
6899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6900 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6908 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6912 PRELINK
=$ac_cv_path_PRELINK
6913 if test -n "$PRELINK"; then
6914 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6915 echo "${ECHO_T}$PRELINK" >&6; }
6917 { echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6; }
6927 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6928 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6929 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6930 echo $ECHO_N "(cached) $ECHO_C" >&6
6932 ac_check_lib_save_LIBS
=$LIBS
6934 cat >conftest.
$ac_ext <<_ACEOF
6937 cat confdefs.h
>>conftest.
$ac_ext
6938 cat >>conftest.
$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6941 /* Override any GCC internal prototype to avoid an error.
6942 Use char because int might match the return type of a GCC
6943 builtin and then its argument prototype would still apply. */
6947 char i386_set_ldt ();
6951 return i386_set_ldt ();
6956 rm -f conftest.
$ac_objext conftest
$ac_exeext
6957 if { (ac_try
="$ac_link"
6959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6960 *) ac_try_echo=$ac_try;;
6962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6963 (eval "$ac_link") 2>conftest.er1
6965 grep -v '^ *+' conftest.er1 >conftest.err
6967 cat conftest.err >&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); } &&
6970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6971 { (case "(($ac_try" in
6972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6973 *) ac_try_echo
=$ac_try;;
6975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6976 (eval "$ac_try") 2>&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; } &&
6980 { ac_try
='test -s conftest$ac_exeext'
6981 { (case "(($ac_try" in
6982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6983 *) ac_try_echo=$ac_try;;
6985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6986 (eval "$ac_try") 2>&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; }; then
6990 ac_cv_lib_i386_i386_set_ldt=yes
6992 echo "$as_me: failed program was:" >&5
6993 sed 's/^/| /' conftest.$ac_ext >&5
6995 ac_cv_lib_i386_i386_set_ldt=no
6998 rm -f core conftest.err conftest.$ac_objext \
6999 conftest$ac_exeext conftest.$ac_ext
7000 LIBS=$ac_check_lib_save_LIBS
7002 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7003 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7004 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7005 cat >>confdefs.h <<_ACEOF
7006 #define HAVE_LIBI386 1
7014 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7015 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7016 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7017 echo $ECHO_N "(cached) $ECHO_C" >&6
7019 ac_check_lib_save_LIBS=$LIBS
7020 LIBS="-lossaudio $LIBS"
7021 cat >conftest.$ac_ext <<_ACEOF
7024 cat confdefs.h >>conftest.$ac_ext
7025 cat >>conftest.$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7028 /* Override any GCC internal prototype to avoid an error.
7029 Use char because int might match the return type of a GCC
7030 builtin and then its argument prototype would still apply. */
7038 return _oss_ioctl ();
7043 rm -f conftest.$ac_objext conftest$ac_exeext
7044 if { (ac_try="$ac_link"
7046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7047 *) ac_try_echo
=$ac_try;;
7049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7050 (eval "$ac_link") 2>conftest.er1
7052 grep -v '^ *+' conftest.er1
>conftest.err
7054 cat conftest.err
>&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); } &&
7057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7058 { (case "(($ac_try" in
7059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7060 *) ac_try_echo=$ac_try;;
7062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7063 (eval "$ac_try") 2>&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); }; } &&
7067 { ac_try='test -s conftest$ac_exeext'
7068 { (case "(($ac_try" in
7069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7070 *) ac_try_echo
=$ac_try;;
7072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7073 (eval "$ac_try") 2>&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; }; then
7077 ac_cv_lib_ossaudio__oss_ioctl
=yes
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.
$ac_ext >&5
7082 ac_cv_lib_ossaudio__oss_ioctl
=no
7085 rm -f core conftest.err conftest.
$ac_objext \
7086 conftest
$ac_exeext conftest.
$ac_ext
7087 LIBS
=$ac_check_lib_save_LIBS
7089 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7090 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7091 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7092 cat >>confdefs.h
<<_ACEOF
7093 #define HAVE_LIBOSSAUDIO 1
7096 LIBS
="-lossaudio $LIBS"
7101 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7102 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7103 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7106 ac_check_lib_save_LIBS
=$LIBS
7108 cat >conftest.
$ac_ext <<_ACEOF
7111 cat confdefs.h
>>conftest.
$ac_ext
7112 cat >>conftest.
$ac_ext <<_ACEOF
7113 /* end confdefs.h. */
7115 /* Override any GCC internal prototype to avoid an error.
7116 Use char because int might match the return type of a GCC
7117 builtin and then its argument prototype would still apply. */
7121 char _xpg4_setrunelocale ();
7125 return _xpg4_setrunelocale ();
7130 rm -f conftest.
$ac_objext conftest
$ac_exeext
7131 if { (ac_try
="$ac_link"
7133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7134 *) ac_try_echo=$ac_try;;
7136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7137 (eval "$ac_link") 2>conftest.er1
7139 grep -v '^ *+' conftest.er1 >conftest.err
7141 cat conftest.err >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } &&
7144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7145 { (case "(($ac_try" in
7146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7147 *) ac_try_echo
=$ac_try;;
7149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7150 (eval "$ac_try") 2>&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); }; } &&
7154 { ac_try
='test -s conftest$ac_exeext'
7155 { (case "(($ac_try" in
7156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7157 *) ac_try_echo=$ac_try;;
7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7160 (eval "$ac_try") 2>&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); }; }; then
7164 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7166 echo "$as_me: failed program was:" >&5
7167 sed 's/^/| /' conftest.$ac_ext >&5
7169 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7172 rm -f core conftest.err conftest.$ac_objext \
7173 conftest$ac_exeext conftest.$ac_ext
7174 LIBS=$ac_check_lib_save_LIBS
7176 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7177 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7178 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7179 cat >>confdefs.h <<_ACEOF
7180 #define HAVE_LIBXPG4 1
7187 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7188 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7189 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7190 echo $ECHO_N "(cached) $ECHO_C" >&6
7192 ac_check_lib_save_LIBS=$LIBS
7193 LIBS="-lpthread $LIBS"
7194 cat >conftest.$ac_ext <<_ACEOF
7197 cat confdefs.h >>conftest.$ac_ext
7198 cat >>conftest.$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7201 /* Override any GCC internal prototype to avoid an error.
7202 Use char because int might match the return type of a GCC
7203 builtin and then its argument prototype would still apply. */
7207 char pthread_create ();
7211 return pthread_create ();
7216 rm -f conftest.$ac_objext conftest$ac_exeext
7217 if { (ac_try="$ac_link"
7219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7220 *) ac_try_echo
=$ac_try;;
7222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7223 (eval "$ac_link") 2>conftest.er1
7225 grep -v '^ *+' conftest.er1
>conftest.err
7227 cat conftest.err
>&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); } &&
7230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7231 { (case "(($ac_try" in
7232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7233 *) ac_try_echo=$ac_try;;
7235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7236 (eval "$ac_try") 2>&5
7238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); }; } &&
7240 { ac_try='test -s conftest$ac_exeext'
7241 { (case "(($ac_try" in
7242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7243 *) ac_try_echo
=$ac_try;;
7245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7246 (eval "$ac_try") 2>&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; }; then
7250 ac_cv_lib_pthread_pthread_create
=yes
7252 echo "$as_me: failed program was:" >&5
7253 sed 's/^/| /' conftest.
$ac_ext >&5
7255 ac_cv_lib_pthread_pthread_create
=no
7258 rm -f core conftest.err conftest.
$ac_objext \
7259 conftest
$ac_exeext conftest.
$ac_ext
7260 LIBS
=$ac_check_lib_save_LIBS
7262 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7263 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7264 if test $ac_cv_lib_pthread_pthread_create = yes; then
7265 LIBPTHREAD
="-lpthread"
7282 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7283 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7284 if test "${ac_cv_header_stdc+set}" = set; then
7285 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 cat >conftest.
$ac_ext <<_ACEOF
7290 cat confdefs.h
>>conftest.
$ac_ext
7291 cat >>conftest.
$ac_ext <<_ACEOF
7292 /* end confdefs.h. */
7306 rm -f conftest.
$ac_objext
7307 if { (ac_try
="$ac_compile"
7309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7310 *) ac_try_echo=$ac_try;;
7312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_compile") 2>conftest.er1
7315 grep -v '^ *+' conftest.er1 >conftest.err
7317 cat conftest.err >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } &&
7320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7321 { (case "(($ac_try" in
7322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7323 *) ac_try_echo
=$ac_try;;
7325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7326 (eval "$ac_try") 2>&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); }; } &&
7330 { ac_try
='test -s conftest.$ac_objext'
7331 { (case "(($ac_try" in
7332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7333 *) ac_try_echo=$ac_try;;
7335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7336 (eval "$ac_try") 2>&5
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; }; then
7340 ac_cv_header_stdc=yes
7342 echo "$as_me: failed program was:" >&5
7343 sed 's/^/| /' conftest.$ac_ext >&5
7345 ac_cv_header_stdc=no
7348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7350 if test $ac_cv_header_stdc = yes; then
7351 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7352 cat >conftest.$ac_ext <<_ACEOF
7355 cat confdefs.h >>conftest.$ac_ext
7356 cat >>conftest.$ac_ext <<_ACEOF
7357 /* end confdefs.h. */
7361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7362 $EGREP "memchr" >/dev/null 2>&1; then
7365 ac_cv_header_stdc=no
7371 if test $ac_cv_header_stdc = yes; then
7372 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7373 cat >conftest.$ac_ext <<_ACEOF
7376 cat confdefs.h >>conftest.$ac_ext
7377 cat >>conftest.$ac_ext <<_ACEOF
7378 /* end confdefs.h. */
7382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7383 $EGREP "free" >/dev/null 2>&1; then
7386 ac_cv_header_stdc=no
7392 if test $ac_cv_header_stdc = yes; then
7393 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7394 if test "$cross_compiling" = yes; then
7397 cat >conftest.$ac_ext <<_ACEOF
7400 cat confdefs.h >>conftest.$ac_ext
7401 cat >>conftest.$ac_ext <<_ACEOF
7402 /* end confdefs.h. */
7405 #if ((' ' & 0x0FF) == 0x020)
7406 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7407 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7409 # define ISLOWER(c) \
7410 (('a' <= (c) && (c) <= 'i') \
7411 || ('j' <= (c) && (c) <= 'r') \
7412 || ('s' <= (c) && (c) <= 'z'))
7413 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7416 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7421 for (i = 0; i < 256; i++)
7422 if (XOR (islower (i), ISLOWER (i))
7423 || toupper (i) != TOUPPER (i))
7428 rm -f conftest$ac_exeext
7429 if { (ac_try="$ac_link"
7431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7432 *) ac_try_echo
=$ac_try;;
7434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7435 (eval "$ac_link") 2>&5
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7439 { (case "(($ac_try" in
7440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7441 *) ac_try_echo=$ac_try;;
7443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7444 (eval "$ac_try") 2>&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; }; then
7450 echo "$as_me: program exited with status $ac_status" >&5
7451 echo "$as_me: failed program was:" >&5
7452 sed 's/^/| /' conftest.$ac_ext >&5
7455 ac_cv_header_stdc=no
7457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7463 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7464 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7465 if test $ac_cv_header_stdc = yes; then
7467 cat >>confdefs.h <<\_ACEOF
7468 #define STDC_HEADERS 1
7473 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7483 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7484 inttypes.h stdint.h unistd.h
7486 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7490 echo $ECHO_N "(cached) $ECHO_C" >&6
7492 cat >conftest.$ac_ext <<_ACEOF
7495 cat confdefs.h >>conftest.$ac_ext
7496 cat >>conftest.$ac_ext <<_ACEOF
7497 /* end confdefs.h. */
7498 $ac_includes_default
7500 #include <$ac_header>
7502 rm -f conftest.$ac_objext
7503 if { (ac_try="$ac_compile"
7505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7506 *) ac_try_echo
=$ac_try;;
7508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7509 (eval "$ac_compile") 2>conftest.er1
7511 grep -v '^ *+' conftest.er1
>conftest.err
7513 cat conftest.err
>&5
7514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 (exit $ac_status); } &&
7516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7517 { (case "(($ac_try" in
7518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7519 *) ac_try_echo=$ac_try;;
7521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7522 (eval "$ac_try") 2>&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); }; } &&
7526 { ac_try='test -s conftest.$ac_objext'
7527 { (case "(($ac_try" in
7528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7529 *) ac_try_echo
=$ac_try;;
7531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7532 (eval "$ac_try") 2>&5
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); }; }; then
7536 eval "$as_ac_Header=yes"
7538 echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.
$ac_ext >&5
7541 eval "$as_ac_Header=no"
7544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7546 ac_res
=`eval echo '${'$as_ac_Header'}'`
7547 { echo "$as_me:$LINENO: result: $ac_res" >&5
7548 echo "${ECHO_T}$ac_res" >&6; }
7549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7550 cat >>confdefs.h
<<_ACEOF
7551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7666 AudioUnit
/AudioUnit.h \
7667 CoreAudio
/CoreAudio.h \
7680 fontconfig
/fontconfig.h \
7705 machine
/soundcard.h \
7710 netinet
/in_systm.h \
7774 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7775 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7778 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7779 echo $ECHO_N "(cached) $ECHO_C" >&6
7781 ac_res
=`eval echo '${'$as_ac_Header'}'`
7782 { echo "$as_me:$LINENO: result: $ac_res" >&5
7783 echo "${ECHO_T}$ac_res" >&6; }
7785 # Is the header compilable?
7786 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7787 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7788 cat >conftest.
$ac_ext <<_ACEOF
7791 cat confdefs.h
>>conftest.
$ac_ext
7792 cat >>conftest.
$ac_ext <<_ACEOF
7793 /* end confdefs.h. */
7794 $ac_includes_default
7795 #include <$ac_header>
7797 rm -f conftest.
$ac_objext
7798 if { (ac_try
="$ac_compile"
7800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7801 *) ac_try_echo=$ac_try;;
7803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7804 (eval "$ac_compile") 2>conftest.er1
7806 grep -v '^ *+' conftest.er1 >conftest.err
7808 cat conftest.err >&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); } &&
7811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7812 { (case "(($ac_try" in
7813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7814 *) ac_try_echo
=$ac_try;;
7816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7817 (eval "$ac_try") 2>&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); }; } &&
7821 { ac_try
='test -s conftest.$ac_objext'
7822 { (case "(($ac_try" in
7823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7824 *) ac_try_echo=$ac_try;;
7826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7827 (eval "$ac_try") 2>&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; }; then
7831 ac_header_compiler=yes
7833 echo "$as_me: failed program was:" >&5
7834 sed 's/^/| /' conftest.$ac_ext >&5
7836 ac_header_compiler=no
7839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7840 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7841 echo "${ECHO_T}$ac_header_compiler" >&6; }
7843 # Is the header present?
7844 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7845 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7846 cat >conftest.$ac_ext <<_ACEOF
7849 cat confdefs.h >>conftest.$ac_ext
7850 cat >>conftest.$ac_ext <<_ACEOF
7851 /* end confdefs.h. */
7852 #include <$ac_header>
7854 if { (ac_try="$ac_cpp conftest.$ac_ext"
7856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7857 *) ac_try_echo
=$ac_try;;
7859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7860 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7862 grep -v '^ *+' conftest.er1
>conftest.err
7864 cat conftest.err
>&5
7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); } >/dev
/null
; then
7867 if test -s conftest.err
; then
7868 ac_cpp_err
=$ac_c_preproc_warn_flag
7869 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7876 if test -z "$ac_cpp_err"; then
7877 ac_header_preproc
=yes
7879 echo "$as_me: failed program was:" >&5
7880 sed 's/^/| /' conftest.
$ac_ext >&5
7882 ac_header_preproc
=no
7885 rm -f conftest.err conftest.
$ac_ext
7886 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7887 echo "${ECHO_T}$ac_header_preproc" >&6; }
7889 # So? What about this header?
7890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7892 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7893 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7895 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7896 ac_header_preproc
=yes
7899 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7901 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7902 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7903 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7904 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7905 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7906 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7909 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7910 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7912 ## ------------------------------------ ##
7913 ## Report this to wine-devel@winehq.org ##
7914 ## ------------------------------------ ##
7916 ) |
sed "s/^/$as_me: WARNING: /" >&2
7919 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7921 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7922 echo $ECHO_N "(cached) $ECHO_C" >&6
7924 eval "$as_ac_Header=\$ac_header_preproc"
7926 ac_res
=`eval echo '${'$as_ac_Header'}'`
7927 { echo "$as_me:$LINENO: result: $ac_res" >&5
7928 echo "${ECHO_T}$ac_res" >&6; }
7931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7932 cat >>confdefs.h
<<_ACEOF
7933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7940 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7941 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7942 if test "${ac_cv_header_stat_broken+set}" = set; then
7943 echo $ECHO_N "(cached) $ECHO_C" >&6
7945 cat >conftest.
$ac_ext <<_ACEOF
7948 cat confdefs.h
>>conftest.
$ac_ext
7949 cat >>conftest.
$ac_ext <<_ACEOF
7950 /* end confdefs.h. */
7951 #include <sys/types.h>
7952 #include <sys/stat.h>
7954 #if defined S_ISBLK && defined S_IFDIR
7955 # if S_ISBLK (S_IFDIR)
7960 #if defined S_ISBLK && defined S_IFCHR
7961 # if S_ISBLK (S_IFCHR)
7966 #if defined S_ISLNK && defined S_IFREG
7967 # if S_ISLNK (S_IFREG)
7972 #if defined S_ISSOCK && defined S_IFREG
7973 # if S_ISSOCK (S_IFREG)
7979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7980 $EGREP "You lose" >/dev
/null
2>&1; then
7981 ac_cv_header_stat_broken
=yes
7983 ac_cv_header_stat_broken
=no
7988 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7989 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7990 if test $ac_cv_header_stat_broken = yes; then
7992 cat >>confdefs.h
<<\_ACEOF
7993 #define STAT_MACROS_BROKEN 1
8004 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
8006 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8009 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8010 echo $ECHO_N "(cached) $ECHO_C" >&6
8012 cat >conftest.
$ac_ext <<_ACEOF
8015 cat confdefs.h
>>conftest.
$ac_ext
8016 cat >>conftest.
$ac_ext <<_ACEOF
8017 /* end confdefs.h. */
8018 #include <sys/types.h>
8019 #if HAVE_SYS_PARAM_H
8020 # include <sys/param.h>
8023 #include <$ac_header>
8025 rm -f conftest.
$ac_objext
8026 if { (ac_try
="$ac_compile"
8028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8029 *) ac_try_echo=$ac_try;;
8031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8032 (eval "$ac_compile") 2>conftest.er1
8034 grep -v '^ *+' conftest.er1 >conftest.err
8036 cat conftest.err >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); } &&
8039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8040 { (case "(($ac_try" in
8041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8042 *) ac_try_echo
=$ac_try;;
8044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8045 (eval "$ac_try") 2>&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); }; } &&
8049 { ac_try
='test -s conftest.$ac_objext'
8050 { (case "(($ac_try" in
8051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8052 *) ac_try_echo=$ac_try;;
8054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8055 (eval "$ac_try") 2>&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); }; }; then
8059 eval "$as_ac_Header=yes"
8061 echo "$as_me: failed program was:" >&5
8062 sed 's/^/| /' conftest.$ac_ext >&5
8064 eval "$as_ac_Header=no"
8067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8069 ac_res=`eval echo '${'$as_ac_Header'}'`
8070 { echo "$as_me:$LINENO: result: $ac_res" >&5
8071 echo "${ECHO_T}$ac_res" >&6; }
8072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8073 cat >>confdefs.h <<_ACEOF
8074 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8088 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
8090 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8091 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8094 echo $ECHO_N "(cached) $ECHO_C" >&6
8096 cat >conftest.$ac_ext <<_ACEOF
8099 cat confdefs.h >>conftest.$ac_ext
8100 cat >>conftest.$ac_ext <<_ACEOF
8101 /* end confdefs.h. */
8102 #include <sys/types.h>
8103 #if HAVE_SYS_SOCKET_H
8104 # include <sys/socket.h>
8107 #include <$ac_header>
8109 rm -f conftest.$ac_objext
8110 if { (ac_try="$ac_compile"
8112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8113 *) ac_try_echo
=$ac_try;;
8115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8116 (eval "$ac_compile") 2>conftest.er1
8118 grep -v '^ *+' conftest.er1
>conftest.err
8120 cat conftest.err
>&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); } &&
8123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8124 { (case "(($ac_try" in
8125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8126 *) ac_try_echo=$ac_try;;
8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8129 (eval "$ac_try") 2>&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); }; } &&
8133 { ac_try='test -s conftest.$ac_objext'
8134 { (case "(($ac_try" in
8135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8136 *) ac_try_echo
=$ac_try;;
8138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8139 (eval "$ac_try") 2>&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); }; }; then
8143 eval "$as_ac_Header=yes"
8145 echo "$as_me: failed program was:" >&5
8146 sed 's/^/| /' conftest.
$ac_ext >&5
8148 eval "$as_ac_Header=no"
8151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8153 ac_res
=`eval echo '${'$as_ac_Header'}'`
8154 { echo "$as_me:$LINENO: result: $ac_res" >&5
8155 echo "${ECHO_T}$ac_res" >&6; }
8156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8157 cat >>confdefs.h
<<_ACEOF
8158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8167 for ac_header
in linux
/ipx.h
8169 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8170 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8172 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8173 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 cat >conftest.
$ac_ext <<_ACEOF
8178 cat confdefs.h
>>conftest.
$ac_ext
8179 cat >>conftest.
$ac_ext <<_ACEOF
8180 /* end confdefs.h. */
8181 #include <sys/types.h>
8182 #ifdef HAVE_ASM_TYPES_H
8183 # include <asm/types.h>
8185 #if HAVE_SYS_SOCKET_H
8186 # include <sys/socket.h>
8189 #include <$ac_header>
8191 rm -f conftest.
$ac_objext
8192 if { (ac_try
="$ac_compile"
8194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8195 *) ac_try_echo=$ac_try;;
8197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 (eval "$ac_compile") 2>conftest.er1
8200 grep -v '^ *+' conftest.er1 >conftest.err
8202 cat conftest.err >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); } &&
8205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8206 { (case "(($ac_try" in
8207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8208 *) ac_try_echo
=$ac_try;;
8210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8211 (eval "$ac_try") 2>&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); }; } &&
8215 { ac_try
='test -s conftest.$ac_objext'
8216 { (case "(($ac_try" in
8217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8218 *) ac_try_echo=$ac_try;;
8220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8221 (eval "$ac_try") 2>&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); }; }; then
8225 eval "$as_ac_Header=yes"
8227 echo "$as_me: failed program was:" >&5
8228 sed 's/^/| /' conftest.$ac_ext >&5
8230 eval "$as_ac_Header=no"
8233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8235 ac_res=`eval echo '${'$as_ac_Header'}'`
8236 { echo "$as_me:$LINENO: result: $ac_res" >&5
8237 echo "${ECHO_T}$ac_res" >&6; }
8238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8239 cat >>confdefs.h <<_ACEOF
8240 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8249 for ac_header in resolv.h
8251 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8255 echo $ECHO_N "(cached) $ECHO_C" >&6
8257 cat >conftest.$ac_ext <<_ACEOF
8260 cat confdefs.h >>conftest.$ac_ext
8261 cat >>conftest.$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8263 #include <sys/types.h>
8264 #if HAVE_SYS_SOCKET_H
8265 # include <sys/socket.h>
8267 #if HAVE_NETINET_IN_H
8268 # include <netinet/in.h>
8270 #if HAVE_ARPA_NAMESER_H
8271 # include <arpa/nameser.h>
8274 #include <$ac_header>
8276 rm -f conftest.$ac_objext
8277 if { (ac_try="$ac_compile"
8279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8280 *) ac_try_echo
=$ac_try;;
8282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8283 (eval "$ac_compile") 2>conftest.er1
8285 grep -v '^ *+' conftest.er1
>conftest.err
8287 cat conftest.err
>&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 (exit $ac_status); } &&
8290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8291 { (case "(($ac_try" in
8292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8293 *) ac_try_echo=$ac_try;;
8295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8296 (eval "$ac_try") 2>&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); }; } &&
8300 { ac_try='test -s conftest.$ac_objext'
8301 { (case "(($ac_try" in
8302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8303 *) ac_try_echo
=$ac_try;;
8305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8306 (eval "$ac_try") 2>&5
8308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309 (exit $ac_status); }; }; then
8310 eval "$as_ac_Header=yes"
8312 echo "$as_me: failed program was:" >&5
8313 sed 's/^/| /' conftest.
$ac_ext >&5
8315 eval "$as_ac_Header=no"
8318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8320 ac_res
=`eval echo '${'$as_ac_Header'}'`
8321 { echo "$as_me:$LINENO: result: $ac_res" >&5
8322 echo "${ECHO_T}$ac_res" >&6; }
8323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8324 cat >>confdefs.h
<<_ACEOF
8325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8334 for ac_header
in ucontext.h
8336 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8337 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8339 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 cat >conftest.
$ac_ext <<_ACEOF
8345 cat confdefs.h
>>conftest.
$ac_ext
8346 cat >>conftest.
$ac_ext <<_ACEOF
8347 /* end confdefs.h. */
8350 #include <$ac_header>
8352 rm -f conftest.
$ac_objext
8353 if { (ac_try
="$ac_compile"
8355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8356 *) ac_try_echo=$ac_try;;
8358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8359 (eval "$ac_compile") 2>conftest.er1
8361 grep -v '^ *+' conftest.er1 >conftest.err
8363 cat conftest.err >&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); } &&
8366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8367 { (case "(($ac_try" in
8368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8369 *) ac_try_echo
=$ac_try;;
8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_try") 2>&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; } &&
8376 { ac_try
='test -s conftest.$ac_objext'
8377 { (case "(($ac_try" in
8378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8379 *) ac_try_echo=$ac_try;;
8381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8382 (eval "$ac_try") 2>&5
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385 (exit $ac_status); }; }; then
8386 eval "$as_ac_Header=yes"
8388 echo "$as_me: failed program was:" >&5
8389 sed 's/^/| /' conftest.$ac_ext >&5
8391 eval "$as_ac_Header=no"
8394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8396 ac_res=`eval echo '${'$as_ac_Header'}'`
8397 { echo "$as_me:$LINENO: result: $ac_res" >&5
8398 echo "${ECHO_T}$ac_res" >&6; }
8399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8400 cat >>confdefs.h <<_ACEOF
8401 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8410 for ac_header in pthread_np.h
8412 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8413 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8416 echo $ECHO_N "(cached) $ECHO_C" >&6
8418 cat >conftest.$ac_ext <<_ACEOF
8421 cat confdefs.h >>conftest.$ac_ext
8422 cat >>conftest.$ac_ext <<_ACEOF
8423 /* end confdefs.h. */
8424 #ifdef HAVE_PTHREAD_H
8425 #include <pthread.h>
8428 #include <$ac_header>
8430 rm -f conftest.$ac_objext
8431 if { (ac_try="$ac_compile"
8433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8434 *) ac_try_echo
=$ac_try;;
8436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8437 (eval "$ac_compile") 2>conftest.er1
8439 grep -v '^ *+' conftest.er1
>conftest.err
8441 cat conftest.err
>&5
8442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 (exit $ac_status); } &&
8444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8445 { (case "(($ac_try" in
8446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8447 *) ac_try_echo=$ac_try;;
8449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8450 (eval "$ac_try") 2>&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); }; } &&
8454 { ac_try='test -s conftest.$ac_objext'
8455 { (case "(($ac_try" in
8456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8457 *) ac_try_echo
=$ac_try;;
8459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8460 (eval "$ac_try") 2>&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; }; then
8464 eval "$as_ac_Header=yes"
8466 echo "$as_me: failed program was:" >&5
8467 sed 's/^/| /' conftest.
$ac_ext >&5
8469 eval "$as_ac_Header=no"
8472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8474 ac_res
=`eval echo '${'$as_ac_Header'}'`
8475 { echo "$as_me:$LINENO: result: $ac_res" >&5
8476 echo "${ECHO_T}$ac_res" >&6; }
8477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8478 cat >>confdefs.h
<<_ACEOF
8479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8488 for ac_header
in linux
/videodev.h
8490 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8493 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 cat >conftest.
$ac_ext <<_ACEOF
8499 cat confdefs.h
>>conftest.
$ac_ext
8500 cat >>conftest.
$ac_ext <<_ACEOF
8501 /* end confdefs.h. */
8502 #ifdef HAVE_SYS_TIME_H
8503 #include <sys/time.h>
8505 #include <sys/types.h>
8506 #ifdef HAVE_ASM_TYPES_H
8507 #include <asm/types.h>
8510 #include <$ac_header>
8512 rm -f conftest.
$ac_objext
8513 if { (ac_try
="$ac_compile"
8515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8516 *) ac_try_echo=$ac_try;;
8518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8519 (eval "$ac_compile") 2>conftest.er1
8521 grep -v '^ *+' conftest.er1 >conftest.err
8523 cat conftest.err >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } &&
8526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8527 { (case "(($ac_try" in
8528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8529 *) ac_try_echo
=$ac_try;;
8531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8532 (eval "$ac_try") 2>&5
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); }; } &&
8536 { ac_try
='test -s conftest.$ac_objext'
8537 { (case "(($ac_try" in
8538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8539 *) ac_try_echo=$ac_try;;
8541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8542 (eval "$ac_try") 2>&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); }; }; then
8546 eval "$as_ac_Header=yes"
8548 echo "$as_me: failed program was:" >&5
8549 sed 's/^/| /' conftest.$ac_ext >&5
8551 eval "$as_ac_Header=no"
8554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8556 ac_res=`eval echo '${'$as_ac_Header'}'`
8557 { echo "$as_me:$LINENO: result: $ac_res" >&5
8558 echo "${ECHO_T}$ac_res" >&6; }
8559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8560 cat >>confdefs.h <<_ACEOF
8561 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8570 for ac_header in linux/capi.h
8572 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8576 echo $ECHO_N "(cached) $ECHO_C" >&6
8578 cat >conftest.$ac_ext <<_ACEOF
8581 cat confdefs.h >>conftest.$ac_ext
8582 cat >>conftest.$ac_ext <<_ACEOF
8583 /* end confdefs.h. */
8586 #include <$ac_header>
8588 rm -f conftest.$ac_objext
8589 if { (ac_try="$ac_compile"
8591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8592 *) ac_try_echo
=$ac_try;;
8594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8595 (eval "$ac_compile") 2>conftest.er1
8597 grep -v '^ *+' conftest.er1
>conftest.err
8599 cat conftest.err
>&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } &&
8602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8603 { (case "(($ac_try" in
8604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8605 *) ac_try_echo=$ac_try;;
8607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8608 (eval "$ac_try") 2>&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }; } &&
8612 { ac_try='test -s conftest.$ac_objext'
8613 { (case "(($ac_try" in
8614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8615 *) ac_try_echo
=$ac_try;;
8617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8618 (eval "$ac_try") 2>&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; }; then
8622 eval "$as_ac_Header=yes"
8624 echo "$as_me: failed program was:" >&5
8625 sed 's/^/| /' conftest.
$ac_ext >&5
8627 eval "$as_ac_Header=no"
8630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8632 ac_res
=`eval echo '${'$as_ac_Header'}'`
8633 { echo "$as_me:$LINENO: result: $ac_res" >&5
8634 echo "${ECHO_T}$ac_res" >&6; }
8635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8636 cat >>confdefs.h
<<_ACEOF
8637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8646 if test "$have_x" = "yes"
8649 ac_save_CPPFLAGS
="$CPPFLAGS"
8650 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8661 for ac_header
in X11
/Xlib.h \
8664 X11
/extensions
/shape.h \
8665 X11
/extensions
/XInput.h \
8666 X11
/extensions
/XShm.h \
8667 X11
/extensions
/Xrandr.h \
8668 X11
/extensions
/Xrender.h \
8669 X11
/extensions
/xf86vmode.h
8671 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8672 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8674 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8675 echo $ECHO_N "(cached) $ECHO_C" >&6
8677 cat >conftest.
$ac_ext <<_ACEOF
8680 cat confdefs.h
>>conftest.
$ac_ext
8681 cat >>conftest.
$ac_ext <<_ACEOF
8682 /* end confdefs.h. */
8683 #ifdef HAVE_X11_XLIB_H
8684 # include <X11/Xlib.h>
8686 #ifdef HAVE_X11_XUTIL_H
8687 # include <X11/Xutil.h>
8690 #include <$ac_header>
8692 rm -f conftest.
$ac_objext
8693 if { (ac_try
="$ac_compile"
8695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8696 *) ac_try_echo=$ac_try;;
8698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8699 (eval "$ac_compile") 2>conftest.er1
8701 grep -v '^ *+' conftest.er1 >conftest.err
8703 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } &&
8706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8707 { (case "(($ac_try" in
8708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8709 *) ac_try_echo
=$ac_try;;
8711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_try") 2>&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); }; } &&
8716 { ac_try
='test -s conftest.$ac_objext'
8717 { (case "(($ac_try" in
8718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8719 *) ac_try_echo=$ac_try;;
8721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8722 (eval "$ac_try") 2>&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); }; }; then
8726 eval "$as_ac_Header=yes"
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.$ac_ext >&5
8731 eval "$as_ac_Header=no"
8734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8736 ac_res=`eval echo '${'$as_ac_Header'}'`
8737 { echo "$as_me:$LINENO: result: $ac_res" >&5
8738 echo "${ECHO_T}$ac_res" >&6; }
8739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8740 cat >>confdefs.h <<_ACEOF
8741 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8749 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8751 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8752 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8753 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8754 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 ac_check_lib_save_LIBS=$LIBS
8757 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8758 cat >conftest.$ac_ext <<_ACEOF
8761 cat confdefs.h >>conftest.$ac_ext
8762 cat >>conftest.$ac_ext <<_ACEOF
8763 /* end confdefs.h. */
8765 /* Override any GCC internal prototype to avoid an error.
8766 Use char because int might match the return type of a GCC
8767 builtin and then its argument prototype would still apply. */
8771 char XkbQueryExtension ();
8775 return XkbQueryExtension ();
8780 rm -f conftest.$ac_objext conftest$ac_exeext
8781 if { (ac_try="$ac_link"
8783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8784 *) ac_try_echo
=$ac_try;;
8786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8787 (eval "$ac_link") 2>conftest.er1
8789 grep -v '^ *+' conftest.er1
>conftest.err
8791 cat conftest.err
>&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } &&
8794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8795 { (case "(($ac_try" in
8796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8797 *) ac_try_echo=$ac_try;;
8799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8800 (eval "$ac_try") 2>&5
8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803 (exit $ac_status); }; } &&
8804 { ac_try='test -s conftest$ac_exeext'
8805 { (case "(($ac_try" in
8806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8807 *) ac_try_echo
=$ac_try;;
8809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8810 (eval "$ac_try") 2>&5
8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813 (exit $ac_status); }; }; then
8814 ac_cv_lib_X11_XkbQueryExtension
=yes
8816 echo "$as_me: failed program was:" >&5
8817 sed 's/^/| /' conftest.
$ac_ext >&5
8819 ac_cv_lib_X11_XkbQueryExtension
=no
8822 rm -f core conftest.err conftest.
$ac_objext \
8823 conftest
$ac_exeext conftest.
$ac_ext
8824 LIBS
=$ac_check_lib_save_LIBS
8826 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8827 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8828 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8830 cat >>confdefs.h
<<\_ACEOF
8838 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8840 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8841 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8842 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8843 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 ac_check_lib_save_LIBS
=$LIBS
8846 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8847 cat >conftest.
$ac_ext <<_ACEOF
8850 cat confdefs.h
>>conftest.
$ac_ext
8851 cat >>conftest.
$ac_ext <<_ACEOF
8852 /* end confdefs.h. */
8854 /* Override any GCC internal prototype to avoid an error.
8855 Use char because int might match the return type of a GCC
8856 builtin and then its argument prototype would still apply. */
8860 char XShmQueryExtension ();
8864 return XShmQueryExtension ();
8869 rm -f conftest.
$ac_objext conftest
$ac_exeext
8870 if { (ac_try
="$ac_link"
8872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8873 *) ac_try_echo=$ac_try;;
8875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8876 (eval "$ac_link") 2>conftest.er1
8878 grep -v '^ *+' conftest.er1 >conftest.err
8880 cat conftest.err >&5
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); } &&
8883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8884 { (case "(($ac_try" in
8885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8886 *) ac_try_echo
=$ac_try;;
8888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8889 (eval "$ac_try") 2>&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); }; } &&
8893 { ac_try
='test -s conftest$ac_exeext'
8894 { (case "(($ac_try" in
8895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8896 *) ac_try_echo=$ac_try;;
8898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8899 (eval "$ac_try") 2>&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); }; }; then
8903 ac_cv_lib_Xext_XShmQueryExtension=yes
8905 echo "$as_me: failed program was:" >&5
8906 sed 's/^/| /' conftest.$ac_ext >&5
8908 ac_cv_lib_Xext_XShmQueryExtension=no
8911 rm -f core conftest.err conftest.$ac_objext \
8912 conftest$ac_exeext conftest.$ac_ext
8913 LIBS=$ac_check_lib_save_LIBS
8915 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8916 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8917 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8919 cat >>confdefs.h <<\_ACEOF
8920 #define HAVE_LIBXXSHM 1
8927 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8929 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8930 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8931 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8932 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 ac_check_lib_save_LIBS=$LIBS
8935 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8936 cat >conftest.$ac_ext <<_ACEOF
8939 cat confdefs.h >>conftest.$ac_ext
8940 cat >>conftest.$ac_ext <<_ACEOF
8941 /* end confdefs.h. */
8943 /* Override any GCC internal prototype to avoid an error.
8944 Use char because int might match the return type of a GCC
8945 builtin and then its argument prototype would still apply. */
8949 char XShapeQueryExtension ();
8953 return XShapeQueryExtension ();
8958 rm -f conftest.$ac_objext conftest$ac_exeext
8959 if { (ac_try="$ac_link"
8961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8962 *) ac_try_echo
=$ac_try;;
8964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8965 (eval "$ac_link") 2>conftest.er1
8967 grep -v '^ *+' conftest.er1
>conftest.err
8969 cat conftest.err
>&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); } &&
8972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8973 { (case "(($ac_try" in
8974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8975 *) ac_try_echo=$ac_try;;
8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8978 (eval "$ac_try") 2>&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; } &&
8982 { ac_try='test -s conftest$ac_exeext'
8983 { (case "(($ac_try" in
8984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8985 *) ac_try_echo
=$ac_try;;
8987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8988 (eval "$ac_try") 2>&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); }; }; then
8992 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8994 echo "$as_me: failed program was:" >&5
8995 sed 's/^/| /' conftest.
$ac_ext >&5
8997 ac_cv_lib_Xext_XShapeQueryExtension
=no
9000 rm -f core conftest.err conftest.
$ac_objext \
9001 conftest
$ac_exeext conftest.
$ac_ext
9002 LIBS
=$ac_check_lib_save_LIBS
9004 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9005 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9006 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9008 cat >>confdefs.h
<<\_ACEOF
9009 #define HAVE_LIBXSHAPE 1
9016 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9018 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9019 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9020 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9021 echo $ECHO_N "(cached) $ECHO_C" >&6
9023 ac_check_lib_save_LIBS
=$LIBS
9024 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9025 cat >conftest.
$ac_ext <<_ACEOF
9028 cat confdefs.h
>>conftest.
$ac_ext
9029 cat >>conftest.
$ac_ext <<_ACEOF
9030 /* end confdefs.h. */
9032 /* Override any GCC internal prototype to avoid an error.
9033 Use char because int might match the return type of a GCC
9034 builtin and then its argument prototype would still apply. */
9038 char XF86VidModeQueryExtension ();
9042 return XF86VidModeQueryExtension ();
9047 rm -f conftest.
$ac_objext conftest
$ac_exeext
9048 if { (ac_try
="$ac_link"
9050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9051 *) ac_try_echo=$ac_try;;
9053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9054 (eval "$ac_link") 2>conftest.er1
9056 grep -v '^ *+' conftest.er1 >conftest.err
9058 cat conftest.err >&5
9059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060 (exit $ac_status); } &&
9061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9062 { (case "(($ac_try" in
9063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9064 *) ac_try_echo
=$ac_try;;
9066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9067 (eval "$ac_try") 2>&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; } &&
9071 { ac_try
='test -s conftest$ac_exeext'
9072 { (case "(($ac_try" in
9073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9074 *) ac_try_echo=$ac_try;;
9076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9077 (eval "$ac_try") 2>&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; }; then
9081 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9083 echo "$as_me: failed program was:" >&5
9084 sed 's/^/| /' conftest.$ac_ext >&5
9086 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9089 rm -f core conftest.err conftest.$ac_objext \
9090 conftest$ac_exeext conftest.$ac_ext
9091 LIBS=$ac_check_lib_save_LIBS
9093 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9094 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9095 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9097 cat >>confdefs.h <<\_ACEOF
9098 #define HAVE_LIBXXF86VM 1
9101 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9107 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9109 cat >conftest.$ac_ext <<_ACEOF
9112 cat confdefs.h >>conftest.$ac_ext
9113 cat >>conftest.$ac_ext <<_ACEOF
9114 /* end confdefs.h. */
9115 #include <X11/Xlib.h>
9116 #include <X11/extensions/Xrandr.h>
9120 static typeof(XRRSetScreenConfigAndRate) * func;
9125 rm -f conftest.$ac_objext
9126 if { (ac_try="$ac_compile"
9128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9129 *) ac_try_echo
=$ac_try;;
9131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9132 (eval "$ac_compile") 2>conftest.er1
9134 grep -v '^ *+' conftest.er1
>conftest.err
9136 cat conftest.err
>&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } &&
9139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9140 { (case "(($ac_try" in
9141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9142 *) ac_try_echo=$ac_try;;
9144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9145 (eval "$ac_try") 2>&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); }; } &&
9149 { ac_try='test -s conftest.$ac_objext'
9150 { (case "(($ac_try" in
9151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9152 *) ac_try_echo
=$ac_try;;
9154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9155 (eval "$ac_try") 2>&5
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 (exit $ac_status); }; }; then
9160 cat >>confdefs.h
<<\_ACEOF
9161 #define HAVE_LIBXRANDR 1
9165 echo "$as_me: failed program was:" >&5
9166 sed 's/^/| /' conftest.
$ac_ext >&5
9171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9174 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9176 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9177 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9178 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 ac_check_lib_save_LIBS
=$LIBS
9182 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9183 cat >conftest.
$ac_ext <<_ACEOF
9186 cat confdefs.h
>>conftest.
$ac_ext
9187 cat >>conftest.
$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9196 char XRenderSetPictureTransform ();
9200 return XRenderSetPictureTransform ();
9205 rm -f conftest.
$ac_objext conftest
$ac_exeext
9206 if { (ac_try
="$ac_link"
9208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9209 *) ac_try_echo=$ac_try;;
9211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9212 (eval "$ac_link") 2>conftest.er1
9214 grep -v '^ *+' conftest.er1 >conftest.err
9216 cat conftest.err >&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); } &&
9219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9220 { (case "(($ac_try" in
9221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9222 *) ac_try_echo
=$ac_try;;
9224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9225 (eval "$ac_try") 2>&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); }; } &&
9229 { ac_try
='test -s conftest$ac_exeext'
9230 { (case "(($ac_try" in
9231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9232 *) ac_try_echo=$ac_try;;
9234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9235 (eval "$ac_try") 2>&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); }; }; then
9239 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9241 echo "$as_me: failed program was:" >&5
9242 sed 's/^/| /' conftest.$ac_ext >&5
9244 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9247 rm -f core conftest.err conftest.$ac_objext \
9248 conftest$ac_exeext conftest.$ac_ext
9249 LIBS=$ac_check_lib_save_LIBS
9251 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9252 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9253 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9255 cat >>confdefs.h <<\_ACEOF
9256 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9263 if test "x$with_opengl" != "xno"
9269 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9271 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9272 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9274 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9275 echo $ECHO_N "(cached) $ECHO_C" >&6
9277 cat >conftest.$ac_ext <<_ACEOF
9280 cat confdefs.h >>conftest.$ac_ext
9281 cat >>conftest.$ac_ext <<_ACEOF
9282 /* end confdefs.h. */
9283 #ifdef HAVE_GL_GLX_H
9284 # include <GL/glx.h>
9287 #include <$ac_header>
9289 rm -f conftest.$ac_objext
9290 if { (ac_try="$ac_compile"
9292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9293 *) ac_try_echo
=$ac_try;;
9295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9296 (eval "$ac_compile") 2>conftest.er1
9298 grep -v '^ *+' conftest.er1
>conftest.err
9300 cat conftest.err
>&5
9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 (exit $ac_status); } &&
9303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9304 { (case "(($ac_try" in
9305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9306 *) ac_try_echo=$ac_try;;
9308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9309 (eval "$ac_try") 2>&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; } &&
9313 { ac_try='test -s conftest.$ac_objext'
9314 { (case "(($ac_try" in
9315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9316 *) ac_try_echo
=$ac_try;;
9318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9319 (eval "$ac_try") 2>&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); }; }; then
9323 eval "$as_ac_Header=yes"
9325 echo "$as_me: failed program was:" >&5
9326 sed 's/^/| /' conftest.
$ac_ext >&5
9328 eval "$as_ac_Header=no"
9331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9333 ac_res
=`eval echo '${'$as_ac_Header'}'`
9334 { echo "$as_me:$LINENO: result: $ac_res" >&5
9335 echo "${ECHO_T}$ac_res" >&6; }
9336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9337 cat >>confdefs.h
<<_ACEOF
9338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9345 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9347 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9348 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9349 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 cat >conftest.
$ac_ext <<_ACEOF
9355 cat confdefs.h
>>conftest.
$ac_ext
9356 cat >>conftest.
$ac_ext <<_ACEOF
9357 /* end confdefs.h. */
9362 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9367 rm -f conftest.
$ac_objext
9368 if { (ac_try
="$ac_compile"
9370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9371 *) ac_try_echo=$ac_try;;
9373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9374 (eval "$ac_compile") 2>conftest.er1
9376 grep -v '^ *+' conftest.er1 >conftest.err
9378 cat conftest.err >&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); } &&
9381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9382 { (case "(($ac_try" in
9383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9384 *) ac_try_echo
=$ac_try;;
9386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9387 (eval "$ac_try") 2>&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; } &&
9391 { ac_try
='test -s conftest.$ac_objext'
9392 { (case "(($ac_try" in
9393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9394 *) ac_try_echo=$ac_try;;
9396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9397 (eval "$ac_try") 2>&5
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); }; }; then
9401 wine_cv_opengl_header_version_OK="yes"
9403 echo "$as_me: failed program was:" >&5
9404 sed 's/^/| /' conftest.$ac_ext >&5
9406 wine_cv_opengl_header_version_OK="no"
9410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9413 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9414 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9416 if test "$wine_cv_opengl_header_version_OK" = "yes"
9418 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9419 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9420 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9421 echo $ECHO_N "(cached) $ECHO_C" >&6
9423 ac_check_lib_save_LIBS=$LIBS
9424 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9425 cat >conftest.$ac_ext <<_ACEOF
9428 cat confdefs.h >>conftest.$ac_ext
9429 cat >>conftest.$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9432 /* Override any GCC internal prototype to avoid an error.
9433 Use char because int might match the return type of a GCC
9434 builtin and then its argument prototype would still apply. */
9438 char glXCreateContext ();
9442 return glXCreateContext ();
9447 rm -f conftest.$ac_objext conftest$ac_exeext
9448 if { (ac_try="$ac_link"
9450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9451 *) ac_try_echo
=$ac_try;;
9453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9454 (eval "$ac_link") 2>conftest.er1
9456 grep -v '^ *+' conftest.er1
>conftest.err
9458 cat conftest.err
>&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); } &&
9461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9462 { (case "(($ac_try" in
9463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9464 *) ac_try_echo=$ac_try;;
9466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9467 (eval "$ac_try") 2>&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); }; } &&
9471 { ac_try='test -s conftest$ac_exeext'
9472 { (case "(($ac_try" in
9473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9474 *) ac_try_echo
=$ac_try;;
9476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9477 (eval "$ac_try") 2>&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; }; then
9481 ac_cv_lib_GL_glXCreateContext
=yes
9483 echo "$as_me: failed program was:" >&5
9484 sed 's/^/| /' conftest.
$ac_ext >&5
9486 ac_cv_lib_GL_glXCreateContext
=no
9489 rm -f core conftest.err conftest.
$ac_objext \
9490 conftest
$ac_exeext conftest.
$ac_ext
9491 LIBS
=$ac_check_lib_save_LIBS
9493 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9494 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9495 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9497 OPENGLFILES
='$(OPENGLFILES)'
9499 cat >>confdefs.h
<<\_ACEOF
9500 #define HAVE_OPENGL 1
9507 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9508 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9509 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9510 echo $ECHO_N "(cached) $ECHO_C" >&6
9512 ac_check_lib_save_LIBS
=$LIBS
9513 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9515 cat >conftest.
$ac_ext <<_ACEOF
9518 cat confdefs.h
>>conftest.
$ac_ext
9519 cat >>conftest.
$ac_ext <<_ACEOF
9520 /* end confdefs.h. */
9522 /* Override any GCC internal prototype to avoid an error.
9523 Use char because int might match the return type of a GCC
9524 builtin and then its argument prototype would still apply. */
9532 return gluLookAt ();
9537 rm -f conftest.
$ac_objext conftest
$ac_exeext
9538 if { (ac_try
="$ac_link"
9540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9541 *) ac_try_echo=$ac_try;;
9543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9544 (eval "$ac_link") 2>conftest.er1
9546 grep -v '^ *+' conftest.er1 >conftest.err
9548 cat conftest.err >&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); } &&
9551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9552 { (case "(($ac_try" in
9553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9554 *) ac_try_echo
=$ac_try;;
9556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9557 (eval "$ac_try") 2>&5
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 (exit $ac_status); }; } &&
9561 { ac_try
='test -s conftest$ac_exeext'
9562 { (case "(($ac_try" in
9563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9564 *) ac_try_echo=$ac_try;;
9566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9567 (eval "$ac_try") 2>&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); }; }; then
9571 ac_cv_lib_GLU_gluLookAt=yes
9573 echo "$as_me: failed program was:" >&5
9574 sed 's/^/| /' conftest.$ac_ext >&5
9576 ac_cv_lib_GLU_gluLookAt=no
9579 rm -f core conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 LIBS=$ac_check_lib_save_LIBS
9583 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9584 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9585 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9586 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9587 GLU32FILES='$(GLU32FILES)'
9593 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9594 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9595 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9596 echo $ECHO_N "(cached) $ECHO_C" >&6
9598 ac_check_lib_save_LIBS=$LIBS
9599 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9600 cat >conftest.$ac_ext <<_ACEOF
9603 cat confdefs.h >>conftest.$ac_ext
9604 cat >>conftest.$ac_ext <<_ACEOF
9605 /* end confdefs.h. */
9607 /* Override any GCC internal prototype to avoid an error.
9608 Use char because int might match the return type of a GCC
9609 builtin and then its argument prototype would still apply. */
9613 char glutMainLoop ();
9617 return glutMainLoop ();
9622 rm -f conftest.$ac_objext conftest$ac_exeext
9623 if { (ac_try="$ac_link"
9625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9626 *) ac_try_echo
=$ac_try;;
9628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9629 (eval "$ac_link") 2>conftest.er1
9631 grep -v '^ *+' conftest.er1
>conftest.err
9633 cat conftest.err
>&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); } &&
9636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9637 { (case "(($ac_try" in
9638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9639 *) ac_try_echo=$ac_try;;
9641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9642 (eval "$ac_try") 2>&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); }; } &&
9646 { ac_try='test -s conftest$ac_exeext'
9647 { (case "(($ac_try" in
9648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9649 *) ac_try_echo
=$ac_try;;
9651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9652 (eval "$ac_try") 2>&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); }; }; then
9656 ac_cv_lib_glut_glutMainLoop
=yes
9658 echo "$as_me: failed program was:" >&5
9659 sed 's/^/| /' conftest.
$ac_ext >&5
9661 ac_cv_lib_glut_glutMainLoop
=no
9664 rm -f core conftest.err conftest.
$ac_objext \
9665 conftest
$ac_exeext conftest.
$ac_ext
9666 LIBS
=$ac_check_lib_save_LIBS
9668 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9669 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9670 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9671 GLUT_LIBS
="-lglut -lXmu -lXi"
9673 GLUT32FILES
='$(GLUT32FILES)'
9678 wine_cv_opengl_headers_found
="no"
9684 for ac_header
in audio
/audiolib.h
9686 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9687 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9690 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9691 echo $ECHO_N "(cached) $ECHO_C" >&6
9693 ac_res
=`eval echo '${'$as_ac_Header'}'`
9694 { echo "$as_me:$LINENO: result: $ac_res" >&5
9695 echo "${ECHO_T}$ac_res" >&6; }
9697 # Is the header compilable?
9698 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9699 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9700 cat >conftest.
$ac_ext <<_ACEOF
9703 cat confdefs.h
>>conftest.
$ac_ext
9704 cat >>conftest.
$ac_ext <<_ACEOF
9705 /* end confdefs.h. */
9706 $ac_includes_default
9707 #include <$ac_header>
9709 rm -f conftest.
$ac_objext
9710 if { (ac_try
="$ac_compile"
9712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9713 *) ac_try_echo=$ac_try;;
9715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9716 (eval "$ac_compile") 2>conftest.er1
9718 grep -v '^ *+' conftest.er1 >conftest.err
9720 cat conftest.err >&5
9721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722 (exit $ac_status); } &&
9723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9724 { (case "(($ac_try" in
9725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9726 *) ac_try_echo
=$ac_try;;
9728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9729 (eval "$ac_try") 2>&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); }; } &&
9733 { ac_try
='test -s conftest.$ac_objext'
9734 { (case "(($ac_try" in
9735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9736 *) ac_try_echo=$ac_try;;
9738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9739 (eval "$ac_try") 2>&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); }; }; then
9743 ac_header_compiler=yes
9745 echo "$as_me: failed program was:" >&5
9746 sed 's/^/| /' conftest.$ac_ext >&5
9748 ac_header_compiler=no
9751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9752 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9753 echo "${ECHO_T}$ac_header_compiler" >&6; }
9755 # Is the header present?
9756 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9757 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9758 cat >conftest.$ac_ext <<_ACEOF
9761 cat confdefs.h >>conftest.$ac_ext
9762 cat >>conftest.$ac_ext <<_ACEOF
9763 /* end confdefs.h. */
9764 #include <$ac_header>
9766 if { (ac_try="$ac_cpp conftest.$ac_ext"
9768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9769 *) ac_try_echo
=$ac_try;;
9771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9774 grep -v '^ *+' conftest.er1
>conftest.err
9776 cat conftest.err
>&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); } >/dev
/null
; then
9779 if test -s conftest.err
; then
9780 ac_cpp_err
=$ac_c_preproc_warn_flag
9781 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9788 if test -z "$ac_cpp_err"; then
9789 ac_header_preproc
=yes
9791 echo "$as_me: failed program was:" >&5
9792 sed 's/^/| /' conftest.
$ac_ext >&5
9794 ac_header_preproc
=no
9797 rm -f conftest.err conftest.
$ac_ext
9798 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9799 echo "${ECHO_T}$ac_header_preproc" >&6; }
9801 # So? What about this header?
9802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9804 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9805 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9807 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9808 ac_header_preproc
=yes
9811 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9812 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9813 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9814 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9815 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9816 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9817 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9818 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9820 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9821 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9822 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9824 ## ------------------------------------ ##
9825 ## Report this to wine-devel@winehq.org ##
9826 ## ------------------------------------ ##
9828 ) |
sed "s/^/$as_me: WARNING: /" >&2
9831 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9833 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9834 echo $ECHO_N "(cached) $ECHO_C" >&6
9836 eval "$as_ac_Header=\$ac_header_preproc"
9838 ac_res
=`eval echo '${'$as_ac_Header'}'`
9839 { echo "$as_me:$LINENO: result: $ac_res" >&5
9840 echo "${ECHO_T}$ac_res" >&6; }
9843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9844 cat >>confdefs.h
<<_ACEOF
9845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9848 for ac_header
in audio
/soundlib.h
9850 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9851 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9853 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9854 echo $ECHO_N "(cached) $ECHO_C" >&6
9856 cat >conftest.
$ac_ext <<_ACEOF
9859 cat confdefs.h
>>conftest.
$ac_ext
9860 cat >>conftest.
$ac_ext <<_ACEOF
9861 /* end confdefs.h. */
9862 #include <audio/audiolib.h>
9864 #include <$ac_header>
9866 rm -f conftest.
$ac_objext
9867 if { (ac_try
="$ac_compile"
9869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9870 *) ac_try_echo=$ac_try;;
9872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9873 (eval "$ac_compile") 2>conftest.er1
9875 grep -v '^ *+' conftest.er1 >conftest.err
9877 cat conftest.err >&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); } &&
9880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9881 { (case "(($ac_try" in
9882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9883 *) ac_try_echo
=$ac_try;;
9885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9886 (eval "$ac_try") 2>&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); }; } &&
9890 { ac_try
='test -s conftest.$ac_objext'
9891 { (case "(($ac_try" in
9892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9893 *) ac_try_echo=$ac_try;;
9895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9896 (eval "$ac_try") 2>&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; }; then
9900 eval "$as_ac_Header=yes"
9902 echo "$as_me: failed program was:" >&5
9903 sed 's/^/| /' conftest.$ac_ext >&5
9905 eval "$as_ac_Header=no"
9908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9910 ac_res=`eval echo '${'$as_ac_Header'}'`
9911 { echo "$as_me:$LINENO: result: $ac_res" >&5
9912 echo "${ECHO_T}$ac_res" >&6; }
9913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9914 cat >>confdefs.h <<_ACEOF
9915 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9922 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9923 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9924 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9925 echo $ECHO_N "(cached) $ECHO_C" >&6
9927 ac_check_lib_save_LIBS=$LIBS
9928 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9929 cat >conftest.$ac_ext <<_ACEOF
9932 cat confdefs.h >>conftest.$ac_ext
9933 cat >>conftest.$ac_ext <<_ACEOF
9934 /* end confdefs.h. */
9936 /* Override any GCC internal prototype to avoid an error.
9937 Use char because int might match the return type of a GCC
9938 builtin and then its argument prototype would still apply. */
9942 char AuCreateFlow ();
9946 return AuCreateFlow ();
9951 rm -f conftest.$ac_objext conftest$ac_exeext
9952 if { (ac_try="$ac_link"
9954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9955 *) ac_try_echo
=$ac_try;;
9957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9958 (eval "$ac_link") 2>conftest.er1
9960 grep -v '^ *+' conftest.er1
>conftest.err
9962 cat conftest.err
>&5
9963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9964 (exit $ac_status); } &&
9965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9966 { (case "(($ac_try" in
9967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9968 *) ac_try_echo=$ac_try;;
9970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9971 (eval "$ac_try") 2>&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); }; } &&
9975 { ac_try='test -s conftest$ac_exeext'
9976 { (case "(($ac_try" in
9977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9978 *) ac_try_echo
=$ac_try;;
9980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9981 (eval "$ac_try") 2>&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); }; }; then
9985 ac_cv_lib_audio_AuCreateFlow
=yes
9987 echo "$as_me: failed program was:" >&5
9988 sed 's/^/| /' conftest.
$ac_ext >&5
9990 ac_cv_lib_audio_AuCreateFlow
=no
9993 rm -f core conftest.err conftest.
$ac_objext \
9994 conftest
$ac_exeext conftest.
$ac_ext
9995 LIBS
=$ac_check_lib_save_LIBS
9997 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9998 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
9999 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10001 cat >>confdefs.h
<<\_ACEOF
10005 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10013 CPPFLAGS
="$ac_save_CPPFLAGS"
10030 if test "$PKG_CONFIG" != "false"
10032 ac_save_CPPFLAGS
="$CPPFLAGS"
10033 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10034 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10035 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
10037 for ac_header
in libxml
/parser.h
10039 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10040 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10041 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10043 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10044 echo $ECHO_N "(cached) $ECHO_C" >&6
10046 ac_res
=`eval echo '${'$as_ac_Header'}'`
10047 { echo "$as_me:$LINENO: result: $ac_res" >&5
10048 echo "${ECHO_T}$ac_res" >&6; }
10050 # Is the header compilable?
10051 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10052 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10053 cat >conftest.
$ac_ext <<_ACEOF
10056 cat confdefs.h
>>conftest.
$ac_ext
10057 cat >>conftest.
$ac_ext <<_ACEOF
10058 /* end confdefs.h. */
10059 $ac_includes_default
10060 #include <$ac_header>
10062 rm -f conftest.
$ac_objext
10063 if { (ac_try
="$ac_compile"
10064 case "(($ac_try" in
10065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10066 *) ac_try_echo=$ac_try;;
10068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10069 (eval "$ac_compile") 2>conftest.er1
10071 grep -v '^ *+' conftest.er1 >conftest.err
10073 cat conftest.err >&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } &&
10076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10077 { (case "(($ac_try" in
10078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10079 *) ac_try_echo
=$ac_try;;
10081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10082 (eval "$ac_try") 2>&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); }; } &&
10086 { ac_try
='test -s conftest.$ac_objext'
10087 { (case "(($ac_try" in
10088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10089 *) ac_try_echo=$ac_try;;
10091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10092 (eval "$ac_try") 2>&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); }; }; then
10096 ac_header_compiler=yes
10098 echo "$as_me: failed program was:" >&5
10099 sed 's/^/| /' conftest.$ac_ext >&5
10101 ac_header_compiler=no
10104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10105 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10106 echo "${ECHO_T}$ac_header_compiler" >&6; }
10108 # Is the header present?
10109 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10110 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10111 cat >conftest.$ac_ext <<_ACEOF
10114 cat confdefs.h >>conftest.$ac_ext
10115 cat >>conftest.$ac_ext <<_ACEOF
10116 /* end confdefs.h. */
10117 #include <$ac_header>
10119 if { (ac_try="$ac_cpp conftest.$ac_ext"
10120 case "(($ac_try" in
10121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10122 *) ac_try_echo
=$ac_try;;
10124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10125 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10127 grep -v '^ *+' conftest.er1
>conftest.err
10129 cat conftest.err
>&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); } >/dev
/null
; then
10132 if test -s conftest.err
; then
10133 ac_cpp_err
=$ac_c_preproc_warn_flag
10134 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10141 if test -z "$ac_cpp_err"; then
10142 ac_header_preproc
=yes
10144 echo "$as_me: failed program was:" >&5
10145 sed 's/^/| /' conftest.
$ac_ext >&5
10147 ac_header_preproc
=no
10150 rm -f conftest.err conftest.
$ac_ext
10151 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10152 echo "${ECHO_T}$ac_header_preproc" >&6; }
10154 # So? What about this header?
10155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10160 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10161 ac_header_preproc
=yes
10164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10168 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10169 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10170 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10171 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10173 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10174 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10175 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10177 ## ------------------------------------ ##
10178 ## Report this to wine-devel@winehq.org ##
10179 ## ------------------------------------ ##
10181 ) |
sed "s/^/$as_me: WARNING: /" >&2
10184 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10186 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 eval "$as_ac_Header=\$ac_header_preproc"
10191 ac_res
=`eval echo '${'$as_ac_Header'}'`
10192 { echo "$as_me:$LINENO: result: $ac_res" >&5
10193 echo "${ECHO_T}$ac_res" >&6; }
10196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10197 cat >>confdefs.h
<<_ACEOF
10198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10200 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10201 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10202 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10203 echo $ECHO_N "(cached) $ECHO_C" >&6
10205 ac_check_lib_save_LIBS
=$LIBS
10206 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10207 cat >conftest.
$ac_ext <<_ACEOF
10210 cat confdefs.h
>>conftest.
$ac_ext
10211 cat >>conftest.
$ac_ext <<_ACEOF
10212 /* end confdefs.h. */
10214 /* Override any GCC internal prototype to avoid an error.
10215 Use char because int might match the return type of a GCC
10216 builtin and then its argument prototype would still apply. */
10220 char xmlParseMemory ();
10224 return xmlParseMemory ();
10229 rm -f conftest.
$ac_objext conftest
$ac_exeext
10230 if { (ac_try
="$ac_link"
10231 case "(($ac_try" in
10232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10233 *) ac_try_echo=$ac_try;;
10235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10236 (eval "$ac_link") 2>conftest.er1
10238 grep -v '^ *+' conftest.er1 >conftest.err
10240 cat conftest.err >&5
10241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242 (exit $ac_status); } &&
10243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10244 { (case "(($ac_try" in
10245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10246 *) ac_try_echo
=$ac_try;;
10248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10249 (eval "$ac_try") 2>&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); }; } &&
10253 { ac_try
='test -s conftest$ac_exeext'
10254 { (case "(($ac_try" in
10255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10256 *) ac_try_echo=$ac_try;;
10258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10259 (eval "$ac_try") 2>&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); }; }; then
10263 ac_cv_lib_xml2_xmlParseMemory=yes
10265 echo "$as_me: failed program was:" >&5
10266 sed 's/^/| /' conftest.$ac_ext >&5
10268 ac_cv_lib_xml2_xmlParseMemory=no
10271 rm -f core conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10273 LIBS=$ac_check_lib_save_LIBS
10275 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10276 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10277 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10279 cat >>confdefs.h <<\_ACEOF
10280 #define HAVE_LIBXML2 1
10283 XML2LIBS="$ac_xml_libs"
10284 XML2INCL="$ac_xml_cflags"
10287 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10288 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10289 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10290 echo $ECHO_N "(cached) $ECHO_C" >&6
10292 ac_check_lib_save_LIBS=$LIBS
10293 LIBS="-lxml2 $ac_xml_libs $LIBS"
10294 cat >conftest.$ac_ext <<_ACEOF
10297 cat confdefs.h >>conftest.$ac_ext
10298 cat >>conftest.$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10301 /* Override any GCC internal prototype to avoid an error.
10302 Use char because int might match the return type of a GCC
10303 builtin and then its argument prototype would still apply. */
10307 char xmlReadMemory ();
10311 return xmlReadMemory ();
10316 rm -f conftest.$ac_objext conftest$ac_exeext
10317 if { (ac_try="$ac_link"
10318 case "(($ac_try" in
10319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10320 *) ac_try_echo
=$ac_try;;
10322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10323 (eval "$ac_link") 2>conftest.er1
10325 grep -v '^ *+' conftest.er1
>conftest.err
10327 cat conftest.err
>&5
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); } &&
10330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10331 { (case "(($ac_try" in
10332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10333 *) ac_try_echo=$ac_try;;
10335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10336 (eval "$ac_try") 2>&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }; } &&
10340 { ac_try='test -s conftest$ac_exeext'
10341 { (case "(($ac_try" in
10342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10343 *) ac_try_echo
=$ac_try;;
10345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10346 (eval "$ac_try") 2>&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); }; }; then
10350 ac_cv_lib_xml2_xmlReadMemory
=yes
10352 echo "$as_me: failed program was:" >&5
10353 sed 's/^/| /' conftest.
$ac_ext >&5
10355 ac_cv_lib_xml2_xmlReadMemory
=no
10358 rm -f core conftest.err conftest.
$ac_objext \
10359 conftest
$ac_exeext conftest.
$ac_ext
10360 LIBS
=$ac_check_lib_save_LIBS
10362 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10363 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10364 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10366 cat >>confdefs.h
<<\_ACEOF
10367 #define HAVE_XMLREADMEMORY 1
10377 CPPFLAGS
="$ac_save_CPPFLAGS"
10378 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10379 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10380 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
10383 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10385 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10388 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10389 echo $ECHO_N "(cached) $ECHO_C" >&6
10391 cat >conftest.
$ac_ext <<_ACEOF
10394 cat confdefs.h
>>conftest.
$ac_ext
10395 cat >>conftest.
$ac_ext <<_ACEOF
10396 /* end confdefs.h. */
10397 #ifdef HAVE_LIBXSLT_PATTERN_H
10398 # include <libxslt/pattern.h>
10401 #include <$ac_header>
10403 rm -f conftest.
$ac_objext
10404 if { (ac_try
="$ac_compile"
10405 case "(($ac_try" in
10406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10407 *) ac_try_echo=$ac_try;;
10409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10410 (eval "$ac_compile") 2>conftest.er1
10412 grep -v '^ *+' conftest.er1 >conftest.err
10414 cat conftest.err >&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); } &&
10417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10418 { (case "(($ac_try" in
10419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10420 *) ac_try_echo
=$ac_try;;
10422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10423 (eval "$ac_try") 2>&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); }; } &&
10427 { ac_try
='test -s conftest.$ac_objext'
10428 { (case "(($ac_try" in
10429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10430 *) ac_try_echo=$ac_try;;
10432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10433 (eval "$ac_try") 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; }; then
10437 eval "$as_ac_Header=yes"
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.$ac_ext >&5
10442 eval "$as_ac_Header=no"
10445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10447 ac_res=`eval echo '${'$as_ac_Header'}'`
10448 { echo "$as_me:$LINENO: result: $ac_res" >&5
10449 echo "${ECHO_T}$ac_res" >&6; }
10450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10451 cat >>confdefs.h <<_ACEOF
10452 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10454 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10455 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10456 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10457 echo $ECHO_N "(cached) $ECHO_C" >&6
10459 ac_check_lib_save_LIBS=$LIBS
10460 LIBS="-lxslt $ac_xslt_libs $LIBS"
10461 cat >conftest.$ac_ext <<_ACEOF
10464 cat confdefs.h >>conftest.$ac_ext
10465 cat >>conftest.$ac_ext <<_ACEOF
10466 /* end confdefs.h. */
10468 /* Override any GCC internal prototype to avoid an error.
10469 Use char because int might match the return type of a GCC
10470 builtin and then its argument prototype would still apply. */
10474 char xsltCompilePattern ();
10478 return xsltCompilePattern ();
10483 rm -f conftest.$ac_objext conftest$ac_exeext
10484 if { (ac_try="$ac_link"
10485 case "(($ac_try" in
10486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10487 *) ac_try_echo
=$ac_try;;
10489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10490 (eval "$ac_link") 2>conftest.er1
10492 grep -v '^ *+' conftest.er1
>conftest.err
10494 cat conftest.err
>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); } &&
10497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10498 { (case "(($ac_try" in
10499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10500 *) ac_try_echo=$ac_try;;
10502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10503 (eval "$ac_try") 2>&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); }; } &&
10507 { ac_try='test -s conftest$ac_exeext'
10508 { (case "(($ac_try" in
10509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10510 *) ac_try_echo
=$ac_try;;
10512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10513 (eval "$ac_try") 2>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; }; then
10517 ac_cv_lib_xslt_xsltCompilePattern
=yes
10519 echo "$as_me: failed program was:" >&5
10520 sed 's/^/| /' conftest.
$ac_ext >&5
10522 ac_cv_lib_xslt_xsltCompilePattern
=no
10525 rm -f core conftest.err conftest.
$ac_objext \
10526 conftest
$ac_exeext conftest.
$ac_ext
10527 LIBS
=$ac_check_lib_save_LIBS
10529 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10530 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10531 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10533 cat >>confdefs.h
<<\_ACEOF
10534 #define HAVE_LIBXSLT 1
10537 XSLTLIBS
="$ac_xslt_libs"
10538 XSLTINCL
="$ac_xslt_cflags"
10546 CPPFLAGS
="$ac_save_CPPFLAGS"
10551 if test "$PKG_CONFIG" != "false"
10553 ac_save_CPPFLAGS
="$CPPFLAGS"
10554 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
10555 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10556 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
10559 for ac_header
in dbus
/dbus.h hal
/libhal.h
10561 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10562 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10563 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10565 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10568 ac_res
=`eval echo '${'$as_ac_Header'}'`
10569 { echo "$as_me:$LINENO: result: $ac_res" >&5
10570 echo "${ECHO_T}$ac_res" >&6; }
10572 # Is the header compilable?
10573 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10574 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10575 cat >conftest.
$ac_ext <<_ACEOF
10578 cat confdefs.h
>>conftest.
$ac_ext
10579 cat >>conftest.
$ac_ext <<_ACEOF
10580 /* end confdefs.h. */
10581 $ac_includes_default
10582 #include <$ac_header>
10584 rm -f conftest.
$ac_objext
10585 if { (ac_try
="$ac_compile"
10586 case "(($ac_try" in
10587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10588 *) ac_try_echo=$ac_try;;
10590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10591 (eval "$ac_compile") 2>conftest.er1
10593 grep -v '^ *+' conftest.er1 >conftest.err
10595 cat conftest.err >&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); } &&
10598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10599 { (case "(($ac_try" in
10600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10601 *) ac_try_echo
=$ac_try;;
10603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10604 (eval "$ac_try") 2>&5
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); }; } &&
10608 { ac_try
='test -s conftest.$ac_objext'
10609 { (case "(($ac_try" in
10610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10611 *) ac_try_echo=$ac_try;;
10613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10614 (eval "$ac_try") 2>&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); }; }; then
10618 ac_header_compiler=yes
10620 echo "$as_me: failed program was:" >&5
10621 sed 's/^/| /' conftest.$ac_ext >&5
10623 ac_header_compiler=no
10626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10627 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10628 echo "${ECHO_T}$ac_header_compiler" >&6; }
10630 # Is the header present?
10631 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10632 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10633 cat >conftest.$ac_ext <<_ACEOF
10636 cat confdefs.h >>conftest.$ac_ext
10637 cat >>conftest.$ac_ext <<_ACEOF
10638 /* end confdefs.h. */
10639 #include <$ac_header>
10641 if { (ac_try="$ac_cpp conftest.$ac_ext"
10642 case "(($ac_try" in
10643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10644 *) ac_try_echo
=$ac_try;;
10646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10647 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10649 grep -v '^ *+' conftest.er1
>conftest.err
10651 cat conftest.err
>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); } >/dev
/null
; then
10654 if test -s conftest.err
; then
10655 ac_cpp_err
=$ac_c_preproc_warn_flag
10656 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10663 if test -z "$ac_cpp_err"; then
10664 ac_header_preproc
=yes
10666 echo "$as_me: failed program was:" >&5
10667 sed 's/^/| /' conftest.
$ac_ext >&5
10669 ac_header_preproc
=no
10672 rm -f conftest.err conftest.
$ac_ext
10673 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10674 echo "${ECHO_T}$ac_header_preproc" >&6; }
10676 # So? What about this header?
10677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10682 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10683 ac_header_preproc
=yes
10686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10690 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10691 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10692 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10693 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10695 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10696 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10697 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10699 ## ------------------------------------ ##
10700 ## Report this to wine-devel@winehq.org ##
10701 ## ------------------------------------ ##
10703 ) |
sed "s/^/$as_me: WARNING: /" >&2
10706 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10708 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10709 echo $ECHO_N "(cached) $ECHO_C" >&6
10711 eval "$as_ac_Header=\$ac_header_preproc"
10713 ac_res
=`eval echo '${'$as_ac_Header'}'`
10714 { echo "$as_me:$LINENO: result: $ac_res" >&5
10715 echo "${ECHO_T}$ac_res" >&6; }
10718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10719 cat >>confdefs.h
<<_ACEOF
10720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10727 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10729 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10730 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10731 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10734 ac_check_lib_save_LIBS
=$LIBS
10736 cat >conftest.
$ac_ext <<_ACEOF
10739 cat confdefs.h
>>conftest.
$ac_ext
10740 cat >>conftest.
$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10743 /* Override any GCC internal prototype to avoid an error.
10744 Use char because int might match the return type of a GCC
10745 builtin and then its argument prototype would still apply. */
10749 char libhal_ctx_new ();
10753 return libhal_ctx_new ();
10758 rm -f conftest.
$ac_objext conftest
$ac_exeext
10759 if { (ac_try
="$ac_link"
10760 case "(($ac_try" in
10761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10762 *) ac_try_echo=$ac_try;;
10764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10765 (eval "$ac_link") 2>conftest.er1
10767 grep -v '^ *+' conftest.er1 >conftest.err
10769 cat conftest.err >&5
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); } &&
10772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10773 { (case "(($ac_try" in
10774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10775 *) ac_try_echo
=$ac_try;;
10777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10778 (eval "$ac_try") 2>&5
10780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); }; } &&
10782 { ac_try
='test -s conftest$ac_exeext'
10783 { (case "(($ac_try" in
10784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10785 *) ac_try_echo=$ac_try;;
10787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10788 (eval "$ac_try") 2>&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); }; }; then
10792 ac_cv_lib_hal_libhal_ctx_new=yes
10794 echo "$as_me: failed program was:" >&5
10795 sed 's/^/| /' conftest.$ac_ext >&5
10797 ac_cv_lib_hal_libhal_ctx_new=no
10800 rm -f core conftest.err conftest.$ac_objext \
10801 conftest$ac_exeext conftest.$ac_ext
10802 LIBS=$ac_check_lib_save_LIBS
10804 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10805 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10806 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10807 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10808 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10809 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 ac_check_lib_save_LIBS=$LIBS
10813 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10814 cat >conftest.$ac_ext <<_ACEOF
10817 cat confdefs.h >>conftest.$ac_ext
10818 cat >>conftest.$ac_ext <<_ACEOF
10819 /* end confdefs.h. */
10821 /* Override any GCC internal prototype to avoid an error.
10822 Use char because int might match the return type of a GCC
10823 builtin and then its argument prototype would still apply. */
10827 char dbus_connection_close ();
10831 return dbus_connection_close ();
10836 rm -f conftest.$ac_objext conftest$ac_exeext
10837 if { (ac_try="$ac_link"
10838 case "(($ac_try" in
10839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10840 *) ac_try_echo
=$ac_try;;
10842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10843 (eval "$ac_link") 2>conftest.er1
10845 grep -v '^ *+' conftest.er1
>conftest.err
10847 cat conftest.err
>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); } &&
10850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10851 { (case "(($ac_try" in
10852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10853 *) ac_try_echo=$ac_try;;
10855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10856 (eval "$ac_try") 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; } &&
10860 { ac_try='test -s conftest$ac_exeext'
10861 { (case "(($ac_try" in
10862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10863 *) ac_try_echo
=$ac_try;;
10865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10866 (eval "$ac_try") 2>&5
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); }; }; then
10870 ac_cv_lib_dbus_1_dbus_connection_close
=yes
10872 echo "$as_me: failed program was:" >&5
10873 sed 's/^/| /' conftest.
$ac_ext >&5
10875 ac_cv_lib_dbus_1_dbus_connection_close
=no
10878 rm -f core conftest.err conftest.
$ac_objext \
10879 conftest
$ac_exeext conftest.
$ac_ext
10880 LIBS
=$ac_check_lib_save_LIBS
10882 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10883 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10884 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10886 cat >>confdefs.h
<<\_ACEOF
10887 #define HAVE_LIBHAL 1
10890 HALINCL
="$ac_hal_cflags"
10896 CPPFLAGS
="$ac_save_CPPFLAGS"
10900 if test "x$with_curses" != "xno"
10902 if test "$ac_cv_header_ncurses_h" = "yes"
10904 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10905 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10906 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10909 ac_check_lib_save_LIBS
=$LIBS
10910 LIBS
="-lncurses $LIBS"
10911 cat >conftest.
$ac_ext <<_ACEOF
10914 cat confdefs.h
>>conftest.
$ac_ext
10915 cat >>conftest.
$ac_ext <<_ACEOF
10916 /* end confdefs.h. */
10918 /* Override any GCC internal prototype to avoid an error.
10919 Use char because int might match the return type of a GCC
10920 builtin and then its argument prototype would still apply. */
10933 rm -f conftest.
$ac_objext conftest
$ac_exeext
10934 if { (ac_try
="$ac_link"
10935 case "(($ac_try" in
10936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10937 *) ac_try_echo=$ac_try;;
10939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10940 (eval "$ac_link") 2>conftest.er1
10942 grep -v '^ *+' conftest.er1 >conftest.err
10944 cat conftest.err >&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); } &&
10947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10948 { (case "(($ac_try" in
10949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10950 *) ac_try_echo
=$ac_try;;
10952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10953 (eval "$ac_try") 2>&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); }; } &&
10957 { ac_try
='test -s conftest$ac_exeext'
10958 { (case "(($ac_try" in
10959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10960 *) ac_try_echo=$ac_try;;
10962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10963 (eval "$ac_try") 2>&5
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); }; }; then
10967 ac_cv_lib_ncurses_waddch=yes
10969 echo "$as_me: failed program was:" >&5
10970 sed 's/^/| /' conftest.$ac_ext >&5
10972 ac_cv_lib_ncurses_waddch=no
10975 rm -f core conftest.err conftest.$ac_objext \
10976 conftest$ac_exeext conftest.$ac_ext
10977 LIBS=$ac_check_lib_save_LIBS
10979 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10980 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10981 if test $ac_cv_lib_ncurses_waddch = yes; then
10983 cat >>confdefs.h <<\_ACEOF
10984 #define HAVE_LIBNCURSES 1
10987 CURSESLIBS="-lncurses"
10990 elif test "$ac_cv_header_curses_h" = "yes"
10992 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
10993 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
10994 if test "${ac_cv_lib_curses_waddch+set}" = set; then
10995 echo $ECHO_N "(cached) $ECHO_C" >&6
10997 ac_check_lib_save_LIBS=$LIBS
10998 LIBS="-lcurses $LIBS"
10999 cat >conftest.$ac_ext <<_ACEOF
11002 cat confdefs.h >>conftest.$ac_ext
11003 cat >>conftest.$ac_ext <<_ACEOF
11004 /* end confdefs.h. */
11006 /* Override any GCC internal prototype to avoid an error.
11007 Use char because int might match the return type of a GCC
11008 builtin and then its argument prototype would still apply. */
11021 rm -f conftest.$ac_objext conftest$ac_exeext
11022 if { (ac_try="$ac_link"
11023 case "(($ac_try" in
11024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11025 *) ac_try_echo
=$ac_try;;
11027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11028 (eval "$ac_link") 2>conftest.er1
11030 grep -v '^ *+' conftest.er1
>conftest.err
11032 cat conftest.err
>&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); } &&
11035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11036 { (case "(($ac_try" in
11037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11038 *) ac_try_echo=$ac_try;;
11040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11041 (eval "$ac_try") 2>&5
11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); }; } &&
11045 { ac_try='test -s conftest$ac_exeext'
11046 { (case "(($ac_try" in
11047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11048 *) ac_try_echo
=$ac_try;;
11050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11051 (eval "$ac_try") 2>&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }; }; then
11055 ac_cv_lib_curses_waddch
=yes
11057 echo "$as_me: failed program was:" >&5
11058 sed 's/^/| /' conftest.
$ac_ext >&5
11060 ac_cv_lib_curses_waddch
=no
11063 rm -f core conftest.err conftest.
$ac_objext \
11064 conftest
$ac_exeext conftest.
$ac_ext
11065 LIBS
=$ac_check_lib_save_LIBS
11067 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11068 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11069 if test $ac_cv_lib_curses_waddch = yes; then
11071 cat >>confdefs.h
<<\_ACEOF
11072 #define HAVE_LIBCURSES 1
11075 CURSESLIBS
="-lcurses"
11079 ac_save_LIBS
="$LIBS"
11080 LIBS
="$LIBS $CURSESLIBS"
11082 for ac_func
in mousemask
11084 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11087 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11088 echo $ECHO_N "(cached) $ECHO_C" >&6
11090 cat >conftest.
$ac_ext <<_ACEOF
11093 cat confdefs.h
>>conftest.
$ac_ext
11094 cat >>conftest.
$ac_ext <<_ACEOF
11095 /* end confdefs.h. */
11096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11098 #define $ac_func innocuous_$ac_func
11100 /* System header to define __stub macros and hopefully few prototypes,
11101 which can conflict with char $ac_func (); below.
11102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11103 <limits.h> exists even on freestanding compilers. */
11106 # include <limits.h>
11108 # include <assert.h>
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11120 /* The GNU C library defines this for functions which it implements
11121 to always fail with ENOSYS. Some functions are actually named
11122 something starting with __ and the normal name is an alias. */
11123 #if defined __stub_$ac_func || defined __stub___$ac_func
11130 return $ac_func ();
11135 rm -f conftest.
$ac_objext conftest
$ac_exeext
11136 if { (ac_try
="$ac_link"
11137 case "(($ac_try" in
11138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11139 *) ac_try_echo=$ac_try;;
11141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11142 (eval "$ac_link") 2>conftest.er1
11144 grep -v '^ *+' conftest.er1 >conftest.err
11146 cat conftest.err >&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); } &&
11149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11150 { (case "(($ac_try" in
11151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11152 *) ac_try_echo
=$ac_try;;
11154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11155 (eval "$ac_try") 2>&5
11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 (exit $ac_status); }; } &&
11159 { ac_try
='test -s conftest$ac_exeext'
11160 { (case "(($ac_try" in
11161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11162 *) ac_try_echo=$ac_try;;
11164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11165 (eval "$ac_try") 2>&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); }; }; then
11169 eval "$as_ac_var=yes"
11171 echo "$as_me: failed program was:" >&5
11172 sed 's/^/| /' conftest.$ac_ext >&5
11174 eval "$as_ac_var=no"
11177 rm -f core conftest.err conftest.$ac_objext \
11178 conftest$ac_exeext conftest.$ac_ext
11180 ac_res=`eval echo '${'$as_ac_var'}'`
11181 { echo "$as_me:$LINENO: result: $ac_res" >&5
11182 echo "${ECHO_T}$ac_res" >&6; }
11183 if test `eval echo '${'$as_ac_var'}'` = yes; then
11184 cat >>confdefs.h <<_ACEOF
11185 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11191 LIBS="$ac_save_LIBS"
11195 # Extract the first word of "sane-config", so it can be a program name with args.
11196 set dummy sane-config; ac_word=$2
11197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11199 if test "${ac_cv_prog_sane_devel+set}" = set; then
11200 echo $ECHO_N "(cached) $ECHO_C" >&6
11202 if test -n "$sane_devel"; then
11203 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11206 for as_dir in $PATH
11209 test -z "$as_dir" && as_dir=.
11210 for ac_exec_ext in '' $ac_executable_extensions; do
11211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11212 ac_cv_prog_sane_devel="sane-config"
11213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11220 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11223 sane_devel=$ac_cv_prog_sane_devel
11224 if test -n "$sane_devel"; then
11225 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11226 echo "${ECHO_T}$sane_devel" >&6; }
11228 { echo "$as_me:$LINENO: result: no" >&5
11229 echo "${ECHO_T}no" >&6; }
11237 if test "$sane_devel" != "no"
11239 SANELIBS="`$sane_devel --libs`"
11240 SANEINCL="`$sane_devel --cflags`"
11241 ac_save_CPPFLAGS="$CPPFLAGS"
11242 ac_save_LIBS="$LIBS"
11243 CPPFLAGS="$CPPFLAGS $SANEINCL"
11244 LIBS="$LIBS $SANELIBS"
11245 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11246 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11247 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11248 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11249 echo $ECHO_N "(cached) $ECHO_C" >&6
11251 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11252 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11254 # Is the header compilable?
11255 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11256 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11257 cat >conftest.$ac_ext <<_ACEOF
11260 cat confdefs.h >>conftest.$ac_ext
11261 cat >>conftest.$ac_ext <<_ACEOF
11262 /* end confdefs.h. */
11263 $ac_includes_default
11264 #include <sane/sane.h>
11266 rm -f conftest.$ac_objext
11267 if { (ac_try="$ac_compile"
11268 case "(($ac_try" in
11269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11270 *) ac_try_echo
=$ac_try;;
11272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11273 (eval "$ac_compile") 2>conftest.er1
11275 grep -v '^ *+' conftest.er1
>conftest.err
11277 cat conftest.err
>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); } &&
11280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11281 { (case "(($ac_try" in
11282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11283 *) ac_try_echo=$ac_try;;
11285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11286 (eval "$ac_try") 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; } &&
11290 { ac_try='test -s conftest.$ac_objext'
11291 { (case "(($ac_try" in
11292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11293 *) ac_try_echo
=$ac_try;;
11295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11296 (eval "$ac_try") 2>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }; }; then
11300 ac_header_compiler
=yes
11302 echo "$as_me: failed program was:" >&5
11303 sed 's/^/| /' conftest.
$ac_ext >&5
11305 ac_header_compiler
=no
11308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11309 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11310 echo "${ECHO_T}$ac_header_compiler" >&6; }
11312 # Is the header present?
11313 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11314 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11315 cat >conftest.
$ac_ext <<_ACEOF
11318 cat confdefs.h
>>conftest.
$ac_ext
11319 cat >>conftest.
$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11321 #include <sane/sane.h>
11323 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11324 case "(($ac_try" in
11325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11326 *) ac_try_echo=$ac_try;;
11328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11329 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11331 grep -v '^ *+' conftest.er1 >conftest.err
11333 cat conftest.err >&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); } >/dev/null; then
11336 if test -s conftest.err; then
11337 ac_cpp_err=$ac_c_preproc_warn_flag
11338 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11345 if test -z "$ac_cpp_err"; then
11346 ac_header_preproc=yes
11348 echo "$as_me: failed program was:" >&5
11349 sed 's/^/| /' conftest.$ac_ext >&5
11351 ac_header_preproc=no
11354 rm -f conftest.err conftest.$ac_ext
11355 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11356 echo "${ECHO_T}$ac_header_preproc" >&6; }
11358 # So? What about this header?
11359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11361 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11362 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11363 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11364 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11365 ac_header_preproc=yes
11368 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11369 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11370 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11371 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11372 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11373 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11374 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11375 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11376 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11377 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11378 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11379 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11381 ## ------------------------------------ ##
11382 ## Report this to wine-devel@winehq.org ##
11383 ## ------------------------------------ ##
11385 ) | sed "s/^/$as_me: WARNING: /" >&2
11388 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11389 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11390 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11391 echo $ECHO_N "(cached) $ECHO_C" >&6
11393 ac_cv_header_sane_sane_h=$ac_header_preproc
11395 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11396 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11399 if test $ac_cv_header_sane_sane_h = yes; then
11400 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11401 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11402 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6
11405 ac_check_lib_save_LIBS=$LIBS
11406 LIBS="-lsane $LIBS"
11407 cat >conftest.$ac_ext <<_ACEOF
11410 cat confdefs.h >>conftest.$ac_ext
11411 cat >>conftest.$ac_ext <<_ACEOF
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11424 return sane_open ();
11429 rm -f conftest.$ac_objext conftest$ac_exeext
11430 if { (ac_try="$ac_link"
11431 case "(($ac_try" in
11432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11433 *) ac_try_echo
=$ac_try;;
11435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11436 (eval "$ac_link") 2>conftest.er1
11438 grep -v '^ *+' conftest.er1
>conftest.err
11440 cat conftest.err
>&5
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 (exit $ac_status); } &&
11443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11444 { (case "(($ac_try" in
11445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11446 *) ac_try_echo=$ac_try;;
11448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11449 (eval "$ac_try") 2>&5
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); }; } &&
11453 { ac_try='test -s conftest$ac_exeext'
11454 { (case "(($ac_try" in
11455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11456 *) ac_try_echo
=$ac_try;;
11458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11459 (eval "$ac_try") 2>&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then
11463 ac_cv_lib_sane_sane_open
=yes
11465 echo "$as_me: failed program was:" >&5
11466 sed 's/^/| /' conftest.
$ac_ext >&5
11468 ac_cv_lib_sane_sane_open
=no
11471 rm -f core conftest.err conftest.
$ac_objext \
11472 conftest
$ac_exeext conftest.
$ac_ext
11473 LIBS
=$ac_check_lib_save_LIBS
11475 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11476 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11477 if test $ac_cv_lib_sane_sane_open = yes; then
11479 cat >>confdefs.h
<<\_ACEOF
11480 #define HAVE_SANE 1
11494 LIBS
="$ac_save_LIBS"
11495 CPPFLAGS
="$ac_save_CPPFLAGS"
11498 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11499 set dummy gphoto2-config
; ac_word
=$2
11500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11502 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 if test -n "$gphoto2_devel"; then
11506 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
11508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11509 for as_dir
in $PATH
11512 test -z "$as_dir" && as_dir
=.
11513 for ac_exec_ext
in '' $ac_executable_extensions; do
11514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11515 ac_cv_prog_gphoto2_devel
="gphoto2-config"
11516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11523 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
11526 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
11527 if test -n "$gphoto2_devel"; then
11528 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11529 echo "${ECHO_T}$gphoto2_devel" >&6; }
11531 { echo "$as_me:$LINENO: result: no" >&5
11532 echo "${ECHO_T}no" >&6; }
11536 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11537 set dummy gphoto2-port-config
; ac_word
=$2
11538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11540 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11541 echo $ECHO_N "(cached) $ECHO_C" >&6
11543 if test -n "$gphoto2port_devel"; then
11544 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
11546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11547 for as_dir
in $PATH
11550 test -z "$as_dir" && as_dir
=.
11551 for ac_exec_ext
in '' $ac_executable_extensions; do
11552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11553 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
11554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11561 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
11564 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
11565 if test -n "$gphoto2port_devel"; then
11566 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11567 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11569 { echo "$as_me:$LINENO: result: no" >&5
11570 echo "${ECHO_T}no" >&6; }
11578 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11580 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11582 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11585 -L/usr
/lib|
-L/usr
/lib64
) ;;
11586 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
11589 ac_save_CPPFLAGS
="$CPPFLAGS"
11590 ac_save_LIBS
="$LIBS"
11591 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
11592 LIBS
="$LIBS $GPHOTO2LIBS"
11593 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11594 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11595 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11596 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11597 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11600 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11602 # Is the header compilable?
11603 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11604 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11605 cat >conftest.
$ac_ext <<_ACEOF
11608 cat confdefs.h
>>conftest.
$ac_ext
11609 cat >>conftest.
$ac_ext <<_ACEOF
11610 /* end confdefs.h. */
11611 $ac_includes_default
11612 #include <gphoto2-camera.h>
11614 rm -f conftest.
$ac_objext
11615 if { (ac_try
="$ac_compile"
11616 case "(($ac_try" in
11617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11618 *) ac_try_echo=$ac_try;;
11620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11621 (eval "$ac_compile") 2>conftest.er1
11623 grep -v '^ *+' conftest.er1 >conftest.err
11625 cat conftest.err >&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } &&
11628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11629 { (case "(($ac_try" in
11630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11631 *) ac_try_echo
=$ac_try;;
11633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11634 (eval "$ac_try") 2>&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); }; } &&
11638 { ac_try
='test -s conftest.$ac_objext'
11639 { (case "(($ac_try" in
11640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11641 *) ac_try_echo=$ac_try;;
11643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11644 (eval "$ac_try") 2>&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); }; }; then
11648 ac_header_compiler=yes
11650 echo "$as_me: failed program was:" >&5
11651 sed 's/^/| /' conftest.$ac_ext >&5
11653 ac_header_compiler=no
11656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11657 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11658 echo "${ECHO_T}$ac_header_compiler" >&6; }
11660 # Is the header present?
11661 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11662 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11663 cat >conftest.$ac_ext <<_ACEOF
11666 cat confdefs.h >>conftest.$ac_ext
11667 cat >>conftest.$ac_ext <<_ACEOF
11668 /* end confdefs.h. */
11669 #include <gphoto2-camera.h>
11671 if { (ac_try="$ac_cpp conftest.$ac_ext"
11672 case "(($ac_try" in
11673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11674 *) ac_try_echo
=$ac_try;;
11676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11679 grep -v '^ *+' conftest.er1
>conftest.err
11681 cat conftest.err
>&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); } >/dev
/null
; then
11684 if test -s conftest.err
; then
11685 ac_cpp_err
=$ac_c_preproc_warn_flag
11686 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11693 if test -z "$ac_cpp_err"; then
11694 ac_header_preproc
=yes
11696 echo "$as_me: failed program was:" >&5
11697 sed 's/^/| /' conftest.
$ac_ext >&5
11699 ac_header_preproc
=no
11702 rm -f conftest.err conftest.
$ac_ext
11703 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11704 echo "${ECHO_T}$ac_header_preproc" >&6; }
11706 # So? What about this header?
11707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11709 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11710 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11711 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11712 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11713 ac_header_preproc
=yes
11716 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11717 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11718 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11719 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11720 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11721 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11722 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11723 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11724 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11725 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11726 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11727 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11729 ## ------------------------------------ ##
11730 ## Report this to wine-devel@winehq.org ##
11731 ## ------------------------------------ ##
11733 ) |
sed "s/^/$as_me: WARNING: /" >&2
11736 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11737 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11738 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11739 echo $ECHO_N "(cached) $ECHO_C" >&6
11741 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
11743 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11744 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11747 if test $ac_cv_header_gphoto2_camera_h = yes; then
11748 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11749 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11750 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11751 echo $ECHO_N "(cached) $ECHO_C" >&6
11753 ac_check_lib_save_LIBS
=$LIBS
11754 LIBS
="-lgphoto2 $LIBS"
11755 cat >conftest.
$ac_ext <<_ACEOF
11758 cat confdefs.h
>>conftest.
$ac_ext
11759 cat >>conftest.
$ac_ext <<_ACEOF
11760 /* end confdefs.h. */
11762 /* Override any GCC internal prototype to avoid an error.
11763 Use char because int might match the return type of a GCC
11764 builtin and then its argument prototype would still apply. */
11768 char gp_camera_new ();
11772 return gp_camera_new ();
11777 rm -f conftest.
$ac_objext conftest
$ac_exeext
11778 if { (ac_try
="$ac_link"
11779 case "(($ac_try" in
11780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11781 *) ac_try_echo=$ac_try;;
11783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11784 (eval "$ac_link") 2>conftest.er1
11786 grep -v '^ *+' conftest.er1 >conftest.err
11788 cat conftest.err >&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); } &&
11791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11792 { (case "(($ac_try" in
11793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11794 *) ac_try_echo
=$ac_try;;
11796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11797 (eval "$ac_try") 2>&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); }; } &&
11801 { ac_try
='test -s conftest$ac_exeext'
11802 { (case "(($ac_try" in
11803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11804 *) ac_try_echo=$ac_try;;
11806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11807 (eval "$ac_try") 2>&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); }; }; then
11811 ac_cv_lib_gphoto2_gp_camera_new=yes
11813 echo "$as_me: failed program was:" >&5
11814 sed 's/^/| /' conftest.$ac_ext >&5
11816 ac_cv_lib_gphoto2_gp_camera_new=no
11819 rm -f core conftest.err conftest.$ac_objext \
11820 conftest$ac_exeext conftest.$ac_ext
11821 LIBS=$ac_check_lib_save_LIBS
11823 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11824 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11825 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11827 cat >>confdefs.h <<\_ACEOF
11828 #define HAVE_GPHOTO2 1
11842 LIBS="$ac_save_LIBS"
11843 CPPFLAGS="$ac_save_CPPFLAGS"
11846 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11849 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11851 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11852 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11853 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11854 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11855 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11856 cat >conftest.$ac_ext <<_ACEOF
11859 cat confdefs.h >>conftest.$ac_ext
11860 cat >>conftest.$ac_ext <<_ACEOF
11861 /* end confdefs.h. */
11862 #include <unicode/ubidi.h>
11871 rm -f conftest.$ac_objext conftest$ac_exeext
11872 if { (ac_try="$ac_link"
11873 case "(($ac_try" in
11874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11875 *) ac_try_echo
=$ac_try;;
11877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11878 (eval "$ac_link") 2>conftest.er1
11880 grep -v '^ *+' conftest.er1
>conftest.err
11882 cat conftest.err
>&5
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); } &&
11885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11886 { (case "(($ac_try" in
11887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11888 *) ac_try_echo=$ac_try;;
11890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11891 (eval "$ac_try") 2>&5
11893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); }; } &&
11895 { ac_try='test -s conftest$ac_exeext'
11896 { (case "(($ac_try" in
11897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11898 *) ac_try_echo
=$ac_try;;
11900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11901 (eval "$ac_try") 2>&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; }; then
11906 cat >>confdefs.h
<<\_ACEOF
11910 ICULIBS
="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11912 { echo "$as_me:$LINENO: result: yes" >&5
11913 echo "${ECHO_T}yes" >&6; }
11915 echo "$as_me: failed program was:" >&5
11916 sed 's/^/| /' conftest.
$ac_ext >&5
11918 { echo "$as_me:$LINENO: result: no" >&5
11919 echo "${ECHO_T}no" >&6; }
11922 rm -f core conftest.err conftest.
$ac_objext \
11923 conftest
$ac_exeext conftest.
$ac_ext
11930 if test "$ac_cv_header_resolv_h" = "yes"
11932 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11933 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11934 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11935 echo $ECHO_N "(cached) $ECHO_C" >&6
11937 ac_check_lib_save_LIBS
=$LIBS
11938 LIBS
="-lresolv $LIBS"
11939 cat >conftest.
$ac_ext <<_ACEOF
11942 cat confdefs.h
>>conftest.
$ac_ext
11943 cat >>conftest.
$ac_ext <<_ACEOF
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11956 return res_query ();
11961 rm -f conftest.
$ac_objext conftest
$ac_exeext
11962 if { (ac_try
="$ac_link"
11963 case "(($ac_try" in
11964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11965 *) ac_try_echo=$ac_try;;
11967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11968 (eval "$ac_link") 2>conftest.er1
11970 grep -v '^ *+' conftest.er1 >conftest.err
11972 cat conftest.err >&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); } &&
11975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11976 { (case "(($ac_try" in
11977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11978 *) ac_try_echo
=$ac_try;;
11980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11981 (eval "$ac_try") 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; } &&
11985 { ac_try
='test -s conftest$ac_exeext'
11986 { (case "(($ac_try" in
11987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11988 *) ac_try_echo=$ac_try;;
11990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11991 (eval "$ac_try") 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 ac_cv_lib_resolv_res_query=yes
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.$ac_ext >&5
12000 ac_cv_lib_resolv_res_query=no
12003 rm -f core conftest.err conftest.$ac_objext \
12004 conftest$ac_exeext conftest.$ac_ext
12005 LIBS=$ac_check_lib_save_LIBS
12007 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12008 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12009 if test $ac_cv_lib_resolv_res_query = yes; then
12011 cat >>confdefs.h <<\_ACEOF
12012 #define HAVE_RESOLV 1
12015 RESOLVLIBS="-lresolv"
12022 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12024 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12025 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12026 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 ac_check_lib_save_LIBS=$LIBS
12030 LIBS="-llcms $LIBS"
12031 cat >conftest.$ac_ext <<_ACEOF
12034 cat confdefs.h >>conftest.$ac_ext
12035 cat >>conftest.$ac_ext <<_ACEOF
12036 /* end confdefs.h. */
12038 /* Override any GCC internal prototype to avoid an error.
12039 Use char because int might match the return type of a GCC
12040 builtin and then its argument prototype would still apply. */
12044 char cmsOpenProfileFromFile ();
12048 return cmsOpenProfileFromFile ();
12053 rm -f conftest.$ac_objext conftest$ac_exeext
12054 if { (ac_try="$ac_link"
12055 case "(($ac_try" in
12056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12057 *) ac_try_echo
=$ac_try;;
12059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12060 (eval "$ac_link") 2>conftest.er1
12062 grep -v '^ *+' conftest.er1
>conftest.err
12064 cat conftest.err
>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); } &&
12067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12068 { (case "(($ac_try" in
12069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12070 *) ac_try_echo=$ac_try;;
12072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12073 (eval "$ac_try") 2>&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); }; } &&
12077 { ac_try='test -s conftest$ac_exeext'
12078 { (case "(($ac_try" in
12079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12080 *) ac_try_echo
=$ac_try;;
12082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12083 (eval "$ac_try") 2>&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; }; then
12087 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
12089 echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.
$ac_ext >&5
12092 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
12095 rm -f core conftest.err conftest.
$ac_objext \
12096 conftest
$ac_exeext conftest.
$ac_ext
12097 LIBS
=$ac_check_lib_save_LIBS
12099 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12100 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12101 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12103 cat >>confdefs.h
<<\_ACEOF
12104 #define HAVE_LCMS 1
12114 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12116 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12117 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12118 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12119 echo $ECHO_N "(cached) $ECHO_C" >&6
12121 ac_check_lib_save_LIBS
=$LIBS
12122 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12123 cat >conftest.
$ac_ext <<_ACEOF
12126 cat confdefs.h
>>conftest.
$ac_ext
12127 cat >>conftest.
$ac_ext <<_ACEOF
12128 /* end confdefs.h. */
12130 /* Override any GCC internal prototype to avoid an error.
12131 Use char because int might match the return type of a GCC
12132 builtin and then its argument prototype would still apply. */
12136 char ldap_initialize ();
12140 return ldap_initialize ();
12145 rm -f conftest.
$ac_objext conftest
$ac_exeext
12146 if { (ac_try
="$ac_link"
12147 case "(($ac_try" in
12148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12149 *) ac_try_echo=$ac_try;;
12151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12152 (eval "$ac_link") 2>conftest.er1
12154 grep -v '^ *+' conftest.er1 >conftest.err
12156 cat conftest.err >&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); } &&
12159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12160 { (case "(($ac_try" in
12161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12162 *) ac_try_echo
=$ac_try;;
12164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12165 (eval "$ac_try") 2>&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); }; } &&
12169 { ac_try
='test -s conftest$ac_exeext'
12170 { (case "(($ac_try" in
12171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12172 *) ac_try_echo=$ac_try;;
12174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12175 (eval "$ac_try") 2>&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); }; }; then
12179 ac_cv_lib_ldap_r_ldap_initialize=yes
12181 echo "$as_me: failed program was:" >&5
12182 sed 's/^/| /' conftest.$ac_ext >&5
12184 ac_cv_lib_ldap_r_ldap_initialize=no
12187 rm -f core conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_lib_save_LIBS
12191 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12192 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12193 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12194 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12195 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12196 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 ac_check_lib_save_LIBS=$LIBS
12200 LIBS="-llber $LIBPTHREAD $LIBS"
12201 cat >conftest.$ac_ext <<_ACEOF
12204 cat confdefs.h >>conftest.$ac_ext
12205 cat >>conftest.$ac_ext <<_ACEOF
12206 /* end confdefs.h. */
12208 /* Override any GCC internal prototype to avoid an error.
12209 Use char because int might match the return type of a GCC
12210 builtin and then its argument prototype would still apply. */
12218 return ber_init ();
12223 rm -f conftest.$ac_objext conftest$ac_exeext
12224 if { (ac_try="$ac_link"
12225 case "(($ac_try" in
12226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12227 *) ac_try_echo
=$ac_try;;
12229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12230 (eval "$ac_link") 2>conftest.er1
12232 grep -v '^ *+' conftest.er1
>conftest.err
12234 cat conftest.err
>&5
12235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); } &&
12237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12238 { (case "(($ac_try" in
12239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12240 *) ac_try_echo=$ac_try;;
12242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12243 (eval "$ac_try") 2>&5
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); }; } &&
12247 { ac_try='test -s conftest$ac_exeext'
12248 { (case "(($ac_try" in
12249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12250 *) ac_try_echo
=$ac_try;;
12252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12253 (eval "$ac_try") 2>&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; }; then
12257 ac_cv_lib_lber_ber_init
=yes
12259 echo "$as_me: failed program was:" >&5
12260 sed 's/^/| /' conftest.
$ac_ext >&5
12262 ac_cv_lib_lber_ber_init
=no
12265 rm -f core conftest.err conftest.
$ac_objext \
12266 conftest
$ac_exeext conftest.
$ac_ext
12267 LIBS
=$ac_check_lib_save_LIBS
12269 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12270 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12271 if test $ac_cv_lib_lber_ber_init = yes; then
12273 cat >>confdefs.h
<<\_ACEOF
12274 #define HAVE_LDAP 1
12277 LDAPLIBS
="-lldap_r -llber"
12282 ac_wine_check_funcs_save_LIBS
="$LIBS"
12283 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12289 ldap_count_references \
12290 ldap_first_reference \
12291 ldap_next_reference \
12292 ldap_parse_reference
12294 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12295 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12297 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12298 echo $ECHO_N "(cached) $ECHO_C" >&6
12300 cat >conftest.
$ac_ext <<_ACEOF
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12308 #define $ac_func innocuous_$ac_func
12310 /* System header to define __stub macros and hopefully few prototypes,
12311 which can conflict with char $ac_func (); below.
12312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12313 <limits.h> exists even on freestanding compilers. */
12316 # include <limits.h>
12318 # include <assert.h>
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12330 /* The GNU C library defines this for functions which it implements
12331 to always fail with ENOSYS. Some functions are actually named
12332 something starting with __ and the normal name is an alias. */
12333 #if defined __stub_$ac_func || defined __stub___$ac_func
12340 return $ac_func ();
12345 rm -f conftest.
$ac_objext conftest
$ac_exeext
12346 if { (ac_try
="$ac_link"
12347 case "(($ac_try" in
12348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12349 *) ac_try_echo=$ac_try;;
12351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12352 (eval "$ac_link") 2>conftest.er1
12354 grep -v '^ *+' conftest.er1 >conftest.err
12356 cat conftest.err >&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12360 { (case "(($ac_try" in
12361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12362 *) ac_try_echo
=$ac_try;;
12364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12365 (eval "$ac_try") 2>&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; } &&
12369 { ac_try
='test -s conftest$ac_exeext'
12370 { (case "(($ac_try" in
12371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12372 *) ac_try_echo=$ac_try;;
12374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12375 (eval "$ac_try") 2>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); }; }; then
12379 eval "$as_ac_var=yes"
12381 echo "$as_me: failed program was:" >&5
12382 sed 's/^/| /' conftest.$ac_ext >&5
12384 eval "$as_ac_var=no"
12387 rm -f core conftest.err conftest.$ac_objext \
12388 conftest$ac_exeext conftest.$ac_ext
12390 ac_res=`eval echo '${'$as_ac_var'}'`
12391 { echo "$as_me:$LINENO: result: $ac_res" >&5
12392 echo "${ECHO_T}$ac_res" >&6; }
12393 if test `eval echo '${'$as_ac_var'}'` = yes; then
12394 cat >>confdefs.h <<_ACEOF
12395 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12401 LIBS="$ac_wine_check_funcs_save_LIBS"
12408 # Extract the first word of "freetype-config", so it can be a program name with args.
12409 set dummy freetype-config; ac_word=$2
12410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12412 if test "${ac_cv_prog_ft_devel+set}" = set; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12415 if test -n "$ft_devel"; then
12416 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12419 for as_dir in $PATH
12422 test -z "$as_dir" && as_dir=.
12423 for ac_exec_ext in '' $ac_executable_extensions; do
12424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12425 ac_cv_prog_ft_devel="freetype-config"
12426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12433 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12436 ft_devel=$ac_cv_prog_ft_devel
12437 if test -n "$ft_devel"; then
12438 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12439 echo "${ECHO_T}$ft_devel" >&6; }
12441 { echo "$as_me:$LINENO: result: no" >&5
12442 echo "${ECHO_T}no" >&6; }
12446 if test "$ft_devel" = "no"
12448 # Extract the first word of "freetype2-config", so it can be a program name with args.
12449 set dummy freetype2-config; ac_word=$2
12450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12452 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 if test -n "$ft_devel2"; then
12456 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12459 for as_dir in $PATH
12462 test -z "$as_dir" && as_dir=.
12463 for ac_exec_ext in '' $ac_executable_extensions; do
12464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12465 ac_cv_prog_ft_devel2="freetype2-config"
12466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12473 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12476 ft_devel2=$ac_cv_prog_ft_devel2
12477 if test -n "$ft_devel2"; then
12478 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12479 echo "${ECHO_T}$ft_devel2" >&6; }
12481 { echo "$as_me:$LINENO: result: no" >&5
12482 echo "${ECHO_T}no" >&6; }
12486 if test "$ft_devel2" = "freetype2-config"
12488 ft_devel=$ft_devel2
12492 if test "$ft_devel" = "no"
12494 wine_cv_msg_freetype=yes
12496 FREETYPELIBS=`$ft_devel --libs`
12497 FREETYPEINCL=`$ft_devel --cflags`
12498 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12499 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12500 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12501 echo $ECHO_N "(cached) $ECHO_C" >&6
12503 ac_check_lib_save_LIBS=$LIBS
12504 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12505 cat >conftest.$ac_ext <<_ACEOF
12508 cat confdefs.h >>conftest.$ac_ext
12509 cat >>conftest.$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12512 /* Override any GCC internal prototype to avoid an error.
12513 Use char because int might match the return type of a GCC
12514 builtin and then its argument prototype would still apply. */
12518 char FT_Init_FreeType ();
12522 return FT_Init_FreeType ();
12527 rm -f conftest.$ac_objext conftest$ac_exeext
12528 if { (ac_try="$ac_link"
12529 case "(($ac_try" in
12530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12531 *) ac_try_echo
=$ac_try;;
12533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12534 (eval "$ac_link") 2>conftest.er1
12536 grep -v '^ *+' conftest.er1
>conftest.err
12538 cat conftest.err
>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); } &&
12541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12542 { (case "(($ac_try" in
12543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12544 *) ac_try_echo=$ac_try;;
12546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12547 (eval "$ac_try") 2>&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); }; } &&
12551 { ac_try='test -s conftest$ac_exeext'
12552 { (case "(($ac_try" in
12553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12554 *) ac_try_echo
=$ac_try;;
12556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12557 (eval "$ac_try") 2>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12561 ac_cv_lib_freetype_FT_Init_FreeType
=yes
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.
$ac_ext >&5
12566 ac_cv_lib_freetype_FT_Init_FreeType
=no
12569 rm -f core conftest.err conftest.
$ac_objext \
12570 conftest
$ac_exeext conftest.
$ac_ext
12571 LIBS
=$ac_check_lib_save_LIBS
12573 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12574 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12575 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12581 if test "$ft_lib" = "no"
12583 wine_cv_msg_freetype
=yes
12587 ac_save_CPPFLAGS
="$CPPFLAGS"
12588 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
12600 for ac_header
in ft2build.h \
12601 freetype
/freetype.h \
12602 freetype
/ftglyph.h \
12603 freetype
/tttables.h \
12604 freetype
/ftnames.h \
12605 freetype
/ftsnames.h \
12606 freetype
/ttnameid.h \
12607 freetype
/ftoutln.h \
12608 freetype
/ftwinfnt.h \
12609 freetype
/ftmodapi.h \
12610 freetype
/internal
/sfnt.h
12612 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12615 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12616 echo $ECHO_N "(cached) $ECHO_C" >&6
12618 cat >conftest.
$ac_ext <<_ACEOF
12621 cat confdefs.h
>>conftest.
$ac_ext
12622 cat >>conftest.
$ac_ext <<_ACEOF
12623 /* end confdefs.h. */
12624 #if HAVE_FT2BUILD_H
12625 #include <ft2build.h>
12628 #include <$ac_header>
12630 rm -f conftest.
$ac_objext
12631 if { (ac_try
="$ac_compile"
12632 case "(($ac_try" in
12633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12634 *) ac_try_echo=$ac_try;;
12636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12637 (eval "$ac_compile") 2>conftest.er1
12639 grep -v '^ *+' conftest.er1 >conftest.err
12641 cat conftest.err >&5
12642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12643 (exit $ac_status); } &&
12644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12645 { (case "(($ac_try" in
12646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12647 *) ac_try_echo
=$ac_try;;
12649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12650 (eval "$ac_try") 2>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; } &&
12654 { ac_try
='test -s conftest.$ac_objext'
12655 { (case "(($ac_try" in
12656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12657 *) ac_try_echo=$ac_try;;
12659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12660 (eval "$ac_try") 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; }; then
12664 eval "$as_ac_Header=yes"
12666 echo "$as_me: failed program was:" >&5
12667 sed 's/^/| /' conftest.$ac_ext >&5
12669 eval "$as_ac_Header=no"
12672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12674 ac_res=`eval echo '${'$as_ac_Header'}'`
12675 { echo "$as_me:$LINENO: result: $ac_res" >&5
12676 echo "${ECHO_T}$ac_res" >&6; }
12677 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12678 cat >>confdefs.h <<_ACEOF
12679 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12686 cat >conftest.$ac_ext <<_ACEOF
12689 cat confdefs.h >>conftest.$ac_ext
12690 cat >>conftest.$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692 #include <ft2build.h>
12693 #include <freetype/fttrigon.h>
12695 if { (ac_try="$ac_cpp conftest.$ac_ext"
12696 case "(($ac_try" in
12697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12698 *) ac_try_echo
=$ac_try;;
12700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12703 grep -v '^ *+' conftest.er1
>conftest.err
12705 cat conftest.err
>&5
12706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707 (exit $ac_status); } >/dev
/null
; then
12708 if test -s conftest.err
; then
12709 ac_cpp_err
=$ac_c_preproc_warn_flag
12710 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12717 if test -z "$ac_cpp_err"; then
12719 cat >>confdefs.h
<<\_ACEOF
12720 #define HAVE_FREETYPE_FTTRIGON_H 1
12723 wine_cv_fttrigon
=yes
12725 echo "$as_me: failed program was:" >&5
12726 sed 's/^/| /' conftest.
$ac_ext >&5
12728 wine_cv_fttrigon
=no
12731 rm -f conftest.err conftest.
$ac_ext
12732 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12733 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12734 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12735 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 cat >conftest.
$ac_ext <<_ACEOF
12740 cat confdefs.h
>>conftest.
$ac_ext
12741 cat >>conftest.
$ac_ext <<_ACEOF
12742 /* end confdefs.h. */
12743 #include <freetype/ftmodapi.h>
12745 typedef FT_TrueTypeEngineType ac__type_new_;
12749 if ((ac__type_new_ *) 0)
12751 if (sizeof (ac__type_new_))
12757 rm -f conftest.
$ac_objext
12758 if { (ac_try
="$ac_compile"
12759 case "(($ac_try" in
12760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12761 *) ac_try_echo=$ac_try;;
12763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12764 (eval "$ac_compile") 2>conftest.er1
12766 grep -v '^ *+' conftest.er1 >conftest.err
12768 cat conftest.err >&5
12769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770 (exit $ac_status); } &&
12771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12772 { (case "(($ac_try" in
12773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12774 *) ac_try_echo
=$ac_try;;
12776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12777 (eval "$ac_try") 2>&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; } &&
12781 { ac_try
='test -s conftest.$ac_objext'
12782 { (case "(($ac_try" in
12783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12784 *) ac_try_echo=$ac_try;;
12786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12787 (eval "$ac_try") 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; }; then
12791 ac_cv_type_FT_TrueTypeEngineType=yes
12793 echo "$as_me: failed program was:" >&5
12794 sed 's/^/| /' conftest.$ac_ext >&5
12796 ac_cv_type_FT_TrueTypeEngineType=no
12799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12801 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12802 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12803 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12805 cat >>confdefs.h <<_ACEOF
12806 #define HAVE_FT_TRUETYPEENGINETYPE 1
12812 ac_save_CFLAGS="$CFLAGS"
12813 CFLAGS="$CFLAGS $FREETYPELIBS"
12815 for ac_func in FT_Load_Sfnt_Table
12817 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12818 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12820 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12821 echo $ECHO_N "(cached) $ECHO_C" >&6
12823 cat >conftest.$ac_ext <<_ACEOF
12826 cat confdefs.h >>conftest.$ac_ext
12827 cat >>conftest.$ac_ext <<_ACEOF
12828 /* end confdefs.h. */
12829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12831 #define $ac_func innocuous_$ac_func
12833 /* System header to define __stub macros and hopefully few prototypes,
12834 which can conflict with char $ac_func (); below.
12835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12836 <limits.h> exists even on freestanding compilers. */
12839 # include <limits.h>
12841 # include <assert.h>
12846 /* Override any GCC internal prototype to avoid an error.
12847 Use char because int might match the return type of a GCC
12848 builtin and then its argument prototype would still apply. */
12853 /* The GNU C library defines this for functions which it implements
12854 to always fail with ENOSYS. Some functions are actually named
12855 something starting with __ and the normal name is an alias. */
12856 #if defined __stub_$ac_func || defined __stub___$ac_func
12863 return $ac_func ();
12868 rm -f conftest.$ac_objext conftest$ac_exeext
12869 if { (ac_try="$ac_link"
12870 case "(($ac_try" in
12871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12872 *) ac_try_echo
=$ac_try;;
12874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12875 (eval "$ac_link") 2>conftest.er1
12877 grep -v '^ *+' conftest.er1
>conftest.err
12879 cat conftest.err
>&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } &&
12882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12883 { (case "(($ac_try" in
12884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12885 *) ac_try_echo=$ac_try;;
12887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12888 (eval "$ac_try") 2>&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); }; } &&
12892 { ac_try='test -s conftest$ac_exeext'
12893 { (case "(($ac_try" in
12894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12895 *) ac_try_echo
=$ac_try;;
12897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12898 (eval "$ac_try") 2>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); }; }; then
12902 eval "$as_ac_var=yes"
12904 echo "$as_me: failed program was:" >&5
12905 sed 's/^/| /' conftest.
$ac_ext >&5
12907 eval "$as_ac_var=no"
12910 rm -f core conftest.err conftest.
$ac_objext \
12911 conftest
$ac_exeext conftest.
$ac_ext
12913 ac_res
=`eval echo '${'$as_ac_var'}'`
12914 { echo "$as_me:$LINENO: result: $ac_res" >&5
12915 echo "${ECHO_T}$ac_res" >&6; }
12916 if test `eval echo '${'$as_ac_var'}'` = yes; then
12917 cat >>confdefs.h
<<_ACEOF
12918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12924 CFLAGS
="$ac_save_CFLAGS"
12925 CPPFLAGS
="$ac_save_CPPFLAGS"
12926 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12929 cat >>confdefs.h
<<\_ACEOF
12930 #define HAVE_FREETYPE 1
12933 wine_cv_msg_freetype
=no
12937 wine_cv_msg_freetype
=yes
12942 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12944 FONTSSUBDIRS
="fonts"
12948 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12949 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12950 if test "${ac_cv_c_ppdev+set}" = set; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 cat >conftest.
$ac_ext <<_ACEOF
12956 cat confdefs.h
>>conftest.
$ac_ext
12957 cat >>conftest.
$ac_ext <<_ACEOF
12958 /* end confdefs.h. */
12959 #include <linux/ppdev.h>
12963 ioctl (1,PPCLAIM,0)
12968 rm -f conftest.
$ac_objext
12969 if { (ac_try
="$ac_compile"
12970 case "(($ac_try" in
12971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12972 *) ac_try_echo=$ac_try;;
12974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12975 (eval "$ac_compile") 2>conftest.er1
12977 grep -v '^ *+' conftest.er1 >conftest.err
12979 cat conftest.err >&5
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); } &&
12982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12983 { (case "(($ac_try" in
12984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12985 *) ac_try_echo
=$ac_try;;
12987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12988 (eval "$ac_try") 2>&5
12990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 (exit $ac_status); }; } &&
12992 { ac_try
='test -s conftest.$ac_objext'
12993 { (case "(($ac_try" in
12994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12995 *) ac_try_echo=$ac_try;;
12997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12998 (eval "$ac_try") 2>&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); }; }; then
13002 ac_cv_c_ppdev="yes"
13004 echo "$as_me: failed program was:" >&5
13005 sed 's/^/| /' conftest.$ac_ext >&5
13010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13013 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13014 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13015 if test "$ac_cv_c_ppdev" = "yes"
13018 cat >>confdefs.h <<\_ACEOF
13019 #define HAVE_PPDEV 1
13024 { echo "$as_me:$LINENO: checking for va_copy" >&5
13025 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13026 if test "${ac_cv_c_va_copy+set}" = set; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 cat >conftest.$ac_ext <<_ACEOF
13032 cat confdefs.h >>conftest.$ac_ext
13033 cat >>conftest.$ac_ext <<_ACEOF
13034 /* end confdefs.h. */
13035 #include <stdarg.h>
13046 rm -f conftest.$ac_objext conftest$ac_exeext
13047 if { (ac_try="$ac_link"
13048 case "(($ac_try" in
13049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13050 *) ac_try_echo
=$ac_try;;
13052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13053 (eval "$ac_link") 2>conftest.er1
13055 grep -v '^ *+' conftest.er1
>conftest.err
13057 cat conftest.err
>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13061 { (case "(($ac_try" in
13062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13063 *) ac_try_echo=$ac_try;;
13065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13066 (eval "$ac_try") 2>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; } &&
13070 { ac_try='test -s conftest$ac_exeext'
13071 { (case "(($ac_try" in
13072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13073 *) ac_try_echo
=$ac_try;;
13075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13076 (eval "$ac_try") 2>&5
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); }; }; then
13080 ac_cv_c_va_copy
="yes"
13082 echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.
$ac_ext >&5
13085 ac_cv_c_va_copy
="no"
13088 rm -f core conftest.err conftest.
$ac_objext \
13089 conftest
$ac_exeext conftest.
$ac_ext
13092 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13093 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13094 if test "$ac_cv_c_va_copy" = "yes"
13097 cat >>confdefs.h
<<\_ACEOF
13098 #define HAVE_VA_COPY 1
13102 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13103 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13104 if test "${ac_cv_c___va_copy+set}" = set; then
13105 echo $ECHO_N "(cached) $ECHO_C" >&6
13107 cat >conftest.
$ac_ext <<_ACEOF
13110 cat confdefs.h
>>conftest.
$ac_ext
13111 cat >>conftest.
$ac_ext <<_ACEOF
13112 /* end confdefs.h. */
13113 #include <stdarg.h>
13118 __va_copy(ap1,ap2);
13124 rm -f conftest.
$ac_objext conftest
$ac_exeext
13125 if { (ac_try
="$ac_link"
13126 case "(($ac_try" in
13127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13128 *) ac_try_echo=$ac_try;;
13130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13131 (eval "$ac_link") 2>conftest.er1
13133 grep -v '^ *+' conftest.er1 >conftest.err
13135 cat conftest.err >&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); } &&
13138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13139 { (case "(($ac_try" in
13140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13141 *) ac_try_echo
=$ac_try;;
13143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13144 (eval "$ac_try") 2>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }; } &&
13148 { ac_try
='test -s conftest$ac_exeext'
13149 { (case "(($ac_try" in
13150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13151 *) ac_try_echo=$ac_try;;
13153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13154 (eval "$ac_try") 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 ac_cv_c___va_copy="yes"
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.$ac_ext >&5
13163 ac_cv_c___va_copy="no"
13166 rm -f core conftest.err conftest.$ac_objext \
13167 conftest$ac_exeext conftest.$ac_ext
13170 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13171 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13172 if test "$ac_cv_c___va_copy" = "yes"
13175 cat >>confdefs.h <<\_ACEOF
13176 #define HAVE___VA_COPY 1
13181 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13182 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13183 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13184 echo $ECHO_N "(cached) $ECHO_C" >&6
13186 cat >conftest.$ac_ext <<_ACEOF
13189 cat confdefs.h >>conftest.$ac_ext
13190 cat >>conftest.$ac_ext <<_ACEOF
13191 /* end confdefs.h. */
13192 #include <setjmp.h>
13197 sigsetjmp( buf, 1 );
13198 siglongjmp( buf, 1 );
13203 rm -f conftest.$ac_objext conftest$ac_exeext
13204 if { (ac_try="$ac_link"
13205 case "(($ac_try" in
13206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13207 *) ac_try_echo
=$ac_try;;
13209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13210 (eval "$ac_link") 2>conftest.er1
13212 grep -v '^ *+' conftest.er1
>conftest.err
13214 cat conftest.err
>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } &&
13217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13218 { (case "(($ac_try" in
13219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13220 *) ac_try_echo=$ac_try;;
13222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13223 (eval "$ac_try") 2>&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try='test -s conftest$ac_exeext'
13228 { (case "(($ac_try" in
13229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13230 *) ac_try_echo
=$ac_try;;
13232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13233 (eval "$ac_try") 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; }; then
13237 ac_cv_c_sigsetjmp
="yes"
13239 echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.
$ac_ext >&5
13242 ac_cv_c_sigsetjmp
="no"
13245 rm -f core conftest.err conftest.
$ac_objext \
13246 conftest
$ac_exeext conftest.
$ac_ext
13249 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13250 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13251 if test "$ac_cv_c_sigsetjmp" = "yes"
13254 cat >>confdefs.h
<<\_ACEOF
13255 #define HAVE_SIGSETJMP 1
13260 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13261 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13262 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 cat >conftest.
$ac_ext <<_ACEOF
13268 cat confdefs.h
>>conftest.
$ac_ext
13269 cat >>conftest.
$ac_ext <<_ACEOF
13270 /* end confdefs.h. */
13271 #define _GNU_SOURCE
13272 #include <pthread.h>
13274 typedef pthread_rwlock_t ac__type_new_;
13278 if ((ac__type_new_ *) 0)
13280 if (sizeof (ac__type_new_))
13286 rm -f conftest.
$ac_objext
13287 if { (ac_try
="$ac_compile"
13288 case "(($ac_try" in
13289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13290 *) ac_try_echo=$ac_try;;
13292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13293 (eval "$ac_compile") 2>conftest.er1
13295 grep -v '^ *+' conftest.er1 >conftest.err
13297 cat conftest.err >&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); } &&
13300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13301 { (case "(($ac_try" in
13302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13303 *) ac_try_echo
=$ac_try;;
13305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13306 (eval "$ac_try") 2>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; } &&
13310 { ac_try
='test -s conftest.$ac_objext'
13311 { (case "(($ac_try" in
13312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13313 *) ac_try_echo=$ac_try;;
13315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13316 (eval "$ac_try") 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; }; then
13320 ac_cv_type_pthread_rwlock_t=yes
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.$ac_ext >&5
13325 ac_cv_type_pthread_rwlock_t=no
13328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13330 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13331 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13332 if test $ac_cv_type_pthread_rwlock_t = yes; then
13334 cat >>confdefs.h <<_ACEOF
13335 #define HAVE_PTHREAD_RWLOCK_T 1
13340 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13341 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13342 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 cat >conftest.$ac_ext <<_ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351 #define _GNU_SOURCE
13352 #include <pthread.h>
13354 typedef pthread_rwlockattr_t ac__type_new_;
13358 if ((ac__type_new_ *) 0)
13360 if (sizeof (ac__type_new_))
13366 rm -f conftest.$ac_objext
13367 if { (ac_try="$ac_compile"
13368 case "(($ac_try" in
13369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13370 *) ac_try_echo
=$ac_try;;
13372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13373 (eval "$ac_compile") 2>conftest.er1
13375 grep -v '^ *+' conftest.er1
>conftest.err
13377 cat conftest.err
>&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); } &&
13380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13381 { (case "(($ac_try" in
13382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13383 *) ac_try_echo=$ac_try;;
13385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13386 (eval "$ac_try") 2>&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); }; } &&
13390 { ac_try='test -s conftest.$ac_objext'
13391 { (case "(($ac_try" in
13392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13393 *) ac_try_echo
=$ac_try;;
13395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13396 (eval "$ac_try") 2>&5
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); }; }; then
13400 ac_cv_type_pthread_rwlockattr_t
=yes
13402 echo "$as_me: failed program was:" >&5
13403 sed 's/^/| /' conftest.
$ac_ext >&5
13405 ac_cv_type_pthread_rwlockattr_t
=no
13408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13410 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13411 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13412 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13414 cat >>confdefs.h
<<_ACEOF
13415 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13422 ac_wine_check_funcs_save_LIBS
="$LIBS"
13423 LIBS
="$LIBS $LIBPTHREAD"
13429 pthread_attr_get_np \
13430 pthread_getattr_np \
13431 pthread_get_stackaddr_np \
13432 pthread_get_stacksize_np
13434 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13435 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13437 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13438 echo $ECHO_N "(cached) $ECHO_C" >&6
13440 cat >conftest.
$ac_ext <<_ACEOF
13443 cat confdefs.h
>>conftest.
$ac_ext
13444 cat >>conftest.
$ac_ext <<_ACEOF
13445 /* end confdefs.h. */
13446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13448 #define $ac_func innocuous_$ac_func
13450 /* System header to define __stub macros and hopefully few prototypes,
13451 which can conflict with char $ac_func (); below.
13452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13453 <limits.h> exists even on freestanding compilers. */
13456 # include <limits.h>
13458 # include <assert.h>
13463 /* Override any GCC internal prototype to avoid an error.
13464 Use char because int might match the return type of a GCC
13465 builtin and then its argument prototype would still apply. */
13470 /* The GNU C library defines this for functions which it implements
13471 to always fail with ENOSYS. Some functions are actually named
13472 something starting with __ and the normal name is an alias. */
13473 #if defined __stub_$ac_func || defined __stub___$ac_func
13480 return $ac_func ();
13485 rm -f conftest.
$ac_objext conftest
$ac_exeext
13486 if { (ac_try
="$ac_link"
13487 case "(($ac_try" in
13488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13489 *) ac_try_echo=$ac_try;;
13491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13492 (eval "$ac_link") 2>conftest.er1
13494 grep -v '^ *+' conftest.er1 >conftest.err
13496 cat conftest.err >&5
13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498 (exit $ac_status); } &&
13499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13500 { (case "(($ac_try" in
13501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13502 *) ac_try_echo
=$ac_try;;
13504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13505 (eval "$ac_try") 2>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); }; } &&
13509 { ac_try
='test -s conftest$ac_exeext'
13510 { (case "(($ac_try" in
13511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13512 *) ac_try_echo=$ac_try;;
13514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13515 (eval "$ac_try") 2>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); }; }; then
13519 eval "$as_ac_var=yes"
13521 echo "$as_me: failed program was:" >&5
13522 sed 's/^/| /' conftest.$ac_ext >&5
13524 eval "$as_ac_var=no"
13527 rm -f core conftest.err conftest.$ac_objext \
13528 conftest$ac_exeext conftest.$ac_ext
13530 ac_res=`eval echo '${'$as_ac_var'}'`
13531 { echo "$as_me:$LINENO: result: $ac_res" >&5
13532 echo "${ECHO_T}$ac_res" >&6; }
13533 if test `eval echo '${'$as_ac_var'}'` = yes; then
13534 cat >>confdefs.h <<_ACEOF
13535 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13541 LIBS="$ac_wine_check_funcs_save_LIBS"
13543 # Extract the first word of "artsc-config", so it can be a program name with args.
13544 set dummy artsc-config; ac_word=$2
13545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13547 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13548 echo $ECHO_N "(cached) $ECHO_C" >&6
13550 case $ARTSCCONFIG in
13552 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13556 for as_dir in $PATH
13559 test -z "$as_dir" && as_dir=.
13560 for ac_exec_ext in '' $ac_executable_extensions; do
13561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13562 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13573 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13574 if test -n "$ARTSCCONFIG"; then
13575 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13576 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13578 { echo "$as_me:$LINENO: result: no" >&5
13579 echo "${ECHO_T}no" >&6; }
13583 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13586 for i in `$ARTSCCONFIG --cflags`
13589 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13593 for i in `$ARTSCCONFIG --libs`
13596 -L/usr/lib|-L/usr/lib64) ;;
13597 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13600 save_CFLAGS="$CFLAGS"
13601 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13602 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13603 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13604 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13605 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 ac_check_lib_save_LIBS=$LIBS
13608 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13609 cat >conftest.$ac_ext <<_ACEOF
13612 cat confdefs.h >>conftest.$ac_ext
13613 cat >>conftest.$ac_ext <<_ACEOF
13614 /* end confdefs.h. */
13616 /* Override any GCC internal prototype to avoid an error.
13617 Use char because int might match the return type of a GCC
13618 builtin and then its argument prototype would still apply. */
13626 return arts_init ();
13631 rm -f conftest.$ac_objext conftest$ac_exeext
13632 if { (ac_try="$ac_link"
13633 case "(($ac_try" in
13634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13635 *) ac_try_echo
=$ac_try;;
13637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13638 (eval "$ac_link") 2>conftest.er1
13640 grep -v '^ *+' conftest.er1
>conftest.err
13642 cat conftest.err
>&5
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); } &&
13645 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13646 { (case "(($ac_try" in
13647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13648 *) ac_try_echo=$ac_try;;
13650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13651 (eval "$ac_try") 2>&5
13653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654 (exit $ac_status); }; } &&
13655 { ac_try='test -s conftest$ac_exeext'
13656 { (case "(($ac_try" in
13657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13658 *) ac_try_echo
=$ac_try;;
13660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13661 (eval "$ac_try") 2>&5
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; }; then
13665 ac_cv_lib_artsc_arts_init
=yes
13667 echo "$as_me: failed program was:" >&5
13668 sed 's/^/| /' conftest.
$ac_ext >&5
13670 ac_cv_lib_artsc_arts_init
=no
13673 rm -f core conftest.err conftest.
$ac_objext \
13674 conftest
$ac_exeext conftest.
$ac_ext
13675 LIBS
=$ac_check_lib_save_LIBS
13677 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13678 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13679 if test $ac_cv_lib_artsc_arts_init = yes; then
13680 cat >conftest.
$ac_ext <<_ACEOF
13683 cat confdefs.h
>>conftest.
$ac_ext
13684 cat >>conftest.
$ac_ext <<_ACEOF
13685 /* end confdefs.h. */
13690 arts_stream_t stream;
13695 rm -f conftest.
$ac_objext
13696 if { (ac_try
="$ac_compile"
13697 case "(($ac_try" in
13698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13699 *) ac_try_echo=$ac_try;;
13701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13702 (eval "$ac_compile") 2>conftest.er1
13704 grep -v '^ *+' conftest.er1 >conftest.err
13706 cat conftest.err >&5
13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); } &&
13709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13710 { (case "(($ac_try" in
13711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13712 *) ac_try_echo
=$ac_try;;
13714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13715 (eval "$ac_try") 2>&5
13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); }; } &&
13719 { ac_try
='test -s conftest.$ac_objext'
13720 { (case "(($ac_try" in
13721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13722 *) ac_try_echo=$ac_try;;
13724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13725 (eval "$ac_try") 2>&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); }; }; then
13729 ARTSLIBS=$ARTSC_LIBS
13731 ARTSINCL=$ARTSC_CFLAGS
13734 cat >>confdefs.h <<\_ACEOF
13735 #define HAVE_ARTS 1
13739 echo "$as_me: failed program was:" >&5
13740 sed 's/^/| /' conftest.$ac_ext >&5
13745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13748 CFLAGS="$save_CFLAGS"
13751 # Extract the first word of "esd-config", so it can be a program name with args.
13752 set dummy esd-config; ac_word=$2
13753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13755 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13756 echo $ECHO_N "(cached) $ECHO_C" >&6
13760 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13764 for as_dir in $PATH
13767 test -z "$as_dir" && as_dir=.
13768 for ac_exec_ext in '' $ac_executable_extensions; do
13769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13770 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13781 ESDCONFIG=$ac_cv_path_ESDCONFIG
13782 if test -n "$ESDCONFIG"; then
13783 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13784 echo "${ECHO_T}$ESDCONFIG" >&6; }
13786 { echo "$as_me:$LINENO: result: no" >&5
13787 echo "${ECHO_T}no" >&6; }
13791 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13794 for i in `$ESDCONFIG --cflags`
13797 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13800 ESD_LIBS=`$ESDCONFIG --libs`
13801 save_CFLAGS="$CFLAGS"
13802 CFLAGS="$CFLAGS $ESD_CFLAGS"
13803 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13804 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13805 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13806 echo $ECHO_N "(cached) $ECHO_C" >&6
13808 ac_check_lib_save_LIBS=$LIBS
13810 cat >conftest.$ac_ext <<_ACEOF
13813 cat confdefs.h >>conftest.$ac_ext
13814 cat >>conftest.$ac_ext <<_ACEOF
13815 /* end confdefs.h. */
13817 /* Override any GCC internal prototype to avoid an error.
13818 Use char because int might match the return type of a GCC
13819 builtin and then its argument prototype would still apply. */
13823 char esd_open_sound ();
13827 return esd_open_sound ();
13832 rm -f conftest.$ac_objext conftest$ac_exeext
13833 if { (ac_try="$ac_link"
13834 case "(($ac_try" in
13835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13836 *) ac_try_echo
=$ac_try;;
13838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13839 (eval "$ac_link") 2>conftest.er1
13841 grep -v '^ *+' conftest.er1
>conftest.err
13843 cat conftest.err
>&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); } &&
13846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13847 { (case "(($ac_try" in
13848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13849 *) ac_try_echo=$ac_try;;
13851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13852 (eval "$ac_try") 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; } &&
13856 { ac_try='test -s conftest$ac_exeext'
13857 { (case "(($ac_try" in
13858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13859 *) ac_try_echo
=$ac_try;;
13861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13862 (eval "$ac_try") 2>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }; }; then
13866 ac_cv_lib_esd_esd_open_sound
=yes
13868 echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.
$ac_ext >&5
13871 ac_cv_lib_esd_esd_open_sound
=no
13874 rm -f core conftest.err conftest.
$ac_objext \
13875 conftest
$ac_exeext conftest.
$ac_ext
13876 LIBS
=$ac_check_lib_save_LIBS
13878 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13879 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13880 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13883 ESDINCL
=$ESD_CFLAGS
13886 cat >>confdefs.h
<<\_ACEOF
13892 CFLAGS
="$save_CFLAGS"
13897 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13899 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13900 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13901 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13902 echo $ECHO_N "(cached) $ECHO_C" >&6
13904 ac_check_lib_save_LIBS
=$LIBS
13905 LIBS
="-lasound $LIBS"
13906 cat >conftest.
$ac_ext <<_ACEOF
13909 cat confdefs.h
>>conftest.
$ac_ext
13910 cat >>conftest.
$ac_ext <<_ACEOF
13911 /* end confdefs.h. */
13913 /* Override any GCC internal prototype to avoid an error.
13914 Use char because int might match the return type of a GCC
13915 builtin and then its argument prototype would still apply. */
13919 char snd_pcm_hw_params_get_access ();
13923 return snd_pcm_hw_params_get_access ();
13928 rm -f conftest.
$ac_objext conftest
$ac_exeext
13929 if { (ac_try
="$ac_link"
13930 case "(($ac_try" in
13931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13932 *) ac_try_echo=$ac_try;;
13934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13935 (eval "$ac_link") 2>conftest.er1
13937 grep -v '^ *+' conftest.er1 >conftest.err
13939 cat conftest.err >&5
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); } &&
13942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13943 { (case "(($ac_try" in
13944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13945 *) ac_try_echo
=$ac_try;;
13947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13948 (eval "$ac_try") 2>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; } &&
13952 { ac_try
='test -s conftest$ac_exeext'
13953 { (case "(($ac_try" in
13954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13955 *) ac_try_echo=$ac_try;;
13957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13958 (eval "$ac_try") 2>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); }; }; then
13962 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13964 echo "$as_me: failed program was:" >&5
13965 sed 's/^/| /' conftest.$ac_ext >&5
13967 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13970 rm -f core conftest.err conftest.$ac_objext \
13971 conftest$ac_exeext conftest.$ac_ext
13972 LIBS=$ac_check_lib_save_LIBS
13974 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13975 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13976 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13977 cat >conftest.$ac_ext <<_ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 #ifdef HAVE_ALSA_ASOUNDLIB_H
13984 #include <alsa/asoundlib.h>
13985 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13986 #include <sys/asoundlib.h>
13991 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13996 rm -f conftest.$ac_objext
13997 if { (ac_try="$ac_compile"
13998 case "(($ac_try" in
13999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14000 *) ac_try_echo
=$ac_try;;
14002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14003 (eval "$ac_compile") 2>conftest.er1
14005 grep -v '^ *+' conftest.er1
>conftest.err
14007 cat conftest.err
>&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); } &&
14010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14011 { (case "(($ac_try" in
14012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14013 *) ac_try_echo=$ac_try;;
14015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14016 (eval "$ac_try") 2>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); }; } &&
14020 { ac_try='test -s conftest.$ac_objext'
14021 { (case "(($ac_try" in
14022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14023 *) ac_try_echo
=$ac_try;;
14025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14026 (eval "$ac_try") 2>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; }; then
14031 cat >>confdefs.h
<<\_ACEOF
14032 #define HAVE_ALSA 1
14035 ALSALIBS
="-lasound"
14037 echo "$as_me: failed program was:" >&5
14038 sed 's/^/| /' conftest.
$ac_ext >&5
14043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14051 if test "$ac_cv_header_libaudioio_h" = "yes"
14053 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14054 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14055 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 ac_check_lib_save_LIBS
=$LIBS
14059 LIBS
="-laudioio $LIBS"
14060 cat >conftest.
$ac_ext <<_ACEOF
14063 cat confdefs.h
>>conftest.
$ac_ext
14064 cat >>conftest.
$ac_ext <<_ACEOF
14065 /* end confdefs.h. */
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply. */
14073 char AudioIOGetVersion ();
14077 return AudioIOGetVersion ();
14082 rm -f conftest.
$ac_objext conftest
$ac_exeext
14083 if { (ac_try
="$ac_link"
14084 case "(($ac_try" in
14085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14086 *) ac_try_echo=$ac_try;;
14088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14089 (eval "$ac_link") 2>conftest.er1
14091 grep -v '^ *+' conftest.er1 >conftest.err
14093 cat conftest.err >&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14097 { (case "(($ac_try" in
14098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14099 *) ac_try_echo
=$ac_try;;
14101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14102 (eval "$ac_try") 2>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; } &&
14106 { ac_try
='test -s conftest$ac_exeext'
14107 { (case "(($ac_try" in
14108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14109 *) ac_try_echo=$ac_try;;
14111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14112 (eval "$ac_try") 2>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); }; }; then
14116 ac_cv_lib_audioio_AudioIOGetVersion=yes
14118 echo "$as_me: failed program was:" >&5
14119 sed 's/^/| /' conftest.$ac_ext >&5
14121 ac_cv_lib_audioio_AudioIOGetVersion=no
14124 rm -f core conftest.err conftest.$ac_objext \
14125 conftest$ac_exeext conftest.$ac_ext
14126 LIBS=$ac_check_lib_save_LIBS
14128 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14129 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14130 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14131 AUDIOIOLIBS="-laudioio"
14133 cat >>confdefs.h <<\_ACEOF
14134 #define HAVE_LIBAUDIOIO 1
14142 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14144 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14145 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14146 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 ac_check_lib_save_LIBS=$LIBS
14150 LIBS="-lcapi20 $LIBS"
14151 cat >conftest.$ac_ext <<_ACEOF
14154 cat confdefs.h >>conftest.$ac_ext
14155 cat >>conftest.$ac_ext <<_ACEOF
14156 /* end confdefs.h. */
14158 /* Override any GCC internal prototype to avoid an error.
14159 Use char because int might match the return type of a GCC
14160 builtin and then its argument prototype would still apply. */
14164 char capi20_register ();
14168 return capi20_register ();
14173 rm -f conftest.$ac_objext conftest$ac_exeext
14174 if { (ac_try="$ac_link"
14175 case "(($ac_try" in
14176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14177 *) ac_try_echo
=$ac_try;;
14179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14180 (eval "$ac_link") 2>conftest.er1
14182 grep -v '^ *+' conftest.er1
>conftest.err
14184 cat conftest.err
>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } &&
14187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14188 { (case "(($ac_try" in
14189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14190 *) ac_try_echo=$ac_try;;
14192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14193 (eval "$ac_try") 2>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); }; } &&
14197 { ac_try='test -s conftest$ac_exeext'
14198 { (case "(($ac_try" in
14199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14200 *) ac_try_echo
=$ac_try;;
14202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14203 (eval "$ac_try") 2>&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); }; }; then
14207 ac_cv_lib_capi20_capi20_register
=yes
14209 echo "$as_me: failed program was:" >&5
14210 sed 's/^/| /' conftest.
$ac_ext >&5
14212 ac_cv_lib_capi20_capi20_register
=no
14215 rm -f core conftest.err conftest.
$ac_objext \
14216 conftest
$ac_exeext conftest.
$ac_ext
14217 LIBS
=$ac_check_lib_save_LIBS
14219 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14220 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14221 if test $ac_cv_lib_capi20_capi20_register = yes; then
14223 cat >>confdefs.h
<<\_ACEOF
14224 #define HAVE_CAPI4LINUX 1
14234 if test "x${GCC}" = "xyes"
14236 EXTRACFLAGS
="-Wall -pipe"
14238 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14239 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14240 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14241 echo $ECHO_N "(cached) $ECHO_C" >&6
14243 if test "$cross_compiling" = yes; then
14244 ac_cv_c_gcc_strength_bug
="yes"
14246 cat >conftest.
$ac_ext <<_ACEOF
14249 cat confdefs.h
>>conftest.
$ac_ext
14250 cat >>conftest.
$ac_ext <<_ACEOF
14251 /* end confdefs.h. */
14253 int L[4] = {0,1,2,3};
14255 static int Array[3];
14256 unsigned int B = 3;
14258 for(i=0; i<B; i++) Array[i] = i - 3;
14259 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14262 exit( Array[1] != -2 || L[2] != 3);
14265 rm -f conftest
$ac_exeext
14266 if { (ac_try
="$ac_link"
14267 case "(($ac_try" in
14268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14269 *) ac_try_echo=$ac_try;;
14271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14272 (eval "$ac_link") 2>&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14276 { (case "(($ac_try" in
14277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14278 *) ac_try_echo
=$ac_try;;
14280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14281 (eval "$ac_try") 2>&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; }; then
14285 ac_cv_c_gcc_strength_bug
="no"
14287 echo "$as_me: program exited with status $ac_status" >&5
14288 echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.
$ac_ext >&5
14291 ( exit $ac_status )
14292 ac_cv_c_gcc_strength_bug
="yes"
14294 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14299 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14300 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14301 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14303 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14307 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14308 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14309 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14310 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 ac_wine_try_cflags_saved
=$CFLAGS
14313 CFLAGS
="$CFLAGS -fshort-wchar"
14314 cat >conftest.
$ac_ext <<_ACEOF
14317 cat confdefs.h
>>conftest.
$ac_ext
14318 cat >>conftest.
$ac_ext <<_ACEOF
14319 /* end confdefs.h. */
14329 rm -f conftest.
$ac_objext conftest
$ac_exeext
14330 if { (ac_try
="$ac_link"
14331 case "(($ac_try" in
14332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14333 *) ac_try_echo=$ac_try;;
14335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14336 (eval "$ac_link") 2>conftest.er1
14338 grep -v '^ *+' conftest.er1 >conftest.err
14340 cat conftest.err >&5
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); } &&
14343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14344 { (case "(($ac_try" in
14345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14346 *) ac_try_echo
=$ac_try;;
14348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14349 (eval "$ac_try") 2>&5
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; } &&
14353 { ac_try
='test -s conftest$ac_exeext'
14354 { (case "(($ac_try" in
14355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14356 *) ac_try_echo=$ac_try;;
14358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14359 (eval "$ac_try") 2>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; }; then
14363 ac_cv_cflags__fshort_wchar=yes
14365 echo "$as_me: failed program was:" >&5
14366 sed 's/^/| /' conftest.$ac_ext >&5
14368 ac_cv_cflags__fshort_wchar=no
14371 rm -f core conftest.err conftest.$ac_objext \
14372 conftest$ac_exeext conftest.$ac_ext
14373 CFLAGS=$ac_wine_try_cflags_saved
14375 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14376 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14377 if test $ac_cv_cflags__fshort_wchar = yes; then
14379 cat >>confdefs.h <<\_ACEOF
14380 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14385 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14386 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14387 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14388 echo $ECHO_N "(cached) $ECHO_C" >&6
14390 ac_wine_try_cflags_saved=$CFLAGS
14391 CFLAGS="$CFLAGS -fno-strict-aliasing"
14392 cat >conftest.$ac_ext <<_ACEOF
14395 cat confdefs.h >>conftest.$ac_ext
14396 cat >>conftest.$ac_ext <<_ACEOF
14397 /* end confdefs.h. */
14407 rm -f conftest.$ac_objext conftest$ac_exeext
14408 if { (ac_try="$ac_link"
14409 case "(($ac_try" in
14410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14411 *) ac_try_echo
=$ac_try;;
14413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14414 (eval "$ac_link") 2>conftest.er1
14416 grep -v '^ *+' conftest.er1
>conftest.err
14418 cat conftest.err
>&5
14419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420 (exit $ac_status); } &&
14421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14422 { (case "(($ac_try" in
14423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14424 *) ac_try_echo=$ac_try;;
14426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14427 (eval "$ac_try") 2>&5
14429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430 (exit $ac_status); }; } &&
14431 { ac_try='test -s conftest$ac_exeext'
14432 { (case "(($ac_try" in
14433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14434 *) ac_try_echo
=$ac_try;;
14436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14437 (eval "$ac_try") 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; }; then
14441 ac_cv_cflags__fno_strict_aliasing
=yes
14443 echo "$as_me: failed program was:" >&5
14444 sed 's/^/| /' conftest.
$ac_ext >&5
14446 ac_cv_cflags__fno_strict_aliasing
=no
14449 rm -f core conftest.err conftest.
$ac_objext \
14450 conftest
$ac_exeext conftest.
$ac_ext
14451 CFLAGS
=$ac_wine_try_cflags_saved
14453 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14454 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14455 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14456 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14459 { echo "$as_me:$LINENO: checking whether the compiler supports -gstabs+" >&5
14460 echo $ECHO_N "checking whether the compiler supports -gstabs+... $ECHO_C" >&6; }
14461 if test "${ac_cv_cflags__gstabsp+set}" = set; then
14462 echo $ECHO_N "(cached) $ECHO_C" >&6
14464 ac_wine_try_cflags_saved
=$CFLAGS
14465 CFLAGS
="$CFLAGS -gstabs+"
14466 cat >conftest.
$ac_ext <<_ACEOF
14469 cat confdefs.h
>>conftest.
$ac_ext
14470 cat >>conftest.
$ac_ext <<_ACEOF
14471 /* end confdefs.h. */
14481 rm -f conftest.
$ac_objext conftest
$ac_exeext
14482 if { (ac_try
="$ac_link"
14483 case "(($ac_try" in
14484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14485 *) ac_try_echo=$ac_try;;
14487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14488 (eval "$ac_link") 2>conftest.er1
14490 grep -v '^ *+' conftest.er1 >conftest.err
14492 cat conftest.err >&5
14493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); } &&
14495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14496 { (case "(($ac_try" in
14497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14498 *) ac_try_echo
=$ac_try;;
14500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14501 (eval "$ac_try") 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); }; } &&
14505 { ac_try
='test -s conftest$ac_exeext'
14506 { (case "(($ac_try" in
14507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14508 *) ac_try_echo=$ac_try;;
14510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14511 (eval "$ac_try") 2>&5
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; }; then
14515 ac_cv_cflags__gstabsp=yes
14517 echo "$as_me: failed program was:" >&5
14518 sed 's/^/| /' conftest.$ac_ext >&5
14520 ac_cv_cflags__gstabsp=no
14523 rm -f core conftest.err conftest.$ac_objext \
14524 conftest$ac_exeext conftest.$ac_ext
14525 CFLAGS=$ac_wine_try_cflags_saved
14527 { echo "$as_me:$LINENO: result: $ac_cv_cflags__gstabsp" >&5
14528 echo "${ECHO_T}$ac_cv_cflags__gstabsp" >&6; }
14529 if test $ac_cv_cflags__gstabsp = yes; then
14530 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14533 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14534 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14535 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6
14538 ac_wine_try_cflags_saved=$CFLAGS
14539 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14540 cat >conftest.$ac_ext <<_ACEOF
14543 cat confdefs.h >>conftest.$ac_ext
14544 cat >>conftest.$ac_ext <<_ACEOF
14545 /* end confdefs.h. */
14555 rm -f conftest.$ac_objext conftest$ac_exeext
14556 if { (ac_try="$ac_link"
14557 case "(($ac_try" in
14558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14559 *) ac_try_echo
=$ac_try;;
14561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14562 (eval "$ac_link") 2>conftest.er1
14564 grep -v '^ *+' conftest.er1
>conftest.err
14566 cat conftest.err
>&5
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); } &&
14569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14570 { (case "(($ac_try" in
14571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14572 *) ac_try_echo=$ac_try;;
14574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14575 (eval "$ac_try") 2>&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; } &&
14579 { ac_try='test -s conftest$ac_exeext'
14580 { (case "(($ac_try" in
14581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14582 *) ac_try_echo
=$ac_try;;
14584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14585 (eval "$ac_try") 2>&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; }; then
14589 ac_cv_cflags__Wdeclaration_after_statement
=yes
14591 echo "$as_me: failed program was:" >&5
14592 sed 's/^/| /' conftest.
$ac_ext >&5
14594 ac_cv_cflags__Wdeclaration_after_statement
=no
14597 rm -f core conftest.err conftest.
$ac_objext \
14598 conftest
$ac_exeext conftest.
$ac_ext
14599 CFLAGS
=$ac_wine_try_cflags_saved
14601 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14602 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14603 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14604 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14607 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14608 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14609 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14610 echo $ECHO_N "(cached) $ECHO_C" >&6
14612 ac_wine_try_cflags_saved
=$CFLAGS
14613 CFLAGS
="$CFLAGS -Wwrite-strings"
14614 cat >conftest.
$ac_ext <<_ACEOF
14617 cat confdefs.h
>>conftest.
$ac_ext
14618 cat >>conftest.
$ac_ext <<_ACEOF
14619 /* end confdefs.h. */
14629 rm -f conftest.
$ac_objext conftest
$ac_exeext
14630 if { (ac_try
="$ac_link"
14631 case "(($ac_try" in
14632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14633 *) ac_try_echo=$ac_try;;
14635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14636 (eval "$ac_link") 2>conftest.er1
14638 grep -v '^ *+' conftest.er1 >conftest.err
14640 cat conftest.err >&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); } &&
14643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14644 { (case "(($ac_try" in
14645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14646 *) ac_try_echo
=$ac_try;;
14648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14649 (eval "$ac_try") 2>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); }; } &&
14653 { ac_try
='test -s conftest$ac_exeext'
14654 { (case "(($ac_try" in
14655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14656 *) ac_try_echo=$ac_try;;
14658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14659 (eval "$ac_try") 2>&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14663 ac_cv_cflags__Wwrite_strings=yes
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14668 ac_cv_cflags__Wwrite_strings=no
14671 rm -f core conftest.err conftest.$ac_objext \
14672 conftest$ac_exeext conftest.$ac_ext
14673 CFLAGS=$ac_wine_try_cflags_saved
14675 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14676 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14677 if test $ac_cv_cflags__Wwrite_strings = yes; then
14678 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14682 saved_CFLAGS="$CFLAGS"
14683 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14684 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14685 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14686 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14687 echo $ECHO_N "(cached) $ECHO_C" >&6
14689 cat >conftest.$ac_ext <<_ACEOF
14692 cat confdefs.h >>conftest.$ac_ext
14693 cat >>conftest.$ac_ext <<_ACEOF
14694 /* end confdefs.h. */
14695 #include <string.h>
14704 rm -f conftest.$ac_objext
14705 if { (ac_try="$ac_compile"
14706 case "(($ac_try" in
14707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14708 *) ac_try_echo
=$ac_try;;
14710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14711 (eval "$ac_compile") 2>conftest.er1
14713 grep -v '^ *+' conftest.er1
>conftest.err
14715 cat conftest.err
>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); } &&
14718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14719 { (case "(($ac_try" in
14720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14721 *) ac_try_echo=$ac_try;;
14723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14724 (eval "$ac_try") 2>&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); }; } &&
14728 { ac_try='test -s conftest.$ac_objext'
14729 { (case "(($ac_try" in
14730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14731 *) ac_try_echo
=$ac_try;;
14733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14734 (eval "$ac_try") 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; }; then
14738 ac_cv_c_string_h_warnings
=no
14740 echo "$as_me: failed program was:" >&5
14741 sed 's/^/| /' conftest.
$ac_ext >&5
14743 ac_cv_c_string_h_warnings
=yes
14746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14748 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14749 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14750 CFLAGS
="$saved_CFLAGS"
14751 if test "$ac_cv_c_string_h_warnings" = "no"
14753 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14758 saved_CFLAGS
="$CFLAGS"
14759 CFLAGS
="$CFLAGS -Werror"
14760 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14761 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14762 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14763 echo $ECHO_N "(cached) $ECHO_C" >&6
14765 cat >conftest.
$ac_ext <<_ACEOF
14768 cat confdefs.h
>>conftest.
$ac_ext
14769 cat >>conftest.
$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14775 int iswlower(unsigned short);
14780 rm -f conftest.
$ac_objext
14781 if { (ac_try
="$ac_compile"
14782 case "(($ac_try" in
14783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14784 *) ac_try_echo=$ac_try;;
14786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14787 (eval "$ac_compile") 2>conftest.er1
14789 grep -v '^ *+' conftest.er1 >conftest.err
14791 cat conftest.err >&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); } &&
14794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14795 { (case "(($ac_try" in
14796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14797 *) ac_try_echo
=$ac_try;;
14799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14800 (eval "$ac_try") 2>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); }; } &&
14804 { ac_try
='test -s conftest.$ac_objext'
14805 { (case "(($ac_try" in
14806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14807 *) ac_try_echo=$ac_try;;
14809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14810 (eval "$ac_try") 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; }; then
14814 ac_cv_c_builtin_wchar_ctype=no
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14819 ac_cv_c_builtin_wchar_ctype=yes
14822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14824 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14825 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14826 CFLAGS="$saved_CFLAGS"
14827 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14829 BUILTINFLAG="-fno-builtin"
14834 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14835 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14836 if test "${ac_cv_asm_func_def+set}" = set; then
14837 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 cat >conftest.$ac_ext <<_ACEOF
14842 cat confdefs.h >>conftest.$ac_ext
14843 cat >>conftest.$ac_ext <<_ACEOF
14844 /* end confdefs.h. */
14845 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
14855 rm -f conftest.$ac_objext conftest$ac_exeext
14856 if { (ac_try="$ac_link"
14857 case "(($ac_try" in
14858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14859 *) ac_try_echo
=$ac_try;;
14861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14862 (eval "$ac_link") 2>conftest.er1
14864 grep -v '^ *+' conftest.er1
>conftest.err
14866 cat conftest.err
>&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); } &&
14869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14870 { (case "(($ac_try" in
14871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14872 *) ac_try_echo=$ac_try;;
14874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14875 (eval "$ac_try") 2>&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; } &&
14879 { ac_try='test -s conftest$ac_exeext'
14880 { (case "(($ac_try" in
14881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14882 *) ac_try_echo
=$ac_try;;
14884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14885 (eval "$ac_try") 2>&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); }; }; then
14889 ac_cv_asm_func_def
=".def"
14891 echo "$as_me: failed program was:" >&5
14892 sed 's/^/| /' conftest.
$ac_ext >&5
14894 cat >conftest.
$ac_ext <<_ACEOF
14897 cat confdefs.h
>>conftest.
$ac_ext
14898 cat >>conftest.
$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14900 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14910 rm -f conftest.
$ac_objext conftest
$ac_exeext
14911 if { (ac_try
="$ac_link"
14912 case "(($ac_try" in
14913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14914 *) ac_try_echo=$ac_try;;
14916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14917 (eval "$ac_link") 2>conftest.er1
14919 grep -v '^ *+' conftest.er1 >conftest.err
14921 cat conftest.err >&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); } &&
14924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14925 { (case "(($ac_try" in
14926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14927 *) ac_try_echo
=$ac_try;;
14929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14930 (eval "$ac_try") 2>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; } &&
14934 { ac_try
='test -s conftest$ac_exeext'
14935 { (case "(($ac_try" in
14936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14937 *) ac_try_echo=$ac_try;;
14939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14940 (eval "$ac_try") 2>&5
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); }; }; then
14944 ac_cv_asm_func_def=".type @function"
14946 echo "$as_me: failed program was:" >&5
14947 sed 's/^/| /' conftest.$ac_ext >&5
14949 cat >conftest.$ac_ext <<_ACEOF
14952 cat confdefs.h >>conftest.$ac_ext
14953 cat >>conftest.$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14955 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14965 rm -f conftest.$ac_objext conftest$ac_exeext
14966 if { (ac_try="$ac_link"
14967 case "(($ac_try" in
14968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14969 *) ac_try_echo
=$ac_try;;
14971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14972 (eval "$ac_link") 2>conftest.er1
14974 grep -v '^ *+' conftest.er1
>conftest.err
14976 cat conftest.err
>&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); } &&
14979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14980 { (case "(($ac_try" in
14981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14982 *) ac_try_echo=$ac_try;;
14984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14985 (eval "$ac_try") 2>&5
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); }; } &&
14989 { ac_try='test -s conftest$ac_exeext'
14990 { (case "(($ac_try" in
14991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14992 *) ac_try_echo
=$ac_try;;
14994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14995 (eval "$ac_try") 2>&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); }; }; then
14999 ac_cv_asm_func_def
=".type 2"
15001 echo "$as_me: failed program was:" >&5
15002 sed 's/^/| /' conftest.
$ac_ext >&5
15004 ac_cv_asm_func_def
="unknown"
15007 rm -f core conftest.err conftest.
$ac_objext \
15008 conftest
$ac_exeext conftest.
$ac_ext
15011 rm -f core conftest.err conftest.
$ac_objext \
15012 conftest
$ac_exeext conftest.
$ac_ext
15015 rm -f core conftest.err conftest.
$ac_objext \
15016 conftest
$ac_exeext conftest.
$ac_ext
15018 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15019 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15023 case "$ac_cv_asm_func_def" in
15025 cat >>confdefs.h
<<\_ACEOF
15026 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15030 cat >>confdefs.h
<<\_ACEOF
15031 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15035 cat >>confdefs.h
<<\_ACEOF
15036 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15040 cat >>confdefs.h
<<\_ACEOF
15041 #define __ASM_FUNC(name) ""
15047 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15048 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15049 if test "${ac_cv_c_extern_prefix+set}" = set; then
15050 echo $ECHO_N "(cached) $ECHO_C" >&6
15052 cat >conftest.
$ac_ext <<_ACEOF
15055 cat confdefs.h
>>conftest.
$ac_ext
15056 cat >>conftest.
$ac_ext <<_ACEOF
15057 /* end confdefs.h. */
15058 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15059 extern int ac_test;
15063 if (ac_test) return 1
15068 rm -f conftest.
$ac_objext conftest
$ac_exeext
15069 if { (ac_try
="$ac_link"
15070 case "(($ac_try" in
15071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15072 *) ac_try_echo=$ac_try;;
15074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15075 (eval "$ac_link") 2>conftest.er1
15077 grep -v '^ *+' conftest.er1 >conftest.err
15079 cat conftest.err >&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } &&
15082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15083 { (case "(($ac_try" in
15084 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15085 *) ac_try_echo
=$ac_try;;
15087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15088 (eval "$ac_try") 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; } &&
15092 { ac_try
='test -s conftest$ac_exeext'
15093 { (case "(($ac_try" in
15094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15095 *) ac_try_echo=$ac_try;;
15097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15098 (eval "$ac_try") 2>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; }; then
15102 ac_cv_c_extern_prefix="yes"
15104 echo "$as_me: failed program was:" >&5
15105 sed 's/^/| /' conftest.$ac_ext >&5
15107 ac_cv_c_extern_prefix="no"
15110 rm -f core conftest.err conftest.$ac_objext \
15111 conftest$ac_exeext conftest.$ac_ext
15113 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15114 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15118 if test "$ac_cv_c_extern_prefix" = "yes"
15120 cat >>confdefs.h <<\_ACEOF
15121 #define __ASM_NAME(name) "_" name
15125 cat >>confdefs.h <<\_ACEOF
15126 #define __ASM_NAME(name) name
15134 DLLFLAGS="-D_REENTRANT"
15149 if test -n "$ac_tool_prefix"; then
15150 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15151 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15154 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15155 echo $ECHO_N "(cached) $ECHO_C" >&6
15157 if test -n "$DLLTOOL"; then
15158 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15161 for as_dir in $PATH
15164 test -z "$as_dir" && as_dir=.
15165 for ac_exec_ext in '' $ac_executable_extensions; do
15166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15167 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15177 DLLTOOL=$ac_cv_prog_DLLTOOL
15178 if test -n "$DLLTOOL"; then
15179 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15180 echo "${ECHO_T}$DLLTOOL" >&6; }
15182 { echo "$as_me:$LINENO: result: no" >&5
15183 echo "${ECHO_T}no" >&6; }
15188 if test -z "$ac_cv_prog_DLLTOOL"; then
15189 ac_ct_DLLTOOL=$DLLTOOL
15190 # Extract the first word of "dlltool", so it can be a program name with args.
15191 set dummy dlltool; ac_word=$2
15192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15194 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 if test -n "$ac_ct_DLLTOOL"; then
15198 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15201 for as_dir in $PATH
15204 test -z "$as_dir" && as_dir=.
15205 for ac_exec_ext in '' $ac_executable_extensions; do
15206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15207 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15217 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15218 if test -n "$ac_ct_DLLTOOL"; then
15219 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15220 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15222 { echo "$as_me:$LINENO: result: no" >&5
15223 echo "${ECHO_T}no" >&6; }
15226 if test "x$ac_ct_DLLTOOL" = x; then
15229 case $cross_compiling:$ac_tool_warned in
15231 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15232 whose name does not start with the host triplet. If you think this
15233 configuration is useful to you, please write to autoconf@gnu.org." >&5
15234 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15235 whose name does not start with the host triplet. If you think this
15236 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15237 ac_tool_warned=yes ;;
15239 DLLTOOL=$ac_ct_DLLTOOL
15242 DLLTOOL="$ac_cv_prog_DLLTOOL"
15245 if test -n "$ac_tool_prefix"; then
15246 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15247 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15250 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15253 if test -n "$DLLWRAP"; then
15254 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15257 for as_dir in $PATH
15260 test -z "$as_dir" && as_dir=.
15261 for ac_exec_ext in '' $ac_executable_extensions; do
15262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15263 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15273 DLLWRAP=$ac_cv_prog_DLLWRAP
15274 if test -n "$DLLWRAP"; then
15275 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15276 echo "${ECHO_T}$DLLWRAP" >&6; }
15278 { echo "$as_me:$LINENO: result: no" >&5
15279 echo "${ECHO_T}no" >&6; }
15284 if test -z "$ac_cv_prog_DLLWRAP"; then
15285 ac_ct_DLLWRAP=$DLLWRAP
15286 # Extract the first word of "dllwrap", so it can be a program name with args.
15287 set dummy dllwrap; ac_word=$2
15288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15290 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15291 echo $ECHO_N "(cached) $ECHO_C" >&6
15293 if test -n "$ac_ct_DLLWRAP"; then
15294 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15297 for as_dir in $PATH
15300 test -z "$as_dir" && as_dir=.
15301 for ac_exec_ext in '' $ac_executable_extensions; do
15302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15303 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15313 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15314 if test -n "$ac_ct_DLLWRAP"; then
15315 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15316 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15318 { echo "$as_me:$LINENO: result: no" >&5
15319 echo "${ECHO_T}no" >&6; }
15322 if test "x$ac_ct_DLLWRAP" = x; then
15325 case $cross_compiling:$ac_tool_warned in
15327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15328 whose name does not start with the host triplet. If you think this
15329 configuration is useful to you, please write to autoconf@gnu.org." >&5
15330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15331 whose name does not start with the host triplet. If you think this
15332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15333 ac_tool_warned=yes ;;
15335 DLLWRAP=$ac_ct_DLLWRAP
15338 DLLWRAP="$ac_cv_prog_DLLWRAP"
15341 if test "$DLLWRAP" = "false"; then
15353 DLLFLAGS="$DLLFLAGS -fPIC"
15354 LDDLLFLAGS="-bundle -multiply_defined suppress"
15355 LIBWINE_LDFLAGS="-multiply_defined suppress"
15356 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/\$(DYNAME)"
15357 STRIP="$STRIP -u -r"
15358 COREFOUNDATIONLIB="-framework CoreFoundation"
15360 IOKITLIB="-framework IOKit -framework CoreFoundation"
15362 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15364 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15366 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15371 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15375 DLLFLAGS="$DLLFLAGS -fPIC"
15377 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15378 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15379 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15380 echo $ECHO_N "(cached) $ECHO_C" >&6
15382 ac_wine_try_cflags_saved=$CFLAGS
15383 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15384 cat >conftest.$ac_ext <<_ACEOF
15387 rm -f conftest.$ac_objext conftest$ac_exeext
15388 if { (ac_try="$ac_link"
15389 case "(($ac_try" in
15390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15391 *) ac_try_echo
=$ac_try;;
15393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15394 (eval "$ac_link") 2>conftest.er1
15396 grep -v '^ *+' conftest.er1
>conftest.err
15398 cat conftest.err
>&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } &&
15401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15402 { (case "(($ac_try" in
15403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15404 *) ac_try_echo=$ac_try;;
15406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15407 (eval "$ac_try") 2>&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); }; } &&
15411 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
15419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420 (exit $ac_status); }; }; then
15421 ac_cv_c_dll_gnuelf
="yes"
15423 echo "$as_me: failed program was:" >&5
15424 sed 's/^/| /' conftest.
$ac_ext >&5
15426 ac_cv_c_dll_gnuelf
="no"
15429 rm -f core conftest.err conftest.
$ac_objext \
15430 conftest
$ac_exeext conftest.
$ac_ext
15431 CFLAGS
=$ac_wine_try_cflags_saved
15433 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15434 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15435 if test "$ac_cv_c_dll_gnuelf" = "yes"
15437 LDSHARED
="\$(CC) -shared"
15438 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
15439 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15440 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15441 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15442 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 ac_wine_try_cflags_saved
=$CFLAGS
15445 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15446 cat >conftest.
$ac_ext <<_ACEOF
15449 cat confdefs.h
>>conftest.
$ac_ext
15450 cat >>conftest.
$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15461 rm -f conftest.
$ac_objext conftest
$ac_exeext
15462 if { (ac_try
="$ac_link"
15463 case "(($ac_try" in
15464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15465 *) ac_try_echo=$ac_try;;
15467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15468 (eval "$ac_link") 2>conftest.er1
15470 grep -v '^ *+' conftest.er1 >conftest.err
15472 cat conftest.err >&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); } &&
15475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15476 { (case "(($ac_try" in
15477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15478 *) ac_try_echo
=$ac_try;;
15480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15481 (eval "$ac_try") 2>&5
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; } &&
15485 { ac_try
='test -s conftest$ac_exeext'
15486 { (case "(($ac_try" in
15487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15488 *) ac_try_echo=$ac_try;;
15490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15491 (eval "$ac_try") 2>&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); }; }; then
15495 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15500 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15503 rm -f core conftest.err conftest.$ac_objext \
15504 conftest$ac_exeext conftest.$ac_ext
15505 CFLAGS=$ac_wine_try_cflags_saved
15507 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15508 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15509 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15510 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15512 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15513 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15514 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15515 echo $ECHO_N "(cached) $ECHO_C" >&6
15517 ac_wine_try_cflags_saved=$CFLAGS
15518 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15519 cat >conftest.$ac_ext <<_ACEOF
15522 cat confdefs.h >>conftest.$ac_ext
15523 cat >>conftest.$ac_ext <<_ACEOF
15524 /* end confdefs.h. */
15534 rm -f conftest.$ac_objext conftest$ac_exeext
15535 if { (ac_try="$ac_link"
15536 case "(($ac_try" in
15537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15538 *) ac_try_echo
=$ac_try;;
15540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15541 (eval "$ac_link") 2>conftest.er1
15543 grep -v '^ *+' conftest.er1
>conftest.err
15545 cat conftest.err
>&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15549 { (case "(($ac_try" in
15550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15551 *) ac_try_echo=$ac_try;;
15553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15554 (eval "$ac_try") 2>&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); }; } &&
15558 { ac_try='test -s conftest$ac_exeext'
15559 { (case "(($ac_try" in
15560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15561 *) ac_try_echo
=$ac_try;;
15563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15564 (eval "$ac_try") 2>&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); }; }; then
15568 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.
$ac_ext >&5
15573 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
15576 rm -f core conftest.err conftest.
$ac_objext \
15577 conftest
$ac_exeext conftest.
$ac_ext
15578 CFLAGS
=$ac_wine_try_cflags_saved
15580 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15581 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15582 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15583 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15589 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15590 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15591 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15592 echo $ECHO_N "(cached) $ECHO_C" >&6
15594 ac_wine_try_cflags_saved
=$CFLAGS
15595 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15596 cat >conftest.
$ac_ext <<_ACEOF
15599 cat confdefs.h
>>conftest.
$ac_ext
15600 cat >>conftest.
$ac_ext <<_ACEOF
15601 /* end confdefs.h. */
15611 rm -f conftest.
$ac_objext conftest
$ac_exeext
15612 if { (ac_try
="$ac_link"
15613 case "(($ac_try" in
15614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15615 *) ac_try_echo=$ac_try;;
15617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15618 (eval "$ac_link") 2>conftest.er1
15620 grep -v '^ *+' conftest.er1 >conftest.err
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15626 { (case "(($ac_try" in
15627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15628 *) ac_try_echo
=$ac_try;;
15630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15631 (eval "$ac_try") 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; } &&
15635 { ac_try
='test -s conftest$ac_exeext'
15636 { (case "(($ac_try" in
15637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_try") 2>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; }; then
15645 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15647 echo "$as_me: failed program was:" >&5
15648 sed 's/^/| /' conftest.$ac_ext >&5
15650 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15653 rm -f core conftest.err conftest.$ac_objext \
15654 conftest$ac_exeext conftest.$ac_ext
15655 CFLAGS=$ac_wine_try_cflags_saved
15657 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15658 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15659 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15660 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15664 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15665 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15666 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15667 echo $ECHO_N "(cached) $ECHO_C" >&6
15669 ac_wine_try_cflags_saved=$CFLAGS
15670 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15671 cat >conftest.$ac_ext <<_ACEOF
15674 cat confdefs.h >>conftest.$ac_ext
15675 cat >>conftest.$ac_ext <<_ACEOF
15676 /* end confdefs.h. */
15686 rm -f conftest.$ac_objext conftest$ac_exeext
15687 if { (ac_try="$ac_link"
15688 case "(($ac_try" in
15689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15690 *) ac_try_echo
=$ac_try;;
15692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15693 (eval "$ac_link") 2>conftest.er1
15695 grep -v '^ *+' conftest.er1
>conftest.err
15697 cat conftest.err
>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); } &&
15700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15701 { (case "(($ac_try" in
15702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15703 *) ac_try_echo=$ac_try;;
15705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15706 (eval "$ac_try") 2>&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; } &&
15710 { ac_try='test -s conftest$ac_exeext'
15711 { (case "(($ac_try" in
15712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15713 *) ac_try_echo
=$ac_try;;
15715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15716 (eval "$ac_try") 2>&5
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15720 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.
$ac_ext >&5
15725 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
15728 rm -f core conftest.err conftest.
$ac_objext \
15729 conftest
$ac_exeext conftest.
$ac_ext
15730 CFLAGS
=$ac_wine_try_cflags_saved
15732 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15733 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15734 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15735 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15739 echo '{ global: *; };' >conftest.map
15740 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15741 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15742 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15743 echo $ECHO_N "(cached) $ECHO_C" >&6
15745 ac_wine_try_cflags_saved
=$CFLAGS
15746 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15747 cat >conftest.
$ac_ext <<_ACEOF
15750 cat confdefs.h
>>conftest.
$ac_ext
15751 cat >>conftest.
$ac_ext <<_ACEOF
15752 /* end confdefs.h. */
15762 rm -f conftest.
$ac_objext conftest
$ac_exeext
15763 if { (ac_try
="$ac_link"
15764 case "(($ac_try" in
15765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15766 *) ac_try_echo=$ac_try;;
15768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15769 (eval "$ac_link") 2>conftest.er1
15771 grep -v '^ *+' conftest.er1 >conftest.err
15773 cat conftest.err >&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } &&
15776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15777 { (case "(($ac_try" in
15778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15779 *) ac_try_echo
=$ac_try;;
15781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15782 (eval "$ac_try") 2>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try
='test -s conftest$ac_exeext'
15787 { (case "(($ac_try" in
15788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15789 *) ac_try_echo=$ac_try;;
15791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15792 (eval "$ac_try") 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; }; then
15796 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.$ac_ext >&5
15801 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15804 rm -f core conftest.err conftest.$ac_objext \
15805 conftest$ac_exeext conftest.$ac_ext
15806 CFLAGS=$ac_wine_try_cflags_saved
15808 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15809 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15810 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15811 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15816 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15817 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15818 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15819 echo $ECHO_N "(cached) $ECHO_C" >&6
15821 ac_wine_try_cflags_saved=$CFLAGS
15822 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15823 cat >conftest.$ac_ext <<_ACEOF
15826 cat confdefs.h >>conftest.$ac_ext
15827 cat >>conftest.$ac_ext <<_ACEOF
15828 /* end confdefs.h. */
15838 rm -f conftest.$ac_objext conftest$ac_exeext
15839 if { (ac_try="$ac_link"
15840 case "(($ac_try" in
15841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15842 *) ac_try_echo
=$ac_try;;
15844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15845 (eval "$ac_link") 2>conftest.er1
15847 grep -v '^ *+' conftest.er1
>conftest.err
15849 cat conftest.err
>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); } &&
15852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15853 { (case "(($ac_try" in
15854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15855 *) ac_try_echo=$ac_try;;
15857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15858 (eval "$ac_try") 2>&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); }; } &&
15862 { ac_try='test -s conftest$ac_exeext'
15863 { (case "(($ac_try" in
15864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15865 *) ac_try_echo
=$ac_try;;
15867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15868 (eval "$ac_try") 2>&5
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); }; }; then
15872 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
15874 echo "$as_me: failed program was:" >&5
15875 sed 's/^/| /' conftest.
$ac_ext >&5
15877 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
15880 rm -f core conftest.err conftest.
$ac_objext \
15881 conftest
$ac_exeext conftest.
$ac_ext
15882 CFLAGS
=$ac_wine_try_cflags_saved
15884 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15885 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15886 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15887 LDEXECFLAGS
="-Wl,--export-dynamic"
15892 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15893 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15894 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15895 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15896 echo $ECHO_N "(cached) $ECHO_C" >&6
15898 ac_wine_try_cflags_saved
=$CFLAGS
15899 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15900 cat >conftest.
$ac_ext <<_ACEOF
15903 cat confdefs.h
>>conftest.
$ac_ext
15904 cat >>conftest.
$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15915 rm -f conftest.
$ac_objext conftest
$ac_exeext
15916 if { (ac_try
="$ac_link"
15917 case "(($ac_try" in
15918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15919 *) ac_try_echo=$ac_try;;
15921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15922 (eval "$ac_link") 2>conftest.er1
15924 grep -v '^ *+' conftest.er1 >conftest.err
15926 cat conftest.err >&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); } &&
15929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15930 { (case "(($ac_try" in
15931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15932 *) ac_try_echo
=$ac_try;;
15934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15935 (eval "$ac_try") 2>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; } &&
15939 { ac_try
='test -s conftest$ac_exeext'
15940 { (case "(($ac_try" in
15941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15942 *) ac_try_echo=$ac_try;;
15944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15945 (eval "$ac_try") 2>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; }; then
15949 eval "$as_ac_var=yes"
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.$ac_ext >&5
15954 eval "$as_ac_var=no"
15957 rm -f core conftest.err conftest.$ac_objext \
15958 conftest$ac_exeext conftest.$ac_ext
15959 CFLAGS=$ac_wine_try_cflags_saved
15961 ac_res=`eval echo '${'$as_ac_var'}'`
15962 { echo "$as_me:$LINENO: result: $ac_res" >&5
15963 echo "${ECHO_T}$ac_res" >&6; }
15964 if test `eval echo '${'$as_ac_var'}'` = yes; then
15965 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
15970 *i[3456789]86* | x86_64)
15971 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15972 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15973 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15974 echo $ECHO_N "(cached) $ECHO_C" >&6
15976 ac_wine_try_cflags_saved=$CFLAGS
15977 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15978 cat >conftest.$ac_ext <<_ACEOF
15981 cat confdefs.h >>conftest.$ac_ext
15982 cat >>conftest.$ac_ext <<_ACEOF
15983 /* end confdefs.h. */
15993 rm -f conftest.$ac_objext conftest$ac_exeext
15994 if { (ac_try="$ac_link"
15995 case "(($ac_try" in
15996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15997 *) ac_try_echo
=$ac_try;;
15999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16000 (eval "$ac_link") 2>conftest.er1
16002 grep -v '^ *+' conftest.er1
>conftest.err
16004 cat conftest.err
>&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } &&
16007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; } &&
16017 { ac_try='test -s conftest$ac_exeext'
16018 { (case "(($ac_try" in
16019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16020 *) ac_try_echo
=$ac_try;;
16022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16023 (eval "$ac_try") 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; }; then
16027 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
16029 echo "$as_me: failed program was:" >&5
16030 sed 's/^/| /' conftest.
$ac_ext >&5
16032 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
16035 rm -f core conftest.err conftest.
$ac_objext \
16036 conftest
$ac_exeext conftest.
$ac_ext
16037 CFLAGS
=$ac_wine_try_cflags_saved
16039 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
16040 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
16041 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
16042 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16049 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16050 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16051 if test "${ac_cv_c_dll_unixware+set}" = set; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16054 ac_wine_try_cflags_saved
=$CFLAGS
16055 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16056 cat >conftest.
$ac_ext <<_ACEOF
16059 rm -f conftest.
$ac_objext conftest
$ac_exeext
16060 if { (ac_try
="$ac_link"
16061 case "(($ac_try" in
16062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16063 *) ac_try_echo=$ac_try;;
16065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16066 (eval "$ac_link") 2>conftest.er1
16068 grep -v '^ *+' conftest.er1 >conftest.err
16070 cat conftest.err >&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); } &&
16073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16074 { (case "(($ac_try" in
16075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16076 *) ac_try_echo
=$ac_try;;
16078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16079 (eval "$ac_try") 2>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; } &&
16083 { ac_try
='test -s conftest$ac_exeext'
16084 { (case "(($ac_try" in
16085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16086 *) ac_try_echo=$ac_try;;
16088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16089 (eval "$ac_try") 2>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); }; }; then
16093 ac_cv_c_dll_unixware="yes"
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16098 ac_cv_c_dll_unixware="no"
16101 rm -f core conftest.err conftest.$ac_objext \
16102 conftest$ac_exeext conftest.$ac_ext
16103 CFLAGS=$ac_wine_try_cflags_saved
16105 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16106 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16107 if test "$ac_cv_c_dll_unixware" = "yes"
16109 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16110 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16113 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16114 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16115 if test "${ac_cv_c_dll_hpux+set}" = set; then
16116 echo $ECHO_N "(cached) $ECHO_C" >&6
16118 ac_wine_try_cflags_saved=$CFLAGS
16119 CFLAGS="$CFLAGS -shared"
16120 cat >conftest.$ac_ext <<_ACEOF
16123 rm -f conftest.$ac_objext conftest$ac_exeext
16124 if { (ac_try="$ac_link"
16125 case "(($ac_try" in
16126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16127 *) ac_try_echo
=$ac_try;;
16129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16130 (eval "$ac_link") 2>conftest.er1
16132 grep -v '^ *+' conftest.er1
>conftest.err
16134 cat conftest.err
>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } &&
16137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16138 { (case "(($ac_try" in
16139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16140 *) ac_try_echo=$ac_try;;
16142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16143 (eval "$ac_try") 2>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; } &&
16147 { ac_try='test -s conftest$ac_exeext'
16148 { (case "(($ac_try" in
16149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16150 *) ac_try_echo
=$ac_try;;
16152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16153 (eval "$ac_try") 2>&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); }; }; then
16157 ac_cv_c_dll_hpux
="yes"
16159 echo "$as_me: failed program was:" >&5
16160 sed 's/^/| /' conftest.
$ac_ext >&5
16162 ac_cv_c_dll_hpux
="no"
16165 rm -f core conftest.err conftest.
$ac_objext \
16166 conftest
$ac_exeext conftest.
$ac_ext
16167 CFLAGS
=$ac_wine_try_cflags_saved
16169 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16170 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16171 if test "$ac_cv_c_dll_hpux" = "yes"
16175 LDDLLFLAGS
="-shared -fPIC"
16176 LDSHARED
="\$(CC) -shared"
16183 if test "$cross_compiling" = "no"
16185 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
16187 # Extract the first word of "$ac_prog", so it can be a program name with args.
16188 set dummy
$ac_prog; ac_word
=$2
16189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16191 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16192 echo $ECHO_N "(cached) $ECHO_C" >&6
16194 if test -n "$CROSSCC"; then
16195 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
16197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16198 for as_dir
in $PATH
16201 test -z "$as_dir" && as_dir
=.
16202 for ac_exec_ext
in '' $ac_executable_extensions; do
16203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16204 ac_cv_prog_CROSSCC
="$ac_prog"
16205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16214 CROSSCC
=$ac_cv_prog_CROSSCC
16215 if test -n "$CROSSCC"; then
16216 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16217 echo "${ECHO_T}$CROSSCC" >&6; }
16219 { echo "$as_me:$LINENO: result: no" >&5
16220 echo "${ECHO_T}no" >&6; }
16224 test -n "$CROSSCC" && break
16226 test -n "$CROSSCC" || CROSSCC
="false"
16228 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
16230 # Extract the first word of "$ac_prog", so it can be a program name with args.
16231 set dummy
$ac_prog; ac_word
=$2
16232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16234 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16235 echo $ECHO_N "(cached) $ECHO_C" >&6
16237 if test -n "$DLLTOOL"; then
16238 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16241 for as_dir
in $PATH
16244 test -z "$as_dir" && as_dir
=.
16245 for ac_exec_ext
in '' $ac_executable_extensions; do
16246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16247 ac_cv_prog_DLLTOOL
="$ac_prog"
16248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16257 DLLTOOL
=$ac_cv_prog_DLLTOOL
16258 if test -n "$DLLTOOL"; then
16259 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16260 echo "${ECHO_T}$DLLTOOL" >&6; }
16262 { echo "$as_me:$LINENO: result: no" >&5
16263 echo "${ECHO_T}no" >&6; }
16267 test -n "$DLLTOOL" && break
16269 test -n "$DLLTOOL" || DLLTOOL
="false"
16271 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
16273 # Extract the first word of "$ac_prog", so it can be a program name with args.
16274 set dummy
$ac_prog; ac_word
=$2
16275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16277 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16278 echo $ECHO_N "(cached) $ECHO_C" >&6
16280 if test -n "$CROSSWINDRES"; then
16281 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
16283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16284 for as_dir
in $PATH
16287 test -z "$as_dir" && as_dir
=.
16288 for ac_exec_ext
in '' $ac_executable_extensions; do
16289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16290 ac_cv_prog_CROSSWINDRES
="$ac_prog"
16291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16300 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
16301 if test -n "$CROSSWINDRES"; then
16302 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16303 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16305 { echo "$as_me:$LINENO: result: no" >&5
16306 echo "${ECHO_T}no" >&6; }
16310 test -n "$CROSSWINDRES" && break
16312 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
16314 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
16319 if test "$LIBEXT" = "a"; then
16320 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16321 It is currently not possible to build Wine without shared library
16322 (.so) support to allow transparent switch between .so and .dll files.
16323 If you are using Linux, you will need a newer binutils.
16325 echo "$as_me: error: could not find a way to build shared libraries.
16326 It is currently not possible to build Wine without shared library
16327 (.so) support to allow transparent switch between .so and .dll files.
16328 If you are using Linux, you will need a newer binutils.
16330 { (exit 1); exit 1; }; }
16335 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16338 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16341 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16349 SOCKETLIBS
="-lws2_32"
16354 MAIN_BINARY
="wine-pthread"
16358 linux
* | k
*bsd
*-gnu)
16359 MAIN_BINARY
="wine-glibc"
16361 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
16368 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16370 # Extract the first word of "ldd", so it can be a program name with args.
16371 set dummy ldd
; ac_word
=$2
16372 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16374 if test "${ac_cv_path_LDD+set}" = set; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16379 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
16382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16383 as_dummy
="/sbin:/usr/sbin:$PATH"
16384 for as_dir
in $as_dummy
16387 test -z "$as_dir" && as_dir
=.
16388 for ac_exec_ext
in '' $ac_executable_extensions; do
16389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16390 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
16391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16398 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
16402 LDD
=$ac_cv_path_LDD
16403 if test -n "$LDD"; then
16404 { echo "$as_me:$LINENO: result: $LDD" >&5
16405 echo "${ECHO_T}$LDD" >&6; }
16407 { echo "$as_me:$LINENO: result: no" >&5
16408 echo "${ECHO_T}no" >&6; }
16412 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16413 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16414 if test "${ac_cv_lib_soname_X11+set}" = set; then
16415 echo $ECHO_N "(cached) $ECHO_C" >&6
16417 ac_get_soname_save_LIBS
=$LIBS
16418 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16419 cat >conftest.
$ac_ext <<_ACEOF
16422 cat confdefs.h
>>conftest.
$ac_ext
16423 cat >>conftest.
$ac_ext <<_ACEOF
16424 /* end confdefs.h. */
16426 /* Override any GCC internal prototype to avoid an error.
16427 Use char because int might match the return type of a GCC
16428 builtin and then its argument prototype would still apply. */
16432 char XCreateWindow ();
16436 return XCreateWindow ();
16441 rm -f conftest.
$ac_objext conftest
$ac_exeext
16442 if { (ac_try
="$ac_link"
16443 case "(($ac_try" in
16444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16445 *) ac_try_echo=$ac_try;;
16447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16448 (eval "$ac_link") 2>conftest.er1
16450 grep -v '^ *+' conftest.er1 >conftest.err
16452 cat conftest.err >&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); } &&
16455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16456 { (case "(($ac_try" in
16457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16458 *) ac_try_echo
=$ac_try;;
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_try") 2>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; } &&
16465 { ac_try
='test -s conftest$ac_exeext'
16466 { (case "(($ac_try" in
16467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16468 *) ac_try_echo=$ac_try;;
16470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16471 (eval "$ac_try") 2>&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }; }; then
16476 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'` ;;
16477 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libX11
\\.so |
sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16479 if test "x$ac_cv_lib_soname_X11" = "x"
16481 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16484 echo "$as_me: failed program was:" >&5
16485 sed 's/^/| /' conftest.$ac_ext >&5
16487 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16490 rm -f core conftest.err conftest.$ac_objext \
16491 conftest$ac_exeext conftest.$ac_ext
16492 LIBS=$ac_get_soname_save_LIBS
16494 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16495 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16496 if test "${ac_cv_lib_soname_X11+set}" = set; then
16498 cat >>confdefs.h <<_ACEOF
16499 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16504 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16505 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16506 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16507 echo $ECHO_N "(cached) $ECHO_C" >&6
16509 ac_get_soname_save_LIBS=$LIBS
16510 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16511 cat >conftest.$ac_ext <<_ACEOF
16514 cat confdefs.h >>conftest.$ac_ext
16515 cat >>conftest.$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16518 /* Override any GCC internal prototype to avoid an error.
16519 Use char because int might match the return type of a GCC
16520 builtin and then its argument prototype would still apply. */
16524 char XextCreateExtension ();
16528 return XextCreateExtension ();
16533 rm -f conftest.$ac_objext conftest$ac_exeext
16534 if { (ac_try="$ac_link"
16535 case "(($ac_try" in
16536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16537 *) ac_try_echo
=$ac_try;;
16539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16540 (eval "$ac_link") 2>conftest.er1
16542 grep -v '^ *+' conftest.er1
>conftest.err
16544 cat conftest.err
>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); } &&
16547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16548 { (case "(($ac_try" in
16549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16550 *) ac_try_echo=$ac_try;;
16552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16553 (eval "$ac_try") 2>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); }; } &&
16557 { ac_try='test -s conftest$ac_exeext'
16558 { (case "(($ac_try" in
16559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16560 *) ac_try_echo
=$ac_try;;
16562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16563 (eval "$ac_try") 2>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16568 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'` ;;
16569 so
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16571 if test "x$ac_cv_lib_soname_Xext" = "x"
16573 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.
$ac_ext >&5
16579 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
16582 rm -f core conftest.err conftest.
$ac_objext \
16583 conftest
$ac_exeext conftest.
$ac_ext
16584 LIBS
=$ac_get_soname_save_LIBS
16586 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16587 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16588 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16590 cat >>confdefs.h
<<_ACEOF
16591 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16596 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16597 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16598 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16599 echo $ECHO_N "(cached) $ECHO_C" >&6
16601 ac_get_soname_save_LIBS
=$LIBS
16602 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16603 cat >conftest.
$ac_ext <<_ACEOF
16606 cat confdefs.h
>>conftest.
$ac_ext
16607 cat >>conftest.
$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16610 /* Override any GCC internal prototype to avoid an error.
16611 Use char because int might match the return type of a GCC
16612 builtin and then its argument prototype would still apply. */
16616 char XOpenDevice ();
16620 return XOpenDevice ();
16625 rm -f conftest.
$ac_objext conftest
$ac_exeext
16626 if { (ac_try
="$ac_link"
16627 case "(($ac_try" in
16628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16629 *) ac_try_echo=$ac_try;;
16631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16632 (eval "$ac_link") 2>conftest.er1
16634 grep -v '^ *+' conftest.er1 >conftest.err
16636 cat conftest.err >&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); } &&
16639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16640 { (case "(($ac_try" in
16641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16642 *) ac_try_echo
=$ac_try;;
16644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16645 (eval "$ac_try") 2>&5
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; } &&
16649 { ac_try
='test -s conftest$ac_exeext'
16650 { (case "(($ac_try" in
16651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16652 *) ac_try_echo=$ac_try;;
16654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16655 (eval "$ac_try") 2>&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; }; then
16660 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'` ;;
16661 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXi
\\.so |
sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16663 if test "x$ac_cv_lib_soname_Xi" = "x"
16665 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16668 echo "$as_me: failed program was:" >&5
16669 sed 's/^/| /' conftest.$ac_ext >&5
16671 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16674 rm -f core conftest.err conftest.$ac_objext \
16675 conftest$ac_exeext conftest.$ac_ext
16676 LIBS=$ac_get_soname_save_LIBS
16678 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16679 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16680 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16682 cat >>confdefs.h <<_ACEOF
16683 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16688 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16689 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16690 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 ac_get_soname_save_LIBS=$LIBS
16694 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16695 cat >conftest.$ac_ext <<_ACEOF
16698 cat confdefs.h >>conftest.$ac_ext
16699 cat >>conftest.$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16702 /* Override any GCC internal prototype to avoid an error.
16703 Use char because int might match the return type of a GCC
16704 builtin and then its argument prototype would still apply. */
16708 char XRenderQueryExtension ();
16712 return XRenderQueryExtension ();
16717 rm -f conftest.$ac_objext conftest$ac_exeext
16718 if { (ac_try="$ac_link"
16719 case "(($ac_try" in
16720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16721 *) ac_try_echo
=$ac_try;;
16723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16724 (eval "$ac_link") 2>conftest.er1
16726 grep -v '^ *+' conftest.er1
>conftest.err
16728 cat conftest.err
>&5
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); } &&
16731 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16732 { (case "(($ac_try" in
16733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16734 *) ac_try_echo=$ac_try;;
16736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16737 (eval "$ac_try") 2>&5
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); }; } &&
16741 { ac_try='test -s conftest$ac_exeext'
16742 { (case "(($ac_try" in
16743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16744 *) ac_try_echo
=$ac_try;;
16746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16747 (eval "$ac_try") 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; }; then
16752 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'` ;;
16753 so
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16755 if test "x$ac_cv_lib_soname_Xrender" = "x"
16757 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
16760 echo "$as_me: failed program was:" >&5
16761 sed 's/^/| /' conftest.
$ac_ext >&5
16763 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
16766 rm -f core conftest.err conftest.
$ac_objext \
16767 conftest
$ac_exeext conftest.
$ac_ext
16768 LIBS
=$ac_get_soname_save_LIBS
16770 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16771 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16772 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16774 cat >>confdefs.h
<<_ACEOF
16775 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16780 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16781 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16782 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16783 echo $ECHO_N "(cached) $ECHO_C" >&6
16785 ac_get_soname_save_LIBS
=$LIBS
16786 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16787 cat >conftest.
$ac_ext <<_ACEOF
16790 cat confdefs.h
>>conftest.
$ac_ext
16791 cat >>conftest.
$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16794 /* Override any GCC internal prototype to avoid an error.
16795 Use char because int might match the return type of a GCC
16796 builtin and then its argument prototype would still apply. */
16800 char XRRQueryExtension ();
16804 return XRRQueryExtension ();
16809 rm -f conftest.
$ac_objext conftest
$ac_exeext
16810 if { (ac_try
="$ac_link"
16811 case "(($ac_try" in
16812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16813 *) ac_try_echo=$ac_try;;
16815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16816 (eval "$ac_link") 2>conftest.er1
16818 grep -v '^ *+' conftest.er1 >conftest.err
16820 cat conftest.err >&5
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); } &&
16823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16824 { (case "(($ac_try" in
16825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16826 *) ac_try_echo
=$ac_try;;
16828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16829 (eval "$ac_try") 2>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; } &&
16833 { ac_try
='test -s conftest$ac_exeext'
16834 { (case "(($ac_try" in
16835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16836 *) ac_try_echo=$ac_try;;
16838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16839 (eval "$ac_try") 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; }; then
16844 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'` ;;
16845 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrandr
\\.so |
sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16847 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16849 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16855 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16858 rm -f core conftest.err conftest.$ac_objext \
16859 conftest$ac_exeext conftest.$ac_ext
16860 LIBS=$ac_get_soname_save_LIBS
16862 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16863 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16864 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16866 cat >>confdefs.h <<_ACEOF
16867 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16872 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16873 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16874 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16875 echo $ECHO_N "(cached) $ECHO_C" >&6
16877 ac_get_soname_save_LIBS=$LIBS
16878 LIBS="-lfreetype $X_LIBS $LIBS"
16879 cat >conftest.$ac_ext <<_ACEOF
16882 cat confdefs.h >>conftest.$ac_ext
16883 cat >>conftest.$ac_ext <<_ACEOF
16884 /* end confdefs.h. */
16886 /* Override any GCC internal prototype to avoid an error.
16887 Use char because int might match the return type of a GCC
16888 builtin and then its argument prototype would still apply. */
16892 char FT_Init_FreeType ();
16896 return FT_Init_FreeType ();
16901 rm -f conftest.$ac_objext conftest$ac_exeext
16902 if { (ac_try="$ac_link"
16903 case "(($ac_try" in
16904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16905 *) ac_try_echo
=$ac_try;;
16907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16908 (eval "$ac_link") 2>conftest.er1
16910 grep -v '^ *+' conftest.er1
>conftest.err
16912 cat conftest.err
>&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } &&
16915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16916 { (case "(($ac_try" in
16917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16918 *) ac_try_echo=$ac_try;;
16920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16921 (eval "$ac_try") 2>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; } &&
16925 { ac_try='test -s conftest$ac_exeext'
16926 { (case "(($ac_try" in
16927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16928 *) ac_try_echo
=$ac_try;;
16930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16931 (eval "$ac_try") 2>&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); }; }; then
16936 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'` ;;
16937 so
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16939 if test "x$ac_cv_lib_soname_freetype" = "x"
16941 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
16944 echo "$as_me: failed program was:" >&5
16945 sed 's/^/| /' conftest.
$ac_ext >&5
16947 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
16950 rm -f core conftest.err conftest.
$ac_objext \
16951 conftest
$ac_exeext conftest.
$ac_ext
16952 LIBS
=$ac_get_soname_save_LIBS
16954 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
16955 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
16956 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16958 cat >>confdefs.h
<<_ACEOF
16959 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
16964 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
16965 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
16966 if test "${ac_cv_lib_soname_GL+set}" = set; then
16967 echo $ECHO_N "(cached) $ECHO_C" >&6
16969 ac_get_soname_save_LIBS
=$LIBS
16970 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
16971 cat >conftest.
$ac_ext <<_ACEOF
16974 cat confdefs.h
>>conftest.
$ac_ext
16975 cat >>conftest.
$ac_ext <<_ACEOF
16976 /* end confdefs.h. */
16978 /* Override any GCC internal prototype to avoid an error.
16979 Use char because int might match the return type of a GCC
16980 builtin and then its argument prototype would still apply. */
16984 char glXQueryExtension ();
16988 return glXQueryExtension ();
16993 rm -f conftest.
$ac_objext conftest
$ac_exeext
16994 if { (ac_try
="$ac_link"
16995 case "(($ac_try" in
16996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16997 *) ac_try_echo=$ac_try;;
16999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17000 (eval "$ac_link") 2>conftest.er1
17002 grep -v '^ *+' conftest.er1 >conftest.err
17004 cat conftest.err >&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); } &&
17007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17008 { (case "(($ac_try" in
17009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17010 *) ac_try_echo
=$ac_try;;
17012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17013 (eval "$ac_try") 2>&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }; } &&
17017 { ac_try
='test -s conftest$ac_exeext'
17018 { (case "(($ac_try" in
17019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17020 *) ac_try_echo=$ac_try;;
17022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17023 (eval "$ac_try") 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; }; then
17028 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'` ;;
17029 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libGL
\\.so |
sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17031 if test "x$ac_cv_lib_soname_GL" = "x"
17033 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17036 echo "$as_me: failed program was:" >&5
17037 sed 's/^/| /' conftest.$ac_ext >&5
17039 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17042 rm -f core conftest.err conftest.$ac_objext \
17043 conftest$ac_exeext conftest.$ac_ext
17044 LIBS=$ac_get_soname_save_LIBS
17046 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17047 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17048 if test "${ac_cv_lib_soname_GL+set}" = set; then
17050 cat >>confdefs.h <<_ACEOF
17051 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17056 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17057 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17058 if test "${ac_cv_lib_soname_hal+set}" = set; then
17059 echo $ECHO_N "(cached) $ECHO_C" >&6
17061 ac_get_soname_save_LIBS=$LIBS
17063 cat >conftest.$ac_ext <<_ACEOF
17066 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17070 /* Override any GCC internal prototype to avoid an error.
17071 Use char because int might match the return type of a GCC
17072 builtin and then its argument prototype would still apply. */
17076 char libhal_ctx_new ();
17080 return libhal_ctx_new ();
17085 rm -f conftest.$ac_objext conftest$ac_exeext
17086 if { (ac_try="$ac_link"
17087 case "(($ac_try" in
17088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17089 *) ac_try_echo
=$ac_try;;
17091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17092 (eval "$ac_link") 2>conftest.er1
17094 grep -v '^ *+' conftest.er1
>conftest.err
17096 cat conftest.err
>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } &&
17099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17100 { (case "(($ac_try" in
17101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17102 *) ac_try_echo=$ac_try;;
17104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17105 (eval "$ac_try") 2>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; } &&
17109 { ac_try='test -s conftest$ac_exeext'
17110 { (case "(($ac_try" in
17111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17112 *) ac_try_echo
=$ac_try;;
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_try") 2>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; }; then
17120 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'` ;;
17121 so
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17123 if test "x$ac_cv_lib_soname_hal" = "x"
17125 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
17128 echo "$as_me: failed program was:" >&5
17129 sed 's/^/| /' conftest.
$ac_ext >&5
17131 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
17134 rm -f core conftest.err conftest.
$ac_objext \
17135 conftest
$ac_exeext conftest.
$ac_ext
17136 LIBS
=$ac_get_soname_save_LIBS
17138 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17139 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17140 if test "${ac_cv_lib_soname_hal+set}" = set; then
17142 cat >>confdefs.h
<<_ACEOF
17143 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17148 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17149 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17150 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 ac_get_soname_save_LIBS
=$LIBS
17154 LIBS
="-ltxc_dxtn $LIBS"
17155 cat >conftest.
$ac_ext <<_ACEOF
17158 cat confdefs.h
>>conftest.
$ac_ext
17159 cat >>conftest.
$ac_ext <<_ACEOF
17160 /* end confdefs.h. */
17162 /* Override any GCC internal prototype to avoid an error.
17163 Use char because int might match the return type of a GCC
17164 builtin and then its argument prototype would still apply. */
17168 char fetch_2d_texel_rgba_dxt1 ();
17172 return fetch_2d_texel_rgba_dxt1 ();
17177 rm -f conftest.
$ac_objext conftest
$ac_exeext
17178 if { (ac_try
="$ac_link"
17179 case "(($ac_try" in
17180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17181 *) ac_try_echo=$ac_try;;
17183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17184 (eval "$ac_link") 2>conftest.er1
17186 grep -v '^ *+' conftest.er1 >conftest.err
17188 cat conftest.err >&5
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); } &&
17191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17192 { (case "(($ac_try" in
17193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17194 *) ac_try_echo
=$ac_try;;
17196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17197 (eval "$ac_try") 2>&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); }; } &&
17201 { ac_try
='test -s conftest$ac_exeext'
17202 { (case "(($ac_try" in
17203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17204 *) ac_try_echo=$ac_try;;
17206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17207 (eval "$ac_try") 2>&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); }; }; then
17212 dylib) ac_cv_lib_soname_txc_dxtn=`otool
-L conftest
$ac_exeext |
grep libtxc_dxtn
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17213 so) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libtxc_dxtn
\\.so |
sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17215 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17217 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17220 echo "$as_me: failed program was:" >&5
17221 sed 's/^/| /' conftest.$ac_ext >&5
17223 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17226 rm -f core conftest.err conftest.$ac_objext \
17227 conftest$ac_exeext conftest.$ac_ext
17228 LIBS=$ac_get_soname_save_LIBS
17230 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17231 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17232 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17234 cat >>confdefs.h <<_ACEOF
17235 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17240 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17241 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17242 if test "${ac_cv_lib_soname_cups+set}" = set; then
17243 echo $ECHO_N "(cached) $ECHO_C" >&6
17245 ac_get_soname_save_LIBS=$LIBS
17246 LIBS="-lcups $LIBS"
17247 cat >conftest.$ac_ext <<_ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17254 /* Override any GCC internal prototype to avoid an error.
17255 Use char because int might match the return type of a GCC
17256 builtin and then its argument prototype would still apply. */
17260 char cupsGetDefault ();
17264 return cupsGetDefault ();
17269 rm -f conftest.$ac_objext conftest$ac_exeext
17270 if { (ac_try="$ac_link"
17271 case "(($ac_try" in
17272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17273 *) ac_try_echo
=$ac_try;;
17275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17276 (eval "$ac_link") 2>conftest.er1
17278 grep -v '^ *+' conftest.er1
>conftest.err
17280 cat conftest.err
>&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } &&
17283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17284 { (case "(($ac_try" in
17285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17286 *) ac_try_echo=$ac_try;;
17288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17289 (eval "$ac_try") 2>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); }; } &&
17293 { ac_try='test -s conftest$ac_exeext'
17294 { (case "(($ac_try" in
17295 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17296 *) ac_try_echo
=$ac_try;;
17298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17299 (eval "$ac_try") 2>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; }; then
17304 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'` ;;
17305 so
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17307 if test "x$ac_cv_lib_soname_cups" = "x"
17309 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
17312 echo "$as_me: failed program was:" >&5
17313 sed 's/^/| /' conftest.
$ac_ext >&5
17315 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
17318 rm -f core conftest.err conftest.
$ac_objext \
17319 conftest
$ac_exeext conftest.
$ac_ext
17320 LIBS
=$ac_get_soname_save_LIBS
17322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17323 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17324 if test "${ac_cv_lib_soname_cups+set}" = set; then
17326 cat >>confdefs.h
<<_ACEOF
17327 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17332 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17333 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17334 if test "${ac_cv_lib_soname_jack+set}" = set; then
17335 echo $ECHO_N "(cached) $ECHO_C" >&6
17337 ac_get_soname_save_LIBS
=$LIBS
17338 LIBS
="-ljack $LIBS"
17339 cat >conftest.
$ac_ext <<_ACEOF
17342 cat confdefs.h
>>conftest.
$ac_ext
17343 cat >>conftest.
$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17346 /* Override any GCC internal prototype to avoid an error.
17347 Use char because int might match the return type of a GCC
17348 builtin and then its argument prototype would still apply. */
17352 char jack_client_new ();
17356 return jack_client_new ();
17361 rm -f conftest.
$ac_objext conftest
$ac_exeext
17362 if { (ac_try
="$ac_link"
17363 case "(($ac_try" in
17364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17365 *) ac_try_echo=$ac_try;;
17367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17368 (eval "$ac_link") 2>conftest.er1
17370 grep -v '^ *+' conftest.er1 >conftest.err
17372 cat conftest.err >&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); } &&
17375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17376 { (case "(($ac_try" in
17377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17378 *) ac_try_echo
=$ac_try;;
17380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17381 (eval "$ac_try") 2>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; } &&
17385 { ac_try
='test -s conftest$ac_exeext'
17386 { (case "(($ac_try" in
17387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17388 *) ac_try_echo=$ac_try;;
17390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17391 (eval "$ac_try") 2>&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17396 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'` ;;
17397 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjack
\\.so |
sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17399 if test "x$ac_cv_lib_soname_jack" = "x"
17401 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17404 echo "$as_me: failed program was:" >&5
17405 sed 's/^/| /' conftest.$ac_ext >&5
17407 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17410 rm -f core conftest.err conftest.$ac_objext \
17411 conftest$ac_exeext conftest.$ac_ext
17412 LIBS=$ac_get_soname_save_LIBS
17414 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17415 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17416 if test "${ac_cv_lib_soname_jack+set}" = set; then
17418 cat >>confdefs.h <<_ACEOF
17419 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17424 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17425 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17426 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17427 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 ac_get_soname_save_LIBS=$LIBS
17430 LIBS="-lfontconfig $LIBS"
17431 cat >conftest.$ac_ext <<_ACEOF
17434 cat confdefs.h >>conftest.$ac_ext
17435 cat >>conftest.$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17438 /* Override any GCC internal prototype to avoid an error.
17439 Use char because int might match the return type of a GCC
17440 builtin and then its argument prototype would still apply. */
17453 rm -f conftest.$ac_objext conftest$ac_exeext
17454 if { (ac_try="$ac_link"
17455 case "(($ac_try" in
17456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17457 *) ac_try_echo
=$ac_try;;
17459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17460 (eval "$ac_link") 2>conftest.er1
17462 grep -v '^ *+' conftest.er1
>conftest.err
17464 cat conftest.err
>&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); } &&
17467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17468 { (case "(($ac_try" in
17469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17470 *) ac_try_echo=$ac_try;;
17472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17473 (eval "$ac_try") 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try='test -s conftest$ac_exeext'
17478 { (case "(($ac_try" in
17479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17480 *) ac_try_echo
=$ac_try;;
17482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17483 (eval "$ac_try") 2>&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); }; }; then
17488 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'` ;;
17489 so
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17491 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17493 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.
$ac_ext >&5
17499 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
17502 rm -f core conftest.err conftest.
$ac_objext \
17503 conftest
$ac_exeext conftest.
$ac_ext
17504 LIBS
=$ac_get_soname_save_LIBS
17506 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17507 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17508 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17510 cat >>confdefs.h
<<_ACEOF
17511 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17516 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17517 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17518 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17519 echo $ECHO_N "(cached) $ECHO_C" >&6
17521 ac_get_soname_save_LIBS
=$LIBS
17523 cat >conftest.
$ac_ext <<_ACEOF
17526 cat confdefs.h
>>conftest.
$ac_ext
17527 cat >>conftest.
$ac_ext <<_ACEOF
17528 /* end confdefs.h. */
17530 /* Override any GCC internal prototype to avoid an error.
17531 Use char because int might match the return type of a GCC
17532 builtin and then its argument prototype would still apply. */
17536 char SSL_library_init ();
17540 return SSL_library_init ();
17545 rm -f conftest.
$ac_objext conftest
$ac_exeext
17546 if { (ac_try
="$ac_link"
17547 case "(($ac_try" in
17548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17549 *) ac_try_echo=$ac_try;;
17551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17552 (eval "$ac_link") 2>conftest.er1
17554 grep -v '^ *+' conftest.er1 >conftest.err
17556 cat conftest.err >&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); } &&
17559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17560 { (case "(($ac_try" in
17561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17562 *) ac_try_echo
=$ac_try;;
17564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17565 (eval "$ac_try") 2>&5
17567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568 (exit $ac_status); }; } &&
17569 { ac_try
='test -s conftest$ac_exeext'
17570 { (case "(($ac_try" in
17571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_try") 2>&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; }; then
17580 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'` ;;
17581 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libssl
\\.so |
sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17583 if test "x$ac_cv_lib_soname_ssl" = "x"
17585 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17591 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17594 rm -f core conftest.err conftest.$ac_objext \
17595 conftest$ac_exeext conftest.$ac_ext
17596 LIBS=$ac_get_soname_save_LIBS
17598 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17599 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17600 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17602 cat >>confdefs.h <<_ACEOF
17603 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17608 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17609 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17610 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17611 echo $ECHO_N "(cached) $ECHO_C" >&6
17613 ac_get_soname_save_LIBS=$LIBS
17614 LIBS="-lcrypto $LIBS"
17615 cat >conftest.$ac_ext <<_ACEOF
17618 cat confdefs.h >>conftest.$ac_ext
17619 cat >>conftest.$ac_ext <<_ACEOF
17620 /* end confdefs.h. */
17622 /* Override any GCC internal prototype to avoid an error.
17623 Use char because int might match the return type of a GCC
17624 builtin and then its argument prototype would still apply. */
17628 char BIO_new_socket ();
17632 return BIO_new_socket ();
17637 rm -f conftest.$ac_objext conftest$ac_exeext
17638 if { (ac_try="$ac_link"
17639 case "(($ac_try" in
17640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17641 *) ac_try_echo
=$ac_try;;
17643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17644 (eval "$ac_link") 2>conftest.er1
17646 grep -v '^ *+' conftest.er1
>conftest.err
17648 cat conftest.err
>&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } &&
17651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17652 { (case "(($ac_try" in
17653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17654 *) ac_try_echo=$ac_try;;
17656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17657 (eval "$ac_try") 2>&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; } &&
17661 { ac_try='test -s conftest$ac_exeext'
17662 { (case "(($ac_try" in
17663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17664 *) ac_try_echo
=$ac_try;;
17666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17667 (eval "$ac_try") 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17672 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'` ;;
17673 so
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17675 if test "x$ac_cv_lib_soname_crypto" = "x"
17677 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.
$ac_ext >&5
17683 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
17686 rm -f core conftest.err conftest.
$ac_objext \
17687 conftest
$ac_exeext conftest.
$ac_ext
17688 LIBS
=$ac_get_soname_save_LIBS
17690 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17691 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17692 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17694 cat >>confdefs.h
<<_ACEOF
17695 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17700 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17701 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17702 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17703 echo $ECHO_N "(cached) $ECHO_C" >&6
17705 ac_get_soname_save_LIBS
=$LIBS
17706 LIBS
="-lncurses $LIBS"
17707 cat >conftest.
$ac_ext <<_ACEOF
17710 cat confdefs.h
>>conftest.
$ac_ext
17711 cat >>conftest.
$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17714 /* Override any GCC internal prototype to avoid an error.
17715 Use char because int might match the return type of a GCC
17716 builtin and then its argument prototype would still apply. */
17729 rm -f conftest.
$ac_objext conftest
$ac_exeext
17730 if { (ac_try
="$ac_link"
17731 case "(($ac_try" in
17732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17733 *) ac_try_echo=$ac_try;;
17735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17736 (eval "$ac_link") 2>conftest.er1
17738 grep -v '^ *+' conftest.er1 >conftest.err
17740 cat conftest.err >&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); } &&
17743 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17744 { (case "(($ac_try" in
17745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17746 *) ac_try_echo
=$ac_try;;
17748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17749 (eval "$ac_try") 2>&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); }; } &&
17753 { ac_try
='test -s conftest$ac_exeext'
17754 { (case "(($ac_try" in
17755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17756 *) ac_try_echo=$ac_try;;
17758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17759 (eval "$ac_try") 2>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; }; then
17764 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'` ;;
17765 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libncurses
\\.so |
sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17767 if test "x$ac_cv_lib_soname_ncurses" = "x"
17769 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.$ac_ext >&5
17775 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17778 rm -f core conftest.err conftest.$ac_objext \
17779 conftest$ac_exeext conftest.$ac_ext
17780 LIBS=$ac_get_soname_save_LIBS
17782 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17783 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17784 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17786 cat >>confdefs.h <<_ACEOF
17787 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17792 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17793 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17794 if test "${ac_cv_lib_soname_curses+set}" = set; then
17795 echo $ECHO_N "(cached) $ECHO_C" >&6
17797 ac_get_soname_save_LIBS=$LIBS
17798 LIBS="-lcurses $LIBS"
17799 cat >conftest.$ac_ext <<_ACEOF
17802 cat confdefs.h >>conftest.$ac_ext
17803 cat >>conftest.$ac_ext <<_ACEOF
17804 /* end confdefs.h. */
17806 /* Override any GCC internal prototype to avoid an error.
17807 Use char because int might match the return type of a GCC
17808 builtin and then its argument prototype would still apply. */
17821 rm -f conftest.$ac_objext conftest$ac_exeext
17822 if { (ac_try="$ac_link"
17823 case "(($ac_try" in
17824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17825 *) ac_try_echo
=$ac_try;;
17827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17828 (eval "$ac_link") 2>conftest.er1
17830 grep -v '^ *+' conftest.er1
>conftest.err
17832 cat conftest.err
>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); } &&
17835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17836 { (case "(($ac_try" in
17837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17838 *) ac_try_echo=$ac_try;;
17840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17841 (eval "$ac_try") 2>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; } &&
17845 { ac_try='test -s conftest$ac_exeext'
17846 { (case "(($ac_try" in
17847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17848 *) ac_try_echo
=$ac_try;;
17850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17851 (eval "$ac_try") 2>&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; }; then
17856 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'` ;;
17857 so
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17859 if test "x$ac_cv_lib_soname_curses" = "x"
17861 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.
$ac_ext >&5
17867 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
17870 rm -f core conftest.err conftest.
$ac_objext \
17871 conftest
$ac_exeext conftest.
$ac_ext
17872 LIBS
=$ac_get_soname_save_LIBS
17874 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17875 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17876 if test "${ac_cv_lib_soname_curses+set}" = set; then
17878 cat >>confdefs.h
<<_ACEOF
17879 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17884 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17885 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17886 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17889 ac_get_soname_save_LIBS
=$LIBS
17890 LIBS
="-ljpeg $LIBS"
17891 cat >conftest.
$ac_ext <<_ACEOF
17894 cat confdefs.h
>>conftest.
$ac_ext
17895 cat >>conftest.
$ac_ext <<_ACEOF
17896 /* end confdefs.h. */
17898 /* Override any GCC internal prototype to avoid an error.
17899 Use char because int might match the return type of a GCC
17900 builtin and then its argument prototype would still apply. */
17904 char jpeg_start_decompress ();
17908 return jpeg_start_decompress ();
17913 rm -f conftest.
$ac_objext conftest
$ac_exeext
17914 if { (ac_try
="$ac_link"
17915 case "(($ac_try" in
17916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17917 *) ac_try_echo=$ac_try;;
17919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17920 (eval "$ac_link") 2>conftest.er1
17922 grep -v '^ *+' conftest.er1 >conftest.err
17924 cat conftest.err >&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } &&
17927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17928 { (case "(($ac_try" in
17929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17930 *) ac_try_echo
=$ac_try;;
17932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17933 (eval "$ac_try") 2>&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); }; } &&
17937 { ac_try
='test -s conftest$ac_exeext'
17938 { (case "(($ac_try" in
17939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17940 *) ac_try_echo=$ac_try;;
17942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_try") 2>&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; }; then
17948 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'` ;;
17949 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjpeg
\\.so |
sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17951 if test "x$ac_cv_lib_soname_jpeg" = "x"
17953 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17956 echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.$ac_ext >&5
17959 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
17962 rm -f core conftest.err conftest.$ac_objext \
17963 conftest$ac_exeext conftest.$ac_ext
17964 LIBS=$ac_get_soname_save_LIBS
17966 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
17967 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
17968 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17970 cat >>confdefs.h <<_ACEOF
17971 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
17976 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
17977 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
17978 if test "${ac_cv_lib_soname_capi20+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 ac_get_soname_save_LIBS=$LIBS
17982 LIBS="-lcapi20 $LIBS"
17983 cat >conftest.$ac_ext <<_ACEOF
17986 cat confdefs.h >>conftest.$ac_ext
17987 cat >>conftest.$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17990 /* Override any GCC internal prototype to avoid an error.
17991 Use char because int might match the return type of a GCC
17992 builtin and then its argument prototype would still apply. */
17996 char capi20_isinstalled ();
18000 return capi20_isinstalled ();
18005 rm -f conftest.$ac_objext conftest$ac_exeext
18006 if { (ac_try="$ac_link"
18007 case "(($ac_try" in
18008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18009 *) ac_try_echo
=$ac_try;;
18011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18012 (eval "$ac_link") 2>conftest.er1
18014 grep -v '^ *+' conftest.er1
>conftest.err
18016 cat conftest.err
>&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); } &&
18019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18020 { (case "(($ac_try" in
18021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18022 *) ac_try_echo=$ac_try;;
18024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18025 (eval "$ac_try") 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; } &&
18029 { ac_try='test -s conftest$ac_exeext'
18030 { (case "(($ac_try" in
18031 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18032 *) ac_try_echo
=$ac_try;;
18034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18035 (eval "$ac_try") 2>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18040 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'` ;;
18041 so
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18043 if test "x$ac_cv_lib_soname_capi20" = "x"
18045 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
18048 echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.
$ac_ext >&5
18051 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
18054 rm -f core conftest.err conftest.
$ac_objext \
18055 conftest
$ac_exeext conftest.
$ac_ext
18056 LIBS
=$ac_get_soname_save_LIBS
18058 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18059 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18060 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18062 cat >>confdefs.h
<<_ACEOF
18063 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18213 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18214 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18216 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18217 echo $ECHO_N "(cached) $ECHO_C" >&6
18219 cat >conftest.
$ac_ext <<_ACEOF
18222 cat confdefs.h
>>conftest.
$ac_ext
18223 cat >>conftest.
$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18227 #define $ac_func innocuous_$ac_func
18229 /* System header to define __stub macros and hopefully few prototypes,
18230 which can conflict with char $ac_func (); below.
18231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18232 <limits.h> exists even on freestanding compilers. */
18235 # include <limits.h>
18237 # include <assert.h>
18242 /* Override any GCC internal prototype to avoid an error.
18243 Use char because int might match the return type of a GCC
18244 builtin and then its argument prototype would still apply. */
18249 /* The GNU C library defines this for functions which it implements
18250 to always fail with ENOSYS. Some functions are actually named
18251 something starting with __ and the normal name is an alias. */
18252 #if defined __stub_$ac_func || defined __stub___$ac_func
18259 return $ac_func ();
18264 rm -f conftest.
$ac_objext conftest
$ac_exeext
18265 if { (ac_try
="$ac_link"
18266 case "(($ac_try" in
18267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18268 *) ac_try_echo=$ac_try;;
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18271 (eval "$ac_link") 2>conftest.er1
18273 grep -v '^ *+' conftest.er1 >conftest.err
18275 cat conftest.err >&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } &&
18278 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18279 { (case "(($ac_try" in
18280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18281 *) ac_try_echo
=$ac_try;;
18283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18284 (eval "$ac_try") 2>&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; } &&
18288 { ac_try
='test -s conftest$ac_exeext'
18289 { (case "(($ac_try" in
18290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18291 *) ac_try_echo=$ac_try;;
18293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18294 (eval "$ac_try") 2>&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; }; then
18298 eval "$as_ac_var=yes"
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.$ac_ext >&5
18303 eval "$as_ac_var=no"
18306 rm -f core conftest.err conftest.$ac_objext \
18307 conftest$ac_exeext conftest.$ac_ext
18309 ac_res=`eval echo '${'$as_ac_var'}'`
18310 { echo "$as_me:$LINENO: result: $ac_res" >&5
18311 echo "${ECHO_T}$ac_res" >&6; }
18312 if test `eval echo '${'$as_ac_var'}'` = yes; then
18313 cat >>confdefs.h <<_ACEOF
18314 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18321 if test "$ac_cv_func_dlopen" = no
18323 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18324 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18325 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18326 echo $ECHO_N "(cached) $ECHO_C" >&6
18328 ac_check_lib_save_LIBS=$LIBS
18330 cat >conftest.$ac_ext <<_ACEOF
18333 cat confdefs.h >>conftest.$ac_ext
18334 cat >>conftest.$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18337 /* Override any GCC internal prototype to avoid an error.
18338 Use char because int might match the return type of a GCC
18339 builtin and then its argument prototype would still apply. */
18352 rm -f conftest.$ac_objext conftest$ac_exeext
18353 if { (ac_try="$ac_link"
18354 case "(($ac_try" in
18355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18356 *) ac_try_echo
=$ac_try;;
18358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18359 (eval "$ac_link") 2>conftest.er1
18361 grep -v '^ *+' conftest.er1
>conftest.err
18363 cat conftest.err
>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } &&
18366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18367 { (case "(($ac_try" in
18368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18369 *) ac_try_echo=$ac_try;;
18371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18372 (eval "$ac_try") 2>&5
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); }; } &&
18376 { ac_try='test -s conftest$ac_exeext'
18377 { (case "(($ac_try" in
18378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18379 *) ac_try_echo
=$ac_try;;
18381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18382 (eval "$ac_try") 2>&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; }; then
18386 ac_cv_lib_dl_dlopen
=yes
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.
$ac_ext >&5
18391 ac_cv_lib_dl_dlopen
=no
18394 rm -f core conftest.err conftest.
$ac_objext \
18395 conftest
$ac_exeext conftest.
$ac_ext
18396 LIBS
=$ac_check_lib_save_LIBS
18398 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18399 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18400 if test $ac_cv_lib_dl_dlopen = yes; then
18401 cat >>confdefs.h
<<\_ACEOF
18402 #define HAVE_DLOPEN 1
18409 ac_wine_check_funcs_save_LIBS
="$LIBS"
18410 LIBS
="$LIBS $LIBDL"
18412 for ac_func
in dladdr
18414 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18415 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18417 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18420 cat >conftest.
$ac_ext <<_ACEOF
18423 cat confdefs.h
>>conftest.
$ac_ext
18424 cat >>conftest.
$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18428 #define $ac_func innocuous_$ac_func
18430 /* System header to define __stub macros and hopefully few prototypes,
18431 which can conflict with char $ac_func (); below.
18432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18433 <limits.h> exists even on freestanding compilers. */
18436 # include <limits.h>
18438 # include <assert.h>
18443 /* Override any GCC internal prototype to avoid an error.
18444 Use char because int might match the return type of a GCC
18445 builtin and then its argument prototype would still apply. */
18450 /* The GNU C library defines this for functions which it implements
18451 to always fail with ENOSYS. Some functions are actually named
18452 something starting with __ and the normal name is an alias. */
18453 #if defined __stub_$ac_func || defined __stub___$ac_func
18460 return $ac_func ();
18465 rm -f conftest.
$ac_objext conftest
$ac_exeext
18466 if { (ac_try
="$ac_link"
18467 case "(($ac_try" in
18468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18469 *) ac_try_echo=$ac_try;;
18471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18472 (eval "$ac_link") 2>conftest.er1
18474 grep -v '^ *+' conftest.er1 >conftest.err
18476 cat conftest.err >&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); } &&
18479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18480 { (case "(($ac_try" in
18481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18482 *) ac_try_echo
=$ac_try;;
18484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18485 (eval "$ac_try") 2>&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); }; } &&
18489 { ac_try
='test -s conftest$ac_exeext'
18490 { (case "(($ac_try" in
18491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18492 *) ac_try_echo=$ac_try;;
18494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18495 (eval "$ac_try") 2>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; }; then
18499 eval "$as_ac_var=yes"
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18504 eval "$as_ac_var=no"
18507 rm -f core conftest.err conftest.$ac_objext \
18508 conftest$ac_exeext conftest.$ac_ext
18510 ac_res=`eval echo '${'$as_ac_var'}'`
18511 { echo "$as_me:$LINENO: result: $ac_res" >&5
18512 echo "${ECHO_T}$ac_res" >&6; }
18513 if test `eval echo '${'$as_ac_var'}'` = yes; then
18514 cat >>confdefs.h <<_ACEOF
18515 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18521 LIBS="$ac_wine_check_funcs_save_LIBS"
18523 if test "$ac_cv_func_poll" = no
18525 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18526 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18527 if test "${ac_cv_lib_poll_poll+set}" = set; then
18528 echo $ECHO_N "(cached) $ECHO_C" >&6
18530 ac_check_lib_save_LIBS=$LIBS
18531 LIBS="-lpoll $LIBS"
18532 cat >conftest.$ac_ext <<_ACEOF
18535 cat confdefs.h >>conftest.$ac_ext
18536 cat >>conftest.$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18539 /* Override any GCC internal prototype to avoid an error.
18540 Use char because int might match the return type of a GCC
18541 builtin and then its argument prototype would still apply. */
18554 rm -f conftest.$ac_objext conftest$ac_exeext
18555 if { (ac_try="$ac_link"
18556 case "(($ac_try" in
18557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18558 *) ac_try_echo
=$ac_try;;
18560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18561 (eval "$ac_link") 2>conftest.er1
18563 grep -v '^ *+' conftest.er1
>conftest.err
18565 cat conftest.err
>&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); } &&
18568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18569 { (case "(($ac_try" in
18570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18571 *) ac_try_echo=$ac_try;;
18573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18574 (eval "$ac_try") 2>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; } &&
18578 { ac_try='test -s conftest$ac_exeext'
18579 { (case "(($ac_try" in
18580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18581 *) ac_try_echo
=$ac_try;;
18583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18584 (eval "$ac_try") 2>&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); }; }; then
18588 ac_cv_lib_poll_poll
=yes
18590 echo "$as_me: failed program was:" >&5
18591 sed 's/^/| /' conftest.
$ac_ext >&5
18593 ac_cv_lib_poll_poll
=no
18596 rm -f core conftest.err conftest.
$ac_objext \
18597 conftest
$ac_exeext conftest.
$ac_ext
18598 LIBS
=$ac_check_lib_save_LIBS
18600 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18601 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18602 if test $ac_cv_lib_poll_poll = yes; then
18603 cat >>confdefs.h
<<\_ACEOF
18604 #define HAVE_POLL 1
18612 if test "$ac_cv_func_gethostbyname" = no
18615 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18616 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18617 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18620 ac_check_lib_save_LIBS
=$LIBS
18622 cat >conftest.
$ac_ext <<_ACEOF
18625 cat confdefs.h
>>conftest.
$ac_ext
18626 cat >>conftest.
$ac_ext <<_ACEOF
18627 /* end confdefs.h. */
18629 /* Override any GCC internal prototype to avoid an error.
18630 Use char because int might match the return type of a GCC
18631 builtin and then its argument prototype would still apply. */
18635 char gethostbyname ();
18639 return gethostbyname ();
18644 rm -f conftest.
$ac_objext conftest
$ac_exeext
18645 if { (ac_try
="$ac_link"
18646 case "(($ac_try" in
18647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18648 *) ac_try_echo=$ac_try;;
18650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18651 (eval "$ac_link") 2>conftest.er1
18653 grep -v '^ *+' conftest.er1 >conftest.err
18655 cat conftest.err >&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } &&
18658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18659 { (case "(($ac_try" in
18660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18661 *) ac_try_echo
=$ac_try;;
18663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18664 (eval "$ac_try") 2>&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); }; } &&
18668 { ac_try
='test -s conftest$ac_exeext'
18669 { (case "(($ac_try" in
18670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18671 *) ac_try_echo=$ac_try;;
18673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674 (eval "$ac_try") 2>&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); }; }; then
18678 ac_cv_lib_nsl_gethostbyname=yes
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18683 ac_cv_lib_nsl_gethostbyname=no
18686 rm -f core conftest.err conftest.$ac_objext \
18687 conftest$ac_exeext conftest.$ac_ext
18688 LIBS=$ac_check_lib_save_LIBS
18690 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18691 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18692 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18693 cat >>confdefs.h <<_ACEOF
18694 #define HAVE_LIBNSL 1
18703 if test "$ac_cv_func_connect" = no
18706 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18707 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18708 if test "${ac_cv_lib_socket_connect+set}" = set; then
18709 echo $ECHO_N "(cached) $ECHO_C" >&6
18711 ac_check_lib_save_LIBS=$LIBS
18712 LIBS="-lsocket $LIBS"
18713 cat >conftest.$ac_ext <<_ACEOF
18716 cat confdefs.h >>conftest.$ac_ext
18717 cat >>conftest.$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18720 /* Override any GCC internal prototype to avoid an error.
18721 Use char because int might match the return type of a GCC
18722 builtin and then its argument prototype would still apply. */
18735 rm -f conftest.$ac_objext conftest$ac_exeext
18736 if { (ac_try="$ac_link"
18737 case "(($ac_try" in
18738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18739 *) ac_try_echo
=$ac_try;;
18741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18742 (eval "$ac_link") 2>conftest.er1
18744 grep -v '^ *+' conftest.er1
>conftest.err
18746 cat conftest.err
>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18750 { (case "(($ac_try" in
18751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18752 *) ac_try_echo=$ac_try;;
18754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18755 (eval "$ac_try") 2>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; } &&
18759 { ac_try='test -s conftest$ac_exeext'
18760 { (case "(($ac_try" in
18761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18762 *) ac_try_echo
=$ac_try;;
18764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18765 (eval "$ac_try") 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; }; then
18769 ac_cv_lib_socket_connect
=yes
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.
$ac_ext >&5
18774 ac_cv_lib_socket_connect
=no
18777 rm -f core conftest.err conftest.
$ac_objext \
18778 conftest
$ac_exeext conftest.
$ac_ext
18779 LIBS
=$ac_check_lib_save_LIBS
18781 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18782 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18783 if test $ac_cv_lib_socket_connect = yes; then
18784 cat >>confdefs.h
<<_ACEOF
18785 #define HAVE_LIBSOCKET 1
18788 LIBS
="-lsocket $LIBS"
18794 if test "$ac_cv_func_inet_aton" = no
18797 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18798 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18799 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 ac_check_lib_save_LIBS
=$LIBS
18803 LIBS
="-lresolv $LIBS"
18804 cat >conftest.
$ac_ext <<_ACEOF
18807 cat confdefs.h
>>conftest.
$ac_ext
18808 cat >>conftest.
$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18811 /* Override any GCC internal prototype to avoid an error.
18812 Use char because int might match the return type of a GCC
18813 builtin and then its argument prototype would still apply. */
18821 return inet_aton ();
18826 rm -f conftest.
$ac_objext conftest
$ac_exeext
18827 if { (ac_try
="$ac_link"
18828 case "(($ac_try" in
18829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18830 *) ac_try_echo=$ac_try;;
18832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18833 (eval "$ac_link") 2>conftest.er1
18835 grep -v '^ *+' conftest.er1 >conftest.err
18837 cat conftest.err >&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); } &&
18840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18841 { (case "(($ac_try" in
18842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18843 *) ac_try_echo
=$ac_try;;
18845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18846 (eval "$ac_try") 2>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; } &&
18850 { ac_try
='test -s conftest$ac_exeext'
18851 { (case "(($ac_try" in
18852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18853 *) ac_try_echo=$ac_try;;
18855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18856 (eval "$ac_try") 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; }; then
18860 ac_cv_lib_resolv_inet_aton=yes
18862 echo "$as_me: failed program was:" >&5
18863 sed 's/^/| /' conftest.$ac_ext >&5
18865 ac_cv_lib_resolv_inet_aton=no
18868 rm -f core conftest.err conftest.$ac_objext \
18869 conftest$ac_exeext conftest.$ac_ext
18870 LIBS=$ac_check_lib_save_LIBS
18872 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18873 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18874 if test $ac_cv_lib_resolv_inet_aton = yes; then
18875 cat >>confdefs.h <<_ACEOF
18876 #define HAVE_LIBRESOLV 1
18879 LIBS="-lresolv $LIBS"
18886 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18887 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18888 if test "${ac_cv_c_const+set}" = set; then
18889 echo $ECHO_N "(cached) $ECHO_C" >&6
18891 cat >conftest.$ac_ext <<_ACEOF
18894 cat confdefs.h >>conftest.$ac_ext
18895 cat >>conftest.$ac_ext <<_ACEOF
18896 /* end confdefs.h. */
18901 /* FIXME: Include the comments suggested by Paul. */
18902 #ifndef __cplusplus
18903 /* Ultrix mips cc rejects this. */
18904 typedef int charset[2];
18906 /* SunOS 4.1.1 cc rejects this. */
18907 char const *const *ccp;
18909 /* NEC SVR4.0.2 mips cc rejects this. */
18910 struct point {int x, y;};
18911 static struct point const zero = {0,0};
18912 /* AIX XL C 1.02.0.0 rejects this.
18913 It does not let you subtract one const X* pointer from another in
18914 an arm of an if-expression whose if-part is not a constant
18916 const char *g = "string";
18917 ccp = &g + (g ? g-g : 0);
18918 /* HPUX 7.0 cc rejects these. */
18921 ccp = (char const *const *) p;
18922 { /* SCO 3.2v4 cc rejects this. */
18924 char const *s = 0 ? (char *) 0 : (char const *) 0;
18929 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18930 int x[] = {25, 17};
18931 const int *foo = &x[0];
18934 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18935 typedef const int *iptr;
18939 { /* AIX XL C 1.02.0.0 rejects this saying
18940 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18941 struct s { int j; const int *ap[3]; };
18942 struct s *b; b->j = 5;
18944 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18945 const int foo = 10;
18946 if (!foo) return 0;
18948 return !x[0] && !zero.x;
18955 rm -f conftest.$ac_objext
18956 if { (ac_try="$ac_compile"
18957 case "(($ac_try" in
18958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18959 *) ac_try_echo
=$ac_try;;
18961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18962 (eval "$ac_compile") 2>conftest.er1
18964 grep -v '^ *+' conftest.er1
>conftest.err
18966 cat conftest.err
>&5
18967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968 (exit $ac_status); } &&
18969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18970 { (case "(($ac_try" in
18971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18972 *) ac_try_echo=$ac_try;;
18974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18975 (eval "$ac_try") 2>&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; } &&
18979 { ac_try='test -s conftest.$ac_objext'
18980 { (case "(($ac_try" in
18981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18982 *) ac_try_echo
=$ac_try;;
18984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18985 (eval "$ac_try") 2>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; }; then
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.
$ac_ext >&5
18997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18999 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19000 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19001 if test $ac_cv_c_const = no
; then
19003 cat >>confdefs.h
<<\_ACEOF
19009 { echo "$as_me:$LINENO: checking for inline" >&5
19010 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19011 if test "${ac_cv_c_inline+set}" = set; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19015 for ac_kw
in inline __inline__ __inline
; do
19016 cat >conftest.
$ac_ext <<_ACEOF
19019 cat confdefs.h
>>conftest.
$ac_ext
19020 cat >>conftest.
$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19022 #ifndef __cplusplus
19024 static $ac_kw foo_t static_foo () {return 0; }
19025 $ac_kw foo_t foo () {return 0; }
19029 rm -f conftest.
$ac_objext
19030 if { (ac_try
="$ac_compile"
19031 case "(($ac_try" in
19032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19033 *) ac_try_echo=$ac_try;;
19035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19036 (eval "$ac_compile") 2>conftest.er1
19038 grep -v '^ *+' conftest.er1 >conftest.err
19040 cat conftest.err >&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } &&
19043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19044 { (case "(($ac_try" in
19045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19046 *) ac_try_echo
=$ac_try;;
19048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19049 (eval "$ac_try") 2>&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); }; } &&
19053 { ac_try
='test -s conftest.$ac_objext'
19054 { (case "(($ac_try" in
19055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_try") 2>&5
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); }; }; then
19063 ac_cv_c_inline=$ac_kw
19065 echo "$as_me: failed program was:" >&5
19066 sed 's/^/| /' conftest.$ac_ext >&5
19071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19072 test "$ac_cv_c_inline" != no && break
19076 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19077 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19080 case $ac_cv_c_inline in
19083 case $ac_cv_c_inline in
19085 *) ac_val=$ac_cv_c_inline;;
19087 cat >>confdefs.h <<_ACEOF
19088 #ifndef __cplusplus
19089 #define inline $ac_val
19095 { echo "$as_me:$LINENO: checking for mode_t" >&5
19096 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19097 if test "${ac_cv_type_mode_t+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19100 cat >conftest.$ac_ext <<_ACEOF
19103 cat confdefs.h >>conftest.$ac_ext
19104 cat >>conftest.$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19106 $ac_includes_default
19107 typedef mode_t ac__type_new_;
19111 if ((ac__type_new_ *) 0)
19113 if (sizeof (ac__type_new_))
19119 rm -f conftest.$ac_objext
19120 if { (ac_try="$ac_compile"
19121 case "(($ac_try" in
19122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19123 *) ac_try_echo
=$ac_try;;
19125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19126 (eval "$ac_compile") 2>conftest.er1
19128 grep -v '^ *+' conftest.er1
>conftest.err
19130 cat conftest.err
>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } &&
19133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19134 { (case "(($ac_try" in
19135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19136 *) ac_try_echo=$ac_try;;
19138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19139 (eval "$ac_try") 2>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); }; } &&
19143 { ac_try='test -s conftest.$ac_objext'
19144 { (case "(($ac_try" in
19145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19146 *) ac_try_echo
=$ac_try;;
19148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19149 (eval "$ac_try") 2>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; }; then
19153 ac_cv_type_mode_t
=yes
19155 echo "$as_me: failed program was:" >&5
19156 sed 's/^/| /' conftest.
$ac_ext >&5
19158 ac_cv_type_mode_t
=no
19161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19163 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19164 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19165 if test $ac_cv_type_mode_t = yes; then
19167 cat >>confdefs.h
<<_ACEOF
19168 #define HAVE_MODE_T 1
19173 { echo "$as_me:$LINENO: checking for off_t" >&5
19174 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19175 if test "${ac_cv_type_off_t+set}" = set; then
19176 echo $ECHO_N "(cached) $ECHO_C" >&6
19178 cat >conftest.
$ac_ext <<_ACEOF
19181 cat confdefs.h
>>conftest.
$ac_ext
19182 cat >>conftest.
$ac_ext <<_ACEOF
19183 /* end confdefs.h. */
19184 $ac_includes_default
19185 typedef off_t ac__type_new_;
19189 if ((ac__type_new_ *) 0)
19191 if (sizeof (ac__type_new_))
19197 rm -f conftest.
$ac_objext
19198 if { (ac_try
="$ac_compile"
19199 case "(($ac_try" in
19200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19201 *) ac_try_echo=$ac_try;;
19203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19204 (eval "$ac_compile") 2>conftest.er1
19206 grep -v '^ *+' conftest.er1 >conftest.err
19208 cat conftest.err >&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); } &&
19211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19212 { (case "(($ac_try" in
19213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19214 *) ac_try_echo
=$ac_try;;
19216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19217 (eval "$ac_try") 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; } &&
19221 { ac_try
='test -s conftest.$ac_objext'
19222 { (case "(($ac_try" in
19223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19224 *) ac_try_echo=$ac_try;;
19226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19227 (eval "$ac_try") 2>&5
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); }; }; then
19231 ac_cv_type_off_t=yes
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19236 ac_cv_type_off_t=no
19239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19241 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19242 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19243 if test $ac_cv_type_off_t = yes; then
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_OFF_T 1
19251 { echo "$as_me:$LINENO: checking for pid_t" >&5
19252 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19253 if test "${ac_cv_type_pid_t+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19256 cat >conftest.$ac_ext <<_ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 $ac_includes_default
19263 typedef pid_t ac__type_new_;
19267 if ((ac__type_new_ *) 0)
19269 if (sizeof (ac__type_new_))
19275 rm -f conftest.$ac_objext
19276 if { (ac_try="$ac_compile"
19277 case "(($ac_try" in
19278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19279 *) ac_try_echo
=$ac_try;;
19281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19282 (eval "$ac_compile") 2>conftest.er1
19284 grep -v '^ *+' conftest.er1
>conftest.err
19286 cat conftest.err
>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); } &&
19289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19290 { (case "(($ac_try" in
19291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19292 *) ac_try_echo=$ac_try;;
19294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19295 (eval "$ac_try") 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; } &&
19299 { ac_try='test -s conftest.$ac_objext'
19300 { (case "(($ac_try" in
19301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19302 *) ac_try_echo
=$ac_try;;
19304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19305 (eval "$ac_try") 2>&5
19307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308 (exit $ac_status); }; }; then
19309 ac_cv_type_pid_t
=yes
19311 echo "$as_me: failed program was:" >&5
19312 sed 's/^/| /' conftest.
$ac_ext >&5
19314 ac_cv_type_pid_t
=no
19317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19319 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19320 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19321 if test $ac_cv_type_pid_t = yes; then
19323 cat >>confdefs.h
<<_ACEOF
19324 #define HAVE_PID_T 1
19329 { echo "$as_me:$LINENO: checking for size_t" >&5
19330 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19331 if test "${ac_cv_type_size_t+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 cat >conftest.
$ac_ext <<_ACEOF
19337 cat confdefs.h
>>conftest.
$ac_ext
19338 cat >>conftest.
$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340 $ac_includes_default
19341 typedef size_t ac__type_new_;
19345 if ((ac__type_new_ *) 0)
19347 if (sizeof (ac__type_new_))
19353 rm -f conftest.
$ac_objext
19354 if { (ac_try
="$ac_compile"
19355 case "(($ac_try" in
19356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19357 *) ac_try_echo=$ac_try;;
19359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19360 (eval "$ac_compile") 2>conftest.er1
19362 grep -v '^ *+' conftest.er1 >conftest.err
19364 cat conftest.err >&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); } &&
19367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19368 { (case "(($ac_try" in
19369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19370 *) ac_try_echo
=$ac_try;;
19372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19373 (eval "$ac_try") 2>&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); }; } &&
19377 { ac_try
='test -s conftest.$ac_objext'
19378 { (case "(($ac_try" in
19379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19380 *) ac_try_echo=$ac_try;;
19382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19383 (eval "$ac_try") 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; }; then
19387 ac_cv_type_size_t=yes
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19392 ac_cv_type_size_t=no
19395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19398 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19399 if test $ac_cv_type_size_t = yes; then
19401 cat >>confdefs.h <<_ACEOF
19402 #define HAVE_SIZE_T 1
19407 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19408 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19409 if test "${ac_cv_type_ssize_t+set}" = set; then
19410 echo $ECHO_N "(cached) $ECHO_C" >&6
19412 cat >conftest.$ac_ext <<_ACEOF
19415 cat confdefs.h >>conftest.$ac_ext
19416 cat >>conftest.$ac_ext <<_ACEOF
19417 /* end confdefs.h. */
19418 $ac_includes_default
19419 typedef ssize_t ac__type_new_;
19423 if ((ac__type_new_ *) 0)
19425 if (sizeof (ac__type_new_))
19431 rm -f conftest.$ac_objext
19432 if { (ac_try="$ac_compile"
19433 case "(($ac_try" in
19434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19435 *) ac_try_echo
=$ac_try;;
19437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19438 (eval "$ac_compile") 2>conftest.er1
19440 grep -v '^ *+' conftest.er1
>conftest.err
19442 cat conftest.err
>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); } &&
19445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19446 { (case "(($ac_try" in
19447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19448 *) ac_try_echo=$ac_try;;
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_try") 2>&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); }; } &&
19455 { ac_try='test -s conftest.$ac_objext'
19456 { (case "(($ac_try" in
19457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19458 *) ac_try_echo
=$ac_try;;
19460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19461 (eval "$ac_try") 2>&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); }; }; then
19465 ac_cv_type_ssize_t
=yes
19467 echo "$as_me: failed program was:" >&5
19468 sed 's/^/| /' conftest.
$ac_ext >&5
19470 ac_cv_type_ssize_t
=no
19473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19475 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19476 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19477 if test $ac_cv_type_ssize_t = yes; then
19479 cat >>confdefs.h
<<_ACEOF
19480 #define HAVE_SSIZE_T 1
19485 { echo "$as_me:$LINENO: checking for long long" >&5
19486 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19487 if test "${ac_cv_type_long_long+set}" = set; then
19488 echo $ECHO_N "(cached) $ECHO_C" >&6
19490 cat >conftest.
$ac_ext <<_ACEOF
19493 cat confdefs.h
>>conftest.
$ac_ext
19494 cat >>conftest.
$ac_ext <<_ACEOF
19495 /* end confdefs.h. */
19496 $ac_includes_default
19497 typedef long long ac__type_new_;
19501 if ((ac__type_new_ *) 0)
19503 if (sizeof (ac__type_new_))
19509 rm -f conftest.
$ac_objext
19510 if { (ac_try
="$ac_compile"
19511 case "(($ac_try" in
19512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19513 *) ac_try_echo=$ac_try;;
19515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19516 (eval "$ac_compile") 2>conftest.er1
19518 grep -v '^ *+' conftest.er1 >conftest.err
19520 cat conftest.err >&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); } &&
19523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19524 { (case "(($ac_try" in
19525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19526 *) ac_try_echo
=$ac_try;;
19528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19529 (eval "$ac_try") 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; } &&
19533 { ac_try
='test -s conftest.$ac_objext'
19534 { (case "(($ac_try" in
19535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19536 *) ac_try_echo=$ac_try;;
19538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19539 (eval "$ac_try") 2>&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); }; }; then
19543 ac_cv_type_long_long=yes
19545 echo "$as_me: failed program was:" >&5
19546 sed 's/^/| /' conftest.$ac_ext >&5
19548 ac_cv_type_long_long=no
19551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19554 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19555 if test $ac_cv_type_long_long = yes; then
19557 cat >>confdefs.h <<_ACEOF
19558 #define HAVE_LONG_LONG 1
19563 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19564 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19565 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19566 echo $ECHO_N "(cached) $ECHO_C" >&6
19568 cat >conftest.$ac_ext <<_ACEOF
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19575 typedef fsblkcnt_t ac__type_new_;
19579 if ((ac__type_new_ *) 0)
19581 if (sizeof (ac__type_new_))
19587 rm -f conftest.$ac_objext
19588 if { (ac_try="$ac_compile"
19589 case "(($ac_try" in
19590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19591 *) ac_try_echo
=$ac_try;;
19593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19594 (eval "$ac_compile") 2>conftest.er1
19596 grep -v '^ *+' conftest.er1
>conftest.err
19598 cat conftest.err
>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19602 { (case "(($ac_try" in
19603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19604 *) ac_try_echo=$ac_try;;
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_try") 2>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; } &&
19611 { ac_try='test -s conftest.$ac_objext'
19612 { (case "(($ac_try" in
19613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19614 *) ac_try_echo
=$ac_try;;
19616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19617 (eval "$ac_try") 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; }; then
19621 ac_cv_type_fsblkcnt_t
=yes
19623 echo "$as_me: failed program was:" >&5
19624 sed 's/^/| /' conftest.
$ac_ext >&5
19626 ac_cv_type_fsblkcnt_t
=no
19629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19631 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19632 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19633 if test $ac_cv_type_fsblkcnt_t = yes; then
19635 cat >>confdefs.h
<<_ACEOF
19636 #define HAVE_FSBLKCNT_T 1
19641 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19642 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19643 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19646 cat >conftest.
$ac_ext <<_ACEOF
19649 cat confdefs.h
>>conftest.
$ac_ext
19650 cat >>conftest.
$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19653 typedef fsfilcnt_t ac__type_new_;
19657 if ((ac__type_new_ *) 0)
19659 if (sizeof (ac__type_new_))
19665 rm -f conftest.
$ac_objext
19666 if { (ac_try
="$ac_compile"
19667 case "(($ac_try" in
19668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19669 *) ac_try_echo=$ac_try;;
19671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19672 (eval "$ac_compile") 2>conftest.er1
19674 grep -v '^ *+' conftest.er1 >conftest.err
19676 cat conftest.err >&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); } &&
19679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19680 { (case "(($ac_try" in
19681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19682 *) ac_try_echo
=$ac_try;;
19684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19685 (eval "$ac_try") 2>&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; } &&
19689 { ac_try
='test -s conftest.$ac_objext'
19690 { (case "(($ac_try" in
19691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19692 *) ac_try_echo=$ac_try;;
19694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19695 (eval "$ac_try") 2>&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); }; }; then
19699 ac_cv_type_fsfilcnt_t=yes
19701 echo "$as_me: failed program was:" >&5
19702 sed 's/^/| /' conftest.$ac_ext >&5
19704 ac_cv_type_fsfilcnt_t=no
19707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19709 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19710 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19711 if test $ac_cv_type_fsfilcnt_t = yes; then
19713 cat >>confdefs.h <<_ACEOF
19714 #define HAVE_FSFILCNT_T 1
19720 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19721 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19722 if test "${ac_cv_type_sigset_t+set}" = set; then
19723 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 cat >conftest.$ac_ext <<_ACEOF
19728 cat confdefs.h >>conftest.$ac_ext
19729 cat >>conftest.$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731 #include <signal.h>
19733 typedef sigset_t ac__type_new_;
19737 if ((ac__type_new_ *) 0)
19739 if (sizeof (ac__type_new_))
19745 rm -f conftest.$ac_objext
19746 if { (ac_try="$ac_compile"
19747 case "(($ac_try" in
19748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19749 *) ac_try_echo
=$ac_try;;
19751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19752 (eval "$ac_compile") 2>conftest.er1
19754 grep -v '^ *+' conftest.er1
>conftest.err
19756 cat conftest.err
>&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } &&
19759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19760 { (case "(($ac_try" in
19761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19762 *) ac_try_echo=$ac_try;;
19764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19765 (eval "$ac_try") 2>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try='test -s conftest.$ac_objext'
19770 { (case "(($ac_try" in
19771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19772 *) ac_try_echo
=$ac_try;;
19774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19775 (eval "$ac_try") 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; }; then
19779 ac_cv_type_sigset_t
=yes
19781 echo "$as_me: failed program was:" >&5
19782 sed 's/^/| /' conftest.
$ac_ext >&5
19784 ac_cv_type_sigset_t
=no
19787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19789 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19790 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19791 if test $ac_cv_type_sigset_t = yes; then
19793 cat >>confdefs.h
<<_ACEOF
19794 #define HAVE_SIGSET_T 1
19800 { echo "$as_me:$LINENO: checking for request_sense" >&5
19801 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19802 if test "${ac_cv_type_request_sense+set}" = set; then
19803 echo $ECHO_N "(cached) $ECHO_C" >&6
19805 cat >conftest.
$ac_ext <<_ACEOF
19808 cat confdefs.h
>>conftest.
$ac_ext
19809 cat >>conftest.
$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19811 #include <linux/cdrom.h>
19813 typedef request_sense ac__type_new_;
19817 if ((ac__type_new_ *) 0)
19819 if (sizeof (ac__type_new_))
19825 rm -f conftest.
$ac_objext
19826 if { (ac_try
="$ac_compile"
19827 case "(($ac_try" in
19828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19829 *) ac_try_echo=$ac_try;;
19831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19832 (eval "$ac_compile") 2>conftest.er1
19834 grep -v '^ *+' conftest.er1 >conftest.err
19836 cat conftest.err >&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } &&
19839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19840 { (case "(($ac_try" in
19841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19842 *) ac_try_echo
=$ac_try;;
19844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19845 (eval "$ac_try") 2>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; } &&
19849 { ac_try
='test -s conftest.$ac_objext'
19850 { (case "(($ac_try" in
19851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19852 *) ac_try_echo=$ac_try;;
19854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19855 (eval "$ac_try") 2>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; }; then
19859 ac_cv_type_request_sense=yes
19861 echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.$ac_ext >&5
19864 ac_cv_type_request_sense=no
19867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19869 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19870 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19871 if test $ac_cv_type_request_sense = yes; then
19873 cat >>confdefs.h <<_ACEOF
19874 #define HAVE_REQUEST_SENSE 1
19881 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19882 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19883 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19884 echo $ECHO_N "(cached) $ECHO_C" >&6
19886 cat >conftest.$ac_ext <<_ACEOF
19889 cat confdefs.h >>conftest.$ac_ext
19890 cat >>conftest.$ac_ext <<_ACEOF
19891 /* end confdefs.h. */
19892 #ifdef HAVE_LINUX_INPUT_H
19893 #include <linux/input.h>
19899 static struct ff_effect ac_aggr;
19900 if (ac_aggr.direction)
19906 rm -f conftest.$ac_objext
19907 if { (ac_try="$ac_compile"
19908 case "(($ac_try" in
19909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19910 *) ac_try_echo
=$ac_try;;
19912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19913 (eval "$ac_compile") 2>conftest.er1
19915 grep -v '^ *+' conftest.er1
>conftest.err
19917 cat conftest.err
>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19921 { (case "(($ac_try" in
19922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19923 *) ac_try_echo=$ac_try;;
19925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19926 (eval "$ac_try") 2>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; } &&
19930 { ac_try='test -s conftest.$ac_objext'
19931 { (case "(($ac_try" in
19932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19933 *) ac_try_echo
=$ac_try;;
19935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19936 (eval "$ac_try") 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; }; then
19940 ac_cv_member_struct_ff_effect_direction
=yes
19942 echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.
$ac_ext >&5
19945 cat >conftest.
$ac_ext <<_ACEOF
19948 cat confdefs.h
>>conftest.
$ac_ext
19949 cat >>conftest.
$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 #ifdef HAVE_LINUX_INPUT_H
19952 #include <linux/input.h>
19958 static struct ff_effect ac_aggr;
19959 if (sizeof ac_aggr.direction)
19965 rm -f conftest.
$ac_objext
19966 if { (ac_try
="$ac_compile"
19967 case "(($ac_try" in
19968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19969 *) ac_try_echo=$ac_try;;
19971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19972 (eval "$ac_compile") 2>conftest.er1
19974 grep -v '^ *+' conftest.er1 >conftest.err
19976 cat conftest.err >&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } &&
19979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19980 { (case "(($ac_try" in
19981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19982 *) ac_try_echo
=$ac_try;;
19984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19985 (eval "$ac_try") 2>&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); }; } &&
19989 { ac_try
='test -s conftest.$ac_objext'
19990 { (case "(($ac_try" in
19991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19992 *) ac_try_echo=$ac_try;;
19994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19995 (eval "$ac_try") 2>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; }; then
19999 ac_cv_member_struct_ff_effect_direction=yes
20001 echo "$as_me: failed program was:" >&5
20002 sed 's/^/| /' conftest.$ac_ext >&5
20004 ac_cv_member_struct_ff_effect_direction=no
20007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20012 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20013 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20014 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20016 cat >>confdefs.h <<_ACEOF
20017 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20024 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20025 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20026 if test "${wine_cv_have_sigaddset+set}" = set; then
20027 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 cat >conftest.$ac_ext <<_ACEOF
20032 cat confdefs.h >>conftest.$ac_ext
20033 cat >>conftest.$ac_ext <<_ACEOF
20034 /* end confdefs.h. */
20035 #include <signal.h>
20039 sigset_t set; sigaddset(&set,SIGTERM);
20044 rm -f conftest.$ac_objext conftest$ac_exeext
20045 if { (ac_try="$ac_link"
20046 case "(($ac_try" in
20047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20048 *) ac_try_echo
=$ac_try;;
20050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20051 (eval "$ac_link") 2>conftest.er1
20053 grep -v '^ *+' conftest.er1
>conftest.err
20055 cat conftest.err
>&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); } &&
20058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20059 { (case "(($ac_try" in
20060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20061 *) ac_try_echo=$ac_try;;
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_try") 2>&5
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); }; } &&
20068 { ac_try='test -s conftest$ac_exeext'
20069 { (case "(($ac_try" in
20070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20071 *) ac_try_echo
=$ac_try;;
20073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20074 (eval "$ac_try") 2>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; }; then
20078 wine_cv_have_sigaddset
=yes
20080 echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.
$ac_ext >&5
20083 wine_cv_have_sigaddset
=no
20086 rm -f core conftest.err conftest.
$ac_objext \
20087 conftest
$ac_exeext conftest.
$ac_ext
20089 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20090 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20091 if test "$wine_cv_have_sigaddset" = "yes"
20094 cat >>confdefs.h
<<\_ACEOF
20095 #define HAVE_SIGADDSET 1
20101 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20102 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20103 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20104 echo $ECHO_N "(cached) $ECHO_C" >&6
20106 cat >conftest.
$ac_ext <<_ACEOF
20109 cat confdefs.h
>>conftest.
$ac_ext
20110 cat >>conftest.
$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20121 struct hostent *result;
20128 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20129 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20135 rm -f conftest.
$ac_objext conftest
$ac_exeext
20136 if { (ac_try
="$ac_link"
20137 case "(($ac_try" in
20138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20139 *) ac_try_echo=$ac_try;;
20141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20142 (eval "$ac_link") 2>conftest.er1
20144 grep -v '^ *+' conftest.er1 >conftest.err
20146 cat conftest.err >&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } &&
20149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20150 { (case "(($ac_try" in
20151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20152 *) ac_try_echo
=$ac_try;;
20154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20155 (eval "$ac_try") 2>&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); }; } &&
20159 { ac_try
='test -s conftest$ac_exeext'
20160 { (case "(($ac_try" in
20161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20162 *) ac_try_echo=$ac_try;;
20164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20165 (eval "$ac_try") 2>&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); }; }; then
20169 wine_cv_linux_gethostbyname_r_6=yes
20171 echo "$as_me: failed program was:" >&5
20172 sed 's/^/| /' conftest.$ac_ext >&5
20174 wine_cv_linux_gethostbyname_r_6=no
20178 rm -f core conftest.err conftest.$ac_objext \
20179 conftest$ac_exeext conftest.$ac_ext
20182 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20183 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20184 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20187 cat >>confdefs.h <<\_ACEOF
20188 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20193 if test "$ac_cv_header_linux_joystick_h" = "yes"
20195 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20196 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20197 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20200 cat >conftest.$ac_ext <<_ACEOF
20203 cat confdefs.h >>conftest.$ac_ext
20204 cat >>conftest.$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20207 #include <sys/ioctl.h>
20208 #include <linux/joystick.h>
20210 struct js_event blub;
20211 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20212 #error "no 2.2 header"
20223 rm -f conftest.$ac_objext
20224 if { (ac_try="$ac_compile"
20225 case "(($ac_try" in
20226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20227 *) ac_try_echo
=$ac_try;;
20229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20230 (eval "$ac_compile") 2>conftest.er1
20232 grep -v '^ *+' conftest.er1
>conftest.err
20234 cat conftest.err
>&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); } &&
20237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20238 { (case "(($ac_try" in
20239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20240 *) ac_try_echo=$ac_try;;
20242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20243 (eval "$ac_try") 2>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); }; } &&
20247 { ac_try='test -s conftest.$ac_objext'
20248 { (case "(($ac_try" in
20249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20250 *) ac_try_echo
=$ac_try;;
20252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20253 (eval "$ac_try") 2>&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); }; }; then
20257 wine_cv_linux_joystick_22_api
=yes
20259 echo "$as_me: failed program was:" >&5
20260 sed 's/^/| /' conftest.
$ac_ext >&5
20262 wine_cv_linux_joystick_22_api
=no
20265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20268 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20269 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20270 if test "$wine_cv_linux_joystick_22_api" = "yes"
20273 cat >>confdefs.h
<<\_ACEOF
20274 #define HAVE_LINUX_22_JOYSTICK_API 1
20281 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20282 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20283 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20284 echo $ECHO_N "(cached) $ECHO_C" >&6
20286 cat >conftest.
$ac_ext <<_ACEOF
20289 cat confdefs.h
>>conftest.
$ac_ext
20290 cat >>conftest.
$ac_ext <<_ACEOF
20291 /* end confdefs.h. */
20292 #include <sys/types.h>
20293 #ifdef HAVE_SYS_PARAM_H
20294 # include <sys/param.h>
20296 #ifdef HAVE_SYS_MOUNT_H
20297 # include <sys/mount.h>
20299 #ifdef HAVE_SYS_VFS_H
20300 # include <sys/vfs.h>
20302 #ifdef HAVE_SYS_STATFS_H
20303 # include <sys/statfs.h>
20309 static struct statfs ac_aggr;
20310 if (ac_aggr.f_bfree)
20316 rm -f conftest.
$ac_objext
20317 if { (ac_try
="$ac_compile"
20318 case "(($ac_try" in
20319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20320 *) ac_try_echo=$ac_try;;
20322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20323 (eval "$ac_compile") 2>conftest.er1
20325 grep -v '^ *+' conftest.er1 >conftest.err
20327 cat conftest.err >&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); } &&
20330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20331 { (case "(($ac_try" in
20332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20333 *) ac_try_echo
=$ac_try;;
20335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20336 (eval "$ac_try") 2>&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); }; } &&
20340 { ac_try
='test -s conftest.$ac_objext'
20341 { (case "(($ac_try" in
20342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20343 *) ac_try_echo=$ac_try;;
20345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20346 (eval "$ac_try") 2>&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; }; then
20350 ac_cv_member_struct_statfs_f_bfree=yes
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20355 cat >conftest.$ac_ext <<_ACEOF
20358 cat confdefs.h >>conftest.$ac_ext
20359 cat >>conftest.$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20361 #include <sys/types.h>
20362 #ifdef HAVE_SYS_PARAM_H
20363 # include <sys/param.h>
20365 #ifdef HAVE_SYS_MOUNT_H
20366 # include <sys/mount.h>
20368 #ifdef HAVE_SYS_VFS_H
20369 # include <sys/vfs.h>
20371 #ifdef HAVE_SYS_STATFS_H
20372 # include <sys/statfs.h>
20378 static struct statfs ac_aggr;
20379 if (sizeof ac_aggr.f_bfree)
20385 rm -f conftest.$ac_objext
20386 if { (ac_try="$ac_compile"
20387 case "(($ac_try" in
20388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20389 *) ac_try_echo
=$ac_try;;
20391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20392 (eval "$ac_compile") 2>conftest.er1
20394 grep -v '^ *+' conftest.er1
>conftest.err
20396 cat conftest.err
>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } &&
20399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20400 { (case "(($ac_try" in
20401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20402 *) ac_try_echo=$ac_try;;
20404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20405 (eval "$ac_try") 2>&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; } &&
20409 { ac_try='test -s conftest.$ac_objext'
20410 { (case "(($ac_try" in
20411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20412 *) ac_try_echo
=$ac_try;;
20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20415 (eval "$ac_try") 2>&5
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; }; then
20419 ac_cv_member_struct_statfs_f_bfree
=yes
20421 echo "$as_me: failed program was:" >&5
20422 sed 's/^/| /' conftest.
$ac_ext >&5
20424 ac_cv_member_struct_statfs_f_bfree
=no
20427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20432 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20433 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20434 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20436 cat >>confdefs.h
<<_ACEOF
20437 #define HAVE_STRUCT_STATFS_F_BFREE 1
20442 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20443 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20444 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 cat >conftest.
$ac_ext <<_ACEOF
20450 cat confdefs.h
>>conftest.
$ac_ext
20451 cat >>conftest.
$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453 #include <sys/types.h>
20454 #ifdef HAVE_SYS_PARAM_H
20455 # include <sys/param.h>
20457 #ifdef HAVE_SYS_MOUNT_H
20458 # include <sys/mount.h>
20460 #ifdef HAVE_SYS_VFS_H
20461 # include <sys/vfs.h>
20463 #ifdef HAVE_SYS_STATFS_H
20464 # include <sys/statfs.h>
20470 static struct statfs ac_aggr;
20471 if (ac_aggr.f_bavail)
20477 rm -f conftest.
$ac_objext
20478 if { (ac_try
="$ac_compile"
20479 case "(($ac_try" in
20480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20481 *) ac_try_echo=$ac_try;;
20483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20484 (eval "$ac_compile") 2>conftest.er1
20486 grep -v '^ *+' conftest.er1 >conftest.err
20488 cat conftest.err >&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } &&
20491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20492 { (case "(($ac_try" in
20493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20494 *) ac_try_echo
=$ac_try;;
20496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20497 (eval "$ac_try") 2>&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); }; } &&
20501 { ac_try
='test -s conftest.$ac_objext'
20502 { (case "(($ac_try" in
20503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_try") 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; }; then
20511 ac_cv_member_struct_statfs_f_bavail=yes
20513 echo "$as_me: failed program was:" >&5
20514 sed 's/^/| /' conftest.$ac_ext >&5
20516 cat >conftest.$ac_ext <<_ACEOF
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 #include <sys/types.h>
20523 #ifdef HAVE_SYS_PARAM_H
20524 # include <sys/param.h>
20526 #ifdef HAVE_SYS_MOUNT_H
20527 # include <sys/mount.h>
20529 #ifdef HAVE_SYS_VFS_H
20530 # include <sys/vfs.h>
20532 #ifdef HAVE_SYS_STATFS_H
20533 # include <sys/statfs.h>
20539 static struct statfs ac_aggr;
20540 if (sizeof ac_aggr.f_bavail)
20546 rm -f conftest.$ac_objext
20547 if { (ac_try="$ac_compile"
20548 case "(($ac_try" in
20549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20550 *) ac_try_echo
=$ac_try;;
20552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20553 (eval "$ac_compile") 2>conftest.er1
20555 grep -v '^ *+' conftest.er1
>conftest.err
20557 cat conftest.err
>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); } &&
20560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20561 { (case "(($ac_try" in
20562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_try") 2>&5
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); }; } &&
20570 { ac_try='test -s conftest.$ac_objext'
20571 { (case "(($ac_try" in
20572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20573 *) ac_try_echo
=$ac_try;;
20575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20576 (eval "$ac_try") 2>&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; }; then
20580 ac_cv_member_struct_statfs_f_bavail
=yes
20582 echo "$as_me: failed program was:" >&5
20583 sed 's/^/| /' conftest.
$ac_ext >&5
20585 ac_cv_member_struct_statfs_f_bavail
=no
20588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20593 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20594 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20595 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20597 cat >>confdefs.h
<<_ACEOF
20598 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20603 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20604 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20605 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20606 echo $ECHO_N "(cached) $ECHO_C" >&6
20608 cat >conftest.
$ac_ext <<_ACEOF
20611 cat confdefs.h
>>conftest.
$ac_ext
20612 cat >>conftest.
$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 #include <sys/types.h>
20615 #ifdef HAVE_SYS_PARAM_H
20616 # include <sys/param.h>
20618 #ifdef HAVE_SYS_MOUNT_H
20619 # include <sys/mount.h>
20621 #ifdef HAVE_SYS_VFS_H
20622 # include <sys/vfs.h>
20624 #ifdef HAVE_SYS_STATFS_H
20625 # include <sys/statfs.h>
20631 static struct statfs ac_aggr;
20632 if (ac_aggr.f_frsize)
20638 rm -f conftest.
$ac_objext
20639 if { (ac_try
="$ac_compile"
20640 case "(($ac_try" in
20641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20642 *) ac_try_echo=$ac_try;;
20644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20645 (eval "$ac_compile") 2>conftest.er1
20647 grep -v '^ *+' conftest.er1 >conftest.err
20649 cat conftest.err >&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); } &&
20652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20653 { (case "(($ac_try" in
20654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20655 *) ac_try_echo
=$ac_try;;
20657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20658 (eval "$ac_try") 2>&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); }; } &&
20662 { ac_try
='test -s conftest.$ac_objext'
20663 { (case "(($ac_try" in
20664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20665 *) ac_try_echo=$ac_try;;
20667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20668 (eval "$ac_try") 2>&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; }; then
20672 ac_cv_member_struct_statfs_f_frsize=yes
20674 echo "$as_me: failed program was:" >&5
20675 sed 's/^/| /' conftest.$ac_ext >&5
20677 cat >conftest.$ac_ext <<_ACEOF
20680 cat confdefs.h >>conftest.$ac_ext
20681 cat >>conftest.$ac_ext <<_ACEOF
20682 /* end confdefs.h. */
20683 #include <sys/types.h>
20684 #ifdef HAVE_SYS_PARAM_H
20685 # include <sys/param.h>
20687 #ifdef HAVE_SYS_MOUNT_H
20688 # include <sys/mount.h>
20690 #ifdef HAVE_SYS_VFS_H
20691 # include <sys/vfs.h>
20693 #ifdef HAVE_SYS_STATFS_H
20694 # include <sys/statfs.h>
20700 static struct statfs ac_aggr;
20701 if (sizeof ac_aggr.f_frsize)
20707 rm -f conftest.$ac_objext
20708 if { (ac_try="$ac_compile"
20709 case "(($ac_try" in
20710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20711 *) ac_try_echo
=$ac_try;;
20713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20714 (eval "$ac_compile") 2>conftest.er1
20716 grep -v '^ *+' conftest.er1
>conftest.err
20718 cat conftest.err
>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); } &&
20721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20722 { (case "(($ac_try" in
20723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20724 *) ac_try_echo=$ac_try;;
20726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20727 (eval "$ac_try") 2>&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); }; } &&
20731 { ac_try='test -s conftest.$ac_objext'
20732 { (case "(($ac_try" in
20733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20734 *) ac_try_echo
=$ac_try;;
20736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20737 (eval "$ac_try") 2>&5
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); }; }; then
20741 ac_cv_member_struct_statfs_f_frsize
=yes
20743 echo "$as_me: failed program was:" >&5
20744 sed 's/^/| /' conftest.
$ac_ext >&5
20746 ac_cv_member_struct_statfs_f_frsize
=no
20749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20754 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20755 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20756 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20758 cat >>confdefs.h
<<_ACEOF
20759 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20764 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20765 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20766 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20767 echo $ECHO_N "(cached) $ECHO_C" >&6
20769 cat >conftest.
$ac_ext <<_ACEOF
20772 cat confdefs.h
>>conftest.
$ac_ext
20773 cat >>conftest.
$ac_ext <<_ACEOF
20774 /* end confdefs.h. */
20775 #include <sys/types.h>
20776 #ifdef HAVE_SYS_PARAM_H
20777 # include <sys/param.h>
20779 #ifdef HAVE_SYS_MOUNT_H
20780 # include <sys/mount.h>
20782 #ifdef HAVE_SYS_VFS_H
20783 # include <sys/vfs.h>
20785 #ifdef HAVE_SYS_STATFS_H
20786 # include <sys/statfs.h>
20792 static struct statfs ac_aggr;
20793 if (ac_aggr.f_ffree)
20799 rm -f conftest.
$ac_objext
20800 if { (ac_try
="$ac_compile"
20801 case "(($ac_try" in
20802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20803 *) ac_try_echo=$ac_try;;
20805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20806 (eval "$ac_compile") 2>conftest.er1
20808 grep -v '^ *+' conftest.er1 >conftest.err
20810 cat conftest.err >&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } &&
20813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20814 { (case "(($ac_try" in
20815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20816 *) ac_try_echo
=$ac_try;;
20818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20819 (eval "$ac_try") 2>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; } &&
20823 { ac_try
='test -s conftest.$ac_objext'
20824 { (case "(($ac_try" in
20825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20826 *) ac_try_echo=$ac_try;;
20828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20829 (eval "$ac_try") 2>&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; }; then
20833 ac_cv_member_struct_statfs_f_ffree=yes
20835 echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.$ac_ext >&5
20838 cat >conftest.$ac_ext <<_ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 #include <sys/types.h>
20845 #ifdef HAVE_SYS_PARAM_H
20846 # include <sys/param.h>
20848 #ifdef HAVE_SYS_MOUNT_H
20849 # include <sys/mount.h>
20851 #ifdef HAVE_SYS_VFS_H
20852 # include <sys/vfs.h>
20854 #ifdef HAVE_SYS_STATFS_H
20855 # include <sys/statfs.h>
20861 static struct statfs ac_aggr;
20862 if (sizeof ac_aggr.f_ffree)
20868 rm -f conftest.$ac_objext
20869 if { (ac_try="$ac_compile"
20870 case "(($ac_try" in
20871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20872 *) ac_try_echo
=$ac_try;;
20874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_compile") 2>conftest.er1
20877 grep -v '^ *+' conftest.er1
>conftest.err
20879 cat conftest.err
>&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } &&
20882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20883 { (case "(($ac_try" in
20884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20885 *) ac_try_echo=$ac_try;;
20887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20888 (eval "$ac_try") 2>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; } &&
20892 { ac_try='test -s conftest.$ac_objext'
20893 { (case "(($ac_try" in
20894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20895 *) ac_try_echo
=$ac_try;;
20897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20898 (eval "$ac_try") 2>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; }; then
20902 ac_cv_member_struct_statfs_f_ffree
=yes
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.
$ac_ext >&5
20907 ac_cv_member_struct_statfs_f_ffree
=no
20910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20915 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
20916 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
20917 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
20919 cat >>confdefs.h
<<_ACEOF
20920 #define HAVE_STRUCT_STATFS_F_FFREE 1
20925 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
20926 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
20927 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
20928 echo $ECHO_N "(cached) $ECHO_C" >&6
20930 cat >conftest.
$ac_ext <<_ACEOF
20933 cat confdefs.h
>>conftest.
$ac_ext
20934 cat >>conftest.
$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20936 #include <sys/types.h>
20937 #ifdef HAVE_SYS_PARAM_H
20938 # include <sys/param.h>
20940 #ifdef HAVE_SYS_MOUNT_H
20941 # include <sys/mount.h>
20943 #ifdef HAVE_SYS_VFS_H
20944 # include <sys/vfs.h>
20946 #ifdef HAVE_SYS_STATFS_H
20947 # include <sys/statfs.h>
20953 static struct statfs ac_aggr;
20954 if (ac_aggr.f_favail)
20960 rm -f conftest.
$ac_objext
20961 if { (ac_try
="$ac_compile"
20962 case "(($ac_try" in
20963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20964 *) ac_try_echo=$ac_try;;
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_compile") 2>conftest.er1
20969 grep -v '^ *+' conftest.er1 >conftest.err
20971 cat conftest.err >&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } &&
20974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20975 { (case "(($ac_try" in
20976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20977 *) ac_try_echo
=$ac_try;;
20979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20980 (eval "$ac_try") 2>&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); }; } &&
20984 { ac_try
='test -s conftest.$ac_objext'
20985 { (case "(($ac_try" in
20986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20987 *) ac_try_echo=$ac_try;;
20989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20990 (eval "$ac_try") 2>&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); }; }; then
20994 ac_cv_member_struct_statfs_f_favail=yes
20996 echo "$as_me: failed program was:" >&5
20997 sed 's/^/| /' conftest.$ac_ext >&5
20999 cat >conftest.$ac_ext <<_ACEOF
21002 cat confdefs.h >>conftest.$ac_ext
21003 cat >>conftest.$ac_ext <<_ACEOF
21004 /* end confdefs.h. */
21005 #include <sys/types.h>
21006 #ifdef HAVE_SYS_PARAM_H
21007 # include <sys/param.h>
21009 #ifdef HAVE_SYS_MOUNT_H
21010 # include <sys/mount.h>
21012 #ifdef HAVE_SYS_VFS_H
21013 # include <sys/vfs.h>
21015 #ifdef HAVE_SYS_STATFS_H
21016 # include <sys/statfs.h>
21022 static struct statfs ac_aggr;
21023 if (sizeof ac_aggr.f_favail)
21029 rm -f conftest.$ac_objext
21030 if { (ac_try="$ac_compile"
21031 case "(($ac_try" in
21032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21033 *) ac_try_echo
=$ac_try;;
21035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21036 (eval "$ac_compile") 2>conftest.er1
21038 grep -v '^ *+' conftest.er1
>conftest.err
21040 cat conftest.err
>&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } &&
21043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21044 { (case "(($ac_try" in
21045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21046 *) ac_try_echo=$ac_try;;
21048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21049 (eval "$ac_try") 2>&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); }; } &&
21053 { ac_try='test -s conftest.$ac_objext'
21054 { (case "(($ac_try" in
21055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21056 *) ac_try_echo
=$ac_try;;
21058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21059 (eval "$ac_try") 2>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; }; then
21063 ac_cv_member_struct_statfs_f_favail
=yes
21065 echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.
$ac_ext >&5
21068 ac_cv_member_struct_statfs_f_favail
=no
21071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21076 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21077 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21078 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21080 cat >>confdefs.h
<<_ACEOF
21081 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21086 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21087 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21088 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21089 echo $ECHO_N "(cached) $ECHO_C" >&6
21091 cat >conftest.
$ac_ext <<_ACEOF
21094 cat confdefs.h
>>conftest.
$ac_ext
21095 cat >>conftest.
$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 #include <sys/types.h>
21098 #ifdef HAVE_SYS_PARAM_H
21099 # include <sys/param.h>
21101 #ifdef HAVE_SYS_MOUNT_H
21102 # include <sys/mount.h>
21104 #ifdef HAVE_SYS_VFS_H
21105 # include <sys/vfs.h>
21107 #ifdef HAVE_SYS_STATFS_H
21108 # include <sys/statfs.h>
21114 static struct statfs ac_aggr;
21115 if (ac_aggr.f_namelen)
21121 rm -f conftest.
$ac_objext
21122 if { (ac_try
="$ac_compile"
21123 case "(($ac_try" in
21124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21125 *) ac_try_echo=$ac_try;;
21127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21128 (eval "$ac_compile") 2>conftest.er1
21130 grep -v '^ *+' conftest.er1 >conftest.err
21132 cat conftest.err >&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } &&
21135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21136 { (case "(($ac_try" in
21137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21138 *) ac_try_echo
=$ac_try;;
21140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21141 (eval "$ac_try") 2>&5
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); }; } &&
21145 { ac_try
='test -s conftest.$ac_objext'
21146 { (case "(($ac_try" in
21147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21148 *) ac_try_echo=$ac_try;;
21150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21151 (eval "$ac_try") 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_member_struct_statfs_f_namelen=yes
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.$ac_ext >&5
21160 cat >conftest.$ac_ext <<_ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 #include <sys/types.h>
21167 #ifdef HAVE_SYS_PARAM_H
21168 # include <sys/param.h>
21170 #ifdef HAVE_SYS_MOUNT_H
21171 # include <sys/mount.h>
21173 #ifdef HAVE_SYS_VFS_H
21174 # include <sys/vfs.h>
21176 #ifdef HAVE_SYS_STATFS_H
21177 # include <sys/statfs.h>
21183 static struct statfs ac_aggr;
21184 if (sizeof ac_aggr.f_namelen)
21190 rm -f conftest.$ac_objext
21191 if { (ac_try="$ac_compile"
21192 case "(($ac_try" in
21193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21194 *) ac_try_echo
=$ac_try;;
21196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21197 (eval "$ac_compile") 2>conftest.er1
21199 grep -v '^ *+' conftest.er1
>conftest.err
21201 cat conftest.err
>&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); } &&
21204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21205 { (case "(($ac_try" in
21206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21207 *) ac_try_echo=$ac_try;;
21209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21210 (eval "$ac_try") 2>&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; } &&
21214 { ac_try='test -s conftest.$ac_objext'
21215 { (case "(($ac_try" in
21216 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21217 *) ac_try_echo
=$ac_try;;
21219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21220 (eval "$ac_try") 2>&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); }; }; then
21224 ac_cv_member_struct_statfs_f_namelen
=yes
21226 echo "$as_me: failed program was:" >&5
21227 sed 's/^/| /' conftest.
$ac_ext >&5
21229 ac_cv_member_struct_statfs_f_namelen
=no
21232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21237 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21238 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21239 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21241 cat >>confdefs.h
<<_ACEOF
21242 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21249 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21250 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21251 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21252 echo $ECHO_N "(cached) $ECHO_C" >&6
21254 cat >conftest.
$ac_ext <<_ACEOF
21257 cat confdefs.h
>>conftest.
$ac_ext
21258 cat >>conftest.
$ac_ext <<_ACEOF
21259 /* end confdefs.h. */
21260 #ifdef HAVE_SYS_STATVFS_H
21261 #include <sys/statvfs.h>
21267 static struct statvfs ac_aggr;
21268 if (ac_aggr.f_blocks)
21274 rm -f conftest.
$ac_objext
21275 if { (ac_try
="$ac_compile"
21276 case "(($ac_try" in
21277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21278 *) ac_try_echo=$ac_try;;
21280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21281 (eval "$ac_compile") 2>conftest.er1
21283 grep -v '^ *+' conftest.er1 >conftest.err
21285 cat conftest.err >&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } &&
21288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21289 { (case "(($ac_try" in
21290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21291 *) ac_try_echo
=$ac_try;;
21293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21294 (eval "$ac_try") 2>&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); }; } &&
21298 { ac_try
='test -s conftest.$ac_objext'
21299 { (case "(($ac_try" in
21300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21301 *) ac_try_echo=$ac_try;;
21303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21304 (eval "$ac_try") 2>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); }; }; then
21308 ac_cv_member_struct_statvfs_f_blocks=yes
21310 echo "$as_me: failed program was:" >&5
21311 sed 's/^/| /' conftest.$ac_ext >&5
21313 cat >conftest.$ac_ext <<_ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21319 #ifdef HAVE_SYS_STATVFS_H
21320 #include <sys/statvfs.h>
21326 static struct statvfs ac_aggr;
21327 if (sizeof ac_aggr.f_blocks)
21333 rm -f conftest.$ac_objext
21334 if { (ac_try="$ac_compile"
21335 case "(($ac_try" in
21336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21337 *) ac_try_echo
=$ac_try;;
21339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21340 (eval "$ac_compile") 2>conftest.er1
21342 grep -v '^ *+' conftest.er1
>conftest.err
21344 cat conftest.err
>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); } &&
21347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21348 { (case "(($ac_try" in
21349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21350 *) ac_try_echo=$ac_try;;
21352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21353 (eval "$ac_try") 2>&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; } &&
21357 { ac_try='test -s conftest.$ac_objext'
21358 { (case "(($ac_try" in
21359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21360 *) ac_try_echo
=$ac_try;;
21362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21363 (eval "$ac_try") 2>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); }; }; then
21367 ac_cv_member_struct_statvfs_f_blocks
=yes
21369 echo "$as_me: failed program was:" >&5
21370 sed 's/^/| /' conftest.
$ac_ext >&5
21372 ac_cv_member_struct_statvfs_f_blocks
=no
21375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21380 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21381 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21382 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21384 cat >>confdefs.h
<<_ACEOF
21385 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21392 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21393 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21394 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21395 echo $ECHO_N "(cached) $ECHO_C" >&6
21397 cat >conftest.
$ac_ext <<_ACEOF
21400 cat confdefs.h
>>conftest.
$ac_ext
21401 cat >>conftest.
$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21403 #include <sys/types.h>
21404 #ifdef HAVE_SYS_SOCKET_H
21405 # include <sys/socket.h>
21407 #ifdef HAVE_SYS_UN_H
21408 # include <sys/un.h>
21414 static struct msghdr ac_aggr;
21415 if (ac_aggr.msg_accrights)
21421 rm -f conftest.
$ac_objext
21422 if { (ac_try
="$ac_compile"
21423 case "(($ac_try" in
21424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21425 *) ac_try_echo=$ac_try;;
21427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21428 (eval "$ac_compile") 2>conftest.er1
21430 grep -v '^ *+' conftest.er1 >conftest.err
21432 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } &&
21435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21436 { (case "(($ac_try" in
21437 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21438 *) ac_try_echo
=$ac_try;;
21440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21441 (eval "$ac_try") 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; } &&
21445 { ac_try
='test -s conftest.$ac_objext'
21446 { (case "(($ac_try" in
21447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21448 *) ac_try_echo=$ac_try;;
21450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21451 (eval "$ac_try") 2>&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_member_struct_msghdr_msg_accrights=yes
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.$ac_ext >&5
21460 cat >conftest.$ac_ext <<_ACEOF
21463 cat confdefs.h >>conftest.$ac_ext
21464 cat >>conftest.$ac_ext <<_ACEOF
21465 /* end confdefs.h. */
21466 #include <sys/types.h>
21467 #ifdef HAVE_SYS_SOCKET_H
21468 # include <sys/socket.h>
21470 #ifdef HAVE_SYS_UN_H
21471 # include <sys/un.h>
21477 static struct msghdr ac_aggr;
21478 if (sizeof ac_aggr.msg_accrights)
21484 rm -f conftest.$ac_objext
21485 if { (ac_try="$ac_compile"
21486 case "(($ac_try" in
21487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21488 *) ac_try_echo
=$ac_try;;
21490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21491 (eval "$ac_compile") 2>conftest.er1
21493 grep -v '^ *+' conftest.er1
>conftest.err
21495 cat conftest.err
>&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); } &&
21498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21499 { (case "(($ac_try" in
21500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_try") 2>&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); }; } &&
21508 { ac_try='test -s conftest.$ac_objext'
21509 { (case "(($ac_try" in
21510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21511 *) ac_try_echo
=$ac_try;;
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_try") 2>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_member_struct_msghdr_msg_accrights
=yes
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.
$ac_ext >&5
21523 ac_cv_member_struct_msghdr_msg_accrights
=no
21526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21531 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21532 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21533 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21535 cat >>confdefs.h
<<_ACEOF
21536 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21541 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21542 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21543 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21544 echo $ECHO_N "(cached) $ECHO_C" >&6
21546 cat >conftest.
$ac_ext <<_ACEOF
21549 cat confdefs.h
>>conftest.
$ac_ext
21550 cat >>conftest.
$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21552 #include <sys/types.h>
21553 #ifdef HAVE_SYS_SOCKET_H
21554 # include <sys/socket.h>
21556 #ifdef HAVE_SYS_UN_H
21557 # include <sys/un.h>
21563 static struct sockaddr ac_aggr;
21564 if (ac_aggr.sa_len)
21570 rm -f conftest.
$ac_objext
21571 if { (ac_try
="$ac_compile"
21572 case "(($ac_try" in
21573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21574 *) ac_try_echo=$ac_try;;
21576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21577 (eval "$ac_compile") 2>conftest.er1
21579 grep -v '^ *+' conftest.er1 >conftest.err
21581 cat conftest.err >&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } &&
21584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21585 { (case "(($ac_try" in
21586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21587 *) ac_try_echo
=$ac_try;;
21589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21590 (eval "$ac_try") 2>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; } &&
21594 { ac_try
='test -s conftest.$ac_objext'
21595 { (case "(($ac_try" in
21596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_try") 2>&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; }; then
21604 ac_cv_member_struct_sockaddr_sa_len=yes
21606 echo "$as_me: failed program was:" >&5
21607 sed 's/^/| /' conftest.$ac_ext >&5
21609 cat >conftest.$ac_ext <<_ACEOF
21612 cat confdefs.h >>conftest.$ac_ext
21613 cat >>conftest.$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 #include <sys/types.h>
21616 #ifdef HAVE_SYS_SOCKET_H
21617 # include <sys/socket.h>
21619 #ifdef HAVE_SYS_UN_H
21620 # include <sys/un.h>
21626 static struct sockaddr ac_aggr;
21627 if (sizeof ac_aggr.sa_len)
21633 rm -f conftest.$ac_objext
21634 if { (ac_try="$ac_compile"
21635 case "(($ac_try" in
21636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21637 *) ac_try_echo
=$ac_try;;
21639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21640 (eval "$ac_compile") 2>conftest.er1
21642 grep -v '^ *+' conftest.er1
>conftest.err
21644 cat conftest.err
>&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); } &&
21647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21648 { (case "(($ac_try" in
21649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21650 *) ac_try_echo=$ac_try;;
21652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21653 (eval "$ac_try") 2>&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); }; } &&
21657 { ac_try='test -s conftest.$ac_objext'
21658 { (case "(($ac_try" in
21659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21660 *) ac_try_echo
=$ac_try;;
21662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21663 (eval "$ac_try") 2>&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); }; }; then
21667 ac_cv_member_struct_sockaddr_sa_len
=yes
21669 echo "$as_me: failed program was:" >&5
21670 sed 's/^/| /' conftest.
$ac_ext >&5
21672 ac_cv_member_struct_sockaddr_sa_len
=no
21675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21680 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21681 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21682 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21684 cat >>confdefs.h
<<_ACEOF
21685 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21690 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21691 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21692 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21693 echo $ECHO_N "(cached) $ECHO_C" >&6
21695 cat >conftest.
$ac_ext <<_ACEOF
21698 cat confdefs.h
>>conftest.
$ac_ext
21699 cat >>conftest.
$ac_ext <<_ACEOF
21700 /* end confdefs.h. */
21701 #include <sys/types.h>
21702 #ifdef HAVE_SYS_SOCKET_H
21703 # include <sys/socket.h>
21705 #ifdef HAVE_SYS_UN_H
21706 # include <sys/un.h>
21712 static struct sockaddr_un ac_aggr;
21713 if (ac_aggr.sun_len)
21719 rm -f conftest.
$ac_objext
21720 if { (ac_try
="$ac_compile"
21721 case "(($ac_try" in
21722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21723 *) ac_try_echo=$ac_try;;
21725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21726 (eval "$ac_compile") 2>conftest.er1
21728 grep -v '^ *+' conftest.er1 >conftest.err
21730 cat conftest.err >&5
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); } &&
21733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21734 { (case "(($ac_try" in
21735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21736 *) ac_try_echo
=$ac_try;;
21738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21739 (eval "$ac_try") 2>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); }; } &&
21743 { ac_try
='test -s conftest.$ac_objext'
21744 { (case "(($ac_try" in
21745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21746 *) ac_try_echo=$ac_try;;
21748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21749 (eval "$ac_try") 2>&5
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); }; }; then
21753 ac_cv_member_struct_sockaddr_un_sun_len=yes
21755 echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.$ac_ext >&5
21758 cat >conftest.$ac_ext <<_ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 #include <sys/types.h>
21765 #ifdef HAVE_SYS_SOCKET_H
21766 # include <sys/socket.h>
21768 #ifdef HAVE_SYS_UN_H
21769 # include <sys/un.h>
21775 static struct sockaddr_un ac_aggr;
21776 if (sizeof ac_aggr.sun_len)
21782 rm -f conftest.$ac_objext
21783 if { (ac_try="$ac_compile"
21784 case "(($ac_try" in
21785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21786 *) ac_try_echo
=$ac_try;;
21788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21789 (eval "$ac_compile") 2>conftest.er1
21791 grep -v '^ *+' conftest.er1
>conftest.err
21793 cat conftest.err
>&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } &&
21796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21797 { (case "(($ac_try" in
21798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21799 *) ac_try_echo=$ac_try;;
21801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21802 (eval "$ac_try") 2>&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); }; } &&
21806 { ac_try='test -s conftest.$ac_objext'
21807 { (case "(($ac_try" in
21808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21809 *) ac_try_echo
=$ac_try;;
21811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21812 (eval "$ac_try") 2>&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; }; then
21816 ac_cv_member_struct_sockaddr_un_sun_len
=yes
21818 echo "$as_me: failed program was:" >&5
21819 sed 's/^/| /' conftest.
$ac_ext >&5
21821 ac_cv_member_struct_sockaddr_un_sun_len
=no
21824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21829 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21830 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21831 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21833 cat >>confdefs.h
<<_ACEOF
21834 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21841 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21842 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21843 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21844 echo $ECHO_N "(cached) $ECHO_C" >&6
21846 cat >conftest.
$ac_ext <<_ACEOF
21849 cat confdefs.h
>>conftest.
$ac_ext
21850 cat >>conftest.
$ac_ext <<_ACEOF
21851 /* end confdefs.h. */
21852 #include <sys/types.h>
21853 #ifdef HAVE_SCSI_SG_H
21854 #include <scsi/sg.h>
21860 static scsireq_t ac_aggr;
21867 rm -f conftest.
$ac_objext
21868 if { (ac_try
="$ac_compile"
21869 case "(($ac_try" in
21870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21871 *) ac_try_echo=$ac_try;;
21873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21874 (eval "$ac_compile") 2>conftest.er1
21876 grep -v '^ *+' conftest.er1 >conftest.err
21878 cat conftest.err >&5
21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880 (exit $ac_status); } &&
21881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21882 { (case "(($ac_try" in
21883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21884 *) ac_try_echo
=$ac_try;;
21886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21887 (eval "$ac_try") 2>&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); }; } &&
21891 { ac_try
='test -s conftest.$ac_objext'
21892 { (case "(($ac_try" in
21893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21894 *) ac_try_echo=$ac_try;;
21896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21897 (eval "$ac_try") 2>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; }; then
21901 ac_cv_member_scsireq_t_cmd=yes
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.$ac_ext >&5
21906 cat >conftest.$ac_ext <<_ACEOF
21909 cat confdefs.h >>conftest.$ac_ext
21910 cat >>conftest.$ac_ext <<_ACEOF
21911 /* end confdefs.h. */
21912 #include <sys/types.h>
21913 #ifdef HAVE_SCSI_SG_H
21914 #include <scsi/sg.h>
21920 static scsireq_t ac_aggr;
21921 if (sizeof ac_aggr.cmd)
21927 rm -f conftest.$ac_objext
21928 if { (ac_try="$ac_compile"
21929 case "(($ac_try" in
21930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21931 *) ac_try_echo
=$ac_try;;
21933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21934 (eval "$ac_compile") 2>conftest.er1
21936 grep -v '^ *+' conftest.er1
>conftest.err
21938 cat conftest.err
>&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); } &&
21941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21942 { (case "(($ac_try" in
21943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21944 *) ac_try_echo=$ac_try;;
21946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21947 (eval "$ac_try") 2>&5
21949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950 (exit $ac_status); }; } &&
21951 { ac_try='test -s conftest.$ac_objext'
21952 { (case "(($ac_try" in
21953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21954 *) ac_try_echo
=$ac_try;;
21956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21957 (eval "$ac_try") 2>&5
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); }; }; then
21961 ac_cv_member_scsireq_t_cmd
=yes
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.
$ac_ext >&5
21966 ac_cv_member_scsireq_t_cmd
=no
21969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21974 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
21975 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
21976 if test $ac_cv_member_scsireq_t_cmd = yes; then
21978 cat >>confdefs.h
<<_ACEOF
21979 #define HAVE_SCSIREQ_T_CMD 1
21984 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
21985 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
21986 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
21987 echo $ECHO_N "(cached) $ECHO_C" >&6
21989 cat >conftest.
$ac_ext <<_ACEOF
21992 cat confdefs.h
>>conftest.
$ac_ext
21993 cat >>conftest.
$ac_ext <<_ACEOF
21994 /* end confdefs.h. */
21995 #include <sys/types.h>
21996 #ifdef HAVE_SCSI_SG_H
21997 #include <scsi/sg.h>
22003 static sg_io_hdr_t ac_aggr;
22004 if (ac_aggr.interface_id)
22010 rm -f conftest.
$ac_objext
22011 if { (ac_try
="$ac_compile"
22012 case "(($ac_try" in
22013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22014 *) ac_try_echo=$ac_try;;
22016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22017 (eval "$ac_compile") 2>conftest.er1
22019 grep -v '^ *+' conftest.er1 >conftest.err
22021 cat conftest.err >&5
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); } &&
22024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22025 { (case "(($ac_try" in
22026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22027 *) ac_try_echo
=$ac_try;;
22029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22030 (eval "$ac_try") 2>&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); }; } &&
22034 { ac_try
='test -s conftest.$ac_objext'
22035 { (case "(($ac_try" in
22036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22037 *) ac_try_echo=$ac_try;;
22039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22040 (eval "$ac_try") 2>&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); }; }; then
22044 ac_cv_member_sg_io_hdr_t_interface_id=yes
22046 echo "$as_me: failed program was:" >&5
22047 sed 's/^/| /' conftest.$ac_ext >&5
22049 cat >conftest.$ac_ext <<_ACEOF
22052 cat confdefs.h >>conftest.$ac_ext
22053 cat >>conftest.$ac_ext <<_ACEOF
22054 /* end confdefs.h. */
22055 #include <sys/types.h>
22056 #ifdef HAVE_SCSI_SG_H
22057 #include <scsi/sg.h>
22063 static sg_io_hdr_t ac_aggr;
22064 if (sizeof ac_aggr.interface_id)
22070 rm -f conftest.$ac_objext
22071 if { (ac_try="$ac_compile"
22072 case "(($ac_try" in
22073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22074 *) ac_try_echo
=$ac_try;;
22076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077 (eval "$ac_compile") 2>conftest.er1
22079 grep -v '^ *+' conftest.er1
>conftest.err
22081 cat conftest.err
>&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } &&
22084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22085 { (case "(($ac_try" in
22086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22087 *) ac_try_echo=$ac_try;;
22089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22090 (eval "$ac_try") 2>&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); }; } &&
22094 { ac_try='test -s conftest.$ac_objext'
22095 { (case "(($ac_try" in
22096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22097 *) ac_try_echo
=$ac_try;;
22099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22100 (eval "$ac_try") 2>&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); }; }; then
22104 ac_cv_member_sg_io_hdr_t_interface_id
=yes
22106 echo "$as_me: failed program was:" >&5
22107 sed 's/^/| /' conftest.
$ac_ext >&5
22109 ac_cv_member_sg_io_hdr_t_interface_id
=no
22112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22117 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22118 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22119 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22121 cat >>confdefs.h
<<_ACEOF
22122 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22129 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22130 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22131 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22132 echo $ECHO_N "(cached) $ECHO_C" >&6
22134 cat >conftest.
$ac_ext <<_ACEOF
22137 cat confdefs.h
>>conftest.
$ac_ext
22138 cat >>conftest.
$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 #include <signal.h>
22145 static siginfo_t ac_aggr;
22152 rm -f conftest.
$ac_objext
22153 if { (ac_try
="$ac_compile"
22154 case "(($ac_try" in
22155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22156 *) ac_try_echo=$ac_try;;
22158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22159 (eval "$ac_compile") 2>conftest.er1
22161 grep -v '^ *+' conftest.er1 >conftest.err
22163 cat conftest.err >&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } &&
22166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22167 { (case "(($ac_try" in
22168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22169 *) ac_try_echo
=$ac_try;;
22171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22172 (eval "$ac_try") 2>&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; } &&
22176 { ac_try
='test -s conftest.$ac_objext'
22177 { (case "(($ac_try" in
22178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22179 *) ac_try_echo=$ac_try;;
22181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22182 (eval "$ac_try") 2>&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); }; }; then
22186 ac_cv_member_siginfo_t_si_fd=yes
22188 echo "$as_me: failed program was:" >&5
22189 sed 's/^/| /' conftest.$ac_ext >&5
22191 cat >conftest.$ac_ext <<_ACEOF
22194 cat confdefs.h >>conftest.$ac_ext
22195 cat >>conftest.$ac_ext <<_ACEOF
22196 /* end confdefs.h. */
22197 #include <signal.h>
22202 static siginfo_t ac_aggr;
22203 if (sizeof ac_aggr.si_fd)
22209 rm -f conftest.$ac_objext
22210 if { (ac_try="$ac_compile"
22211 case "(($ac_try" in
22212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22213 *) ac_try_echo
=$ac_try;;
22215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22216 (eval "$ac_compile") 2>conftest.er1
22218 grep -v '^ *+' conftest.er1
>conftest.err
22220 cat conftest.err
>&5
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); } &&
22223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22224 { (case "(($ac_try" in
22225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22226 *) ac_try_echo=$ac_try;;
22228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22229 (eval "$ac_try") 2>&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; } &&
22233 { ac_try='test -s conftest.$ac_objext'
22234 { (case "(($ac_try" in
22235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22236 *) ac_try_echo
=$ac_try;;
22238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22239 (eval "$ac_try") 2>&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); }; }; then
22243 ac_cv_member_siginfo_t_si_fd
=yes
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.
$ac_ext >&5
22248 ac_cv_member_siginfo_t_si_fd
=no
22251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22256 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22257 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22258 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22260 cat >>confdefs.h
<<_ACEOF
22261 #define HAVE_SIGINFO_T_SI_FD 1
22268 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22269 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22270 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22271 echo $ECHO_N "(cached) $ECHO_C" >&6
22273 cat >conftest.
$ac_ext <<_ACEOF
22276 cat confdefs.h
>>conftest.
$ac_ext
22277 cat >>conftest.
$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 #include <sys/types.h>
22280 #ifdef HAVE_SYS_MTIO_H
22281 #include <sys/mtio.h>
22287 static struct mtget ac_aggr;
22288 if (ac_aggr.mt_blksiz)
22294 rm -f conftest.
$ac_objext
22295 if { (ac_try
="$ac_compile"
22296 case "(($ac_try" in
22297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22298 *) ac_try_echo=$ac_try;;
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_compile") 2>conftest.er1
22303 grep -v '^ *+' conftest.er1 >conftest.err
22305 cat conftest.err >&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); } &&
22308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22309 { (case "(($ac_try" in
22310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22311 *) ac_try_echo
=$ac_try;;
22313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22314 (eval "$ac_try") 2>&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; } &&
22318 { ac_try
='test -s conftest.$ac_objext'
22319 { (case "(($ac_try" in
22320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22321 *) ac_try_echo=$ac_try;;
22323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324 (eval "$ac_try") 2>&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); }; }; then
22328 ac_cv_member_struct_mtget_mt_blksiz=yes
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.$ac_ext >&5
22333 cat >conftest.$ac_ext <<_ACEOF
22336 cat confdefs.h >>conftest.$ac_ext
22337 cat >>conftest.$ac_ext <<_ACEOF
22338 /* end confdefs.h. */
22339 #include <sys/types.h>
22340 #ifdef HAVE_SYS_MTIO_H
22341 #include <sys/mtio.h>
22347 static struct mtget ac_aggr;
22348 if (sizeof ac_aggr.mt_blksiz)
22354 rm -f conftest.$ac_objext
22355 if { (ac_try="$ac_compile"
22356 case "(($ac_try" in
22357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22358 *) ac_try_echo
=$ac_try;;
22360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22361 (eval "$ac_compile") 2>conftest.er1
22363 grep -v '^ *+' conftest.er1
>conftest.err
22365 cat conftest.err
>&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); } &&
22368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22369 { (case "(($ac_try" in
22370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22371 *) ac_try_echo=$ac_try;;
22373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22374 (eval "$ac_try") 2>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; } &&
22378 { ac_try='test -s conftest.$ac_objext'
22379 { (case "(($ac_try" in
22380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22381 *) ac_try_echo
=$ac_try;;
22383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22384 (eval "$ac_try") 2>&5
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; }; then
22388 ac_cv_member_struct_mtget_mt_blksiz
=yes
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.
$ac_ext >&5
22393 ac_cv_member_struct_mtget_mt_blksiz
=no
22396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22401 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22402 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22403 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22405 cat >>confdefs.h
<<_ACEOF
22406 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22411 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22412 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22413 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22414 echo $ECHO_N "(cached) $ECHO_C" >&6
22416 cat >conftest.
$ac_ext <<_ACEOF
22419 cat confdefs.h
>>conftest.
$ac_ext
22420 cat >>conftest.
$ac_ext <<_ACEOF
22421 /* end confdefs.h. */
22422 #include <sys/types.h>
22423 #ifdef HAVE_SYS_MTIO_H
22424 #include <sys/mtio.h>
22430 static struct mtget ac_aggr;
22431 if (ac_aggr.mt_gstat)
22437 rm -f conftest.
$ac_objext
22438 if { (ac_try
="$ac_compile"
22439 case "(($ac_try" in
22440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22441 *) ac_try_echo=$ac_try;;
22443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22444 (eval "$ac_compile") 2>conftest.er1
22446 grep -v '^ *+' conftest.er1 >conftest.err
22448 cat conftest.err >&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } &&
22451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22452 { (case "(($ac_try" in
22453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22454 *) ac_try_echo
=$ac_try;;
22456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22457 (eval "$ac_try") 2>&5
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); }; } &&
22461 { ac_try
='test -s conftest.$ac_objext'
22462 { (case "(($ac_try" in
22463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22464 *) ac_try_echo=$ac_try;;
22466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22467 (eval "$ac_try") 2>&5
22469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22470 (exit $ac_status); }; }; then
22471 ac_cv_member_struct_mtget_mt_gstat=yes
22473 echo "$as_me: failed program was:" >&5
22474 sed 's/^/| /' conftest.$ac_ext >&5
22476 cat >conftest.$ac_ext <<_ACEOF
22479 cat confdefs.h >>conftest.$ac_ext
22480 cat >>conftest.$ac_ext <<_ACEOF
22481 /* end confdefs.h. */
22482 #include <sys/types.h>
22483 #ifdef HAVE_SYS_MTIO_H
22484 #include <sys/mtio.h>
22490 static struct mtget ac_aggr;
22491 if (sizeof ac_aggr.mt_gstat)
22497 rm -f conftest.$ac_objext
22498 if { (ac_try="$ac_compile"
22499 case "(($ac_try" in
22500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22501 *) ac_try_echo
=$ac_try;;
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_compile") 2>conftest.er1
22506 grep -v '^ *+' conftest.er1
>conftest.err
22508 cat conftest.err
>&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); } &&
22511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22512 { (case "(($ac_try" in
22513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22514 *) ac_try_echo=$ac_try;;
22516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22517 (eval "$ac_try") 2>&5
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); }; } &&
22521 { ac_try='test -s conftest.$ac_objext'
22522 { (case "(($ac_try" in
22523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22524 *) ac_try_echo
=$ac_try;;
22526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22527 (eval "$ac_try") 2>&5
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); }; }; then
22531 ac_cv_member_struct_mtget_mt_gstat
=yes
22533 echo "$as_me: failed program was:" >&5
22534 sed 's/^/| /' conftest.
$ac_ext >&5
22536 ac_cv_member_struct_mtget_mt_gstat
=no
22539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22544 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22545 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22546 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22548 cat >>confdefs.h
<<_ACEOF
22549 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22554 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22555 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22556 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22557 echo $ECHO_N "(cached) $ECHO_C" >&6
22559 cat >conftest.
$ac_ext <<_ACEOF
22562 cat confdefs.h
>>conftest.
$ac_ext
22563 cat >>conftest.
$ac_ext <<_ACEOF
22564 /* end confdefs.h. */
22565 #include <sys/types.h>
22566 #ifdef HAVE_SYS_MTIO_H
22567 #include <sys/mtio.h>
22573 static struct mtget ac_aggr;
22574 if (ac_aggr.mt_blkno)
22580 rm -f conftest.
$ac_objext
22581 if { (ac_try
="$ac_compile"
22582 case "(($ac_try" in
22583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22584 *) ac_try_echo=$ac_try;;
22586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22587 (eval "$ac_compile") 2>conftest.er1
22589 grep -v '^ *+' conftest.er1 >conftest.err
22591 cat conftest.err >&5
22592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593 (exit $ac_status); } &&
22594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22595 { (case "(($ac_try" in
22596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22597 *) ac_try_echo
=$ac_try;;
22599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22600 (eval "$ac_try") 2>&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); }; } &&
22604 { ac_try
='test -s conftest.$ac_objext'
22605 { (case "(($ac_try" in
22606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22607 *) ac_try_echo=$ac_try;;
22609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22610 (eval "$ac_try") 2>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; }; then
22614 ac_cv_member_struct_mtget_mt_blkno=yes
22616 echo "$as_me: failed program was:" >&5
22617 sed 's/^/| /' conftest.$ac_ext >&5
22619 cat >conftest.$ac_ext <<_ACEOF
22622 cat confdefs.h >>conftest.$ac_ext
22623 cat >>conftest.$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22625 #include <sys/types.h>
22626 #ifdef HAVE_SYS_MTIO_H
22627 #include <sys/mtio.h>
22633 static struct mtget ac_aggr;
22634 if (sizeof ac_aggr.mt_blkno)
22640 rm -f conftest.$ac_objext
22641 if { (ac_try="$ac_compile"
22642 case "(($ac_try" in
22643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22644 *) ac_try_echo
=$ac_try;;
22646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22647 (eval "$ac_compile") 2>conftest.er1
22649 grep -v '^ *+' conftest.er1
>conftest.err
22651 cat conftest.err
>&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); } &&
22654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22655 { (case "(($ac_try" in
22656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22657 *) ac_try_echo=$ac_try;;
22659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22660 (eval "$ac_try") 2>&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); }; } &&
22664 { ac_try='test -s conftest.$ac_objext'
22665 { (case "(($ac_try" in
22666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22667 *) ac_try_echo
=$ac_try;;
22669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22670 (eval "$ac_try") 2>&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); }; }; then
22674 ac_cv_member_struct_mtget_mt_blkno
=yes
22676 echo "$as_me: failed program was:" >&5
22677 sed 's/^/| /' conftest.
$ac_ext >&5
22679 ac_cv_member_struct_mtget_mt_blkno
=no
22682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22687 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22688 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22689 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22691 cat >>confdefs.h
<<_ACEOF
22692 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22699 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22700 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22701 if test "${ac_cv_member_struct_option_name+set}" = set; then
22702 echo $ECHO_N "(cached) $ECHO_C" >&6
22704 cat >conftest.
$ac_ext <<_ACEOF
22707 cat confdefs.h
>>conftest.
$ac_ext
22708 cat >>conftest.
$ac_ext <<_ACEOF
22709 /* end confdefs.h. */
22710 #ifdef HAVE_GETOPT_H
22711 #include <getopt.h>
22717 static struct option ac_aggr;
22724 rm -f conftest.
$ac_objext
22725 if { (ac_try
="$ac_compile"
22726 case "(($ac_try" in
22727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22728 *) ac_try_echo=$ac_try;;
22730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22731 (eval "$ac_compile") 2>conftest.er1
22733 grep -v '^ *+' conftest.er1 >conftest.err
22735 cat conftest.err >&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); } &&
22738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22739 { (case "(($ac_try" in
22740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22741 *) ac_try_echo
=$ac_try;;
22743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22744 (eval "$ac_try") 2>&5
22746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747 (exit $ac_status); }; } &&
22748 { ac_try
='test -s conftest.$ac_objext'
22749 { (case "(($ac_try" in
22750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22751 *) ac_try_echo=$ac_try;;
22753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22754 (eval "$ac_try") 2>&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); }; }; then
22758 ac_cv_member_struct_option_name=yes
22760 echo "$as_me: failed program was:" >&5
22761 sed 's/^/| /' conftest.$ac_ext >&5
22763 cat >conftest.$ac_ext <<_ACEOF
22766 cat confdefs.h >>conftest.$ac_ext
22767 cat >>conftest.$ac_ext <<_ACEOF
22768 /* end confdefs.h. */
22769 #ifdef HAVE_GETOPT_H
22770 #include <getopt.h>
22776 static struct option ac_aggr;
22777 if (sizeof ac_aggr.name)
22783 rm -f conftest.$ac_objext
22784 if { (ac_try="$ac_compile"
22785 case "(($ac_try" in
22786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22787 *) ac_try_echo
=$ac_try;;
22789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22790 (eval "$ac_compile") 2>conftest.er1
22792 grep -v '^ *+' conftest.er1
>conftest.err
22794 cat conftest.err
>&5
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); } &&
22797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22798 { (case "(($ac_try" in
22799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22800 *) ac_try_echo=$ac_try;;
22802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22803 (eval "$ac_try") 2>&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); }; } &&
22807 { ac_try='test -s conftest.$ac_objext'
22808 { (case "(($ac_try" in
22809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22810 *) ac_try_echo
=$ac_try;;
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_try") 2>&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); }; }; then
22817 ac_cv_member_struct_option_name
=yes
22819 echo "$as_me: failed program was:" >&5
22820 sed 's/^/| /' conftest.
$ac_ext >&5
22822 ac_cv_member_struct_option_name
=no
22825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22830 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22831 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22832 if test $ac_cv_member_struct_option_name = yes; then
22834 cat >>confdefs.h
<<_ACEOF
22835 #define HAVE_STRUCT_OPTION_NAME 1
22842 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22843 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22844 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22845 echo $ECHO_N "(cached) $ECHO_C" >&6
22847 cat >conftest.
$ac_ext <<_ACEOF
22850 cat confdefs.h
>>conftest.
$ac_ext
22851 cat >>conftest.
$ac_ext <<_ACEOF
22852 /* end confdefs.h. */
22853 $ac_includes_default
22857 static struct stat ac_aggr;
22858 if (ac_aggr.st_blocks)
22864 rm -f conftest.
$ac_objext
22865 if { (ac_try
="$ac_compile"
22866 case "(($ac_try" in
22867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22868 *) ac_try_echo=$ac_try;;
22870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22871 (eval "$ac_compile") 2>conftest.er1
22873 grep -v '^ *+' conftest.er1 >conftest.err
22875 cat conftest.err >&5
22876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877 (exit $ac_status); } &&
22878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22879 { (case "(($ac_try" in
22880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22881 *) ac_try_echo
=$ac_try;;
22883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22884 (eval "$ac_try") 2>&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); }; } &&
22888 { ac_try
='test -s conftest.$ac_objext'
22889 { (case "(($ac_try" in
22890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22891 *) ac_try_echo=$ac_try;;
22893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22894 (eval "$ac_try") 2>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; }; then
22898 ac_cv_member_struct_stat_st_blocks=yes
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.$ac_ext >&5
22903 cat >conftest.$ac_ext <<_ACEOF
22906 cat confdefs.h >>conftest.$ac_ext
22907 cat >>conftest.$ac_ext <<_ACEOF
22908 /* end confdefs.h. */
22909 $ac_includes_default
22913 static struct stat ac_aggr;
22914 if (sizeof ac_aggr.st_blocks)
22920 rm -f conftest.$ac_objext
22921 if { (ac_try="$ac_compile"
22922 case "(($ac_try" in
22923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22924 *) ac_try_echo
=$ac_try;;
22926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22927 (eval "$ac_compile") 2>conftest.er1
22929 grep -v '^ *+' conftest.er1
>conftest.err
22931 cat conftest.err
>&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); } &&
22934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22935 { (case "(($ac_try" in
22936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22937 *) ac_try_echo=$ac_try;;
22939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22940 (eval "$ac_try") 2>&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; } &&
22944 { ac_try='test -s conftest.$ac_objext'
22945 { (case "(($ac_try" in
22946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22947 *) ac_try_echo
=$ac_try;;
22949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22950 (eval "$ac_try") 2>&5
22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22953 (exit $ac_status); }; }; then
22954 ac_cv_member_struct_stat_st_blocks
=yes
22956 echo "$as_me: failed program was:" >&5
22957 sed 's/^/| /' conftest.
$ac_ext >&5
22959 ac_cv_member_struct_stat_st_blocks
=no
22962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22967 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
22968 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
22969 if test $ac_cv_member_struct_stat_st_blocks = yes; then
22971 cat >>confdefs.h
<<_ACEOF
22972 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
22979 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
22980 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
22981 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
22982 echo $ECHO_N "(cached) $ECHO_C" >&6
22984 cat >conftest.
$ac_ext <<_ACEOF
22987 cat confdefs.h
>>conftest.
$ac_ext
22988 cat >>conftest.
$ac_ext <<_ACEOF
22989 /* end confdefs.h. */
22990 #ifdef HAVE_SYS_TYPES_H
22991 #include <sys/types.h>
22993 #ifdef HAVE_NETINET_IN_H
22994 #include <netinet/in.h>
23000 static struct sockaddr_in6 ac_aggr;
23001 if (ac_aggr.sin6_scope_id)
23007 rm -f conftest.
$ac_objext
23008 if { (ac_try
="$ac_compile"
23009 case "(($ac_try" in
23010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23011 *) ac_try_echo=$ac_try;;
23013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23014 (eval "$ac_compile") 2>conftest.er1
23016 grep -v '^ *+' conftest.er1 >conftest.err
23018 cat conftest.err >&5
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); } &&
23021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23022 { (case "(($ac_try" in
23023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23024 *) ac_try_echo
=$ac_try;;
23026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23027 (eval "$ac_try") 2>&5
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); }; } &&
23031 { ac_try
='test -s conftest.$ac_objext'
23032 { (case "(($ac_try" in
23033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23034 *) ac_try_echo=$ac_try;;
23036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23037 (eval "$ac_try") 2>&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; }; then
23041 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23043 echo "$as_me: failed program was:" >&5
23044 sed 's/^/| /' conftest.$ac_ext >&5
23046 cat >conftest.$ac_ext <<_ACEOF
23049 cat confdefs.h >>conftest.$ac_ext
23050 cat >>conftest.$ac_ext <<_ACEOF
23051 /* end confdefs.h. */
23052 #ifdef HAVE_SYS_TYPES_H
23053 #include <sys/types.h>
23055 #ifdef HAVE_NETINET_IN_H
23056 #include <netinet/in.h>
23062 static struct sockaddr_in6 ac_aggr;
23063 if (sizeof ac_aggr.sin6_scope_id)
23069 rm -f conftest.$ac_objext
23070 if { (ac_try="$ac_compile"
23071 case "(($ac_try" in
23072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23073 *) ac_try_echo
=$ac_try;;
23075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23076 (eval "$ac_compile") 2>conftest.er1
23078 grep -v '^ *+' conftest.er1
>conftest.err
23080 cat conftest.err
>&5
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); } &&
23083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23084 { (case "(($ac_try" in
23085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23086 *) ac_try_echo=$ac_try;;
23088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23089 (eval "$ac_try") 2>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; } &&
23093 { ac_try='test -s conftest.$ac_objext'
23094 { (case "(($ac_try" in
23095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23096 *) ac_try_echo
=$ac_try;;
23098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23099 (eval "$ac_try") 2>&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.
$ac_ext >&5
23108 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
23111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23116 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23117 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23118 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23120 cat >>confdefs.h
<<_ACEOF
23121 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23128 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23129 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23130 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23131 echo $ECHO_N "(cached) $ECHO_C" >&6
23133 cat >conftest.
$ac_ext <<_ACEOF
23136 cat confdefs.h
>>conftest.
$ac_ext
23137 cat >>conftest.
$ac_ext <<_ACEOF
23138 /* end confdefs.h. */
23139 #ifdef HAVE_SYS_TYPES_H
23140 #include <sys/types.h>
23142 #ifdef HAVE_NETINET_IN_H
23143 # include <netinet/in.h>
23145 #ifdef HAVE_ARPA_NAMESER_H
23146 # include <arpa/nameser.h>
23152 static ns_msg ac_aggr;
23153 if (ac_aggr._msg_ptr)
23159 rm -f conftest.
$ac_objext
23160 if { (ac_try
="$ac_compile"
23161 case "(($ac_try" in
23162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23163 *) ac_try_echo=$ac_try;;
23165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23166 (eval "$ac_compile") 2>conftest.er1
23168 grep -v '^ *+' conftest.er1 >conftest.err
23170 cat conftest.err >&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } &&
23173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23174 { (case "(($ac_try" in
23175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23176 *) ac_try_echo
=$ac_try;;
23178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23179 (eval "$ac_try") 2>&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); }; } &&
23183 { ac_try
='test -s conftest.$ac_objext'
23184 { (case "(($ac_try" in
23185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23186 *) ac_try_echo=$ac_try;;
23188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23189 (eval "$ac_try") 2>&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; }; then
23193 ac_cv_member_ns_msg__msg_ptr=yes
23195 echo "$as_me: failed program was:" >&5
23196 sed 's/^/| /' conftest.$ac_ext >&5
23198 cat >conftest.$ac_ext <<_ACEOF
23201 cat confdefs.h >>conftest.$ac_ext
23202 cat >>conftest.$ac_ext <<_ACEOF
23203 /* end confdefs.h. */
23204 #ifdef HAVE_SYS_TYPES_H
23205 #include <sys/types.h>
23207 #ifdef HAVE_NETINET_IN_H
23208 # include <netinet/in.h>
23210 #ifdef HAVE_ARPA_NAMESER_H
23211 # include <arpa/nameser.h>
23217 static ns_msg ac_aggr;
23218 if (sizeof ac_aggr._msg_ptr)
23224 rm -f conftest.$ac_objext
23225 if { (ac_try="$ac_compile"
23226 case "(($ac_try" in
23227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23228 *) ac_try_echo
=$ac_try;;
23230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23231 (eval "$ac_compile") 2>conftest.er1
23233 grep -v '^ *+' conftest.er1
>conftest.err
23235 cat conftest.err
>&5
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); } &&
23238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23239 { (case "(($ac_try" in
23240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23241 *) ac_try_echo=$ac_try;;
23243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23244 (eval "$ac_try") 2>&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; } &&
23248 { ac_try='test -s conftest.$ac_objext'
23249 { (case "(($ac_try" in
23250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23251 *) ac_try_echo
=$ac_try;;
23253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23254 (eval "$ac_try") 2>&5
23256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257 (exit $ac_status); }; }; then
23258 ac_cv_member_ns_msg__msg_ptr
=yes
23260 echo "$as_me: failed program was:" >&5
23261 sed 's/^/| /' conftest.
$ac_ext >&5
23263 ac_cv_member_ns_msg__msg_ptr
=no
23266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23271 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23272 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23273 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23275 cat >>confdefs.h
<<_ACEOF
23276 #define HAVE_NS_MSG__MSG_PTR 1
23283 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23284 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23285 if test "${ac_cv_have_timezone+set}" = set; then
23286 echo $ECHO_N "(cached) $ECHO_C" >&6
23288 cat >conftest.
$ac_ext <<_ACEOF
23291 cat confdefs.h
>>conftest.
$ac_ext
23292 cat >>conftest.
$ac_ext <<_ACEOF
23293 /* end confdefs.h. */
23303 rm -f conftest.
$ac_objext conftest
$ac_exeext
23304 if { (ac_try
="$ac_link"
23305 case "(($ac_try" in
23306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23307 *) ac_try_echo=$ac_try;;
23309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23310 (eval "$ac_link") 2>conftest.er1
23312 grep -v '^ *+' conftest.er1 >conftest.err
23314 cat conftest.err >&5
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); } &&
23317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23318 { (case "(($ac_try" in
23319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23320 *) ac_try_echo
=$ac_try;;
23322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23323 (eval "$ac_try") 2>&5
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; } &&
23327 { ac_try
='test -s conftest$ac_exeext'
23328 { (case "(($ac_try" in
23329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23330 *) ac_try_echo=$ac_try;;
23332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23333 (eval "$ac_try") 2>&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); }; }; then
23337 ac_cv_have_timezone="yes"
23339 echo "$as_me: failed program was:" >&5
23340 sed 's/^/| /' conftest.$ac_ext >&5
23342 ac_cv_have_timezone="no"
23345 rm -f core conftest.err conftest.$ac_objext \
23346 conftest$ac_exeext conftest.$ac_ext
23348 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23349 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23350 if test "$ac_cv_have_timezone" = "yes"
23353 cat >>confdefs.h <<\_ACEOF
23354 #define HAVE_TIMEZONE 1
23358 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23359 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23360 if test "${ac_cv_have_daylight+set}" = set; then
23361 echo $ECHO_N "(cached) $ECHO_C" >&6
23363 cat >conftest.$ac_ext <<_ACEOF
23366 cat confdefs.h >>conftest.$ac_ext
23367 cat >>conftest.$ac_ext <<_ACEOF
23368 /* end confdefs.h. */
23378 rm -f conftest.$ac_objext conftest$ac_exeext
23379 if { (ac_try="$ac_link"
23380 case "(($ac_try" in
23381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23382 *) ac_try_echo
=$ac_try;;
23384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23385 (eval "$ac_link") 2>conftest.er1
23387 grep -v '^ *+' conftest.er1
>conftest.err
23389 cat conftest.err
>&5
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); } &&
23392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23393 { (case "(($ac_try" in
23394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23395 *) ac_try_echo=$ac_try;;
23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398 (eval "$ac_try") 2>&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); }; } &&
23402 { ac_try='test -s conftest$ac_exeext'
23403 { (case "(($ac_try" in
23404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23405 *) ac_try_echo
=$ac_try;;
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_try") 2>&5
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; }; then
23412 ac_cv_have_daylight
="yes"
23414 echo "$as_me: failed program was:" >&5
23415 sed 's/^/| /' conftest.
$ac_ext >&5
23417 ac_cv_have_daylight
="no"
23420 rm -f core conftest.err conftest.
$ac_objext \
23421 conftest
$ac_exeext conftest.
$ac_ext
23423 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23424 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23425 if test "$ac_cv_have_daylight" = "yes"
23428 cat >>confdefs.h
<<\_ACEOF
23429 #define HAVE_DAYLIGHT 1
23436 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23437 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23438 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23439 echo $ECHO_N "(cached) $ECHO_C" >&6
23441 cat >conftest.
$ac_ext <<_ACEOF
23444 cat confdefs.h
>>conftest.
$ac_ext
23445 cat >>conftest.
$ac_ext <<_ACEOF
23446 /* end confdefs.h. */
23451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23452 $EGREP "yes" >/dev
/null
2>&1; then
23453 ac_cv_cpp_def___i386__
=yes
23455 ac_cv_cpp_def___i386__
=no
23460 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23461 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23462 if test $ac_cv_cpp_def___i386__ = yes; then
23463 CFLAGS
="$CFLAGS -D__i386__"
23464 LINTFLAGS
="$LINTFLAGS -D__i386__"
23467 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23468 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23469 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23470 echo $ECHO_N "(cached) $ECHO_C" >&6
23472 cat >conftest.
$ac_ext <<_ACEOF
23475 cat confdefs.h
>>conftest.
$ac_ext
23476 cat >>conftest.
$ac_ext <<_ACEOF
23477 /* end confdefs.h. */
23482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23483 $EGREP "yes" >/dev
/null
2>&1; then
23484 ac_cv_cpp_def___x86_64__
=yes
23486 ac_cv_cpp_def___x86_64__
=no
23491 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23492 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23493 if test $ac_cv_cpp_def___x86_64__ = yes; then
23494 CFLAGS
="$CFLAGS -D__x86_64__"
23495 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
23498 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
23499 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
23500 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
23501 echo $ECHO_N "(cached) $ECHO_C" >&6
23503 cat >conftest.
$ac_ext <<_ACEOF
23506 cat confdefs.h
>>conftest.
$ac_ext
23507 cat >>conftest.
$ac_ext <<_ACEOF
23508 /* end confdefs.h. */
23513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23514 $EGREP "yes" >/dev
/null
2>&1; then
23515 ac_cv_cpp_def__WIN64
=yes
23517 ac_cv_cpp_def__WIN64
=no
23522 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
23523 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
23524 if test $ac_cv_cpp_def__WIN64 = yes; then
23525 CFLAGS
="$CFLAGS -D_WIN64"
23526 LINTFLAGS
="$LINTFLAGS -D_WIN64"
23529 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23530 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23531 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23532 echo $ECHO_N "(cached) $ECHO_C" >&6
23534 cat >conftest.
$ac_ext <<_ACEOF
23537 cat confdefs.h
>>conftest.
$ac_ext
23538 cat >>conftest.
$ac_ext <<_ACEOF
23539 /* end confdefs.h. */
23544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23545 $EGREP "yes" >/dev
/null
2>&1; then
23546 ac_cv_cpp_def___ALPHA__
=yes
23548 ac_cv_cpp_def___ALPHA__
=no
23553 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23554 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23555 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23556 CFLAGS
="$CFLAGS -D__ALPHA__"
23557 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
23560 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23561 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23562 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23563 echo $ECHO_N "(cached) $ECHO_C" >&6
23565 cat >conftest.
$ac_ext <<_ACEOF
23568 cat confdefs.h
>>conftest.
$ac_ext
23569 cat >>conftest.
$ac_ext <<_ACEOF
23570 /* end confdefs.h. */
23575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23576 $EGREP "yes" >/dev
/null
2>&1; then
23577 ac_cv_cpp_def___sparc__
=yes
23579 ac_cv_cpp_def___sparc__
=no
23584 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23585 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23586 if test $ac_cv_cpp_def___sparc__ = yes; then
23587 CFLAGS
="$CFLAGS -D__sparc__"
23588 LINTFLAGS
="$LINTFLAGS -D__sparc__"
23591 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23592 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23593 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23594 echo $ECHO_N "(cached) $ECHO_C" >&6
23596 cat >conftest.
$ac_ext <<_ACEOF
23599 cat confdefs.h
>>conftest.
$ac_ext
23600 cat >>conftest.
$ac_ext <<_ACEOF
23601 /* end confdefs.h. */
23602 #ifndef __powerpc__
23606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23607 $EGREP "yes" >/dev
/null
2>&1; then
23608 ac_cv_cpp_def___powerpc__
=yes
23610 ac_cv_cpp_def___powerpc__
=no
23615 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23616 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23617 if test $ac_cv_cpp_def___powerpc__ = yes; then
23618 CFLAGS
="$CFLAGS -D__powerpc__"
23619 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
23624 case $host_vendor in
23625 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23626 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23627 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23628 echo $ECHO_N "(cached) $ECHO_C" >&6
23630 cat >conftest.
$ac_ext <<_ACEOF
23633 cat confdefs.h
>>conftest.
$ac_ext
23634 cat >>conftest.
$ac_ext <<_ACEOF
23635 /* end confdefs.h. */
23640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23641 $EGREP "yes" >/dev
/null
2>&1; then
23642 ac_cv_cpp_def___sun__
=yes
23644 ac_cv_cpp_def___sun__
=no
23649 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23650 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23651 if test $ac_cv_cpp_def___sun__ = yes; then
23652 CFLAGS
="$CFLAGS -D__sun__"
23653 LINTFLAGS
="$LINTFLAGS -D__sun__"
23659 DEPENDENCIES
="### Dependencies:
23664 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23666 \$(ALL_OBJS): \$(IDL_SRCS:.idl=.h)
23667 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23668 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23674 ac_config_commands
="$ac_config_commands include/stamp-h"
23677 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
23679 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
23681 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
23683 ac_config_commands
="$ac_config_commands dlls/user/resources"
23685 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
23687 ac_config_commands
="$ac_config_commands include/wine"
23690 MAKE_RULES
=Make.rules
23693 MAKE_DLL_RULES
=dlls
/Makedll.rules
23696 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
23699 MAKE_TEST_RULES
=dlls
/Maketest.rules
23702 MAKE_PROG_RULES
=programs
/Makeprog.rules
23705 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
23708 cat >confcache
<<\_ACEOF
23709 # This file is a shell script that caches the results of configure
23710 # tests run on this system so they can be shared between configure
23711 # scripts and configure runs, see configure's option --config-cache.
23712 # It is not useful on other systems. If it contains results you don't
23713 # want to keep, you may remove or edit it.
23715 # config.status only pays attention to the cache file if you give it
23716 # the --recheck option to rerun configure.
23718 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23719 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23720 # following values.
23724 # The following way of writing the cache mishandles newlines in values,
23725 # but we know of no workaround that is simple, portable, and efficient.
23726 # So, we kill variables containing newlines.
23727 # Ultrix sh set writes to stderr and can't be redirected directly,
23728 # and sets the high bit in the cache file unless we assign to the vars.
23730 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23731 eval ac_val
=\$
$ac_var
23735 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23736 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23739 _ | IFS | as_nl
) ;; #(
23740 *) $as_unset $ac_var ;;
23746 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23747 *${as_nl}ac_space
=\
*)
23748 # `set' does not quote correctly, so add quotes (double-quote
23749 # substitution turns \\\\ into \\, and sed turns \\ into \).
23752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23755 # `set' quotes correctly as required by POSIX, so do not add quotes.
23756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23765 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23767 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23769 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23770 if test -w "$cache_file"; then
23771 test "x$cache_file" != "x/dev/null" &&
23772 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23773 echo "$as_me: updating cache $cache_file" >&6;}
23774 cat confcache
>$cache_file
23776 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23777 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23782 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23783 # Let make expand exec_prefix.
23784 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23786 DEFS
=-DHAVE_CONFIG_H
23790 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23791 # 1. Remove the extension, and $U if already installed.
23792 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23793 ac_i
=`echo "$ac_i" | sed "$ac_script"`
23794 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23795 # will be set to the directory where LIBOBJS objects are built.
23796 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23797 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23799 LIBOBJS
=$ac_libobjs
23801 LTLIBOBJS
=$ac_ltlibobjs
23805 : ${CONFIG_STATUS=./config.status}
23806 ac_clean_files_save
=$ac_clean_files
23807 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23808 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23809 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23810 cat >$CONFIG_STATUS <<_ACEOF
23812 # Generated by $as_me.
23813 # Run this file to recreate the current configuration.
23814 # Compiler output produced by configure, useful for debugging
23815 # configure, is in config.log if it exists.
23818 ac_cs_recheck=false
23820 SHELL=\${CONFIG_SHELL-$SHELL}
23823 cat >>$CONFIG_STATUS <<\_ACEOF
23824 ## --------------------- ##
23825 ## M4sh Initialization. ##
23826 ## --------------------- ##
23828 # Be Bourne compatible
23829 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23832 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23833 # is contrary to our usage. Disable this feature.
23834 alias -g '${1+"$@"}'='"$@"'
23835 setopt NO_GLOB_SUBST
23837 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
23839 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
23840 DUALCASE
=1; export DUALCASE
# for MKS sh
23844 # Avoid depending upon Character Ranges.
23845 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23846 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23847 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23848 as_cr_digits
='0123456789'
23849 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23851 # The user is always right.
23852 if test "${PATH_SEPARATOR+set}" != set; then
23853 echo "#! /bin/sh" >conf$$.sh
23854 echo "exit 0" >>conf$$.sh
23856 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23864 # Support unset when possible.
23865 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23873 # We need space, tab and new line, in precisely that order. Quoting is
23874 # there to prevent editors from complaining about space-tab.
23875 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23876 # splitting by setting IFS to empty value.)
23881 # Find who we are. Look in the path if we contain no directory separator.
23883 *[\\/]* ) as_myself
=$0 ;;
23884 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23885 for as_dir
in $PATH
23888 test -z "$as_dir" && as_dir
=.
23889 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23895 # We did not find ourselves, most probably we were run as `sh COMMAND'
23896 # in which case we are not to be found in the path.
23897 if test "x$as_myself" = x
; then
23900 if test ! -f "$as_myself"; then
23901 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23902 { (exit 1); exit 1; }
23905 # Work around bugs in pre-3.0 UWIN ksh.
23906 for as_var
in ENV MAIL MAILPATH
23907 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23915 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23916 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23917 LC_TELEPHONE LC_TIME
23919 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23920 eval $as_var=C
; export $as_var
23922 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23926 # Required to use basename.
23927 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23928 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23934 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23935 as_basename
=basename
23941 # Name of the executable.
23942 as_me
=`$as_basename -- "$0" ||
23943 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23944 X"$0" : 'X\(//\)$' \| \
23945 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23947 sed '/^.*\/\([^/][^/]*\)\/*$/{
23966 as_lineno_1
=$LINENO
23967 as_lineno_2
=$LINENO
23968 test "x$as_lineno_1" != "x$as_lineno_2" &&
23969 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
23971 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23972 # uniformly replaced by the line number. The first 'sed' inserts a
23973 # line-number line after each line using $LINENO; the second 'sed'
23974 # does the real work. The second script uses 'N' to pair each
23975 # line-number line with the line containing $LINENO, and appends
23976 # trailing '-' during substitution so that $LINENO is not a special
23977 # case at line end.
23978 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23979 # scripts with optimization help from Paolo Bonzini. Blame Lee
23980 # E. McMahon (1931-1989) for sed's syntax. :-)
23992 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23995 ' >$as_me.lineno
&&
23996 chmod +x
"$as_me.lineno" ||
23997 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23998 { (exit 1); exit 1; }; }
24000 # Don't try to exec as it changes $[0], causing all sort of problems
24001 # (the dirname of $[0] is not the place where we might find the
24002 # original and so on. Autoconf is especially sensitive to this).
24003 .
"./$as_me.lineno"
24004 # Exit status is that of the last command.
24009 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24015 ECHO_C
= ECHO_N
= ECHO_T
=
24016 case `echo -n x` in
24018 case `echo 'x\c'` in
24019 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24026 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24027 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24033 rm -f conf$$ conf$$.exe conf$$.
file
24034 if test -d conf$$.dir
; then
24035 rm -f conf$$.dir
/conf$$.
file
24041 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24043 # ... but there are two gotchas:
24044 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24045 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24046 # In both cases, we have to default to `cp -p'.
24047 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24049 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24054 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24055 rmdir conf$$.dir
2>/dev
/null
24057 if mkdir
-p .
2>/dev
/null
; then
24060 test -d .
/-p && rmdir .
/-p
24064 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24065 # systems may use methods other than mode bits to determine executability.
24066 cat >conf$$.
file <<_ASEOF
24070 chmod +x conf$$.
file
24071 if test -x conf$$.
file >/dev
/null
2>&1; then
24072 as_executable_p
="test -x"
24078 # Sed expression to map a string onto a valid CPP name.
24079 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24081 # Sed expression to map a string onto a valid variable name.
24082 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24087 # Save the log message, to keep $[0] and so on meaningful, and to
24088 # report actual input values of CONFIG_FILES etc. instead of their
24089 # values after options handling.
24091 This file was extended by Wine $as_me 0.9.21, which was
24092 generated by GNU Autoconf 2.60a. Invocation command line was
24094 CONFIG_FILES = $CONFIG_FILES
24095 CONFIG_HEADERS = $CONFIG_HEADERS
24096 CONFIG_LINKS = $CONFIG_LINKS
24097 CONFIG_COMMANDS = $CONFIG_COMMANDS
24100 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24105 cat >>$CONFIG_STATUS <<_ACEOF
24106 # Files that config.status was made for.
24107 config_files="$ac_config_files"
24108 config_headers="$ac_config_headers"
24109 config_commands="$ac_config_commands"
24113 cat >>$CONFIG_STATUS <<\_ACEOF
24115 \`$as_me' instantiates files from templates according to the
24116 current configuration.
24118 Usage: $0 [OPTIONS] [FILE]...
24120 -h, --help print this help, then exit
24121 -V, --version print version number and configuration settings, then exit
24122 -q, --quiet do not print progress messages
24123 -d, --debug don't remove temporary files
24124 --recheck update $as_me by reconfiguring in the same conditions
24125 --file=FILE[:TEMPLATE]
24126 instantiate the configuration file FILE
24127 --header=FILE[:TEMPLATE]
24128 instantiate the configuration header FILE
24130 Configuration files:
24133 Configuration headers:
24136 Configuration commands:
24139 Report bugs to <bug-autoconf@gnu.org>."
24142 cat >>$CONFIG_STATUS <<_ACEOF
24144 Wine config.status 0.9.21
24145 configured by $0, generated by GNU Autoconf 2.60a,
24146 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24148 Copyright (C) 2006 Free Software Foundation, Inc.
24149 This config.status script is free software; the Free Software Foundation
24150 gives unlimited permission to copy, distribute and modify it."
24157 cat >>$CONFIG_STATUS <<\_ACEOF
24158 # If no file are specified by the user, then we need to provide default
24159 # value. By we need to know if files were specified by the user.
24165 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24166 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24177 # Handling of the options.
24178 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24180 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24181 echo "$ac_cs_version"; exit ;;
24182 --debug |
--debu |
--deb |
--de |
--d |
-d )
24184 --file |
--fil |
--fi |
--f )
24186 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24187 ac_need_defaults
=false
;;
24188 --header |
--heade |
--head |
--hea )
24190 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24191 ac_need_defaults
=false
;;
24193 # Conflict between --help and --header
24194 { echo "$as_me: error: ambiguous option: $1
24195 Try \`$0 --help' for more information." >&2
24196 { (exit 1); exit 1; }; };;
24197 --help |
--hel |
-h )
24198 echo "$ac_cs_usage"; exit ;;
24199 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24200 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24203 # This is an error.
24204 -*) { echo "$as_me: error: unrecognized option: $1
24205 Try \`$0 --help' for more information." >&2
24206 { (exit 1); exit 1; }; } ;;
24208 *) ac_config_targets
="$ac_config_targets $1"
24209 ac_need_defaults
=false
;;
24215 ac_configure_extra_args
=
24217 if $ac_cs_silent; then
24219 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24223 cat >>$CONFIG_STATUS <<_ACEOF
24224 if \$ac_cs_recheck; then
24225 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24226 CONFIG_SHELL=$SHELL
24227 export CONFIG_SHELL
24228 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24232 cat >>$CONFIG_STATUS <<\_ACEOF
24236 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24237 ## Running $as_me. ##
24243 cat >>$CONFIG_STATUS <<_ACEOF
24246 cat >>$CONFIG_STATUS <<\_ACEOF
24248 # Handling of arguments.
24249 for ac_config_target
in $ac_config_targets
24251 case $ac_config_target in
24252 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24253 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
24254 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24255 "dlls/gdi/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24256 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24257 "dlls/user/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
24258 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24259 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
24260 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
24261 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
24262 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24263 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
24264 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
24265 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24266 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
24267 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
24268 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24269 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24270 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
24271 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24272 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
24273 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
24274 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24275 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24276 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24277 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24278 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24279 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
24280 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24281 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
24282 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24283 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24284 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24285 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24286 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24287 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
24288 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24289 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24290 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24291 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24292 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24293 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24294 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24295 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24296 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24297 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24298 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24299 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24300 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24301 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24302 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24303 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24304 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24305 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24306 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
24307 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
24308 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24309 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24310 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
24311 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24312 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
24313 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24314 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24315 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24316 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24317 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24318 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24319 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24320 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24321 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
24322 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24323 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24324 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24325 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
24326 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24327 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
24328 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24329 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24330 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24331 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24332 "dlls/gdi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
24333 "dlls/gdi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24334 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
24335 "dlls/glut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
24336 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24337 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24338 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
24339 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
24340 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24341 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24342 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
24343 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24344 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24345 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24346 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
24347 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24348 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24349 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
24350 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24351 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24352 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
24353 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24354 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24355 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
24356 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
24357 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24358 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24359 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24360 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24361 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24362 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24363 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24364 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
24365 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
24366 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24367 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24368 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24369 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
24370 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24371 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24372 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24373 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24374 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24375 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
24376 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24377 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24378 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24379 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24380 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24381 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24382 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
24383 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24384 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24385 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24386 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24387 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24388 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24389 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24390 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24391 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24392 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24393 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24394 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24395 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24396 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24397 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24398 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24399 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24400 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24401 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24402 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
24403 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24404 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24405 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24406 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
24407 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24408 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24409 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
24410 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24411 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24412 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24413 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24414 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24415 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24416 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24417 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24418 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24419 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24420 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
24421 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24422 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24423 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
24424 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
24425 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24426 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
24427 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24428 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
24429 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24430 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
24431 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24432 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24433 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24434 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24435 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24436 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24437 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24438 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
24439 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24440 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
24441 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24442 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
24443 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24444 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24445 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
24446 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24447 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24448 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
24449 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24450 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24451 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24452 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24453 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24454 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24455 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24456 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24457 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
24458 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24459 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24460 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24461 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24462 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
24463 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
24464 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24465 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24466 "dlls/user/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
24467 "dlls/user/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24468 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
24469 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
24470 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24471 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
24472 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24473 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24474 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24475 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24476 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
24477 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24478 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24479 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24480 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24481 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24482 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24483 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24484 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24485 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24486 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
24487 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24488 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24489 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24490 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
24491 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24492 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
24493 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24494 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24495 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24496 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24497 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24498 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24499 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24500 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24501 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24502 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24503 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24504 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24505 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24506 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24507 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24508 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24509 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24510 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24511 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
24512 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24513 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24514 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24515 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24516 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
24517 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
24518 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
24519 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
24520 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
24521 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
24522 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
24523 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
24524 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
24525 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
24526 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
24527 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24528 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
24529 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
24530 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
24531 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
24532 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
24533 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
24534 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
24535 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
24536 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
24537 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
24538 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
24539 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
24540 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24541 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
24542 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
24543 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
24544 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24545 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24546 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
24547 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
24548 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24549 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
24550 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24551 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
24552 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
24553 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24554 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
24555 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
24556 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
24557 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
24558 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
24559 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
24560 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
24561 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
24562 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
24563 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
24564 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
24565 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
24566 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
24567 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
24568 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
24570 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24571 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24572 { (exit 1); exit 1; }; };;
24577 # If the user did not use the arguments to specify the items to instantiate,
24578 # then the envvar interface is used. Set only those that are not.
24579 # We use the long form for the default assignment because of an extremely
24580 # bizarre bug on SunOS 4.1.3.
24581 if $ac_need_defaults; then
24582 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24583 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24584 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24587 # Have a temporary directory for convenience. Make it in the build tree
24588 # simply because there is no reason against having it here, and in addition,
24589 # creating and moving files from /tmp can sometimes cause problems.
24590 # Hook for its removal unless debugging.
24591 # Note that there is a small window in which the directory will not be cleaned:
24592 # after its creation but before its name has been assigned to `$tmp'.
24596 trap 'exit_status=$?
24597 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24599 trap '{ (exit 1); exit 1; }' 1 2 13 15
24601 # Create a (secure) tmp directory for tmp files.
24604 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24605 test -n "$tmp" && test -d "$tmp"
24608 tmp
=.
/conf$$
-$RANDOM
24609 (umask 077 && mkdir
"$tmp")
24612 echo "$me: cannot create a temporary directory in ." >&2
24613 { (exit 1); exit 1; }
24617 # Set up the sed scripts for CONFIG_FILES section.
24620 # No need to generate the scripts if there are no CONFIG_FILES.
24621 # This happens for instance when ./config.status config.h
24622 if test -n "$CONFIG_FILES"; then
24626 # Create sed commands to just substitute file output variables.
24628 # Remaining file output variables are in a fragment that also has non-file
24634 for ac_last_try
in false false false false false
:; do
24635 cat >conf$
$subs.
sed <<_ACEOF
24636 SHELL!$SHELL$ac_delim
24637 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24638 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24639 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24640 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24641 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24642 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24643 exec_prefix!$exec_prefix$ac_delim
24644 prefix!$prefix$ac_delim
24645 program_transform_name!$program_transform_name$ac_delim
24646 bindir!$bindir$ac_delim
24647 sbindir!$sbindir$ac_delim
24648 libexecdir!$libexecdir$ac_delim
24649 datarootdir!$datarootdir$ac_delim
24650 datadir!$datadir$ac_delim
24651 sysconfdir!$sysconfdir$ac_delim
24652 sharedstatedir!$sharedstatedir$ac_delim
24653 localstatedir!$localstatedir$ac_delim
24654 includedir!$includedir$ac_delim
24655 oldincludedir!$oldincludedir$ac_delim
24656 docdir!$docdir$ac_delim
24657 infodir!$infodir$ac_delim
24658 htmldir!$htmldir$ac_delim
24659 dvidir!$dvidir$ac_delim
24660 pdfdir!$pdfdir$ac_delim
24661 psdir!$psdir$ac_delim
24662 libdir!$libdir$ac_delim
24663 localedir!$localedir$ac_delim
24664 mandir!$mandir$ac_delim
24665 DEFS!$DEFS$ac_delim
24666 ECHO_C!$ECHO_C$ac_delim
24667 ECHO_N!$ECHO_N$ac_delim
24668 ECHO_T!$ECHO_T$ac_delim
24669 LIBS!$LIBS$ac_delim
24670 build_alias!$build_alias$ac_delim
24671 host_alias!$host_alias$ac_delim
24672 target_alias!$target_alias$ac_delim
24673 build!$build$ac_delim
24674 build_cpu!$build_cpu$ac_delim
24675 build_vendor!$build_vendor$ac_delim
24676 build_os!$build_os$ac_delim
24677 host!$host$ac_delim
24678 host_cpu!$host_cpu$ac_delim
24679 host_vendor!$host_vendor$ac_delim
24680 host_os!$host_os$ac_delim
24681 WIN16_FILES!$WIN16_FILES$ac_delim
24682 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24683 SET_MAKE!$SET_MAKE$ac_delim
24685 CFLAGS!$CFLAGS$ac_delim
24686 LDFLAGS!$LDFLAGS$ac_delim
24687 CPPFLAGS!$CPPFLAGS$ac_delim
24688 ac_ct_CC!$ac_ct_CC$ac_delim
24689 EXEEXT!$EXEEXT$ac_delim
24690 OBJEXT!$OBJEXT$ac_delim
24692 CXXFLAGS!$CXXFLAGS$ac_delim
24693 ac_ct_CXX!$ac_ct_CXX$ac_delim
24694 CPPBIN!$CPPBIN$ac_delim
24695 TOOLSDIR!$TOOLSDIR$ac_delim
24696 XMKMF!$XMKMF$ac_delim
24698 X_CFLAGS!$X_CFLAGS$ac_delim
24699 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24700 X_LIBS!$X_LIBS$ac_delim
24701 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24703 LEXLIB!$LEXLIB$ac_delim
24704 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24705 XLEX!$XLEX$ac_delim
24706 BISON!$BISON$ac_delim
24708 ac_ct_AS!$ac_ct_AS$ac_delim
24711 RANLIB!$RANLIB$ac_delim
24712 STRIP!$STRIP$ac_delim
24713 WINDRES!$WINDRES$ac_delim
24714 LN_S!$LN_S$ac_delim
24716 GREP!$GREP$ac_delim
24717 EGREP!$EGREP$ac_delim
24720 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24722 elif $ac_last_try; then
24723 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24724 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24725 { (exit 1); exit 1; }; }
24727 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24731 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24732 if test -n "$ac_eof"; then
24733 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24734 ac_eof
=`expr $ac_eof + 1`
24737 cat >>$CONFIG_STATUS <<_ACEOF
24738 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24739 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24740 /^[ ]*@MAKE_RULES@[ ]*$/{
24744 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24748 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24749 r $MAKE_IMPLIB_RULES
24752 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24756 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24762 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24763 s/^/s,@/; s/!/@,|#_!!_#|/
24766 s/'"$ac_delim"'$/,g/; t
24768 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24769 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24770 rm -f conf$
$subs.
sed
24771 cat >>$CONFIG_STATUS <<_ACEOF
24777 for ac_last_try
in false false false false false
:; do
24778 cat >conf$
$subs.
sed <<_ACEOF
24779 LDCONFIG!$LDCONFIG$ac_delim
24780 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24781 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24782 INSTALL_DATA!$INSTALL_DATA$ac_delim
24783 LINT!$LINT$ac_delim
24784 LINTFLAGS!$LINTFLAGS$ac_delim
24785 FONTFORGE!$FONTFORGE$ac_delim
24786 PKG_CONFIG!$PKG_CONFIG$ac_delim
24787 PRELINK!$PRELINK$ac_delim
24788 LIBPTHREAD!$LIBPTHREAD$ac_delim
24789 XLIB!$XLIB$ac_delim
24790 XFILES!$XFILES$ac_delim
24791 OPENGLFILES!$OPENGLFILES$ac_delim
24792 GLU32FILES!$GLU32FILES$ac_delim
24793 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24794 GLUT_LIBS!$GLUT_LIBS$ac_delim
24795 GLUT32FILES!$GLUT32FILES$ac_delim
24796 NASLIBS!$NASLIBS$ac_delim
24797 XML2LIBS!$XML2LIBS$ac_delim
24798 XML2INCL!$XML2INCL$ac_delim
24799 XSLTLIBS!$XSLTLIBS$ac_delim
24800 XSLTINCL!$XSLTINCL$ac_delim
24801 HALINCL!$HALINCL$ac_delim
24802 CURSESLIBS!$CURSESLIBS$ac_delim
24803 sane_devel!$sane_devel$ac_delim
24804 SANELIBS!$SANELIBS$ac_delim
24805 SANEINCL!$SANEINCL$ac_delim
24806 gphoto2_devel!$gphoto2_devel$ac_delim
24807 gphoto2port_devel!$gphoto2port_devel$ac_delim
24808 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24809 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24810 ICULIBS!$ICULIBS$ac_delim
24811 RESOLVLIBS!$RESOLVLIBS$ac_delim
24812 LCMSLIBS!$LCMSLIBS$ac_delim
24813 LDAPLIBS!$LDAPLIBS$ac_delim
24814 FREETYPELIBS!$FREETYPELIBS$ac_delim
24815 FREETYPEINCL!$FREETYPEINCL$ac_delim
24816 ft_devel!$ft_devel$ac_delim
24817 ft_devel2!$ft_devel2$ac_delim
24818 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24819 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24820 ARTSLIBS!$ARTSLIBS$ac_delim
24821 ARTSINCL!$ARTSINCL$ac_delim
24822 ESDCONFIG!$ESDCONFIG$ac_delim
24823 ESDLIBS!$ESDLIBS$ac_delim
24824 ESDINCL!$ESDINCL$ac_delim
24825 ALSALIBS!$ALSALIBS$ac_delim
24826 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24827 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24828 BUILTINFLAG!$BUILTINFLAG$ac_delim
24829 DLLEXT!$DLLEXT$ac_delim
24830 DLLFLAGS!$DLLFLAGS$ac_delim
24831 LDSHARED!$LDSHARED$ac_delim
24832 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24833 LIBEXT!$LIBEXT$ac_delim
24834 IMPLIBEXT!$IMPLIBEXT$ac_delim
24835 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24836 DLLTOOL!$DLLTOOL$ac_delim
24837 DLLWRAP!$DLLWRAP$ac_delim
24838 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24839 IOKITLIB!$IOKITLIB$ac_delim
24840 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24841 COREAUDIO!$COREAUDIO$ac_delim
24842 CROSSTEST!$CROSSTEST$ac_delim
24843 CROSSCC!$CROSSCC$ac_delim
24844 CROSSWINDRES!$CROSSWINDRES$ac_delim
24845 LDPATH!$LDPATH$ac_delim
24846 CRTLIBS!$CRTLIBS$ac_delim
24847 SOCKETLIBS!$SOCKETLIBS$ac_delim
24848 MAIN_BINARY!$MAIN_BINARY$ac_delim
24849 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24851 LIBDL!$LIBDL$ac_delim
24852 LIBPOLL!$LIBPOLL$ac_delim
24853 DEPENDENCIES!$DEPENDENCIES$ac_delim
24854 LIBOBJS!$LIBOBJS$ac_delim
24855 LTLIBOBJS!$LTLIBOBJS$ac_delim
24858 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
24860 elif $ac_last_try; then
24861 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24862 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24863 { (exit 1); exit 1; }; }
24865 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24869 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24870 if test -n "$ac_eof"; then
24871 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24872 ac_eof
=`expr $ac_eof + 1`
24875 cat >>$CONFIG_STATUS <<_ACEOF
24876 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24877 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24880 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24881 s/^/s,@/; s/!/@,|#_!!_#|/
24884 s/'"$ac_delim"'$/,g/; t
24886 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24887 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24888 rm -f conf$
$subs.
sed
24889 cat >>$CONFIG_STATUS <<_ACEOF
24896 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24897 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24898 # trailing colons and then remove the whole line if VPATH becomes empty
24899 # (actually we leave an empty line to preserve line numbers).
24900 if test "x$srcdir" = x.
; then
24901 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24902 s/:*\$(srcdir):*/:/
24903 s/:*\${srcdir}:*/:/
24905 s/^\([^=]*=[ ]*\):*/\1/
24911 cat >>$CONFIG_STATUS <<\_ACEOF
24912 fi # test -n "$CONFIG_FILES"
24915 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
24918 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24920 case $ac_mode$ac_tag in
24922 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24923 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24924 { (exit 1); exit 1; }; };;
24925 :[FH
]-) ac_tag
=-:-;;
24926 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24943 -) ac_f
="$tmp/stdin";;
24944 *) # Look for the file first in the build tree, then in the source tree
24945 # (if the path is not absolute). The absolute path cannot be DOS-style,
24946 # because $ac_f cannot contain `:'.
24950 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24952 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24953 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24954 { (exit 1); exit 1; }; };;
24956 ac_file_inputs
="$ac_file_inputs $ac_f"
24959 # Let's still pretend it is `configure' which instantiates (i.e., don't
24960 # use $as_me), people would be surprised to read:
24961 # /* config.h. Generated by config.status. */
24962 configure_input
="Generated from "`IFS=:
24963 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24964 if test x
"$ac_file" != x-
; then
24965 configure_input
="$ac_file. $configure_input"
24966 { echo "$as_me:$LINENO: creating $ac_file" >&5
24967 echo "$as_me: creating $ac_file" >&6;}
24971 *:-:* |
*:-) cat >"$tmp/stdin";;
24976 ac_dir
=`$as_dirname -- "$ac_file" ||
24977 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24978 X"$ac_file" : 'X\(//\)[^/]' \| \
24979 X"$ac_file" : 'X\(//\)$' \| \
24980 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24986 /^X\(\/\/\)[^/].*/{
25001 -*) as_dir
=.
/$as_dir;;
25003 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25007 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25008 *) as_qdir
=$as_dir;;
25010 as_dirs
="'$as_qdir' $as_dirs"
25011 as_dir
=`$as_dirname -- "$as_dir" ||
25012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25013 X"$as_dir" : 'X\(//\)[^/]' \| \
25014 X"$as_dir" : 'X\(//\)$' \| \
25015 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25021 /^X\(\/\/\)[^/].*/{
25034 test -d "$as_dir" && break
25036 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25037 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25038 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25039 { (exit 1); exit 1; }; }; }
25043 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25045 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25046 # A ".." for each directory in $ac_dir_suffix.
25047 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25048 case $ac_top_builddir_sub in
25049 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25050 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25053 ac_abs_top_builddir
=$ac_pwd
25054 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25055 # for backward compatibility:
25056 ac_top_builddir
=$ac_top_build_prefix
25059 .
) # We are building in place.
25061 ac_top_srcdir
=$ac_top_builddir_sub
25062 ac_abs_top_srcdir
=$ac_pwd ;;
25063 [\\/]* | ?
:[\\/]* ) # Absolute name.
25064 ac_srcdir
=$srcdir$ac_dir_suffix;
25065 ac_top_srcdir
=$srcdir
25066 ac_abs_top_srcdir
=$srcdir ;;
25067 *) # Relative name.
25068 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25069 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25070 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25072 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25082 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25083 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25087 cat >>$CONFIG_STATUS <<\_ACEOF
25088 # If the template does not know about datarootdir, expand it.
25089 # FIXME: This hack should be removed a few years after 2.60.
25090 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25092 case `sed -n '/datarootdir/ {
25101 ' $ac_file_inputs` in
25102 *datarootdir
*) ac_datarootdir_seen
=yes;;
25103 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25104 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25105 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25107 cat >>$CONFIG_STATUS <<_ACEOF
25108 ac_datarootdir_hack='
25109 s&@datadir@&$datadir&g
25110 s&@docdir@&$docdir&g
25111 s&@infodir@&$infodir&g
25112 s&@localedir@&$localedir&g
25113 s&@mandir@&$mandir&g
25114 s&\\\${datarootdir}&$datarootdir&g' ;;
25118 # Neutralize VPATH when `$srcdir' = `.'.
25119 # Shell code in configure.ac might set extrasub.
25120 # FIXME: do we really want to maintain this feature?
25121 cat >>$CONFIG_STATUS <<_ACEOF
25125 cat >>$CONFIG_STATUS <<\_ACEOF
25127 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25128 s
&@configure_input@
&$configure_input&;t t
25129 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25130 s
&@srcdir@
&$ac_srcdir&;t t
25131 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25132 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25133 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25134 s
&@builddir@
&$ac_builddir&;t t
25135 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25136 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25137 s
&@INSTALL@
&$ac_INSTALL&;t t
25138 $ac_datarootdir_hack
25139 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
25141 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25142 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25143 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25144 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25145 which seems to be undefined. Please make sure it is defined." >&5
25146 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25147 which seems to be undefined. Please make sure it is defined." >&2;}
25151 -) cat "$tmp/out"; rm -f "$tmp/out";;
25152 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25161 # Transform confdefs.h into a sed script `conftest.defines', that
25162 # substitutes the proper values into config.h.in to produce config.h.
25163 rm -f conftest.defines conftest.
tail
25164 # First, append a space to every undef/define line, to ease matching.
25165 echo 's/$/ /' >conftest.defines
25166 # Then, protect against being on the right side of a sed subst, or in
25167 # an unquoted here document, in config.status. If some macros were
25168 # called several times there might be several #defines for the same
25169 # symbol, which is useless. But do not sort them, since the last
25170 # AC_DEFINE must be honored.
25171 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25172 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25173 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25174 # PARAMS is the parameter list in the macro definition--in most cases, it's
25175 # just an empty string.
25176 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25177 ac_dB
='\\)[ (].*,\\1define\\2'
25185 s/^[ ]*#[ ]*define[ ][ ]*//
25190 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25191 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25192 ' >>conftest.defines
25194 # Remove the space that was appended to ease matching.
25195 # Then replace #undef with comments. This is necessary, for
25196 # example, in the case of _POSIX_SOURCE, which is predefined and required
25197 # on some systems where configure will not decide to define it.
25198 # (The regexp can be short, since the line contains either #define or #undef.)
25200 s,^[ #]*u.*,/* & */,' >>conftest.defines
25202 # Break up conftest.defines:
25203 ac_max_sed_lines
=50
25205 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25206 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25207 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25209 ac_in
='$ac_file_inputs'
25210 ac_out
='"$tmp/out1"'
25211 ac_nxt
='"$tmp/out2"'
25215 # Write a here document:
25216 cat >>$CONFIG_STATUS <<_ACEOF
25217 # First, check the format of the line:
25218 cat >"\$tmp/defines.sed" <<\\CEOF
25219 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25220 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25224 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25226 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25227 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25228 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25229 grep . conftest.
tail >/dev
/null ||
break
25230 rm -f conftest.defines
25231 mv conftest.
tail conftest.defines
25233 rm -f conftest.defines conftest.
tail
25235 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25236 cat >>$CONFIG_STATUS <<\_ACEOF
25237 if test x
"$ac_file" != x-
; then
25238 echo "/* $configure_input */" >"$tmp/config.h"
25239 cat "$ac_result" >>"$tmp/config.h"
25240 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25241 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25242 echo "$as_me: $ac_file is unchanged" >&6;}
25245 mv "$tmp/config.h" $ac_file
25248 echo "/* $configure_input */"
25254 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25255 echo "$as_me: executing $ac_file commands" >&6;}
25260 case $ac_file$ac_mode in
25261 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
25262 "dlls/gdi/enhmfdrv":C
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25263 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
25264 "dlls/gdi/mfdrv":C
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25265 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
25266 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25267 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
25268 "dlls/user/resources":C
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25269 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
25270 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25271 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
25272 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
25273 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
25279 { (exit 0); exit 0; }
25281 chmod +x
$CONFIG_STATUS
25282 ac_clean_files
=$ac_clean_files_save
25285 # configure is writing to config.log, and then calls config.status.
25286 # config.status does its own redirection, appending to config.log.
25287 # Unfortunately, on DOS this fails, as config.log is still kept open
25288 # by configure, so config.status won't be able to write to it; its
25289 # output is simply discarded. So we exec the FD to /dev/null,
25290 # effectively closing config.log, so it can be properly (re)opened and
25291 # appended to by config.status. When coming back to configure, we
25292 # need to make the FD available again.
25293 if test "$no_create" != yes; then
25295 ac_config_status_args
=
25296 test "$silent" = yes &&
25297 ac_config_status_args
="$ac_config_status_args --quiet"
25299 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25301 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25302 # would make configure fail if this is the last instruction.
25303 $ac_cs_success ||
{ (exit 1); exit 1; }
25308 if test "$no_create" = "yes"
25313 if test "$verbose" = "yes"
25315 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25318 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25319 echo "$as_me: libcapi20 development files not found." >&6;}
25320 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25321 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25324 if test "$ac_cv_header_cups_cups_h" != "yes"
25327 { echo "$as_me:$LINENO: libcups development files not found." >&5
25328 echo "$as_me: libcups development files not found." >&6;}
25329 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25330 echo "$as_me: Wine will be built without CUPS support." >&6;}
25334 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25337 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25338 echo "$as_me: libgphoto2 development files not found." >&6;}
25339 if test "$ac_cv_header_sane_sane_h" = "yes"
25341 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25342 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25344 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25345 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25349 if test "$ac_cv_header_hal_libhal_h" != "yes"
25352 { echo "$as_me:$LINENO: libhal development files not found." >&5
25353 echo "$as_me: libhal development files not found." >&6;}
25354 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25355 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25358 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25361 { echo "$as_me:$LINENO: libicu development files not found." >&5
25362 echo "$as_me: libicu development files not found." >&6;}
25363 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25364 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25367 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25370 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25371 echo "$as_me: liblcms development files not found." >&6;}
25372 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25373 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25376 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25379 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25380 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25381 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25382 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25385 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25388 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25389 echo "$as_me: lib(n)curses development files not found." >&6;}
25390 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25391 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25394 if test "$ac_cv_header_sane_sane_h" != "yes"
25397 { echo "$as_me:$LINENO: libsane development files not found." >&5
25398 echo "$as_me: libsane development files not found." >&6;}
25399 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25400 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25403 if test "$have_x" = "yes"
25405 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25408 { echo "$as_me:$LINENO: libxext development files not found." >&5
25409 echo "$as_me: libxext development files not found." >&6;}
25410 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25411 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25414 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25417 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25418 echo "$as_me: libXrandr development files not found." >&6;}
25419 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25420 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25423 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25426 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25427 echo "$as_me: libXrender development files not found." >&6;}
25428 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25429 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25432 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25435 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25436 echo "$as_me: libXxf86vm development files not found." >&6;}
25437 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25438 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25442 if test "$ac_cv_header_libxml_parser_h" != "yes"
25445 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25446 echo "$as_me: libxml2 development files not found." >&6;}
25447 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25448 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25451 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25454 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25455 echo "$as_me: libxslt development files not found." >&6;}
25456 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25457 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25462 if test "$have_x" = "no"
25465 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25466 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25467 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25468 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25469 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25470 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25471 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25472 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25475 if test -z "$OPENGLFILES"
25478 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25479 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25480 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25481 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25482 if test "$wine_cv_opengl_headers_found" = "no"
25484 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25485 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25487 if test "$wine_cv_opengl_header_version_OK" = "no"
25489 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25490 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25491 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25493 if test -f /usr
/X11R
6/lib
/libGL.a
25495 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25496 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25497 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25498 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25500 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25501 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25506 if test "$wine_cv_msg_freetype" = "yes"
25509 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25510 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25511 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25512 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25513 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25514 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25515 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25516 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25519 if test -z "$FONTSSUBDIRS"
25522 if test "$FONTFORGE" = "false"
25524 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25525 echo "$as_me: WARNING: FontForge is missing." >&2;}
25527 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25528 echo "$as_me: WARNING: FreeType is missing." >&2;}
25530 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25531 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25534 if test -z "$ALSALIBS" -a \
25535 -z "$ARTSC_LIBS" -a \
25536 -z "$AUDIOIOLIBS" -a \
25538 -z "$ESD_LIBS" -a \
25539 -z "$ac_cv_lib_soname_jack" -a \
25540 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25541 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25542 "$ac_cv_header_soundcard_h" != "yes"
25545 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25546 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25547 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25548 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25549 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25550 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25554 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."