2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59e for Wine 0.9.16.
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.16'
563 PACKAGE_STRING
='Wine 0.9.16'
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
761 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.16 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.16:";;
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.16
1446 generated by GNU Autoconf
2.59e
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.16, which was
1460 generated by GNU Autoconf 2.59e. 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
=
2454 echo "$as_me: failed program was:" >&5
2455 sed 's/^/| /' conftest.
$ac_ext >&5
2457 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2458 See \`config.log' for more details." >&5
2459 echo "$as_me: error: C compiler cannot create executables
2460 See \`config.log' for more details." >&2;}
2461 { (exit 77); exit 77; }; }
2464 ac_exeext
=$ac_cv_exeext
2465 { echo "$as_me:$LINENO: result: $ac_file" >&5
2466 echo "${ECHO_T}$ac_file" >&6; }
2468 # Check that the compiler produces executables we can run. If not, either
2469 # the compiler is broken, or we cross compile.
2470 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2471 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2472 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2473 # If not cross compiling, check that we can run a simple program.
2474 if test "$cross_compiling" != yes; then
2475 if { ac_try
='./$ac_file'
2476 { (case "(($ac_try" in
2477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2478 *) ac_try_echo=$ac_try;;
2480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2481 (eval "$ac_try") 2>&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; }; then
2487 if test "$cross_compiling" = maybe; then
2490 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2491 If you meant to cross compile, use \`--host'.
2492 See \`config.log' for more details.
" >&5
2493 echo "$as_me: error
: cannot run C compiled programs.
2494 If you meant to cross compile
, use \
`--host'.
2495 See \`config.log
' for more details." >&2;}
2496 { (exit 1); exit 1; }; }
2500 { echo "$as_me:$LINENO: result: yes" >&5
2501 echo "${ECHO_T}yes" >&6; }
2503 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2504 ac_clean_files=$ac_clean_files_save
2505 # Check that the compiler produces executables we can run. If not, either
2506 # the compiler is broken, or we cross compile.
2507 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2508 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2509 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2510 echo "${ECHO_T}$cross_compiling" >&6; }
2512 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2513 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2514 if { (ac_try="$ac_link"
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2520 (eval "$ac_link") 2>&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; then
2524 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2525 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2526 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2528 for ac_file
in conftest.exe conftest conftest.
*; do
2529 test -f "$ac_file" ||
continue
2531 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2532 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2538 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2539 See \`config.log' for more details." >&5
2540 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2541 See \`config.log' for more details." >&2;}
2542 { (exit 1); exit 1; }; }
2545 rm -f conftest
$ac_cv_exeext
2546 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2547 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2549 rm -f conftest.
$ac_ext
2550 EXEEXT
=$ac_cv_exeext
2552 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2554 if test "${ac_cv_objext+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 cat >conftest.
$ac_ext <<_ACEOF
2560 cat confdefs.h
>>conftest.
$ac_ext
2561 cat >>conftest.
$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2572 rm -f conftest.o conftest.obj
2573 if { (ac_try
="$ac_compile"
2575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2579 (eval "$ac_compile") 2>&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }; then
2583 for ac_file in conftest.o conftest.obj conftest.*; do
2584 test -f "$ac_file" || continue;
2586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2587 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2592 echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.$ac_ext >&5
2595 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2596 See \`config.log
' for more details." >&5
2597 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2598 See \`config.log' for more details.
" >&2;}
2599 { (exit 1); exit 1; }; }
2602 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2604 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2605 echo "${ECHO_T}$ac_cv_objext" >&6; }
2606 OBJEXT=$ac_cv_objext
2608 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2609 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2610 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2611 echo $ECHO_N "(cached
) $ECHO_C" >&6
2613 cat >conftest.$ac_ext <<_ACEOF
2616 cat confdefs.h >>conftest.$ac_ext
2617 cat >>conftest.$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2631 rm -f conftest.$ac_objext
2632 if { (ac_try="$ac_compile"
2634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635 *) ac_try_echo=$ac_try;;
2637 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2638 (eval "$ac_compile") 2>conftest.er1
2640 grep -v '^ *+' conftest.er1 >conftest.err
2642 cat conftest.err >&5
2643 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2644 (exit $ac_status); } &&
2645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2646 { (case "(($ac_try" in
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2650 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2651 (eval "$ac_try") 2>&5
2653 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2654 (exit $ac_status); }; } &&
2655 { ac_try='test -s conftest.$ac_objext'
2656 { (case "(($ac_try" in
2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2660 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2661 (eval "$ac_try") 2>&5
2663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2664 (exit $ac_status); }; }; then
2667 echo "$as_me: failed program was
:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2674 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2677 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2678 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2679 GCC=`test $ac_compiler_gnu = yes && echo yes`
2680 ac_test_CFLAGS=${CFLAGS+set}
2681 ac_save_CFLAGS=$CFLAGS
2682 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2683 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2684 if test "${ac_cv_prog_cc_g+set}" = set; then
2685 echo $ECHO_N "(cached
) $ECHO_C" >&6
2687 ac_save_c_werror_flag=$ac_c_werror_flag
2688 ac_c_werror_flag=yes
2691 cat >conftest.$ac_ext <<_ACEOF
2694 cat confdefs.h >>conftest.$ac_ext
2695 cat >>conftest.$ac_ext <<_ACEOF
2696 /* end confdefs.h. */
2706 rm -f conftest.$ac_objext
2707 if { (ac_try="$ac_compile"
2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2712 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2713 (eval "$ac_compile") 2>conftest.er1
2715 grep -v '^ *+' conftest.er1 >conftest.err
2717 cat conftest.err >&5
2718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2719 (exit $ac_status); } &&
2720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2721 { (case "(($ac_try" in
2722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2723 *) ac_try_echo=$ac_try;;
2725 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2726 (eval "$ac_try") 2>&5
2728 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2729 (exit $ac_status); }; } &&
2730 { ac_try='test -s conftest.$ac_objext'
2731 { (case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2735 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2736 (eval "$ac_try") 2>&5
2738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2739 (exit $ac_status); }; }; then
2742 echo "$as_me: failed program was
:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2746 cat >conftest.$ac_ext <<_ACEOF
2749 cat confdefs.h >>conftest.$ac_ext
2750 cat >>conftest.$ac_ext <<_ACEOF
2751 /* end confdefs.h. */
2761 rm -f conftest.$ac_objext
2762 if { (ac_try="$ac_compile"
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2768 (eval "$ac_compile") 2>conftest.er1
2770 grep -v '^ *+' conftest.er1 >conftest.err
2772 cat conftest.err >&5
2773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2774 (exit $ac_status); } &&
2775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2776 { (case "(($ac_try" in
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2781 (eval "$ac_try") 2>&5
2783 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2784 (exit $ac_status); }; } &&
2785 { ac_try='test -s conftest.$ac_objext'
2786 { (case "(($ac_try" in
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2791 (eval "$ac_try") 2>&5
2793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2794 (exit $ac_status); }; }; then
2797 echo "$as_me: failed program was
:" >&5
2798 sed 's/^/| /' conftest.$ac_ext >&5
2800 ac_c_werror_flag=$ac_save_c_werror_flag
2802 cat >conftest.$ac_ext <<_ACEOF
2805 cat confdefs.h >>conftest.$ac_ext
2806 cat >>conftest.$ac_ext <<_ACEOF
2807 /* end confdefs.h. */
2817 rm -f conftest.$ac_objext
2818 if { (ac_try="$ac_compile"
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2823 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2824 (eval "$ac_compile") 2>conftest.er1
2826 grep -v '^ *+' conftest.er1 >conftest.err
2828 cat conftest.err >&5
2829 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2830 (exit $ac_status); } &&
2831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2832 { (case "(($ac_try" in
2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2836 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2837 (eval "$ac_try") 2>&5
2839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2840 (exit $ac_status); }; } &&
2841 { ac_try='test -s conftest.$ac_objext'
2842 { (case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2847 (eval "$ac_try") 2>&5
2849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2850 (exit $ac_status); }; }; then
2853 echo "$as_me: failed program was
:" >&5
2854 sed 's/^/| /' conftest.$ac_ext >&5
2859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 ac_c_werror_flag=$ac_save_c_werror_flag
2868 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2869 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2870 if test "$ac_test_CFLAGS" = set; then
2871 CFLAGS=$ac_save_CFLAGS
2872 elif test $ac_cv_prog_cc_g = yes; then
2873 if test "$GCC" = yes; then
2879 if test "$GCC" = yes; then
2885 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2886 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2887 if test "${ac_cv_prog_cc_c89+set}" = set; then
2888 echo $ECHO_N "(cached
) $ECHO_C" >&6
2890 ac_cv_prog_cc_c89=no
2892 cat >conftest.$ac_ext <<_ACEOF
2895 cat confdefs.h >>conftest.$ac_ext
2896 cat >>conftest.$ac_ext <<_ACEOF
2897 /* end confdefs.h. */
2900 #include <sys/types.h>
2901 #include <sys/stat.h>
2902 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2903 struct buf { int x; };
2904 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2905 static char *e (p, i)
2911 static char *f (char * (*g) (char **, int), char **p, ...)
2916 s = g (p, va_arg (v,int));
2921 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2922 function prototypes and stuff, but not '\xHH' hex character constants.
2923 These don't provoke an error unfortunately, instead are silently treated
2924 as 'x'. The following induces an error, until -std is added to get
2925 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2926 array size at least. It's necessary to write '\x00'==0 to get something
2927 that's true only with -std. */
2928 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2930 int test (int i, double x);
2931 struct s1 {int (*f) (int a);};
2932 struct s2 {int (*f) (double a);};
2933 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2939 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2944 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2945 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2947 CC="$ac_save_CC $ac_arg"
2948 rm -f conftest.$ac_objext
2949 if { (ac_try="$ac_compile"
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2954 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2955 (eval "$ac_compile") 2>conftest.er1
2957 grep -v '^ *+' conftest.er1 >conftest.err
2959 cat conftest.err >&5
2960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2961 (exit $ac_status); } &&
2962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2963 { (case "(($ac_try" in
2964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965 *) ac_try_echo=$ac_try;;
2967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2968 (eval "$ac_try") 2>&5
2970 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2971 (exit $ac_status); }; } &&
2972 { ac_try='test -s conftest.$ac_objext'
2973 { (case "(($ac_try" in
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_try") 2>&5
2980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2981 (exit $ac_status); }; }; then
2982 ac_cv_prog_cc_c89=$ac_arg
2984 echo "$as_me: failed program was
:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2990 rm -f core conftest.err conftest.$ac_objext
2991 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2993 rm -f conftest.$ac_ext
2998 case "x
$ac_cv_prog_cc_c89" in
3000 { echo "$as_me:$LINENO: result
: none needed
" >&5
3001 echo "${ECHO_T}none needed
" >&6; } ;;
3003 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3004 echo "${ECHO_T}unsupported
" >&6; } ;;
3006 CC="$CC $ac_cv_prog_cc_c89"
3007 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3008 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3013 ac_cpp='$CPP $CPPFLAGS'
3014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 ac_cpp='$CXXCPP $CPPFLAGS'
3020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3023 if test -z "$CXX"; then
3024 if test -n "$CCC"; then
3027 if test -n "$ac_tool_prefix"; then
3028 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3031 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3032 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3033 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3034 if test "${ac_cv_prog_CXX+set}" = set; then
3035 echo $ECHO_N "(cached
) $ECHO_C" >&6
3037 if test -n "$CXX"; then
3038 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3047 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3048 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3058 if test -n "$CXX"; then
3059 { echo "$as_me:$LINENO: result
: $CXX" >&5
3060 echo "${ECHO_T}$CXX" >&6; }
3062 { echo "$as_me:$LINENO: result
: no
" >&5
3063 echo "${ECHO_T}no
" >&6; }
3067 test -n "$CXX" && break
3070 if test -z "$CXX"; then
3072 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3074 # Extract the first word of "$ac_prog", so it can be a program name with args.
3075 set dummy $ac_prog; ac_word=$2
3076 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3077 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3078 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3079 echo $ECHO_N "(cached
) $ECHO_C" >&6
3081 if test -n "$ac_ct_CXX"; then
3082 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir=.
3089 for ac_exec_ext in '' $ac_executable_extensions; do
3090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3091 ac_cv_prog_ac_ct_CXX="$ac_prog"
3092 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3101 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3102 if test -n "$ac_ct_CXX"; then
3103 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3104 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3106 { echo "$as_me:$LINENO: result
: no
" >&5
3107 echo "${ECHO_T}no
" >&6; }
3111 test -n "$ac_ct_CXX" && break
3114 if test "x
$ac_ct_CXX" = x; then
3117 case $cross_compiling:$ac_tool_warned in
3119 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3120 whose name does not start with the
host triplet. If you think this
3121 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3122 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3123 whose name does not start with the
host triplet. If you think this
3124 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3125 ac_tool_warned=yes ;;
3133 # Provide some information about the compiler.
3134 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3135 ac_compiler=`set X $ac_compile; echo $2`
3136 { (ac_try="$ac_compiler --version >&5"
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3142 (eval "$ac_compiler --version >&5") 2>&5
3144 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3145 (exit $ac_status); }
3146 { (ac_try="$ac_compiler -v >&5"
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_compiler -v >&5") 2>&5
3154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3155 (exit $ac_status); }
3156 { (ac_try="$ac_compiler -V >&5"
3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159 *) ac_try_echo=$ac_try;;
3161 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3162 (eval "$ac_compiler -V >&5") 2>&5
3164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3165 (exit $ac_status); }
3167 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3168 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3169 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3170 echo $ECHO_N "(cached
) $ECHO_C" >&6
3172 cat >conftest.$ac_ext <<_ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3199 grep -v '^ *+' conftest.er1 >conftest.err
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3203 (exit $ac_status); } &&
3204 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3205 { (case "(($ac_try" in
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3210 (eval "$ac_try") 2>&5
3212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3213 (exit $ac_status); }; } &&
3214 { ac_try='test -s conftest.$ac_objext'
3215 { (case "(($ac_try" in
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3220 (eval "$ac_try") 2>&5
3222 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3223 (exit $ac_status); }; }; then
3226 echo "$as_me: failed program was
:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3233 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3236 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3237 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3238 GXX=`test $ac_compiler_gnu = yes && echo yes`
3239 ac_test_CXXFLAGS=${CXXFLAGS+set}
3240 ac_save_CXXFLAGS=$CXXFLAGS
3241 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3242 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3243 if test "${ac_cv_prog_cxx_g+set}" = set; then
3244 echo $ECHO_N "(cached
) $ECHO_C" >&6
3246 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3247 ac_cxx_werror_flag=yes
3250 cat >conftest.$ac_ext <<_ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3271 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3274 grep -v '^ *+' conftest.er1 >conftest.err
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3278 (exit $ac_status); } &&
3279 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3280 { (case "(($ac_try" in
3281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282 *) ac_try_echo=$ac_try;;
3284 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3285 (eval "$ac_try") 2>&5
3287 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3288 (exit $ac_status); }; } &&
3289 { ac_try='test -s conftest.$ac_objext'
3290 { (case "(($ac_try" in
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3294 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3295 (eval "$ac_try") 2>&5
3297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3298 (exit $ac_status); }; }; then
3299 ac_cv_prog_cxx_g=yes
3301 echo "$as_me: failed program was
:" >&5
3302 sed 's/^/| /' conftest.$ac_ext >&5
3305 cat >conftest.$ac_ext <<_ACEOF
3308 cat confdefs.h >>conftest.$ac_ext
3309 cat >>conftest.$ac_ext <<_ACEOF
3310 /* end confdefs.h. */
3320 rm -f conftest.$ac_objext
3321 if { (ac_try="$ac_compile"
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3327 (eval "$ac_compile") 2>conftest.er1
3329 grep -v '^ *+' conftest.er1 >conftest.err
3331 cat conftest.err >&5
3332 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3333 (exit $ac_status); } &&
3334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3335 { (case "(($ac_try" in
3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3339 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3340 (eval "$ac_try") 2>&5
3342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3343 (exit $ac_status); }; } &&
3344 { ac_try='test -s conftest.$ac_objext'
3345 { (case "(($ac_try" in
3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3349 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3350 (eval "$ac_try") 2>&5
3352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3353 (exit $ac_status); }; }; then
3356 echo "$as_me: failed program was
:" >&5
3357 sed 's/^/| /' conftest.$ac_ext >&5
3359 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3361 cat >conftest.$ac_ext <<_ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3376 rm -f conftest.$ac_objext
3377 if { (ac_try="$ac_compile"
3379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380 *) ac_try_echo=$ac_try;;
3382 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3383 (eval "$ac_compile") 2>conftest.er1
3385 grep -v '^ *+' conftest.er1 >conftest.err
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3391 { (case "(($ac_try" in
3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393 *) ac_try_echo=$ac_try;;
3395 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3396 (eval "$ac_try") 2>&5
3398 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3399 (exit $ac_status); }; } &&
3400 { ac_try='test -s conftest.$ac_objext'
3401 { (case "(($ac_try" in
3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403 *) ac_try_echo=$ac_try;;
3405 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3406 (eval "$ac_try") 2>&5
3408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3409 (exit $ac_status); }; }; then
3410 ac_cv_prog_cxx_g=yes
3412 echo "$as_me: failed program was
:" >&5
3413 sed 's/^/| /' conftest.$ac_ext >&5
3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3427 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3428 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3429 if test "$ac_test_CXXFLAGS" = set; then
3430 CXXFLAGS=$ac_save_CXXFLAGS
3431 elif test $ac_cv_prog_cxx_g = yes; then
3432 if test "$GXX" = yes; then
3438 if test "$GXX" = yes; then
3445 ac_cpp='$CPP $CPPFLAGS'
3446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3450 if test -n "$ac_tool_prefix"; then
3451 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3452 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3453 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3454 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3455 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3456 echo $ECHO_N "(cached
) $ECHO_C" >&6
3458 if test -n "$CPPBIN"; then
3459 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 test -z "$as_dir" && as_dir=.
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3468 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3469 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3478 CPPBIN=$ac_cv_prog_CPPBIN
3479 if test -n "$CPPBIN"; then
3480 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3481 echo "${ECHO_T}$CPPBIN" >&6; }
3483 { echo "$as_me:$LINENO: result
: no
" >&5
3484 echo "${ECHO_T}no
" >&6; }
3489 if test -z "$ac_cv_prog_CPPBIN"; then
3490 ac_ct_CPPBIN=$CPPBIN
3491 # Extract the first word of "cpp
", so it can be a program name with args.
3492 set dummy cpp; ac_word=$2
3493 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3494 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3495 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3496 echo $ECHO_N "(cached
) $ECHO_C" >&6
3498 if test -n "$ac_ct_CPPBIN"; then
3499 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505 test -z "$as_dir" && as_dir=.
3506 for ac_exec_ext in '' $ac_executable_extensions; do
3507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3508 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3509 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3518 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3519 if test -n "$ac_ct_CPPBIN"; then
3520 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3521 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3523 { echo "$as_me:$LINENO: result
: no
" >&5
3524 echo "${ECHO_T}no
" >&6; }
3527 if test "x
$ac_ct_CPPBIN" = x; then
3530 case $cross_compiling:$ac_tool_warned in
3532 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3533 whose name does not start with the
host triplet. If you think this
3534 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3535 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3536 whose name does not start with the
host triplet. If you think this
3537 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3538 ac_tool_warned=yes ;;
3540 CPPBIN=$ac_ct_CPPBIN
3543 CPPBIN="$ac_cv_prog_CPPBIN"
3547 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3548 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3549 if test "${wine_cv_toolsdir+set}" = set; then
3550 echo $ECHO_N "(cached
) $ECHO_C" >&6
3552 if test -z "$with_wine_tools"; then
3553 if test "$cross_compiling" = "yes"; then
3554 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3555 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3556 { (exit 1); exit 1; }; }
3558 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3560 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3561 case $with_wine_tools in
3562 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3563 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3566 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3567 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3568 { (exit 1); exit 1; }; }
3571 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3572 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3573 TOOLSDIR=$wine_cv_toolsdir
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3583 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3584 # On Suns, sometimes $CPP names a directory.
3585 if test -n "$CPP" && test -d "$CPP"; then
3588 if test -z "$CPP"; then
3589 if test "${ac_cv_prog_CPP+set}" = set; then
3590 echo $ECHO_N "(cached
) $ECHO_C" >&6
3592 # Double quotes because CPP needs to be expanded
3593 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3596 for ac_c_preproc_warn_flag in '' yes
3598 # Use a header file that comes with gcc, so configuring glibc
3599 # with a fresh cross-compiler works.
3600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3601 # <limits.h> exists even on freestanding compilers.
3602 # On the NeXT, cc -E runs the code through the compiler's parser,
3603 # not just through cpp. "Syntax error
" is here to catch this case.
3604 cat >conftest.$ac_ext <<_ACEOF
3607 cat confdefs.h >>conftest.$ac_ext
3608 cat >>conftest.$ac_ext <<_ACEOF
3609 /* end confdefs.h. */
3611 # include <limits.h>
3613 # include <assert.h>
3617 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620 *) ac_try_echo=$ac_try;;
3622 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3623 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3625 grep -v '^ *+' conftest.er1 >conftest.err
3627 cat conftest.err >&5
3628 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3629 (exit $ac_status); } >/dev/null; then
3630 if test -s conftest.err; then
3631 ac_cpp_err=$ac_c_preproc_warn_flag
3632 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3639 if test -z "$ac_cpp_err"; then
3642 echo "$as_me: failed program was
:" >&5
3643 sed 's/^/| /' conftest.$ac_ext >&5
3645 # Broken: fails on valid input.
3649 rm -f conftest.err conftest.$ac_ext
3651 # OK, works on sane cases. Now check whether nonexistent headers
3652 # can be detected and how.
3653 cat >conftest.$ac_ext <<_ACEOF
3656 cat confdefs.h >>conftest.$ac_ext
3657 cat >>conftest.$ac_ext <<_ACEOF
3658 /* end confdefs.h. */
3659 #include <ac_nonexistent.h>
3661 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3664 *) ac_try_echo=$ac_try;;
3666 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3667 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3669 grep -v '^ *+' conftest.er1 >conftest.err
3671 cat conftest.err >&5
3672 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3673 (exit $ac_status); } >/dev/null; then
3674 if test -s conftest.err; then
3675 ac_cpp_err=$ac_c_preproc_warn_flag
3676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3683 if test -z "$ac_cpp_err"; then
3684 # Broken: success on invalid input.
3687 echo "$as_me: failed program was
:" >&5
3688 sed 's/^/| /' conftest.$ac_ext >&5
3690 # Passes both tests.
3695 rm -f conftest.err conftest.$ac_ext
3698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3699 rm -f conftest.err conftest.$ac_ext
3700 if $ac_preproc_ok; then
3712 { echo "$as_me:$LINENO: result
: $CPP" >&5
3713 echo "${ECHO_T}$CPP" >&6; }
3715 for ac_c_preproc_warn_flag in '' yes
3717 # Use a header file that comes with gcc, so configuring glibc
3718 # with a fresh cross-compiler works.
3719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3720 # <limits.h> exists even on freestanding compilers.
3721 # On the NeXT, cc -E runs the code through the compiler's parser,
3722 # not just through cpp. "Syntax error
" is here to catch this case.
3723 cat >conftest.$ac_ext <<_ACEOF
3726 cat confdefs.h >>conftest.$ac_ext
3727 cat >>conftest.$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3730 # include <limits.h>
3732 # include <assert.h>
3736 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3741 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3742 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3744 grep -v '^ *+' conftest.er1 >conftest.err
3746 cat conftest.err >&5
3747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3748 (exit $ac_status); } >/dev/null; then
3749 if test -s conftest.err; then
3750 ac_cpp_err=$ac_c_preproc_warn_flag
3751 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3758 if test -z "$ac_cpp_err"; then
3761 echo "$as_me: failed program was
:" >&5
3762 sed 's/^/| /' conftest.$ac_ext >&5
3764 # Broken: fails on valid input.
3768 rm -f conftest.err conftest.$ac_ext
3770 # OK, works on sane cases. Now check whether nonexistent headers
3771 # can be detected and how.
3772 cat >conftest.$ac_ext <<_ACEOF
3775 cat confdefs.h >>conftest.$ac_ext
3776 cat >>conftest.$ac_ext <<_ACEOF
3777 /* end confdefs.h. */
3778 #include <ac_nonexistent.h>
3780 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783 *) ac_try_echo=$ac_try;;
3785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3786 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3788 grep -v '^ *+' conftest.er1 >conftest.err
3790 cat conftest.err >&5
3791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3792 (exit $ac_status); } >/dev/null; then
3793 if test -s conftest.err; then
3794 ac_cpp_err=$ac_c_preproc_warn_flag
3795 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3802 if test -z "$ac_cpp_err"; then
3803 # Broken: success on invalid input.
3806 echo "$as_me: failed program was
:" >&5
3807 sed 's/^/| /' conftest.$ac_ext >&5
3809 # Passes both tests.
3814 rm -f conftest.err conftest.$ac_ext
3817 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3818 rm -f conftest.err conftest.$ac_ext
3819 if $ac_preproc_ok; then
3822 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3823 See \
`config.log' for more details." >&5
3824 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3825 See \`config.log
' for more details." >&2;}
3826 { (exit 1); exit 1; }; }
3830 ac_cpp='$CPP $CPPFLAGS'
3831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3832 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3836 { echo "$as_me:$LINENO: checking for X" >&5
3837 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3840 # Check whether --with-x was given.
3841 if test "${with_x+set}" = set; then
3845 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3846 if test "x$with_x" = xno; then
3847 # The user explicitly disabled X.
3850 case $x_includes,$x_libraries in #(
3851 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3852 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3853 { (exit 1); exit 1; }; };; #(
3854 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 # One or both of the vars are not set, and there is no cached value.
3858 ac_x_includes=no ac_x_libraries=no
3859 rm -f -r conftest.dir
3860 if mkdir conftest.dir; then
3862 cat >Imakefile <<'_ACEOF'
3864 @echo incroot='${INCROOT}'
3866 @echo usrlibdir='${USRLIBDIR}'
3868 @echo libdir='${LIBDIR}'
3870 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3871 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3872 for ac_var in incroot usrlibdir libdir; do
3873 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3875 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3876 for ac_extension in a so sl; do
3877 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3878 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3879 ac_im_usrlibdir=$ac_im_libdir; break
3882 # Screen out bogus values from the imake configuration. They are
3883 # bogus both because they are the default anyway, and because
3884 # using them would break gcc on systems where it needs fixed includes.
3885 case $ac_im_incroot in
3886 /usr/include) ac_x_includes= ;;
3887 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3889 case $ac_im_usrlibdir in
3891 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3895 rm -f -r conftest.dir
3898 # Standard set of common directories for X headers.
3899 # Check X11 before X11Rn because it is often a symlink to the current release.
3911 /usr
/local
/X11
/include
3912 /usr
/local
/X11R
6/include
3913 /usr
/local
/X11R
5/include
3914 /usr
/local
/X11R
4/include
3916 /usr
/local
/include
/X11
3917 /usr
/local
/include
/X11R6
3918 /usr
/local
/include
/X11R5
3919 /usr
/local
/include
/X11R4
3923 /usr
/XFree86
/include
/X11
3927 /usr
/unsupported
/include
3929 /usr
/local
/x11r
5/include
3930 /usr
/lpp
/Xamples
/include
3932 /usr
/openwin
/include
3933 /usr
/openwin
/share
/include
'
3935 if test "$ac_x_includes" = no; then
3936 # Guess where to find include files, by looking for Xlib.h.
3937 # First, try using that file with no special directory specified.
3938 cat >conftest.$ac_ext <<_ACEOF
3941 cat confdefs.h >>conftest.$ac_ext
3942 cat >>conftest.$ac_ext <<_ACEOF
3943 /* end confdefs.h. */
3944 #include <X11/Xlib.h>
3946 if { (ac_try="$ac_cpp conftest.$ac_ext"
3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949 *) ac_try_echo=$ac_try;;
3951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3954 grep -v '^
*+' conftest.er1 >conftest.err
3956 cat conftest.err >&5
3957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); } >/dev/null; then
3959 if test -s conftest.err; then
3960 ac_cpp_err=$ac_c_preproc_warn_flag
3961 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3968 if test -z "$ac_cpp_err"; then
3969 # We can compile using X headers with no special include directory.
3972 echo "$as_me: failed program was:" >&5
3973 sed 's
/^
/|
/' conftest.$ac_ext >&5
3975 for ac_dir in $ac_x_header_dirs; do
3976 if test -r "$ac_dir/X11/Xlib.h"; then
3977 ac_x_includes=$ac_dir
3983 rm -f conftest.err conftest.$ac_ext
3984 fi # $ac_x_includes = no
3986 if test "$ac_x_libraries" = no; then
3987 # Check for the libraries.
3988 # See if we find them without any special options.
3989 # Don't add to
$LIBS permanently.
3992 cat >conftest.
$ac_ext <<_ACEOF
3995 cat confdefs.h
>>conftest.
$ac_ext
3996 cat >>conftest.
$ac_ext <<_ACEOF
3997 /* end confdefs.h. */
3998 #include <X11/Xlib.h>
4007 rm -f conftest.
$ac_objext conftest
$ac_exeext
4008 if { (ac_try
="$ac_link"
4010 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4011 *) ac_try_echo=$ac_try;;
4013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4014 (eval "$ac_link") 2>conftest.er1
4016 grep -v '^ *+' conftest.er1 >conftest.err
4018 cat conftest.err >&5
4019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020 (exit $ac_status); } &&
4021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4022 { (case "(($ac_try" in
4023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4024 *) ac_try_echo
=$ac_try;;
4026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4027 (eval "$ac_try") 2>&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); }; } &&
4031 { ac_try
='test -s conftest$ac_exeext'
4032 { (case "(($ac_try" in
4033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4037 (eval "$ac_try") 2>&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; }; then
4042 # We can link X programs with no special library path.
4045 echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.$ac_ext >&5
4049 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4051 # Don't even attempt the hair of trying to link an X program!
4052 for ac_extension in a so sl; do
4053 if test -r "$ac_dir/libX11.$ac_extension"; then
4054 ac_x_libraries=$ac_dir
4061 rm -f core conftest.err conftest.$ac_objext \
4062 conftest$ac_exeext conftest.$ac_ext
4063 fi # $ac_x_libraries = no
4065 case $ac_x_includes,$ac_x_libraries in #(
4067 # Didn't find X, or a directory has "'" in its name.
4068 ac_cv_have_x="have_x=no";; #(
4070 # Record where we found X for the cache.
4071 ac_cv_have_x="have_x=yes\
4072 ac_x_includes='$ac_x_includes'\
4073 ac_x_libraries='$ac_x_libraries'"
4079 eval "$ac_cv_have_x"
4082 if test "$have_x" != yes; then
4083 { echo "$as_me:$LINENO: result: $have_x" >&5
4084 echo "${ECHO_T}$have_x" >&6; }
4087 # If each of the values was on the command line, it overrides each guess.
4088 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4089 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4090 # Update the cache value to reflect the command line values.
4091 ac_cv_have_x="have_x=yes\
4092 ac_x_includes='$x_includes'\
4093 ac_x_libraries='$x_libraries'"
4094 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4095 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4098 if test "$no_x" = yes; then
4099 # Not all programs may use this symbol, but it does not hurt to define it.
4101 cat >>confdefs.h <<\_ACEOF
4102 #define X_DISPLAY_MISSING 1
4105 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4107 if test -n "$x_includes"; then
4108 X_CFLAGS="$X_CFLAGS -I$x_includes"
4111 # It would also be nice to do this for all -L options, not just this one.
4112 if test -n "$x_libraries"; then
4113 X_LIBS="$X_LIBS -L$x_libraries"
4114 # For Solaris; some versions of Sun CC require a space after -R and
4115 # others require no space. Words are not sufficient . . . .
4116 case `(uname
-sr) 2>/dev
/null
` in
4118 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4119 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4120 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4121 cat >conftest.$ac_ext <<_ACEOF
4124 cat confdefs.h >>conftest.$ac_ext
4125 cat >>conftest.$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4136 rm -f conftest.$ac_objext conftest$ac_exeext
4137 if { (ac_try="$ac_link"
4139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4140 *) ac_try_echo
=$ac_try;;
4142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4143 (eval "$ac_link") 2>conftest.er1
4145 grep -v '^ *+' conftest.er1
>conftest.err
4147 cat conftest.err
>&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); } &&
4150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4151 { (case "(($ac_try" in
4152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4153 *) ac_try_echo=$ac_try;;
4155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4156 (eval "$ac_try") 2>&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); }; } &&
4160 { ac_try='test -s conftest$ac_exeext'
4161 { (case "(($ac_try" in
4162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4163 *) ac_try_echo
=$ac_try;;
4165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4166 (eval "$ac_try") 2>&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; }; then
4172 echo "$as_me: failed program was:" >&5
4173 sed 's/^/| /' conftest.
$ac_ext >&5
4178 rm -f core conftest.err conftest.
$ac_objext \
4179 conftest
$ac_exeext conftest.
$ac_ext
4180 if test $ac_R_nospace = yes; then
4181 { echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6; }
4183 X_LIBS
="$X_LIBS -R$x_libraries"
4185 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4186 cat >conftest.
$ac_ext <<_ACEOF
4189 cat confdefs.h
>>conftest.
$ac_ext
4190 cat >>conftest.
$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4201 rm -f conftest.
$ac_objext conftest
$ac_exeext
4202 if { (ac_try
="$ac_link"
4204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_link") 2>conftest.er1
4210 grep -v '^ *+' conftest.er1 >conftest.err
4212 cat conftest.err >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4216 { (case "(($ac_try" in
4217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4218 *) ac_try_echo
=$ac_try;;
4220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4221 (eval "$ac_try") 2>&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; } &&
4225 { ac_try
='test -s conftest$ac_exeext'
4226 { (case "(($ac_try" in
4227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231 (eval "$ac_try") 2>&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4237 echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.$ac_ext >&5
4243 rm -f core conftest.err conftest.$ac_objext \
4244 conftest$ac_exeext conftest.$ac_ext
4245 if test $ac_R_space = yes; then
4246 { echo "$as_me:$LINENO: result: yes" >&5
4247 echo "${ECHO_T}yes" >&6; }
4248 X_LIBS="$X_LIBS -R $x_libraries"
4250 { echo "$as_me:$LINENO: result: neither works" >&5
4251 echo "${ECHO_T}neither works" >&6; }
4258 # Check for system-dependent libraries X programs must link with.
4259 # Do this before checking for the system-independent R6 libraries
4260 # (-lICE), since we may need -lsocket or whatever for X linking.
4262 if test "$ISC" = yes; then
4263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4265 # Martyn Johnson says this is needed for Ultrix, if the X
4266 # libraries were built with DECnet support. And Karl Berry says
4267 # the Alpha needs dnet_stub (dnet does not exist).
4268 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4269 cat >conftest.$ac_ext <<_ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4276 /* Override any GCC internal prototype to avoid an error.
4277 Use char because int might match the return type of a GCC
4278 builtin and then its argument prototype would still apply. */
4282 char XOpenDisplay ();
4286 return XOpenDisplay ();
4291 rm -f conftest.$ac_objext conftest$ac_exeext
4292 if { (ac_try="$ac_link"
4294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4295 *) ac_try_echo
=$ac_try;;
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_link") 2>conftest.er1
4300 grep -v '^ *+' conftest.er1
>conftest.err
4302 cat conftest.err
>&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } &&
4305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4306 { (case "(($ac_try" in
4307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_try") 2>&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); }; } &&
4315 { ac_try='test -s conftest$ac_exeext'
4316 { (case "(($ac_try" in
4317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4318 *) ac_try_echo
=$ac_try;;
4320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321 (eval "$ac_try") 2>&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.
$ac_ext >&5
4330 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4331 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4332 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4333 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 ac_check_lib_save_LIBS
=$LIBS
4337 cat >conftest.
$ac_ext <<_ACEOF
4340 cat confdefs.h
>>conftest.
$ac_ext
4341 cat >>conftest.
$ac_ext <<_ACEOF
4342 /* end confdefs.h. */
4344 /* Override any GCC internal prototype to avoid an error.
4345 Use char because int might match the return type of a GCC
4346 builtin and then its argument prototype would still apply. */
4354 return dnet_ntoa ();
4359 rm -f conftest.
$ac_objext conftest
$ac_exeext
4360 if { (ac_try
="$ac_link"
4362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4363 *) ac_try_echo=$ac_try;;
4365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366 (eval "$ac_link") 2>conftest.er1
4368 grep -v '^ *+' conftest.er1 >conftest.err
4370 cat conftest.err >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } &&
4373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4374 { (case "(($ac_try" in
4375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4376 *) ac_try_echo
=$ac_try;;
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_try") 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; } &&
4383 { ac_try
='test -s conftest$ac_exeext'
4384 { (case "(($ac_try" in
4385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4389 (eval "$ac_try") 2>&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; }; then
4393 ac_cv_lib_dnet_dnet_ntoa=yes
4395 echo "$as_me: failed program was:" >&5
4396 sed 's/^/| /' conftest.$ac_ext >&5
4398 ac_cv_lib_dnet_dnet_ntoa=no
4401 rm -f core conftest.err conftest.$ac_objext \
4402 conftest$ac_exeext conftest.$ac_ext
4403 LIBS=$ac_check_lib_save_LIBS
4405 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4406 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4407 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4408 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4411 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4412 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4413 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4414 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 ac_check_lib_save_LIBS=$LIBS
4418 LIBS="-ldnet_stub $LIBS"
4419 cat >conftest.$ac_ext <<_ACEOF
4422 cat confdefs.h >>conftest.$ac_ext
4423 cat >>conftest.$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4426 /* Override any GCC internal prototype to avoid an error.
4427 Use char because int might match the return type of a GCC
4428 builtin and then its argument prototype would still apply. */
4436 return dnet_ntoa ();
4441 rm -f conftest.$ac_objext conftest$ac_exeext
4442 if { (ac_try="$ac_link"
4444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4445 *) ac_try_echo
=$ac_try;;
4447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4448 (eval "$ac_link") 2>conftest.er1
4450 grep -v '^ *+' conftest.er1
>conftest.err
4452 cat conftest.err
>&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } &&
4455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4456 { (case "(($ac_try" in
4457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4461 (eval "$ac_try") 2>&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; } &&
4465 { ac_try='test -s conftest$ac_exeext'
4466 { (case "(($ac_try" in
4467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4468 *) ac_try_echo
=$ac_try;;
4470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4471 (eval "$ac_try") 2>&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; }; then
4475 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.
$ac_ext >&5
4480 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4483 rm -f core conftest.err conftest.
$ac_objext \
4484 conftest
$ac_exeext conftest.
$ac_ext
4485 LIBS
=$ac_check_lib_save_LIBS
4487 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4488 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4489 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4490 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4496 rm -f core conftest.err conftest.
$ac_objext \
4497 conftest
$ac_exeext conftest.
$ac_ext
4498 LIBS
="$ac_xsave_LIBS"
4500 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4501 # to get the SysV transport functions.
4502 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4504 # The nsl library prevents programs from opening the X display
4505 # on Irix 5.2, according to T.E. Dickey.
4506 # The functions gethostbyname, getservbyname, and inet_addr are
4507 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4508 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4509 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4510 if test "${ac_cv_func_gethostbyname+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 cat >conftest.
$ac_ext <<_ACEOF
4516 cat confdefs.h
>>conftest.
$ac_ext
4517 cat >>conftest.
$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4519 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4521 #define gethostbyname innocuous_gethostbyname
4523 /* System header to define __stub macros and hopefully few prototypes,
4524 which can conflict with char gethostbyname (); below.
4525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4526 <limits.h> exists even on freestanding compilers. */
4529 # include <limits.h>
4531 # include <assert.h>
4534 #undef gethostbyname
4536 /* Override any GCC internal prototype to avoid an error.
4537 Use char because int might match the return type of a GCC
4538 builtin and then its argument prototype would still apply. */
4542 char gethostbyname ();
4543 /* The GNU C library defines this for functions which it implements
4544 to always fail with ENOSYS. Some functions are actually named
4545 something starting with __ and the normal name is an alias. */
4546 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4553 return gethostbyname ();
4558 rm -f conftest.
$ac_objext conftest
$ac_exeext
4559 if { (ac_try
="$ac_link"
4561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4562 *) ac_try_echo=$ac_try;;
4564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 (eval "$ac_link") 2>conftest.er1
4567 grep -v '^ *+' conftest.er1 >conftest.err
4569 cat conftest.err >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } &&
4572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4573 { (case "(($ac_try" in
4574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4575 *) ac_try_echo
=$ac_try;;
4577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4578 (eval "$ac_try") 2>&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; } &&
4582 { ac_try
='test -s conftest$ac_exeext'
4583 { (case "(($ac_try" in
4584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4585 *) ac_try_echo=$ac_try;;
4587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4588 (eval "$ac_try") 2>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 ac_cv_func_gethostbyname=yes
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_func_gethostbyname=no
4600 rm -f core conftest.err conftest.$ac_objext \
4601 conftest$ac_exeext conftest.$ac_ext
4603 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4604 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4606 if test $ac_cv_func_gethostbyname = no; then
4607 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4608 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4609 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 ac_check_lib_save_LIBS=$LIBS
4614 cat >conftest.$ac_ext <<_ACEOF
4617 cat confdefs.h >>conftest.$ac_ext
4618 cat >>conftest.$ac_ext <<_ACEOF
4619 /* end confdefs.h. */
4621 /* Override any GCC internal prototype to avoid an error.
4622 Use char because int might match the return type of a GCC
4623 builtin and then its argument prototype would still apply. */
4627 char gethostbyname ();
4631 return gethostbyname ();
4636 rm -f conftest.$ac_objext conftest$ac_exeext
4637 if { (ac_try="$ac_link"
4639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4640 *) ac_try_echo
=$ac_try;;
4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643 (eval "$ac_link") 2>conftest.er1
4645 grep -v '^ *+' conftest.er1
>conftest.err
4647 cat conftest.err
>&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4651 { (case "(($ac_try" in
4652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4656 (eval "$ac_try") 2>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; } &&
4660 { ac_try='test -s conftest$ac_exeext'
4661 { (case "(($ac_try" in
4662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4663 *) ac_try_echo
=$ac_try;;
4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666 (eval "$ac_try") 2>&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_lib_nsl_gethostbyname
=yes
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.
$ac_ext >&5
4675 ac_cv_lib_nsl_gethostbyname
=no
4678 rm -f core conftest.err conftest.
$ac_objext \
4679 conftest
$ac_exeext conftest.
$ac_ext
4680 LIBS
=$ac_check_lib_save_LIBS
4682 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4683 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4684 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4685 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4688 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4689 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4690 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4691 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 ac_check_lib_save_LIBS
=$LIBS
4696 cat >conftest.
$ac_ext <<_ACEOF
4699 cat confdefs.h
>>conftest.
$ac_ext
4700 cat >>conftest.
$ac_ext <<_ACEOF
4701 /* end confdefs.h. */
4703 /* Override any GCC internal prototype to avoid an error.
4704 Use char because int might match the return type of a GCC
4705 builtin and then its argument prototype would still apply. */
4709 char gethostbyname ();
4713 return gethostbyname ();
4718 rm -f conftest.
$ac_objext conftest
$ac_exeext
4719 if { (ac_try
="$ac_link"
4721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4725 (eval "$ac_link") 2>conftest.er1
4727 grep -v '^ *+' conftest.er1 >conftest.err
4729 cat conftest.err >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } &&
4732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4733 { (case "(($ac_try" in
4734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4735 *) ac_try_echo
=$ac_try;;
4737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738 (eval "$ac_try") 2>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; } &&
4742 { ac_try
='test -s conftest$ac_exeext'
4743 { (case "(($ac_try" in
4744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4745 *) ac_try_echo=$ac_try;;
4747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4748 (eval "$ac_try") 2>&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 ac_cv_lib_bsd_gethostbyname=yes
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 ac_cv_lib_bsd_gethostbyname=no
4760 rm -f core conftest.err conftest.$ac_objext \
4761 conftest$ac_exeext conftest.$ac_ext
4762 LIBS=$ac_check_lib_save_LIBS
4764 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4765 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4766 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4773 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4774 # socket/setsockopt and other routines are undefined under SCO ODT
4775 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4776 # on later versions), says Simon Leinen: it contains gethostby*
4777 # variants that don't use the name server (or something). -lsocket
4778 # must be given before -lnsl if both are needed. We assume that
4779 # if connect needs -lnsl, so does gethostbyname.
4780 { echo "$as_me:$LINENO: checking for connect" >&5
4781 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4782 if test "${ac_cv_func_connect+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 cat >conftest.$ac_ext <<_ACEOF
4788 cat confdefs.h >>conftest.$ac_ext
4789 cat >>conftest.$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4793 #define connect innocuous_connect
4795 /* System header to define __stub macros and hopefully few prototypes,
4796 which can conflict with char connect (); below.
4797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4798 <limits.h> exists even on freestanding compilers. */
4801 # include <limits.h>
4803 # include <assert.h>
4808 /* Override any GCC internal prototype to avoid an error.
4809 Use char because int might match the return type of a GCC
4810 builtin and then its argument prototype would still apply. */
4815 /* The GNU C library defines this for functions which it implements
4816 to always fail with ENOSYS. Some functions are actually named
4817 something starting with __ and the normal name is an alias. */
4818 #if defined __stub_connect || defined __stub___connect
4830 rm -f conftest.$ac_objext conftest$ac_exeext
4831 if { (ac_try="$ac_link"
4833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4834 *) ac_try_echo
=$ac_try;;
4836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4837 (eval "$ac_link") 2>conftest.er1
4839 grep -v '^ *+' conftest.er1
>conftest.err
4841 cat conftest.err
>&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4845 { (case "(($ac_try" in
4846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4847 *) ac_try_echo=$ac_try;;
4849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4850 (eval "$ac_try") 2>&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; } &&
4854 { ac_try='test -s conftest$ac_exeext'
4855 { (case "(($ac_try" in
4856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4857 *) ac_try_echo
=$ac_try;;
4859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4860 (eval "$ac_try") 2>&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; }; then
4864 ac_cv_func_connect
=yes
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.
$ac_ext >&5
4869 ac_cv_func_connect
=no
4872 rm -f core conftest.err conftest.
$ac_objext \
4873 conftest
$ac_exeext conftest.
$ac_ext
4875 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4876 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4878 if test $ac_cv_func_connect = no
; then
4879 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4880 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4881 if test "${ac_cv_lib_socket_connect+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 ac_check_lib_save_LIBS
=$LIBS
4885 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4886 cat >conftest.
$ac_ext <<_ACEOF
4889 cat confdefs.h
>>conftest.
$ac_ext
4890 cat >>conftest.
$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4893 /* Override any GCC internal prototype to avoid an error.
4894 Use char because int might match the return type of a GCC
4895 builtin and then its argument prototype would still apply. */
4908 rm -f conftest.
$ac_objext conftest
$ac_exeext
4909 if { (ac_try
="$ac_link"
4911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4912 *) ac_try_echo=$ac_try;;
4914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4915 (eval "$ac_link") 2>conftest.er1
4917 grep -v '^ *+' conftest.er1 >conftest.err
4919 cat conftest.err >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } &&
4922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4923 { (case "(($ac_try" in
4924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4925 *) ac_try_echo
=$ac_try;;
4927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4928 (eval "$ac_try") 2>&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; } &&
4932 { ac_try
='test -s conftest$ac_exeext'
4933 { (case "(($ac_try" in
4934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4935 *) ac_try_echo=$ac_try;;
4937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4938 (eval "$ac_try") 2>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; }; then
4942 ac_cv_lib_socket_connect=yes
4944 echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.$ac_ext >&5
4947 ac_cv_lib_socket_connect=no
4950 rm -f core conftest.err conftest.$ac_objext \
4951 conftest$ac_exeext conftest.$ac_ext
4952 LIBS=$ac_check_lib_save_LIBS
4954 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4955 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4956 if test $ac_cv_lib_socket_connect = yes; then
4957 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4962 # Guillermo Gomez says -lposix is necessary on A/UX.
4963 { echo "$as_me:$LINENO: checking for remove" >&5
4964 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4965 if test "${ac_cv_func_remove+set}" = set; then
4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 cat >conftest.$ac_ext <<_ACEOF
4971 cat confdefs.h >>conftest.$ac_ext
4972 cat >>conftest.$ac_ext <<_ACEOF
4973 /* end confdefs.h. */
4974 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4976 #define remove innocuous_remove
4978 /* System header to define __stub macros and hopefully few prototypes,
4979 which can conflict with char remove (); below.
4980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4981 <limits.h> exists even on freestanding compilers. */
4984 # include <limits.h>
4986 # include <assert.h>
4991 /* Override any GCC internal prototype to avoid an error.
4992 Use char because int might match the return type of a GCC
4993 builtin and then its argument prototype would still apply. */
4998 /* The GNU C library defines this for functions which it implements
4999 to always fail with ENOSYS. Some functions are actually named
5000 something starting with __ and the normal name is an alias. */
5001 #if defined __stub_remove || defined __stub___remove
5013 rm -f conftest.$ac_objext conftest$ac_exeext
5014 if { (ac_try="$ac_link"
5016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5017 *) ac_try_echo
=$ac_try;;
5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5020 (eval "$ac_link") 2>conftest.er1
5022 grep -v '^ *+' conftest.er1
>conftest.err
5024 cat conftest.err
>&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } &&
5027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5028 { (case "(($ac_try" in
5029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5030 *) ac_try_echo=$ac_try;;
5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5033 (eval "$ac_try") 2>&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; } &&
5037 { ac_try='test -s conftest$ac_exeext'
5038 { (case "(($ac_try" in
5039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5040 *) ac_try_echo
=$ac_try;;
5042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5043 (eval "$ac_try") 2>&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; }; then
5047 ac_cv_func_remove
=yes
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.
$ac_ext >&5
5052 ac_cv_func_remove
=no
5055 rm -f core conftest.err conftest.
$ac_objext \
5056 conftest
$ac_exeext conftest.
$ac_ext
5058 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5059 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5061 if test $ac_cv_func_remove = no
; then
5062 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5063 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5064 if test "${ac_cv_lib_posix_remove+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 ac_check_lib_save_LIBS
=$LIBS
5068 LIBS
="-lposix $LIBS"
5069 cat >conftest.
$ac_ext <<_ACEOF
5072 cat confdefs.h
>>conftest.
$ac_ext
5073 cat >>conftest.
$ac_ext <<_ACEOF
5074 /* end confdefs.h. */
5076 /* Override any GCC internal prototype to avoid an error.
5077 Use char because int might match the return type of a GCC
5078 builtin and then its argument prototype would still apply. */
5091 rm -f conftest.
$ac_objext conftest
$ac_exeext
5092 if { (ac_try
="$ac_link"
5094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098 (eval "$ac_link") 2>conftest.er1
5100 grep -v '^ *+' conftest.er1 >conftest.err
5102 cat conftest.err >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } &&
5105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5106 { (case "(($ac_try" in
5107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5108 *) ac_try_echo
=$ac_try;;
5110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5111 (eval "$ac_try") 2>&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; } &&
5115 { ac_try
='test -s conftest$ac_exeext'
5116 { (case "(($ac_try" in
5117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5118 *) ac_try_echo=$ac_try;;
5120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5121 (eval "$ac_try") 2>&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; }; then
5125 ac_cv_lib_posix_remove=yes
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5130 ac_cv_lib_posix_remove=no
5133 rm -f core conftest.err conftest.$ac_objext \
5134 conftest$ac_exeext conftest.$ac_ext
5135 LIBS=$ac_check_lib_save_LIBS
5137 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5138 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5139 if test $ac_cv_lib_posix_remove = yes; then
5140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5145 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5146 { echo "$as_me:$LINENO: checking for shmat" >&5
5147 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5148 if test "${ac_cv_func_shmat+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 cat >conftest.$ac_ext <<_ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5157 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5159 #define shmat innocuous_shmat
5161 /* System header to define __stub macros and hopefully few prototypes,
5162 which can conflict with char shmat (); below.
5163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5164 <limits.h> exists even on freestanding compilers. */
5167 # include <limits.h>
5169 # include <assert.h>
5174 /* Override any GCC internal prototype to avoid an error.
5175 Use char because int might match the return type of a GCC
5176 builtin and then its argument prototype would still apply. */
5181 /* The GNU C library defines this for functions which it implements
5182 to always fail with ENOSYS. Some functions are actually named
5183 something starting with __ and the normal name is an alias. */
5184 #if defined __stub_shmat || defined __stub___shmat
5196 rm -f conftest.$ac_objext conftest$ac_exeext
5197 if { (ac_try="$ac_link"
5199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5200 *) ac_try_echo
=$ac_try;;
5202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5203 (eval "$ac_link") 2>conftest.er1
5205 grep -v '^ *+' conftest.er1
>conftest.err
5207 cat conftest.err
>&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } &&
5210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5211 { (case "(($ac_try" in
5212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5213 *) ac_try_echo=$ac_try;;
5215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5216 (eval "$ac_try") 2>&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; } &&
5220 { ac_try='test -s conftest$ac_exeext'
5221 { (case "(($ac_try" in
5222 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5223 *) ac_try_echo
=$ac_try;;
5225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_try") 2>&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); }; }; then
5230 ac_cv_func_shmat
=yes
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.
$ac_ext >&5
5238 rm -f core conftest.err conftest.
$ac_objext \
5239 conftest
$ac_exeext conftest.
$ac_ext
5241 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5242 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5244 if test $ac_cv_func_shmat = no
; then
5245 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5246 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5247 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 ac_check_lib_save_LIBS
=$LIBS
5252 cat >conftest.
$ac_ext <<_ACEOF
5255 cat confdefs.h
>>conftest.
$ac_ext
5256 cat >>conftest.
$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5259 /* Override any GCC internal prototype to avoid an error.
5260 Use char because int might match the return type of a GCC
5261 builtin and then its argument prototype would still apply. */
5274 rm -f conftest.
$ac_objext conftest
$ac_exeext
5275 if { (ac_try
="$ac_link"
5277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5281 (eval "$ac_link") 2>conftest.er1
5283 grep -v '^ *+' conftest.er1 >conftest.err
5285 cat conftest.err >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); } &&
5288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5289 { (case "(($ac_try" in
5290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5291 *) ac_try_echo
=$ac_try;;
5293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5294 (eval "$ac_try") 2>&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); }; } &&
5298 { ac_try
='test -s conftest$ac_exeext'
5299 { (case "(($ac_try" in
5300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5301 *) ac_try_echo=$ac_try;;
5303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5304 (eval "$ac_try") 2>&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); }; }; then
5308 ac_cv_lib_ipc_shmat=yes
5310 echo "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.$ac_ext >&5
5313 ac_cv_lib_ipc_shmat=no
5316 rm -f core conftest.err conftest.$ac_objext \
5317 conftest$ac_exeext conftest.$ac_ext
5318 LIBS=$ac_check_lib_save_LIBS
5320 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5321 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5322 if test $ac_cv_lib_ipc_shmat = yes; then
5323 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5329 # Check for libraries that X11R6 Xt/Xaw programs need.
5330 ac_save_LDFLAGS=$LDFLAGS
5331 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5332 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5333 # check for ICE first), but we must link in the order -lSM -lICE or
5334 # we get undefined symbols. So assume we have SM if we have ICE.
5335 # These have to be linked with before -lX11, unlike the other
5336 # libraries we check for below, so use a different variable.
5337 # John Interrante, Karl Berry
5338 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5339 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5340 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 ac_check_lib_save_LIBS=$LIBS
5344 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5345 cat >conftest.$ac_ext <<_ACEOF
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5352 /* Override any GCC internal prototype to avoid an error.
5353 Use char because int might match the return type of a GCC
5354 builtin and then its argument prototype would still apply. */
5358 char IceConnectionNumber ();
5362 return IceConnectionNumber ();
5367 rm -f conftest.$ac_objext conftest$ac_exeext
5368 if { (ac_try="$ac_link"
5370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5371 *) ac_try_echo
=$ac_try;;
5373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5374 (eval "$ac_link") 2>conftest.er1
5376 grep -v '^ *+' conftest.er1
>conftest.err
5378 cat conftest.err
>&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } &&
5381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5382 { (case "(($ac_try" in
5383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5384 *) ac_try_echo=$ac_try;;
5386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5387 (eval "$ac_try") 2>&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }; } &&
5391 { ac_try='test -s conftest$ac_exeext'
5392 { (case "(($ac_try" in
5393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5394 *) ac_try_echo
=$ac_try;;
5396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5397 (eval "$ac_try") 2>&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; }; then
5401 ac_cv_lib_ICE_IceConnectionNumber
=yes
5403 echo "$as_me: failed program was:" >&5
5404 sed 's/^/| /' conftest.
$ac_ext >&5
5406 ac_cv_lib_ICE_IceConnectionNumber
=no
5409 rm -f core conftest.err conftest.
$ac_objext \
5410 conftest
$ac_exeext conftest.
$ac_ext
5411 LIBS
=$ac_check_lib_save_LIBS
5413 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5414 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5415 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5416 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5419 LDFLAGS
=$ac_save_LDFLAGS
5423 for ac_prog
in flex
lex
5425 # Extract the first word of "$ac_prog", so it can be a program name with args.
5426 set dummy
$ac_prog; ac_word
=$2
5427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5429 if test "${ac_cv_prog_LEX+set}" = set; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 if test -n "$LEX"; then
5433 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_LEX
="$ac_prog"
5443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 if test -n "$LEX"; then
5454 { echo "$as_me:$LINENO: result: $LEX" >&5
5455 echo "${ECHO_T}$LEX" >&6; }
5457 { echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6; }
5462 test -n "$LEX" && break
5464 test -n "$LEX" || LEX
=":"
5466 if test -z "$LEXLIB"
5468 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5469 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5470 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 ac_check_lib_save_LIBS
=$LIBS
5475 cat >conftest.
$ac_ext <<_ACEOF
5478 cat confdefs.h
>>conftest.
$ac_ext
5479 cat >>conftest.
$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5482 /* Override any GCC internal prototype to avoid an error.
5483 Use char because int might match the return type of a GCC
5484 builtin and then its argument prototype would still apply. */
5497 rm -f conftest.
$ac_objext conftest
$ac_exeext
5498 if { (ac_try
="$ac_link"
5500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5501 *) ac_try_echo=$ac_try;;
5503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5504 (eval "$ac_link") 2>conftest.er1
5506 grep -v '^ *+' conftest.er1 >conftest.err
5508 cat conftest.err >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); } &&
5511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5512 { (case "(($ac_try" in
5513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5514 *) ac_try_echo
=$ac_try;;
5516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5517 (eval "$ac_try") 2>&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; } &&
5521 { ac_try
='test -s conftest$ac_exeext'
5522 { (case "(($ac_try" in
5523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5524 *) ac_try_echo=$ac_try;;
5526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5527 (eval "$ac_try") 2>&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); }; }; then
5531 ac_cv_lib_fl_yywrap=yes
5533 echo "$as_me: failed program was:" >&5
5534 sed 's/^/| /' conftest.$ac_ext >&5
5536 ac_cv_lib_fl_yywrap=no
5539 rm -f core conftest.err conftest.$ac_objext \
5540 conftest$ac_exeext conftest.$ac_ext
5541 LIBS=$ac_check_lib_save_LIBS
5543 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5544 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5545 if test $ac_cv_lib_fl_yywrap = yes; then
5548 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5549 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5550 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 ac_check_lib_save_LIBS=$LIBS
5555 cat >conftest.$ac_ext <<_ACEOF
5558 cat confdefs.h >>conftest.$ac_ext
5559 cat >>conftest.$ac_ext <<_ACEOF
5560 /* end confdefs.h. */
5562 /* Override any GCC internal prototype to avoid an error.
5563 Use char because int might match the return type of a GCC
5564 builtin and then its argument prototype would still apply. */
5577 rm -f conftest.$ac_objext conftest$ac_exeext
5578 if { (ac_try="$ac_link"
5580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5581 *) ac_try_echo
=$ac_try;;
5583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5584 (eval "$ac_link") 2>conftest.er1
5586 grep -v '^ *+' conftest.er1
>conftest.err
5588 cat conftest.err
>&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } &&
5591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5592 { (case "(($ac_try" in
5593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5594 *) ac_try_echo=$ac_try;;
5596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5597 (eval "$ac_try") 2>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; } &&
5601 { ac_try='test -s conftest$ac_exeext'
5602 { (case "(($ac_try" in
5603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5604 *) ac_try_echo
=$ac_try;;
5606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5607 (eval "$ac_try") 2>&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); }; }; then
5611 ac_cv_lib_l_yywrap
=yes
5613 echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.
$ac_ext >&5
5616 ac_cv_lib_l_yywrap
=no
5619 rm -f core conftest.err conftest.
$ac_objext \
5620 conftest
$ac_exeext conftest.
$ac_ext
5621 LIBS
=$ac_check_lib_save_LIBS
5623 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5624 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5625 if test $ac_cv_lib_l_yywrap = yes; then
5633 if test "x$LEX" != "x:"; then
5634 { echo "$as_me:$LINENO: checking lex output file root" >&5
5635 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5636 if test "${ac_cv_prog_lex_root+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 # The minimal lex program is just a single line: %%. But some broken lexes
5640 # (Solaris, I think it was) want two %% lines, so accommodate them.
5641 cat >conftest.l
<<_ACEOF
5645 { (ac_try
="$LEX conftest.l"
5647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5648 *) ac_try_echo=$ac_try;;
5650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5651 (eval "$LEX conftest.l") 2>&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }
5655 if test -f lex.yy.c; then
5656 ac_cv_prog_lex_root=lex.yy
5657 elif test -f lexyy.c; then
5658 ac_cv_prog_lex_root=lexyy
5660 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5661 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5662 { (exit 1); exit 1; }; }
5665 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5666 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5668 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5670 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5671 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5672 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5675 # POSIX says lex can declare yytext either as a pointer or an array; the
5676 # default is implementation-dependent. Figure out which it is, since
5677 # not all implementations provide the %pointer and %array declarations.
5678 ac_cv_prog_lex_yytext_pointer=no
5679 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5681 LIBS="$LIBS $LEXLIB"
5682 cat >conftest.$ac_ext <<_ACEOF
5683 `cat $LEX_OUTPUT_ROOT.c
`
5685 rm -f conftest.$ac_objext conftest$ac_exeext
5686 if { (ac_try="$ac_link"
5688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5689 *) ac_try_echo
=$ac_try;;
5691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5692 (eval "$ac_link") 2>conftest.er1
5694 grep -v '^ *+' conftest.er1
>conftest.err
5696 cat conftest.err
>&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } &&
5699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5700 { (case "(($ac_try" in
5701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5702 *) ac_try_echo=$ac_try;;
5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705 (eval "$ac_try") 2>&5
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; } &&
5709 { ac_try='test -s conftest$ac_exeext'
5710 { (case "(($ac_try" in
5711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5712 *) ac_try_echo
=$ac_try;;
5714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5715 (eval "$ac_try") 2>&5
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); }; }; then
5719 ac_cv_prog_lex_yytext_pointer
=yes
5721 echo "$as_me: failed program was:" >&5
5722 sed 's/^/| /' conftest.
$ac_ext >&5
5727 rm -f core conftest.err conftest.
$ac_objext \
5728 conftest
$ac_exeext conftest.
$ac_ext
5730 rm -f "${LEX_OUTPUT_ROOT}.c"
5733 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5734 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5735 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5737 cat >>confdefs.h
<<\_ACEOF
5738 #define YYTEXT_POINTER 1
5745 for ac_prog
in $LEX flex
lex
5747 # Extract the first word of "$ac_prog", so it can be a program name with args.
5748 set dummy
$ac_prog; ac_word
=$2
5749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5751 if test "${ac_cv_prog_XLEX+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5754 if test -n "$XLEX"; then
5755 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
5757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir
=.
5762 for ac_exec_ext
in '' $ac_executable_extensions; do
5763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5764 ac_cv_prog_XLEX
="$ac_prog"
5765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 XLEX
=$ac_cv_prog_XLEX
5775 if test -n "$XLEX"; then
5776 { echo "$as_me:$LINENO: result: $XLEX" >&5
5777 echo "${ECHO_T}$XLEX" >&6; }
5779 { echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6; }
5784 test -n "$XLEX" && break
5786 test -n "$XLEX" || XLEX
="none"
5788 if test "$XLEX" = "none"
5790 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5791 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5792 { (exit 1); exit 1; }; }
5795 for ac_prog
in bison
5797 # Extract the first word of "$ac_prog", so it can be a program name with args.
5798 set dummy
$ac_prog; ac_word
=$2
5799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5801 if test "${ac_cv_prog_BISON+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 if test -n "$BISON"; then
5805 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5811 test -z "$as_dir" && as_dir
=.
5812 for ac_exec_ext
in '' $ac_executable_extensions; do
5813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5814 ac_cv_prog_BISON
="$ac_prog"
5815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 BISON
=$ac_cv_prog_BISON
5825 if test -n "$BISON"; then
5826 { echo "$as_me:$LINENO: result: $BISON" >&5
5827 echo "${ECHO_T}$BISON" >&6; }
5829 { echo "$as_me:$LINENO: result: no" >&5
5830 echo "${ECHO_T}no" >&6; }
5834 test -n "$BISON" && break
5836 test -n "$BISON" || BISON
="none"
5838 if test "$BISON" = "none"
5840 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5841 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5842 { (exit 1); exit 1; }; }
5845 if test -n "$ac_tool_prefix"; then
5846 for ac_prog
in gas as
5848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5849 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5852 if test "${ac_cv_prog_AS+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5855 if test -n "$AS"; then
5856 ac_cv_prog_AS
="$AS" # Let the user override the test.
5858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir
=.
5863 for ac_exec_ext
in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 if test -n "$AS"; then
5877 { echo "$as_me:$LINENO: result: $AS" >&5
5878 echo "${ECHO_T}$AS" >&6; }
5880 { echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6; }
5885 test -n "$AS" && break
5888 if test -z "$AS"; then
5890 for ac_prog
in gas as
5892 # Extract the first word of "$ac_prog", so it can be a program name with args.
5893 set dummy
$ac_prog; ac_word
=$2
5894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5896 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5897 echo $ECHO_N "(cached) $ECHO_C" >&6
5899 if test -n "$ac_ct_AS"; then
5900 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir
=.
5907 for ac_exec_ext
in '' $ac_executable_extensions; do
5908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5909 ac_cv_prog_ac_ct_AS
="$ac_prog"
5910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5920 if test -n "$ac_ct_AS"; then
5921 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5922 echo "${ECHO_T}$ac_ct_AS" >&6; }
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5929 test -n "$ac_ct_AS" && break
5932 if test "x$ac_ct_AS" = x
; then
5935 case $cross_compiling:$ac_tool_warned in
5937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5938 whose name does not start with the host triplet. If you think this
5939 configuration is useful to you, please write to autoconf@gnu.org." >&5
5940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5941 whose name does not start with the host triplet. If you think this
5942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5943 ac_tool_warned
=yes ;;
5949 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5951 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5954 if test "${ac_cv_prog_LD+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 if test -n "$LD"; then
5958 ac_cv_prog_LD
="$LD" # Let the user override the test.
5960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir
=.
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 if test -n "$LD"; then
5979 { echo "$as_me:$LINENO: result: $LD" >&5
5980 echo "${ECHO_T}$LD" >&6; }
5982 { echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6; }
5988 if test -z "$ac_cv_prog_LD"; then
5990 # Extract the first word of "ld", so it can be a program name with args.
5991 set dummy ld
; ac_word
=$2
5992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5994 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 if test -n "$ac_ct_LD"; then
5998 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6004 test -z "$as_dir" && as_dir
=.
6005 for ac_exec_ext
in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_ac_ct_LD
="ld"
6008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6018 if test -n "$ac_ct_LD"; then
6019 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6020 echo "${ECHO_T}$ac_ct_LD" >&6; }
6022 { echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6; }
6026 if test "x$ac_ct_LD" = x
; then
6029 case $cross_compiling:$ac_tool_warned in
6031 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6032 whose name does not start with the host triplet. If you think this
6033 configuration is useful to you, please write to autoconf@gnu.org." >&5
6034 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6035 whose name does not start with the host triplet. If you think this
6036 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6037 ac_tool_warned
=yes ;;
6045 if test -n "$ac_tool_prefix"; then
6046 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6047 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6050 if test "${ac_cv_prog_AR+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 if test -n "$AR"; then
6054 ac_cv_prog_AR
="$AR" # Let the user override the test.
6056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir
=.
6061 for ac_exec_ext
in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 if test -n "$AR"; then
6075 { echo "$as_me:$LINENO: result: $AR" >&5
6076 echo "${ECHO_T}$AR" >&6; }
6078 { echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6; }
6084 if test -z "$ac_cv_prog_AR"; then
6086 # Extract the first word of "ar", so it can be a program name with args.
6087 set dummy
ar; ac_word
=$2
6088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6090 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 if test -n "$ac_ct_AR"; then
6094 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6100 test -z "$as_dir" && as_dir
=.
6101 for ac_exec_ext
in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_ac_ct_AR
="ar"
6104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6114 if test -n "$ac_ct_AR"; then
6115 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6116 echo "${ECHO_T}$ac_ct_AR" >&6; }
6118 { echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6; }
6122 if test "x$ac_ct_AR" = x
; then
6125 case $cross_compiling:$ac_tool_warned in
6127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6128 whose name does not start with the host triplet. If you think this
6129 configuration is useful to you, please write to autoconf@gnu.org." >&5
6130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6131 whose name does not start with the host triplet. If you think this
6132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6133 ac_tool_warned
=yes ;;
6141 if test -n "$ac_tool_prefix"; then
6142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6143 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6146 if test "${ac_cv_prog_RANLIB+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 if test -n "$RANLIB"; then
6150 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir
=.
6157 for ac_exec_ext
in '' $ac_executable_extensions; do
6158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6159 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 RANLIB
=$ac_cv_prog_RANLIB
6170 if test -n "$RANLIB"; then
6171 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6172 echo "${ECHO_T}$RANLIB" >&6; }
6174 { echo "$as_me:$LINENO: result: no" >&5
6175 echo "${ECHO_T}no" >&6; }
6180 if test -z "$ac_cv_prog_RANLIB"; then
6181 ac_ct_RANLIB
=$RANLIB
6182 # Extract the first word of "ranlib", so it can be a program name with args.
6183 set dummy ranlib
; ac_word
=$2
6184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6186 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6187 echo $ECHO_N "(cached) $ECHO_C" >&6
6189 if test -n "$ac_ct_RANLIB"; then
6190 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6196 test -z "$as_dir" && as_dir
=.
6197 for ac_exec_ext
in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6209 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6210 if test -n "$ac_ct_RANLIB"; then
6211 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6212 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6214 { echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6; }
6218 if test "x$ac_ct_RANLIB" = x
; then
6221 case $cross_compiling:$ac_tool_warned in
6223 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6224 whose name does not start with the host triplet. If you think this
6225 configuration is useful to you, please write to autoconf@gnu.org." >&5
6226 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6227 whose name does not start with the host triplet. If you think this
6228 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6229 ac_tool_warned
=yes ;;
6231 RANLIB
=$ac_ct_RANLIB
6234 RANLIB
="$ac_cv_prog_RANLIB"
6237 if test -n "$ac_tool_prefix"; then
6238 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6239 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6242 if test "${ac_cv_prog_STRIP+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 if test -n "$STRIP"; then
6246 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6252 test -z "$as_dir" && as_dir
=.
6253 for ac_exec_ext
in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 STRIP
=$ac_cv_prog_STRIP
6266 if test -n "$STRIP"; then
6267 { echo "$as_me:$LINENO: result: $STRIP" >&5
6268 echo "${ECHO_T}$STRIP" >&6; }
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6276 if test -z "$ac_cv_prog_STRIP"; then
6278 # Extract the first word of "strip", so it can be a program name with args.
6279 set dummy strip
; ac_word
=$2
6280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6282 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 if test -n "$ac_ct_STRIP"; then
6286 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir
=.
6293 for ac_exec_ext
in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_ac_ct_STRIP
="strip"
6296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6306 if test -n "$ac_ct_STRIP"; then
6307 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6308 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6310 { echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6; }
6314 if test "x$ac_ct_STRIP" = x
; then
6317 case $cross_compiling:$ac_tool_warned in
6319 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6320 whose name does not start with the host triplet. If you think this
6321 configuration is useful to you, please write to autoconf@gnu.org." >&5
6322 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6323 whose name does not start with the host triplet. If you think this
6324 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6325 ac_tool_warned
=yes ;;
6330 STRIP
="$ac_cv_prog_STRIP"
6333 if test -n "$ac_tool_prefix"; then
6334 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6335 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
6336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6338 if test "${ac_cv_prog_WINDRES+set}" = set; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 if test -n "$WINDRES"; then
6342 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
6344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6348 test -z "$as_dir" && as_dir
=.
6349 for ac_exec_ext
in '' $ac_executable_extensions; do
6350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6351 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
6352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6361 WINDRES
=$ac_cv_prog_WINDRES
6362 if test -n "$WINDRES"; then
6363 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6364 echo "${ECHO_T}$WINDRES" >&6; }
6366 { echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6; }
6372 if test -z "$ac_cv_prog_WINDRES"; then
6373 ac_ct_WINDRES
=$WINDRES
6374 # Extract the first word of "windres", so it can be a program name with args.
6375 set dummy windres
; ac_word
=$2
6376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6378 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 if test -n "$ac_ct_WINDRES"; then
6382 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6388 test -z "$as_dir" && as_dir
=.
6389 for ac_exec_ext
in '' $ac_executable_extensions; do
6390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6391 ac_cv_prog_ac_ct_WINDRES
="windres"
6392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6401 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6402 if test -n "$ac_ct_WINDRES"; then
6403 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6404 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6406 { echo "$as_me:$LINENO: result: no" >&5
6407 echo "${ECHO_T}no" >&6; }
6410 if test "x$ac_ct_WINDRES" = x
; then
6413 case $cross_compiling:$ac_tool_warned in
6415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6416 whose name does not start with the host triplet. If you think this
6417 configuration is useful to you, please write to autoconf@gnu.org." >&5
6418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6419 whose name does not start with the host triplet. If you think this
6420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6421 ac_tool_warned
=yes ;;
6423 WINDRES
=$ac_ct_WINDRES
6426 WINDRES
="$ac_cv_prog_WINDRES"
6429 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6430 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6432 if test "$LN_S" = "ln -s"; then
6433 { echo "$as_me:$LINENO: result: yes" >&5
6434 echo "${ECHO_T}yes" >&6; }
6436 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6437 echo "${ECHO_T}no, using $LN_S" >&6; }
6440 { echo "$as_me:$LINENO: checking whether ln works" >&5
6441 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6442 rm -f conf$$ conf$$.
file
6444 if ln conf$$.
file conf$$
2>/dev
/null
; then
6447 { echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6; }
6452 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6453 echo "${ECHO_T}no, using $LN" >&6; }
6455 rm -f conf$$ conf$$.
file
6456 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6457 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6458 if test "${ac_cv_path_GREP+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 # Extract the first word of "grep ggrep" to use in msg output
6462 if test -z "$GREP"; then
6463 set dummy
grep ggrep
; ac_prog_name
=$2
6464 if test "${ac_cv_path_GREP+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 ac_path_GREP_found
=false
6468 # Loop through the user's path and test for each of PROGNAME-LIST
6469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6470 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6473 test -z "$as_dir" && as_dir
=.
6474 for ac_prog
in grep ggrep
; do
6475 for ac_exec_ext
in '' $ac_executable_extensions; do
6476 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6477 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
6478 # Check for GNU ac_path_GREP and select it if it is found.
6479 # Check for GNU $ac_path_GREP
6480 case `"$ac_path_GREP" --version 2>&1` in
6482 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6485 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6488 cat "conftest.in" "conftest.in" >"conftest.tmp"
6489 mv "conftest.tmp" "conftest.in"
6490 cp "conftest.in" "conftest.nl"
6491 echo 'GREP' >> "conftest.nl"
6492 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6493 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6494 ac_count
=`expr $ac_count + 1`
6495 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6496 # Best one so far, save it but keep looking for a better one
6497 ac_cv_path_GREP
="$ac_path_GREP"
6498 ac_path_GREP_max
=$ac_count
6500 # 10*(2^10) chars as input seems more than enough
6501 test $ac_count -gt 10 && break
6503 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6507 $ac_path_GREP_found && break 3
6517 GREP
="$ac_cv_path_GREP"
6518 if test -z "$GREP"; then
6519 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6520 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6521 { (exit 1); exit 1; }; }
6525 ac_cv_path_GREP
=$GREP
6530 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6531 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6532 GREP
="$ac_cv_path_GREP"
6535 { echo "$as_me:$LINENO: checking for egrep" >&5
6536 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6537 if test "${ac_cv_path_EGREP+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6541 then ac_cv_path_EGREP
="$GREP -E"
6543 # Extract the first word of "egrep" to use in msg output
6544 if test -z "$EGREP"; then
6545 set dummy
egrep; ac_prog_name
=$2
6546 if test "${ac_cv_path_EGREP+set}" = set; then
6547 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 ac_path_EGREP_found
=false
6550 # Loop through the user's path and test for each of PROGNAME-LIST
6551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6552 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6555 test -z "$as_dir" && as_dir
=.
6556 for ac_prog
in egrep; do
6557 for ac_exec_ext
in '' $ac_executable_extensions; do
6558 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6559 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
6560 # Check for GNU ac_path_EGREP and select it if it is found.
6561 # Check for GNU $ac_path_EGREP
6562 case `"$ac_path_EGREP" --version 2>&1` in
6564 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6567 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6570 cat "conftest.in" "conftest.in" >"conftest.tmp"
6571 mv "conftest.tmp" "conftest.in"
6572 cp "conftest.in" "conftest.nl"
6573 echo 'EGREP' >> "conftest.nl"
6574 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6575 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6576 ac_count
=`expr $ac_count + 1`
6577 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6578 # Best one so far, save it but keep looking for a better one
6579 ac_cv_path_EGREP
="$ac_path_EGREP"
6580 ac_path_EGREP_max
=$ac_count
6582 # 10*(2^10) chars as input seems more than enough
6583 test $ac_count -gt 10 && break
6585 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6589 $ac_path_EGREP_found && break 3
6599 EGREP
="$ac_cv_path_EGREP"
6600 if test -z "$EGREP"; then
6601 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6602 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6603 { (exit 1); exit 1; }; }
6607 ac_cv_path_EGREP
=$EGREP
6613 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6614 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6615 EGREP
="$ac_cv_path_EGREP"
6618 # Extract the first word of "ldconfig", so it can be a program name with args.
6619 set dummy ldconfig
; ac_word
=$2
6620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6622 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6631 for as_dir
in /sbin
/usr
/sbin
$PATH
6634 test -z "$as_dir" && as_dir
=.
6635 for ac_exec_ext
in '' $ac_executable_extensions; do
6636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6637 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6649 LDCONFIG
=$ac_cv_path_LDCONFIG
6650 if test -n "$LDCONFIG"; then
6651 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6652 echo "${ECHO_T}$LDCONFIG" >&6; }
6654 { echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6; }
6659 # Find a good install program. We prefer a C program (faster),
6660 # so one script is as good as another. But avoid the broken or
6661 # incompatible versions:
6662 # SysV /etc/install, /usr/sbin/install
6663 # SunOS /usr/etc/install
6664 # IRIX /sbin/install
6666 # AmigaOS /C/install, which installs bootblocks on floppy discs
6667 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6668 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6669 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6670 # OS/2's system install, which has a completely different semantic
6671 # ./install, which can be erroneously created by make from ./install.sh.
6672 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6673 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6674 if test -z "$INSTALL"; then
6675 if test "${ac_cv_path_install+set}" = set; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir
=.
6683 # Account for people who put trailing slashes in PATH elements.
6685 .
/ | .
// |
/cC
/* | \
6686 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6687 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6690 # OSF1 and SCO ODT 3.0 have their own names for install.
6691 # Don't use installbsd from OSF since it installs stuff as root
6693 for ac_prog
in ginstall scoinst
install; do
6694 for ac_exec_ext
in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6696 if test $ac_prog = install &&
6697 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6698 # AIX install. It has an incompatible calling convention.
6700 elif test $ac_prog = install &&
6701 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6702 # program-specific install script used by HP pwplus--don't use.
6705 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6718 if test "${ac_cv_path_install+set}" = set; then
6719 INSTALL
=$ac_cv_path_install
6721 # As a last resort, use the slow shell script. Don't cache a
6722 # value for INSTALL within a source directory, because that will
6723 # break other packages using the cache if that directory is
6724 # removed, or if the value is a relative name.
6725 INSTALL
=$ac_install_sh
6728 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6729 echo "${ECHO_T}$INSTALL" >&6; }
6731 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6732 # It thinks the first close brace ends the variable substitution.
6733 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6735 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6737 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6740 [\\/$
]* | ?
:[\\/]* ) ;;
6741 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6744 for ac_prog
in lclint lint
6746 # Extract the first word of "$ac_prog", so it can be a program name with args.
6747 set dummy
$ac_prog; ac_word
=$2
6748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6750 if test "${ac_cv_prog_LINT+set}" = set; then
6751 echo $ECHO_N "(cached) $ECHO_C" >&6
6753 if test -n "$LINT"; then
6754 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6760 test -z "$as_dir" && as_dir
=.
6761 for ac_exec_ext
in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_LINT
="$ac_prog"
6764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 LINT
=$ac_cv_prog_LINT
6774 if test -n "$LINT"; then
6775 { echo "$as_me:$LINENO: result: $LINT" >&5
6776 echo "${ECHO_T}$LINT" >&6; }
6778 { echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6; }
6783 test -n "$LINT" && break
6786 if test "$LINT" = "lint"
6788 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6793 for ac_prog
in fontforge
6795 # Extract the first word of "$ac_prog", so it can be a program name with args.
6796 set dummy
$ac_prog; ac_word
=$2
6797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6799 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 if test -n "$FONTFORGE"; then
6803 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir
=.
6810 for ac_exec_ext
in '' $ac_executable_extensions; do
6811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6812 ac_cv_prog_FONTFORGE
="$ac_prog"
6813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6822 FONTFORGE
=$ac_cv_prog_FONTFORGE
6823 if test -n "$FONTFORGE"; then
6824 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6825 echo "${ECHO_T}$FONTFORGE" >&6; }
6827 { echo "$as_me:$LINENO: result: no" >&5
6828 echo "${ECHO_T}no" >&6; }
6832 test -n "$FONTFORGE" && break
6834 test -n "$FONTFORGE" || FONTFORGE
="false"
6836 for ac_prog
in pkg-config
6838 # Extract the first word of "$ac_prog", so it can be a program name with args.
6839 set dummy
$ac_prog; ac_word
=$2
6840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6842 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6845 if test -n "$PKG_CONFIG"; then
6846 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir
=.
6853 for ac_exec_ext
in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6855 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6866 if test -n "$PKG_CONFIG"; then
6867 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6868 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6870 { echo "$as_me:$LINENO: result: no" >&5
6871 echo "${ECHO_T}no" >&6; }
6875 test -n "$PKG_CONFIG" && break
6877 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6882 for ac_prog
in prelink
6884 # Extract the first word of "$ac_prog", so it can be a program name with args.
6885 set dummy
$ac_prog; ac_word
=$2
6886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6888 if test "${ac_cv_prog_PRELINK+set}" = set; then
6889 echo $ECHO_N "(cached) $ECHO_C" >&6
6891 if test -n "$PRELINK"; then
6892 ac_cv_prog_PRELINK
="$PRELINK" # Let the user override the test.
6894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6895 for as_dir
in /sbin
/usr
/sbin
$PATH
6898 test -z "$as_dir" && as_dir
=.
6899 for ac_exec_ext
in '' $ac_executable_extensions; do
6900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6901 ac_cv_prog_PRELINK
="$ac_prog"
6902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 PRELINK
=$ac_cv_prog_PRELINK
6912 if test -n "$PRELINK"; then
6913 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6914 echo "${ECHO_T}$PRELINK" >&6; }
6916 { echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6; }
6921 test -n "$PRELINK" && break
6923 test -n "$PRELINK" || PRELINK
="false"
6930 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6931 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6932 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6933 echo $ECHO_N "(cached) $ECHO_C" >&6
6935 ac_check_lib_save_LIBS
=$LIBS
6937 cat >conftest.
$ac_ext <<_ACEOF
6940 cat confdefs.h
>>conftest.
$ac_ext
6941 cat >>conftest.
$ac_ext <<_ACEOF
6942 /* end confdefs.h. */
6944 /* Override any GCC internal prototype to avoid an error.
6945 Use char because int might match the return type of a GCC
6946 builtin and then its argument prototype would still apply. */
6950 char i386_set_ldt ();
6954 return i386_set_ldt ();
6959 rm -f conftest.
$ac_objext conftest
$ac_exeext
6960 if { (ac_try
="$ac_link"
6962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6963 *) ac_try_echo=$ac_try;;
6965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6966 (eval "$ac_link") 2>conftest.er1
6968 grep -v '^ *+' conftest.er1 >conftest.err
6970 cat conftest.err >&5
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); } &&
6973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6974 { (case "(($ac_try" in
6975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6976 *) ac_try_echo
=$ac_try;;
6978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6979 (eval "$ac_try") 2>&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; } &&
6983 { ac_try
='test -s conftest$ac_exeext'
6984 { (case "(($ac_try" in
6985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6986 *) ac_try_echo=$ac_try;;
6988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6989 (eval "$ac_try") 2>&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); }; }; then
6993 ac_cv_lib_i386_i386_set_ldt=yes
6995 echo "$as_me: failed program was:" >&5
6996 sed 's/^/| /' conftest.$ac_ext >&5
6998 ac_cv_lib_i386_i386_set_ldt=no
7001 rm -f core conftest.err conftest.$ac_objext \
7002 conftest$ac_exeext conftest.$ac_ext
7003 LIBS=$ac_check_lib_save_LIBS
7005 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7006 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7007 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7008 cat >>confdefs.h <<_ACEOF
7009 #define HAVE_LIBI386 1
7017 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7018 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7019 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7020 echo $ECHO_N "(cached) $ECHO_C" >&6
7022 ac_check_lib_save_LIBS=$LIBS
7023 LIBS="-lossaudio $LIBS"
7024 cat >conftest.$ac_ext <<_ACEOF
7027 cat confdefs.h >>conftest.$ac_ext
7028 cat >>conftest.$ac_ext <<_ACEOF
7029 /* end confdefs.h. */
7031 /* Override any GCC internal prototype to avoid an error.
7032 Use char because int might match the return type of a GCC
7033 builtin and then its argument prototype would still apply. */
7041 return _oss_ioctl ();
7046 rm -f conftest.$ac_objext conftest$ac_exeext
7047 if { (ac_try="$ac_link"
7049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7050 *) ac_try_echo
=$ac_try;;
7052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7053 (eval "$ac_link") 2>conftest.er1
7055 grep -v '^ *+' conftest.er1
>conftest.err
7057 cat conftest.err
>&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); } &&
7060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7061 { (case "(($ac_try" in
7062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7063 *) ac_try_echo=$ac_try;;
7065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7066 (eval "$ac_try") 2>&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try='test -s conftest$ac_exeext'
7071 { (case "(($ac_try" in
7072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7073 *) ac_try_echo
=$ac_try;;
7075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7076 (eval "$ac_try") 2>&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; }; then
7080 ac_cv_lib_ossaudio__oss_ioctl
=yes
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.
$ac_ext >&5
7085 ac_cv_lib_ossaudio__oss_ioctl
=no
7088 rm -f core conftest.err conftest.
$ac_objext \
7089 conftest
$ac_exeext conftest.
$ac_ext
7090 LIBS
=$ac_check_lib_save_LIBS
7092 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7093 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7094 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7095 cat >>confdefs.h
<<_ACEOF
7096 #define HAVE_LIBOSSAUDIO 1
7099 LIBS
="-lossaudio $LIBS"
7104 for ac_func
in gethostbyname
7106 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7107 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7109 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7112 cat >conftest.
$ac_ext <<_ACEOF
7115 cat confdefs.h
>>conftest.
$ac_ext
7116 cat >>conftest.
$ac_ext <<_ACEOF
7117 /* end confdefs.h. */
7118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7120 #define $ac_func innocuous_$ac_func
7122 /* System header to define __stub macros and hopefully few prototypes,
7123 which can conflict with char $ac_func (); below.
7124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7125 <limits.h> exists even on freestanding compilers. */
7128 # include <limits.h>
7130 # include <assert.h>
7135 /* Override any GCC internal prototype to avoid an error.
7136 Use char because int might match the return type of a GCC
7137 builtin and then its argument prototype would still apply. */
7142 /* The GNU C library defines this for functions which it implements
7143 to always fail with ENOSYS. Some functions are actually named
7144 something starting with __ and the normal name is an alias. */
7145 #if defined __stub_$ac_func || defined __stub___$ac_func
7157 rm -f conftest.
$ac_objext conftest
$ac_exeext
7158 if { (ac_try
="$ac_link"
7160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7161 *) ac_try_echo=$ac_try;;
7163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7164 (eval "$ac_link") 2>conftest.er1
7166 grep -v '^ *+' conftest.er1 >conftest.err
7168 cat conftest.err >&5
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); } &&
7171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7172 { (case "(($ac_try" in
7173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7174 *) ac_try_echo
=$ac_try;;
7176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7177 (eval "$ac_try") 2>&5
7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7180 (exit $ac_status); }; } &&
7181 { ac_try
='test -s conftest$ac_exeext'
7182 { (case "(($ac_try" in
7183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7184 *) ac_try_echo=$ac_try;;
7186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7187 (eval "$ac_try") 2>&5
7189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 (exit $ac_status); }; }; then
7191 eval "$as_ac_var=yes"
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 eval "$as_ac_var=no"
7199 rm -f core conftest.err conftest.$ac_objext \
7200 conftest$ac_exeext conftest.$ac_ext
7202 ac_res=`eval echo '${'$as_ac_var'}'`
7203 { echo "$as_me:$LINENO: result: $ac_res" >&5
7204 echo "${ECHO_T}$ac_res" >&6; }
7205 if test `eval echo '${'$as_ac_var'}'` = yes; then
7206 cat >>confdefs.h <<_ACEOF
7207 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7212 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7213 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7214 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7215 echo $ECHO_N "(cached) $ECHO_C" >&6
7217 ac_check_lib_save_LIBS=$LIBS
7219 cat >conftest.$ac_ext <<_ACEOF
7222 cat confdefs.h >>conftest.$ac_ext
7223 cat >>conftest.$ac_ext <<_ACEOF
7224 /* end confdefs.h. */
7226 /* Override any GCC internal prototype to avoid an error.
7227 Use char because int might match the return type of a GCC
7228 builtin and then its argument prototype would still apply. */
7232 char gethostbyname ();
7236 return gethostbyname ();
7241 rm -f conftest.$ac_objext conftest$ac_exeext
7242 if { (ac_try="$ac_link"
7244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7245 *) ac_try_echo
=$ac_try;;
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_link") 2>conftest.er1
7250 grep -v '^ *+' conftest.er1
>conftest.err
7252 cat conftest.err
>&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } &&
7255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7256 { (case "(($ac_try" in
7257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7258 *) ac_try_echo=$ac_try;;
7260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7261 (eval "$ac_try") 2>&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); }; } &&
7265 { ac_try='test -s conftest$ac_exeext'
7266 { (case "(($ac_try" in
7267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7268 *) ac_try_echo
=$ac_try;;
7270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7271 (eval "$ac_try") 2>&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); }; }; then
7275 ac_cv_lib_nsl_gethostbyname
=yes
7277 echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.
$ac_ext >&5
7280 ac_cv_lib_nsl_gethostbyname
=no
7283 rm -f core conftest.err conftest.
$ac_objext \
7284 conftest
$ac_exeext conftest.
$ac_ext
7285 LIBS
=$ac_check_lib_save_LIBS
7287 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7288 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7289 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7290 cat >>confdefs.h
<<_ACEOF
7291 #define HAVE_LIBNSL 1
7302 for ac_func
in connect
7304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7307 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7308 echo $ECHO_N "(cached) $ECHO_C" >&6
7310 cat >conftest.
$ac_ext <<_ACEOF
7313 cat confdefs.h
>>conftest.
$ac_ext
7314 cat >>conftest.
$ac_ext <<_ACEOF
7315 /* end confdefs.h. */
7316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7318 #define $ac_func innocuous_$ac_func
7320 /* System header to define __stub macros and hopefully few prototypes,
7321 which can conflict with char $ac_func (); below.
7322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7323 <limits.h> exists even on freestanding compilers. */
7326 # include <limits.h>
7328 # include <assert.h>
7333 /* Override any GCC internal prototype to avoid an error.
7334 Use char because int might match the return type of a GCC
7335 builtin and then its argument prototype would still apply. */
7340 /* The GNU C library defines this for functions which it implements
7341 to always fail with ENOSYS. Some functions are actually named
7342 something starting with __ and the normal name is an alias. */
7343 #if defined __stub_$ac_func || defined __stub___$ac_func
7355 rm -f conftest.
$ac_objext conftest
$ac_exeext
7356 if { (ac_try
="$ac_link"
7358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7359 *) ac_try_echo=$ac_try;;
7361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7362 (eval "$ac_link") 2>conftest.er1
7364 grep -v '^ *+' conftest.er1 >conftest.err
7366 cat conftest.err >&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); } &&
7369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7370 { (case "(($ac_try" in
7371 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7372 *) ac_try_echo
=$ac_try;;
7374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7375 (eval "$ac_try") 2>&5
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; } &&
7379 { ac_try
='test -s conftest$ac_exeext'
7380 { (case "(($ac_try" in
7381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7382 *) ac_try_echo=$ac_try;;
7384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7385 (eval "$ac_try") 2>&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); }; }; then
7389 eval "$as_ac_var=yes"
7391 echo "$as_me: failed program was:" >&5
7392 sed 's/^/| /' conftest.$ac_ext >&5
7394 eval "$as_ac_var=no"
7397 rm -f core conftest.err conftest.$ac_objext \
7398 conftest$ac_exeext conftest.$ac_ext
7400 ac_res=`eval echo '${'$as_ac_var'}'`
7401 { echo "$as_me:$LINENO: result: $ac_res" >&5
7402 echo "${ECHO_T}$ac_res" >&6; }
7403 if test `eval echo '${'$as_ac_var'}'` = yes; then
7404 cat >>confdefs.h <<_ACEOF
7405 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7410 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7411 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
7412 if test "${ac_cv_lib_socket_connect+set}" = set; then
7413 echo $ECHO_N "(cached) $ECHO_C" >&6
7415 ac_check_lib_save_LIBS=$LIBS
7416 LIBS="-lsocket $LIBS"
7417 cat >conftest.$ac_ext <<_ACEOF
7420 cat confdefs.h >>conftest.$ac_ext
7421 cat >>conftest.$ac_ext <<_ACEOF
7422 /* end confdefs.h. */
7424 /* Override any GCC internal prototype to avoid an error.
7425 Use char because int might match the return type of a GCC
7426 builtin and then its argument prototype would still apply. */
7439 rm -f conftest.$ac_objext conftest$ac_exeext
7440 if { (ac_try="$ac_link"
7442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7443 *) ac_try_echo
=$ac_try;;
7445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7446 (eval "$ac_link") 2>conftest.er1
7448 grep -v '^ *+' conftest.er1
>conftest.err
7450 cat conftest.err
>&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); } &&
7453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7454 { (case "(($ac_try" in
7455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7456 *) ac_try_echo=$ac_try;;
7458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7459 (eval "$ac_try") 2>&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); }; } &&
7463 { ac_try='test -s conftest$ac_exeext'
7464 { (case "(($ac_try" in
7465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7466 *) ac_try_echo
=$ac_try;;
7468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7469 (eval "$ac_try") 2>&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); }; }; then
7473 ac_cv_lib_socket_connect
=yes
7475 echo "$as_me: failed program was:" >&5
7476 sed 's/^/| /' conftest.
$ac_ext >&5
7478 ac_cv_lib_socket_connect
=no
7481 rm -f core conftest.err conftest.
$ac_objext \
7482 conftest
$ac_exeext conftest.
$ac_ext
7483 LIBS
=$ac_check_lib_save_LIBS
7485 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7486 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
7487 if test $ac_cv_lib_socket_connect = yes; then
7488 cat >>confdefs.h
<<_ACEOF
7489 #define HAVE_LIBSOCKET 1
7492 LIBS
="-lsocket $LIBS"
7500 for ac_func
in inet_aton
7502 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7505 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7506 echo $ECHO_N "(cached) $ECHO_C" >&6
7508 cat >conftest.
$ac_ext <<_ACEOF
7511 cat confdefs.h
>>conftest.
$ac_ext
7512 cat >>conftest.
$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7516 #define $ac_func innocuous_$ac_func
7518 /* System header to define __stub macros and hopefully few prototypes,
7519 which can conflict with char $ac_func (); below.
7520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7521 <limits.h> exists even on freestanding compilers. */
7524 # include <limits.h>
7526 # include <assert.h>
7531 /* Override any GCC internal prototype to avoid an error.
7532 Use char because int might match the return type of a GCC
7533 builtin and then its argument prototype would still apply. */
7538 /* The GNU C library defines this for functions which it implements
7539 to always fail with ENOSYS. Some functions are actually named
7540 something starting with __ and the normal name is an alias. */
7541 #if defined __stub_$ac_func || defined __stub___$ac_func
7553 rm -f conftest.
$ac_objext conftest
$ac_exeext
7554 if { (ac_try
="$ac_link"
7556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7557 *) ac_try_echo=$ac_try;;
7559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7560 (eval "$ac_link") 2>conftest.er1
7562 grep -v '^ *+' conftest.er1 >conftest.err
7564 cat conftest.err >&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); } &&
7567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7568 { (case "(($ac_try" in
7569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7570 *) ac_try_echo
=$ac_try;;
7572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7573 (eval "$ac_try") 2>&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); }; } &&
7577 { ac_try
='test -s conftest$ac_exeext'
7578 { (case "(($ac_try" in
7579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7580 *) ac_try_echo=$ac_try;;
7582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7583 (eval "$ac_try") 2>&5
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); }; }; then
7587 eval "$as_ac_var=yes"
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7592 eval "$as_ac_var=no"
7595 rm -f core conftest.err conftest.$ac_objext \
7596 conftest$ac_exeext conftest.$ac_ext
7598 ac_res=`eval echo '${'$as_ac_var'}'`
7599 { echo "$as_me:$LINENO: result: $ac_res" >&5
7600 echo "${ECHO_T}$ac_res" >&6; }
7601 if test `eval echo '${'$as_ac_var'}'` = yes; then
7602 cat >>confdefs.h <<_ACEOF
7603 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7608 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7609 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7610 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7611 echo $ECHO_N "(cached) $ECHO_C" >&6
7613 ac_check_lib_save_LIBS=$LIBS
7614 LIBS="-lresolv $LIBS"
7615 cat >conftest.$ac_ext <<_ACEOF
7618 cat confdefs.h >>conftest.$ac_ext
7619 cat >>conftest.$ac_ext <<_ACEOF
7620 /* end confdefs.h. */
7622 /* Override any GCC internal prototype to avoid an error.
7623 Use char because int might match the return type of a GCC
7624 builtin and then its argument prototype would still apply. */
7632 return inet_aton ();
7637 rm -f conftest.$ac_objext conftest$ac_exeext
7638 if { (ac_try="$ac_link"
7640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7641 *) ac_try_echo
=$ac_try;;
7643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7644 (eval "$ac_link") 2>conftest.er1
7646 grep -v '^ *+' conftest.er1
>conftest.err
7648 cat conftest.err
>&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); } &&
7651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7652 { (case "(($ac_try" in
7653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7654 *) ac_try_echo=$ac_try;;
7656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7657 (eval "$ac_try") 2>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); }; } &&
7661 { ac_try='test -s conftest$ac_exeext'
7662 { (case "(($ac_try" in
7663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7664 *) ac_try_echo
=$ac_try;;
7666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7667 (eval "$ac_try") 2>&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); }; }; then
7671 ac_cv_lib_resolv_inet_aton
=yes
7673 echo "$as_me: failed program was:" >&5
7674 sed 's/^/| /' conftest.
$ac_ext >&5
7676 ac_cv_lib_resolv_inet_aton
=no
7679 rm -f core conftest.err conftest.
$ac_objext \
7680 conftest
$ac_exeext conftest.
$ac_ext
7681 LIBS
=$ac_check_lib_save_LIBS
7683 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7684 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7685 if test $ac_cv_lib_resolv_inet_aton = yes; then
7686 cat >>confdefs.h
<<_ACEOF
7687 #define HAVE_LIBRESOLV 1
7690 LIBS
="-lresolv $LIBS"
7698 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7699 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7700 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7701 echo $ECHO_N "(cached) $ECHO_C" >&6
7703 ac_check_lib_save_LIBS
=$LIBS
7705 cat >conftest.
$ac_ext <<_ACEOF
7708 cat confdefs.h
>>conftest.
$ac_ext
7709 cat >>conftest.
$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7712 /* Override any GCC internal prototype to avoid an error.
7713 Use char because int might match the return type of a GCC
7714 builtin and then its argument prototype would still apply. */
7718 char _xpg4_setrunelocale ();
7722 return _xpg4_setrunelocale ();
7727 rm -f conftest.
$ac_objext conftest
$ac_exeext
7728 if { (ac_try
="$ac_link"
7730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7731 *) ac_try_echo=$ac_try;;
7733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7734 (eval "$ac_link") 2>conftest.er1
7736 grep -v '^ *+' conftest.er1 >conftest.err
7738 cat conftest.err >&5
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 (exit $ac_status); } &&
7741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7742 { (case "(($ac_try" in
7743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7744 *) ac_try_echo
=$ac_try;;
7746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7747 (eval "$ac_try") 2>&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); }; } &&
7751 { ac_try
='test -s conftest$ac_exeext'
7752 { (case "(($ac_try" in
7753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7754 *) ac_try_echo=$ac_try;;
7756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7757 (eval "$ac_try") 2>&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); }; }; then
7761 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7763 echo "$as_me: failed program was:" >&5
7764 sed 's/^/| /' conftest.$ac_ext >&5
7766 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7769 rm -f core conftest.err conftest.$ac_objext \
7770 conftest$ac_exeext conftest.$ac_ext
7771 LIBS=$ac_check_lib_save_LIBS
7773 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7774 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7775 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7776 cat >>confdefs.h <<_ACEOF
7777 #define HAVE_LIBXPG4 1
7785 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7786 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7787 if test "${ac_cv_lib_poll_poll+set}" = set; then
7788 echo $ECHO_N "(cached) $ECHO_C" >&6
7790 ac_check_lib_save_LIBS=$LIBS
7792 cat >conftest.$ac_ext <<_ACEOF
7795 cat confdefs.h >>conftest.$ac_ext
7796 cat >>conftest.$ac_ext <<_ACEOF
7797 /* end confdefs.h. */
7799 /* Override any GCC internal prototype to avoid an error.
7800 Use char because int might match the return type of a GCC
7801 builtin and then its argument prototype would still apply. */
7814 rm -f conftest.$ac_objext conftest$ac_exeext
7815 if { (ac_try="$ac_link"
7817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7818 *) ac_try_echo
=$ac_try;;
7820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7821 (eval "$ac_link") 2>conftest.er1
7823 grep -v '^ *+' conftest.er1
>conftest.err
7825 cat conftest.err
>&5
7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); } &&
7828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7829 { (case "(($ac_try" in
7830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7831 *) ac_try_echo=$ac_try;;
7833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7834 (eval "$ac_try") 2>&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }; } &&
7838 { ac_try='test -s conftest$ac_exeext'
7839 { (case "(($ac_try" in
7840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7841 *) ac_try_echo
=$ac_try;;
7843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7844 (eval "$ac_try") 2>&5
7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847 (exit $ac_status); }; }; then
7848 ac_cv_lib_poll_poll
=yes
7850 echo "$as_me: failed program was:" >&5
7851 sed 's/^/| /' conftest.
$ac_ext >&5
7853 ac_cv_lib_poll_poll
=no
7856 rm -f core conftest.err conftest.
$ac_objext \
7857 conftest
$ac_exeext conftest.
$ac_ext
7858 LIBS
=$ac_check_lib_save_LIBS
7860 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7861 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7862 if test $ac_cv_lib_poll_poll = yes; then
7863 cat >>confdefs.h
<<_ACEOF
7864 #define HAVE_LIBPOLL 1
7872 { echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
7873 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6; }
7874 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
7875 echo $ECHO_N "(cached) $ECHO_C" >&6
7877 ac_check_lib_save_LIBS
=$LIBS
7878 LIBS
="-lresolv $LIBS"
7879 cat >conftest.
$ac_ext <<_ACEOF
7882 cat confdefs.h
>>conftest.
$ac_ext
7883 cat >>conftest.
$ac_ext <<_ACEOF
7884 /* end confdefs.h. */
7886 /* Override any GCC internal prototype to avoid an error.
7887 Use char because int might match the return type of a GCC
7888 builtin and then its argument prototype would still apply. */
7896 return res_9_init ();
7901 rm -f conftest.
$ac_objext conftest
$ac_exeext
7902 if { (ac_try
="$ac_link"
7904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7905 *) ac_try_echo=$ac_try;;
7907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7908 (eval "$ac_link") 2>conftest.er1
7910 grep -v '^ *+' conftest.er1 >conftest.err
7912 cat conftest.err >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } &&
7915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7916 { (case "(($ac_try" in
7917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7918 *) ac_try_echo
=$ac_try;;
7920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7921 (eval "$ac_try") 2>&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 (exit $ac_status); }; } &&
7925 { ac_try
='test -s conftest$ac_exeext'
7926 { (case "(($ac_try" in
7927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_try") 2>&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); }; }; then
7935 ac_cv_lib_resolv_res_9_init=yes
7937 echo "$as_me: failed program was:" >&5
7938 sed 's/^/| /' conftest.$ac_ext >&5
7940 ac_cv_lib_resolv_res_9_init=no
7943 rm -f core conftest.err conftest.$ac_objext \
7944 conftest$ac_exeext conftest.$ac_ext
7945 LIBS=$ac_check_lib_save_LIBS
7947 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
7948 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6; }
7949 if test $ac_cv_lib_resolv_res_9_init = yes; then
7950 cat >>confdefs.h <<_ACEOF
7951 #define HAVE_LIBRESOLV 1
7954 LIBS="-lresolv $LIBS"
7958 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7959 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7960 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7963 ac_check_lib_save_LIBS=$LIBS
7964 LIBS="-lpthread $LIBS"
7965 cat >conftest.$ac_ext <<_ACEOF
7968 cat confdefs.h >>conftest.$ac_ext
7969 cat >>conftest.$ac_ext <<_ACEOF
7970 /* end confdefs.h. */
7972 /* Override any GCC internal prototype to avoid an error.
7973 Use char because int might match the return type of a GCC
7974 builtin and then its argument prototype would still apply. */
7978 char pthread_create ();
7982 return pthread_create ();
7987 rm -f conftest.$ac_objext conftest$ac_exeext
7988 if { (ac_try="$ac_link"
7990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7991 *) ac_try_echo
=$ac_try;;
7993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7994 (eval "$ac_link") 2>conftest.er1
7996 grep -v '^ *+' conftest.er1
>conftest.err
7998 cat conftest.err
>&5
7999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8000 (exit $ac_status); } &&
8001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8002 { (case "(($ac_try" in
8003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8004 *) ac_try_echo=$ac_try;;
8006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8007 (eval "$ac_try") 2>&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); }; } &&
8011 { ac_try='test -s conftest$ac_exeext'
8012 { (case "(($ac_try" in
8013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8014 *) ac_try_echo
=$ac_try;;
8016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8017 (eval "$ac_try") 2>&5
8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); }; }; then
8021 ac_cv_lib_pthread_pthread_create
=yes
8023 echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.
$ac_ext >&5
8026 ac_cv_lib_pthread_pthread_create
=no
8029 rm -f core conftest.err conftest.
$ac_objext \
8030 conftest
$ac_exeext conftest.
$ac_ext
8031 LIBS
=$ac_check_lib_save_LIBS
8033 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
8034 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
8035 if test $ac_cv_lib_pthread_pthread_create = yes; then
8036 LIBPTHREAD
="-lpthread"
8053 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8054 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8055 if test "${ac_cv_header_stdc+set}" = set; then
8056 echo $ECHO_N "(cached) $ECHO_C" >&6
8058 cat >conftest.
$ac_ext <<_ACEOF
8061 cat confdefs.h
>>conftest.
$ac_ext
8062 cat >>conftest.
$ac_ext <<_ACEOF
8063 /* end confdefs.h. */
8077 rm -f conftest.
$ac_objext
8078 if { (ac_try
="$ac_compile"
8080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8081 *) ac_try_echo=$ac_try;;
8083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8084 (eval "$ac_compile") 2>conftest.er1
8086 grep -v '^ *+' conftest.er1 >conftest.err
8088 cat conftest.err >&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); } &&
8091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8092 { (case "(($ac_try" in
8093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8094 *) ac_try_echo
=$ac_try;;
8096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8097 (eval "$ac_try") 2>&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); }; } &&
8101 { ac_try
='test -s conftest.$ac_objext'
8102 { (case "(($ac_try" in
8103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8104 *) ac_try_echo=$ac_try;;
8106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8107 (eval "$ac_try") 2>&5
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); }; }; then
8111 ac_cv_header_stdc=yes
8113 echo "$as_me: failed program was:" >&5
8114 sed 's/^/| /' conftest.$ac_ext >&5
8116 ac_cv_header_stdc=no
8119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8121 if test $ac_cv_header_stdc = yes; then
8122 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8123 cat >conftest.$ac_ext <<_ACEOF
8126 cat confdefs.h >>conftest.$ac_ext
8127 cat >>conftest.$ac_ext <<_ACEOF
8128 /* end confdefs.h. */
8132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8133 $EGREP "memchr" >/dev/null 2>&1; then
8136 ac_cv_header_stdc=no
8142 if test $ac_cv_header_stdc = yes; then
8143 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8144 cat >conftest.$ac_ext <<_ACEOF
8147 cat confdefs.h >>conftest.$ac_ext
8148 cat >>conftest.$ac_ext <<_ACEOF
8149 /* end confdefs.h. */
8153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8154 $EGREP "free" >/dev/null 2>&1; then
8157 ac_cv_header_stdc=no
8163 if test $ac_cv_header_stdc = yes; then
8164 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8165 if test "$cross_compiling" = yes; then
8168 cat >conftest.$ac_ext <<_ACEOF
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8176 #if ((' ' & 0x0FF) == 0x020)
8177 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8178 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8180 # define ISLOWER(c) \
8181 (('a' <= (c) && (c) <= 'i') \
8182 || ('j' <= (c) && (c) <= 'r') \
8183 || ('s' <= (c) && (c) <= 'z'))
8184 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8187 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8192 for (i = 0; i < 256; i++)
8193 if (XOR (islower (i), ISLOWER (i))
8194 || toupper (i) != TOUPPER (i))
8199 rm -f conftest$ac_exeext
8200 if { (ac_try="$ac_link"
8202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8203 *) ac_try_echo
=$ac_try;;
8205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8206 (eval "$ac_link") 2>&5
8208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8210 { (case "(($ac_try" in
8211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8212 *) ac_try_echo=$ac_try;;
8214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8215 (eval "$ac_try") 2>&5
8217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8218 (exit $ac_status); }; }; then
8221 echo "$as_me: program exited with status $ac_status" >&5
8222 echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8226 ac_cv_header_stdc=no
8228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8234 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8235 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8236 if test $ac_cv_header_stdc = yes; then
8238 cat >>confdefs.h <<\_ACEOF
8239 #define STDC_HEADERS 1
8244 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8254 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8255 inttypes.h stdint.h unistd.h
8257 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8261 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 cat >conftest.$ac_ext <<_ACEOF
8266 cat confdefs.h >>conftest.$ac_ext
8267 cat >>conftest.$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8269 $ac_includes_default
8271 #include <$ac_header>
8273 rm -f conftest.$ac_objext
8274 if { (ac_try="$ac_compile"
8276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8277 *) ac_try_echo
=$ac_try;;
8279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8280 (eval "$ac_compile") 2>conftest.er1
8282 grep -v '^ *+' conftest.er1
>conftest.err
8284 cat conftest.err
>&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); } &&
8287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8288 { (case "(($ac_try" in
8289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8290 *) ac_try_echo=$ac_try;;
8292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8293 (eval "$ac_try") 2>&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); }; } &&
8297 { ac_try='test -s conftest.$ac_objext'
8298 { (case "(($ac_try" in
8299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8300 *) ac_try_echo
=$ac_try;;
8302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8303 (eval "$ac_try") 2>&5
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); }; }; then
8307 eval "$as_ac_Header=yes"
8309 echo "$as_me: failed program was:" >&5
8310 sed 's/^/| /' conftest.
$ac_ext >&5
8312 eval "$as_ac_Header=no"
8315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8317 ac_res
=`eval echo '${'$as_ac_Header'}'`
8318 { echo "$as_me:$LINENO: result: $ac_res" >&5
8319 echo "${ECHO_T}$ac_res" >&6; }
8320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8321 cat >>confdefs.h
<<_ACEOF
8322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8437 AudioUnit
/AudioUnit.h \
8438 CoreAudio
/CoreAudio.h \
8451 fontconfig
/fontconfig.h \
8477 machine
/soundcard.h \
8482 netinet
/in_systm.h \
8545 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8546 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8549 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8550 echo $ECHO_N "(cached) $ECHO_C" >&6
8552 ac_res
=`eval echo '${'$as_ac_Header'}'`
8553 { echo "$as_me:$LINENO: result: $ac_res" >&5
8554 echo "${ECHO_T}$ac_res" >&6; }
8556 # Is the header compilable?
8557 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8559 cat >conftest.
$ac_ext <<_ACEOF
8562 cat confdefs.h
>>conftest.
$ac_ext
8563 cat >>conftest.
$ac_ext <<_ACEOF
8564 /* end confdefs.h. */
8565 $ac_includes_default
8566 #include <$ac_header>
8568 rm -f conftest.
$ac_objext
8569 if { (ac_try
="$ac_compile"
8571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8572 *) ac_try_echo=$ac_try;;
8574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8575 (eval "$ac_compile") 2>conftest.er1
8577 grep -v '^ *+' conftest.er1 >conftest.err
8579 cat conftest.err >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); } &&
8582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8583 { (case "(($ac_try" in
8584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8585 *) ac_try_echo
=$ac_try;;
8587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8588 (eval "$ac_try") 2>&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 (exit $ac_status); }; } &&
8592 { ac_try
='test -s conftest.$ac_objext'
8593 { (case "(($ac_try" in
8594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8595 *) ac_try_echo=$ac_try;;
8597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8598 (eval "$ac_try") 2>&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); }; }; then
8602 ac_header_compiler=yes
8604 echo "$as_me: failed program was:" >&5
8605 sed 's/^/| /' conftest.$ac_ext >&5
8607 ac_header_compiler=no
8610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8611 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8612 echo "${ECHO_T}$ac_header_compiler" >&6; }
8614 # Is the header present?
8615 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8617 cat >conftest.$ac_ext <<_ACEOF
8620 cat confdefs.h >>conftest.$ac_ext
8621 cat >>conftest.$ac_ext <<_ACEOF
8622 /* end confdefs.h. */
8623 #include <$ac_header>
8625 if { (ac_try="$ac_cpp conftest.$ac_ext"
8627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8628 *) ac_try_echo
=$ac_try;;
8630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8633 grep -v '^ *+' conftest.er1
>conftest.err
8635 cat conftest.err
>&5
8636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8637 (exit $ac_status); } >/dev
/null
; then
8638 if test -s conftest.err
; then
8639 ac_cpp_err
=$ac_c_preproc_warn_flag
8640 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8647 if test -z "$ac_cpp_err"; then
8648 ac_header_preproc
=yes
8650 echo "$as_me: failed program was:" >&5
8651 sed 's/^/| /' conftest.
$ac_ext >&5
8653 ac_header_preproc
=no
8656 rm -f conftest.err conftest.
$ac_ext
8657 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8658 echo "${ECHO_T}$ac_header_preproc" >&6; }
8660 # So? What about this header?
8661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8666 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8667 ac_header_preproc
=yes
8670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8674 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8675 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8676 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8677 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8679 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8680 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8681 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8683 ## ------------------------------------ ##
8684 ## Report this to wine-devel@winehq.org ##
8685 ## ------------------------------------ ##
8687 ) |
sed "s/^/$as_me: WARNING: /" >&2
8690 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8692 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8693 echo $ECHO_N "(cached) $ECHO_C" >&6
8695 eval "$as_ac_Header=\$ac_header_preproc"
8697 ac_res
=`eval echo '${'$as_ac_Header'}'`
8698 { echo "$as_me:$LINENO: result: $ac_res" >&5
8699 echo "${ECHO_T}$ac_res" >&6; }
8702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8703 cat >>confdefs.h
<<_ACEOF
8704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8711 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8712 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8713 if test "${ac_cv_header_stat_broken+set}" = set; then
8714 echo $ECHO_N "(cached) $ECHO_C" >&6
8716 cat >conftest.
$ac_ext <<_ACEOF
8719 cat confdefs.h
>>conftest.
$ac_ext
8720 cat >>conftest.
$ac_ext <<_ACEOF
8721 /* end confdefs.h. */
8722 #include <sys/types.h>
8723 #include <sys/stat.h>
8725 #if defined S_ISBLK && defined S_IFDIR
8726 # if S_ISBLK (S_IFDIR)
8731 #if defined S_ISBLK && defined S_IFCHR
8732 # if S_ISBLK (S_IFCHR)
8737 #if defined S_ISLNK && defined S_IFREG
8738 # if S_ISLNK (S_IFREG)
8743 #if defined S_ISSOCK && defined S_IFREG
8744 # if S_ISSOCK (S_IFREG)
8750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8751 $EGREP "You lose" >/dev
/null
2>&1; then
8752 ac_cv_header_stat_broken
=yes
8754 ac_cv_header_stat_broken
=no
8759 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8760 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8761 if test $ac_cv_header_stat_broken = yes; then
8763 cat >>confdefs.h
<<\_ACEOF
8764 #define STAT_MACROS_BROKEN 1
8775 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
8777 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8778 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8780 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8781 echo $ECHO_N "(cached) $ECHO_C" >&6
8783 cat >conftest.
$ac_ext <<_ACEOF
8786 cat confdefs.h
>>conftest.
$ac_ext
8787 cat >>conftest.
$ac_ext <<_ACEOF
8788 /* end confdefs.h. */
8789 #include <sys/types.h>
8790 #if HAVE_SYS_PARAM_H
8791 # include <sys/param.h>
8794 #include <$ac_header>
8796 rm -f conftest.
$ac_objext
8797 if { (ac_try
="$ac_compile"
8799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8800 *) ac_try_echo=$ac_try;;
8802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8803 (eval "$ac_compile") 2>conftest.er1
8805 grep -v '^ *+' conftest.er1 >conftest.err
8807 cat conftest.err >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); } &&
8810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8811 { (case "(($ac_try" in
8812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8813 *) ac_try_echo
=$ac_try;;
8815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8816 (eval "$ac_try") 2>&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); }; } &&
8820 { ac_try
='test -s conftest.$ac_objext'
8821 { (case "(($ac_try" in
8822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8823 *) ac_try_echo=$ac_try;;
8825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8826 (eval "$ac_try") 2>&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); }; }; then
8830 eval "$as_ac_Header=yes"
8832 echo "$as_me: failed program was:" >&5
8833 sed 's/^/| /' conftest.$ac_ext >&5
8835 eval "$as_ac_Header=no"
8838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8840 ac_res=`eval echo '${'$as_ac_Header'}'`
8841 { echo "$as_me:$LINENO: result: $ac_res" >&5
8842 echo "${ECHO_T}$ac_res" >&6; }
8843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8844 cat >>confdefs.h <<_ACEOF
8845 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8859 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
8861 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8862 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8864 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8865 echo $ECHO_N "(cached) $ECHO_C" >&6
8867 cat >conftest.$ac_ext <<_ACEOF
8870 cat confdefs.h >>conftest.$ac_ext
8871 cat >>conftest.$ac_ext <<_ACEOF
8872 /* end confdefs.h. */
8873 #include <sys/types.h>
8874 #if HAVE_SYS_SOCKET_H
8875 # include <sys/socket.h>
8878 #include <$ac_header>
8880 rm -f conftest.$ac_objext
8881 if { (ac_try="$ac_compile"
8883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8884 *) ac_try_echo
=$ac_try;;
8886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8887 (eval "$ac_compile") 2>conftest.er1
8889 grep -v '^ *+' conftest.er1
>conftest.err
8891 cat conftest.err
>&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); } &&
8894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8895 { (case "(($ac_try" in
8896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8897 *) ac_try_echo=$ac_try;;
8899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8900 (eval "$ac_try") 2>&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }; } &&
8904 { ac_try='test -s conftest.$ac_objext'
8905 { (case "(($ac_try" in
8906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8907 *) ac_try_echo
=$ac_try;;
8909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8910 (eval "$ac_try") 2>&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); }; }; then
8914 eval "$as_ac_Header=yes"
8916 echo "$as_me: failed program was:" >&5
8917 sed 's/^/| /' conftest.
$ac_ext >&5
8919 eval "$as_ac_Header=no"
8922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8924 ac_res
=`eval echo '${'$as_ac_Header'}'`
8925 { echo "$as_me:$LINENO: result: $ac_res" >&5
8926 echo "${ECHO_T}$ac_res" >&6; }
8927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8928 cat >>confdefs.h
<<_ACEOF
8929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8938 for ac_header
in resolv.h
8940 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8941 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8943 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8944 echo $ECHO_N "(cached) $ECHO_C" >&6
8946 cat >conftest.
$ac_ext <<_ACEOF
8949 cat confdefs.h
>>conftest.
$ac_ext
8950 cat >>conftest.
$ac_ext <<_ACEOF
8951 /* end confdefs.h. */
8952 #include <sys/types.h>
8953 #if HAVE_SYS_SOCKET_H
8954 # include <sys/socket.h>
8956 #if HAVE_NETINET_IN_H
8957 # include <netinet/in.h>
8959 #if HAVE_ARPA_NAMESER_H
8960 # include <arpa/nameser.h>
8963 #include <$ac_header>
8965 rm -f conftest.
$ac_objext
8966 if { (ac_try
="$ac_compile"
8968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8969 *) ac_try_echo=$ac_try;;
8971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8972 (eval "$ac_compile") 2>conftest.er1
8974 grep -v '^ *+' conftest.er1 >conftest.err
8976 cat conftest.err >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); } &&
8979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8980 { (case "(($ac_try" in
8981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8982 *) ac_try_echo
=$ac_try;;
8984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8985 (eval "$ac_try") 2>&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; } &&
8989 { ac_try
='test -s conftest.$ac_objext'
8990 { (case "(($ac_try" in
8991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8992 *) ac_try_echo=$ac_try;;
8994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8995 (eval "$ac_try") 2>&5
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 (exit $ac_status); }; }; then
8999 eval "$as_ac_Header=yes"
9001 echo "$as_me: failed program was:" >&5
9002 sed 's/^/| /' conftest.$ac_ext >&5
9004 eval "$as_ac_Header=no"
9007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9009 ac_res=`eval echo '${'$as_ac_Header'}'`
9010 { echo "$as_me:$LINENO: result: $ac_res" >&5
9011 echo "${ECHO_T}$ac_res" >&6; }
9012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9013 cat >>confdefs.h <<_ACEOF
9014 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9023 for ac_header in ucontext.h
9025 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9026 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9029 echo $ECHO_N "(cached) $ECHO_C" >&6
9031 cat >conftest.$ac_ext <<_ACEOF
9034 cat confdefs.h >>conftest.$ac_ext
9035 cat >>conftest.$ac_ext <<_ACEOF
9036 /* end confdefs.h. */
9039 #include <$ac_header>
9041 rm -f conftest.$ac_objext
9042 if { (ac_try="$ac_compile"
9044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9045 *) ac_try_echo
=$ac_try;;
9047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9048 (eval "$ac_compile") 2>conftest.er1
9050 grep -v '^ *+' conftest.er1
>conftest.err
9052 cat conftest.err
>&5
9053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054 (exit $ac_status); } &&
9055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9056 { (case "(($ac_try" in
9057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9058 *) ac_try_echo=$ac_try;;
9060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9061 (eval "$ac_try") 2>&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); }; } &&
9065 { ac_try='test -s conftest.$ac_objext'
9066 { (case "(($ac_try" in
9067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9068 *) ac_try_echo
=$ac_try;;
9070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9071 (eval "$ac_try") 2>&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
9075 eval "$as_ac_Header=yes"
9077 echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.
$ac_ext >&5
9080 eval "$as_ac_Header=no"
9083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9085 ac_res
=`eval echo '${'$as_ac_Header'}'`
9086 { echo "$as_me:$LINENO: result: $ac_res" >&5
9087 echo "${ECHO_T}$ac_res" >&6; }
9088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9089 cat >>confdefs.h
<<_ACEOF
9090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9100 for ac_header
in linux
/ipx.h linux
/videodev.h
9102 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9105 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9106 echo $ECHO_N "(cached) $ECHO_C" >&6
9108 cat >conftest.
$ac_ext <<_ACEOF
9111 cat confdefs.h
>>conftest.
$ac_ext
9112 cat >>conftest.
$ac_ext <<_ACEOF
9113 /* end confdefs.h. */
9114 #ifdef HAVE_SYS_TIME_H
9115 #include <sys/time.h>
9117 #include <sys/types.h>
9118 #ifdef HAVE_ASM_TYPES_H
9119 #include <asm/types.h>
9122 #include <$ac_header>
9124 rm -f conftest.
$ac_objext
9125 if { (ac_try
="$ac_compile"
9127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9128 *) ac_try_echo=$ac_try;;
9130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9131 (eval "$ac_compile") 2>conftest.er1
9133 grep -v '^ *+' conftest.er1 >conftest.err
9135 cat conftest.err >&5
9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9137 (exit $ac_status); } &&
9138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9139 { (case "(($ac_try" in
9140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9141 *) ac_try_echo
=$ac_try;;
9143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9144 (eval "$ac_try") 2>&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; } &&
9148 { ac_try
='test -s conftest.$ac_objext'
9149 { (case "(($ac_try" in
9150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9151 *) ac_try_echo=$ac_try;;
9153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9154 (eval "$ac_try") 2>&5
9156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 (exit $ac_status); }; }; then
9158 eval "$as_ac_Header=yes"
9160 echo "$as_me: failed program was:" >&5
9161 sed 's/^/| /' conftest.$ac_ext >&5
9163 eval "$as_ac_Header=no"
9166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9168 ac_res=`eval echo '${'$as_ac_Header'}'`
9169 { echo "$as_me:$LINENO: result: $ac_res" >&5
9170 echo "${ECHO_T}$ac_res" >&6; }
9171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9172 cat >>confdefs.h <<_ACEOF
9173 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9182 for ac_header in linux/capi.h
9184 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9188 echo $ECHO_N "(cached) $ECHO_C" >&6
9190 cat >conftest.$ac_ext <<_ACEOF
9193 cat confdefs.h >>conftest.$ac_ext
9194 cat >>conftest.$ac_ext <<_ACEOF
9195 /* end confdefs.h. */
9198 #include <$ac_header>
9200 rm -f conftest.$ac_objext
9201 if { (ac_try="$ac_compile"
9203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9204 *) ac_try_echo
=$ac_try;;
9206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9207 (eval "$ac_compile") 2>conftest.er1
9209 grep -v '^ *+' conftest.er1
>conftest.err
9211 cat conftest.err
>&5
9212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9213 (exit $ac_status); } &&
9214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9215 { (case "(($ac_try" in
9216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9217 *) ac_try_echo=$ac_try;;
9219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9220 (eval "$ac_try") 2>&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }; } &&
9224 { ac_try='test -s conftest.$ac_objext'
9225 { (case "(($ac_try" in
9226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9227 *) ac_try_echo
=$ac_try;;
9229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9230 (eval "$ac_try") 2>&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; }; then
9234 eval "$as_ac_Header=yes"
9236 echo "$as_me: failed program was:" >&5
9237 sed 's/^/| /' conftest.
$ac_ext >&5
9239 eval "$as_ac_Header=no"
9242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9244 ac_res
=`eval echo '${'$as_ac_Header'}'`
9245 { echo "$as_me:$LINENO: result: $ac_res" >&5
9246 echo "${ECHO_T}$ac_res" >&6; }
9247 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9248 cat >>confdefs.h
<<_ACEOF
9249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9258 if test "$have_x" = "yes"
9261 ac_save_CPPFLAGS
="$CPPFLAGS"
9262 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9274 for ac_header
in X11
/Xlib.h \
9277 X11
/extensions
/shape.h \
9278 X11
/extensions
/XInput.h \
9279 X11
/extensions
/XShm.h \
9280 X11
/extensions
/Xrandr.h \
9281 X11
/extensions
/Xrender.h \
9282 X11
/extensions
/xf86dga.h \
9283 X11
/extensions
/xf86vmode.h
9285 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9286 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9288 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9289 echo $ECHO_N "(cached) $ECHO_C" >&6
9291 cat >conftest.
$ac_ext <<_ACEOF
9294 cat confdefs.h
>>conftest.
$ac_ext
9295 cat >>conftest.
$ac_ext <<_ACEOF
9296 /* end confdefs.h. */
9297 #ifdef HAVE_X11_XLIB_H
9298 # include <X11/Xlib.h>
9300 #ifdef HAVE_X11_XUTIL_H
9301 # include <X11/Xutil.h>
9304 #include <$ac_header>
9306 rm -f conftest.
$ac_objext
9307 if { (ac_try
="$ac_compile"
9309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9310 *) ac_try_echo=$ac_try;;
9312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9313 (eval "$ac_compile") 2>conftest.er1
9315 grep -v '^ *+' conftest.er1 >conftest.err
9317 cat conftest.err >&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); } &&
9320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9321 { (case "(($ac_try" in
9322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9323 *) ac_try_echo
=$ac_try;;
9325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9326 (eval "$ac_try") 2>&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); }; } &&
9330 { ac_try
='test -s conftest.$ac_objext'
9331 { (case "(($ac_try" in
9332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9333 *) ac_try_echo=$ac_try;;
9335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9336 (eval "$ac_try") 2>&5
9338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339 (exit $ac_status); }; }; then
9340 eval "$as_ac_Header=yes"
9342 echo "$as_me: failed program was:" >&5
9343 sed 's/^/| /' conftest.$ac_ext >&5
9345 eval "$as_ac_Header=no"
9348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9350 ac_res=`eval echo '${'$as_ac_Header'}'`
9351 { echo "$as_me:$LINENO: result: $ac_res" >&5
9352 echo "${ECHO_T}$ac_res" >&6; }
9353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9354 cat >>confdefs.h <<_ACEOF
9355 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9363 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9365 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9366 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9367 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9368 echo $ECHO_N "(cached) $ECHO_C" >&6
9370 ac_check_lib_save_LIBS=$LIBS
9371 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9372 cat >conftest.$ac_ext <<_ACEOF
9375 cat confdefs.h >>conftest.$ac_ext
9376 cat >>conftest.$ac_ext <<_ACEOF
9377 /* end confdefs.h. */
9379 /* Override any GCC internal prototype to avoid an error.
9380 Use char because int might match the return type of a GCC
9381 builtin and then its argument prototype would still apply. */
9385 char XkbQueryExtension ();
9389 return XkbQueryExtension ();
9394 rm -f conftest.$ac_objext conftest$ac_exeext
9395 if { (ac_try="$ac_link"
9397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9398 *) ac_try_echo
=$ac_try;;
9400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9401 (eval "$ac_link") 2>conftest.er1
9403 grep -v '^ *+' conftest.er1
>conftest.err
9405 cat conftest.err
>&5
9406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407 (exit $ac_status); } &&
9408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9409 { (case "(($ac_try" in
9410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9411 *) ac_try_echo=$ac_try;;
9413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9414 (eval "$ac_try") 2>&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); }; } &&
9418 { ac_try='test -s conftest$ac_exeext'
9419 { (case "(($ac_try" in
9420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9421 *) ac_try_echo
=$ac_try;;
9423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9424 (eval "$ac_try") 2>&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); }; }; then
9428 ac_cv_lib_X11_XkbQueryExtension
=yes
9430 echo "$as_me: failed program was:" >&5
9431 sed 's/^/| /' conftest.
$ac_ext >&5
9433 ac_cv_lib_X11_XkbQueryExtension
=no
9436 rm -f core conftest.err conftest.
$ac_objext \
9437 conftest
$ac_exeext conftest.
$ac_ext
9438 LIBS
=$ac_check_lib_save_LIBS
9440 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9441 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9442 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9444 cat >>confdefs.h
<<\_ACEOF
9452 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9454 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9455 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9456 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9457 echo $ECHO_N "(cached) $ECHO_C" >&6
9459 ac_check_lib_save_LIBS
=$LIBS
9460 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9461 cat >conftest.
$ac_ext <<_ACEOF
9464 cat confdefs.h
>>conftest.
$ac_ext
9465 cat >>conftest.
$ac_ext <<_ACEOF
9466 /* end confdefs.h. */
9468 /* Override any GCC internal prototype to avoid an error.
9469 Use char because int might match the return type of a GCC
9470 builtin and then its argument prototype would still apply. */
9474 char XShmQueryExtension ();
9478 return XShmQueryExtension ();
9483 rm -f conftest.
$ac_objext conftest
$ac_exeext
9484 if { (ac_try
="$ac_link"
9486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9487 *) ac_try_echo=$ac_try;;
9489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9490 (eval "$ac_link") 2>conftest.er1
9492 grep -v '^ *+' conftest.er1 >conftest.err
9494 cat conftest.err >&5
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); } &&
9497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9498 { (case "(($ac_try" in
9499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9500 *) ac_try_echo
=$ac_try;;
9502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9503 (eval "$ac_try") 2>&5
9505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); }; } &&
9507 { ac_try
='test -s conftest$ac_exeext'
9508 { (case "(($ac_try" in
9509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9510 *) ac_try_echo=$ac_try;;
9512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9513 (eval "$ac_try") 2>&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); }; }; then
9517 ac_cv_lib_Xext_XShmQueryExtension=yes
9519 echo "$as_me: failed program was:" >&5
9520 sed 's/^/| /' conftest.$ac_ext >&5
9522 ac_cv_lib_Xext_XShmQueryExtension=no
9525 rm -f core conftest.err conftest.$ac_objext \
9526 conftest$ac_exeext conftest.$ac_ext
9527 LIBS=$ac_check_lib_save_LIBS
9529 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9530 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9531 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9533 cat >>confdefs.h <<\_ACEOF
9534 #define HAVE_LIBXXSHM 1
9541 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9543 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9544 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9545 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9546 echo $ECHO_N "(cached) $ECHO_C" >&6
9548 ac_check_lib_save_LIBS=$LIBS
9549 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9550 cat >conftest.$ac_ext <<_ACEOF
9553 cat confdefs.h >>conftest.$ac_ext
9554 cat >>conftest.$ac_ext <<_ACEOF
9555 /* end confdefs.h. */
9557 /* Override any GCC internal prototype to avoid an error.
9558 Use char because int might match the return type of a GCC
9559 builtin and then its argument prototype would still apply. */
9563 char XShapeQueryExtension ();
9567 return XShapeQueryExtension ();
9572 rm -f conftest.$ac_objext conftest$ac_exeext
9573 if { (ac_try="$ac_link"
9575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9576 *) ac_try_echo
=$ac_try;;
9578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9579 (eval "$ac_link") 2>conftest.er1
9581 grep -v '^ *+' conftest.er1
>conftest.err
9583 cat conftest.err
>&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); } &&
9586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9587 { (case "(($ac_try" in
9588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9589 *) ac_try_echo=$ac_try;;
9591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9592 (eval "$ac_try") 2>&5
9594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9595 (exit $ac_status); }; } &&
9596 { ac_try='test -s conftest$ac_exeext'
9597 { (case "(($ac_try" in
9598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9599 *) ac_try_echo
=$ac_try;;
9601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9602 (eval "$ac_try") 2>&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); }; }; then
9606 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9608 echo "$as_me: failed program was:" >&5
9609 sed 's/^/| /' conftest.
$ac_ext >&5
9611 ac_cv_lib_Xext_XShapeQueryExtension
=no
9614 rm -f core conftest.err conftest.
$ac_objext \
9615 conftest
$ac_exeext conftest.
$ac_ext
9616 LIBS
=$ac_check_lib_save_LIBS
9618 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9619 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9620 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9622 cat >>confdefs.h
<<\_ACEOF
9623 #define HAVE_LIBXSHAPE 1
9630 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
9632 { echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
9633 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6; }
9634 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
9635 echo $ECHO_N "(cached) $ECHO_C" >&6
9637 ac_check_lib_save_LIBS
=$LIBS
9638 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9639 cat >conftest.
$ac_ext <<_ACEOF
9642 cat confdefs.h
>>conftest.
$ac_ext
9643 cat >>conftest.
$ac_ext <<_ACEOF
9644 /* end confdefs.h. */
9646 /* Override any GCC internal prototype to avoid an error.
9647 Use char because int might match the return type of a GCC
9648 builtin and then its argument prototype would still apply. */
9652 char XDGAQueryExtension ();
9656 return XDGAQueryExtension ();
9661 rm -f conftest.
$ac_objext conftest
$ac_exeext
9662 if { (ac_try
="$ac_link"
9664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9665 *) ac_try_echo=$ac_try;;
9667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9668 (eval "$ac_link") 2>conftest.er1
9670 grep -v '^ *+' conftest.er1 >conftest.err
9672 cat conftest.err >&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); } &&
9675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9676 { (case "(($ac_try" in
9677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9678 *) ac_try_echo
=$ac_try;;
9680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9681 (eval "$ac_try") 2>&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); }; } &&
9685 { ac_try
='test -s conftest$ac_exeext'
9686 { (case "(($ac_try" in
9687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9688 *) ac_try_echo=$ac_try;;
9690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9691 (eval "$ac_try") 2>&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; }; then
9695 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
9697 echo "$as_me: failed program was:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9700 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
9703 rm -f core conftest.err conftest.$ac_objext \
9704 conftest$ac_exeext conftest.$ac_ext
9705 LIBS=$ac_check_lib_save_LIBS
9707 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
9708 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6; }
9709 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
9711 cat >>confdefs.h <<\_ACEOF
9712 #define HAVE_LIBXXF86DGA2 1
9715 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
9721 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9723 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9724 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9725 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9726 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 ac_check_lib_save_LIBS=$LIBS
9729 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9730 cat >conftest.$ac_ext <<_ACEOF
9733 cat confdefs.h >>conftest.$ac_ext
9734 cat >>conftest.$ac_ext <<_ACEOF
9735 /* end confdefs.h. */
9737 /* Override any GCC internal prototype to avoid an error.
9738 Use char because int might match the return type of a GCC
9739 builtin and then its argument prototype would still apply. */
9743 char XF86VidModeQueryExtension ();
9747 return XF86VidModeQueryExtension ();
9752 rm -f conftest.$ac_objext conftest$ac_exeext
9753 if { (ac_try="$ac_link"
9755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9756 *) ac_try_echo
=$ac_try;;
9758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9759 (eval "$ac_link") 2>conftest.er1
9761 grep -v '^ *+' conftest.er1
>conftest.err
9763 cat conftest.err
>&5
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); } &&
9766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9767 { (case "(($ac_try" in
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_try") 2>&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; } &&
9776 { ac_try='test -s conftest$ac_exeext'
9777 { (case "(($ac_try" in
9778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9779 *) ac_try_echo
=$ac_try;;
9781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9782 (eval "$ac_try") 2>&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; }; then
9786 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9788 echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.
$ac_ext >&5
9791 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9794 rm -f core conftest.err conftest.
$ac_objext \
9795 conftest
$ac_exeext conftest.
$ac_ext
9796 LIBS
=$ac_check_lib_save_LIBS
9798 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9799 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9800 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9802 cat >>confdefs.h
<<\_ACEOF
9803 #define HAVE_LIBXXF86VM 1
9806 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9812 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9814 cat >conftest.
$ac_ext <<_ACEOF
9817 cat confdefs.h
>>conftest.
$ac_ext
9818 cat >>conftest.
$ac_ext <<_ACEOF
9819 /* end confdefs.h. */
9820 #include <X11/Xlib.h>
9821 #include <X11/extensions/Xrandr.h>
9825 static typeof(XRRSetScreenConfigAndRate) * func;
9830 rm -f conftest.
$ac_objext
9831 if { (ac_try
="$ac_compile"
9833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9834 *) ac_try_echo=$ac_try;;
9836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9837 (eval "$ac_compile") 2>conftest.er1
9839 grep -v '^ *+' conftest.er1 >conftest.err
9841 cat conftest.err >&5
9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 (exit $ac_status); } &&
9844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9845 { (case "(($ac_try" in
9846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9847 *) ac_try_echo
=$ac_try;;
9849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9850 (eval "$ac_try") 2>&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); }; } &&
9854 { ac_try
='test -s conftest.$ac_objext'
9855 { (case "(($ac_try" in
9856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9857 *) ac_try_echo=$ac_try;;
9859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9860 (eval "$ac_try") 2>&5
9862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9863 (exit $ac_status); }; }; then
9865 cat >>confdefs.h <<\_ACEOF
9866 #define HAVE_LIBXRANDR 1
9870 echo "$as_me: failed program was:" >&5
9871 sed 's/^/| /' conftest.$ac_ext >&5
9876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9879 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9881 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9882 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9883 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9884 echo $ECHO_N "(cached) $ECHO_C" >&6
9886 ac_check_lib_save_LIBS=$LIBS
9887 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9888 cat >conftest.$ac_ext <<_ACEOF
9891 cat confdefs.h >>conftest.$ac_ext
9892 cat >>conftest.$ac_ext <<_ACEOF
9893 /* end confdefs.h. */
9895 /* Override any GCC internal prototype to avoid an error.
9896 Use char because int might match the return type of a GCC
9897 builtin and then its argument prototype would still apply. */
9901 char XRenderSetPictureTransform ();
9905 return XRenderSetPictureTransform ();
9910 rm -f conftest.$ac_objext conftest$ac_exeext
9911 if { (ac_try="$ac_link"
9913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9914 *) ac_try_echo
=$ac_try;;
9916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9917 (eval "$ac_link") 2>conftest.er1
9919 grep -v '^ *+' conftest.er1
>conftest.err
9921 cat conftest.err
>&5
9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); } &&
9924 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9925 { (case "(($ac_try" in
9926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9927 *) ac_try_echo=$ac_try;;
9929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9930 (eval "$ac_try") 2>&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); }; } &&
9934 { ac_try='test -s conftest$ac_exeext'
9935 { (case "(($ac_try" in
9936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9937 *) ac_try_echo
=$ac_try;;
9939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9940 (eval "$ac_try") 2>&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); }; }; then
9944 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9946 echo "$as_me: failed program was:" >&5
9947 sed 's/^/| /' conftest.
$ac_ext >&5
9949 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9952 rm -f core conftest.err conftest.
$ac_objext \
9953 conftest
$ac_exeext conftest.
$ac_ext
9954 LIBS
=$ac_check_lib_save_LIBS
9956 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9957 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9958 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9960 cat >>confdefs.h
<<\_ACEOF
9961 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9968 if test "x$with_opengl" != "xno"
9974 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
9976 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9977 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9979 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9980 echo $ECHO_N "(cached) $ECHO_C" >&6
9982 cat >conftest.
$ac_ext <<_ACEOF
9985 cat confdefs.h
>>conftest.
$ac_ext
9986 cat >>conftest.
$ac_ext <<_ACEOF
9987 /* end confdefs.h. */
9988 #ifdef HAVE_GL_GLX_H
9989 # include <GL/glx.h>
9992 #include <$ac_header>
9994 rm -f conftest.
$ac_objext
9995 if { (ac_try
="$ac_compile"
9997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9998 *) ac_try_echo=$ac_try;;
10000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10001 (eval "$ac_compile") 2>conftest.er1
10003 grep -v '^ *+' conftest.er1 >conftest.err
10005 cat conftest.err >&5
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); } &&
10008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10009 { (case "(($ac_try" in
10010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10011 *) ac_try_echo
=$ac_try;;
10013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10014 (eval "$ac_try") 2>&5
10016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10017 (exit $ac_status); }; } &&
10018 { ac_try
='test -s conftest.$ac_objext'
10019 { (case "(($ac_try" in
10020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10021 *) ac_try_echo=$ac_try;;
10023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10024 (eval "$ac_try") 2>&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); }; }; then
10028 eval "$as_ac_Header=yes"
10030 echo "$as_me: failed program was:" >&5
10031 sed 's/^/| /' conftest.$ac_ext >&5
10033 eval "$as_ac_Header=no"
10036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10038 ac_res=`eval echo '${'$as_ac_Header'}'`
10039 { echo "$as_me:$LINENO: result: $ac_res" >&5
10040 echo "${ECHO_T}$ac_res" >&6; }
10041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10042 cat >>confdefs.h <<_ACEOF
10043 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10050 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10052 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10053 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10054 if test "${wine_cv_opengl_version_OK+set}" = set; then
10055 echo $ECHO_N "(cached) $ECHO_C" >&6
10057 cat >conftest.$ac_ext <<_ACEOF
10060 cat confdefs.h >>conftest.$ac_ext
10061 cat >>conftest.$ac_ext <<_ACEOF
10062 /* end confdefs.h. */
10067 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10072 rm -f conftest.$ac_objext
10073 if { (ac_try="$ac_compile"
10074 case "(($ac_try" in
10075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10076 *) ac_try_echo
=$ac_try;;
10078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10079 (eval "$ac_compile") 2>conftest.er1
10081 grep -v '^ *+' conftest.er1
>conftest.err
10083 cat conftest.err
>&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); } &&
10086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10096 { ac_try='test -s conftest.$ac_objext'
10097 { (case "(($ac_try" in
10098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10099 *) ac_try_echo
=$ac_try;;
10101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10102 (eval "$ac_try") 2>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; }; then
10106 wine_cv_opengl_version_OK
="yes"
10108 echo "$as_me: failed program was:" >&5
10109 sed 's/^/| /' conftest.
$ac_ext >&5
10111 wine_cv_opengl_version_OK
="no"
10115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10118 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
10119 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
10121 if test "$wine_cv_opengl_version_OK" = "yes"
10123 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
10124 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
10125 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
10126 echo $ECHO_N "(cached) $ECHO_C" >&6
10128 ac_check_lib_save_LIBS
=$LIBS
10129 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10130 cat >conftest.
$ac_ext <<_ACEOF
10133 cat confdefs.h
>>conftest.
$ac_ext
10134 cat >>conftest.
$ac_ext <<_ACEOF
10135 /* end confdefs.h. */
10137 /* Override any GCC internal prototype to avoid an error.
10138 Use char because int might match the return type of a GCC
10139 builtin and then its argument prototype would still apply. */
10143 char glXCreateContext ();
10147 return glXCreateContext ();
10152 rm -f conftest.
$ac_objext conftest
$ac_exeext
10153 if { (ac_try
="$ac_link"
10154 case "(($ac_try" in
10155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10156 *) ac_try_echo=$ac_try;;
10158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10159 (eval "$ac_link") 2>conftest.er1
10161 grep -v '^ *+' conftest.er1 >conftest.err
10163 cat conftest.err >&5
10164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10165 (exit $ac_status); } &&
10166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10167 { (case "(($ac_try" in
10168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10169 *) ac_try_echo
=$ac_try;;
10171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10172 (eval "$ac_try") 2>&5
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); }; } &&
10176 { ac_try
='test -s conftest$ac_exeext'
10177 { (case "(($ac_try" in
10178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10179 *) ac_try_echo=$ac_try;;
10181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10182 (eval "$ac_try") 2>&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); }; }; then
10186 ac_cv_lib_GL_glXCreateContext=yes
10188 echo "$as_me: failed program was:" >&5
10189 sed 's/^/| /' conftest.$ac_ext >&5
10191 ac_cv_lib_GL_glXCreateContext=no
10194 rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 LIBS=$ac_check_lib_save_LIBS
10198 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
10199 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
10200 if test $ac_cv_lib_GL_glXCreateContext = yes; then
10206 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
10208 OPENGLFILES='$(OPENGLFILES)'
10210 cat >>confdefs.h <<\_ACEOF
10211 #define HAVE_OPENGL 1
10215 if test -f /usr/X11R6/lib/libGL.a
10217 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
10218 This prevents linking to OpenGL. Delete the file and restart configure." >&5
10219 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
10220 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
10221 { (exit 1); exit 1; }; }
10225 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10226 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10227 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10230 ac_check_lib_save_LIBS=$LIBS
10231 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10233 cat >conftest.$ac_ext <<_ACEOF
10236 cat confdefs.h >>conftest.$ac_ext
10237 cat >>conftest.$ac_ext <<_ACEOF
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10250 return gluLookAt ();
10255 rm -f conftest.$ac_objext conftest$ac_exeext
10256 if { (ac_try="$ac_link"
10257 case "(($ac_try" in
10258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10259 *) ac_try_echo
=$ac_try;;
10261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10262 (eval "$ac_link") 2>conftest.er1
10264 grep -v '^ *+' conftest.er1
>conftest.err
10266 cat conftest.err
>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); } &&
10269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10270 { (case "(($ac_try" in
10271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10272 *) ac_try_echo=$ac_try;;
10274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10275 (eval "$ac_try") 2>&5
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; } &&
10279 { ac_try='test -s conftest$ac_exeext'
10280 { (case "(($ac_try" in
10281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10282 *) ac_try_echo
=$ac_try;;
10284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10285 (eval "$ac_try") 2>&5
10287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288 (exit $ac_status); }; }; then
10289 ac_cv_lib_GLU_gluLookAt
=yes
10291 echo "$as_me: failed program was:" >&5
10292 sed 's/^/| /' conftest.
$ac_ext >&5
10294 ac_cv_lib_GLU_gluLookAt
=no
10297 rm -f core conftest.err conftest.
$ac_objext \
10298 conftest
$ac_exeext conftest.
$ac_ext
10299 LIBS
=$ac_check_lib_save_LIBS
10301 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10302 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10303 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10304 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10305 GLU32FILES
='$(GLU32FILES)'
10311 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
10312 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
10313 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
10314 echo $ECHO_N "(cached) $ECHO_C" >&6
10316 ac_check_lib_save_LIBS
=$LIBS
10317 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
10318 cat >conftest.
$ac_ext <<_ACEOF
10321 cat confdefs.h
>>conftest.
$ac_ext
10322 cat >>conftest.
$ac_ext <<_ACEOF
10323 /* end confdefs.h. */
10325 /* Override any GCC internal prototype to avoid an error.
10326 Use char because int might match the return type of a GCC
10327 builtin and then its argument prototype would still apply. */
10331 char glutMainLoop ();
10335 return glutMainLoop ();
10340 rm -f conftest.
$ac_objext conftest
$ac_exeext
10341 if { (ac_try
="$ac_link"
10342 case "(($ac_try" in
10343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10344 *) ac_try_echo=$ac_try;;
10346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10347 (eval "$ac_link") 2>conftest.er1
10349 grep -v '^ *+' conftest.er1 >conftest.err
10351 cat conftest.err >&5
10352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10353 (exit $ac_status); } &&
10354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10355 { (case "(($ac_try" in
10356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10357 *) ac_try_echo
=$ac_try;;
10359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10360 (eval "$ac_try") 2>&5
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); }; } &&
10364 { ac_try
='test -s conftest$ac_exeext'
10365 { (case "(($ac_try" in
10366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10367 *) ac_try_echo=$ac_try;;
10369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10370 (eval "$ac_try") 2>&5
10372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 (exit $ac_status); }; }; then
10374 ac_cv_lib_glut_glutMainLoop=yes
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10379 ac_cv_lib_glut_glutMainLoop=no
10382 rm -f core conftest.err conftest.$ac_objext \
10383 conftest$ac_exeext conftest.$ac_ext
10384 LIBS=$ac_check_lib_save_LIBS
10386 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
10387 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
10388 if test $ac_cv_lib_glut_glutMainLoop = yes; then
10389 GLUT_LIBS="-lglut -lXmu -lXi"
10391 GLUT32FILES='$(GLUT32FILES)'
10401 for ac_header in audio/audiolib.h
10403 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10404 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10405 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10407 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10408 echo $ECHO_N "(cached) $ECHO_C" >&6
10410 ac_res=`eval echo '${'$as_ac_Header'}'`
10411 { echo "$as_me:$LINENO: result: $ac_res" >&5
10412 echo "${ECHO_T}$ac_res" >&6; }
10414 # Is the header compilable?
10415 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10417 cat >conftest.$ac_ext <<_ACEOF
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10423 $ac_includes_default
10424 #include <$ac_header>
10426 rm -f conftest.$ac_objext
10427 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
10435 grep -v '^ *+' conftest.er1
>conftest.err
10437 cat conftest.err
>&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); } &&
10440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10441 { (case "(($ac_try" in
10442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10443 *) ac_try_echo=$ac_try;;
10445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10446 (eval "$ac_try") 2>&5
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; } &&
10450 { ac_try='test -s conftest.$ac_objext'
10451 { (case "(($ac_try" in
10452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10453 *) ac_try_echo
=$ac_try;;
10455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10456 (eval "$ac_try") 2>&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); }; }; then
10460 ac_header_compiler
=yes
10462 echo "$as_me: failed program was:" >&5
10463 sed 's/^/| /' conftest.
$ac_ext >&5
10465 ac_header_compiler
=no
10468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10469 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10470 echo "${ECHO_T}$ac_header_compiler" >&6; }
10472 # Is the header present?
10473 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10474 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10475 cat >conftest.
$ac_ext <<_ACEOF
10478 cat confdefs.h
>>conftest.
$ac_ext
10479 cat >>conftest.
$ac_ext <<_ACEOF
10480 /* end confdefs.h. */
10481 #include <$ac_header>
10483 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10484 case "(($ac_try" in
10485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10486 *) ac_try_echo=$ac_try;;
10488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10491 grep -v '^ *+' conftest.er1 >conftest.err
10493 cat conftest.err >&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); } >/dev/null; then
10496 if test -s conftest.err; then
10497 ac_cpp_err=$ac_c_preproc_warn_flag
10498 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10505 if test -z "$ac_cpp_err"; then
10506 ac_header_preproc=yes
10508 echo "$as_me: failed program was:" >&5
10509 sed 's/^/| /' conftest.$ac_ext >&5
10511 ac_header_preproc=no
10514 rm -f conftest.err conftest.$ac_ext
10515 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10516 echo "${ECHO_T}$ac_header_preproc" >&6; }
10518 # So? What about this header?
10519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10525 ac_header_preproc=yes
10528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10541 ## ------------------------------------ ##
10542 ## Report this to wine-devel@winehq.org ##
10543 ## ------------------------------------ ##
10545 ) | sed "s/^/$as_me: WARNING: /" >&2
10548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10551 echo $ECHO_N "(cached) $ECHO_C" >&6
10553 eval "$as_ac_Header=\$ac_header_preproc"
10555 ac_res=`eval echo '${'$as_ac_Header'}'`
10556 { echo "$as_me:$LINENO: result: $ac_res" >&5
10557 echo "${ECHO_T}$ac_res" >&6; }
10560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10561 cat >>confdefs.h <<_ACEOF
10562 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10565 for ac_header in audio/soundlib.h
10567 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10571 echo $ECHO_N "(cached) $ECHO_C" >&6
10573 cat >conftest.$ac_ext <<_ACEOF
10576 cat confdefs.h >>conftest.$ac_ext
10577 cat >>conftest.$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10579 #include <audio/audiolib.h>
10581 #include <$ac_header>
10583 rm -f conftest.$ac_objext
10584 if { (ac_try="$ac_compile"
10585 case "(($ac_try" in
10586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10587 *) ac_try_echo
=$ac_try;;
10589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10590 (eval "$ac_compile") 2>conftest.er1
10592 grep -v '^ *+' conftest.er1
>conftest.err
10594 cat conftest.err
>&5
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); } &&
10597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10598 { (case "(($ac_try" in
10599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10600 *) ac_try_echo=$ac_try;;
10602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10603 (eval "$ac_try") 2>&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; } &&
10607 { ac_try='test -s conftest.$ac_objext'
10608 { (case "(($ac_try" in
10609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10610 *) ac_try_echo
=$ac_try;;
10612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10613 (eval "$ac_try") 2>&5
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); }; }; then
10617 eval "$as_ac_Header=yes"
10619 echo "$as_me: failed program was:" >&5
10620 sed 's/^/| /' conftest.
$ac_ext >&5
10622 eval "$as_ac_Header=no"
10625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10627 ac_res
=`eval echo '${'$as_ac_Header'}'`
10628 { echo "$as_me:$LINENO: result: $ac_res" >&5
10629 echo "${ECHO_T}$ac_res" >&6; }
10630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10631 cat >>confdefs.h
<<_ACEOF
10632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10639 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10640 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10641 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10644 ac_check_lib_save_LIBS
=$LIBS
10645 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10646 cat >conftest.
$ac_ext <<_ACEOF
10649 cat confdefs.h
>>conftest.
$ac_ext
10650 cat >>conftest.
$ac_ext <<_ACEOF
10651 /* end confdefs.h. */
10653 /* Override any GCC internal prototype to avoid an error.
10654 Use char because int might match the return type of a GCC
10655 builtin and then its argument prototype would still apply. */
10659 char AuCreateFlow ();
10663 return AuCreateFlow ();
10668 rm -f conftest.
$ac_objext conftest
$ac_exeext
10669 if { (ac_try
="$ac_link"
10670 case "(($ac_try" in
10671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10672 *) ac_try_echo=$ac_try;;
10674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10675 (eval "$ac_link") 2>conftest.er1
10677 grep -v '^ *+' conftest.er1 >conftest.err
10679 cat conftest.err >&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); } &&
10682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10683 { (case "(($ac_try" in
10684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10685 *) ac_try_echo
=$ac_try;;
10687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10688 (eval "$ac_try") 2>&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); }; } &&
10692 { ac_try
='test -s conftest$ac_exeext'
10693 { (case "(($ac_try" in
10694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10695 *) ac_try_echo=$ac_try;;
10697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10698 (eval "$ac_try") 2>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; }; then
10702 ac_cv_lib_audio_AuCreateFlow=yes
10704 echo "$as_me: failed program was:" >&5
10705 sed 's/^/| /' conftest.$ac_ext >&5
10707 ac_cv_lib_audio_AuCreateFlow=no
10710 rm -f core conftest.err conftest.$ac_objext \
10711 conftest$ac_exeext conftest.$ac_ext
10712 LIBS=$ac_check_lib_save_LIBS
10714 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10715 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10716 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10718 cat >>confdefs.h <<\_ACEOF
10722 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10730 CPPFLAGS="$ac_save_CPPFLAGS"
10747 if test "$PKG_CONFIG" != "false"
10749 ac_save_CPPFLAGS="$CPPFLAGS"
10750 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
10751 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
10752 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10754 for ac_header in libxml/parser.h
10756 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10757 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10758 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 ac_res=`eval echo '${'$as_ac_Header'}'`
10764 { echo "$as_me:$LINENO: result: $ac_res" >&5
10765 echo "${ECHO_T}$ac_res" >&6; }
10767 # Is the header compilable?
10768 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10770 cat >conftest.$ac_ext <<_ACEOF
10773 cat confdefs.h >>conftest.$ac_ext
10774 cat >>conftest.$ac_ext <<_ACEOF
10775 /* end confdefs.h. */
10776 $ac_includes_default
10777 #include <$ac_header>
10779 rm -f conftest.$ac_objext
10780 if { (ac_try="$ac_compile"
10781 case "(($ac_try" in
10782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10783 *) ac_try_echo
=$ac_try;;
10785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10786 (eval "$ac_compile") 2>conftest.er1
10788 grep -v '^ *+' conftest.er1
>conftest.err
10790 cat conftest.err
>&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } &&
10793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10794 { (case "(($ac_try" in
10795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10796 *) ac_try_echo=$ac_try;;
10798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10799 (eval "$ac_try") 2>&5
10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10802 (exit $ac_status); }; } &&
10803 { ac_try='test -s conftest.$ac_objext'
10804 { (case "(($ac_try" in
10805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10806 *) ac_try_echo
=$ac_try;;
10808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10809 (eval "$ac_try") 2>&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); }; }; then
10813 ac_header_compiler
=yes
10815 echo "$as_me: failed program was:" >&5
10816 sed 's/^/| /' conftest.
$ac_ext >&5
10818 ac_header_compiler
=no
10821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10822 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10823 echo "${ECHO_T}$ac_header_compiler" >&6; }
10825 # Is the header present?
10826 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10827 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10828 cat >conftest.
$ac_ext <<_ACEOF
10831 cat confdefs.h
>>conftest.
$ac_ext
10832 cat >>conftest.
$ac_ext <<_ACEOF
10833 /* end confdefs.h. */
10834 #include <$ac_header>
10836 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10837 case "(($ac_try" in
10838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10839 *) ac_try_echo=$ac_try;;
10841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10844 grep -v '^ *+' conftest.er1 >conftest.err
10846 cat conftest.err >&5
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); } >/dev/null; then
10849 if test -s conftest.err; then
10850 ac_cpp_err=$ac_c_preproc_warn_flag
10851 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10858 if test -z "$ac_cpp_err"; then
10859 ac_header_preproc=yes
10861 echo "$as_me: failed program was:" >&5
10862 sed 's/^/| /' conftest.$ac_ext >&5
10864 ac_header_preproc=no
10867 rm -f conftest.err conftest.$ac_ext
10868 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10869 echo "${ECHO_T}$ac_header_preproc" >&6; }
10871 # So? What about this header?
10872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10874 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10875 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10877 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10878 ac_header_preproc=yes
10881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10885 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10886 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10887 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10888 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10891 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10892 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10894 ## ------------------------------------ ##
10895 ## Report this to wine-devel@winehq.org ##
10896 ## ------------------------------------ ##
10898 ) | sed "s/^/$as_me: WARNING: /" >&2
10901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10904 echo $ECHO_N "(cached) $ECHO_C" >&6
10906 eval "$as_ac_Header=\$ac_header_preproc"
10908 ac_res=`eval echo '${'$as_ac_Header'}'`
10909 { echo "$as_me:$LINENO: result: $ac_res" >&5
10910 echo "${ECHO_T}$ac_res" >&6; }
10913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10914 cat >>confdefs.h <<_ACEOF
10915 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10917 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10918 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10919 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10920 echo $ECHO_N "(cached) $ECHO_C" >&6
10922 ac_check_lib_save_LIBS=$LIBS
10923 LIBS="-lxml2 $ac_xml_libs $LIBS"
10924 cat >conftest.$ac_ext <<_ACEOF
10927 cat confdefs.h >>conftest.$ac_ext
10928 cat >>conftest.$ac_ext <<_ACEOF
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10937 char xmlParseMemory ();
10941 return xmlParseMemory ();
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
10955 grep -v '^ *+' conftest.er1
>conftest.err
10957 cat conftest.err
>&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } &&
10960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10961 { (case "(($ac_try" in
10962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10963 *) ac_try_echo=$ac_try;;
10965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10966 (eval "$ac_try") 2>&5
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; } &&
10970 { ac_try='test -s conftest$ac_exeext'
10971 { (case "(($ac_try" in
10972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10973 *) ac_try_echo
=$ac_try;;
10975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10976 (eval "$ac_try") 2>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; }; then
10980 ac_cv_lib_xml2_xmlParseMemory
=yes
10982 echo "$as_me: failed program was:" >&5
10983 sed 's/^/| /' conftest.
$ac_ext >&5
10985 ac_cv_lib_xml2_xmlParseMemory
=no
10988 rm -f core conftest.err conftest.
$ac_objext \
10989 conftest
$ac_exeext conftest.
$ac_ext
10990 LIBS
=$ac_check_lib_save_LIBS
10992 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10993 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10994 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10996 cat >>confdefs.h
<<\_ACEOF
10997 #define HAVE_LIBXML2 1
11000 XML2LIBS
="$ac_xml_libs"
11001 XML2INCL
="$ac_xml_cflags"
11004 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11005 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11006 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11007 echo $ECHO_N "(cached) $ECHO_C" >&6
11009 ac_check_lib_save_LIBS
=$LIBS
11010 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11011 cat >conftest.
$ac_ext <<_ACEOF
11014 cat confdefs.h
>>conftest.
$ac_ext
11015 cat >>conftest.
$ac_ext <<_ACEOF
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11024 char xmlReadMemory ();
11028 return xmlReadMemory ();
11033 rm -f conftest.
$ac_objext conftest
$ac_exeext
11034 if { (ac_try
="$ac_link"
11035 case "(($ac_try" in
11036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11037 *) ac_try_echo=$ac_try;;
11039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11040 (eval "$ac_link") 2>conftest.er1
11042 grep -v '^ *+' conftest.er1 >conftest.err
11044 cat conftest.err >&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); } &&
11047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11048 { (case "(($ac_try" in
11049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11050 *) ac_try_echo
=$ac_try;;
11052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11053 (eval "$ac_try") 2>&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); }; } &&
11057 { ac_try
='test -s conftest$ac_exeext'
11058 { (case "(($ac_try" in
11059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11060 *) ac_try_echo=$ac_try;;
11062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11063 (eval "$ac_try") 2>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; }; then
11067 ac_cv_lib_xml2_xmlReadMemory=yes
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.$ac_ext >&5
11072 ac_cv_lib_xml2_xmlReadMemory=no
11075 rm -f core conftest.err conftest.$ac_objext \
11076 conftest$ac_exeext conftest.$ac_ext
11077 LIBS=$ac_check_lib_save_LIBS
11079 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11080 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11081 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11083 cat >>confdefs.h <<\_ACEOF
11084 #define HAVE_XMLREADMEMORY 1
11094 CPPFLAGS="$ac_save_CPPFLAGS"
11095 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
11096 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
11097 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11100 for ac_header in libxslt/pattern.h libxslt/transform.h
11102 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11108 cat >conftest.$ac_ext <<_ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 #ifdef HAVE_LIBXSLT_PATTERN_H
11115 # include <libxslt/pattern.h>
11118 #include <$ac_header>
11120 rm -f conftest.$ac_objext
11121 if { (ac_try="$ac_compile"
11122 case "(($ac_try" in
11123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11124 *) ac_try_echo
=$ac_try;;
11126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11127 (eval "$ac_compile") 2>conftest.er1
11129 grep -v '^ *+' conftest.er1
>conftest.err
11131 cat conftest.err
>&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); } &&
11134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11135 { (case "(($ac_try" in
11136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11137 *) ac_try_echo=$ac_try;;
11139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11140 (eval "$ac_try") 2>&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; } &&
11144 { ac_try='test -s conftest.$ac_objext'
11145 { (case "(($ac_try" in
11146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11147 *) ac_try_echo
=$ac_try;;
11149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11150 (eval "$ac_try") 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; }; then
11154 eval "$as_ac_Header=yes"
11156 echo "$as_me: failed program was:" >&5
11157 sed 's/^/| /' conftest.
$ac_ext >&5
11159 eval "$as_ac_Header=no"
11162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11164 ac_res
=`eval echo '${'$as_ac_Header'}'`
11165 { echo "$as_me:$LINENO: result: $ac_res" >&5
11166 echo "${ECHO_T}$ac_res" >&6; }
11167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11168 cat >>confdefs.h
<<_ACEOF
11169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11171 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11172 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11173 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11174 echo $ECHO_N "(cached) $ECHO_C" >&6
11176 ac_check_lib_save_LIBS
=$LIBS
11177 LIBS
="-lxslt $ac_xslt_libs $LIBS"
11178 cat >conftest.
$ac_ext <<_ACEOF
11181 cat confdefs.h
>>conftest.
$ac_ext
11182 cat >>conftest.
$ac_ext <<_ACEOF
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11191 char xsltCompilePattern ();
11195 return xsltCompilePattern ();
11200 rm -f conftest.
$ac_objext conftest
$ac_exeext
11201 if { (ac_try
="$ac_link"
11202 case "(($ac_try" in
11203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11204 *) ac_try_echo=$ac_try;;
11206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11207 (eval "$ac_link") 2>conftest.er1
11209 grep -v '^ *+' conftest.er1 >conftest.err
11211 cat conftest.err >&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); } &&
11214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11215 { (case "(($ac_try" in
11216 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11217 *) ac_try_echo
=$ac_try;;
11219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11220 (eval "$ac_try") 2>&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); }; } &&
11224 { ac_try
='test -s conftest$ac_exeext'
11225 { (case "(($ac_try" in
11226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11227 *) ac_try_echo=$ac_try;;
11229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11230 (eval "$ac_try") 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; }; then
11234 ac_cv_lib_xslt_xsltCompilePattern=yes
11236 echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.$ac_ext >&5
11239 ac_cv_lib_xslt_xsltCompilePattern=no
11242 rm -f core conftest.err conftest.$ac_objext \
11243 conftest$ac_exeext conftest.$ac_ext
11244 LIBS=$ac_check_lib_save_LIBS
11246 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11247 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11248 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11250 cat >>confdefs.h <<\_ACEOF
11251 #define HAVE_LIBXSLT 1
11254 XSLTLIBS="$ac_xslt_libs"
11255 XSLTINCL="$ac_xslt_cflags"
11263 CPPFLAGS="$ac_save_CPPFLAGS"
11268 if test "$PKG_CONFIG" != "false"
11270 ac_save_CPPFLAGS="$CPPFLAGS"
11271 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
11272 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
11273 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11276 for ac_header in dbus/dbus.h hal/libhal.h
11278 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11279 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11280 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11285 ac_res=`eval echo '${'$as_ac_Header'}'`
11286 { echo "$as_me:$LINENO: result: $ac_res" >&5
11287 echo "${ECHO_T}$ac_res" >&6; }
11289 # Is the header compilable?
11290 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11291 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11292 cat >conftest.$ac_ext <<_ACEOF
11295 cat confdefs.h >>conftest.$ac_ext
11296 cat >>conftest.$ac_ext <<_ACEOF
11297 /* end confdefs.h. */
11298 $ac_includes_default
11299 #include <$ac_header>
11301 rm -f conftest.$ac_objext
11302 if { (ac_try="$ac_compile"
11303 case "(($ac_try" in
11304 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11305 *) ac_try_echo
=$ac_try;;
11307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11308 (eval "$ac_compile") 2>conftest.er1
11310 grep -v '^ *+' conftest.er1
>conftest.err
11312 cat conftest.err
>&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); } &&
11315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11316 { (case "(($ac_try" in
11317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11318 *) ac_try_echo=$ac_try;;
11320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11321 (eval "$ac_try") 2>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); }; } &&
11325 { ac_try='test -s conftest.$ac_objext'
11326 { (case "(($ac_try" in
11327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11328 *) ac_try_echo
=$ac_try;;
11330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11331 (eval "$ac_try") 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; }; then
11335 ac_header_compiler
=yes
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.
$ac_ext >&5
11340 ac_header_compiler
=no
11343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11344 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11345 echo "${ECHO_T}$ac_header_compiler" >&6; }
11347 # Is the header present?
11348 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11350 cat >conftest.
$ac_ext <<_ACEOF
11353 cat confdefs.h
>>conftest.
$ac_ext
11354 cat >>conftest.
$ac_ext <<_ACEOF
11355 /* end confdefs.h. */
11356 #include <$ac_header>
11358 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11359 case "(($ac_try" in
11360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11361 *) ac_try_echo=$ac_try;;
11363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11366 grep -v '^ *+' conftest.er1 >conftest.err
11368 cat conftest.err >&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); } >/dev/null; then
11371 if test -s conftest.err; then
11372 ac_cpp_err=$ac_c_preproc_warn_flag
11373 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11380 if test -z "$ac_cpp_err"; then
11381 ac_header_preproc=yes
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.$ac_ext >&5
11386 ac_header_preproc=no
11389 rm -f conftest.err conftest.$ac_ext
11390 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11391 echo "${ECHO_T}$ac_header_preproc" >&6; }
11393 # So? What about this header?
11394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11400 ac_header_preproc=yes
11403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11416 ## ------------------------------------ ##
11417 ## Report this to wine-devel@winehq.org ##
11418 ## ------------------------------------ ##
11420 ) | sed "s/^/$as_me: WARNING: /" >&2
11423 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 eval "$as_ac_Header=\$ac_header_preproc"
11430 ac_res=`eval echo '${'$as_ac_Header'}'`
11431 { echo "$as_me:$LINENO: result: $ac_res" >&5
11432 echo "${ECHO_T}$ac_res" >&6; }
11435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11436 cat >>confdefs.h <<_ACEOF
11437 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11444 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11446 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
11447 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
11448 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
11449 echo $ECHO_N "(cached) $ECHO_C" >&6
11451 ac_check_lib_save_LIBS=$LIBS
11453 cat >conftest.$ac_ext <<_ACEOF
11456 cat confdefs.h >>conftest.$ac_ext
11457 cat >>conftest.$ac_ext <<_ACEOF
11458 /* end confdefs.h. */
11460 /* Override any GCC internal prototype to avoid an error.
11461 Use char because int might match the return type of a GCC
11462 builtin and then its argument prototype would still apply. */
11466 char libhal_ctx_new ();
11470 return libhal_ctx_new ();
11475 rm -f conftest.$ac_objext conftest$ac_exeext
11476 if { (ac_try="$ac_link"
11477 case "(($ac_try" in
11478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11479 *) ac_try_echo
=$ac_try;;
11481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11482 (eval "$ac_link") 2>conftest.er1
11484 grep -v '^ *+' conftest.er1
>conftest.err
11486 cat conftest.err
>&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); } &&
11489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11490 { (case "(($ac_try" in
11491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11492 *) ac_try_echo=$ac_try;;
11494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11495 (eval "$ac_try") 2>&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); }; } &&
11499 { ac_try='test -s conftest$ac_exeext'
11500 { (case "(($ac_try" in
11501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11502 *) ac_try_echo
=$ac_try;;
11504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11505 (eval "$ac_try") 2>&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; }; then
11509 ac_cv_lib_hal_libhal_ctx_new
=yes
11511 echo "$as_me: failed program was:" >&5
11512 sed 's/^/| /' conftest.
$ac_ext >&5
11514 ac_cv_lib_hal_libhal_ctx_new
=no
11517 rm -f core conftest.err conftest.
$ac_objext \
11518 conftest
$ac_exeext conftest.
$ac_ext
11519 LIBS
=$ac_check_lib_save_LIBS
11521 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
11522 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
11523 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
11524 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11525 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11526 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11527 echo $ECHO_N "(cached) $ECHO_C" >&6
11529 ac_check_lib_save_LIBS
=$LIBS
11530 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
11531 cat >conftest.
$ac_ext <<_ACEOF
11534 cat confdefs.h
>>conftest.
$ac_ext
11535 cat >>conftest.
$ac_ext <<_ACEOF
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11544 char dbus_connection_close ();
11548 return dbus_connection_close ();
11553 rm -f conftest.
$ac_objext conftest
$ac_exeext
11554 if { (ac_try
="$ac_link"
11555 case "(($ac_try" in
11556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11557 *) ac_try_echo=$ac_try;;
11559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11560 (eval "$ac_link") 2>conftest.er1
11562 grep -v '^ *+' conftest.er1 >conftest.err
11564 cat conftest.err >&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } &&
11567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11568 { (case "(($ac_try" in
11569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11570 *) ac_try_echo
=$ac_try;;
11572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11573 (eval "$ac_try") 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; } &&
11577 { ac_try
='test -s conftest$ac_exeext'
11578 { (case "(($ac_try" in
11579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11580 *) ac_try_echo=$ac_try;;
11582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11583 (eval "$ac_try") 2>&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); }; }; then
11587 ac_cv_lib_dbus_1_dbus_connection_close=yes
11589 echo "$as_me: failed program was:" >&5
11590 sed 's/^/| /' conftest.$ac_ext >&5
11592 ac_cv_lib_dbus_1_dbus_connection_close=no
11595 rm -f core conftest.err conftest.$ac_objext \
11596 conftest$ac_exeext conftest.$ac_ext
11597 LIBS=$ac_check_lib_save_LIBS
11599 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11600 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11601 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11603 cat >>confdefs.h <<\_ACEOF
11604 #define HAVE_LIBHAL 1
11607 HALINCL="$ac_hal_cflags"
11613 CPPFLAGS="$ac_save_CPPFLAGS"
11617 if test "x$with_curses" != "xno"
11619 if test "$ac_cv_header_ncurses_h" = "yes"
11621 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11622 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11623 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11624 echo $ECHO_N "(cached) $ECHO_C" >&6
11626 ac_check_lib_save_LIBS=$LIBS
11627 LIBS="-lncurses $LIBS"
11628 cat >conftest.$ac_ext <<_ACEOF
11631 cat confdefs.h >>conftest.$ac_ext
11632 cat >>conftest.$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11635 /* Override any GCC internal prototype to avoid an error.
11636 Use char because int might match the return type of a GCC
11637 builtin and then its argument prototype would still apply. */
11650 rm -f conftest.$ac_objext conftest$ac_exeext
11651 if { (ac_try="$ac_link"
11652 case "(($ac_try" in
11653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11654 *) ac_try_echo
=$ac_try;;
11656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11657 (eval "$ac_link") 2>conftest.er1
11659 grep -v '^ *+' conftest.er1
>conftest.err
11661 cat conftest.err
>&5
11662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663 (exit $ac_status); } &&
11664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11665 { (case "(($ac_try" in
11666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11667 *) ac_try_echo=$ac_try;;
11669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11670 (eval "$ac_try") 2>&5
11672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 (exit $ac_status); }; } &&
11674 { ac_try='test -s conftest$ac_exeext'
11675 { (case "(($ac_try" in
11676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11677 *) ac_try_echo
=$ac_try;;
11679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11680 (eval "$ac_try") 2>&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); }; }; then
11684 ac_cv_lib_ncurses_waddch
=yes
11686 echo "$as_me: failed program was:" >&5
11687 sed 's/^/| /' conftest.
$ac_ext >&5
11689 ac_cv_lib_ncurses_waddch
=no
11692 rm -f core conftest.err conftest.
$ac_objext \
11693 conftest
$ac_exeext conftest.
$ac_ext
11694 LIBS
=$ac_check_lib_save_LIBS
11696 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11697 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11698 if test $ac_cv_lib_ncurses_waddch = yes; then
11700 cat >>confdefs.h
<<\_ACEOF
11701 #define HAVE_LIBNCURSES 1
11704 CURSESLIBS
="-lncurses"
11707 elif test "$ac_cv_header_curses_h" = "yes"
11709 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11710 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11711 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11712 echo $ECHO_N "(cached) $ECHO_C" >&6
11714 ac_check_lib_save_LIBS
=$LIBS
11715 LIBS
="-lcurses $LIBS"
11716 cat >conftest.
$ac_ext <<_ACEOF
11719 cat confdefs.h
>>conftest.
$ac_ext
11720 cat >>conftest.
$ac_ext <<_ACEOF
11721 /* end confdefs.h. */
11723 /* Override any GCC internal prototype to avoid an error.
11724 Use char because int might match the return type of a GCC
11725 builtin and then its argument prototype would still apply. */
11738 rm -f conftest.
$ac_objext conftest
$ac_exeext
11739 if { (ac_try
="$ac_link"
11740 case "(($ac_try" in
11741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11742 *) ac_try_echo=$ac_try;;
11744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11745 (eval "$ac_link") 2>conftest.er1
11747 grep -v '^ *+' conftest.er1 >conftest.err
11749 cat conftest.err >&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); } &&
11752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11753 { (case "(($ac_try" in
11754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11755 *) ac_try_echo
=$ac_try;;
11757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11758 (eval "$ac_try") 2>&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); }; } &&
11762 { ac_try
='test -s conftest$ac_exeext'
11763 { (case "(($ac_try" in
11764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11765 *) ac_try_echo=$ac_try;;
11767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11768 (eval "$ac_try") 2>&5
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); }; }; then
11772 ac_cv_lib_curses_waddch=yes
11774 echo "$as_me: failed program was:" >&5
11775 sed 's/^/| /' conftest.$ac_ext >&5
11777 ac_cv_lib_curses_waddch=no
11780 rm -f core conftest.err conftest.$ac_objext \
11781 conftest$ac_exeext conftest.$ac_ext
11782 LIBS=$ac_check_lib_save_LIBS
11784 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11785 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11786 if test $ac_cv_lib_curses_waddch = yes; then
11788 cat >>confdefs.h <<\_ACEOF
11789 #define HAVE_LIBCURSES 1
11792 CURSESLIBS="-lcurses"
11799 # Extract the first word of "sane-config", so it can be a program name with args.
11800 set dummy sane-config; ac_word=$2
11801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11803 if test "${ac_cv_prog_sane_devel+set}" = set; then
11804 echo $ECHO_N "(cached) $ECHO_C" >&6
11806 if test -n "$sane_devel"; then
11807 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11810 for as_dir in $PATH
11813 test -z "$as_dir" && as_dir=.
11814 for ac_exec_ext in '' $ac_executable_extensions; do
11815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11816 ac_cv_prog_sane_devel="sane-config"
11817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11824 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11827 sane_devel=$ac_cv_prog_sane_devel
11828 if test -n "$sane_devel"; then
11829 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11830 echo "${ECHO_T}$sane_devel" >&6; }
11832 { echo "$as_me:$LINENO: result: no" >&5
11833 echo "${ECHO_T}no" >&6; }
11841 if test "$sane_devel" != "no"
11843 SANELIBS="`$sane_devel --libs`"
11844 SANEINCL="`$sane_devel --cflags`"
11845 ac_save_CPPFLAGS="$CPPFLAGS"
11846 ac_save_LIBS="$LIBS"
11847 CPPFLAGS="$CPPFLAGS $SANEINCL"
11848 LIBS="$LIBS $SANELIBS"
11849 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11850 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11851 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11852 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11853 echo $ECHO_N "(cached) $ECHO_C" >&6
11855 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11856 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11858 # Is the header compilable?
11859 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11860 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11861 cat >conftest.$ac_ext <<_ACEOF
11864 cat confdefs.h >>conftest.$ac_ext
11865 cat >>conftest.$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11867 $ac_includes_default
11868 #include <sane/sane.h>
11870 rm -f conftest.$ac_objext
11871 if { (ac_try="$ac_compile"
11872 case "(($ac_try" in
11873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11874 *) ac_try_echo
=$ac_try;;
11876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11877 (eval "$ac_compile") 2>conftest.er1
11879 grep -v '^ *+' conftest.er1
>conftest.err
11881 cat conftest.err
>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } &&
11884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11885 { (case "(($ac_try" in
11886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11887 *) ac_try_echo=$ac_try;;
11889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11890 (eval "$ac_try") 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try='test -s conftest.$ac_objext'
11895 { (case "(($ac_try" in
11896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11897 *) ac_try_echo
=$ac_try;;
11899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11900 (eval "$ac_try") 2>&5
11902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }; }; then
11904 ac_header_compiler
=yes
11906 echo "$as_me: failed program was:" >&5
11907 sed 's/^/| /' conftest.
$ac_ext >&5
11909 ac_header_compiler
=no
11912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11913 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11914 echo "${ECHO_T}$ac_header_compiler" >&6; }
11916 # Is the header present?
11917 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11918 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11919 cat >conftest.
$ac_ext <<_ACEOF
11922 cat confdefs.h
>>conftest.
$ac_ext
11923 cat >>conftest.
$ac_ext <<_ACEOF
11924 /* end confdefs.h. */
11925 #include <sane/sane.h>
11927 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11928 case "(($ac_try" in
11929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11930 *) ac_try_echo=$ac_try;;
11932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11935 grep -v '^ *+' conftest.er1 >conftest.err
11937 cat conftest.err >&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } >/dev/null; then
11940 if test -s conftest.err; then
11941 ac_cpp_err=$ac_c_preproc_warn_flag
11942 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11949 if test -z "$ac_cpp_err"; then
11950 ac_header_preproc=yes
11952 echo "$as_me: failed program was:" >&5
11953 sed 's/^/| /' conftest.$ac_ext >&5
11955 ac_header_preproc=no
11958 rm -f conftest.err conftest.$ac_ext
11959 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11960 echo "${ECHO_T}$ac_header_preproc" >&6; }
11962 # So? What about this header?
11963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11965 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11966 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11967 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11968 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11969 ac_header_preproc=yes
11972 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11973 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11974 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11975 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11976 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11977 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11978 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11979 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11980 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11981 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11982 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11983 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11985 ## ------------------------------------ ##
11986 ## Report this to wine-devel@winehq.org ##
11987 ## ------------------------------------ ##
11989 ) | sed "s/^/$as_me: WARNING: /" >&2
11992 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11993 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11994 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 ac_cv_header_sane_sane_h=$ac_header_preproc
11999 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12000 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12003 if test $ac_cv_header_sane_sane_h = yes; then
12004 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
12005 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
12006 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
12007 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 ac_check_lib_save_LIBS=$LIBS
12010 LIBS="-lsane $LIBS"
12011 cat >conftest.$ac_ext <<_ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12018 /* Override any GCC internal prototype to avoid an error.
12019 Use char because int might match the return type of a GCC
12020 builtin and then its argument prototype would still apply. */
12028 return sane_open ();
12033 rm -f conftest.$ac_objext conftest$ac_exeext
12034 if { (ac_try="$ac_link"
12035 case "(($ac_try" in
12036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12037 *) ac_try_echo
=$ac_try;;
12039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12040 (eval "$ac_link") 2>conftest.er1
12042 grep -v '^ *+' conftest.er1
>conftest.err
12044 cat conftest.err
>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); } &&
12047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12048 { (case "(($ac_try" in
12049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12050 *) ac_try_echo=$ac_try;;
12052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12053 (eval "$ac_try") 2>&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); }; } &&
12057 { ac_try='test -s conftest$ac_exeext'
12058 { (case "(($ac_try" in
12059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12060 *) ac_try_echo
=$ac_try;;
12062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12063 (eval "$ac_try") 2>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; }; then
12067 ac_cv_lib_sane_sane_open
=yes
12069 echo "$as_me: failed program was:" >&5
12070 sed 's/^/| /' conftest.
$ac_ext >&5
12072 ac_cv_lib_sane_sane_open
=no
12075 rm -f core conftest.err conftest.
$ac_objext \
12076 conftest
$ac_exeext conftest.
$ac_ext
12077 LIBS
=$ac_check_lib_save_LIBS
12079 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
12080 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
12081 if test $ac_cv_lib_sane_sane_open = yes; then
12083 cat >>confdefs.h
<<\_ACEOF
12084 #define HAVE_SANE 1
12098 LIBS
="$ac_save_LIBS"
12099 CPPFLAGS
="$ac_save_CPPFLAGS"
12102 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12103 set dummy gphoto2-config
; ac_word
=$2
12104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12106 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 if test -n "$gphoto2_devel"; then
12110 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12113 for as_dir
in $PATH
12116 test -z "$as_dir" && as_dir
=.
12117 for ac_exec_ext
in '' $ac_executable_extensions; do
12118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12119 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12127 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12130 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12131 if test -n "$gphoto2_devel"; then
12132 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12133 echo "${ECHO_T}$gphoto2_devel" >&6; }
12135 { echo "$as_me:$LINENO: result: no" >&5
12136 echo "${ECHO_T}no" >&6; }
12140 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12141 set dummy gphoto2-port-config
; ac_word
=$2
12142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12144 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12145 echo $ECHO_N "(cached) $ECHO_C" >&6
12147 if test -n "$gphoto2port_devel"; then
12148 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12151 for as_dir
in $PATH
12154 test -z "$as_dir" && as_dir
=.
12155 for ac_exec_ext
in '' $ac_executable_extensions; do
12156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12157 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12165 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12168 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12169 if test -n "$gphoto2port_devel"; then
12170 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12171 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12173 { echo "$as_me:$LINENO: result: no" >&5
12174 echo "${ECHO_T}no" >&6; }
12182 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12184 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12186 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12189 -L/usr
/lib|
-L/usr
/lib64
) ;;
12190 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
12193 ac_save_CPPFLAGS
="$CPPFLAGS"
12194 ac_save_LIBS
="$LIBS"
12195 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
12196 LIBS
="$LIBS $GPHOTO2LIBS"
12197 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12198 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12199 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12200 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12201 echo $ECHO_N "(cached) $ECHO_C" >&6
12203 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12204 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12206 # Is the header compilable?
12207 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12208 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12209 cat >conftest.
$ac_ext <<_ACEOF
12212 cat confdefs.h
>>conftest.
$ac_ext
12213 cat >>conftest.
$ac_ext <<_ACEOF
12214 /* end confdefs.h. */
12215 $ac_includes_default
12216 #include <gphoto2-camera.h>
12218 rm -f conftest.
$ac_objext
12219 if { (ac_try
="$ac_compile"
12220 case "(($ac_try" in
12221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12222 *) ac_try_echo=$ac_try;;
12224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12225 (eval "$ac_compile") 2>conftest.er1
12227 grep -v '^ *+' conftest.er1 >conftest.err
12229 cat conftest.err >&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); } &&
12232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12233 { (case "(($ac_try" in
12234 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12235 *) ac_try_echo
=$ac_try;;
12237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12238 (eval "$ac_try") 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; } &&
12242 { ac_try
='test -s conftest.$ac_objext'
12243 { (case "(($ac_try" in
12244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12245 *) ac_try_echo=$ac_try;;
12247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12248 (eval "$ac_try") 2>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; }; then
12252 ac_header_compiler=yes
12254 echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.$ac_ext >&5
12257 ac_header_compiler=no
12260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12261 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12262 echo "${ECHO_T}$ac_header_compiler" >&6; }
12264 # Is the header present?
12265 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12266 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12267 cat >conftest.$ac_ext <<_ACEOF
12270 cat confdefs.h >>conftest.$ac_ext
12271 cat >>conftest.$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12273 #include <gphoto2-camera.h>
12275 if { (ac_try="$ac_cpp conftest.$ac_ext"
12276 case "(($ac_try" in
12277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12278 *) ac_try_echo
=$ac_try;;
12280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12281 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12283 grep -v '^ *+' conftest.er1
>conftest.err
12285 cat conftest.err
>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); } >/dev
/null
; then
12288 if test -s conftest.err
; then
12289 ac_cpp_err
=$ac_c_preproc_warn_flag
12290 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12297 if test -z "$ac_cpp_err"; then
12298 ac_header_preproc
=yes
12300 echo "$as_me: failed program was:" >&5
12301 sed 's/^/| /' conftest.
$ac_ext >&5
12303 ac_header_preproc
=no
12306 rm -f conftest.err conftest.
$ac_ext
12307 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12308 echo "${ECHO_T}$ac_header_preproc" >&6; }
12310 # So? What about this header?
12311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12313 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12314 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12315 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12316 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12317 ac_header_preproc
=yes
12320 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12321 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12322 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12323 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12324 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12325 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12326 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12327 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12328 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12329 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12330 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12331 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12333 ## ------------------------------------ ##
12334 ## Report this to wine-devel@winehq.org ##
12335 ## ------------------------------------ ##
12337 ) |
sed "s/^/$as_me: WARNING: /" >&2
12340 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12341 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12342 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12345 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12347 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12348 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12351 if test $ac_cv_header_gphoto2_camera_h = yes; then
12352 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12353 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12354 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12355 echo $ECHO_N "(cached) $ECHO_C" >&6
12357 ac_check_lib_save_LIBS
=$LIBS
12358 LIBS
="-lgphoto2 $LIBS"
12359 cat >conftest.
$ac_ext <<_ACEOF
12362 cat confdefs.h
>>conftest.
$ac_ext
12363 cat >>conftest.
$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12366 /* Override any GCC internal prototype to avoid an error.
12367 Use char because int might match the return type of a GCC
12368 builtin and then its argument prototype would still apply. */
12372 char gp_camera_new ();
12376 return gp_camera_new ();
12381 rm -f conftest.
$ac_objext conftest
$ac_exeext
12382 if { (ac_try
="$ac_link"
12383 case "(($ac_try" in
12384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12385 *) ac_try_echo=$ac_try;;
12387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12388 (eval "$ac_link") 2>conftest.er1
12390 grep -v '^ *+' conftest.er1 >conftest.err
12392 cat conftest.err >&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } &&
12395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12396 { (case "(($ac_try" in
12397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12398 *) ac_try_echo
=$ac_try;;
12400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12401 (eval "$ac_try") 2>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); }; } &&
12405 { ac_try
='test -s conftest$ac_exeext'
12406 { (case "(($ac_try" in
12407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12408 *) ac_try_echo=$ac_try;;
12410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12411 (eval "$ac_try") 2>&5
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); }; }; then
12415 ac_cv_lib_gphoto2_gp_camera_new=yes
12417 echo "$as_me: failed program was:" >&5
12418 sed 's/^/| /' conftest.$ac_ext >&5
12420 ac_cv_lib_gphoto2_gp_camera_new=no
12423 rm -f core conftest.err conftest.$ac_objext \
12424 conftest$ac_exeext conftest.$ac_ext
12425 LIBS=$ac_check_lib_save_LIBS
12427 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12428 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12429 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12431 cat >>confdefs.h <<\_ACEOF
12432 #define HAVE_GPHOTO2 1
12446 LIBS="$ac_save_LIBS"
12447 CPPFLAGS="$ac_save_CPPFLAGS"
12450 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12453 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
12455 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
12456 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
12457 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
12458 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
12459 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12460 cat >conftest.$ac_ext <<_ACEOF
12463 cat confdefs.h >>conftest.$ac_ext
12464 cat >>conftest.$ac_ext <<_ACEOF
12465 /* end confdefs.h. */
12466 #include <unicode/ubidi.h>
12475 rm -f conftest.$ac_objext conftest$ac_exeext
12476 if { (ac_try="$ac_link"
12477 case "(($ac_try" in
12478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12479 *) ac_try_echo
=$ac_try;;
12481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12482 (eval "$ac_link") 2>conftest.er1
12484 grep -v '^ *+' conftest.er1
>conftest.err
12486 cat conftest.err
>&5
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); } &&
12489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12490 { (case "(($ac_try" in
12491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12492 *) ac_try_echo=$ac_try;;
12494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12495 (eval "$ac_try") 2>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }; } &&
12499 { ac_try='test -s conftest$ac_exeext'
12500 { (case "(($ac_try" in
12501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12502 *) ac_try_echo
=$ac_try;;
12504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12505 (eval "$ac_try") 2>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; }; then
12510 cat >>confdefs.h
<<\_ACEOF
12514 ICULIBS
="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12516 { echo "$as_me:$LINENO: result: yes" >&5
12517 echo "${ECHO_T}yes" >&6; }
12519 echo "$as_me: failed program was:" >&5
12520 sed 's/^/| /' conftest.
$ac_ext >&5
12522 { echo "$as_me:$LINENO: result: no" >&5
12523 echo "${ECHO_T}no" >&6; }
12526 rm -f core conftest.err conftest.
$ac_objext \
12527 conftest
$ac_exeext conftest.
$ac_ext
12534 if test "$ac_cv_header_resolv_h" = "yes"
12536 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12537 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12538 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12539 echo $ECHO_N "(cached) $ECHO_C" >&6
12541 ac_check_lib_save_LIBS
=$LIBS
12542 LIBS
="-lresolv $LIBS"
12543 cat >conftest.
$ac_ext <<_ACEOF
12546 cat confdefs.h
>>conftest.
$ac_ext
12547 cat >>conftest.
$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12550 /* Override any GCC internal prototype to avoid an error.
12551 Use char because int might match the return type of a GCC
12552 builtin and then its argument prototype would still apply. */
12560 return res_query ();
12565 rm -f conftest.
$ac_objext conftest
$ac_exeext
12566 if { (ac_try
="$ac_link"
12567 case "(($ac_try" in
12568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12569 *) ac_try_echo=$ac_try;;
12571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12572 (eval "$ac_link") 2>conftest.er1
12574 grep -v '^ *+' conftest.er1 >conftest.err
12576 cat conftest.err >&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } &&
12579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12580 { (case "(($ac_try" in
12581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12582 *) ac_try_echo
=$ac_try;;
12584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12585 (eval "$ac_try") 2>&5
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); }; } &&
12589 { ac_try
='test -s conftest$ac_exeext'
12590 { (case "(($ac_try" in
12591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12592 *) ac_try_echo=$ac_try;;
12594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12595 (eval "$ac_try") 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; }; then
12599 ac_cv_lib_resolv_res_query=yes
12601 echo "$as_me: failed program was:" >&5
12602 sed 's/^/| /' conftest.$ac_ext >&5
12604 ac_cv_lib_resolv_res_query=no
12607 rm -f core conftest.err conftest.$ac_objext \
12608 conftest$ac_exeext conftest.$ac_ext
12609 LIBS=$ac_check_lib_save_LIBS
12611 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12612 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12613 if test $ac_cv_lib_resolv_res_query = yes; then
12615 cat >>confdefs.h <<\_ACEOF
12616 #define HAVE_RESOLV 1
12619 RESOLVLIBS="-lresolv"
12626 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12628 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12629 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12630 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 ac_check_lib_save_LIBS=$LIBS
12634 LIBS="-llcms $LIBS"
12635 cat >conftest.$ac_ext <<_ACEOF
12638 cat confdefs.h >>conftest.$ac_ext
12639 cat >>conftest.$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12648 char cmsOpenProfileFromFile ();
12652 return cmsOpenProfileFromFile ();
12657 rm -f conftest.$ac_objext conftest$ac_exeext
12658 if { (ac_try="$ac_link"
12659 case "(($ac_try" in
12660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12661 *) ac_try_echo
=$ac_try;;
12663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12664 (eval "$ac_link") 2>conftest.er1
12666 grep -v '^ *+' conftest.er1
>conftest.err
12668 cat conftest.err
>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); } &&
12671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12672 { (case "(($ac_try" in
12673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12674 *) ac_try_echo=$ac_try;;
12676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12677 (eval "$ac_try") 2>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; } &&
12681 { ac_try='test -s conftest$ac_exeext'
12682 { (case "(($ac_try" in
12683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12684 *) ac_try_echo
=$ac_try;;
12686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12687 (eval "$ac_try") 2>&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; }; then
12691 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
12693 echo "$as_me: failed program was:" >&5
12694 sed 's/^/| /' conftest.
$ac_ext >&5
12696 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
12699 rm -f core conftest.err conftest.
$ac_objext \
12700 conftest
$ac_exeext conftest.
$ac_ext
12701 LIBS
=$ac_check_lib_save_LIBS
12703 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12704 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12705 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12707 cat >>confdefs.h
<<\_ACEOF
12708 #define HAVE_LCMS 1
12718 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12720 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12721 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12722 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12723 echo $ECHO_N "(cached) $ECHO_C" >&6
12725 ac_check_lib_save_LIBS
=$LIBS
12726 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12727 cat >conftest.
$ac_ext <<_ACEOF
12730 cat confdefs.h
>>conftest.
$ac_ext
12731 cat >>conftest.
$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12734 /* Override any GCC internal prototype to avoid an error.
12735 Use char because int might match the return type of a GCC
12736 builtin and then its argument prototype would still apply. */
12740 char ldap_initialize ();
12744 return ldap_initialize ();
12749 rm -f conftest.
$ac_objext conftest
$ac_exeext
12750 if { (ac_try
="$ac_link"
12751 case "(($ac_try" in
12752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12753 *) ac_try_echo=$ac_try;;
12755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12756 (eval "$ac_link") 2>conftest.er1
12758 grep -v '^ *+' conftest.er1 >conftest.err
12760 cat conftest.err >&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (case "(($ac_try" in
12765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12766 *) ac_try_echo
=$ac_try;;
12768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12769 (eval "$ac_try") 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; } &&
12773 { ac_try
='test -s conftest$ac_exeext'
12774 { (case "(($ac_try" in
12775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12776 *) ac_try_echo=$ac_try;;
12778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12779 (eval "$ac_try") 2>&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; }; then
12783 ac_cv_lib_ldap_r_ldap_initialize=yes
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.$ac_ext >&5
12788 ac_cv_lib_ldap_r_ldap_initialize=no
12791 rm -f core conftest.err conftest.$ac_objext \
12792 conftest$ac_exeext conftest.$ac_ext
12793 LIBS=$ac_check_lib_save_LIBS
12795 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12796 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12797 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12798 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12799 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12800 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12801 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 ac_check_lib_save_LIBS=$LIBS
12804 LIBS="-llber $LIBPTHREAD $LIBS"
12805 cat >conftest.$ac_ext <<_ACEOF
12808 cat confdefs.h >>conftest.$ac_ext
12809 cat >>conftest.$ac_ext <<_ACEOF
12810 /* end confdefs.h. */
12812 /* Override any GCC internal prototype to avoid an error.
12813 Use char because int might match the return type of a GCC
12814 builtin and then its argument prototype would still apply. */
12822 return ber_init ();
12827 rm -f conftest.$ac_objext conftest$ac_exeext
12828 if { (ac_try="$ac_link"
12829 case "(($ac_try" in
12830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12831 *) ac_try_echo
=$ac_try;;
12833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12834 (eval "$ac_link") 2>conftest.er1
12836 grep -v '^ *+' conftest.er1
>conftest.err
12838 cat conftest.err
>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } &&
12841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12842 { (case "(($ac_try" in
12843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12844 *) ac_try_echo=$ac_try;;
12846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12847 (eval "$ac_try") 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; } &&
12851 { ac_try='test -s conftest$ac_exeext'
12852 { (case "(($ac_try" in
12853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12854 *) ac_try_echo
=$ac_try;;
12856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12857 (eval "$ac_try") 2>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; }; then
12861 ac_cv_lib_lber_ber_init
=yes
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.
$ac_ext >&5
12866 ac_cv_lib_lber_ber_init
=no
12869 rm -f core conftest.err conftest.
$ac_objext \
12870 conftest
$ac_exeext conftest.
$ac_ext
12871 LIBS
=$ac_check_lib_save_LIBS
12873 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12874 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12875 if test $ac_cv_lib_lber_ber_init = yes; then
12877 cat >>confdefs.h
<<\_ACEOF
12878 #define HAVE_LDAP 1
12881 LDAPLIBS
="-lldap_r -llber"
12886 ac_wine_check_funcs_save_LIBS
="$LIBS"
12887 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12893 ldap_count_references \
12894 ldap_first_reference \
12895 ldap_next_reference \
12896 ldap_parse_reference
12898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12899 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12901 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12904 cat >conftest.
$ac_ext <<_ACEOF
12907 cat confdefs.h
>>conftest.
$ac_ext
12908 cat >>conftest.
$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12912 #define $ac_func innocuous_$ac_func
12914 /* System header to define __stub macros and hopefully few prototypes,
12915 which can conflict with char $ac_func (); below.
12916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12917 <limits.h> exists even on freestanding compilers. */
12920 # include <limits.h>
12922 # include <assert.h>
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12934 /* The GNU C library defines this for functions which it implements
12935 to always fail with ENOSYS. Some functions are actually named
12936 something starting with __ and the normal name is an alias. */
12937 #if defined __stub_$ac_func || defined __stub___$ac_func
12944 return $ac_func ();
12949 rm -f conftest.
$ac_objext conftest
$ac_exeext
12950 if { (ac_try
="$ac_link"
12951 case "(($ac_try" in
12952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12953 *) ac_try_echo=$ac_try;;
12955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12956 (eval "$ac_link") 2>conftest.er1
12958 grep -v '^ *+' conftest.er1 >conftest.err
12960 cat conftest.err >&5
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); } &&
12963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12964 { (case "(($ac_try" in
12965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12966 *) ac_try_echo
=$ac_try;;
12968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12969 (eval "$ac_try") 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; } &&
12973 { ac_try
='test -s conftest$ac_exeext'
12974 { (case "(($ac_try" in
12975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12976 *) ac_try_echo=$ac_try;;
12978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12979 (eval "$ac_try") 2>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; }; then
12983 eval "$as_ac_var=yes"
12985 echo "$as_me: failed program was:" >&5
12986 sed 's/^/| /' conftest.$ac_ext >&5
12988 eval "$as_ac_var=no"
12991 rm -f core conftest.err conftest.$ac_objext \
12992 conftest$ac_exeext conftest.$ac_ext
12994 ac_res=`eval echo '${'$as_ac_var'}'`
12995 { echo "$as_me:$LINENO: result: $ac_res" >&5
12996 echo "${ECHO_T}$ac_res" >&6; }
12997 if test `eval echo '${'$as_ac_var'}'` = yes; then
12998 cat >>confdefs.h <<_ACEOF
12999 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13005 LIBS="$ac_wine_check_funcs_save_LIBS"
13012 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
13013 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
13014 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
13015 echo $ECHO_N "(cached) $ECHO_C" >&6
13017 ac_check_lib_save_LIBS=$LIBS
13018 LIBS="-lfreetype $X_LIBS $LIBS"
13019 cat >conftest.$ac_ext <<_ACEOF
13022 cat confdefs.h >>conftest.$ac_ext
13023 cat >>conftest.$ac_ext <<_ACEOF
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13032 char FT_Init_FreeType ();
13036 return FT_Init_FreeType ();
13041 rm -f conftest.$ac_objext conftest$ac_exeext
13042 if { (ac_try="$ac_link"
13043 case "(($ac_try" in
13044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13045 *) ac_try_echo
=$ac_try;;
13047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13048 (eval "$ac_link") 2>conftest.er1
13050 grep -v '^ *+' conftest.er1
>conftest.err
13052 cat conftest.err
>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } &&
13055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13056 { (case "(($ac_try" in
13057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13058 *) ac_try_echo=$ac_try;;
13060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13061 (eval "$ac_try") 2>&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); }; } &&
13065 { ac_try='test -s conftest$ac_exeext'
13066 { (case "(($ac_try" in
13067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13068 *) ac_try_echo
=$ac_try;;
13070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13071 (eval "$ac_try") 2>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; }; then
13075 ac_cv_lib_freetype_FT_Init_FreeType
=yes
13077 echo "$as_me: failed program was:" >&5
13078 sed 's/^/| /' conftest.
$ac_ext >&5
13080 ac_cv_lib_freetype_FT_Init_FreeType
=no
13083 rm -f core conftest.err conftest.
$ac_objext \
13084 conftest
$ac_exeext conftest.
$ac_ext
13085 LIBS
=$ac_check_lib_save_LIBS
13087 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
13088 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
13089 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
13095 if test "$ft_lib" = "no"
13097 wine_cv_msg_freetype
=no
13099 # Extract the first word of "freetype-config", so it can be a program name with args.
13100 set dummy freetype-config
; ac_word
=$2
13101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13103 if test "${ac_cv_prog_ft_devel+set}" = set; then
13104 echo $ECHO_N "(cached) $ECHO_C" >&6
13106 if test -n "$ft_devel"; then
13107 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13110 for as_dir
in $PATH
13113 test -z "$as_dir" && as_dir
=.
13114 for ac_exec_ext
in '' $ac_executable_extensions; do
13115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13116 ac_cv_prog_ft_devel
="freetype-config"
13117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13124 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
13127 ft_devel
=$ac_cv_prog_ft_devel
13128 if test -n "$ft_devel"; then
13129 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13130 echo "${ECHO_T}$ft_devel" >&6; }
13132 { echo "$as_me:$LINENO: result: no" >&5
13133 echo "${ECHO_T}no" >&6; }
13137 if test "$ft_devel" = "no"
13139 # Extract the first word of "freetype2-config", so it can be a program name with args.
13140 set dummy freetype2-config
; ac_word
=$2
13141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13143 if test "${ac_cv_prog_ft_devel2+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 if test -n "$ft_devel2"; then
13147 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
13149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13150 for as_dir
in $PATH
13153 test -z "$as_dir" && as_dir
=.
13154 for ac_exec_ext
in '' $ac_executable_extensions; do
13155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13156 ac_cv_prog_ft_devel2
="freetype2-config"
13157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13164 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
13167 ft_devel2
=$ac_cv_prog_ft_devel2
13168 if test -n "$ft_devel2"; then
13169 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
13170 echo "${ECHO_T}$ft_devel2" >&6; }
13172 { echo "$as_me:$LINENO: result: no" >&5
13173 echo "${ECHO_T}no" >&6; }
13177 if test "$ft_devel2" = "freetype2-config"
13179 ft_devel
=$ft_devel2
13182 if test "$ft_devel" = "no"
13184 wine_cv_msg_freetype
=yes
13186 FREETYPELIBS
=`$ft_devel --libs`
13187 FREETYPEINCL
=`$ft_devel --cflags`
13188 ac_save_CPPFLAGS
="$CPPFLAGS"
13189 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
13201 for ac_header
in ft2build.h \
13202 freetype
/freetype.h \
13203 freetype
/ftglyph.h \
13204 freetype
/tttables.h \
13205 freetype
/ftnames.h \
13206 freetype
/ftsnames.h \
13207 freetype
/ttnameid.h \
13208 freetype
/ftoutln.h \
13209 freetype
/ftwinfnt.h \
13210 freetype
/ftmodapi.h \
13211 freetype
/internal
/sfnt.h
13213 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13214 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13216 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13217 echo $ECHO_N "(cached) $ECHO_C" >&6
13219 cat >conftest.
$ac_ext <<_ACEOF
13222 cat confdefs.h
>>conftest.
$ac_ext
13223 cat >>conftest.
$ac_ext <<_ACEOF
13224 /* end confdefs.h. */
13225 #if HAVE_FT2BUILD_H
13226 #include <ft2build.h>
13229 #include <$ac_header>
13231 rm -f conftest.
$ac_objext
13232 if { (ac_try
="$ac_compile"
13233 case "(($ac_try" in
13234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13235 *) ac_try_echo=$ac_try;;
13237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13238 (eval "$ac_compile") 2>conftest.er1
13240 grep -v '^ *+' conftest.er1 >conftest.err
13242 cat conftest.err >&5
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); } &&
13245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13246 { (case "(($ac_try" in
13247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13248 *) ac_try_echo
=$ac_try;;
13250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13251 (eval "$ac_try") 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try
='test -s conftest.$ac_objext'
13256 { (case "(($ac_try" in
13257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13258 *) ac_try_echo=$ac_try;;
13260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13261 (eval "$ac_try") 2>&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }; }; then
13265 eval "$as_ac_Header=yes"
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.$ac_ext >&5
13270 eval "$as_ac_Header=no"
13273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13275 ac_res=`eval echo '${'$as_ac_Header'}'`
13276 { echo "$as_me:$LINENO: result: $ac_res" >&5
13277 echo "${ECHO_T}$ac_res" >&6; }
13278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13279 cat >>confdefs.h <<_ACEOF
13280 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13287 cat >conftest.$ac_ext <<_ACEOF
13290 cat confdefs.h >>conftest.$ac_ext
13291 cat >>conftest.$ac_ext <<_ACEOF
13292 /* end confdefs.h. */
13293 #include <ft2build.h>
13294 #include <freetype/fttrigon.h>
13296 if { (ac_try="$ac_cpp conftest.$ac_ext"
13297 case "(($ac_try" in
13298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13299 *) ac_try_echo
=$ac_try;;
13301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13304 grep -v '^ *+' conftest.er1
>conftest.err
13306 cat conftest.err
>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } >/dev
/null
; then
13309 if test -s conftest.err
; then
13310 ac_cpp_err
=$ac_c_preproc_warn_flag
13311 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13318 if test -z "$ac_cpp_err"; then
13320 cat >>confdefs.h
<<\_ACEOF
13321 #define HAVE_FREETYPE_FTTRIGON_H 1
13324 wine_cv_fttrigon
=yes
13326 echo "$as_me: failed program was:" >&5
13327 sed 's/^/| /' conftest.
$ac_ext >&5
13329 wine_cv_fttrigon
=no
13332 rm -f conftest.err conftest.
$ac_ext
13333 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13334 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13335 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 cat >conftest.
$ac_ext <<_ACEOF
13341 cat confdefs.h
>>conftest.
$ac_ext
13342 cat >>conftest.
$ac_ext <<_ACEOF
13343 /* end confdefs.h. */
13344 #include <freetype/ftmodapi.h>
13346 typedef FT_TrueTypeEngineType ac__type_new_;
13350 if ((ac__type_new_ *) 0)
13352 if (sizeof (ac__type_new_))
13358 rm -f conftest.
$ac_objext
13359 if { (ac_try
="$ac_compile"
13360 case "(($ac_try" in
13361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13362 *) ac_try_echo=$ac_try;;
13364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13365 (eval "$ac_compile") 2>conftest.er1
13367 grep -v '^ *+' conftest.er1 >conftest.err
13369 cat conftest.err >&5
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); } &&
13372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13373 { (case "(($ac_try" in
13374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13375 *) ac_try_echo
=$ac_try;;
13377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13378 (eval "$ac_try") 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; } &&
13382 { ac_try
='test -s conftest.$ac_objext'
13383 { (case "(($ac_try" in
13384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13385 *) ac_try_echo=$ac_try;;
13387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13388 (eval "$ac_try") 2>&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); }; }; then
13392 ac_cv_type_FT_TrueTypeEngineType=yes
13394 echo "$as_me: failed program was:" >&5
13395 sed 's/^/| /' conftest.$ac_ext >&5
13397 ac_cv_type_FT_TrueTypeEngineType=no
13400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13402 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13403 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13404 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13406 cat >>confdefs.h <<_ACEOF
13407 #define HAVE_FT_TRUETYPEENGINETYPE 1
13413 ac_save_CFLAGS="$CFLAGS"
13414 CFLAGS="$CFLAGS $FREETYPELIBS"
13416 for ac_func in FT_Load_Sfnt_Table
13418 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13419 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13421 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 cat >conftest.$ac_ext <<_ACEOF
13427 cat confdefs.h >>conftest.$ac_ext
13428 cat >>conftest.$ac_ext <<_ACEOF
13429 /* end confdefs.h. */
13430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13432 #define $ac_func innocuous_$ac_func
13434 /* System header to define __stub macros and hopefully few prototypes,
13435 which can conflict with char $ac_func (); below.
13436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13437 <limits.h> exists even on freestanding compilers. */
13440 # include <limits.h>
13442 # include <assert.h>
13447 /* Override any GCC internal prototype to avoid an error.
13448 Use char because int might match the return type of a GCC
13449 builtin and then its argument prototype would still apply. */
13454 /* The GNU C library defines this for functions which it implements
13455 to always fail with ENOSYS. Some functions are actually named
13456 something starting with __ and the normal name is an alias. */
13457 #if defined __stub_$ac_func || defined __stub___$ac_func
13464 return $ac_func ();
13469 rm -f conftest.$ac_objext conftest$ac_exeext
13470 if { (ac_try="$ac_link"
13471 case "(($ac_try" in
13472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13473 *) ac_try_echo
=$ac_try;;
13475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13476 (eval "$ac_link") 2>conftest.er1
13478 grep -v '^ *+' conftest.er1
>conftest.err
13480 cat conftest.err
>&5
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482 (exit $ac_status); } &&
13483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13484 { (case "(($ac_try" in
13485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13486 *) ac_try_echo=$ac_try;;
13488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13489 (eval "$ac_try") 2>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; } &&
13493 { ac_try='test -s conftest$ac_exeext'
13494 { (case "(($ac_try" in
13495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13496 *) ac_try_echo
=$ac_try;;
13498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13499 (eval "$ac_try") 2>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); }; }; then
13503 eval "$as_ac_var=yes"
13505 echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.
$ac_ext >&5
13508 eval "$as_ac_var=no"
13511 rm -f core conftest.err conftest.
$ac_objext \
13512 conftest
$ac_exeext conftest.
$ac_ext
13514 ac_res
=`eval echo '${'$as_ac_var'}'`
13515 { echo "$as_me:$LINENO: result: $ac_res" >&5
13516 echo "${ECHO_T}$ac_res" >&6; }
13517 if test `eval echo '${'$as_ac_var'}'` = yes; then
13518 cat >>confdefs.h
<<_ACEOF
13519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13525 CFLAGS
="$ac_save_CFLAGS"
13526 CPPFLAGS
="$ac_save_CPPFLAGS"
13527 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13530 cat >>confdefs.h
<<\_ACEOF
13531 #define HAVE_FREETYPE 1
13534 wine_cv_msg_freetype
=no
13538 wine_cv_msg_freetype
=yes
13543 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13545 FONTSSUBDIRS
="fonts"
13549 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13550 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13551 if test "${ac_cv_c_ppdev+set}" = set; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 cat >conftest.
$ac_ext <<_ACEOF
13557 cat confdefs.h
>>conftest.
$ac_ext
13558 cat >>conftest.
$ac_ext <<_ACEOF
13559 /* end confdefs.h. */
13560 #include <linux/ppdev.h>
13564 ioctl (1,PPCLAIM,0)
13569 rm -f conftest.
$ac_objext
13570 if { (ac_try
="$ac_compile"
13571 case "(($ac_try" in
13572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13573 *) ac_try_echo=$ac_try;;
13575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13576 (eval "$ac_compile") 2>conftest.er1
13578 grep -v '^ *+' conftest.er1 >conftest.err
13580 cat conftest.err >&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); } &&
13583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13584 { (case "(($ac_try" in
13585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13586 *) ac_try_echo
=$ac_try;;
13588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13589 (eval "$ac_try") 2>&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); }; } &&
13593 { ac_try
='test -s conftest.$ac_objext'
13594 { (case "(($ac_try" in
13595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13596 *) ac_try_echo=$ac_try;;
13598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13599 (eval "$ac_try") 2>&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; }; then
13603 ac_cv_c_ppdev="yes"
13605 echo "$as_me: failed program was:" >&5
13606 sed 's/^/| /' conftest.$ac_ext >&5
13611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13614 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13615 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13616 if test "$ac_cv_c_ppdev" = "yes"
13619 cat >>confdefs.h <<\_ACEOF
13620 #define HAVE_PPDEV 1
13625 { echo "$as_me:$LINENO: checking for va_copy" >&5
13626 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13627 if test "${ac_cv_c_va_copy+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13630 cat >conftest.$ac_ext <<_ACEOF
13633 cat confdefs.h >>conftest.$ac_ext
13634 cat >>conftest.$ac_ext <<_ACEOF
13635 /* end confdefs.h. */
13636 #include <stdarg.h>
13647 rm -f conftest.$ac_objext conftest$ac_exeext
13648 if { (ac_try="$ac_link"
13649 case "(($ac_try" in
13650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13651 *) ac_try_echo
=$ac_try;;
13653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13654 (eval "$ac_link") 2>conftest.er1
13656 grep -v '^ *+' conftest.er1
>conftest.err
13658 cat conftest.err
>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } &&
13661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13662 { (case "(($ac_try" in
13663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13664 *) ac_try_echo=$ac_try;;
13666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13667 (eval "$ac_try") 2>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; } &&
13671 { ac_try='test -s conftest$ac_exeext'
13672 { (case "(($ac_try" in
13673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13674 *) ac_try_echo
=$ac_try;;
13676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13677 (eval "$ac_try") 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; }; then
13681 ac_cv_c_va_copy
="yes"
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.
$ac_ext >&5
13686 ac_cv_c_va_copy
="no"
13689 rm -f core conftest.err conftest.
$ac_objext \
13690 conftest
$ac_exeext conftest.
$ac_ext
13693 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13694 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13695 if test "$ac_cv_c_va_copy" = "yes"
13698 cat >>confdefs.h
<<\_ACEOF
13699 #define HAVE_VA_COPY 1
13703 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13704 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13705 if test "${ac_cv_c___va_copy+set}" = set; then
13706 echo $ECHO_N "(cached) $ECHO_C" >&6
13708 cat >conftest.
$ac_ext <<_ACEOF
13711 cat confdefs.h
>>conftest.
$ac_ext
13712 cat >>conftest.
$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13714 #include <stdarg.h>
13719 __va_copy(ap1,ap2);
13725 rm -f conftest.
$ac_objext conftest
$ac_exeext
13726 if { (ac_try
="$ac_link"
13727 case "(($ac_try" in
13728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13729 *) ac_try_echo=$ac_try;;
13731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13732 (eval "$ac_link") 2>conftest.er1
13734 grep -v '^ *+' conftest.er1 >conftest.err
13736 cat conftest.err >&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } &&
13739 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13740 { (case "(($ac_try" in
13741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13742 *) ac_try_echo
=$ac_try;;
13744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13745 (eval "$ac_try") 2>&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); }; } &&
13749 { ac_try
='test -s conftest$ac_exeext'
13750 { (case "(($ac_try" in
13751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13752 *) ac_try_echo=$ac_try;;
13754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13755 (eval "$ac_try") 2>&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); }; }; then
13759 ac_cv_c___va_copy="yes"
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.$ac_ext >&5
13764 ac_cv_c___va_copy="no"
13767 rm -f core conftest.err conftest.$ac_objext \
13768 conftest$ac_exeext conftest.$ac_ext
13771 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13772 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13773 if test "$ac_cv_c___va_copy" = "yes"
13776 cat >>confdefs.h <<\_ACEOF
13777 #define HAVE___VA_COPY 1
13782 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13783 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13784 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13787 cat >conftest.$ac_ext <<_ACEOF
13790 cat confdefs.h >>conftest.$ac_ext
13791 cat >>conftest.$ac_ext <<_ACEOF
13792 /* end confdefs.h. */
13793 #include <setjmp.h>
13798 sigsetjmp( buf, 1 );
13799 siglongjmp( buf, 1 );
13804 rm -f conftest.$ac_objext conftest$ac_exeext
13805 if { (ac_try="$ac_link"
13806 case "(($ac_try" in
13807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13808 *) ac_try_echo
=$ac_try;;
13810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13811 (eval "$ac_link") 2>conftest.er1
13813 grep -v '^ *+' conftest.er1
>conftest.err
13815 cat conftest.err
>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); } &&
13818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13819 { (case "(($ac_try" in
13820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13821 *) ac_try_echo=$ac_try;;
13823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13824 (eval "$ac_try") 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; } &&
13828 { ac_try='test -s conftest$ac_exeext'
13829 { (case "(($ac_try" in
13830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13831 *) ac_try_echo
=$ac_try;;
13833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13834 (eval "$ac_try") 2>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); }; }; then
13838 ac_cv_c_sigsetjmp
="yes"
13840 echo "$as_me: failed program was:" >&5
13841 sed 's/^/| /' conftest.
$ac_ext >&5
13843 ac_cv_c_sigsetjmp
="no"
13846 rm -f core conftest.err conftest.
$ac_objext \
13847 conftest
$ac_exeext conftest.
$ac_ext
13850 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13851 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13852 if test "$ac_cv_c_sigsetjmp" = "yes"
13855 cat >>confdefs.h
<<\_ACEOF
13856 #define HAVE_SIGSETJMP 1
13861 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13862 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13863 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13866 cat >conftest.
$ac_ext <<_ACEOF
13869 cat confdefs.h
>>conftest.
$ac_ext
13870 cat >>conftest.
$ac_ext <<_ACEOF
13871 /* end confdefs.h. */
13872 #define _GNU_SOURCE
13873 #include <pthread.h>
13875 typedef pthread_rwlock_t ac__type_new_;
13879 if ((ac__type_new_ *) 0)
13881 if (sizeof (ac__type_new_))
13887 rm -f conftest.
$ac_objext
13888 if { (ac_try
="$ac_compile"
13889 case "(($ac_try" in
13890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13891 *) ac_try_echo=$ac_try;;
13893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13894 (eval "$ac_compile") 2>conftest.er1
13896 grep -v '^ *+' conftest.er1 >conftest.err
13898 cat conftest.err >&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); } &&
13901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13902 { (case "(($ac_try" in
13903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13904 *) ac_try_echo
=$ac_try;;
13906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13907 (eval "$ac_try") 2>&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); }; } &&
13911 { ac_try
='test -s conftest.$ac_objext'
13912 { (case "(($ac_try" in
13913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13914 *) ac_try_echo=$ac_try;;
13916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13917 (eval "$ac_try") 2>&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); }; }; then
13921 ac_cv_type_pthread_rwlock_t=yes
13923 echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.$ac_ext >&5
13926 ac_cv_type_pthread_rwlock_t=no
13929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13931 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13932 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13933 if test $ac_cv_type_pthread_rwlock_t = yes; then
13935 cat >>confdefs.h <<_ACEOF
13936 #define HAVE_PTHREAD_RWLOCK_T 1
13941 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13942 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13943 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13944 echo $ECHO_N "(cached) $ECHO_C" >&6
13946 cat >conftest.$ac_ext <<_ACEOF
13949 cat confdefs.h >>conftest.$ac_ext
13950 cat >>conftest.$ac_ext <<_ACEOF
13951 /* end confdefs.h. */
13952 #define _GNU_SOURCE
13953 #include <pthread.h>
13955 typedef pthread_rwlockattr_t ac__type_new_;
13959 if ((ac__type_new_ *) 0)
13961 if (sizeof (ac__type_new_))
13967 rm -f conftest.$ac_objext
13968 if { (ac_try="$ac_compile"
13969 case "(($ac_try" in
13970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13971 *) ac_try_echo
=$ac_try;;
13973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13974 (eval "$ac_compile") 2>conftest.er1
13976 grep -v '^ *+' conftest.er1
>conftest.err
13978 cat conftest.err
>&5
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); } &&
13981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13982 { (case "(($ac_try" in
13983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13984 *) ac_try_echo=$ac_try;;
13986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13987 (eval "$ac_try") 2>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; } &&
13991 { ac_try='test -s conftest.$ac_objext'
13992 { (case "(($ac_try" in
13993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13994 *) ac_try_echo
=$ac_try;;
13996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13997 (eval "$ac_try") 2>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; }; then
14001 ac_cv_type_pthread_rwlockattr_t
=yes
14003 echo "$as_me: failed program was:" >&5
14004 sed 's/^/| /' conftest.
$ac_ext >&5
14006 ac_cv_type_pthread_rwlockattr_t
=no
14009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14011 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14012 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14013 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14015 cat >>confdefs.h
<<_ACEOF
14016 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14023 ac_wine_check_funcs_save_LIBS
="$LIBS"
14024 LIBS
="$LIBS $LIBPTHREAD"
14029 pthread_getattr_np \
14030 pthread_get_stackaddr_np \
14031 pthread_get_stacksize_np
14033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14034 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14036 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 cat >conftest.
$ac_ext <<_ACEOF
14042 cat confdefs.h
>>conftest.
$ac_ext
14043 cat >>conftest.
$ac_ext <<_ACEOF
14044 /* end confdefs.h. */
14045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14047 #define $ac_func innocuous_$ac_func
14049 /* System header to define __stub macros and hopefully few prototypes,
14050 which can conflict with char $ac_func (); below.
14051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14052 <limits.h> exists even on freestanding compilers. */
14055 # include <limits.h>
14057 # include <assert.h>
14062 /* Override any GCC internal prototype to avoid an error.
14063 Use char because int might match the return type of a GCC
14064 builtin and then its argument prototype would still apply. */
14069 /* The GNU C library defines this for functions which it implements
14070 to always fail with ENOSYS. Some functions are actually named
14071 something starting with __ and the normal name is an alias. */
14072 #if defined __stub_$ac_func || defined __stub___$ac_func
14079 return $ac_func ();
14084 rm -f conftest.
$ac_objext conftest
$ac_exeext
14085 if { (ac_try
="$ac_link"
14086 case "(($ac_try" in
14087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14088 *) ac_try_echo=$ac_try;;
14090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14091 (eval "$ac_link") 2>conftest.er1
14093 grep -v '^ *+' conftest.er1 >conftest.err
14095 cat conftest.err >&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); } &&
14098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14099 { (case "(($ac_try" in
14100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14101 *) ac_try_echo
=$ac_try;;
14103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14104 (eval "$ac_try") 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; } &&
14108 { ac_try
='test -s conftest$ac_exeext'
14109 { (case "(($ac_try" in
14110 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14111 *) ac_try_echo=$ac_try;;
14113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14114 (eval "$ac_try") 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; }; then
14118 eval "$as_ac_var=yes"
14120 echo "$as_me: failed program was:" >&5
14121 sed 's/^/| /' conftest.$ac_ext >&5
14123 eval "$as_ac_var=no"
14126 rm -f core conftest.err conftest.$ac_objext \
14127 conftest$ac_exeext conftest.$ac_ext
14129 ac_res=`eval echo '${'$as_ac_var'}'`
14130 { echo "$as_me:$LINENO: result: $ac_res" >&5
14131 echo "${ECHO_T}$ac_res" >&6; }
14132 if test `eval echo '${'$as_ac_var'}'` = yes; then
14133 cat >>confdefs.h <<_ACEOF
14134 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
14140 LIBS="$ac_wine_check_funcs_save_LIBS"
14142 # Extract the first word of "artsc-config", so it can be a program name with args.
14143 set dummy artsc-config; ac_word=$2
14144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14146 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 case $ARTSCCONFIG in
14151 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
14154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14155 for as_dir in $PATH
14158 test -z "$as_dir" && as_dir=.
14159 for ac_exec_ext in '' $ac_executable_extensions; do
14160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14161 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
14162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14172 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
14173 if test -n "$ARTSCCONFIG"; then
14174 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
14175 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
14177 { echo "$as_me:$LINENO: result: no" >&5
14178 echo "${ECHO_T}no" >&6; }
14182 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
14185 for i in `$ARTSCCONFIG --cflags`
14188 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
14192 for i in `$ARTSCCONFIG --libs`
14195 -L/usr/lib|-L/usr/lib64) ;;
14196 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
14199 save_CFLAGS="$CFLAGS"
14200 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
14201 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
14202 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
14203 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
14204 echo $ECHO_N "(cached) $ECHO_C" >&6
14206 ac_check_lib_save_LIBS=$LIBS
14207 LIBS="-lartsc $ARTSC_LIBS $LIBS"
14208 cat >conftest.$ac_ext <<_ACEOF
14211 cat confdefs.h >>conftest.$ac_ext
14212 cat >>conftest.$ac_ext <<_ACEOF
14213 /* end confdefs.h. */
14215 /* Override any GCC internal prototype to avoid an error.
14216 Use char because int might match the return type of a GCC
14217 builtin and then its argument prototype would still apply. */
14225 return arts_init ();
14230 rm -f conftest.$ac_objext conftest$ac_exeext
14231 if { (ac_try="$ac_link"
14232 case "(($ac_try" in
14233 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14234 *) ac_try_echo
=$ac_try;;
14236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14237 (eval "$ac_link") 2>conftest.er1
14239 grep -v '^ *+' conftest.er1
>conftest.err
14241 cat conftest.err
>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); } &&
14244 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14245 { (case "(($ac_try" in
14246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14247 *) ac_try_echo=$ac_try;;
14249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14250 (eval "$ac_try") 2>&5
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); }; } &&
14254 { ac_try='test -s conftest$ac_exeext'
14255 { (case "(($ac_try" in
14256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14257 *) ac_try_echo
=$ac_try;;
14259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14260 (eval "$ac_try") 2>&5
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }; }; then
14264 ac_cv_lib_artsc_arts_init
=yes
14266 echo "$as_me: failed program was:" >&5
14267 sed 's/^/| /' conftest.
$ac_ext >&5
14269 ac_cv_lib_artsc_arts_init
=no
14272 rm -f core conftest.err conftest.
$ac_objext \
14273 conftest
$ac_exeext conftest.
$ac_ext
14274 LIBS
=$ac_check_lib_save_LIBS
14276 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
14277 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
14278 if test $ac_cv_lib_artsc_arts_init = yes; then
14279 cat >conftest.
$ac_ext <<_ACEOF
14282 cat confdefs.h
>>conftest.
$ac_ext
14283 cat >>conftest.
$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14289 arts_stream_t stream;
14294 rm -f conftest.
$ac_objext
14295 if { (ac_try
="$ac_compile"
14296 case "(($ac_try" in
14297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14298 *) ac_try_echo=$ac_try;;
14300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14301 (eval "$ac_compile") 2>conftest.er1
14303 grep -v '^ *+' conftest.er1 >conftest.err
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } &&
14308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14309 { (case "(($ac_try" in
14310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14311 *) ac_try_echo
=$ac_try;;
14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14314 (eval "$ac_try") 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; } &&
14318 { ac_try
='test -s conftest.$ac_objext'
14319 { (case "(($ac_try" in
14320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14321 *) ac_try_echo=$ac_try;;
14323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14324 (eval "$ac_try") 2>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }; }; then
14328 ARTSLIBS=$ARTSC_LIBS
14330 ARTSINCL=$ARTSC_CFLAGS
14333 cat >>confdefs.h <<\_ACEOF
14334 #define HAVE_ARTS 1
14338 echo "$as_me: failed program was:" >&5
14339 sed 's/^/| /' conftest.$ac_ext >&5
14344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14347 CFLAGS="$save_CFLAGS"
14350 # Extract the first word of "esd-config", so it can be a program name with args.
14351 set dummy esd-config; ac_word=$2
14352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14354 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14359 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14363 for as_dir in $PATH
14366 test -z "$as_dir" && as_dir=.
14367 for ac_exec_ext in '' $ac_executable_extensions; do
14368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14369 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14380 ESDCONFIG=$ac_cv_path_ESDCONFIG
14381 if test -n "$ESDCONFIG"; then
14382 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14383 echo "${ECHO_T}$ESDCONFIG" >&6; }
14385 { echo "$as_me:$LINENO: result: no" >&5
14386 echo "${ECHO_T}no" >&6; }
14390 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
14393 for i in `$ESDCONFIG --cflags`
14396 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14399 ESD_LIBS=`$ESDCONFIG --libs`
14400 save_CFLAGS="$CFLAGS"
14401 CFLAGS="$CFLAGS $ESD_CFLAGS"
14402 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14403 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14404 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14405 echo $ECHO_N "(cached) $ECHO_C" >&6
14407 ac_check_lib_save_LIBS=$LIBS
14409 cat >conftest.$ac_ext <<_ACEOF
14412 cat confdefs.h >>conftest.$ac_ext
14413 cat >>conftest.$ac_ext <<_ACEOF
14414 /* end confdefs.h. */
14416 /* Override any GCC internal prototype to avoid an error.
14417 Use char because int might match the return type of a GCC
14418 builtin and then its argument prototype would still apply. */
14422 char esd_open_sound ();
14426 return esd_open_sound ();
14431 rm -f conftest.$ac_objext conftest$ac_exeext
14432 if { (ac_try="$ac_link"
14433 case "(($ac_try" in
14434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14435 *) ac_try_echo
=$ac_try;;
14437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14438 (eval "$ac_link") 2>conftest.er1
14440 grep -v '^ *+' conftest.er1
>conftest.err
14442 cat conftest.err
>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); } &&
14445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14446 { (case "(($ac_try" in
14447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14448 *) ac_try_echo=$ac_try;;
14450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14451 (eval "$ac_try") 2>&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; } &&
14455 { ac_try='test -s conftest$ac_exeext'
14456 { (case "(($ac_try" in
14457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14458 *) ac_try_echo
=$ac_try;;
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_try") 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; }; then
14465 ac_cv_lib_esd_esd_open_sound
=yes
14467 echo "$as_me: failed program was:" >&5
14468 sed 's/^/| /' conftest.
$ac_ext >&5
14470 ac_cv_lib_esd_esd_open_sound
=no
14473 rm -f core conftest.err conftest.
$ac_objext \
14474 conftest
$ac_exeext conftest.
$ac_ext
14475 LIBS
=$ac_check_lib_save_LIBS
14477 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14478 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14479 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14482 ESDINCL
=$ESD_CFLAGS
14485 cat >>confdefs.h
<<\_ACEOF
14491 CFLAGS
="$save_CFLAGS"
14496 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14498 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14499 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14500 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14501 echo $ECHO_N "(cached) $ECHO_C" >&6
14503 ac_check_lib_save_LIBS
=$LIBS
14504 LIBS
="-lasound $LIBS"
14505 cat >conftest.
$ac_ext <<_ACEOF
14508 cat confdefs.h
>>conftest.
$ac_ext
14509 cat >>conftest.
$ac_ext <<_ACEOF
14510 /* end confdefs.h. */
14512 /* Override any GCC internal prototype to avoid an error.
14513 Use char because int might match the return type of a GCC
14514 builtin and then its argument prototype would still apply. */
14518 char snd_pcm_hw_params_get_access ();
14522 return snd_pcm_hw_params_get_access ();
14527 rm -f conftest.
$ac_objext conftest
$ac_exeext
14528 if { (ac_try
="$ac_link"
14529 case "(($ac_try" in
14530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14531 *) ac_try_echo=$ac_try;;
14533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14534 (eval "$ac_link") 2>conftest.er1
14536 grep -v '^ *+' conftest.er1 >conftest.err
14538 cat conftest.err >&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14542 { (case "(($ac_try" in
14543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14544 *) ac_try_echo
=$ac_try;;
14546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14547 (eval "$ac_try") 2>&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); }; } &&
14551 { ac_try
='test -s conftest$ac_exeext'
14552 { (case "(($ac_try" in
14553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14554 *) ac_try_echo=$ac_try;;
14556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14557 (eval "$ac_try") 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14561 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14566 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 LIBS=$ac_check_lib_save_LIBS
14573 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14574 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14575 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14576 cat >conftest.$ac_ext <<_ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14582 #ifdef HAVE_ALSA_ASOUNDLIB_H
14583 #include <alsa/asoundlib.h>
14584 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14585 #include <sys/asoundlib.h>
14590 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14595 rm -f conftest.$ac_objext
14596 if { (ac_try="$ac_compile"
14597 case "(($ac_try" in
14598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14599 *) ac_try_echo
=$ac_try;;
14601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14602 (eval "$ac_compile") 2>conftest.er1
14604 grep -v '^ *+' conftest.er1
>conftest.err
14606 cat conftest.err
>&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); } &&
14609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14610 { (case "(($ac_try" in
14611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14612 *) ac_try_echo=$ac_try;;
14614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14615 (eval "$ac_try") 2>&5
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); }; } &&
14619 { ac_try='test -s conftest.$ac_objext'
14620 { (case "(($ac_try" in
14621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14622 *) ac_try_echo
=$ac_try;;
14624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14625 (eval "$ac_try") 2>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); }; }; then
14630 cat >>confdefs.h
<<\_ACEOF
14631 #define HAVE_ALSA 1
14634 ALSALIBS
="-lasound"
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.
$ac_ext >&5
14642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14650 if test "$ac_cv_header_libaudioio_h" = "yes"
14652 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14653 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14654 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14655 echo $ECHO_N "(cached) $ECHO_C" >&6
14657 ac_check_lib_save_LIBS
=$LIBS
14658 LIBS
="-laudioio $LIBS"
14659 cat >conftest.
$ac_ext <<_ACEOF
14662 cat confdefs.h
>>conftest.
$ac_ext
14663 cat >>conftest.
$ac_ext <<_ACEOF
14664 /* end confdefs.h. */
14666 /* Override any GCC internal prototype to avoid an error.
14667 Use char because int might match the return type of a GCC
14668 builtin and then its argument prototype would still apply. */
14672 char AudioIOGetVersion ();
14676 return AudioIOGetVersion ();
14681 rm -f conftest.
$ac_objext conftest
$ac_exeext
14682 if { (ac_try
="$ac_link"
14683 case "(($ac_try" in
14684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14685 *) ac_try_echo=$ac_try;;
14687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14688 (eval "$ac_link") 2>conftest.er1
14690 grep -v '^ *+' conftest.er1 >conftest.err
14692 cat conftest.err >&5
14693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); } &&
14695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14696 { (case "(($ac_try" in
14697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14698 *) ac_try_echo
=$ac_try;;
14700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14701 (eval "$ac_try") 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; } &&
14705 { ac_try
='test -s conftest$ac_exeext'
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_try") 2>&5
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); }; }; then
14715 ac_cv_lib_audioio_AudioIOGetVersion=yes
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14720 ac_cv_lib_audioio_AudioIOGetVersion=no
14723 rm -f core conftest.err conftest.$ac_objext \
14724 conftest$ac_exeext conftest.$ac_ext
14725 LIBS=$ac_check_lib_save_LIBS
14727 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14728 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14729 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14730 AUDIOIOLIBS="-laudioio"
14732 cat >>confdefs.h <<\_ACEOF
14733 #define HAVE_LIBAUDIOIO 1
14741 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14743 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14744 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14745 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14746 echo $ECHO_N "(cached) $ECHO_C" >&6
14748 ac_check_lib_save_LIBS=$LIBS
14749 LIBS="-lcapi20 $LIBS"
14750 cat >conftest.$ac_ext <<_ACEOF
14753 cat confdefs.h >>conftest.$ac_ext
14754 cat >>conftest.$ac_ext <<_ACEOF
14755 /* end confdefs.h. */
14757 /* Override any GCC internal prototype to avoid an error.
14758 Use char because int might match the return type of a GCC
14759 builtin and then its argument prototype would still apply. */
14763 char capi20_register ();
14767 return capi20_register ();
14772 rm -f conftest.$ac_objext conftest$ac_exeext
14773 if { (ac_try="$ac_link"
14774 case "(($ac_try" in
14775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14776 *) ac_try_echo
=$ac_try;;
14778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14779 (eval "$ac_link") 2>conftest.er1
14781 grep -v '^ *+' conftest.er1
>conftest.err
14783 cat conftest.err
>&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } &&
14786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14787 { (case "(($ac_try" in
14788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14789 *) ac_try_echo=$ac_try;;
14791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14792 (eval "$ac_try") 2>&5
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); }; } &&
14796 { ac_try='test -s conftest$ac_exeext'
14797 { (case "(($ac_try" in
14798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14799 *) ac_try_echo
=$ac_try;;
14801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14802 (eval "$ac_try") 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; }; then
14806 ac_cv_lib_capi20_capi20_register
=yes
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.
$ac_ext >&5
14811 ac_cv_lib_capi20_capi20_register
=no
14814 rm -f core conftest.err conftest.
$ac_objext \
14815 conftest
$ac_exeext conftest.
$ac_ext
14816 LIBS
=$ac_check_lib_save_LIBS
14818 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14819 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14820 if test $ac_cv_lib_capi20_capi20_register = yes; then
14822 cat >>confdefs.h
<<\_ACEOF
14823 #define HAVE_CAPI4LINUX 1
14833 if test "x${GCC}" = "xyes"
14835 EXTRACFLAGS
="-Wall -pipe"
14837 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14838 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14839 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 if test "$cross_compiling" = yes; then
14843 ac_cv_c_gcc_strength_bug
="yes"
14845 cat >conftest.
$ac_ext <<_ACEOF
14848 cat confdefs.h
>>conftest.
$ac_ext
14849 cat >>conftest.
$ac_ext <<_ACEOF
14850 /* end confdefs.h. */
14852 int L[4] = {0,1,2,3};
14854 static int Array[3];
14855 unsigned int B = 3;
14857 for(i=0; i<B; i++) Array[i] = i - 3;
14858 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14861 exit( Array[1] != -2 || L[2] != 3);
14864 rm -f conftest
$ac_exeext
14865 if { (ac_try
="$ac_link"
14866 case "(($ac_try" in
14867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14868 *) ac_try_echo=$ac_try;;
14870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14871 (eval "$ac_link") 2>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14875 { (case "(($ac_try" in
14876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14877 *) ac_try_echo
=$ac_try;;
14879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14880 (eval "$ac_try") 2>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; }; then
14884 ac_cv_c_gcc_strength_bug
="no"
14886 echo "$as_me: program exited with status $ac_status" >&5
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.
$ac_ext >&5
14890 ( exit $ac_status )
14891 ac_cv_c_gcc_strength_bug
="yes"
14893 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14898 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14899 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14900 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14902 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14905 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14906 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14907 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14908 echo $ECHO_N "(cached) $ECHO_C" >&6
14910 ac_wine_try_cflags_saved
=$CFLAGS
14911 CFLAGS
="$CFLAGS -fshort-wchar"
14912 cat >conftest.
$ac_ext <<_ACEOF
14915 cat confdefs.h
>>conftest.
$ac_ext
14916 cat >>conftest.
$ac_ext <<_ACEOF
14917 /* end confdefs.h. */
14927 rm -f conftest.
$ac_objext conftest
$ac_exeext
14928 if { (ac_try
="$ac_link"
14929 case "(($ac_try" in
14930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14931 *) ac_try_echo=$ac_try;;
14933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14934 (eval "$ac_link") 2>conftest.er1
14936 grep -v '^ *+' conftest.er1 >conftest.err
14938 cat conftest.err >&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } &&
14941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14942 { (case "(($ac_try" in
14943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14944 *) ac_try_echo
=$ac_try;;
14946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14947 (eval "$ac_try") 2>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); }; } &&
14951 { ac_try
='test -s conftest$ac_exeext'
14952 { (case "(($ac_try" in
14953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_try") 2>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; }; then
14961 ac_cv_c_gcc_fshort_wchar="yes"
14963 echo "$as_me: failed program was:" >&5
14964 sed 's/^/| /' conftest.$ac_ext >&5
14966 ac_cv_c_gcc_fshort_wchar="no"
14969 rm -f core conftest.err conftest.$ac_objext \
14970 conftest$ac_exeext conftest.$ac_ext
14971 CFLAGS=$ac_wine_try_cflags_saved
14973 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
14974 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
14975 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
14978 cat >>confdefs.h <<\_ACEOF
14979 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14984 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
14985 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
14986 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
14987 echo $ECHO_N "(cached) $ECHO_C" >&6
14989 ac_wine_try_cflags_saved=$CFLAGS
14990 CFLAGS="$CFLAGS -fno-strict-aliasing"
14991 cat >conftest.$ac_ext <<_ACEOF
14994 cat confdefs.h >>conftest.$ac_ext
14995 cat >>conftest.$ac_ext <<_ACEOF
14996 /* end confdefs.h. */
15006 rm -f conftest.$ac_objext conftest$ac_exeext
15007 if { (ac_try="$ac_link"
15008 case "(($ac_try" in
15009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15010 *) ac_try_echo
=$ac_try;;
15012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15013 (eval "$ac_link") 2>conftest.er1
15015 grep -v '^ *+' conftest.er1
>conftest.err
15017 cat conftest.err
>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); } &&
15020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15021 { (case "(($ac_try" in
15022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_try") 2>&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); }; } &&
15030 { ac_try='test -s conftest$ac_exeext'
15031 { (case "(($ac_try" in
15032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15033 *) ac_try_echo
=$ac_try;;
15035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15036 (eval "$ac_try") 2>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; }; then
15040 ac_cv_c_gcc_no_strict_aliasing
="yes"
15042 echo "$as_me: failed program was:" >&5
15043 sed 's/^/| /' conftest.
$ac_ext >&5
15045 ac_cv_c_gcc_no_strict_aliasing
="no"
15048 rm -f core conftest.err conftest.
$ac_objext \
15049 conftest
$ac_exeext conftest.
$ac_ext
15050 CFLAGS
=$ac_wine_try_cflags_saved
15052 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
15053 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
15054 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
15056 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15059 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
15060 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
15061 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
15062 echo $ECHO_N "(cached) $ECHO_C" >&6
15064 ac_wine_try_cflags_saved
=$CFLAGS
15065 CFLAGS
="$CFLAGS -gstabs+"
15066 cat >conftest.
$ac_ext <<_ACEOF
15069 cat confdefs.h
>>conftest.
$ac_ext
15070 cat >>conftest.
$ac_ext <<_ACEOF
15071 /* end confdefs.h. */
15081 rm -f conftest.
$ac_objext conftest
$ac_exeext
15082 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
15090 grep -v '^ *+' conftest.er1 >conftest.err
15092 cat conftest.err >&5
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); } &&
15095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15096 { (case "(($ac_try" in
15097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15098 *) ac_try_echo
=$ac_try;;
15100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15101 (eval "$ac_try") 2>&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); }; } &&
15105 { ac_try
='test -s conftest$ac_exeext'
15106 { (case "(($ac_try" in
15107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15108 *) ac_try_echo=$ac_try;;
15110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15111 (eval "$ac_try") 2>&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; }; then
15115 ac_cv_c_gcc_gstabs="yes"
15117 echo "$as_me: failed program was:" >&5
15118 sed 's/^/| /' conftest.$ac_ext >&5
15120 ac_cv_c_gcc_gstabs="no"
15123 rm -f core conftest.err conftest.$ac_objext \
15124 conftest$ac_exeext conftest.$ac_ext
15125 CFLAGS=$ac_wine_try_cflags_saved
15127 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
15128 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
15129 if test "$ac_cv_c_gcc_gstabs" = "yes"
15131 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
15134 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
15135 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
15136 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
15137 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 ac_wine_try_cflags_saved=$CFLAGS
15140 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15141 cat >conftest.$ac_ext <<_ACEOF
15144 cat confdefs.h >>conftest.$ac_ext
15145 cat >>conftest.$ac_ext <<_ACEOF
15146 /* end confdefs.h. */
15156 rm -f conftest.$ac_objext conftest$ac_exeext
15157 if { (ac_try="$ac_link"
15158 case "(($ac_try" in
15159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15160 *) ac_try_echo
=$ac_try;;
15162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15163 (eval "$ac_link") 2>conftest.er1
15165 grep -v '^ *+' conftest.er1
>conftest.err
15167 cat conftest.err
>&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } &&
15170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15171 { (case "(($ac_try" in
15172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15173 *) ac_try_echo=$ac_try;;
15175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15176 (eval "$ac_try") 2>&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); }; } &&
15180 { ac_try='test -s conftest$ac_exeext'
15181 { (case "(($ac_try" in
15182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15183 *) ac_try_echo
=$ac_try;;
15185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15186 (eval "$ac_try") 2>&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_cv_c_gcc_decl_after_statement
="yes"
15192 echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.
$ac_ext >&5
15195 ac_cv_c_gcc_decl_after_statement
="no"
15198 rm -f core conftest.err conftest.
$ac_objext \
15199 conftest
$ac_exeext conftest.
$ac_ext
15200 CFLAGS
=$ac_wine_try_cflags_saved
15202 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
15203 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
15204 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
15206 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
15209 saved_CFLAGS
="$CFLAGS"
15210 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
15211 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15212 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15213 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15214 echo $ECHO_N "(cached) $ECHO_C" >&6
15216 cat >conftest.
$ac_ext <<_ACEOF
15219 cat confdefs.h
>>conftest.
$ac_ext
15220 cat >>conftest.
$ac_ext <<_ACEOF
15221 /* end confdefs.h. */
15222 #include <string.h>
15231 rm -f conftest.
$ac_objext
15232 if { (ac_try
="$ac_compile"
15233 case "(($ac_try" in
15234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15235 *) ac_try_echo=$ac_try;;
15237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15238 (eval "$ac_compile") 2>conftest.er1
15240 grep -v '^ *+' conftest.er1 >conftest.err
15242 cat conftest.err >&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); } &&
15245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15246 { (case "(($ac_try" in
15247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15248 *) ac_try_echo
=$ac_try;;
15250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15251 (eval "$ac_try") 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; } &&
15255 { ac_try
='test -s conftest.$ac_objext'
15256 { (case "(($ac_try" in
15257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15261 (eval "$ac_try") 2>&5
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; }; then
15265 ac_cv_c_string_h_warnings=no
15267 echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.$ac_ext >&5
15270 ac_cv_c_string_h_warnings=yes
15273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15275 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15276 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15277 CFLAGS="$saved_CFLAGS"
15278 if test "$ac_cv_c_string_h_warnings" = "no"
15280 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15285 saved_CFLAGS="$CFLAGS"
15286 CFLAGS="$CFLAGS -Werror"
15287 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15288 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15289 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15292 cat >conftest.$ac_ext <<_ACEOF
15295 cat confdefs.h >>conftest.$ac_ext
15296 cat >>conftest.$ac_ext <<_ACEOF
15297 /* end confdefs.h. */
15302 int iswlower(unsigned short);
15307 rm -f conftest.$ac_objext
15308 if { (ac_try="$ac_compile"
15309 case "(($ac_try" in
15310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15311 *) ac_try_echo
=$ac_try;;
15313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15314 (eval "$ac_compile") 2>conftest.er1
15316 grep -v '^ *+' conftest.er1
>conftest.err
15318 cat conftest.err
>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15322 { (case "(($ac_try" in
15323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15324 *) ac_try_echo=$ac_try;;
15326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15327 (eval "$ac_try") 2>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); }; } &&
15331 { ac_try='test -s conftest.$ac_objext'
15332 { (case "(($ac_try" in
15333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15334 *) ac_try_echo
=$ac_try;;
15336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15337 (eval "$ac_try") 2>&5
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); }; }; then
15341 ac_cv_c_builtin_wchar_ctype
=no
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.
$ac_ext >&5
15346 ac_cv_c_builtin_wchar_ctype
=yes
15349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15351 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15352 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15353 CFLAGS
="$saved_CFLAGS"
15354 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15358 iswalnum iswalpha iswcntrl iswdigit iswgraph iswlower \
15359 iswprint iswpunct iswspace iswupper iswxdigit towlower towupper
15361 BUILTINFLAG
="$BUILTINFLAG -fno-builtin-$builtin"
15367 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15368 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15369 if test "${ac_cv_asm_func_def+set}" = set; then
15370 echo $ECHO_N "(cached) $ECHO_C" >&6
15372 cat >conftest.
$ac_ext <<_ACEOF
15375 cat confdefs.h
>>conftest.
$ac_ext
15376 cat >>conftest.
$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378 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"); }
15388 rm -f conftest.
$ac_objext conftest
$ac_exeext
15389 if { (ac_try
="$ac_link"
15390 case "(($ac_try" in
15391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_link") 2>conftest.er1
15397 grep -v '^ *+' conftest.er1 >conftest.err
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } &&
15402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15403 { (case "(($ac_try" in
15404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15405 *) ac_try_echo
=$ac_try;;
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_try") 2>&5
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; } &&
15412 { ac_try
='test -s conftest$ac_exeext'
15413 { (case "(($ac_try" in
15414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15415 *) ac_try_echo=$ac_try;;
15417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15418 (eval "$ac_try") 2>&5
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); }; }; then
15422 ac_cv_asm_func_def=".def"
15424 echo "$as_me: failed program was:" >&5
15425 sed 's/^/| /' conftest.$ac_ext >&5
15427 cat >conftest.$ac_ext <<_ACEOF
15430 cat confdefs.h >>conftest.$ac_ext
15431 cat >>conftest.$ac_ext <<_ACEOF
15432 /* end confdefs.h. */
15433 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
15443 rm -f conftest.$ac_objext conftest$ac_exeext
15444 if { (ac_try="$ac_link"
15445 case "(($ac_try" in
15446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15447 *) ac_try_echo
=$ac_try;;
15449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15450 (eval "$ac_link") 2>conftest.er1
15452 grep -v '^ *+' conftest.er1
>conftest.err
15454 cat conftest.err
>&5
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } &&
15457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15458 { (case "(($ac_try" in
15459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15460 *) ac_try_echo=$ac_try;;
15462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15463 (eval "$ac_try") 2>&5
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; } &&
15467 { ac_try='test -s conftest$ac_exeext'
15468 { (case "(($ac_try" in
15469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15470 *) ac_try_echo
=$ac_try;;
15472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15473 (eval "$ac_try") 2>&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); }; }; then
15477 ac_cv_asm_func_def
=".type @function"
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.
$ac_ext >&5
15482 cat >conftest.
$ac_ext <<_ACEOF
15485 cat confdefs.h
>>conftest.
$ac_ext
15486 cat >>conftest.
$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15488 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
15498 rm -f conftest.
$ac_objext conftest
$ac_exeext
15499 if { (ac_try
="$ac_link"
15500 case "(($ac_try" in
15501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15502 *) ac_try_echo=$ac_try;;
15504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15505 (eval "$ac_link") 2>conftest.er1
15507 grep -v '^ *+' conftest.er1 >conftest.err
15509 cat conftest.err >&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); } &&
15512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15513 { (case "(($ac_try" in
15514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15515 *) ac_try_echo
=$ac_try;;
15517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15518 (eval "$ac_try") 2>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; } &&
15522 { ac_try
='test -s conftest$ac_exeext'
15523 { (case "(($ac_try" in
15524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15525 *) ac_try_echo=$ac_try;;
15527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15528 (eval "$ac_try") 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15532 ac_cv_asm_func_def=".type 2"
15534 echo "$as_me: failed program was:" >&5
15535 sed 's/^/| /' conftest.$ac_ext >&5
15537 ac_cv_asm_func_def="unknown"
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15544 rm -f core conftest.err conftest.$ac_objext \
15545 conftest$ac_exeext conftest.$ac_ext
15548 rm -f core conftest.err conftest.$ac_objext \
15549 conftest$ac_exeext conftest.$ac_ext
15551 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15552 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15556 case "$ac_cv_asm_func_def" in
15558 cat >>confdefs.h <<\_ACEOF
15559 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15563 cat >>confdefs.h <<\_ACEOF
15564 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15568 cat >>confdefs.h <<\_ACEOF
15569 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15573 cat >>confdefs.h <<\_ACEOF
15574 #define __ASM_FUNC(name) ""
15580 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15581 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15582 if test "${ac_cv_c_extern_prefix+set}" = set; then
15583 echo $ECHO_N "(cached) $ECHO_C" >&6
15585 cat >conftest.$ac_ext <<_ACEOF
15588 cat confdefs.h >>conftest.$ac_ext
15589 cat >>conftest.$ac_ext <<_ACEOF
15590 /* end confdefs.h. */
15591 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15592 extern int ac_test;
15596 if (ac_test) return 1
15601 rm -f conftest.$ac_objext conftest$ac_exeext
15602 if { (ac_try="$ac_link"
15603 case "(($ac_try" in
15604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15605 *) ac_try_echo
=$ac_try;;
15607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15608 (eval "$ac_link") 2>conftest.er1
15610 grep -v '^ *+' conftest.er1
>conftest.err
15612 cat conftest.err
>&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); } &&
15615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15616 { (case "(($ac_try" in
15617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15618 *) ac_try_echo=$ac_try;;
15620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15621 (eval "$ac_try") 2>&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); }; } &&
15625 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
15635 ac_cv_c_extern_prefix
="yes"
15637 echo "$as_me: failed program was:" >&5
15638 sed 's/^/| /' conftest.
$ac_ext >&5
15640 ac_cv_c_extern_prefix
="no"
15643 rm -f core conftest.err conftest.
$ac_objext \
15644 conftest
$ac_exeext conftest.
$ac_ext
15646 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15647 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15651 if test "$ac_cv_c_extern_prefix" = "yes"
15653 cat >>confdefs.h
<<\_ACEOF
15654 #define __ASM_NAME(name) "_" name
15658 cat >>confdefs.h
<<\_ACEOF
15659 #define __ASM_NAME(name) name
15667 DLLFLAGS
="-D_REENTRANT"
15682 if test -n "$ac_tool_prefix"; then
15683 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15684 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15687 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15688 echo $ECHO_N "(cached) $ECHO_C" >&6
15690 if test -n "$DLLTOOL"; then
15691 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15694 for as_dir
in $PATH
15697 test -z "$as_dir" && as_dir
=.
15698 for ac_exec_ext
in '' $ac_executable_extensions; do
15699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15700 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15710 DLLTOOL
=$ac_cv_prog_DLLTOOL
15711 if test -n "$DLLTOOL"; then
15712 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15713 echo "${ECHO_T}$DLLTOOL" >&6; }
15715 { echo "$as_me:$LINENO: result: no" >&5
15716 echo "${ECHO_T}no" >&6; }
15721 if test -z "$ac_cv_prog_DLLTOOL"; then
15722 ac_ct_DLLTOOL
=$DLLTOOL
15723 # Extract the first word of "dlltool", so it can be a program name with args.
15724 set dummy dlltool
; ac_word
=$2
15725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15727 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15728 echo $ECHO_N "(cached) $ECHO_C" >&6
15730 if test -n "$ac_ct_DLLTOOL"; then
15731 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15734 for as_dir
in $PATH
15737 test -z "$as_dir" && as_dir
=.
15738 for ac_exec_ext
in '' $ac_executable_extensions; do
15739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15740 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15750 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15751 if test -n "$ac_ct_DLLTOOL"; then
15752 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15753 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15755 { echo "$as_me:$LINENO: result: no" >&5
15756 echo "${ECHO_T}no" >&6; }
15759 if test "x$ac_ct_DLLTOOL" = x
; then
15762 case $cross_compiling:$ac_tool_warned in
15764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15765 whose name does not start with the host triplet. If you think this
15766 configuration is useful to you, please write to autoconf@gnu.org." >&5
15767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15768 whose name does not start with the host triplet. If you think this
15769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15770 ac_tool_warned
=yes ;;
15772 DLLTOOL
=$ac_ct_DLLTOOL
15775 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15778 if test -n "$ac_tool_prefix"; then
15779 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15780 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
15781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15783 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15784 echo $ECHO_N "(cached) $ECHO_C" >&6
15786 if test -n "$DLLWRAP"; then
15787 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
15789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15790 for as_dir
in $PATH
15793 test -z "$as_dir" && as_dir
=.
15794 for ac_exec_ext
in '' $ac_executable_extensions; do
15795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15796 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
15797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15806 DLLWRAP
=$ac_cv_prog_DLLWRAP
15807 if test -n "$DLLWRAP"; then
15808 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15809 echo "${ECHO_T}$DLLWRAP" >&6; }
15811 { echo "$as_me:$LINENO: result: no" >&5
15812 echo "${ECHO_T}no" >&6; }
15817 if test -z "$ac_cv_prog_DLLWRAP"; then
15818 ac_ct_DLLWRAP
=$DLLWRAP
15819 # Extract the first word of "dllwrap", so it can be a program name with args.
15820 set dummy dllwrap
; ac_word
=$2
15821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15823 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15826 if test -n "$ac_ct_DLLWRAP"; then
15827 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
15829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15830 for as_dir
in $PATH
15833 test -z "$as_dir" && as_dir
=.
15834 for ac_exec_ext
in '' $ac_executable_extensions; do
15835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15836 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
15837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15846 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
15847 if test -n "$ac_ct_DLLWRAP"; then
15848 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15849 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15851 { echo "$as_me:$LINENO: result: no" >&5
15852 echo "${ECHO_T}no" >&6; }
15855 if test "x$ac_ct_DLLWRAP" = x
; then
15858 case $cross_compiling:$ac_tool_warned in
15860 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15861 whose name does not start with the host triplet. If you think this
15862 configuration is useful to you, please write to autoconf@gnu.org." >&5
15863 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15864 whose name does not start with the host triplet. If you think this
15865 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15866 ac_tool_warned
=yes ;;
15868 DLLWRAP
=$ac_ct_DLLWRAP
15871 DLLWRAP
="$ac_cv_prog_DLLWRAP"
15874 if test "$DLLWRAP" = "false"; then
15884 if test "$ac_cv_header_dlfcn_h" = "yes"
15887 for ac_func
in dlopen
15889 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15892 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15893 echo $ECHO_N "(cached) $ECHO_C" >&6
15895 cat >conftest.
$ac_ext <<_ACEOF
15898 cat confdefs.h
>>conftest.
$ac_ext
15899 cat >>conftest.
$ac_ext <<_ACEOF
15900 /* end confdefs.h. */
15901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15903 #define $ac_func innocuous_$ac_func
15905 /* System header to define __stub macros and hopefully few prototypes,
15906 which can conflict with char $ac_func (); below.
15907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15908 <limits.h> exists even on freestanding compilers. */
15911 # include <limits.h>
15913 # include <assert.h>
15918 /* Override any GCC internal prototype to avoid an error.
15919 Use char because int might match the return type of a GCC
15920 builtin and then its argument prototype would still apply. */
15925 /* The GNU C library defines this for functions which it implements
15926 to always fail with ENOSYS. Some functions are actually named
15927 something starting with __ and the normal name is an alias. */
15928 #if defined __stub_$ac_func || defined __stub___$ac_func
15935 return $ac_func ();
15940 rm -f conftest.
$ac_objext conftest
$ac_exeext
15941 if { (ac_try
="$ac_link"
15942 case "(($ac_try" in
15943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15944 *) ac_try_echo=$ac_try;;
15946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15947 (eval "$ac_link") 2>conftest.er1
15949 grep -v '^ *+' conftest.er1 >conftest.err
15951 cat conftest.err >&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15955 { (case "(($ac_try" in
15956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15957 *) ac_try_echo
=$ac_try;;
15959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15960 (eval "$ac_try") 2>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; } &&
15964 { ac_try
='test -s conftest$ac_exeext'
15965 { (case "(($ac_try" in
15966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15967 *) ac_try_echo=$ac_try;;
15969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15970 (eval "$ac_try") 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; }; then
15974 eval "$as_ac_var=yes"
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.$ac_ext >&5
15979 eval "$as_ac_var=no"
15982 rm -f core conftest.err conftest.$ac_objext \
15983 conftest$ac_exeext conftest.$ac_ext
15985 ac_res=`eval echo '${'$as_ac_var'}'`
15986 { echo "$as_me:$LINENO: result: $ac_res" >&5
15987 echo "${ECHO_T}$ac_res" >&6; }
15988 if test `eval echo '${'$as_ac_var'}'` = yes; then
15989 cat >>confdefs.h <<_ACEOF
15990 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
15994 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15995 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15996 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15997 echo $ECHO_N "(cached) $ECHO_C" >&6
15999 ac_check_lib_save_LIBS=$LIBS
16001 cat >conftest.$ac_ext <<_ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16023 rm -f conftest.$ac_objext conftest$ac_exeext
16024 if { (ac_try="$ac_link"
16025 case "(($ac_try" in
16026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16027 *) ac_try_echo
=$ac_try;;
16029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16030 (eval "$ac_link") 2>conftest.er1
16032 grep -v '^ *+' conftest.er1
>conftest.err
16034 cat conftest.err
>&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); } &&
16037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16038 { (case "(($ac_try" in
16039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16040 *) ac_try_echo=$ac_try;;
16042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16043 (eval "$ac_try") 2>&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); }; } &&
16047 { ac_try='test -s conftest$ac_exeext'
16048 { (case "(($ac_try" in
16049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16050 *) ac_try_echo
=$ac_try;;
16052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16053 (eval "$ac_try") 2>&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); }; }; then
16057 ac_cv_lib_dl_dlopen
=yes
16059 echo "$as_me: failed program was:" >&5
16060 sed 's/^/| /' conftest.
$ac_ext >&5
16062 ac_cv_lib_dl_dlopen
=no
16065 rm -f core conftest.err conftest.
$ac_objext \
16066 conftest
$ac_exeext conftest.
$ac_ext
16067 LIBS
=$ac_check_lib_save_LIBS
16069 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16070 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16071 if test $ac_cv_lib_dl_dlopen = yes; then
16073 cat >>confdefs.h
<<\_ACEOF
16074 #define HAVE_DLOPEN 1
16085 ac_wine_check_funcs_save_LIBS
="$LIBS"
16086 LIBS
="$LIBS $DLLIBS"
16088 for ac_func
in dladdr
16090 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16091 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16093 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16094 echo $ECHO_N "(cached) $ECHO_C" >&6
16096 cat >conftest.
$ac_ext <<_ACEOF
16099 cat confdefs.h
>>conftest.
$ac_ext
16100 cat >>conftest.
$ac_ext <<_ACEOF
16101 /* end confdefs.h. */
16102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16104 #define $ac_func innocuous_$ac_func
16106 /* System header to define __stub macros and hopefully few prototypes,
16107 which can conflict with char $ac_func (); below.
16108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16109 <limits.h> exists even on freestanding compilers. */
16112 # include <limits.h>
16114 # include <assert.h>
16119 /* Override any GCC internal prototype to avoid an error.
16120 Use char because int might match the return type of a GCC
16121 builtin and then its argument prototype would still apply. */
16126 /* The GNU C library defines this for functions which it implements
16127 to always fail with ENOSYS. Some functions are actually named
16128 something starting with __ and the normal name is an alias. */
16129 #if defined __stub_$ac_func || defined __stub___$ac_func
16136 return $ac_func ();
16141 rm -f conftest.
$ac_objext conftest
$ac_exeext
16142 if { (ac_try
="$ac_link"
16143 case "(($ac_try" in
16144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16145 *) ac_try_echo=$ac_try;;
16147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16148 (eval "$ac_link") 2>conftest.er1
16150 grep -v '^ *+' conftest.er1 >conftest.err
16152 cat conftest.err >&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } &&
16155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16156 { (case "(($ac_try" in
16157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16158 *) ac_try_echo
=$ac_try;;
16160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16161 (eval "$ac_try") 2>&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try
='test -s conftest$ac_exeext'
16166 { (case "(($ac_try" in
16167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_try") 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; }; then
16175 eval "$as_ac_var=yes"
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16180 eval "$as_ac_var=no"
16183 rm -f core conftest.err conftest.$ac_objext \
16184 conftest$ac_exeext conftest.$ac_ext
16186 ac_res=`eval echo '${'$as_ac_var'}'`
16187 { echo "$as_me:$LINENO: result: $ac_res" >&5
16188 echo "${ECHO_T}$ac_res" >&6; }
16189 if test `eval echo '${'$as_ac_var'}'` = yes; then
16190 cat >>confdefs.h <<_ACEOF
16191 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16197 LIBS="$ac_wine_check_funcs_save_LIBS"
16202 if test "$LIBEXT" = "so"
16204 DLLFLAGS="$DLLFLAGS -fPIC"
16206 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
16207 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
16208 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16211 ac_wine_try_cflags_saved=$CFLAGS
16212 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
16213 cat >conftest.$ac_ext <<_ACEOF
16216 rm -f conftest.$ac_objext conftest$ac_exeext
16217 if { (ac_try="$ac_link"
16218 case "(($ac_try" in
16219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16220 *) ac_try_echo
=$ac_try;;
16222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16223 (eval "$ac_link") 2>conftest.er1
16225 grep -v '^ *+' conftest.er1
>conftest.err
16227 cat conftest.err
>&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } &&
16230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16231 { (case "(($ac_try" in
16232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16233 *) ac_try_echo=$ac_try;;
16235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16236 (eval "$ac_try") 2>&5
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); }; } &&
16240 { ac_try='test -s conftest$ac_exeext'
16241 { (case "(($ac_try" in
16242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16243 *) ac_try_echo
=$ac_try;;
16245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16246 (eval "$ac_try") 2>&5
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); }; }; then
16250 ac_cv_c_dll_gnuelf
="yes"
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.
$ac_ext >&5
16255 ac_cv_c_dll_gnuelf
="no"
16258 rm -f core conftest.err conftest.
$ac_objext \
16259 conftest
$ac_exeext conftest.
$ac_ext
16260 CFLAGS
=$ac_wine_try_cflags_saved
16262 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
16263 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
16264 if test "$ac_cv_c_dll_gnuelf" = "yes"
16266 LDSHARED
="\$(CC) -shared"
16267 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
16268 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
16269 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
16270 if test "${ac_cv_c_sonames+set}" = set; then
16271 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 ac_wine_try_cflags_saved
=$CFLAGS
16274 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
16275 cat >conftest.
$ac_ext <<_ACEOF
16278 cat confdefs.h
>>conftest.
$ac_ext
16279 cat >>conftest.
$ac_ext <<_ACEOF
16280 /* end confdefs.h. */
16290 rm -f conftest.
$ac_objext conftest
$ac_exeext
16291 if { (ac_try
="$ac_link"
16292 case "(($ac_try" in
16293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16294 *) ac_try_echo=$ac_try;;
16296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16297 (eval "$ac_link") 2>conftest.er1
16299 grep -v '^ *+' conftest.er1 >conftest.err
16301 cat conftest.err >&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } &&
16304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16305 { (case "(($ac_try" in
16306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16307 *) ac_try_echo
=$ac_try;;
16309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16310 (eval "$ac_try") 2>&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; } &&
16314 { ac_try
='test -s conftest$ac_exeext'
16315 { (case "(($ac_try" in
16316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16317 *) ac_try_echo=$ac_try;;
16319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16320 (eval "$ac_try") 2>&5
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16324 ac_cv_c_sonames="yes"
16326 echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.$ac_ext >&5
16329 ac_cv_c_sonames="no"
16332 rm -f core conftest.err conftest.$ac_objext \
16333 conftest$ac_exeext conftest.$ac_ext
16334 CFLAGS=$ac_wine_try_cflags_saved
16336 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
16337 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
16338 if test "$ac_cv_c_sonames" = "yes"
16340 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
16342 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
16343 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
16344 if test "${ac_cv_c_h_sonames+set}" = set; then
16345 echo $ECHO_N "(cached) $ECHO_C" >&6
16347 ac_wine_try_cflags_saved=$CFLAGS
16348 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
16349 cat >conftest.$ac_ext <<_ACEOF
16352 cat confdefs.h >>conftest.$ac_ext
16353 cat >>conftest.$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16364 rm -f conftest.$ac_objext conftest$ac_exeext
16365 if { (ac_try="$ac_link"
16366 case "(($ac_try" in
16367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16368 *) ac_try_echo
=$ac_try;;
16370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16371 (eval "$ac_link") 2>conftest.er1
16373 grep -v '^ *+' conftest.er1
>conftest.err
16375 cat conftest.err
>&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } &&
16378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16379 { (case "(($ac_try" in
16380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16381 *) ac_try_echo=$ac_try;;
16383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16384 (eval "$ac_try") 2>&5
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); }; } &&
16388 { ac_try='test -s conftest$ac_exeext'
16389 { (case "(($ac_try" in
16390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16391 *) ac_try_echo
=$ac_try;;
16393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16394 (eval "$ac_try") 2>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; }; then
16398 ac_cv_c_h_sonames
="yes"
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.
$ac_ext >&5
16403 ac_cv_c_h_sonames
="no"
16406 rm -f core conftest.err conftest.
$ac_objext \
16407 conftest
$ac_exeext conftest.
$ac_ext
16408 CFLAGS
=$ac_wine_try_cflags_saved
16410 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
16411 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
16412 if test "$ac_cv_c_h_sonames" = "yes"
16414 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
16418 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
16419 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
16420 if test "${ac_cv_c_dll_zdefs+set}" = set; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16423 ac_wine_try_cflags_saved
=$CFLAGS
16424 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
16425 cat >conftest.
$ac_ext <<_ACEOF
16428 cat confdefs.h
>>conftest.
$ac_ext
16429 cat >>conftest.
$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16440 rm -f conftest.
$ac_objext conftest
$ac_exeext
16441 if { (ac_try
="$ac_link"
16442 case "(($ac_try" in
16443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_link") 2>conftest.er1
16449 grep -v '^ *+' conftest.er1 >conftest.err
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } &&
16454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16455 { (case "(($ac_try" in
16456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16457 *) ac_try_echo
=$ac_try;;
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_try") 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; } &&
16464 { ac_try
='test -s conftest$ac_exeext'
16465 { (case "(($ac_try" in
16466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16467 *) ac_try_echo=$ac_try;;
16469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16470 (eval "$ac_try") 2>&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; }; then
16474 ac_cv_c_dll_zdefs="yes"
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.$ac_ext >&5
16479 ac_cv_c_dll_zdefs="no"
16482 rm -f core conftest.err conftest.$ac_objext \
16483 conftest$ac_exeext conftest.$ac_ext
16484 CFLAGS=$ac_wine_try_cflags_saved
16486 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
16487 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
16488 if test "$ac_cv_c_dll_zdefs" = "yes"
16490 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
16493 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
16494 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
16495 if test "${ac_cv_c_dll_init_fini+set}" = set; then
16496 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 ac_wine_try_cflags_saved=$CFLAGS
16499 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
16500 cat >conftest.$ac_ext <<_ACEOF
16503 cat confdefs.h >>conftest.$ac_ext
16504 cat >>conftest.$ac_ext <<_ACEOF
16505 /* end confdefs.h. */
16515 rm -f conftest.$ac_objext conftest$ac_exeext
16516 if { (ac_try="$ac_link"
16517 case "(($ac_try" in
16518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16519 *) ac_try_echo
=$ac_try;;
16521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16522 (eval "$ac_link") 2>conftest.er1
16524 grep -v '^ *+' conftest.er1
>conftest.err
16526 cat conftest.err
>&5
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); } &&
16529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16530 { (case "(($ac_try" in
16531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16532 *) ac_try_echo=$ac_try;;
16534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16535 (eval "$ac_try") 2>&5
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); }; } &&
16539 { ac_try='test -s conftest$ac_exeext'
16540 { (case "(($ac_try" in
16541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16542 *) ac_try_echo
=$ac_try;;
16544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16545 (eval "$ac_try") 2>&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); }; }; then
16549 ac_cv_c_dll_init_fini
="yes"
16551 echo "$as_me: failed program was:" >&5
16552 sed 's/^/| /' conftest.
$ac_ext >&5
16554 ac_cv_c_dll_init_fini
="no"
16557 rm -f core conftest.err conftest.
$ac_objext \
16558 conftest
$ac_exeext conftest.
$ac_ext
16559 CFLAGS
=$ac_wine_try_cflags_saved
16561 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
16562 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
16563 if test "$ac_cv_c_dll_init_fini" = "yes"
16565 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
16568 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
16569 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
16570 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
16571 echo $ECHO_N "(cached) $ECHO_C" >&6
16573 echo '{ global: *; };' >conftest.map
16574 ac_wine_try_cflags_saved
=$CFLAGS
16575 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
16576 cat >conftest.
$ac_ext <<_ACEOF
16579 cat confdefs.h
>>conftest.
$ac_ext
16580 cat >>conftest.
$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16591 rm -f conftest.
$ac_objext conftest
$ac_exeext
16592 if { (ac_try
="$ac_link"
16593 case "(($ac_try" in
16594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_link") 2>conftest.er1
16600 grep -v '^ *+' conftest.er1 >conftest.err
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } &&
16605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16606 { (case "(($ac_try" in
16607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16608 *) ac_try_echo
=$ac_try;;
16610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16611 (eval "$ac_try") 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try
='test -s conftest$ac_exeext'
16616 { (case "(($ac_try" in
16617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16618 *) ac_try_echo=$ac_try;;
16620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16621 (eval "$ac_try") 2>&5
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; }; then
16625 ac_cv_c_ld_version_scripts="yes"
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16630 ac_cv_c_ld_version_scripts="no"
16633 rm -f core conftest.err conftest.$ac_objext \
16634 conftest$ac_exeext conftest.$ac_ext
16635 CFLAGS=$ac_wine_try_cflags_saved
16638 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
16639 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
16640 if test "$ac_cv_c_ld_version_scripts" = "yes"
16642 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
16645 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
16646 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
16647 if test "${ac_cv_c_export_dynamic+set}" = set; then
16648 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 ac_wine_try_cflags_saved=$CFLAGS
16651 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
16652 cat >conftest.$ac_ext <<_ACEOF
16655 cat confdefs.h >>conftest.$ac_ext
16656 cat >>conftest.$ac_ext <<_ACEOF
16657 /* end confdefs.h. */
16667 rm -f conftest.$ac_objext conftest$ac_exeext
16668 if { (ac_try="$ac_link"
16669 case "(($ac_try" in
16670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16671 *) ac_try_echo
=$ac_try;;
16673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16674 (eval "$ac_link") 2>conftest.er1
16676 grep -v '^ *+' conftest.er1
>conftest.err
16678 cat conftest.err
>&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } &&
16681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16682 { (case "(($ac_try" in
16683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16684 *) ac_try_echo=$ac_try;;
16686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16687 (eval "$ac_try") 2>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; } &&
16691 { ac_try='test -s conftest$ac_exeext'
16692 { (case "(($ac_try" in
16693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16694 *) ac_try_echo
=$ac_try;;
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_try") 2>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; }; then
16701 ac_cv_c_export_dynamic
="yes"
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.
$ac_ext >&5
16706 ac_cv_c_export_dynamic
="no"
16709 rm -f core conftest.err conftest.
$ac_objext \
16710 conftest
$ac_exeext conftest.
$ac_ext
16711 CFLAGS
=$ac_wine_try_cflags_saved
16713 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
16714 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
16715 if test "$ac_cv_c_export_dynamic" = "yes"
16717 LDEXECFLAGS
="-Wl,--export-dynamic"
16721 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
16722 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
16723 if test "${ac_cv_ld_rpath+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 ac_wine_try_cflags_saved
=$CFLAGS
16727 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
16728 cat >conftest.
$ac_ext <<_ACEOF
16731 cat confdefs.h
>>conftest.
$ac_ext
16732 cat >>conftest.
$ac_ext <<_ACEOF
16733 /* end confdefs.h. */
16743 rm -f conftest.
$ac_objext conftest
$ac_exeext
16744 if { (ac_try
="$ac_link"
16745 case "(($ac_try" in
16746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16747 *) ac_try_echo=$ac_try;;
16749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16750 (eval "$ac_link") 2>conftest.er1
16752 grep -v '^ *+' conftest.er1 >conftest.err
16754 cat conftest.err >&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); } &&
16757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16758 { (case "(($ac_try" in
16759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16760 *) ac_try_echo
=$ac_try;;
16762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16763 (eval "$ac_try") 2>&5
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); }; } &&
16767 { ac_try
='test -s conftest$ac_exeext'
16768 { (case "(($ac_try" in
16769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16770 *) ac_try_echo=$ac_try;;
16772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16773 (eval "$ac_try") 2>&5
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_cv_ld_rpath="yes"
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16782 ac_cv_ld_rpath="no"
16785 rm -f core conftest.err conftest.$ac_objext \
16786 conftest$ac_exeext conftest.$ac_ext
16787 CFLAGS=$ac_wine_try_cflags_saved
16789 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
16790 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
16791 if test "$ac_cv_ld_rpath" = "yes"
16793 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
16795 LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(dlldir
) \$
(libdir
)\
`"
16801 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
16802 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
16803 if test "${ac_cv_ld_reloc_exec+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 ac_wine_try_cflags_saved=$CFLAGS
16807 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16808 cat >conftest.$ac_ext <<_ACEOF
16811 cat confdefs.h >>conftest.$ac_ext
16812 cat >>conftest.$ac_ext <<_ACEOF
16813 /* end confdefs.h. */
16823 rm -f conftest.$ac_objext conftest$ac_exeext
16824 if { (ac_try="$ac_link"
16825 case "(($ac_try" in
16826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16827 *) ac_try_echo
=$ac_try;;
16829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16830 (eval "$ac_link") 2>conftest.er1
16832 grep -v '^ *+' conftest.er1
>conftest.err
16834 cat conftest.err
>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16838 { (case "(($ac_try" in
16839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16840 *) ac_try_echo=$ac_try;;
16842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16843 (eval "$ac_try") 2>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try='test -s conftest$ac_exeext'
16848 { (case "(($ac_try" in
16849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16850 *) ac_try_echo
=$ac_try;;
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_try") 2>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; }; then
16857 ac_cv_ld_reloc_exec
="yes"
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.
$ac_ext >&5
16862 ac_cv_ld_reloc_exec
="no"
16865 rm -f core conftest.err conftest.
$ac_objext \
16866 conftest
$ac_exeext conftest.
$ac_ext
16867 CFLAGS
=$ac_wine_try_cflags_saved
16869 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16870 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16871 if test "$ac_cv_ld_reloc_exec" = "yes"
16873 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16879 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16880 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16881 if test "${ac_cv_c_dll_unixware+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 ac_wine_try_cflags_saved
=$CFLAGS
16885 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16886 cat >conftest.
$ac_ext <<_ACEOF
16889 rm -f conftest.
$ac_objext conftest
$ac_exeext
16890 if { (ac_try
="$ac_link"
16891 case "(($ac_try" in
16892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16893 *) ac_try_echo=$ac_try;;
16895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16896 (eval "$ac_link") 2>conftest.er1
16898 grep -v '^ *+' conftest.er1 >conftest.err
16900 cat conftest.err >&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); } &&
16903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16904 { (case "(($ac_try" in
16905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16906 *) ac_try_echo
=$ac_try;;
16908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16909 (eval "$ac_try") 2>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); }; } &&
16913 { ac_try
='test -s conftest$ac_exeext'
16914 { (case "(($ac_try" in
16915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16916 *) ac_try_echo=$ac_try;;
16918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16919 (eval "$ac_try") 2>&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; }; then
16923 ac_cv_c_dll_unixware="yes"
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.$ac_ext >&5
16928 ac_cv_c_dll_unixware="no"
16931 rm -f core conftest.err conftest.$ac_objext \
16932 conftest$ac_exeext conftest.$ac_ext
16933 CFLAGS=$ac_wine_try_cflags_saved
16935 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16936 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16937 if test "$ac_cv_c_dll_unixware" = "yes"
16939 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16940 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16943 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
16944 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
16945 if test "${ac_cv_c_dll_macho+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 ac_wine_try_cflags_saved=$CFLAGS
16949 CFLAGS="$CFLAGS -bundle"
16950 cat >conftest.$ac_ext <<_ACEOF
16953 rm -f conftest.$ac_objext conftest$ac_exeext
16954 if { (ac_try="$ac_link"
16955 case "(($ac_try" in
16956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16957 *) ac_try_echo
=$ac_try;;
16959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16960 (eval "$ac_link") 2>conftest.er1
16962 grep -v '^ *+' conftest.er1
>conftest.err
16964 cat conftest.err
>&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } &&
16967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16968 { (case "(($ac_try" in
16969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16970 *) ac_try_echo=$ac_try;;
16972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973 (eval "$ac_try") 2>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; } &&
16977 { ac_try='test -s conftest$ac_exeext'
16978 { (case "(($ac_try" in
16979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16980 *) ac_try_echo
=$ac_try;;
16982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16983 (eval "$ac_try") 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; }; then
16987 ac_cv_c_dll_macho
="yes"
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.
$ac_ext >&5
16992 ac_cv_c_dll_macho
="no"
16995 rm -f core conftest.err conftest.
$ac_objext \
16996 conftest
$ac_exeext conftest.
$ac_ext
16997 CFLAGS
=$ac_wine_try_cflags_saved
16999 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
17000 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
17001 if test "$ac_cv_c_dll_macho" = "yes"
17004 LDDLLFLAGS
="-bundle"
17005 LDSHARED
="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
17006 STRIP
="$STRIP -u -r"
17007 COREFOUNDATIONLIB
="-framework CoreFoundation"
17009 IOKITLIB
="-framework IOKit -framework CoreFoundation"
17011 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7ffe0000"
17013 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
17015 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices"
17020 CFLAGS
="$CFLAGS -ffixed-r13"
17021 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning"
17026 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
17027 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
17028 if test "${ac_cv_c_dll_hpux+set}" = set; then
17029 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 ac_wine_try_cflags_saved
=$CFLAGS
17032 CFLAGS
="$CFLAGS -shared"
17033 cat >conftest.
$ac_ext <<_ACEOF
17036 rm -f conftest.
$ac_objext conftest
$ac_exeext
17037 if { (ac_try
="$ac_link"
17038 case "(($ac_try" in
17039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17040 *) ac_try_echo=$ac_try;;
17042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17043 (eval "$ac_link") 2>conftest.er1
17045 grep -v '^ *+' conftest.er1 >conftest.err
17047 cat conftest.err >&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); } &&
17050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17051 { (case "(($ac_try" in
17052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17053 *) ac_try_echo
=$ac_try;;
17055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17056 (eval "$ac_try") 2>&5
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; } &&
17060 { ac_try
='test -s conftest$ac_exeext'
17061 { (case "(($ac_try" in
17062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17063 *) ac_try_echo=$ac_try;;
17065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17066 (eval "$ac_try") 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; }; then
17070 ac_cv_c_dll_hpux="yes"
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.$ac_ext >&5
17075 ac_cv_c_dll_hpux="no"
17078 rm -f core conftest.err conftest.$ac_objext \
17079 conftest$ac_exeext conftest.$ac_ext
17080 CFLAGS=$ac_wine_try_cflags_saved
17082 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
17083 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
17084 if test "$ac_cv_c_dll_hpux" = "yes"
17088 LDDLLFLAGS="-shared -fPIC"
17089 LDSHARED="\$(CC) -shared"
17098 if test "$cross_compiling" = "no"
17100 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
17102 # Extract the first word of "$ac_prog", so it can be a program name with args.
17103 set dummy $ac_prog; ac_word=$2
17104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17106 if test "${ac_cv_prog_CROSSCC+set}" = set; then
17107 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 if test -n "$CROSSCC"; then
17110 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
17112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17113 for as_dir in $PATH
17116 test -z "$as_dir" && as_dir=.
17117 for ac_exec_ext in '' $ac_executable_extensions; do
17118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17119 ac_cv_prog_CROSSCC="$ac_prog"
17120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17129 CROSSCC=$ac_cv_prog_CROSSCC
17130 if test -n "$CROSSCC"; then
17131 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
17132 echo "${ECHO_T}$CROSSCC" >&6; }
17134 { echo "$as_me:$LINENO: result: no" >&5
17135 echo "${ECHO_T}no" >&6; }
17139 test -n "$CROSSCC" && break
17141 test -n "$CROSSCC" || CROSSCC="false"
17143 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
17145 # Extract the first word of "$ac_prog", so it can be a program name with args.
17146 set dummy $ac_prog; ac_word=$2
17147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17149 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17150 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 if test -n "$DLLTOOL"; then
17153 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17156 for as_dir in $PATH
17159 test -z "$as_dir" && as_dir=.
17160 for ac_exec_ext in '' $ac_executable_extensions; do
17161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17162 ac_cv_prog_DLLTOOL="$ac_prog"
17163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17172 DLLTOOL=$ac_cv_prog_DLLTOOL
17173 if test -n "$DLLTOOL"; then
17174 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17175 echo "${ECHO_T}$DLLTOOL" >&6; }
17177 { echo "$as_me:$LINENO: result: no" >&5
17178 echo "${ECHO_T}no" >&6; }
17182 test -n "$DLLTOOL" && break
17184 test -n "$DLLTOOL" || DLLTOOL="false"
17186 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
17188 # Extract the first word of "$ac_prog", so it can be a program name with args.
17189 set dummy $ac_prog; ac_word=$2
17190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17192 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 if test -n "$CROSSWINDRES"; then
17196 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
17198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17199 for as_dir in $PATH
17202 test -z "$as_dir" && as_dir=.
17203 for ac_exec_ext in '' $ac_executable_extensions; do
17204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17205 ac_cv_prog_CROSSWINDRES="$ac_prog"
17206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17215 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
17216 if test -n "$CROSSWINDRES"; then
17217 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
17218 echo "${ECHO_T}$CROSSWINDRES" >&6; }
17220 { echo "$as_me:$LINENO: result: no" >&5
17221 echo "${ECHO_T}no" >&6; }
17225 test -n "$CROSSWINDRES" && break
17227 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
17229 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
17234 if test "$LIBEXT" = "a"; then
17235 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
17236 It is currently not possible to build Wine without shared library
17237 (.so) support to allow transparent switch between .so and .dll files.
17238 If you are using Linux, you will need a newer binutils.
17240 echo "$as_me: error: could not find a way to build shared libraries.
17241 It is currently not possible to build Wine without shared library
17242 (.so) support to allow transparent switch between .so and .dll files.
17243 If you are using Linux, you will need a newer binutils.
17245 { (exit 1); exit 1; }; }
17250 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
17253 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
17256 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
17264 SOCKETLIBS="-lws2_32"
17269 MAIN_BINARY="wine-pthread"
17273 linux* | k*bsd*-gnu)
17274 MAIN_BINARY="wine-glibc"
17276 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
17283 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
17285 # Extract the first word of "ldd", so it can be a program name with args.
17286 set dummy ldd; ac_word=$2
17287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17289 if test "${ac_cv_path_LDD+set}" = set; then
17290 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
17297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17298 as_dummy="/sbin:/usr/sbin:$PATH"
17299 for as_dir in $as_dummy
17302 test -z "$as_dir" && as_dir=.
17303 for ac_exec_ext in '' $ac_executable_extensions; do
17304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17305 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
17306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17313 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
17317 LDD=$ac_cv_path_LDD
17318 if test -n "$LDD"; then
17319 { echo "$as_me:$LINENO: result: $LDD" >&5
17320 echo "${ECHO_T}$LDD" >&6; }
17322 { echo "$as_me:$LINENO: result: no" >&5
17323 echo "${ECHO_T}no" >&6; }
17327 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
17328 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
17329 if test "${ac_cv_lib_soname_X11+set}" = set; then
17330 echo $ECHO_N "(cached) $ECHO_C" >&6
17332 ac_get_soname_save_LIBS=$LIBS
17333 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
17334 cat >conftest.$ac_ext <<_ACEOF
17337 cat confdefs.h >>conftest.$ac_ext
17338 cat >>conftest.$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17341 /* Override any GCC internal prototype to avoid an error.
17342 Use char because int might match the return type of a GCC
17343 builtin and then its argument prototype would still apply. */
17347 char XCreateWindow ();
17351 return XCreateWindow ();
17356 rm -f conftest.$ac_objext conftest$ac_exeext
17357 if { (ac_try="$ac_link"
17358 case "(($ac_try" in
17359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17360 *) ac_try_echo
=$ac_try;;
17362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17363 (eval "$ac_link") 2>conftest.er1
17365 grep -v '^ *+' conftest.er1
>conftest.err
17367 cat conftest.err
>&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); } &&
17370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17371 { (case "(($ac_try" in
17372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17373 *) ac_try_echo=$ac_try;;
17375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17376 (eval "$ac_try") 2>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; } &&
17380 { ac_try='test -s conftest$ac_exeext'
17381 { (case "(($ac_try" in
17382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17383 *) ac_try_echo
=$ac_try;;
17385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17386 (eval "$ac_try") 2>&5
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); }; }; then
17390 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17391 if test "x$ac_cv_lib_soname_X11" = "x"
17393 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
17396 echo "$as_me: failed program was:" >&5
17397 sed 's/^/| /' conftest.
$ac_ext >&5
17399 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
17402 rm -f core conftest.err conftest.
$ac_objext \
17403 conftest
$ac_exeext conftest.
$ac_ext
17404 LIBS
=$ac_get_soname_save_LIBS
17406 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
17407 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
17408 if test "${ac_cv_lib_soname_X11+set}" = set; then
17410 cat >>confdefs.h
<<_ACEOF
17411 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
17416 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
17417 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
17418 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17421 ac_get_soname_save_LIBS
=$LIBS
17422 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
17423 cat >conftest.
$ac_ext <<_ACEOF
17426 cat confdefs.h
>>conftest.
$ac_ext
17427 cat >>conftest.
$ac_ext <<_ACEOF
17428 /* end confdefs.h. */
17430 /* Override any GCC internal prototype to avoid an error.
17431 Use char because int might match the return type of a GCC
17432 builtin and then its argument prototype would still apply. */
17436 char XextCreateExtension ();
17440 return XextCreateExtension ();
17445 rm -f conftest.
$ac_objext conftest
$ac_exeext
17446 if { (ac_try
="$ac_link"
17447 case "(($ac_try" in
17448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17449 *) ac_try_echo=$ac_try;;
17451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17452 (eval "$ac_link") 2>conftest.er1
17454 grep -v '^ *+' conftest.er1 >conftest.err
17456 cat conftest.err >&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } &&
17459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17460 { (case "(($ac_try" in
17461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17462 *) ac_try_echo
=$ac_try;;
17464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17465 (eval "$ac_try") 2>&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; } &&
17469 { ac_try
='test -s conftest$ac_exeext'
17470 { (case "(($ac_try" in
17471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17472 *) ac_try_echo=$ac_try;;
17474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17475 (eval "$ac_try") 2>&5
17477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478 (exit $ac_status); }; }; then
17479 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXext
\\.
$LIBEXT |
sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17480 if test "x$ac_cv_lib_soname_Xext" = "x"
17482 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17488 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17491 rm -f core conftest.err conftest.$ac_objext \
17492 conftest$ac_exeext conftest.$ac_ext
17493 LIBS=$ac_get_soname_save_LIBS
17495 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
17496 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
17497 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17499 cat >>confdefs.h <<_ACEOF
17500 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
17505 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
17506 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
17507 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17510 ac_get_soname_save_LIBS=$LIBS
17511 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17512 cat >conftest.$ac_ext <<_ACEOF
17515 cat confdefs.h >>conftest.$ac_ext
17516 cat >>conftest.$ac_ext <<_ACEOF
17517 /* end confdefs.h. */
17519 /* Override any GCC internal prototype to avoid an error.
17520 Use char because int might match the return type of a GCC
17521 builtin and then its argument prototype would still apply. */
17525 char XOpenDevice ();
17529 return XOpenDevice ();
17534 rm -f conftest.$ac_objext conftest$ac_exeext
17535 if { (ac_try="$ac_link"
17536 case "(($ac_try" in
17537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17538 *) ac_try_echo
=$ac_try;;
17540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17541 (eval "$ac_link") 2>conftest.er1
17543 grep -v '^ *+' conftest.er1
>conftest.err
17545 cat conftest.err
>&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } &&
17548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17549 { (case "(($ac_try" in
17550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17551 *) ac_try_echo=$ac_try;;
17553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17554 (eval "$ac_try") 2>&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; } &&
17558 { ac_try='test -s conftest$ac_exeext'
17559 { (case "(($ac_try" in
17560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17561 *) ac_try_echo
=$ac_try;;
17563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17564 (eval "$ac_try") 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; }; then
17568 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17569 if test "x$ac_cv_lib_soname_Xi" = "x"
17571 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
17574 echo "$as_me: failed program was:" >&5
17575 sed 's/^/| /' conftest.
$ac_ext >&5
17577 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
17580 rm -f core conftest.err conftest.
$ac_objext \
17581 conftest
$ac_exeext conftest.
$ac_ext
17582 LIBS
=$ac_get_soname_save_LIBS
17584 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
17585 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
17586 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17588 cat >>confdefs.h
<<_ACEOF
17589 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
17594 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
17595 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
17596 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17597 echo $ECHO_N "(cached) $ECHO_C" >&6
17599 ac_get_soname_save_LIBS
=$LIBS
17600 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17601 cat >conftest.
$ac_ext <<_ACEOF
17604 cat confdefs.h
>>conftest.
$ac_ext
17605 cat >>conftest.
$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17608 /* Override any GCC internal prototype to avoid an error.
17609 Use char because int might match the return type of a GCC
17610 builtin and then its argument prototype would still apply. */
17614 char XRenderQueryExtension ();
17618 return XRenderQueryExtension ();
17623 rm -f conftest.
$ac_objext conftest
$ac_exeext
17624 if { (ac_try
="$ac_link"
17625 case "(($ac_try" in
17626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17627 *) ac_try_echo=$ac_try;;
17629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17630 (eval "$ac_link") 2>conftest.er1
17632 grep -v '^ *+' conftest.er1 >conftest.err
17634 cat conftest.err >&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); } &&
17637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17638 { (case "(($ac_try" in
17639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17640 *) ac_try_echo
=$ac_try;;
17642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17643 (eval "$ac_try") 2>&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); }; } &&
17647 { ac_try
='test -s conftest$ac_exeext'
17648 { (case "(($ac_try" in
17649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17650 *) ac_try_echo=$ac_try;;
17652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17653 (eval "$ac_try") 2>&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); }; }; then
17657 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrender
\\.
$LIBEXT |
sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17658 if test "x$ac_cv_lib_soname_Xrender" = "x"
17660 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17666 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17669 rm -f core conftest.err conftest.$ac_objext \
17670 conftest$ac_exeext conftest.$ac_ext
17671 LIBS=$ac_get_soname_save_LIBS
17673 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
17674 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
17675 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17677 cat >>confdefs.h <<_ACEOF
17678 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
17683 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
17684 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
17685 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17686 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 ac_get_soname_save_LIBS=$LIBS
17689 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17690 cat >conftest.$ac_ext <<_ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17697 /* Override any GCC internal prototype to avoid an error.
17698 Use char because int might match the return type of a GCC
17699 builtin and then its argument prototype would still apply. */
17703 char XRRQueryExtension ();
17707 return XRRQueryExtension ();
17712 rm -f conftest.$ac_objext conftest$ac_exeext
17713 if { (ac_try="$ac_link"
17714 case "(($ac_try" in
17715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17716 *) ac_try_echo
=$ac_try;;
17718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17719 (eval "$ac_link") 2>conftest.er1
17721 grep -v '^ *+' conftest.er1
>conftest.err
17723 cat conftest.err
>&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } &&
17726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17727 { (case "(($ac_try" in
17728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17729 *) ac_try_echo=$ac_try;;
17731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17732 (eval "$ac_try") 2>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; } &&
17736 { ac_try='test -s conftest$ac_exeext'
17737 { (case "(($ac_try" in
17738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17739 *) ac_try_echo
=$ac_try;;
17741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17742 (eval "$ac_try") 2>&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; }; then
17746 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17747 if test "x$ac_cv_lib_soname_Xrandr" = "x"
17749 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
17752 echo "$as_me: failed program was:" >&5
17753 sed 's/^/| /' conftest.
$ac_ext >&5
17755 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
17758 rm -f core conftest.err conftest.
$ac_objext \
17759 conftest
$ac_exeext conftest.
$ac_ext
17760 LIBS
=$ac_get_soname_save_LIBS
17762 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
17763 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
17764 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17766 cat >>confdefs.h
<<_ACEOF
17767 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17772 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17773 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17774 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17775 echo $ECHO_N "(cached) $ECHO_C" >&6
17777 ac_get_soname_save_LIBS
=$LIBS
17778 LIBS
="-lfreetype $X_LIBS $LIBS"
17779 cat >conftest.
$ac_ext <<_ACEOF
17782 cat confdefs.h
>>conftest.
$ac_ext
17783 cat >>conftest.
$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17786 /* Override any GCC internal prototype to avoid an error.
17787 Use char because int might match the return type of a GCC
17788 builtin and then its argument prototype would still apply. */
17792 char FT_Init_FreeType ();
17796 return FT_Init_FreeType ();
17801 rm -f conftest.
$ac_objext conftest
$ac_exeext
17802 if { (ac_try
="$ac_link"
17803 case "(($ac_try" in
17804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17805 *) ac_try_echo=$ac_try;;
17807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17808 (eval "$ac_link") 2>conftest.er1
17810 grep -v '^ *+' conftest.er1 >conftest.err
17812 cat conftest.err >&5
17813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814 (exit $ac_status); } &&
17815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17816 { (case "(($ac_try" in
17817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17818 *) ac_try_echo
=$ac_try;;
17820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17821 (eval "$ac_try") 2>&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); }; } &&
17825 { ac_try
='test -s conftest$ac_exeext'
17826 { (case "(($ac_try" in
17827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17828 *) ac_try_echo=$ac_try;;
17830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17831 (eval "$ac_try") 2>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; }; then
17835 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfreetype
\\.
$LIBEXT |
sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17836 if test "x$ac_cv_lib_soname_freetype" = "x"
17838 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.$ac_ext >&5
17844 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17847 rm -f core conftest.err conftest.$ac_objext \
17848 conftest$ac_exeext conftest.$ac_ext
17849 LIBS=$ac_get_soname_save_LIBS
17851 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17852 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17853 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17855 cat >>confdefs.h <<_ACEOF
17856 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17861 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17862 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17863 if test "${ac_cv_lib_soname_GL+set}" = set; then
17864 echo $ECHO_N "(cached) $ECHO_C" >&6
17866 ac_get_soname_save_LIBS=$LIBS
17867 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17868 cat >conftest.$ac_ext <<_ACEOF
17871 cat confdefs.h >>conftest.$ac_ext
17872 cat >>conftest.$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17875 /* Override any GCC internal prototype to avoid an error.
17876 Use char because int might match the return type of a GCC
17877 builtin and then its argument prototype would still apply. */
17881 char glXQueryExtension ();
17885 return glXQueryExtension ();
17890 rm -f conftest.$ac_objext conftest$ac_exeext
17891 if { (ac_try="$ac_link"
17892 case "(($ac_try" in
17893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17894 *) ac_try_echo
=$ac_try;;
17896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17897 (eval "$ac_link") 2>conftest.er1
17899 grep -v '^ *+' conftest.er1
>conftest.err
17901 cat conftest.err
>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); } &&
17904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17905 { (case "(($ac_try" in
17906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17907 *) ac_try_echo=$ac_try;;
17909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17910 (eval "$ac_try") 2>&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; } &&
17914 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; }; then
17924 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17925 if test "x$ac_cv_lib_soname_GL" = "x"
17927 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
17930 echo "$as_me: failed program was:" >&5
17931 sed 's/^/| /' conftest.
$ac_ext >&5
17933 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
17936 rm -f core conftest.err conftest.
$ac_objext \
17937 conftest
$ac_exeext conftest.
$ac_ext
17938 LIBS
=$ac_get_soname_save_LIBS
17940 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17941 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17942 if test "${ac_cv_lib_soname_GL+set}" = set; then
17944 cat >>confdefs.h
<<_ACEOF
17945 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17950 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
17951 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
17952 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17953 echo $ECHO_N "(cached) $ECHO_C" >&6
17955 ac_get_soname_save_LIBS
=$LIBS
17956 LIBS
="-ldbus-1 $LIBS"
17957 cat >conftest.
$ac_ext <<_ACEOF
17960 cat confdefs.h
>>conftest.
$ac_ext
17961 cat >>conftest.
$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17964 /* Override any GCC internal prototype to avoid an error.
17965 Use char because int might match the return type of a GCC
17966 builtin and then its argument prototype would still apply. */
17970 char dbus_error_init ();
17974 return dbus_error_init ();
17979 rm -f conftest.
$ac_objext conftest
$ac_exeext
17980 if { (ac_try
="$ac_link"
17981 case "(($ac_try" in
17982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_link") 2>conftest.er1
17988 grep -v '^ *+' conftest.er1 >conftest.err
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } &&
17993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17994 { (case "(($ac_try" in
17995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17996 *) ac_try_echo
=$ac_try;;
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17999 (eval "$ac_try") 2>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); }; } &&
18003 { ac_try
='test -s conftest$ac_exeext'
18004 { (case "(($ac_try" in
18005 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18006 *) ac_try_echo=$ac_try;;
18008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18009 (eval "$ac_try") 2>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; }; then
18013 ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libdbus-1
\\.
$LIBEXT |
sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18014 if test "x$ac_cv_lib_soname_dbus_1" = "x"
18016 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.$ac_ext >&5
18022 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18025 rm -f core conftest.err conftest.$ac_objext \
18026 conftest$ac_exeext conftest.$ac_ext
18027 LIBS=$ac_get_soname_save_LIBS
18029 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
18030 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
18031 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18033 cat >>confdefs.h <<_ACEOF
18034 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
18039 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
18040 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
18041 if test "${ac_cv_lib_soname_hal+set}" = set; then
18042 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 ac_get_soname_save_LIBS=$LIBS
18046 cat >conftest.$ac_ext <<_ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18053 /* Override any GCC internal prototype to avoid an error.
18054 Use char because int might match the return type of a GCC
18055 builtin and then its argument prototype would still apply. */
18059 char libhal_ctx_new ();
18063 return libhal_ctx_new ();
18068 rm -f conftest.$ac_objext conftest$ac_exeext
18069 if { (ac_try="$ac_link"
18070 case "(($ac_try" in
18071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18072 *) ac_try_echo
=$ac_try;;
18074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18075 (eval "$ac_link") 2>conftest.er1
18077 grep -v '^ *+' conftest.er1
>conftest.err
18079 cat conftest.err
>&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); } &&
18082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18083 { (case "(($ac_try" in
18084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18085 *) ac_try_echo=$ac_try;;
18087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18088 (eval "$ac_try") 2>&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); }; } &&
18092 { ac_try='test -s conftest$ac_exeext'
18093 { (case "(($ac_try" in
18094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18095 *) ac_try_echo
=$ac_try;;
18097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18098 (eval "$ac_try") 2>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18103 if test "x$ac_cv_lib_soname_hal" = "x"
18105 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
18108 echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.
$ac_ext >&5
18111 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
18114 rm -f core conftest.err conftest.
$ac_objext \
18115 conftest
$ac_exeext conftest.
$ac_ext
18116 LIBS
=$ac_get_soname_save_LIBS
18118 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
18119 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
18120 if test "${ac_cv_lib_soname_hal+set}" = set; then
18122 cat >>confdefs.h
<<_ACEOF
18123 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
18128 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
18129 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
18130 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 ac_get_soname_save_LIBS
=$LIBS
18134 LIBS
="-ltxc_dxtn $LIBS"
18135 cat >conftest.
$ac_ext <<_ACEOF
18138 cat confdefs.h
>>conftest.
$ac_ext
18139 cat >>conftest.
$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18142 /* Override any GCC internal prototype to avoid an error.
18143 Use char because int might match the return type of a GCC
18144 builtin and then its argument prototype would still apply. */
18148 char fetch_2d_texel_rgba_dxt1 ();
18152 return fetch_2d_texel_rgba_dxt1 ();
18157 rm -f conftest.
$ac_objext conftest
$ac_exeext
18158 if { (ac_try
="$ac_link"
18159 case "(($ac_try" in
18160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18161 *) ac_try_echo=$ac_try;;
18163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18164 (eval "$ac_link") 2>conftest.er1
18166 grep -v '^ *+' conftest.er1 >conftest.err
18168 cat conftest.err >&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); } &&
18171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18172 { (case "(($ac_try" in
18173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18174 *) ac_try_echo
=$ac_try;;
18176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18177 (eval "$ac_try") 2>&5
18179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180 (exit $ac_status); }; } &&
18181 { ac_try
='test -s conftest$ac_exeext'
18182 { (case "(($ac_try" in
18183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18184 *) ac_try_echo=$ac_try;;
18186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18187 (eval "$ac_try") 2>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); }; }; then
18191 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libtxc_dxtn
\\.
$LIBEXT |
sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18192 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
18194 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.$ac_ext >&5
18200 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18203 rm -f core conftest.err conftest.$ac_objext \
18204 conftest$ac_exeext conftest.$ac_ext
18205 LIBS=$ac_get_soname_save_LIBS
18207 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
18208 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
18209 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18211 cat >>confdefs.h <<_ACEOF
18212 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
18217 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
18218 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
18219 if test "${ac_cv_lib_soname_cups+set}" = set; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18222 ac_get_soname_save_LIBS=$LIBS
18223 LIBS="-lcups $LIBS"
18224 cat >conftest.$ac_ext <<_ACEOF
18227 cat confdefs.h >>conftest.$ac_ext
18228 cat >>conftest.$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18231 /* Override any GCC internal prototype to avoid an error.
18232 Use char because int might match the return type of a GCC
18233 builtin and then its argument prototype would still apply. */
18237 char cupsGetDefault ();
18241 return cupsGetDefault ();
18246 rm -f conftest.$ac_objext conftest$ac_exeext
18247 if { (ac_try="$ac_link"
18248 case "(($ac_try" in
18249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18250 *) ac_try_echo
=$ac_try;;
18252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18253 (eval "$ac_link") 2>conftest.er1
18255 grep -v '^ *+' conftest.er1
>conftest.err
18257 cat conftest.err
>&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); } &&
18260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18261 { (case "(($ac_try" in
18262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18263 *) ac_try_echo=$ac_try;;
18265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18266 (eval "$ac_try") 2>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; } &&
18270 { ac_try='test -s conftest$ac_exeext'
18271 { (case "(($ac_try" in
18272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18273 *) ac_try_echo
=$ac_try;;
18275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18276 (eval "$ac_try") 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18281 if test "x$ac_cv_lib_soname_cups" = "x"
18283 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
18286 echo "$as_me: failed program was:" >&5
18287 sed 's/^/| /' conftest.
$ac_ext >&5
18289 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
18292 rm -f core conftest.err conftest.
$ac_objext \
18293 conftest
$ac_exeext conftest.
$ac_ext
18294 LIBS
=$ac_get_soname_save_LIBS
18296 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
18297 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
18298 if test "${ac_cv_lib_soname_cups+set}" = set; then
18300 cat >>confdefs.h
<<_ACEOF
18301 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
18306 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
18307 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
18308 if test "${ac_cv_lib_soname_jack+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 ac_get_soname_save_LIBS
=$LIBS
18312 LIBS
="-ljack $LIBS"
18313 cat >conftest.
$ac_ext <<_ACEOF
18316 cat confdefs.h
>>conftest.
$ac_ext
18317 cat >>conftest.
$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18320 /* Override any GCC internal prototype to avoid an error.
18321 Use char because int might match the return type of a GCC
18322 builtin and then its argument prototype would still apply. */
18326 char jack_client_new ();
18330 return jack_client_new ();
18335 rm -f conftest.
$ac_objext conftest
$ac_exeext
18336 if { (ac_try
="$ac_link"
18337 case "(($ac_try" in
18338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18339 *) ac_try_echo=$ac_try;;
18341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18342 (eval "$ac_link") 2>conftest.er1
18344 grep -v '^ *+' conftest.er1 >conftest.err
18346 cat conftest.err >&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } &&
18349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18350 { (case "(($ac_try" in
18351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18352 *) ac_try_echo
=$ac_try;;
18354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18355 (eval "$ac_try") 2>&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); }; } &&
18359 { ac_try
='test -s conftest$ac_exeext'
18360 { (case "(($ac_try" in
18361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18362 *) ac_try_echo=$ac_try;;
18364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18365 (eval "$ac_try") 2>&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; }; then
18369 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjack
\\.
$LIBEXT |
sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18370 if test "x$ac_cv_lib_soname_jack" = "x"
18372 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18378 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18381 rm -f core conftest.err conftest.$ac_objext \
18382 conftest$ac_exeext conftest.$ac_ext
18383 LIBS=$ac_get_soname_save_LIBS
18385 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
18386 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
18387 if test "${ac_cv_lib_soname_jack+set}" = set; then
18389 cat >>confdefs.h <<_ACEOF
18390 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
18395 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
18396 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
18397 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18398 echo $ECHO_N "(cached) $ECHO_C" >&6
18400 ac_get_soname_save_LIBS=$LIBS
18401 LIBS="-lfontconfig $LIBS"
18402 cat >conftest.$ac_ext <<_ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18409 /* Override any GCC internal prototype to avoid an error.
18410 Use char because int might match the return type of a GCC
18411 builtin and then its argument prototype would still apply. */
18424 rm -f conftest.$ac_objext conftest$ac_exeext
18425 if { (ac_try="$ac_link"
18426 case "(($ac_try" in
18427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18428 *) ac_try_echo
=$ac_try;;
18430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18431 (eval "$ac_link") 2>conftest.er1
18433 grep -v '^ *+' conftest.er1
>conftest.err
18435 cat conftest.err
>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } &&
18438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18439 { (case "(($ac_try" in
18440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18441 *) ac_try_echo=$ac_try;;
18443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18444 (eval "$ac_try") 2>&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); }; } &&
18448 { ac_try='test -s conftest$ac_exeext'
18449 { (case "(($ac_try" in
18450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18451 *) ac_try_echo
=$ac_try;;
18453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18454 (eval "$ac_try") 2>&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); }; }; then
18458 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18459 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18461 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.
$ac_ext >&5
18467 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
18470 rm -f core conftest.err conftest.
$ac_objext \
18471 conftest
$ac_exeext conftest.
$ac_ext
18472 LIBS
=$ac_get_soname_save_LIBS
18474 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
18475 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
18476 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18478 cat >>confdefs.h
<<_ACEOF
18479 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
18484 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
18485 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
18486 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18487 echo $ECHO_N "(cached) $ECHO_C" >&6
18489 ac_get_soname_save_LIBS
=$LIBS
18491 cat >conftest.
$ac_ext <<_ACEOF
18494 cat confdefs.h
>>conftest.
$ac_ext
18495 cat >>conftest.
$ac_ext <<_ACEOF
18496 /* end confdefs.h. */
18498 /* Override any GCC internal prototype to avoid an error.
18499 Use char because int might match the return type of a GCC
18500 builtin and then its argument prototype would still apply. */
18504 char SSL_library_init ();
18508 return SSL_library_init ();
18513 rm -f conftest.
$ac_objext conftest
$ac_exeext
18514 if { (ac_try
="$ac_link"
18515 case "(($ac_try" in
18516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18517 *) ac_try_echo=$ac_try;;
18519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18520 (eval "$ac_link") 2>conftest.er1
18522 grep -v '^ *+' conftest.er1 >conftest.err
18524 cat conftest.err >&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } &&
18527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18528 { (case "(($ac_try" in
18529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18530 *) ac_try_echo
=$ac_try;;
18532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18533 (eval "$ac_try") 2>&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); }; } &&
18537 { ac_try
='test -s conftest$ac_exeext'
18538 { (case "(($ac_try" in
18539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18540 *) ac_try_echo=$ac_try;;
18542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18543 (eval "$ac_try") 2>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; }; then
18547 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libssl
\\.
$LIBEXT |
sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18548 if test "x$ac_cv_lib_soname_ssl" = "x"
18550 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18553 echo "$as_me: failed program was:" >&5
18554 sed 's/^/| /' conftest.$ac_ext >&5
18556 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18559 rm -f core conftest.err conftest.$ac_objext \
18560 conftest$ac_exeext conftest.$ac_ext
18561 LIBS=$ac_get_soname_save_LIBS
18563 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
18564 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
18565 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18567 cat >>confdefs.h <<_ACEOF
18568 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
18573 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
18574 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
18575 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18576 echo $ECHO_N "(cached) $ECHO_C" >&6
18578 ac_get_soname_save_LIBS=$LIBS
18579 LIBS="-lcrypto $LIBS"
18580 cat >conftest.$ac_ext <<_ACEOF
18583 cat confdefs.h >>conftest.$ac_ext
18584 cat >>conftest.$ac_ext <<_ACEOF
18585 /* end confdefs.h. */
18587 /* Override any GCC internal prototype to avoid an error.
18588 Use char because int might match the return type of a GCC
18589 builtin and then its argument prototype would still apply. */
18593 char BIO_new_socket ();
18597 return BIO_new_socket ();
18602 rm -f conftest.$ac_objext conftest$ac_exeext
18603 if { (ac_try="$ac_link"
18604 case "(($ac_try" in
18605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18606 *) ac_try_echo
=$ac_try;;
18608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18609 (eval "$ac_link") 2>conftest.er1
18611 grep -v '^ *+' conftest.er1
>conftest.err
18613 cat conftest.err
>&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } &&
18616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18617 { (case "(($ac_try" in
18618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18619 *) ac_try_echo=$ac_try;;
18621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18622 (eval "$ac_try") 2>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; } &&
18626 { ac_try='test -s conftest$ac_exeext'
18627 { (case "(($ac_try" in
18628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18629 *) ac_try_echo
=$ac_try;;
18631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18632 (eval "$ac_try") 2>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); }; }; then
18636 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18637 if test "x$ac_cv_lib_soname_crypto" = "x"
18639 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.
$ac_ext >&5
18645 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
18648 rm -f core conftest.err conftest.
$ac_objext \
18649 conftest
$ac_exeext conftest.
$ac_ext
18650 LIBS
=$ac_get_soname_save_LIBS
18652 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
18653 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
18654 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18656 cat >>confdefs.h
<<_ACEOF
18657 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
18662 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
18663 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
18664 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18665 echo $ECHO_N "(cached) $ECHO_C" >&6
18667 ac_get_soname_save_LIBS
=$LIBS
18668 LIBS
="-lncurses $LIBS"
18669 cat >conftest.
$ac_ext <<_ACEOF
18672 cat confdefs.h
>>conftest.
$ac_ext
18673 cat >>conftest.
$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18676 /* Override any GCC internal prototype to avoid an error.
18677 Use char because int might match the return type of a GCC
18678 builtin and then its argument prototype would still apply. */
18691 rm -f conftest.
$ac_objext conftest
$ac_exeext
18692 if { (ac_try
="$ac_link"
18693 case "(($ac_try" in
18694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18695 *) ac_try_echo=$ac_try;;
18697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18698 (eval "$ac_link") 2>conftest.er1
18700 grep -v '^ *+' conftest.er1 >conftest.err
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } &&
18705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18706 { (case "(($ac_try" in
18707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18708 *) ac_try_echo
=$ac_try;;
18710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18711 (eval "$ac_try") 2>&5
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); }; } &&
18715 { ac_try
='test -s conftest$ac_exeext'
18716 { (case "(($ac_try" in
18717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18718 *) ac_try_echo=$ac_try;;
18720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18721 (eval "$ac_try") 2>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; }; then
18725 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libncurses
\\.
$LIBEXT |
sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18726 if test "x$ac_cv_lib_soname_ncurses" = "x"
18728 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.$ac_ext >&5
18734 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18737 rm -f core conftest.err conftest.$ac_objext \
18738 conftest$ac_exeext conftest.$ac_ext
18739 LIBS=$ac_get_soname_save_LIBS
18741 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
18742 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
18743 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18745 cat >>confdefs.h <<_ACEOF
18746 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
18751 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
18752 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
18753 if test "${ac_cv_lib_soname_curses+set}" = set; then
18754 echo $ECHO_N "(cached) $ECHO_C" >&6
18756 ac_get_soname_save_LIBS=$LIBS
18757 LIBS="-lcurses $LIBS"
18758 cat >conftest.$ac_ext <<_ACEOF
18761 cat confdefs.h >>conftest.$ac_ext
18762 cat >>conftest.$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18765 /* Override any GCC internal prototype to avoid an error.
18766 Use char because int might match the return type of a GCC
18767 builtin and then its argument prototype would still apply. */
18780 rm -f conftest.$ac_objext conftest$ac_exeext
18781 if { (ac_try="$ac_link"
18782 case "(($ac_try" in
18783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18784 *) ac_try_echo
=$ac_try;;
18786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18787 (eval "$ac_link") 2>conftest.er1
18789 grep -v '^ *+' conftest.er1
>conftest.err
18791 cat conftest.err
>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); } &&
18794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18795 { (case "(($ac_try" in
18796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18797 *) ac_try_echo=$ac_try;;
18799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18800 (eval "$ac_try") 2>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; } &&
18804 { ac_try='test -s conftest$ac_exeext'
18805 { (case "(($ac_try" in
18806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18807 *) ac_try_echo
=$ac_try;;
18809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18810 (eval "$ac_try") 2>&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18814 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18815 if test "x$ac_cv_lib_soname_curses" = "x"
18817 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
18820 echo "$as_me: failed program was:" >&5
18821 sed 's/^/| /' conftest.
$ac_ext >&5
18823 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
18826 rm -f core conftest.err conftest.
$ac_objext \
18827 conftest
$ac_exeext conftest.
$ac_ext
18828 LIBS
=$ac_get_soname_save_LIBS
18830 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18831 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18832 if test "${ac_cv_lib_soname_curses+set}" = set; then
18834 cat >>confdefs.h
<<_ACEOF
18835 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18840 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18841 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18842 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18843 echo $ECHO_N "(cached) $ECHO_C" >&6
18845 ac_get_soname_save_LIBS
=$LIBS
18846 LIBS
="-ljpeg $LIBS"
18847 cat >conftest.
$ac_ext <<_ACEOF
18850 cat confdefs.h
>>conftest.
$ac_ext
18851 cat >>conftest.
$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18854 /* Override any GCC internal prototype to avoid an error.
18855 Use char because int might match the return type of a GCC
18856 builtin and then its argument prototype would still apply. */
18860 char jpeg_start_decompress ();
18864 return jpeg_start_decompress ();
18869 rm -f conftest.
$ac_objext conftest
$ac_exeext
18870 if { (ac_try
="$ac_link"
18871 case "(($ac_try" in
18872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18873 *) ac_try_echo=$ac_try;;
18875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18876 (eval "$ac_link") 2>conftest.er1
18878 grep -v '^ *+' conftest.er1 >conftest.err
18880 cat conftest.err >&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } &&
18883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18884 { (case "(($ac_try" in
18885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18886 *) ac_try_echo
=$ac_try;;
18888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18889 (eval "$ac_try") 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; } &&
18893 { ac_try
='test -s conftest$ac_exeext'
18894 { (case "(($ac_try" in
18895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18896 *) ac_try_echo=$ac_try;;
18898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18899 (eval "$ac_try") 2>&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; }; then
18903 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjpeg
\\.
$LIBEXT |
sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18904 if test "x$ac_cv_lib_soname_jpeg" = "x"
18906 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.$ac_ext >&5
18912 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18915 rm -f core conftest.err conftest.$ac_objext \
18916 conftest$ac_exeext conftest.$ac_ext
18917 LIBS=$ac_get_soname_save_LIBS
18919 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18920 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18921 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18923 cat >>confdefs.h <<_ACEOF
18924 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18929 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
18930 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
18931 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18932 echo $ECHO_N "(cached) $ECHO_C" >&6
18934 ac_get_soname_save_LIBS=$LIBS
18935 LIBS="-lungif $LIBS"
18936 cat >conftest.$ac_ext <<_ACEOF
18939 cat confdefs.h >>conftest.$ac_ext
18940 cat >>conftest.$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18943 /* Override any GCC internal prototype to avoid an error.
18944 Use char because int might match the return type of a GCC
18945 builtin and then its argument prototype would still apply. */
18953 return DGifOpen ();
18958 rm -f conftest.$ac_objext conftest$ac_exeext
18959 if { (ac_try="$ac_link"
18960 case "(($ac_try" in
18961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18962 *) ac_try_echo
=$ac_try;;
18964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18965 (eval "$ac_link") 2>conftest.er1
18967 grep -v '^ *+' conftest.er1
>conftest.err
18969 cat conftest.err
>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } &&
18972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18973 { (case "(($ac_try" in
18974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18975 *) ac_try_echo=$ac_try;;
18977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18978 (eval "$ac_try") 2>&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); }; } &&
18982 { ac_try='test -s conftest$ac_exeext'
18983 { (case "(($ac_try" in
18984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18985 *) ac_try_echo
=$ac_try;;
18987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18988 (eval "$ac_try") 2>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); }; }; then
18992 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18993 if test "x$ac_cv_lib_soname_ungif" = "x"
18995 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.
$ac_ext >&5
19001 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
19004 rm -f core conftest.err conftest.
$ac_objext \
19005 conftest
$ac_exeext conftest.
$ac_ext
19006 LIBS
=$ac_get_soname_save_LIBS
19008 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
19009 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
19010 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19012 cat >>confdefs.h
<<_ACEOF
19013 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
19018 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
19019 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
19020 if test "${ac_cv_lib_soname_gif+set}" = set; then
19021 echo $ECHO_N "(cached) $ECHO_C" >&6
19023 ac_get_soname_save_LIBS
=$LIBS
19025 cat >conftest.
$ac_ext <<_ACEOF
19028 cat confdefs.h
>>conftest.
$ac_ext
19029 cat >>conftest.
$ac_ext <<_ACEOF
19030 /* end confdefs.h. */
19032 /* Override any GCC internal prototype to avoid an error.
19033 Use char because int might match the return type of a GCC
19034 builtin and then its argument prototype would still apply. */
19042 return DGifOpen ();
19047 rm -f conftest.
$ac_objext conftest
$ac_exeext
19048 if { (ac_try
="$ac_link"
19049 case "(($ac_try" in
19050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19051 *) ac_try_echo=$ac_try;;
19053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19054 (eval "$ac_link") 2>conftest.er1
19056 grep -v '^ *+' conftest.er1 >conftest.err
19058 cat conftest.err >&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } &&
19061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19062 { (case "(($ac_try" in
19063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19064 *) ac_try_echo
=$ac_try;;
19066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19067 (eval "$ac_try") 2>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; } &&
19071 { ac_try
='test -s conftest$ac_exeext'
19072 { (case "(($ac_try" in
19073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19074 *) ac_try_echo=$ac_try;;
19076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19077 (eval "$ac_try") 2>&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); }; }; then
19081 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libgif
\\.
$LIBEXT |
sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19082 if test "x$ac_cv_lib_soname_gif" = "x"
19084 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19087 echo "$as_me: failed program was:" >&5
19088 sed 's/^/| /' conftest.$ac_ext >&5
19090 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19093 rm -f core conftest.err conftest.$ac_objext \
19094 conftest$ac_exeext conftest.$ac_ext
19095 LIBS=$ac_get_soname_save_LIBS
19097 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
19098 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
19099 if test "${ac_cv_lib_soname_gif+set}" = set; then
19101 cat >>confdefs.h <<_ACEOF
19102 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
19107 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
19108 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
19109 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19110 echo $ECHO_N "(cached) $ECHO_C" >&6
19112 ac_get_soname_save_LIBS=$LIBS
19113 LIBS="-lcapi20 $LIBS"
19114 cat >conftest.$ac_ext <<_ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19121 /* Override any GCC internal prototype to avoid an error.
19122 Use char because int might match the return type of a GCC
19123 builtin and then its argument prototype would still apply. */
19127 char capi20_isinstalled ();
19131 return capi20_isinstalled ();
19136 rm -f conftest.$ac_objext conftest$ac_exeext
19137 if { (ac_try="$ac_link"
19138 case "(($ac_try" in
19139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19140 *) ac_try_echo
=$ac_try;;
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_link") 2>conftest.er1
19145 grep -v '^ *+' conftest.er1
>conftest.err
19147 cat conftest.err
>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } &&
19150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19151 { (case "(($ac_try" in
19152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19153 *) ac_try_echo=$ac_try;;
19155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19156 (eval "$ac_try") 2>&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); }; } &&
19160 { ac_try='test -s conftest$ac_exeext'
19161 { (case "(($ac_try" in
19162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19163 *) ac_try_echo
=$ac_try;;
19165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19166 (eval "$ac_try") 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; }; then
19170 ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19171 if test "x$ac_cv_lib_soname_capi20" = "x"
19173 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
19176 echo "$as_me: failed program was:" >&5
19177 sed 's/^/| /' conftest.
$ac_ext >&5
19179 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
19182 rm -f core conftest.err conftest.
$ac_objext \
19183 conftest
$ac_exeext conftest.
$ac_ext
19184 LIBS
=$ac_get_soname_save_LIBS
19186 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
19187 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
19188 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19190 cat >>confdefs.h
<<_ACEOF
19191 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
19331 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19332 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19334 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19335 echo $ECHO_N "(cached) $ECHO_C" >&6
19337 cat >conftest.
$ac_ext <<_ACEOF
19340 cat confdefs.h
>>conftest.
$ac_ext
19341 cat >>conftest.
$ac_ext <<_ACEOF
19342 /* end confdefs.h. */
19343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19345 #define $ac_func innocuous_$ac_func
19347 /* System header to define __stub macros and hopefully few prototypes,
19348 which can conflict with char $ac_func (); below.
19349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19350 <limits.h> exists even on freestanding compilers. */
19353 # include <limits.h>
19355 # include <assert.h>
19360 /* Override any GCC internal prototype to avoid an error.
19361 Use char because int might match the return type of a GCC
19362 builtin and then its argument prototype would still apply. */
19367 /* The GNU C library defines this for functions which it implements
19368 to always fail with ENOSYS. Some functions are actually named
19369 something starting with __ and the normal name is an alias. */
19370 #if defined __stub_$ac_func || defined __stub___$ac_func
19377 return $ac_func ();
19382 rm -f conftest.
$ac_objext conftest
$ac_exeext
19383 if { (ac_try
="$ac_link"
19384 case "(($ac_try" in
19385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19386 *) ac_try_echo=$ac_try;;
19388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19389 (eval "$ac_link") 2>conftest.er1
19391 grep -v '^ *+' conftest.er1 >conftest.err
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } &&
19396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19397 { (case "(($ac_try" in
19398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19399 *) ac_try_echo
=$ac_try;;
19401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_try") 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); }; } &&
19406 { ac_try
='test -s conftest$ac_exeext'
19407 { (case "(($ac_try" in
19408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19409 *) ac_try_echo=$ac_try;;
19411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19412 (eval "$ac_try") 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19416 eval "$as_ac_var=yes"
19418 echo "$as_me: failed program was:" >&5
19419 sed 's/^/| /' conftest.$ac_ext >&5
19421 eval "$as_ac_var=no"
19424 rm -f core conftest.err conftest.$ac_objext \
19425 conftest$ac_exeext conftest.$ac_ext
19427 ac_res=`eval echo '${'$as_ac_var'}'`
19428 { echo "$as_me:$LINENO: result: $ac_res" >&5
19429 echo "${ECHO_T}$ac_res" >&6; }
19430 if test `eval echo '${'$as_ac_var'}'` = yes; then
19431 cat >>confdefs.h <<_ACEOF
19432 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
19441 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19442 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19443 if test "${ac_cv_c_const+set}" = set; then
19444 echo $ECHO_N "(cached) $ECHO_C" >&6
19446 cat >conftest.$ac_ext <<_ACEOF
19449 cat confdefs.h >>conftest.$ac_ext
19450 cat >>conftest.$ac_ext <<_ACEOF
19451 /* end confdefs.h. */
19456 /* FIXME: Include the comments suggested by Paul. */
19457 #ifndef __cplusplus
19458 /* Ultrix mips cc rejects this. */
19459 typedef int charset[2];
19461 /* SunOS 4.1.1 cc rejects this. */
19462 char const *const *ccp;
19464 /* NEC SVR4.0.2 mips cc rejects this. */
19465 struct point {int x, y;};
19466 static struct point const zero = {0,0};
19467 /* AIX XL C 1.02.0.0 rejects this.
19468 It does not let you subtract one const X* pointer from another in
19469 an arm of an if-expression whose if-part is not a constant
19471 const char *g = "string";
19472 ccp = &g + (g ? g-g : 0);
19473 /* HPUX 7.0 cc rejects these. */
19476 ccp = (char const *const *) p;
19477 { /* SCO 3.2v4 cc rejects this. */
19479 char const *s = 0 ? (char *) 0 : (char const *) 0;
19484 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19485 int x[] = {25, 17};
19486 const int *foo = &x[0];
19489 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19490 typedef const int *iptr;
19494 { /* AIX XL C 1.02.0.0 rejects this saying
19495 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19496 struct s { int j; const int *ap[3]; };
19497 struct s *b; b->j = 5;
19499 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19500 const int foo = 10;
19501 if (!foo) return 0;
19503 return !x[0] && !zero.x;
19510 rm -f conftest.$ac_objext
19511 if { (ac_try="$ac_compile"
19512 case "(($ac_try" in
19513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19514 *) ac_try_echo
=$ac_try;;
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_compile") 2>conftest.er1
19519 grep -v '^ *+' conftest.er1
>conftest.err
19521 cat conftest.err
>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } &&
19524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19525 { (case "(($ac_try" in
19526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19527 *) ac_try_echo=$ac_try;;
19529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19530 (eval "$ac_try") 2>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; } &&
19534 { ac_try='test -s conftest.$ac_objext'
19535 { (case "(($ac_try" in
19536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19537 *) ac_try_echo
=$ac_try;;
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_try") 2>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; }; then
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.
$ac_ext >&5
19552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19554 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19555 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19556 if test $ac_cv_c_const = no
; then
19558 cat >>confdefs.h
<<\_ACEOF
19564 { echo "$as_me:$LINENO: checking for inline" >&5
19565 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19566 if test "${ac_cv_c_inline+set}" = set; then
19567 echo $ECHO_N "(cached) $ECHO_C" >&6
19570 for ac_kw
in inline __inline__ __inline
; do
19571 cat >conftest.
$ac_ext <<_ACEOF
19574 cat confdefs.h
>>conftest.
$ac_ext
19575 cat >>conftest.
$ac_ext <<_ACEOF
19576 /* end confdefs.h. */
19577 #ifndef __cplusplus
19579 static $ac_kw foo_t static_foo () {return 0; }
19580 $ac_kw foo_t foo () {return 0; }
19584 rm -f conftest.
$ac_objext
19585 if { (ac_try
="$ac_compile"
19586 case "(($ac_try" in
19587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19588 *) ac_try_echo=$ac_try;;
19590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19591 (eval "$ac_compile") 2>conftest.er1
19593 grep -v '^ *+' conftest.er1 >conftest.err
19595 cat conftest.err >&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } &&
19598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19599 { (case "(($ac_try" in
19600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19601 *) ac_try_echo
=$ac_try;;
19603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19604 (eval "$ac_try") 2>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); }; } &&
19608 { ac_try
='test -s conftest.$ac_objext'
19609 { (case "(($ac_try" in
19610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19611 *) ac_try_echo=$ac_try;;
19613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19614 (eval "$ac_try") 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; }; then
19618 ac_cv_c_inline=$ac_kw
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19627 test "$ac_cv_c_inline" != no && break
19631 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19632 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19635 case $ac_cv_c_inline in
19638 case $ac_cv_c_inline in
19640 *) ac_val=$ac_cv_c_inline;;
19642 cat >>confdefs.h <<_ACEOF
19643 #ifndef __cplusplus
19644 #define inline $ac_val
19650 { echo "$as_me:$LINENO: checking for mode_t" >&5
19651 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19652 if test "${ac_cv_type_mode_t+set}" = set; then
19653 echo $ECHO_N "(cached) $ECHO_C" >&6
19655 cat >conftest.$ac_ext <<_ACEOF
19658 cat confdefs.h >>conftest.$ac_ext
19659 cat >>conftest.$ac_ext <<_ACEOF
19660 /* end confdefs.h. */
19661 $ac_includes_default
19662 typedef mode_t ac__type_new_;
19666 if ((ac__type_new_ *) 0)
19668 if (sizeof (ac__type_new_))
19674 rm -f conftest.$ac_objext
19675 if { (ac_try="$ac_compile"
19676 case "(($ac_try" in
19677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19678 *) ac_try_echo
=$ac_try;;
19680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19681 (eval "$ac_compile") 2>conftest.er1
19683 grep -v '^ *+' conftest.er1
>conftest.err
19685 cat conftest.err
>&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); } &&
19688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19689 { (case "(($ac_try" in
19690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19691 *) ac_try_echo=$ac_try;;
19693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19694 (eval "$ac_try") 2>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; } &&
19698 { ac_try='test -s conftest.$ac_objext'
19699 { (case "(($ac_try" in
19700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19701 *) ac_try_echo
=$ac_try;;
19703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_try") 2>&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); }; }; then
19708 ac_cv_type_mode_t
=yes
19710 echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.
$ac_ext >&5
19713 ac_cv_type_mode_t
=no
19716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19718 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19719 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19720 if test $ac_cv_type_mode_t = yes; then
19722 cat >>confdefs.h
<<_ACEOF
19723 #define HAVE_MODE_T 1
19728 { echo "$as_me:$LINENO: checking for off_t" >&5
19729 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19730 if test "${ac_cv_type_off_t+set}" = set; then
19731 echo $ECHO_N "(cached) $ECHO_C" >&6
19733 cat >conftest.
$ac_ext <<_ACEOF
19736 cat confdefs.h
>>conftest.
$ac_ext
19737 cat >>conftest.
$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19739 $ac_includes_default
19740 typedef off_t ac__type_new_;
19744 if ((ac__type_new_ *) 0)
19746 if (sizeof (ac__type_new_))
19752 rm -f conftest.
$ac_objext
19753 if { (ac_try
="$ac_compile"
19754 case "(($ac_try" in
19755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19756 *) ac_try_echo=$ac_try;;
19758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19759 (eval "$ac_compile") 2>conftest.er1
19761 grep -v '^ *+' conftest.er1 >conftest.err
19763 cat conftest.err >&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); } &&
19766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19767 { (case "(($ac_try" in
19768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19769 *) ac_try_echo
=$ac_try;;
19771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19772 (eval "$ac_try") 2>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; } &&
19776 { ac_try
='test -s conftest.$ac_objext'
19777 { (case "(($ac_try" in
19778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_try") 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_cv_type_off_t=yes
19788 echo "$as_me: failed program was:" >&5
19789 sed 's/^/| /' conftest.$ac_ext >&5
19791 ac_cv_type_off_t=no
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19797 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19798 if test $ac_cv_type_off_t = yes; then
19800 cat >>confdefs.h <<_ACEOF
19801 #define HAVE_OFF_T 1
19806 { echo "$as_me:$LINENO: checking for pid_t" >&5
19807 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19808 if test "${ac_cv_type_pid_t+set}" = set; then
19809 echo $ECHO_N "(cached) $ECHO_C" >&6
19811 cat >conftest.$ac_ext <<_ACEOF
19814 cat confdefs.h >>conftest.$ac_ext
19815 cat >>conftest.$ac_ext <<_ACEOF
19816 /* end confdefs.h. */
19817 $ac_includes_default
19818 typedef pid_t ac__type_new_;
19822 if ((ac__type_new_ *) 0)
19824 if (sizeof (ac__type_new_))
19830 rm -f conftest.$ac_objext
19831 if { (ac_try="$ac_compile"
19832 case "(($ac_try" in
19833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19834 *) ac_try_echo
=$ac_try;;
19836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19837 (eval "$ac_compile") 2>conftest.er1
19839 grep -v '^ *+' conftest.er1
>conftest.err
19841 cat conftest.err
>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } &&
19844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19845 { (case "(($ac_try" in
19846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19847 *) ac_try_echo=$ac_try;;
19849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19850 (eval "$ac_try") 2>&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); }; } &&
19854 { ac_try='test -s conftest.$ac_objext'
19855 { (case "(($ac_try" in
19856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19857 *) ac_try_echo
=$ac_try;;
19859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19860 (eval "$ac_try") 2>&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); }; }; then
19864 ac_cv_type_pid_t
=yes
19866 echo "$as_me: failed program was:" >&5
19867 sed 's/^/| /' conftest.
$ac_ext >&5
19869 ac_cv_type_pid_t
=no
19872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19874 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19875 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19876 if test $ac_cv_type_pid_t = yes; then
19878 cat >>confdefs.h
<<_ACEOF
19879 #define HAVE_PID_T 1
19884 { echo "$as_me:$LINENO: checking for size_t" >&5
19885 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19886 if test "${ac_cv_type_size_t+set}" = set; then
19887 echo $ECHO_N "(cached) $ECHO_C" >&6
19889 cat >conftest.
$ac_ext <<_ACEOF
19892 cat confdefs.h
>>conftest.
$ac_ext
19893 cat >>conftest.
$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895 $ac_includes_default
19896 typedef size_t ac__type_new_;
19900 if ((ac__type_new_ *) 0)
19902 if (sizeof (ac__type_new_))
19908 rm -f conftest.
$ac_objext
19909 if { (ac_try
="$ac_compile"
19910 case "(($ac_try" in
19911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19912 *) ac_try_echo=$ac_try;;
19914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19915 (eval "$ac_compile") 2>conftest.er1
19917 grep -v '^ *+' conftest.er1 >conftest.err
19919 cat conftest.err >&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); } &&
19922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19923 { (case "(($ac_try" in
19924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19925 *) ac_try_echo
=$ac_try;;
19927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19928 (eval "$ac_try") 2>&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }; } &&
19932 { ac_try
='test -s conftest.$ac_objext'
19933 { (case "(($ac_try" in
19934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19935 *) ac_try_echo=$ac_try;;
19937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19938 (eval "$ac_try") 2>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 ac_cv_type_size_t=yes
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.$ac_ext >&5
19947 ac_cv_type_size_t=no
19950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19952 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19953 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19954 if test $ac_cv_type_size_t = yes; then
19956 cat >>confdefs.h <<_ACEOF
19957 #define HAVE_SIZE_T 1
19962 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19963 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19964 if test "${ac_cv_type_ssize_t+set}" = set; then
19965 echo $ECHO_N "(cached) $ECHO_C" >&6
19967 cat >conftest.$ac_ext <<_ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 $ac_includes_default
19974 typedef ssize_t ac__type_new_;
19978 if ((ac__type_new_ *) 0)
19980 if (sizeof (ac__type_new_))
19986 rm -f conftest.$ac_objext
19987 if { (ac_try="$ac_compile"
19988 case "(($ac_try" in
19989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19990 *) ac_try_echo
=$ac_try;;
19992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_compile") 2>conftest.er1
19995 grep -v '^ *+' conftest.er1
>conftest.err
19997 cat conftest.err
>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } &&
20000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20001 { (case "(($ac_try" in
20002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20003 *) ac_try_echo=$ac_try;;
20005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20006 (eval "$ac_try") 2>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; } &&
20010 { ac_try='test -s conftest.$ac_objext'
20011 { (case "(($ac_try" in
20012 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20013 *) ac_try_echo
=$ac_try;;
20015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20016 (eval "$ac_try") 2>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); }; }; then
20020 ac_cv_type_ssize_t
=yes
20022 echo "$as_me: failed program was:" >&5
20023 sed 's/^/| /' conftest.
$ac_ext >&5
20025 ac_cv_type_ssize_t
=no
20028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20030 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
20031 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
20032 if test $ac_cv_type_ssize_t = yes; then
20034 cat >>confdefs.h
<<_ACEOF
20035 #define HAVE_SSIZE_T 1
20040 { echo "$as_me:$LINENO: checking for long long" >&5
20041 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20042 if test "${ac_cv_type_long_long+set}" = set; then
20043 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 cat >conftest.
$ac_ext <<_ACEOF
20048 cat confdefs.h
>>conftest.
$ac_ext
20049 cat >>conftest.
$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 $ac_includes_default
20052 typedef long long ac__type_new_;
20056 if ((ac__type_new_ *) 0)
20058 if (sizeof (ac__type_new_))
20064 rm -f conftest.
$ac_objext
20065 if { (ac_try
="$ac_compile"
20066 case "(($ac_try" in
20067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20068 *) ac_try_echo=$ac_try;;
20070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20071 (eval "$ac_compile") 2>conftest.er1
20073 grep -v '^ *+' conftest.er1 >conftest.err
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } &&
20078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20079 { (case "(($ac_try" in
20080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20081 *) ac_try_echo
=$ac_try;;
20083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20084 (eval "$ac_try") 2>&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); }; } &&
20088 { ac_try
='test -s conftest.$ac_objext'
20089 { (case "(($ac_try" in
20090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20091 *) ac_try_echo=$ac_try;;
20093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20094 (eval "$ac_try") 2>&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); }; }; then
20098 ac_cv_type_long_long=yes
20100 echo "$as_me: failed program was:" >&5
20101 sed 's/^/| /' conftest.$ac_ext >&5
20103 ac_cv_type_long_long=no
20106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20108 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20109 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20110 if test $ac_cv_type_long_long = yes; then
20112 cat >>confdefs.h <<_ACEOF
20113 #define HAVE_LONG_LONG 1
20118 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
20119 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
20120 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
20121 echo $ECHO_N "(cached) $ECHO_C" >&6
20123 cat >conftest.$ac_ext <<_ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 $ac_includes_default
20130 typedef fsblkcnt_t ac__type_new_;
20134 if ((ac__type_new_ *) 0)
20136 if (sizeof (ac__type_new_))
20142 rm -f conftest.$ac_objext
20143 if { (ac_try="$ac_compile"
20144 case "(($ac_try" in
20145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20146 *) ac_try_echo
=$ac_try;;
20148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20149 (eval "$ac_compile") 2>conftest.er1
20151 grep -v '^ *+' conftest.er1
>conftest.err
20153 cat conftest.err
>&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); } &&
20156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20157 { (case "(($ac_try" in
20158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20159 *) ac_try_echo=$ac_try;;
20161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20162 (eval "$ac_try") 2>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); }; } &&
20166 { ac_try='test -s conftest.$ac_objext'
20167 { (case "(($ac_try" in
20168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20169 *) ac_try_echo
=$ac_try;;
20171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20172 (eval "$ac_try") 2>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); }; }; then
20176 ac_cv_type_fsblkcnt_t
=yes
20178 echo "$as_me: failed program was:" >&5
20179 sed 's/^/| /' conftest.
$ac_ext >&5
20181 ac_cv_type_fsblkcnt_t
=no
20184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20186 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
20187 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
20188 if test $ac_cv_type_fsblkcnt_t = yes; then
20190 cat >>confdefs.h
<<_ACEOF
20191 #define HAVE_FSBLKCNT_T 1
20196 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
20197 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
20198 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
20199 echo $ECHO_N "(cached) $ECHO_C" >&6
20201 cat >conftest.
$ac_ext <<_ACEOF
20204 cat confdefs.h
>>conftest.
$ac_ext
20205 cat >>conftest.
$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20207 $ac_includes_default
20208 typedef fsfilcnt_t ac__type_new_;
20212 if ((ac__type_new_ *) 0)
20214 if (sizeof (ac__type_new_))
20220 rm -f conftest.
$ac_objext
20221 if { (ac_try
="$ac_compile"
20222 case "(($ac_try" in
20223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20224 *) ac_try_echo=$ac_try;;
20226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20227 (eval "$ac_compile") 2>conftest.er1
20229 grep -v '^ *+' conftest.er1 >conftest.err
20231 cat conftest.err >&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } &&
20234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20235 { (case "(($ac_try" in
20236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20237 *) ac_try_echo
=$ac_try;;
20239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20240 (eval "$ac_try") 2>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; } &&
20244 { ac_try
='test -s conftest.$ac_objext'
20245 { (case "(($ac_try" in
20246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20247 *) ac_try_echo=$ac_try;;
20249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20250 (eval "$ac_try") 2>&5
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 ac_cv_type_fsfilcnt_t=yes
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20259 ac_cv_type_fsfilcnt_t=no
20262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20264 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20265 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
20266 if test $ac_cv_type_fsfilcnt_t = yes; then
20268 cat >>confdefs.h <<_ACEOF
20269 #define HAVE_FSFILCNT_T 1
20275 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20276 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20277 if test "${ac_cv_type_sigset_t+set}" = set; then
20278 echo $ECHO_N "(cached) $ECHO_C" >&6
20280 cat >conftest.$ac_ext <<_ACEOF
20283 cat confdefs.h >>conftest.$ac_ext
20284 cat >>conftest.$ac_ext <<_ACEOF
20285 /* end confdefs.h. */
20286 #include <signal.h>
20288 typedef sigset_t ac__type_new_;
20292 if ((ac__type_new_ *) 0)
20294 if (sizeof (ac__type_new_))
20300 rm -f conftest.$ac_objext
20301 if { (ac_try="$ac_compile"
20302 case "(($ac_try" in
20303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20304 *) ac_try_echo
=$ac_try;;
20306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20307 (eval "$ac_compile") 2>conftest.er1
20309 grep -v '^ *+' conftest.er1
>conftest.err
20311 cat conftest.err
>&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } &&
20314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20315 { (case "(($ac_try" in
20316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20317 *) ac_try_echo=$ac_try;;
20319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20320 (eval "$ac_try") 2>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; } &&
20324 { ac_try='test -s conftest.$ac_objext'
20325 { (case "(($ac_try" in
20326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20327 *) ac_try_echo
=$ac_try;;
20329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20330 (eval "$ac_try") 2>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; }; then
20334 ac_cv_type_sigset_t
=yes
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.
$ac_ext >&5
20339 ac_cv_type_sigset_t
=no
20342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20344 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20345 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20346 if test $ac_cv_type_sigset_t = yes; then
20348 cat >>confdefs.h
<<_ACEOF
20349 #define HAVE_SIGSET_T 1
20355 { echo "$as_me:$LINENO: checking for request_sense" >&5
20356 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20357 if test "${ac_cv_type_request_sense+set}" = set; then
20358 echo $ECHO_N "(cached) $ECHO_C" >&6
20360 cat >conftest.
$ac_ext <<_ACEOF
20363 cat confdefs.h
>>conftest.
$ac_ext
20364 cat >>conftest.
$ac_ext <<_ACEOF
20365 /* end confdefs.h. */
20366 #include <linux/cdrom.h>
20368 typedef request_sense ac__type_new_;
20372 if ((ac__type_new_ *) 0)
20374 if (sizeof (ac__type_new_))
20380 rm -f conftest.
$ac_objext
20381 if { (ac_try
="$ac_compile"
20382 case "(($ac_try" in
20383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20384 *) ac_try_echo=$ac_try;;
20386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20387 (eval "$ac_compile") 2>conftest.er1
20389 grep -v '^ *+' conftest.er1 >conftest.err
20391 cat conftest.err >&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); } &&
20394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20395 { (case "(($ac_try" in
20396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20397 *) ac_try_echo
=$ac_try;;
20399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20400 (eval "$ac_try") 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; } &&
20404 { ac_try
='test -s conftest.$ac_objext'
20405 { (case "(($ac_try" in
20406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20407 *) ac_try_echo=$ac_try;;
20409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20410 (eval "$ac_try") 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 ac_cv_type_request_sense=yes
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.$ac_ext >&5
20419 ac_cv_type_request_sense=no
20422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20424 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20425 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20426 if test $ac_cv_type_request_sense = yes; then
20428 cat >>confdefs.h <<_ACEOF
20429 #define HAVE_REQUEST_SENSE 1
20436 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20437 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20438 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20439 echo $ECHO_N "(cached) $ECHO_C" >&6
20441 cat >conftest.$ac_ext <<_ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 #ifdef HAVE_LINUX_INPUT_H
20448 #include <linux/input.h>
20454 static struct ff_effect ac_aggr;
20455 if (ac_aggr.direction)
20461 rm -f conftest.$ac_objext
20462 if { (ac_try="$ac_compile"
20463 case "(($ac_try" in
20464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20465 *) ac_try_echo
=$ac_try;;
20467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20468 (eval "$ac_compile") 2>conftest.er1
20470 grep -v '^ *+' conftest.er1
>conftest.err
20472 cat conftest.err
>&5
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); } &&
20475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20476 { (case "(($ac_try" in
20477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20478 *) ac_try_echo=$ac_try;;
20480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20481 (eval "$ac_try") 2>&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); }; } &&
20485 { ac_try='test -s conftest.$ac_objext'
20486 { (case "(($ac_try" in
20487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20488 *) ac_try_echo
=$ac_try;;
20490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20491 (eval "$ac_try") 2>&5
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); }; }; then
20495 ac_cv_member_struct_ff_effect_direction
=yes
20497 echo "$as_me: failed program was:" >&5
20498 sed 's/^/| /' conftest.
$ac_ext >&5
20500 cat >conftest.
$ac_ext <<_ACEOF
20503 cat confdefs.h
>>conftest.
$ac_ext
20504 cat >>conftest.
$ac_ext <<_ACEOF
20505 /* end confdefs.h. */
20506 #ifdef HAVE_LINUX_INPUT_H
20507 #include <linux/input.h>
20513 static struct ff_effect ac_aggr;
20514 if (sizeof ac_aggr.direction)
20520 rm -f conftest.
$ac_objext
20521 if { (ac_try
="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20524 *) ac_try_echo=$ac_try;;
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20529 grep -v '^ *+' conftest.er1 >conftest.err
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } &&
20534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20535 { (case "(($ac_try" in
20536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20537 *) ac_try_echo
=$ac_try;;
20539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20540 (eval "$ac_try") 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try
='test -s conftest.$ac_objext'
20545 { (case "(($ac_try" in
20546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20547 *) ac_try_echo=$ac_try;;
20549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20550 (eval "$ac_try") 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 ac_cv_member_struct_ff_effect_direction=yes
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20559 ac_cv_member_struct_ff_effect_direction=no
20562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20567 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20568 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20569 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20571 cat >>confdefs.h <<_ACEOF
20572 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20579 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20580 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20581 if test "${wine_cv_have_sigaddset+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 cat >conftest.$ac_ext <<_ACEOF
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 #include <signal.h>
20594 sigset_t set; sigaddset(&set,SIGTERM);
20599 rm -f conftest.$ac_objext conftest$ac_exeext
20600 if { (ac_try="$ac_link"
20601 case "(($ac_try" in
20602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20603 *) ac_try_echo
=$ac_try;;
20605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20606 (eval "$ac_link") 2>conftest.er1
20608 grep -v '^ *+' conftest.er1
>conftest.err
20610 cat conftest.err
>&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } &&
20613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20614 { (case "(($ac_try" in
20615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20616 *) ac_try_echo=$ac_try;;
20618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20619 (eval "$ac_try") 2>&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); }; } &&
20623 { ac_try='test -s conftest$ac_exeext'
20624 { (case "(($ac_try" in
20625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20626 *) ac_try_echo
=$ac_try;;
20628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20629 (eval "$ac_try") 2>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); }; }; then
20633 wine_cv_have_sigaddset
=yes
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.
$ac_ext >&5
20638 wine_cv_have_sigaddset
=no
20641 rm -f core conftest.err conftest.
$ac_objext \
20642 conftest
$ac_exeext conftest.
$ac_ext
20644 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20645 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20646 if test "$wine_cv_have_sigaddset" = "yes"
20649 cat >>confdefs.h
<<\_ACEOF
20650 #define HAVE_SIGADDSET 1
20656 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20657 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20658 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20659 echo $ECHO_N "(cached) $ECHO_C" >&6
20661 cat >conftest.
$ac_ext <<_ACEOF
20664 cat confdefs.h
>>conftest.
$ac_ext
20665 cat >>conftest.
$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20676 struct hostent *result;
20683 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20684 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20690 rm -f conftest.
$ac_objext conftest
$ac_exeext
20691 if { (ac_try
="$ac_link"
20692 case "(($ac_try" in
20693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20694 *) ac_try_echo=$ac_try;;
20696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_link") 2>conftest.er1
20699 grep -v '^ *+' conftest.er1 >conftest.err
20701 cat conftest.err >&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); } &&
20704 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20705 { (case "(($ac_try" in
20706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20707 *) ac_try_echo
=$ac_try;;
20709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20710 (eval "$ac_try") 2>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; } &&
20714 { ac_try
='test -s conftest$ac_exeext'
20715 { (case "(($ac_try" in
20716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20717 *) ac_try_echo=$ac_try;;
20719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20720 (eval "$ac_try") 2>&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; }; then
20724 wine_cv_linux_gethostbyname_r_6=yes
20726 echo "$as_me: failed program was:" >&5
20727 sed 's/^/| /' conftest.$ac_ext >&5
20729 wine_cv_linux_gethostbyname_r_6=no
20733 rm -f core conftest.err conftest.$ac_objext \
20734 conftest$ac_exeext conftest.$ac_ext
20737 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20738 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20739 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20742 cat >>confdefs.h <<\_ACEOF
20743 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20748 if test "$ac_cv_header_linux_joystick_h" = "yes"
20750 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20751 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20752 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20753 echo $ECHO_N "(cached) $ECHO_C" >&6
20755 cat >conftest.$ac_ext <<_ACEOF
20758 cat confdefs.h >>conftest.$ac_ext
20759 cat >>conftest.$ac_ext <<_ACEOF
20760 /* end confdefs.h. */
20762 #include <sys/ioctl.h>
20763 #include <linux/joystick.h>
20765 struct js_event blub;
20766 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20767 #error "no 2.2 header"
20778 rm -f conftest.$ac_objext
20779 if { (ac_try="$ac_compile"
20780 case "(($ac_try" in
20781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20782 *) ac_try_echo
=$ac_try;;
20784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20785 (eval "$ac_compile") 2>conftest.er1
20787 grep -v '^ *+' conftest.er1
>conftest.err
20789 cat conftest.err
>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } &&
20792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20793 { (case "(($ac_try" in
20794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20795 *) ac_try_echo=$ac_try;;
20797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20798 (eval "$ac_try") 2>&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); }; } &&
20802 { ac_try='test -s conftest.$ac_objext'
20803 { (case "(($ac_try" in
20804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20805 *) ac_try_echo
=$ac_try;;
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_try") 2>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; }; then
20812 wine_cv_linux_joystick_22_api
=yes
20814 echo "$as_me: failed program was:" >&5
20815 sed 's/^/| /' conftest.
$ac_ext >&5
20817 wine_cv_linux_joystick_22_api
=no
20820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20823 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20824 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20825 if test "$wine_cv_linux_joystick_22_api" = "yes"
20828 cat >>confdefs.h
<<\_ACEOF
20829 #define HAVE_LINUX_22_JOYSTICK_API 1
20836 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20837 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20838 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20839 echo $ECHO_N "(cached) $ECHO_C" >&6
20841 cat >conftest.
$ac_ext <<_ACEOF
20844 cat confdefs.h
>>conftest.
$ac_ext
20845 cat >>conftest.
$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20847 #include <sys/types.h>
20848 #ifdef HAVE_SYS_PARAM_H
20849 # include <sys/param.h>
20851 #ifdef HAVE_SYS_MOUNT_H
20852 # include <sys/mount.h>
20854 #ifdef HAVE_SYS_VFS_H
20855 # include <sys/vfs.h>
20857 #ifdef HAVE_SYS_STATFS_H
20858 # include <sys/statfs.h>
20864 static struct statfs ac_aggr;
20865 if (ac_aggr.f_bfree)
20871 rm -f conftest.
$ac_objext
20872 if { (ac_try
="$ac_compile"
20873 case "(($ac_try" in
20874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20875 *) ac_try_echo=$ac_try;;
20877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20878 (eval "$ac_compile") 2>conftest.er1
20880 grep -v '^ *+' conftest.er1 >conftest.err
20882 cat conftest.err >&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } &&
20885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20886 { (case "(($ac_try" in
20887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20888 *) ac_try_echo
=$ac_try;;
20890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20891 (eval "$ac_try") 2>&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; } &&
20895 { ac_try
='test -s conftest.$ac_objext'
20896 { (case "(($ac_try" in
20897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20898 *) ac_try_echo=$ac_try;;
20900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20901 (eval "$ac_try") 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 ac_cv_member_struct_statfs_f_bfree=yes
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20910 cat >conftest.$ac_ext <<_ACEOF
20913 cat confdefs.h >>conftest.$ac_ext
20914 cat >>conftest.$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916 #include <sys/types.h>
20917 #ifdef HAVE_SYS_PARAM_H
20918 # include <sys/param.h>
20920 #ifdef HAVE_SYS_MOUNT_H
20921 # include <sys/mount.h>
20923 #ifdef HAVE_SYS_VFS_H
20924 # include <sys/vfs.h>
20926 #ifdef HAVE_SYS_STATFS_H
20927 # include <sys/statfs.h>
20933 static struct statfs ac_aggr;
20934 if (sizeof ac_aggr.f_bfree)
20940 rm -f conftest.$ac_objext
20941 if { (ac_try="$ac_compile"
20942 case "(($ac_try" in
20943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20944 *) ac_try_echo
=$ac_try;;
20946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20947 (eval "$ac_compile") 2>conftest.er1
20949 grep -v '^ *+' conftest.er1
>conftest.err
20951 cat conftest.err
>&5
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); } &&
20954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20955 { (case "(($ac_try" in
20956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20957 *) ac_try_echo=$ac_try;;
20959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20960 (eval "$ac_try") 2>&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); }; } &&
20964 { ac_try='test -s conftest.$ac_objext'
20965 { (case "(($ac_try" in
20966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20967 *) ac_try_echo
=$ac_try;;
20969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20970 (eval "$ac_try") 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; }; then
20974 ac_cv_member_struct_statfs_f_bfree
=yes
20976 echo "$as_me: failed program was:" >&5
20977 sed 's/^/| /' conftest.
$ac_ext >&5
20979 ac_cv_member_struct_statfs_f_bfree
=no
20982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20987 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20988 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20989 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20991 cat >>confdefs.h
<<_ACEOF
20992 #define HAVE_STRUCT_STATFS_F_BFREE 1
20997 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20998 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20999 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
21000 echo $ECHO_N "(cached) $ECHO_C" >&6
21002 cat >conftest.
$ac_ext <<_ACEOF
21005 cat confdefs.h
>>conftest.
$ac_ext
21006 cat >>conftest.
$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008 #include <sys/types.h>
21009 #ifdef HAVE_SYS_PARAM_H
21010 # include <sys/param.h>
21012 #ifdef HAVE_SYS_MOUNT_H
21013 # include <sys/mount.h>
21015 #ifdef HAVE_SYS_VFS_H
21016 # include <sys/vfs.h>
21018 #ifdef HAVE_SYS_STATFS_H
21019 # include <sys/statfs.h>
21025 static struct statfs ac_aggr;
21026 if (ac_aggr.f_bavail)
21032 rm -f conftest.
$ac_objext
21033 if { (ac_try
="$ac_compile"
21034 case "(($ac_try" in
21035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21036 *) ac_try_echo=$ac_try;;
21038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21039 (eval "$ac_compile") 2>conftest.er1
21041 grep -v '^ *+' conftest.er1 >conftest.err
21043 cat conftest.err >&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); } &&
21046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21047 { (case "(($ac_try" in
21048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21049 *) ac_try_echo
=$ac_try;;
21051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21052 (eval "$ac_try") 2>&5
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; } &&
21056 { ac_try
='test -s conftest.$ac_objext'
21057 { (case "(($ac_try" in
21058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21059 *) ac_try_echo=$ac_try;;
21061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062 (eval "$ac_try") 2>&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); }; }; then
21066 ac_cv_member_struct_statfs_f_bavail=yes
21068 echo "$as_me: failed program was:" >&5
21069 sed 's/^/| /' conftest.$ac_ext >&5
21071 cat >conftest.$ac_ext <<_ACEOF
21074 cat confdefs.h >>conftest.$ac_ext
21075 cat >>conftest.$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21077 #include <sys/types.h>
21078 #ifdef HAVE_SYS_PARAM_H
21079 # include <sys/param.h>
21081 #ifdef HAVE_SYS_MOUNT_H
21082 # include <sys/mount.h>
21084 #ifdef HAVE_SYS_VFS_H
21085 # include <sys/vfs.h>
21087 #ifdef HAVE_SYS_STATFS_H
21088 # include <sys/statfs.h>
21094 static struct statfs ac_aggr;
21095 if (sizeof ac_aggr.f_bavail)
21101 rm -f conftest.$ac_objext
21102 if { (ac_try="$ac_compile"
21103 case "(($ac_try" in
21104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21105 *) ac_try_echo
=$ac_try;;
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_compile") 2>conftest.er1
21110 grep -v '^ *+' conftest.er1
>conftest.err
21112 cat conftest.err
>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } &&
21115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21116 { (case "(($ac_try" in
21117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21118 *) ac_try_echo=$ac_try;;
21120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21121 (eval "$ac_try") 2>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); }; } &&
21125 { ac_try='test -s conftest.$ac_objext'
21126 { (case "(($ac_try" in
21127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21128 *) ac_try_echo
=$ac_try;;
21130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21131 (eval "$ac_try") 2>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); }; }; then
21135 ac_cv_member_struct_statfs_f_bavail
=yes
21137 echo "$as_me: failed program was:" >&5
21138 sed 's/^/| /' conftest.
$ac_ext >&5
21140 ac_cv_member_struct_statfs_f_bavail
=no
21143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21148 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
21149 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
21150 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
21152 cat >>confdefs.h
<<_ACEOF
21153 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
21158 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
21159 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
21160 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
21161 echo $ECHO_N "(cached) $ECHO_C" >&6
21163 cat >conftest.
$ac_ext <<_ACEOF
21166 cat confdefs.h
>>conftest.
$ac_ext
21167 cat >>conftest.
$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 #include <sys/types.h>
21170 #ifdef HAVE_SYS_PARAM_H
21171 # include <sys/param.h>
21173 #ifdef HAVE_SYS_MOUNT_H
21174 # include <sys/mount.h>
21176 #ifdef HAVE_SYS_VFS_H
21177 # include <sys/vfs.h>
21179 #ifdef HAVE_SYS_STATFS_H
21180 # include <sys/statfs.h>
21186 static struct statfs ac_aggr;
21187 if (ac_aggr.f_frsize)
21193 rm -f conftest.
$ac_objext
21194 if { (ac_try
="$ac_compile"
21195 case "(($ac_try" in
21196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21197 *) ac_try_echo=$ac_try;;
21199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21200 (eval "$ac_compile") 2>conftest.er1
21202 grep -v '^ *+' conftest.er1 >conftest.err
21204 cat conftest.err >&5
21205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206 (exit $ac_status); } &&
21207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21208 { (case "(($ac_try" in
21209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21210 *) ac_try_echo
=$ac_try;;
21212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21213 (eval "$ac_try") 2>&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; } &&
21217 { ac_try
='test -s conftest.$ac_objext'
21218 { (case "(($ac_try" in
21219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21220 *) ac_try_echo=$ac_try;;
21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223 (eval "$ac_try") 2>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; }; then
21227 ac_cv_member_struct_statfs_f_frsize=yes
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.$ac_ext >&5
21232 cat >conftest.$ac_ext <<_ACEOF
21235 cat confdefs.h >>conftest.$ac_ext
21236 cat >>conftest.$ac_ext <<_ACEOF
21237 /* end confdefs.h. */
21238 #include <sys/types.h>
21239 #ifdef HAVE_SYS_PARAM_H
21240 # include <sys/param.h>
21242 #ifdef HAVE_SYS_MOUNT_H
21243 # include <sys/mount.h>
21245 #ifdef HAVE_SYS_VFS_H
21246 # include <sys/vfs.h>
21248 #ifdef HAVE_SYS_STATFS_H
21249 # include <sys/statfs.h>
21255 static struct statfs ac_aggr;
21256 if (sizeof ac_aggr.f_frsize)
21262 rm -f conftest.$ac_objext
21263 if { (ac_try="$ac_compile"
21264 case "(($ac_try" in
21265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21266 *) ac_try_echo
=$ac_try;;
21268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21269 (eval "$ac_compile") 2>conftest.er1
21271 grep -v '^ *+' conftest.er1
>conftest.err
21273 cat conftest.err
>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); } &&
21276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21277 { (case "(($ac_try" in
21278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21279 *) ac_try_echo=$ac_try;;
21281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21282 (eval "$ac_try") 2>&5
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); }; } &&
21286 { ac_try='test -s conftest.$ac_objext'
21287 { (case "(($ac_try" in
21288 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21289 *) ac_try_echo
=$ac_try;;
21291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21292 (eval "$ac_try") 2>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; }; then
21296 ac_cv_member_struct_statfs_f_frsize
=yes
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.
$ac_ext >&5
21301 ac_cv_member_struct_statfs_f_frsize
=no
21304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21309 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21310 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21311 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21313 cat >>confdefs.h
<<_ACEOF
21314 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21319 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21320 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21321 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21322 echo $ECHO_N "(cached) $ECHO_C" >&6
21324 cat >conftest.
$ac_ext <<_ACEOF
21327 cat confdefs.h
>>conftest.
$ac_ext
21328 cat >>conftest.
$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21330 #include <sys/types.h>
21331 #ifdef HAVE_SYS_PARAM_H
21332 # include <sys/param.h>
21334 #ifdef HAVE_SYS_MOUNT_H
21335 # include <sys/mount.h>
21337 #ifdef HAVE_SYS_VFS_H
21338 # include <sys/vfs.h>
21340 #ifdef HAVE_SYS_STATFS_H
21341 # include <sys/statfs.h>
21347 static struct statfs ac_aggr;
21348 if (ac_aggr.f_ffree)
21354 rm -f conftest.
$ac_objext
21355 if { (ac_try
="$ac_compile"
21356 case "(($ac_try" in
21357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21358 *) ac_try_echo=$ac_try;;
21360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21361 (eval "$ac_compile") 2>conftest.er1
21363 grep -v '^ *+' conftest.er1 >conftest.err
21365 cat conftest.err >&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } &&
21368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21369 { (case "(($ac_try" in
21370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21371 *) ac_try_echo
=$ac_try;;
21373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21374 (eval "$ac_try") 2>&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; } &&
21378 { ac_try
='test -s conftest.$ac_objext'
21379 { (case "(($ac_try" in
21380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21381 *) ac_try_echo=$ac_try;;
21383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21384 (eval "$ac_try") 2>&5
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); }; }; then
21388 ac_cv_member_struct_statfs_f_ffree=yes
21390 echo "$as_me: failed program was:" >&5
21391 sed 's/^/| /' conftest.$ac_ext >&5
21393 cat >conftest.$ac_ext <<_ACEOF
21396 cat confdefs.h >>conftest.$ac_ext
21397 cat >>conftest.$ac_ext <<_ACEOF
21398 /* end confdefs.h. */
21399 #include <sys/types.h>
21400 #ifdef HAVE_SYS_PARAM_H
21401 # include <sys/param.h>
21403 #ifdef HAVE_SYS_MOUNT_H
21404 # include <sys/mount.h>
21406 #ifdef HAVE_SYS_VFS_H
21407 # include <sys/vfs.h>
21409 #ifdef HAVE_SYS_STATFS_H
21410 # include <sys/statfs.h>
21416 static struct statfs ac_aggr;
21417 if (sizeof ac_aggr.f_ffree)
21423 rm -f conftest.$ac_objext
21424 if { (ac_try="$ac_compile"
21425 case "(($ac_try" in
21426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21427 *) ac_try_echo
=$ac_try;;
21429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21430 (eval "$ac_compile") 2>conftest.er1
21432 grep -v '^ *+' conftest.er1
>conftest.err
21434 cat conftest.err
>&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); } &&
21437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21438 { (case "(($ac_try" in
21439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21440 *) ac_try_echo=$ac_try;;
21442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21443 (eval "$ac_try") 2>&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); }; } &&
21447 { ac_try='test -s conftest.$ac_objext'
21448 { (case "(($ac_try" in
21449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21450 *) ac_try_echo
=$ac_try;;
21452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21453 (eval "$ac_try") 2>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 ac_cv_member_struct_statfs_f_ffree
=yes
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.
$ac_ext >&5
21462 ac_cv_member_struct_statfs_f_ffree
=no
21465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21470 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21471 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21472 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21474 cat >>confdefs.h
<<_ACEOF
21475 #define HAVE_STRUCT_STATFS_F_FFREE 1
21480 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21481 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21482 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21483 echo $ECHO_N "(cached) $ECHO_C" >&6
21485 cat >conftest.
$ac_ext <<_ACEOF
21488 cat confdefs.h
>>conftest.
$ac_ext
21489 cat >>conftest.
$ac_ext <<_ACEOF
21490 /* end confdefs.h. */
21491 #include <sys/types.h>
21492 #ifdef HAVE_SYS_PARAM_H
21493 # include <sys/param.h>
21495 #ifdef HAVE_SYS_MOUNT_H
21496 # include <sys/mount.h>
21498 #ifdef HAVE_SYS_VFS_H
21499 # include <sys/vfs.h>
21501 #ifdef HAVE_SYS_STATFS_H
21502 # include <sys/statfs.h>
21508 static struct statfs ac_aggr;
21509 if (ac_aggr.f_favail)
21515 rm -f conftest.
$ac_objext
21516 if { (ac_try
="$ac_compile"
21517 case "(($ac_try" in
21518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21519 *) ac_try_echo=$ac_try;;
21521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21522 (eval "$ac_compile") 2>conftest.er1
21524 grep -v '^ *+' conftest.er1 >conftest.err
21526 cat conftest.err >&5
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); } &&
21529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21530 { (case "(($ac_try" in
21531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21532 *) ac_try_echo
=$ac_try;;
21534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21535 (eval "$ac_try") 2>&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; } &&
21539 { ac_try
='test -s conftest.$ac_objext'
21540 { (case "(($ac_try" in
21541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21542 *) ac_try_echo=$ac_try;;
21544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21545 (eval "$ac_try") 2>&5
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); }; }; then
21549 ac_cv_member_struct_statfs_f_favail=yes
21551 echo "$as_me: failed program was:" >&5
21552 sed 's/^/| /' conftest.$ac_ext >&5
21554 cat >conftest.$ac_ext <<_ACEOF
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 #include <sys/types.h>
21561 #ifdef HAVE_SYS_PARAM_H
21562 # include <sys/param.h>
21564 #ifdef HAVE_SYS_MOUNT_H
21565 # include <sys/mount.h>
21567 #ifdef HAVE_SYS_VFS_H
21568 # include <sys/vfs.h>
21570 #ifdef HAVE_SYS_STATFS_H
21571 # include <sys/statfs.h>
21577 static struct statfs ac_aggr;
21578 if (sizeof ac_aggr.f_favail)
21584 rm -f conftest.$ac_objext
21585 if { (ac_try="$ac_compile"
21586 case "(($ac_try" in
21587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21588 *) ac_try_echo
=$ac_try;;
21590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21591 (eval "$ac_compile") 2>conftest.er1
21593 grep -v '^ *+' conftest.er1
>conftest.err
21595 cat conftest.err
>&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } &&
21598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21599 { (case "(($ac_try" in
21600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21601 *) ac_try_echo=$ac_try;;
21603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21604 (eval "$ac_try") 2>&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); }; } &&
21608 { ac_try='test -s conftest.$ac_objext'
21609 { (case "(($ac_try" in
21610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21611 *) ac_try_echo
=$ac_try;;
21613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21614 (eval "$ac_try") 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 ac_cv_member_struct_statfs_f_favail
=yes
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.
$ac_ext >&5
21623 ac_cv_member_struct_statfs_f_favail
=no
21626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21631 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21632 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21633 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21635 cat >>confdefs.h
<<_ACEOF
21636 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21641 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21642 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21643 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21644 echo $ECHO_N "(cached) $ECHO_C" >&6
21646 cat >conftest.
$ac_ext <<_ACEOF
21649 cat confdefs.h
>>conftest.
$ac_ext
21650 cat >>conftest.
$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21652 #include <sys/types.h>
21653 #ifdef HAVE_SYS_PARAM_H
21654 # include <sys/param.h>
21656 #ifdef HAVE_SYS_MOUNT_H
21657 # include <sys/mount.h>
21659 #ifdef HAVE_SYS_VFS_H
21660 # include <sys/vfs.h>
21662 #ifdef HAVE_SYS_STATFS_H
21663 # include <sys/statfs.h>
21669 static struct statfs ac_aggr;
21670 if (ac_aggr.f_namelen)
21676 rm -f conftest.
$ac_objext
21677 if { (ac_try
="$ac_compile"
21678 case "(($ac_try" in
21679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21680 *) ac_try_echo=$ac_try;;
21682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21683 (eval "$ac_compile") 2>conftest.er1
21685 grep -v '^ *+' conftest.er1 >conftest.err
21687 cat conftest.err >&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); } &&
21690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21691 { (case "(($ac_try" in
21692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21693 *) ac_try_echo
=$ac_try;;
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_try") 2>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; } &&
21700 { ac_try
='test -s conftest.$ac_objext'
21701 { (case "(($ac_try" in
21702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21703 *) ac_try_echo=$ac_try;;
21705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21706 (eval "$ac_try") 2>&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; }; then
21710 ac_cv_member_struct_statfs_f_namelen=yes
21712 echo "$as_me: failed program was:" >&5
21713 sed 's/^/| /' conftest.$ac_ext >&5
21715 cat >conftest.$ac_ext <<_ACEOF
21718 cat confdefs.h >>conftest.$ac_ext
21719 cat >>conftest.$ac_ext <<_ACEOF
21720 /* end confdefs.h. */
21721 #include <sys/types.h>
21722 #ifdef HAVE_SYS_PARAM_H
21723 # include <sys/param.h>
21725 #ifdef HAVE_SYS_MOUNT_H
21726 # include <sys/mount.h>
21728 #ifdef HAVE_SYS_VFS_H
21729 # include <sys/vfs.h>
21731 #ifdef HAVE_SYS_STATFS_H
21732 # include <sys/statfs.h>
21738 static struct statfs ac_aggr;
21739 if (sizeof ac_aggr.f_namelen)
21745 rm -f conftest.$ac_objext
21746 if { (ac_try="$ac_compile"
21747 case "(($ac_try" in
21748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21749 *) ac_try_echo
=$ac_try;;
21751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21752 (eval "$ac_compile") 2>conftest.er1
21754 grep -v '^ *+' conftest.er1
>conftest.err
21756 cat conftest.err
>&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); } &&
21759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21760 { (case "(($ac_try" in
21761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21762 *) ac_try_echo=$ac_try;;
21764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21765 (eval "$ac_try") 2>&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); }; } &&
21769 { ac_try='test -s conftest.$ac_objext'
21770 { (case "(($ac_try" in
21771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21772 *) ac_try_echo
=$ac_try;;
21774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21775 (eval "$ac_try") 2>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); }; }; then
21779 ac_cv_member_struct_statfs_f_namelen
=yes
21781 echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.
$ac_ext >&5
21784 ac_cv_member_struct_statfs_f_namelen
=no
21787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21792 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21793 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21794 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21796 cat >>confdefs.h
<<_ACEOF
21797 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21804 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21805 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21806 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21807 echo $ECHO_N "(cached) $ECHO_C" >&6
21809 cat >conftest.
$ac_ext <<_ACEOF
21812 cat confdefs.h
>>conftest.
$ac_ext
21813 cat >>conftest.
$ac_ext <<_ACEOF
21814 /* end confdefs.h. */
21815 #ifdef HAVE_SYS_STATVFS_H
21816 #include <sys/statvfs.h>
21822 static struct statvfs ac_aggr;
21823 if (ac_aggr.f_blocks)
21829 rm -f conftest.
$ac_objext
21830 if { (ac_try
="$ac_compile"
21831 case "(($ac_try" in
21832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21833 *) ac_try_echo=$ac_try;;
21835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21836 (eval "$ac_compile") 2>conftest.er1
21838 grep -v '^ *+' conftest.er1 >conftest.err
21840 cat conftest.err >&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21844 { (case "(($ac_try" in
21845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21846 *) ac_try_echo
=$ac_try;;
21848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21849 (eval "$ac_try") 2>&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; } &&
21853 { ac_try
='test -s conftest.$ac_objext'
21854 { (case "(($ac_try" in
21855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21856 *) ac_try_echo=$ac_try;;
21858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21859 (eval "$ac_try") 2>&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); }; }; then
21863 ac_cv_member_struct_statvfs_f_blocks=yes
21865 echo "$as_me: failed program was:" >&5
21866 sed 's/^/| /' conftest.$ac_ext >&5
21868 cat >conftest.$ac_ext <<_ACEOF
21871 cat confdefs.h >>conftest.$ac_ext
21872 cat >>conftest.$ac_ext <<_ACEOF
21873 /* end confdefs.h. */
21874 #ifdef HAVE_SYS_STATVFS_H
21875 #include <sys/statvfs.h>
21881 static struct statvfs ac_aggr;
21882 if (sizeof ac_aggr.f_blocks)
21888 rm -f conftest.$ac_objext
21889 if { (ac_try="$ac_compile"
21890 case "(($ac_try" in
21891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21892 *) ac_try_echo
=$ac_try;;
21894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21895 (eval "$ac_compile") 2>conftest.er1
21897 grep -v '^ *+' conftest.er1
>conftest.err
21899 cat conftest.err
>&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21903 { (case "(($ac_try" in
21904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21905 *) ac_try_echo=$ac_try;;
21907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21908 (eval "$ac_try") 2>&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); }; } &&
21912 { ac_try='test -s conftest.$ac_objext'
21913 { (case "(($ac_try" in
21914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21915 *) ac_try_echo
=$ac_try;;
21917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21918 (eval "$ac_try") 2>&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); }; }; then
21922 ac_cv_member_struct_statvfs_f_blocks
=yes
21924 echo "$as_me: failed program was:" >&5
21925 sed 's/^/| /' conftest.
$ac_ext >&5
21927 ac_cv_member_struct_statvfs_f_blocks
=no
21930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21935 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21936 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21937 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21939 cat >>confdefs.h
<<_ACEOF
21940 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21947 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21948 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21949 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21950 echo $ECHO_N "(cached) $ECHO_C" >&6
21952 cat >conftest.
$ac_ext <<_ACEOF
21955 cat confdefs.h
>>conftest.
$ac_ext
21956 cat >>conftest.
$ac_ext <<_ACEOF
21957 /* end confdefs.h. */
21958 #include <sys/types.h>
21959 #ifdef HAVE_SYS_SOCKET_H
21960 # include <sys/socket.h>
21962 #ifdef HAVE_SYS_UN_H
21963 # include <sys/un.h>
21969 static struct msghdr ac_aggr;
21970 if (ac_aggr.msg_accrights)
21976 rm -f conftest.
$ac_objext
21977 if { (ac_try
="$ac_compile"
21978 case "(($ac_try" in
21979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21980 *) ac_try_echo=$ac_try;;
21982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21983 (eval "$ac_compile") 2>conftest.er1
21985 grep -v '^ *+' conftest.er1 >conftest.err
21987 cat conftest.err >&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); } &&
21990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21991 { (case "(($ac_try" in
21992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21993 *) ac_try_echo
=$ac_try;;
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_try") 2>&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; } &&
22000 { ac_try
='test -s conftest.$ac_objext'
22001 { (case "(($ac_try" in
22002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22003 *) ac_try_echo=$ac_try;;
22005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22006 (eval "$ac_try") 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; }; then
22010 ac_cv_member_struct_msghdr_msg_accrights=yes
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.$ac_ext >&5
22015 cat >conftest.$ac_ext <<_ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 #include <sys/types.h>
22022 #ifdef HAVE_SYS_SOCKET_H
22023 # include <sys/socket.h>
22025 #ifdef HAVE_SYS_UN_H
22026 # include <sys/un.h>
22032 static struct msghdr ac_aggr;
22033 if (sizeof ac_aggr.msg_accrights)
22039 rm -f conftest.$ac_objext
22040 if { (ac_try="$ac_compile"
22041 case "(($ac_try" in
22042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22043 *) ac_try_echo
=$ac_try;;
22045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22046 (eval "$ac_compile") 2>conftest.er1
22048 grep -v '^ *+' conftest.er1
>conftest.err
22050 cat conftest.err
>&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } &&
22053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22054 { (case "(($ac_try" in
22055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22056 *) ac_try_echo=$ac_try;;
22058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22059 (eval "$ac_try") 2>&5
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); }; } &&
22063 { ac_try='test -s conftest.$ac_objext'
22064 { (case "(($ac_try" in
22065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22066 *) ac_try_echo
=$ac_try;;
22068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22069 (eval "$ac_try") 2>&5
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; }; then
22073 ac_cv_member_struct_msghdr_msg_accrights
=yes
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.
$ac_ext >&5
22078 ac_cv_member_struct_msghdr_msg_accrights
=no
22081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22086 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
22087 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
22088 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
22090 cat >>confdefs.h
<<_ACEOF
22091 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
22096 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
22097 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
22098 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
22099 echo $ECHO_N "(cached) $ECHO_C" >&6
22101 cat >conftest.
$ac_ext <<_ACEOF
22104 cat confdefs.h
>>conftest.
$ac_ext
22105 cat >>conftest.
$ac_ext <<_ACEOF
22106 /* end confdefs.h. */
22107 #include <sys/types.h>
22108 #ifdef HAVE_SYS_SOCKET_H
22109 # include <sys/socket.h>
22111 #ifdef HAVE_SYS_UN_H
22112 # include <sys/un.h>
22118 static struct sockaddr ac_aggr;
22119 if (ac_aggr.sa_len)
22125 rm -f conftest.
$ac_objext
22126 if { (ac_try
="$ac_compile"
22127 case "(($ac_try" in
22128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22129 *) ac_try_echo=$ac_try;;
22131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22132 (eval "$ac_compile") 2>conftest.er1
22134 grep -v '^ *+' conftest.er1 >conftest.err
22136 cat conftest.err >&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } &&
22139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22140 { (case "(($ac_try" in
22141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22142 *) ac_try_echo
=$ac_try;;
22144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22145 (eval "$ac_try") 2>&5
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); }; } &&
22149 { ac_try
='test -s conftest.$ac_objext'
22150 { (case "(($ac_try" in
22151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22152 *) ac_try_echo=$ac_try;;
22154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22155 (eval "$ac_try") 2>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; }; then
22159 ac_cv_member_struct_sockaddr_sa_len=yes
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22164 cat >conftest.$ac_ext <<_ACEOF
22167 cat confdefs.h >>conftest.$ac_ext
22168 cat >>conftest.$ac_ext <<_ACEOF
22169 /* end confdefs.h. */
22170 #include <sys/types.h>
22171 #ifdef HAVE_SYS_SOCKET_H
22172 # include <sys/socket.h>
22174 #ifdef HAVE_SYS_UN_H
22175 # include <sys/un.h>
22181 static struct sockaddr ac_aggr;
22182 if (sizeof ac_aggr.sa_len)
22188 rm -f conftest.$ac_objext
22189 if { (ac_try="$ac_compile"
22190 case "(($ac_try" in
22191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22192 *) ac_try_echo
=$ac_try;;
22194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22195 (eval "$ac_compile") 2>conftest.er1
22197 grep -v '^ *+' conftest.er1
>conftest.err
22199 cat conftest.err
>&5
22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201 (exit $ac_status); } &&
22202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22203 { (case "(($ac_try" in
22204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22205 *) ac_try_echo=$ac_try;;
22207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22208 (eval "$ac_try") 2>&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); }; } &&
22212 { ac_try='test -s conftest.$ac_objext'
22213 { (case "(($ac_try" in
22214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22215 *) ac_try_echo
=$ac_try;;
22217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22218 (eval "$ac_try") 2>&5
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); }; }; then
22222 ac_cv_member_struct_sockaddr_sa_len
=yes
22224 echo "$as_me: failed program was:" >&5
22225 sed 's/^/| /' conftest.
$ac_ext >&5
22227 ac_cv_member_struct_sockaddr_sa_len
=no
22230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22235 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22236 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22237 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22239 cat >>confdefs.h
<<_ACEOF
22240 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
22245 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
22246 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
22247 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
22248 echo $ECHO_N "(cached) $ECHO_C" >&6
22250 cat >conftest.
$ac_ext <<_ACEOF
22253 cat confdefs.h
>>conftest.
$ac_ext
22254 cat >>conftest.
$ac_ext <<_ACEOF
22255 /* end confdefs.h. */
22256 #include <sys/types.h>
22257 #ifdef HAVE_SYS_SOCKET_H
22258 # include <sys/socket.h>
22260 #ifdef HAVE_SYS_UN_H
22261 # include <sys/un.h>
22267 static struct sockaddr_un ac_aggr;
22268 if (ac_aggr.sun_len)
22274 rm -f conftest.
$ac_objext
22275 if { (ac_try
="$ac_compile"
22276 case "(($ac_try" in
22277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22278 *) ac_try_echo=$ac_try;;
22280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22281 (eval "$ac_compile") 2>conftest.er1
22283 grep -v '^ *+' conftest.er1 >conftest.err
22285 cat conftest.err >&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); } &&
22288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22289 { (case "(($ac_try" in
22290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22291 *) ac_try_echo
=$ac_try;;
22293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22294 (eval "$ac_try") 2>&5
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); }; } &&
22298 { ac_try
='test -s conftest.$ac_objext'
22299 { (case "(($ac_try" in
22300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22301 *) ac_try_echo=$ac_try;;
22303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22304 (eval "$ac_try") 2>&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); }; }; then
22308 ac_cv_member_struct_sockaddr_un_sun_len=yes
22310 echo "$as_me: failed program was:" >&5
22311 sed 's/^/| /' conftest.$ac_ext >&5
22313 cat >conftest.$ac_ext <<_ACEOF
22316 cat confdefs.h >>conftest.$ac_ext
22317 cat >>conftest.$ac_ext <<_ACEOF
22318 /* end confdefs.h. */
22319 #include <sys/types.h>
22320 #ifdef HAVE_SYS_SOCKET_H
22321 # include <sys/socket.h>
22323 #ifdef HAVE_SYS_UN_H
22324 # include <sys/un.h>
22330 static struct sockaddr_un ac_aggr;
22331 if (sizeof ac_aggr.sun_len)
22337 rm -f conftest.$ac_objext
22338 if { (ac_try="$ac_compile"
22339 case "(($ac_try" in
22340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22341 *) ac_try_echo
=$ac_try;;
22343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22344 (eval "$ac_compile") 2>conftest.er1
22346 grep -v '^ *+' conftest.er1
>conftest.err
22348 cat conftest.err
>&5
22349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22350 (exit $ac_status); } &&
22351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22352 { (case "(($ac_try" in
22353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22354 *) ac_try_echo=$ac_try;;
22356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22357 (eval "$ac_try") 2>&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); }; } &&
22361 { ac_try='test -s conftest.$ac_objext'
22362 { (case "(($ac_try" in
22363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22364 *) ac_try_echo
=$ac_try;;
22366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22367 (eval "$ac_try") 2>&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; }; then
22371 ac_cv_member_struct_sockaddr_un_sun_len
=yes
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.
$ac_ext >&5
22376 ac_cv_member_struct_sockaddr_un_sun_len
=no
22379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22384 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22385 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22386 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22388 cat >>confdefs.h
<<_ACEOF
22389 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22396 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22397 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22398 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22399 echo $ECHO_N "(cached) $ECHO_C" >&6
22401 cat >conftest.
$ac_ext <<_ACEOF
22404 cat confdefs.h
>>conftest.
$ac_ext
22405 cat >>conftest.
$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407 #include <sys/types.h>
22408 #ifdef HAVE_SCSI_SG_H
22409 #include <scsi/sg.h>
22415 static scsireq_t ac_aggr;
22422 rm -f conftest.
$ac_objext
22423 if { (ac_try
="$ac_compile"
22424 case "(($ac_try" in
22425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22426 *) ac_try_echo=$ac_try;;
22428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22429 (eval "$ac_compile") 2>conftest.er1
22431 grep -v '^ *+' conftest.er1 >conftest.err
22433 cat conftest.err >&5
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); } &&
22436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22437 { (case "(($ac_try" in
22438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22439 *) ac_try_echo
=$ac_try;;
22441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22442 (eval "$ac_try") 2>&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); }; } &&
22446 { ac_try
='test -s conftest.$ac_objext'
22447 { (case "(($ac_try" in
22448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22449 *) ac_try_echo=$ac_try;;
22451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22452 (eval "$ac_try") 2>&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; }; then
22456 ac_cv_member_scsireq_t_cmd=yes
22458 echo "$as_me: failed program was:" >&5
22459 sed 's/^/| /' conftest.$ac_ext >&5
22461 cat >conftest.$ac_ext <<_ACEOF
22464 cat confdefs.h >>conftest.$ac_ext
22465 cat >>conftest.$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22467 #include <sys/types.h>
22468 #ifdef HAVE_SCSI_SG_H
22469 #include <scsi/sg.h>
22475 static scsireq_t ac_aggr;
22476 if (sizeof ac_aggr.cmd)
22482 rm -f conftest.$ac_objext
22483 if { (ac_try="$ac_compile"
22484 case "(($ac_try" in
22485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22486 *) ac_try_echo
=$ac_try;;
22488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22489 (eval "$ac_compile") 2>conftest.er1
22491 grep -v '^ *+' conftest.er1
>conftest.err
22493 cat conftest.err
>&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); } &&
22496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22497 { (case "(($ac_try" in
22498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22499 *) ac_try_echo=$ac_try;;
22501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22502 (eval "$ac_try") 2>&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); }; } &&
22506 { ac_try='test -s conftest.$ac_objext'
22507 { (case "(($ac_try" in
22508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22509 *) ac_try_echo
=$ac_try;;
22511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22512 (eval "$ac_try") 2>&5
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); }; }; then
22516 ac_cv_member_scsireq_t_cmd
=yes
22518 echo "$as_me: failed program was:" >&5
22519 sed 's/^/| /' conftest.
$ac_ext >&5
22521 ac_cv_member_scsireq_t_cmd
=no
22524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22529 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22530 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22531 if test $ac_cv_member_scsireq_t_cmd = yes; then
22533 cat >>confdefs.h
<<_ACEOF
22534 #define HAVE_SCSIREQ_T_CMD 1
22539 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22540 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22541 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22544 cat >conftest.
$ac_ext <<_ACEOF
22547 cat confdefs.h
>>conftest.
$ac_ext
22548 cat >>conftest.
$ac_ext <<_ACEOF
22549 /* end confdefs.h. */
22550 #include <sys/types.h>
22551 #ifdef HAVE_SCSI_SG_H
22552 #include <scsi/sg.h>
22558 static sg_io_hdr_t ac_aggr;
22559 if (ac_aggr.interface_id)
22565 rm -f conftest.
$ac_objext
22566 if { (ac_try
="$ac_compile"
22567 case "(($ac_try" in
22568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22569 *) ac_try_echo=$ac_try;;
22571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22572 (eval "$ac_compile") 2>conftest.er1
22574 grep -v '^ *+' conftest.er1 >conftest.err
22576 cat conftest.err >&5
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); } &&
22579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22580 { (case "(($ac_try" in
22581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22582 *) ac_try_echo
=$ac_try;;
22584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22585 (eval "$ac_try") 2>&5
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); }; } &&
22589 { ac_try
='test -s conftest.$ac_objext'
22590 { (case "(($ac_try" in
22591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_try") 2>&5
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 ac_cv_member_sg_io_hdr_t_interface_id=yes
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22604 cat >conftest.$ac_ext <<_ACEOF
22607 cat confdefs.h >>conftest.$ac_ext
22608 cat >>conftest.$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22610 #include <sys/types.h>
22611 #ifdef HAVE_SCSI_SG_H
22612 #include <scsi/sg.h>
22618 static sg_io_hdr_t ac_aggr;
22619 if (sizeof ac_aggr.interface_id)
22625 rm -f conftest.$ac_objext
22626 if { (ac_try="$ac_compile"
22627 case "(($ac_try" in
22628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22629 *) ac_try_echo
=$ac_try;;
22631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22632 (eval "$ac_compile") 2>conftest.er1
22634 grep -v '^ *+' conftest.er1
>conftest.err
22636 cat conftest.err
>&5
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); } &&
22639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22640 { (case "(($ac_try" in
22641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22642 *) ac_try_echo=$ac_try;;
22644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22645 (eval "$ac_try") 2>&5
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); }; } &&
22649 { ac_try='test -s conftest.$ac_objext'
22650 { (case "(($ac_try" in
22651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22652 *) ac_try_echo
=$ac_try;;
22654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22655 (eval "$ac_try") 2>&5
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); }; }; then
22659 ac_cv_member_sg_io_hdr_t_interface_id
=yes
22661 echo "$as_me: failed program was:" >&5
22662 sed 's/^/| /' conftest.
$ac_ext >&5
22664 ac_cv_member_sg_io_hdr_t_interface_id
=no
22667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22672 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22673 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22674 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22676 cat >>confdefs.h
<<_ACEOF
22677 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22684 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22685 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22686 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22687 echo $ECHO_N "(cached) $ECHO_C" >&6
22689 cat >conftest.
$ac_ext <<_ACEOF
22692 cat confdefs.h
>>conftest.
$ac_ext
22693 cat >>conftest.
$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22695 #include <signal.h>
22700 static siginfo_t ac_aggr;
22707 rm -f conftest.
$ac_objext
22708 if { (ac_try
="$ac_compile"
22709 case "(($ac_try" in
22710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22711 *) ac_try_echo=$ac_try;;
22713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22714 (eval "$ac_compile") 2>conftest.er1
22716 grep -v '^ *+' conftest.er1 >conftest.err
22718 cat conftest.err >&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); } &&
22721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22722 { (case "(($ac_try" in
22723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22724 *) ac_try_echo
=$ac_try;;
22726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22727 (eval "$ac_try") 2>&5
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); }; } &&
22731 { ac_try
='test -s conftest.$ac_objext'
22732 { (case "(($ac_try" in
22733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22734 *) ac_try_echo=$ac_try;;
22736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22737 (eval "$ac_try") 2>&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); }; }; then
22741 ac_cv_member_siginfo_t_si_fd=yes
22743 echo "$as_me: failed program was:" >&5
22744 sed 's/^/| /' conftest.$ac_ext >&5
22746 cat >conftest.$ac_ext <<_ACEOF
22749 cat confdefs.h >>conftest.$ac_ext
22750 cat >>conftest.$ac_ext <<_ACEOF
22751 /* end confdefs.h. */
22752 #include <signal.h>
22757 static siginfo_t ac_aggr;
22758 if (sizeof ac_aggr.si_fd)
22764 rm -f conftest.$ac_objext
22765 if { (ac_try="$ac_compile"
22766 case "(($ac_try" in
22767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22768 *) ac_try_echo
=$ac_try;;
22770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22771 (eval "$ac_compile") 2>conftest.er1
22773 grep -v '^ *+' conftest.er1
>conftest.err
22775 cat conftest.err
>&5
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); } &&
22778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22779 { (case "(($ac_try" in
22780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22781 *) ac_try_echo=$ac_try;;
22783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22784 (eval "$ac_try") 2>&5
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); }; } &&
22788 { ac_try='test -s conftest.$ac_objext'
22789 { (case "(($ac_try" in
22790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22791 *) ac_try_echo
=$ac_try;;
22793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22794 (eval "$ac_try") 2>&5
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); }; }; then
22798 ac_cv_member_siginfo_t_si_fd
=yes
22800 echo "$as_me: failed program was:" >&5
22801 sed 's/^/| /' conftest.
$ac_ext >&5
22803 ac_cv_member_siginfo_t_si_fd
=no
22806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22811 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22812 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22813 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22815 cat >>confdefs.h
<<_ACEOF
22816 #define HAVE_SIGINFO_T_SI_FD 1
22823 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22824 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22825 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22826 echo $ECHO_N "(cached) $ECHO_C" >&6
22828 cat >conftest.
$ac_ext <<_ACEOF
22831 cat confdefs.h
>>conftest.
$ac_ext
22832 cat >>conftest.
$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22834 #include <sys/types.h>
22835 #ifdef HAVE_SYS_MTIO_H
22836 #include <sys/mtio.h>
22842 static struct mtget ac_aggr;
22843 if (ac_aggr.mt_blksiz)
22849 rm -f conftest.
$ac_objext
22850 if { (ac_try
="$ac_compile"
22851 case "(($ac_try" in
22852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22853 *) ac_try_echo=$ac_try;;
22855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22856 (eval "$ac_compile") 2>conftest.er1
22858 grep -v '^ *+' conftest.er1 >conftest.err
22860 cat conftest.err >&5
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); } &&
22863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22864 { (case "(($ac_try" in
22865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22866 *) ac_try_echo
=$ac_try;;
22868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22869 (eval "$ac_try") 2>&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); }; } &&
22873 { ac_try
='test -s conftest.$ac_objext'
22874 { (case "(($ac_try" in
22875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22876 *) ac_try_echo=$ac_try;;
22878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22879 (eval "$ac_try") 2>&5
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; }; then
22883 ac_cv_member_struct_mtget_mt_blksiz=yes
22885 echo "$as_me: failed program was:" >&5
22886 sed 's/^/| /' conftest.$ac_ext >&5
22888 cat >conftest.$ac_ext <<_ACEOF
22891 cat confdefs.h >>conftest.$ac_ext
22892 cat >>conftest.$ac_ext <<_ACEOF
22893 /* end confdefs.h. */
22894 #include <sys/types.h>
22895 #ifdef HAVE_SYS_MTIO_H
22896 #include <sys/mtio.h>
22902 static struct mtget ac_aggr;
22903 if (sizeof ac_aggr.mt_blksiz)
22909 rm -f conftest.$ac_objext
22910 if { (ac_try="$ac_compile"
22911 case "(($ac_try" in
22912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22913 *) ac_try_echo
=$ac_try;;
22915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22916 (eval "$ac_compile") 2>conftest.er1
22918 grep -v '^ *+' conftest.er1
>conftest.err
22920 cat conftest.err
>&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } &&
22923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22924 { (case "(($ac_try" in
22925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22926 *) ac_try_echo=$ac_try;;
22928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22929 (eval "$ac_try") 2>&5
22931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 (exit $ac_status); }; } &&
22933 { ac_try='test -s conftest.$ac_objext'
22934 { (case "(($ac_try" in
22935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22936 *) ac_try_echo
=$ac_try;;
22938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22939 (eval "$ac_try") 2>&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; }; then
22943 ac_cv_member_struct_mtget_mt_blksiz
=yes
22945 echo "$as_me: failed program was:" >&5
22946 sed 's/^/| /' conftest.
$ac_ext >&5
22948 ac_cv_member_struct_mtget_mt_blksiz
=no
22951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22956 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22957 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22958 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22960 cat >>confdefs.h
<<_ACEOF
22961 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22966 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22967 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22968 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22969 echo $ECHO_N "(cached) $ECHO_C" >&6
22971 cat >conftest.
$ac_ext <<_ACEOF
22974 cat confdefs.h
>>conftest.
$ac_ext
22975 cat >>conftest.
$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22977 #include <sys/types.h>
22978 #ifdef HAVE_SYS_MTIO_H
22979 #include <sys/mtio.h>
22985 static struct mtget ac_aggr;
22986 if (ac_aggr.mt_gstat)
22992 rm -f conftest.
$ac_objext
22993 if { (ac_try
="$ac_compile"
22994 case "(($ac_try" in
22995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22996 *) ac_try_echo=$ac_try;;
22998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22999 (eval "$ac_compile") 2>conftest.er1
23001 grep -v '^ *+' conftest.er1 >conftest.err
23003 cat conftest.err >&5
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); } &&
23006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23007 { (case "(($ac_try" in
23008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23009 *) ac_try_echo
=$ac_try;;
23011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23012 (eval "$ac_try") 2>&5
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); }; } &&
23016 { ac_try
='test -s conftest.$ac_objext'
23017 { (case "(($ac_try" in
23018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23019 *) ac_try_echo=$ac_try;;
23021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23022 (eval "$ac_try") 2>&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); }; }; then
23026 ac_cv_member_struct_mtget_mt_gstat=yes
23028 echo "$as_me: failed program was:" >&5
23029 sed 's/^/| /' conftest.$ac_ext >&5
23031 cat >conftest.$ac_ext <<_ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037 #include <sys/types.h>
23038 #ifdef HAVE_SYS_MTIO_H
23039 #include <sys/mtio.h>
23045 static struct mtget ac_aggr;
23046 if (sizeof ac_aggr.mt_gstat)
23052 rm -f conftest.$ac_objext
23053 if { (ac_try="$ac_compile"
23054 case "(($ac_try" in
23055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23056 *) ac_try_echo
=$ac_try;;
23058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23059 (eval "$ac_compile") 2>conftest.er1
23061 grep -v '^ *+' conftest.er1
>conftest.err
23063 cat conftest.err
>&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } &&
23066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23067 { (case "(($ac_try" in
23068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23069 *) ac_try_echo=$ac_try;;
23071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23072 (eval "$ac_try") 2>&5
23074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23075 (exit $ac_status); }; } &&
23076 { ac_try='test -s conftest.$ac_objext'
23077 { (case "(($ac_try" in
23078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23079 *) ac_try_echo
=$ac_try;;
23081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23082 (eval "$ac_try") 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 ac_cv_member_struct_mtget_mt_gstat
=yes
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.
$ac_ext >&5
23091 ac_cv_member_struct_mtget_mt_gstat
=no
23094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23099 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
23100 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
23101 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
23103 cat >>confdefs.h
<<_ACEOF
23104 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
23109 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
23110 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
23111 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
23112 echo $ECHO_N "(cached) $ECHO_C" >&6
23114 cat >conftest.
$ac_ext <<_ACEOF
23117 cat confdefs.h
>>conftest.
$ac_ext
23118 cat >>conftest.
$ac_ext <<_ACEOF
23119 /* end confdefs.h. */
23120 #include <sys/types.h>
23121 #ifdef HAVE_SYS_MTIO_H
23122 #include <sys/mtio.h>
23128 static struct mtget ac_aggr;
23129 if (ac_aggr.mt_blkno)
23135 rm -f conftest.
$ac_objext
23136 if { (ac_try
="$ac_compile"
23137 case "(($ac_try" in
23138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23139 *) ac_try_echo=$ac_try;;
23141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23142 (eval "$ac_compile") 2>conftest.er1
23144 grep -v '^ *+' conftest.er1 >conftest.err
23146 cat conftest.err >&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); } &&
23149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23150 { (case "(($ac_try" in
23151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23152 *) ac_try_echo
=$ac_try;;
23154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23155 (eval "$ac_try") 2>&5
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; } &&
23159 { ac_try
='test -s conftest.$ac_objext'
23160 { (case "(($ac_try" in
23161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23162 *) ac_try_echo=$ac_try;;
23164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23165 (eval "$ac_try") 2>&5
23167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23168 (exit $ac_status); }; }; then
23169 ac_cv_member_struct_mtget_mt_blkno=yes
23171 echo "$as_me: failed program was:" >&5
23172 sed 's/^/| /' conftest.$ac_ext >&5
23174 cat >conftest.$ac_ext <<_ACEOF
23177 cat confdefs.h >>conftest.$ac_ext
23178 cat >>conftest.$ac_ext <<_ACEOF
23179 /* end confdefs.h. */
23180 #include <sys/types.h>
23181 #ifdef HAVE_SYS_MTIO_H
23182 #include <sys/mtio.h>
23188 static struct mtget ac_aggr;
23189 if (sizeof ac_aggr.mt_blkno)
23195 rm -f conftest.$ac_objext
23196 if { (ac_try="$ac_compile"
23197 case "(($ac_try" in
23198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23199 *) ac_try_echo
=$ac_try;;
23201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23202 (eval "$ac_compile") 2>conftest.er1
23204 grep -v '^ *+' conftest.er1
>conftest.err
23206 cat conftest.err
>&5
23207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208 (exit $ac_status); } &&
23209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23210 { (case "(($ac_try" in
23211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23212 *) ac_try_echo=$ac_try;;
23214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23215 (eval "$ac_try") 2>&5
23217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23218 (exit $ac_status); }; } &&
23219 { ac_try='test -s conftest.$ac_objext'
23220 { (case "(($ac_try" in
23221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23222 *) ac_try_echo
=$ac_try;;
23224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23225 (eval "$ac_try") 2>&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); }; }; then
23229 ac_cv_member_struct_mtget_mt_blkno
=yes
23231 echo "$as_me: failed program was:" >&5
23232 sed 's/^/| /' conftest.
$ac_ext >&5
23234 ac_cv_member_struct_mtget_mt_blkno
=no
23237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23242 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
23243 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
23244 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
23246 cat >>confdefs.h
<<_ACEOF
23247 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
23254 { echo "$as_me:$LINENO: checking for struct option.name" >&5
23255 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
23256 if test "${ac_cv_member_struct_option_name+set}" = set; then
23257 echo $ECHO_N "(cached) $ECHO_C" >&6
23259 cat >conftest.
$ac_ext <<_ACEOF
23262 cat confdefs.h
>>conftest.
$ac_ext
23263 cat >>conftest.
$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265 #ifdef HAVE_GETOPT_H
23266 #include <getopt.h>
23272 static struct option ac_aggr;
23279 rm -f conftest.
$ac_objext
23280 if { (ac_try
="$ac_compile"
23281 case "(($ac_try" in
23282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23283 *) ac_try_echo=$ac_try;;
23285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23286 (eval "$ac_compile") 2>conftest.er1
23288 grep -v '^ *+' conftest.er1 >conftest.err
23290 cat conftest.err >&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); } &&
23293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23294 { (case "(($ac_try" in
23295 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23296 *) ac_try_echo
=$ac_try;;
23298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23299 (eval "$ac_try") 2>&5
23301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23302 (exit $ac_status); }; } &&
23303 { ac_try
='test -s conftest.$ac_objext'
23304 { (case "(($ac_try" in
23305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23306 *) ac_try_echo=$ac_try;;
23308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23309 (eval "$ac_try") 2>&5
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); }; }; then
23313 ac_cv_member_struct_option_name=yes
23315 echo "$as_me: failed program was:" >&5
23316 sed 's/^/| /' conftest.$ac_ext >&5
23318 cat >conftest.$ac_ext <<_ACEOF
23321 cat confdefs.h >>conftest.$ac_ext
23322 cat >>conftest.$ac_ext <<_ACEOF
23323 /* end confdefs.h. */
23324 #ifdef HAVE_GETOPT_H
23325 #include <getopt.h>
23331 static struct option ac_aggr;
23332 if (sizeof ac_aggr.name)
23338 rm -f conftest.$ac_objext
23339 if { (ac_try="$ac_compile"
23340 case "(($ac_try" in
23341 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23342 *) ac_try_echo
=$ac_try;;
23344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23345 (eval "$ac_compile") 2>conftest.er1
23347 grep -v '^ *+' conftest.er1
>conftest.err
23349 cat conftest.err
>&5
23350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351 (exit $ac_status); } &&
23352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23353 { (case "(($ac_try" in
23354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23355 *) ac_try_echo=$ac_try;;
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_try") 2>&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; } &&
23362 { ac_try='test -s conftest.$ac_objext'
23363 { (case "(($ac_try" in
23364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23365 *) ac_try_echo
=$ac_try;;
23367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23368 (eval "$ac_try") 2>&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); }; }; then
23372 ac_cv_member_struct_option_name
=yes
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.
$ac_ext >&5
23377 ac_cv_member_struct_option_name
=no
23380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23385 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23386 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23387 if test $ac_cv_member_struct_option_name = yes; then
23389 cat >>confdefs.h
<<_ACEOF
23390 #define HAVE_STRUCT_OPTION_NAME 1
23397 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23398 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23399 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23402 cat >conftest.
$ac_ext <<_ACEOF
23405 cat confdefs.h
>>conftest.
$ac_ext
23406 cat >>conftest.
$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23408 $ac_includes_default
23412 static struct stat ac_aggr;
23413 if (ac_aggr.st_blocks)
23419 rm -f conftest.
$ac_objext
23420 if { (ac_try
="$ac_compile"
23421 case "(($ac_try" in
23422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23423 *) ac_try_echo=$ac_try;;
23425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23426 (eval "$ac_compile") 2>conftest.er1
23428 grep -v '^ *+' conftest.er1 >conftest.err
23430 cat conftest.err >&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } &&
23433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23434 { (case "(($ac_try" in
23435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23436 *) ac_try_echo
=$ac_try;;
23438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23439 (eval "$ac_try") 2>&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); }; } &&
23443 { ac_try
='test -s conftest.$ac_objext'
23444 { (case "(($ac_try" in
23445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23446 *) ac_try_echo=$ac_try;;
23448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23449 (eval "$ac_try") 2>&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; }; then
23453 ac_cv_member_struct_stat_st_blocks=yes
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23458 cat >conftest.$ac_ext <<_ACEOF
23461 cat confdefs.h >>conftest.$ac_ext
23462 cat >>conftest.$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23464 $ac_includes_default
23468 static struct stat ac_aggr;
23469 if (sizeof ac_aggr.st_blocks)
23475 rm -f conftest.$ac_objext
23476 if { (ac_try="$ac_compile"
23477 case "(($ac_try" in
23478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23479 *) ac_try_echo
=$ac_try;;
23481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23482 (eval "$ac_compile") 2>conftest.er1
23484 grep -v '^ *+' conftest.er1
>conftest.err
23486 cat conftest.err
>&5
23487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488 (exit $ac_status); } &&
23489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23490 { (case "(($ac_try" in
23491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23492 *) ac_try_echo=$ac_try;;
23494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23495 (eval "$ac_try") 2>&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); }; } &&
23499 { ac_try='test -s conftest.$ac_objext'
23500 { (case "(($ac_try" in
23501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23502 *) ac_try_echo
=$ac_try;;
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_try") 2>&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; }; then
23509 ac_cv_member_struct_stat_st_blocks
=yes
23511 echo "$as_me: failed program was:" >&5
23512 sed 's/^/| /' conftest.
$ac_ext >&5
23514 ac_cv_member_struct_stat_st_blocks
=no
23517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23522 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23523 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23524 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23526 cat >>confdefs.h
<<_ACEOF
23527 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23534 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23535 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23536 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23537 echo $ECHO_N "(cached) $ECHO_C" >&6
23539 cat >conftest.
$ac_ext <<_ACEOF
23542 cat confdefs.h
>>conftest.
$ac_ext
23543 cat >>conftest.
$ac_ext <<_ACEOF
23544 /* end confdefs.h. */
23545 #ifdef HAVE_SYS_TYPES_H
23546 #include <sys/types.h>
23548 #ifdef HAVE_NETINET_IN_H
23549 #include <netinet/in.h>
23555 static struct sockaddr_in6 ac_aggr;
23556 if (ac_aggr.sin6_scope_id)
23562 rm -f conftest.
$ac_objext
23563 if { (ac_try
="$ac_compile"
23564 case "(($ac_try" in
23565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23566 *) ac_try_echo=$ac_try;;
23568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23569 (eval "$ac_compile") 2>conftest.er1
23571 grep -v '^ *+' conftest.er1 >conftest.err
23573 cat conftest.err >&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } &&
23576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23577 { (case "(($ac_try" in
23578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23579 *) ac_try_echo
=$ac_try;;
23581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23582 (eval "$ac_try") 2>&5
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; } &&
23586 { ac_try
='test -s conftest.$ac_objext'
23587 { (case "(($ac_try" in
23588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_try") 2>&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); }; }; then
23596 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23601 cat >conftest.$ac_ext <<_ACEOF
23604 cat confdefs.h >>conftest.$ac_ext
23605 cat >>conftest.$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23607 #ifdef HAVE_SYS_TYPES_H
23608 #include <sys/types.h>
23610 #ifdef HAVE_NETINET_IN_H
23611 #include <netinet/in.h>
23617 static struct sockaddr_in6 ac_aggr;
23618 if (sizeof ac_aggr.sin6_scope_id)
23624 rm -f conftest.$ac_objext
23625 if { (ac_try="$ac_compile"
23626 case "(($ac_try" in
23627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23628 *) ac_try_echo
=$ac_try;;
23630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23631 (eval "$ac_compile") 2>conftest.er1
23633 grep -v '^ *+' conftest.er1
>conftest.err
23635 cat conftest.err
>&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); } &&
23638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23639 { (case "(($ac_try" in
23640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23641 *) ac_try_echo=$ac_try;;
23643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_try") 2>&5
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); }; } &&
23648 { ac_try='test -s conftest.$ac_objext'
23649 { (case "(($ac_try" in
23650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23651 *) ac_try_echo
=$ac_try;;
23653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23654 (eval "$ac_try") 2>&5
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; }; then
23658 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
23660 echo "$as_me: failed program was:" >&5
23661 sed 's/^/| /' conftest.
$ac_ext >&5
23663 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
23666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23671 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23672 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23673 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23675 cat >>confdefs.h
<<_ACEOF
23676 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23683 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23684 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23685 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23686 echo $ECHO_N "(cached) $ECHO_C" >&6
23688 cat >conftest.
$ac_ext <<_ACEOF
23691 cat confdefs.h
>>conftest.
$ac_ext
23692 cat >>conftest.
$ac_ext <<_ACEOF
23693 /* end confdefs.h. */
23694 #ifdef HAVE_SYS_TYPES_H
23695 #include <sys/types.h>
23697 #ifdef HAVE_NETINET_IN_H
23698 # include <netinet/in.h>
23700 #ifdef HAVE_ARPA_NAMESER_H
23701 # include <arpa/nameser.h>
23707 static ns_msg ac_aggr;
23708 if (ac_aggr._msg_ptr)
23714 rm -f conftest.
$ac_objext
23715 if { (ac_try
="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23723 grep -v '^ *+' conftest.er1 >conftest.err
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } &&
23728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23729 { (case "(($ac_try" in
23730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23731 *) ac_try_echo
=$ac_try;;
23733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23734 (eval "$ac_try") 2>&5
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); }; } &&
23738 { ac_try
='test -s conftest.$ac_objext'
23739 { (case "(($ac_try" in
23740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23741 *) ac_try_echo=$ac_try;;
23743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744 (eval "$ac_try") 2>&5
23746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23747 (exit $ac_status); }; }; then
23748 ac_cv_member_ns_msg__msg_ptr=yes
23750 echo "$as_me: failed program was:" >&5
23751 sed 's/^/| /' conftest.$ac_ext >&5
23753 cat >conftest.$ac_ext <<_ACEOF
23756 cat confdefs.h >>conftest.$ac_ext
23757 cat >>conftest.$ac_ext <<_ACEOF
23758 /* end confdefs.h. */
23759 #ifdef HAVE_SYS_TYPES_H
23760 #include <sys/types.h>
23762 #ifdef HAVE_NETINET_IN_H
23763 # include <netinet/in.h>
23765 #ifdef HAVE_ARPA_NAMESER_H
23766 # include <arpa/nameser.h>
23772 static ns_msg ac_aggr;
23773 if (sizeof ac_aggr._msg_ptr)
23779 rm -f conftest.$ac_objext
23780 if { (ac_try="$ac_compile"
23781 case "(($ac_try" in
23782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23783 *) ac_try_echo
=$ac_try;;
23785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23786 (eval "$ac_compile") 2>conftest.er1
23788 grep -v '^ *+' conftest.er1
>conftest.err
23790 cat conftest.err
>&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } &&
23793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23794 { (case "(($ac_try" in
23795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23796 *) ac_try_echo=$ac_try;;
23798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23799 (eval "$ac_try") 2>&5
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); }; } &&
23803 { ac_try='test -s conftest.$ac_objext'
23804 { (case "(($ac_try" in
23805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23806 *) ac_try_echo
=$ac_try;;
23808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23809 (eval "$ac_try") 2>&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); }; }; then
23813 ac_cv_member_ns_msg__msg_ptr
=yes
23815 echo "$as_me: failed program was:" >&5
23816 sed 's/^/| /' conftest.
$ac_ext >&5
23818 ac_cv_member_ns_msg__msg_ptr
=no
23821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23826 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23827 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23828 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23830 cat >>confdefs.h
<<_ACEOF
23831 #define HAVE_NS_MSG__MSG_PTR 1
23838 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23839 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23840 if test "${ac_cv_have_timezone+set}" = set; then
23841 echo $ECHO_N "(cached) $ECHO_C" >&6
23843 cat >conftest.
$ac_ext <<_ACEOF
23846 cat confdefs.h
>>conftest.
$ac_ext
23847 cat >>conftest.
$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23858 rm -f conftest.
$ac_objext conftest
$ac_exeext
23859 if { (ac_try
="$ac_link"
23860 case "(($ac_try" in
23861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_link") 2>conftest.er1
23867 grep -v '^ *+' conftest.er1 >conftest.err
23869 cat conftest.err >&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } &&
23872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23873 { (case "(($ac_try" in
23874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23875 *) ac_try_echo
=$ac_try;;
23877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23878 (eval "$ac_try") 2>&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); }; } &&
23882 { ac_try
='test -s conftest$ac_exeext'
23883 { (case "(($ac_try" in
23884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23885 *) ac_try_echo=$ac_try;;
23887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23888 (eval "$ac_try") 2>&5
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; }; then
23892 ac_cv_have_timezone="yes"
23894 echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.$ac_ext >&5
23897 ac_cv_have_timezone="no"
23900 rm -f core conftest.err conftest.$ac_objext \
23901 conftest$ac_exeext conftest.$ac_ext
23903 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23904 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23905 if test "$ac_cv_have_timezone" = "yes"
23908 cat >>confdefs.h <<\_ACEOF
23909 #define HAVE_TIMEZONE 1
23913 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23914 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23915 if test "${ac_cv_have_daylight+set}" = set; then
23916 echo $ECHO_N "(cached) $ECHO_C" >&6
23918 cat >conftest.$ac_ext <<_ACEOF
23921 cat confdefs.h >>conftest.$ac_ext
23922 cat >>conftest.$ac_ext <<_ACEOF
23923 /* end confdefs.h. */
23933 rm -f conftest.$ac_objext conftest$ac_exeext
23934 if { (ac_try="$ac_link"
23935 case "(($ac_try" in
23936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23937 *) ac_try_echo
=$ac_try;;
23939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23940 (eval "$ac_link") 2>conftest.er1
23942 grep -v '^ *+' conftest.er1
>conftest.err
23944 cat conftest.err
>&5
23945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946 (exit $ac_status); } &&
23947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23948 { (case "(($ac_try" in
23949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23950 *) ac_try_echo=$ac_try;;
23952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23953 (eval "$ac_try") 2>&5
23955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23956 (exit $ac_status); }; } &&
23957 { ac_try='test -s conftest$ac_exeext'
23958 { (case "(($ac_try" in
23959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23960 *) ac_try_echo
=$ac_try;;
23962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23963 (eval "$ac_try") 2>&5
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; }; then
23967 ac_cv_have_daylight
="yes"
23969 echo "$as_me: failed program was:" >&5
23970 sed 's/^/| /' conftest.
$ac_ext >&5
23972 ac_cv_have_daylight
="no"
23975 rm -f core conftest.err conftest.
$ac_objext \
23976 conftest
$ac_exeext conftest.
$ac_ext
23978 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23979 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23980 if test "$ac_cv_have_daylight" = "yes"
23983 cat >>confdefs.h
<<\_ACEOF
23984 #define HAVE_DAYLIGHT 1
23991 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23992 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23993 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23994 echo $ECHO_N "(cached) $ECHO_C" >&6
23996 cat >conftest.
$ac_ext <<_ACEOF
23999 cat confdefs.h
>>conftest.
$ac_ext
24000 cat >>conftest.
$ac_ext <<_ACEOF
24001 /* end confdefs.h. */
24006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24007 $EGREP "yes" >/dev
/null
2>&1; then
24008 ac_cv_cpp_def___i386__
=yes
24010 ac_cv_cpp_def___i386__
=no
24015 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
24016 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
24017 if test $ac_cv_cpp_def___i386__ = yes; then
24018 CFLAGS
="$CFLAGS -D__i386__"
24019 LINTFLAGS
="$LINTFLAGS -D__i386__"
24022 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
24023 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
24024 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
24025 echo $ECHO_N "(cached) $ECHO_C" >&6
24027 cat >conftest.
$ac_ext <<_ACEOF
24030 cat confdefs.h
>>conftest.
$ac_ext
24031 cat >>conftest.
$ac_ext <<_ACEOF
24032 /* end confdefs.h. */
24037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24038 $EGREP "yes" >/dev
/null
2>&1; then
24039 ac_cv_cpp_def___x86_64__
=yes
24041 ac_cv_cpp_def___x86_64__
=no
24046 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
24047 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
24048 if test $ac_cv_cpp_def___x86_64__ = yes; then
24049 CFLAGS
="$CFLAGS -D__x86_64__"
24050 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
24053 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
24054 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
24055 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
24056 echo $ECHO_N "(cached) $ECHO_C" >&6
24058 cat >conftest.
$ac_ext <<_ACEOF
24061 cat confdefs.h
>>conftest.
$ac_ext
24062 cat >>conftest.
$ac_ext <<_ACEOF
24063 /* end confdefs.h. */
24068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24069 $EGREP "yes" >/dev
/null
2>&1; then
24070 ac_cv_cpp_def___ALPHA__
=yes
24072 ac_cv_cpp_def___ALPHA__
=no
24077 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
24078 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
24079 if test $ac_cv_cpp_def___ALPHA__ = yes; then
24080 CFLAGS
="$CFLAGS -D__ALPHA__"
24081 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
24084 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
24085 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
24086 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
24087 echo $ECHO_N "(cached) $ECHO_C" >&6
24089 cat >conftest.
$ac_ext <<_ACEOF
24092 cat confdefs.h
>>conftest.
$ac_ext
24093 cat >>conftest.
$ac_ext <<_ACEOF
24094 /* end confdefs.h. */
24099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24100 $EGREP "yes" >/dev
/null
2>&1; then
24101 ac_cv_cpp_def___sparc__
=yes
24103 ac_cv_cpp_def___sparc__
=no
24108 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
24109 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
24110 if test $ac_cv_cpp_def___sparc__ = yes; then
24111 CFLAGS
="$CFLAGS -D__sparc__"
24112 LINTFLAGS
="$LINTFLAGS -D__sparc__"
24115 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
24116 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
24117 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
24118 echo $ECHO_N "(cached) $ECHO_C" >&6
24120 cat >conftest.
$ac_ext <<_ACEOF
24123 cat confdefs.h
>>conftest.
$ac_ext
24124 cat >>conftest.
$ac_ext <<_ACEOF
24125 /* end confdefs.h. */
24126 #ifndef __powerpc__
24130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24131 $EGREP "yes" >/dev
/null
2>&1; then
24132 ac_cv_cpp_def___powerpc__
=yes
24134 ac_cv_cpp_def___powerpc__
=no
24139 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
24140 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
24141 if test $ac_cv_cpp_def___powerpc__ = yes; then
24142 CFLAGS
="$CFLAGS -D__powerpc__"
24143 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
24148 case $host_vendor in
24149 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
24150 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
24151 if test "${ac_cv_cpp_def___sun__+set}" = set; then
24152 echo $ECHO_N "(cached) $ECHO_C" >&6
24154 cat >conftest.
$ac_ext <<_ACEOF
24157 cat confdefs.h
>>conftest.
$ac_ext
24158 cat >>conftest.
$ac_ext <<_ACEOF
24159 /* end confdefs.h. */
24164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24165 $EGREP "yes" >/dev
/null
2>&1; then
24166 ac_cv_cpp_def___sun__
=yes
24168 ac_cv_cpp_def___sun__
=no
24173 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
24174 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
24175 if test $ac_cv_cpp_def___sun__ = yes; then
24176 CFLAGS
="$CFLAGS -D__sun__"
24177 LINTFLAGS
="$LINTFLAGS -D__sun__"
24186 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
24188 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
24190 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
24192 ac_config_commands
="$ac_config_commands dlls/user/resources"
24194 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
24196 ac_config_commands
="$ac_config_commands include/wine"
24199 MAKE_RULES
=Make.rules
24202 MAKE_DLL_RULES
=dlls
/Makedll.rules
24205 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
24208 MAKE_TEST_RULES
=dlls
/Maketest.rules
24211 MAKE_LIB_RULES
=libs
/Makelib.rules
24214 MAKE_PROG_RULES
=programs
/Makeprog.rules
24217 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules libs/Makelib.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/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/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/hlink/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/inseng/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/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/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/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/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/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/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/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/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/wcmd/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/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
24220 cat >confcache
<<\_ACEOF
24221 # This file is a shell script that caches the results of configure
24222 # tests run on this system so they can be shared between configure
24223 # scripts and configure runs, see configure's option --config-cache.
24224 # It is not useful on other systems. If it contains results you don't
24225 # want to keep, you may remove or edit it.
24227 # config.status only pays attention to the cache file if you give it
24228 # the --recheck option to rerun configure.
24230 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24231 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24232 # following values.
24236 # The following way of writing the cache mishandles newlines in values,
24237 # but we know of no workaround that is simple, portable, and efficient.
24238 # So, we kill variables containing newlines.
24239 # Ultrix sh set writes to stderr and can't be redirected directly,
24240 # and sets the high bit in the cache file unless we assign to the vars.
24242 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24243 eval ac_val
=\$
$ac_var
24247 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24248 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24251 _ | IFS | as_nl
) ;; #(
24252 *) $as_unset $ac_var ;;
24258 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24259 *${as_nl}ac_space
=\
*)
24260 # `set' does not quote correctly, so add quotes (double-quote
24261 # substitution turns \\\\ into \\, and sed turns \\ into \).
24264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24267 # `set' quotes correctly as required by POSIX, so do not add quotes.
24268 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24277 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24279 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24281 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24282 if test -w "$cache_file"; then
24283 test "x$cache_file" != "x/dev/null" &&
24284 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24285 echo "$as_me: updating cache $cache_file" >&6;}
24286 cat confcache
>$cache_file
24288 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24289 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24294 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24295 # Let make expand exec_prefix.
24296 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24298 DEFS
=-DHAVE_CONFIG_H
24302 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24303 # 1. Remove the extension, and $U if already installed.
24304 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24305 ac_i
=`echo "$ac_i" | sed "$ac_script"`
24306 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24307 # will be set to the directory where LIBOBJS objects are built.
24308 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24309 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24311 LIBOBJS
=$ac_libobjs
24313 LTLIBOBJS
=$ac_ltlibobjs
24317 : ${CONFIG_STATUS=./config.status}
24318 ac_clean_files_save
=$ac_clean_files
24319 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24320 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24321 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24322 cat >$CONFIG_STATUS <<_ACEOF
24324 # Generated by $as_me.
24325 # Run this file to recreate the current configuration.
24326 # Compiler output produced by configure, useful for debugging
24327 # configure, is in config.log if it exists.
24330 ac_cs_recheck=false
24332 SHELL=\${CONFIG_SHELL-$SHELL}
24335 cat >>$CONFIG_STATUS <<\_ACEOF
24336 ## --------------------- ##
24337 ## M4sh Initialization. ##
24338 ## --------------------- ##
24340 # Be Bourne compatible
24341 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24344 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24345 # is contrary to our usage. Disable this feature.
24346 alias -g '${1+"$@"}'='"$@"'
24347 setopt NO_GLOB_SUBST
24349 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
24351 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
24352 DUALCASE
=1; export DUALCASE
# for MKS sh
24356 # Avoid depending upon Character Ranges.
24357 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24358 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24359 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24360 as_cr_digits
='0123456789'
24361 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24363 # The user is always right.
24364 if test "${PATH_SEPARATOR+set}" != set; then
24365 echo "#! /bin/sh" >conf$$.sh
24366 echo "exit 0" >>conf$$.sh
24368 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24376 # Support unset when possible.
24377 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
24385 # We need space, tab and new line, in precisely that order. Quoting is
24386 # there to prevent editors from complaining about space-tab.
24387 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24388 # splitting by setting IFS to empty value.)
24393 # Find who we are. Look in the path if we contain no directory separator.
24395 *[\\/]* ) as_myself
=$0 ;;
24396 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24397 for as_dir
in $PATH
24400 test -z "$as_dir" && as_dir
=.
24401 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24407 # We did not find ourselves, most probably we were run as `sh COMMAND'
24408 # in which case we are not to be found in the path.
24409 if test "x$as_myself" = x
; then
24412 if test ! -f "$as_myself"; then
24413 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24414 { (exit 1); exit 1; }
24417 # Work around bugs in pre-3.0 UWIN ksh.
24418 for as_var
in ENV MAIL MAILPATH
24419 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24427 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24428 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24429 LC_TELEPHONE LC_TIME
24431 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24432 eval $as_var=C
; export $as_var
24434 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24438 # Required to use basename.
24439 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24440 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24446 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24447 as_basename
=basename
24453 # Name of the executable.
24454 as_me
=`$as_basename -- "$0" ||
24455 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24456 X"$0" : 'X\(//\)$' \| \
24457 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24459 sed '/^.*\/\([^/][^/]*\)\/*$/{
24478 as_lineno_1
=$LINENO
24479 as_lineno_2
=$LINENO
24480 test "x$as_lineno_1" != "x$as_lineno_2" &&
24481 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
24483 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24484 # uniformly replaced by the line number. The first 'sed' inserts a
24485 # line-number line after each line using $LINENO; the second 'sed'
24486 # does the real work. The second script uses 'N' to pair each
24487 # line-number line with the line containing $LINENO, and appends
24488 # trailing '-' during substitution so that $LINENO is not a special
24489 # case at line end.
24490 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24491 # scripts with optimization help from Paolo Bonzini. Blame Lee
24492 # E. McMahon (1931-1989) for sed's syntax. :-)
24504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24507 ' >$as_me.lineno
&&
24508 chmod +x
"$as_me.lineno" ||
24509 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24510 { (exit 1); exit 1; }; }
24512 # Don't try to exec as it changes $[0], causing all sort of problems
24513 # (the dirname of $[0] is not the place where we might find the
24514 # original and so on. Autoconf is especially sensitive to this).
24515 .
"./$as_me.lineno"
24516 # Exit status is that of the last command.
24521 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24527 ECHO_C
= ECHO_N
= ECHO_T
=
24528 case `echo -n x` in
24530 case `echo 'x\c'` in
24531 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24538 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24539 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24545 rm -f conf$$ conf$$.exe conf$$.
file
24546 if test -d conf$$.dir
; then
24547 rm -f conf$$.dir
/conf$$.
file
24553 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24555 # ... but there are two gotchas:
24556 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24557 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24558 # In both cases, we have to default to `cp -p'.
24559 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24561 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24566 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24567 rmdir conf$$.dir
2>/dev
/null
24569 if mkdir
-p .
2>/dev
/null
; then
24572 test -d .
/-p && rmdir .
/-p
24576 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24577 # systems may use methods other than mode bits to determine executability.
24578 cat >conf$$.
file <<_ASEOF
24582 chmod +x conf$$.
file
24583 if test -x conf$$.
file >/dev
/null
2>&1; then
24584 as_executable_p
="test -x"
24590 # Sed expression to map a string onto a valid CPP name.
24591 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24593 # Sed expression to map a string onto a valid variable name.
24594 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24599 # Save the log message, to keep $[0] and so on meaningful, and to
24600 # report actual input values of CONFIG_FILES etc. instead of their
24601 # values after options handling.
24603 This file was extended by Wine $as_me 0.9.16, which was
24604 generated by GNU Autoconf 2.59e. Invocation command line was
24606 CONFIG_FILES = $CONFIG_FILES
24607 CONFIG_HEADERS = $CONFIG_HEADERS
24608 CONFIG_LINKS = $CONFIG_LINKS
24609 CONFIG_COMMANDS = $CONFIG_COMMANDS
24612 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24617 cat >>$CONFIG_STATUS <<_ACEOF
24618 # Files that config.status was made for.
24619 config_files="$ac_config_files"
24620 config_headers="$ac_config_headers"
24621 config_commands="$ac_config_commands"
24625 cat >>$CONFIG_STATUS <<\_ACEOF
24627 \`$as_me' instantiates files from templates according to the
24628 current configuration.
24630 Usage: $0 [OPTIONS] [FILE]...
24632 -h, --help print this help, then exit
24633 -V, --version print version number, then exit
24634 -q, --quiet do not print progress messages
24635 -d, --debug don't remove temporary files
24636 --recheck update $as_me by reconfiguring in the same conditions
24637 --file=FILE[:TEMPLATE]
24638 instantiate the configuration file FILE
24639 --header=FILE[:TEMPLATE]
24640 instantiate the configuration header FILE
24642 Configuration files:
24645 Configuration headers:
24648 Configuration commands:
24651 Report bugs to <bug-autoconf@gnu.org>."
24654 cat >>$CONFIG_STATUS <<_ACEOF
24656 Wine config.status 0.9.16
24657 configured by $0, generated by GNU Autoconf 2.59e,
24658 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24660 Copyright (C) 2006 Free Software Foundation, Inc.
24661 This config.status script is free software; the Free Software Foundation
24662 gives unlimited permission to copy, distribute and modify it."
24669 cat >>$CONFIG_STATUS <<\_ACEOF
24670 # If no file are specified by the user, then we need to provide default
24671 # value. By we need to know if files were specified by the user.
24677 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24678 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24689 # Handling of the options.
24690 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24692 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24693 echo "$ac_cs_version"; exit ;;
24694 --debug |
--debu |
--deb |
--de |
--d |
-d )
24696 --file |
--fil |
--fi |
--f )
24698 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24699 ac_need_defaults
=false
;;
24700 --header |
--heade |
--head |
--hea )
24702 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24703 ac_need_defaults
=false
;;
24705 # Conflict between --help and --header
24706 { echo "$as_me: error: ambiguous option: $1
24707 Try \`$0 --help' for more information." >&2
24708 { (exit 1); exit 1; }; };;
24709 --help |
--hel |
-h )
24710 echo "$ac_cs_usage"; exit ;;
24711 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24712 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24715 # This is an error.
24716 -*) { echo "$as_me: error: unrecognized option: $1
24717 Try \`$0 --help' for more information." >&2
24718 { (exit 1); exit 1; }; } ;;
24720 *) ac_config_targets
="$ac_config_targets $1"
24721 ac_need_defaults
=false
;;
24727 ac_configure_extra_args
=
24729 if $ac_cs_silent; then
24731 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24735 cat >>$CONFIG_STATUS <<_ACEOF
24736 if \$ac_cs_recheck; then
24737 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24738 CONFIG_SHELL=$SHELL
24739 export CONFIG_SHELL
24740 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24744 cat >>$CONFIG_STATUS <<\_ACEOF
24748 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24749 ## Running $as_me. ##
24755 cat >>$CONFIG_STATUS <<_ACEOF
24758 cat >>$CONFIG_STATUS <<\_ACEOF
24760 # Handling of arguments.
24761 for ac_config_target
in $ac_config_targets
24763 case $ac_config_target in
24764 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24765 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24766 "dlls/gdi/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24767 "dlls/kernel/messages") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24768 "dlls/user/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
24769 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24770 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
24771 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
24772 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
24773 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24774 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
24775 "libs/Makelib.rules") CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
24776 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
24777 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24778 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
24779 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
24780 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24781 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24782 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
24783 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24784 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
24785 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
24786 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24787 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24788 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24789 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24790 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24791 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
24792 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24793 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
24794 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24795 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24796 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24797 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
24798 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24799 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24800 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24801 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24802 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24803 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24804 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24805 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24806 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24807 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24808 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24809 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24810 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24811 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24812 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24813 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24814 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24815 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
24816 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
24817 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24818 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24819 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
24820 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24821 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
24822 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24823 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24824 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24825 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24826 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24827 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24828 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24829 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24830 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
24831 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24832 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24833 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24834 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
24835 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24836 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
24837 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24838 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24839 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24840 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24841 "dlls/gdi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
24842 "dlls/gdi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24843 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
24844 "dlls/glut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
24845 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24846 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24847 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
24848 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24849 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
24850 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24851 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
24852 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24853 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24854 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
24855 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24856 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24857 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
24858 "dlls/kernel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
24859 "dlls/kernel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
24860 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
24861 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24862 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24863 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24864 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24865 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24866 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24867 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24868 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
24869 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
24870 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24871 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24872 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24873 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
24874 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24875 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24876 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24877 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24878 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24879 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
24880 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24881 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24882 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24883 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24884 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24885 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24886 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
24887 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24888 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24889 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24890 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24891 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24892 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24893 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24894 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24895 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24896 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24897 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24898 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24899 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24900 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24901 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24902 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24903 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24904 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24905 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
24906 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24907 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24908 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24909 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
24910 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24911 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24912 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
24913 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24914 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24915 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24916 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24917 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24918 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24919 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24920 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24921 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24922 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24923 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
24924 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24925 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
24926 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
24927 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24928 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24929 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
24930 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24931 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
24932 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24933 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24934 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24935 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24936 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24937 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24938 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24939 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
24940 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24941 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
24942 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24943 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
24944 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24945 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24946 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
24947 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24948 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24949 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
24950 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24951 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24952 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24953 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24954 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24955 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24956 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24957 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24958 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
24959 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24960 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24961 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24962 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
24963 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
24964 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24965 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24966 "dlls/user/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
24967 "dlls/user/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24968 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
24969 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
24970 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24971 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
24972 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24973 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24974 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24975 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24976 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
24977 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24978 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24979 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24980 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24981 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24982 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24983 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24984 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24985 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24986 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
24987 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24988 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24989 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24990 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
24991 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24992 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
24993 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24994 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24995 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24996 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24997 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24998 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24999 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
25000 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
25001 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
25002 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
25003 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
25004 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
25005 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
25006 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
25007 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
25008 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
25009 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
25010 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
25011 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
25012 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
25013 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
25014 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
25015 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
25016 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
25017 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
25018 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
25019 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
25020 "libs/unicode/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
25021 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
25022 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
25023 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
25024 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
25025 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
25026 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
25027 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
25028 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
25029 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
25030 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
25031 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
25032 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
25033 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
25034 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
25035 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
25036 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
25037 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
25038 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
25039 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
25040 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
25041 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
25042 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
25043 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
25044 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
25045 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
25046 "programs/wcmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
25047 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
25048 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
25049 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
25050 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
25051 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
25052 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
25053 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
25054 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
25055 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
25056 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
25057 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
25058 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
25059 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
25060 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
25061 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
25062 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
25063 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
25064 "tools/winapi/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
25065 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
25066 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
25067 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
25068 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
25069 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
25071 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25072 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25073 { (exit 1); exit 1; }; };;
25078 # If the user did not use the arguments to specify the items to instantiate,
25079 # then the envvar interface is used. Set only those that are not.
25080 # We use the long form for the default assignment because of an extremely
25081 # bizarre bug on SunOS 4.1.3.
25082 if $ac_need_defaults; then
25083 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25084 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25085 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25088 # Have a temporary directory for convenience. Make it in the build tree
25089 # simply because there is no reason against having it here, and in addition,
25090 # creating and moving files from /tmp can sometimes cause problems.
25091 # Hook for its removal unless debugging.
25092 # Note that there is a small window in which the directory will not be cleaned:
25093 # after its creation but before its name has been assigned to `$tmp'.
25097 trap 'exit_status=$?
25098 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25100 trap '{ (exit 1); exit 1; }' 1 2 13 15
25102 # Create a (secure) tmp directory for tmp files.
25105 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25106 test -n "$tmp" && test -d "$tmp"
25109 tmp
=.
/conf$$
-$RANDOM
25110 (umask 077 && mkdir
"$tmp")
25113 echo "$me: cannot create a temporary directory in ." >&2
25114 { (exit 1); exit 1; }
25118 # Set up the sed scripts for CONFIG_FILES section.
25121 # No need to generate the scripts if there are no CONFIG_FILES.
25122 # This happens for instance when ./config.status config.h
25123 if test -n "$CONFIG_FILES"; then
25127 # Create sed commands to just substitute file output variables.
25129 # Remaining file output variables are in a fragment that also has non-file
25135 for ac_last_try
in false false false false false
:; do
25136 cat >conf$
$subs.
sed <<_ACEOF
25137 SHELL!$SHELL$ac_delim
25138 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25139 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25140 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25141 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25142 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25143 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25144 exec_prefix!$exec_prefix$ac_delim
25145 prefix!$prefix$ac_delim
25146 program_transform_name!$program_transform_name$ac_delim
25147 bindir!$bindir$ac_delim
25148 sbindir!$sbindir$ac_delim
25149 libexecdir!$libexecdir$ac_delim
25150 datarootdir!$datarootdir$ac_delim
25151 datadir!$datadir$ac_delim
25152 sysconfdir!$sysconfdir$ac_delim
25153 sharedstatedir!$sharedstatedir$ac_delim
25154 localstatedir!$localstatedir$ac_delim
25155 includedir!$includedir$ac_delim
25156 oldincludedir!$oldincludedir$ac_delim
25157 docdir!$docdir$ac_delim
25158 infodir!$infodir$ac_delim
25159 htmldir!$htmldir$ac_delim
25160 dvidir!$dvidir$ac_delim
25161 pdfdir!$pdfdir$ac_delim
25162 psdir!$psdir$ac_delim
25163 libdir!$libdir$ac_delim
25164 localedir!$localedir$ac_delim
25165 mandir!$mandir$ac_delim
25166 DEFS!$DEFS$ac_delim
25167 ECHO_C!$ECHO_C$ac_delim
25168 ECHO_N!$ECHO_N$ac_delim
25169 ECHO_T!$ECHO_T$ac_delim
25170 LIBS!$LIBS$ac_delim
25171 build_alias!$build_alias$ac_delim
25172 host_alias!$host_alias$ac_delim
25173 target_alias!$target_alias$ac_delim
25174 build!$build$ac_delim
25175 build_cpu!$build_cpu$ac_delim
25176 build_vendor!$build_vendor$ac_delim
25177 build_os!$build_os$ac_delim
25178 host!$host$ac_delim
25179 host_cpu!$host_cpu$ac_delim
25180 host_vendor!$host_vendor$ac_delim
25181 host_os!$host_os$ac_delim
25182 WIN16_FILES!$WIN16_FILES$ac_delim
25183 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
25184 SET_MAKE!$SET_MAKE$ac_delim
25186 CFLAGS!$CFLAGS$ac_delim
25187 LDFLAGS!$LDFLAGS$ac_delim
25188 CPPFLAGS!$CPPFLAGS$ac_delim
25189 ac_ct_CC!$ac_ct_CC$ac_delim
25190 EXEEXT!$EXEEXT$ac_delim
25191 OBJEXT!$OBJEXT$ac_delim
25193 CXXFLAGS!$CXXFLAGS$ac_delim
25194 ac_ct_CXX!$ac_ct_CXX$ac_delim
25195 CPPBIN!$CPPBIN$ac_delim
25196 TOOLSDIR!$TOOLSDIR$ac_delim
25197 XMKMF!$XMKMF$ac_delim
25199 X_CFLAGS!$X_CFLAGS$ac_delim
25200 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
25201 X_LIBS!$X_LIBS$ac_delim
25202 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
25204 LEXLIB!$LEXLIB$ac_delim
25205 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
25206 XLEX!$XLEX$ac_delim
25207 BISON!$BISON$ac_delim
25209 ac_ct_AS!$ac_ct_AS$ac_delim
25212 RANLIB!$RANLIB$ac_delim
25213 STRIP!$STRIP$ac_delim
25214 WINDRES!$WINDRES$ac_delim
25215 LN_S!$LN_S$ac_delim
25218 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
25220 elif $ac_last_try; then
25221 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25222 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25223 { (exit 1); exit 1; }; }
25225 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25229 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25230 if test -n "$ac_eof"; then
25231 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25232 ac_eof
=`expr $ac_eof + 1`
25235 cat >>$CONFIG_STATUS <<_ACEOF
25236 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25237 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25238 /^[ ]*@MAKE_RULES@[ ]*$/{
25242 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25246 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25247 r $MAKE_IMPLIB_RULES
25250 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25254 /^[ ]*@MAKE_LIB_RULES@[ ]*$/{
25258 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25264 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25265 s/^/s,@/; s/!/@,|#_!!_#|/
25268 s/'"$ac_delim"'$/,g/; t
25270 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25271 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25272 rm -f conf$
$subs.
sed
25273 cat >>$CONFIG_STATUS <<_ACEOF
25279 for ac_last_try
in false false false false false
:; do
25280 cat >conf$
$subs.
sed <<_ACEOF
25282 GREP!$GREP$ac_delim
25283 EGREP!$EGREP$ac_delim
25284 LDCONFIG!$LDCONFIG$ac_delim
25285 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25286 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25287 INSTALL_DATA!$INSTALL_DATA$ac_delim
25288 LINT!$LINT$ac_delim
25289 LINTFLAGS!$LINTFLAGS$ac_delim
25290 FONTFORGE!$FONTFORGE$ac_delim
25291 PKG_CONFIG!$PKG_CONFIG$ac_delim
25292 PRELINK!$PRELINK$ac_delim
25293 LIBPTHREAD!$LIBPTHREAD$ac_delim
25294 XLIB!$XLIB$ac_delim
25295 XFILES!$XFILES$ac_delim
25296 OPENGLFILES!$OPENGLFILES$ac_delim
25297 GLU32FILES!$GLU32FILES$ac_delim
25298 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25299 GLUT_LIBS!$GLUT_LIBS$ac_delim
25300 GLUT32FILES!$GLUT32FILES$ac_delim
25301 NASLIBS!$NASLIBS$ac_delim
25302 XML2LIBS!$XML2LIBS$ac_delim
25303 XML2INCL!$XML2INCL$ac_delim
25304 XSLTLIBS!$XSLTLIBS$ac_delim
25305 XSLTINCL!$XSLTINCL$ac_delim
25306 HALINCL!$HALINCL$ac_delim
25307 CURSESLIBS!$CURSESLIBS$ac_delim
25308 sane_devel!$sane_devel$ac_delim
25309 SANELIBS!$SANELIBS$ac_delim
25310 SANEINCL!$SANEINCL$ac_delim
25311 gphoto2_devel!$gphoto2_devel$ac_delim
25312 gphoto2port_devel!$gphoto2port_devel$ac_delim
25313 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25314 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25315 ICULIBS!$ICULIBS$ac_delim
25316 RESOLVLIBS!$RESOLVLIBS$ac_delim
25317 LCMSLIBS!$LCMSLIBS$ac_delim
25318 LDAPLIBS!$LDAPLIBS$ac_delim
25319 FREETYPELIBS!$FREETYPELIBS$ac_delim
25320 FREETYPEINCL!$FREETYPEINCL$ac_delim
25321 ft_devel!$ft_devel$ac_delim
25322 ft_devel2!$ft_devel2$ac_delim
25323 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25324 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25325 ARTSLIBS!$ARTSLIBS$ac_delim
25326 ARTSINCL!$ARTSINCL$ac_delim
25327 ESDCONFIG!$ESDCONFIG$ac_delim
25328 ESDLIBS!$ESDLIBS$ac_delim
25329 ESDINCL!$ESDINCL$ac_delim
25330 ALSALIBS!$ALSALIBS$ac_delim
25331 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25332 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25333 BUILTINFLAG!$BUILTINFLAG$ac_delim
25334 DLLEXT!$DLLEXT$ac_delim
25335 DLLFLAGS!$DLLFLAGS$ac_delim
25336 DLLIBS!$DLLIBS$ac_delim
25337 LDSHARED!$LDSHARED$ac_delim
25338 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25339 LIBEXT!$LIBEXT$ac_delim
25340 IMPLIBEXT!$IMPLIBEXT$ac_delim
25341 DLLTOOL!$DLLTOOL$ac_delim
25342 DLLWRAP!$DLLWRAP$ac_delim
25343 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25344 LDEXERPATH!$LDEXERPATH$ac_delim
25345 LDDLLRPATH!$LDDLLRPATH$ac_delim
25346 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25347 IOKITLIB!$IOKITLIB$ac_delim
25348 COREAUDIO!$COREAUDIO$ac_delim
25349 CROSSTEST!$CROSSTEST$ac_delim
25350 CROSSCC!$CROSSCC$ac_delim
25351 CROSSWINDRES!$CROSSWINDRES$ac_delim
25352 LDPATH!$LDPATH$ac_delim
25353 CRTLIBS!$CRTLIBS$ac_delim
25354 SOCKETLIBS!$SOCKETLIBS$ac_delim
25355 MAIN_BINARY!$MAIN_BINARY$ac_delim
25356 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25358 LIBOBJS!$LIBOBJS$ac_delim
25359 LTLIBOBJS!$LTLIBOBJS$ac_delim
25362 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
25364 elif $ac_last_try; then
25365 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25366 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25367 { (exit 1); exit 1; }; }
25369 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25373 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25374 if test -n "$ac_eof"; then
25375 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25376 ac_eof
=`expr $ac_eof + 1`
25379 cat >>$CONFIG_STATUS <<_ACEOF
25380 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25381 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25384 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25385 s/^/s,@/; s/!/@,|#_!!_#|/
25388 s/'"$ac_delim"'$/,g/; t
25390 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25391 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25392 rm -f conf$
$subs.
sed
25393 cat >>$CONFIG_STATUS <<_ACEOF
25400 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25401 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25402 # trailing colons and then remove the whole line if VPATH becomes empty
25403 # (actually we leave an empty line to preserve line numbers).
25404 if test "x$srcdir" = x.
; then
25405 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25406 s/:*\$(srcdir):*/:/
25407 s/:*\${srcdir}:*/:/
25409 s/^\([^=]*=[ ]*\):*/\1/
25415 cat >>$CONFIG_STATUS <<\_ACEOF
25416 fi # test -n "$CONFIG_FILES"
25419 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
25422 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25424 case $ac_mode$ac_tag in
25426 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25427 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25428 { (exit 1); exit 1; }; };;
25429 :[FH
]-) ac_tag
=-:-;;
25430 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25447 -) ac_f
="$tmp/stdin";;
25448 *) # Look for the file first in the build tree, then in the source tree
25449 # (if the path is not absolute). The absolute path cannot be DOS-style,
25450 # because $ac_f cannot contain `:'.
25454 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25456 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25457 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25458 { (exit 1); exit 1; }; };;
25460 ac_file_inputs
="$ac_file_inputs $ac_f"
25463 # Let's still pretend it is `configure' which instantiates (i.e., don't
25464 # use $as_me), people would be surprised to read:
25465 # /* config.h. Generated by config.status. */
25466 configure_input
="Generated from "`IFS=:
25467 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25468 if test x
"$ac_file" != x-
; then
25469 configure_input
="$ac_file. $configure_input"
25470 { echo "$as_me:$LINENO: creating $ac_file" >&5
25471 echo "$as_me: creating $ac_file" >&6;}
25475 *:-:* |
*:-) cat >"$tmp/stdin";;
25480 ac_dir
=`$as_dirname -- "$ac_file" ||
25481 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25482 X"$ac_file" : 'X\(//\)[^/]' \| \
25483 X"$ac_file" : 'X\(//\)$' \| \
25484 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25490 /^X\(\/\/\)[^/].*/{
25505 -*) as_dir
=.
/$as_dir;;
25507 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25511 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25512 *) as_qdir
=$as_dir;;
25514 as_dirs
="'$as_qdir' $as_dirs"
25515 as_dir
=`$as_dirname -- "$as_dir" ||
25516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25517 X"$as_dir" : 'X\(//\)[^/]' \| \
25518 X"$as_dir" : 'X\(//\)$' \| \
25519 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25525 /^X\(\/\/\)[^/].*/{
25538 test -d "$as_dir" && break
25540 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25541 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25542 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25543 { (exit 1); exit 1; }; }; }
25547 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25549 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25550 # A ".." for each directory in $ac_dir_suffix.
25551 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25552 case $ac_top_builddir_sub in
25553 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25554 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25557 ac_abs_top_builddir
=$ac_pwd
25558 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25559 # for backward compatibility:
25560 ac_top_builddir
=$ac_top_build_prefix
25563 .
) # We are building in place.
25565 ac_top_srcdir
=$ac_top_builddir_sub
25566 ac_abs_top_srcdir
=$ac_pwd ;;
25567 [\\/]* | ?
:[\\/]* ) # Absolute name.
25568 ac_srcdir
=$srcdir$ac_dir_suffix;
25569 ac_top_srcdir
=$srcdir
25570 ac_abs_top_srcdir
=$srcdir ;;
25571 *) # Relative name.
25572 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25573 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25574 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25576 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25586 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25587 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25591 cat >>$CONFIG_STATUS <<\_ACEOF
25592 # If the template does not know about datarootdir, expand it.
25593 # FIXME: This hack should be removed a few years after 2.60.
25594 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25596 case `sed -n '/datarootdir/ {
25605 ' $ac_file_inputs` in
25606 *datarootdir
*) ac_datarootdir_seen
=yes;;
25607 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25608 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25609 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25611 cat >>$CONFIG_STATUS <<_ACEOF
25612 ac_datarootdir_hack='
25613 s&@datadir@&$datadir&g
25614 s&@docdir@&$docdir&g
25615 s&@infodir@&$infodir&g
25616 s&@localedir@&$localedir&g
25617 s&@mandir@&$mandir&g
25618 s&\\\${datarootdir}&$datarootdir&g' ;;
25622 # Neutralize VPATH when `$srcdir' = `.'.
25623 # Shell code in configure.ac might set extrasub.
25624 # FIXME: do we really want to maintain this feature?
25625 cat >>$CONFIG_STATUS <<_ACEOF
25629 cat >>$CONFIG_STATUS <<\_ACEOF
25631 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25632 s
&@configure_input@
&$configure_input&;t t
25633 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25634 s
&@srcdir@
&$ac_srcdir&;t t
25635 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25636 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25637 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25638 s
&@builddir@
&$ac_builddir&;t t
25639 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25640 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25641 s
&@INSTALL@
&$ac_INSTALL&;t t
25642 $ac_datarootdir_hack
25643 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
25645 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25646 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25647 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25648 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25649 which seems to be undefined. Please make sure it is defined." >&5
25650 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25651 which seems to be undefined. Please make sure it is defined." >&2;}
25655 -) cat "$tmp/out"; rm -f "$tmp/out";;
25656 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25665 # Transform confdefs.h into a sed script `conftest.defines', that
25666 # substitutes the proper values into config.h.in to produce config.h.
25667 rm -f conftest.defines conftest.
tail
25668 # First, append a space to every undef/define line, to ease matching.
25669 echo 's/$/ /' >conftest.defines
25670 # Then, protect against being on the right side of a sed subst, or in
25671 # an unquoted here document, in config.status. If some macros were
25672 # called several times there might be several #defines for the same
25673 # symbol, which is useless. But do not sort them, since the last
25674 # AC_DEFINE must be honored.
25675 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25676 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25677 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25678 # PARAMS is the parameter list in the macro definition--in most cases, it's
25679 # just an empty string.
25680 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25681 ac_dB
='\\)[ (].*,\\1define\\2'
25689 s/^[ ]*#[ ]*define[ ][ ]*//
25694 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25695 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25696 ' >>conftest.defines
25698 # Remove the space that was appended to ease matching.
25699 # Then replace #undef with comments. This is necessary, for
25700 # example, in the case of _POSIX_SOURCE, which is predefined and required
25701 # on some systems where configure will not decide to define it.
25702 # (The regexp can be short, since the line contains either #define or #undef.)
25704 s,^[ #]*u.*,/* & */,' >>conftest.defines
25706 # Break up conftest.defines:
25707 ac_max_sed_lines
=50
25709 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25710 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25711 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25713 ac_in
='$ac_file_inputs'
25714 ac_out
='"$tmp/out1"'
25715 ac_nxt
='"$tmp/out2"'
25719 # Write a here document:
25720 cat >>$CONFIG_STATUS <<_ACEOF
25721 # First, check the format of the line:
25722 cat >"\$tmp/defines.sed" <<\\CEOF
25723 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25724 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25728 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25730 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25731 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25732 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25733 grep . conftest.
tail >/dev
/null ||
break
25734 rm -f conftest.defines
25735 mv conftest.
tail conftest.defines
25737 rm -f conftest.defines conftest.
tail
25739 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25740 cat >>$CONFIG_STATUS <<\_ACEOF
25741 if test x
"$ac_file" != x-
; then
25742 echo "/* $configure_input */" >"$tmp/config.h"
25743 cat "$ac_result" >>"$tmp/config.h"
25744 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25745 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25746 echo "$as_me: $ac_file is unchanged" >&6;}
25749 mv "$tmp/config.h" $ac_file
25752 echo "/* $configure_input */"
25758 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25759 echo "$as_me: executing $ac_file commands" >&6;}
25764 case $ac_file$ac_mode in
25765 "dlls/gdi/enhmfdrv":C
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25766 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
25767 "dlls/gdi/mfdrv":C
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25768 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
25769 "dlls/kernel/messages":C
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25770 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
25771 "dlls/user/resources":C
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25772 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
25773 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25774 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
25775 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
25776 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
25782 { (exit 0); exit 0; }
25784 chmod +x
$CONFIG_STATUS
25785 ac_clean_files
=$ac_clean_files_save
25788 # configure is writing to config.log, and then calls config.status.
25789 # config.status does its own redirection, appending to config.log.
25790 # Unfortunately, on DOS this fails, as config.log is still kept open
25791 # by configure, so config.status won't be able to write to it; its
25792 # output is simply discarded. So we exec the FD to /dev/null,
25793 # effectively closing config.log, so it can be properly (re)opened and
25794 # appended to by config.status. When coming back to configure, we
25795 # need to make the FD available again.
25796 if test "$no_create" != yes; then
25798 ac_config_status_args
=
25799 test "$silent" = yes &&
25800 ac_config_status_args
="$ac_config_status_args --quiet"
25802 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25804 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25805 # would make configure fail if this is the last instruction.
25806 $ac_cs_success ||
{ (exit 1); exit 1; }
25811 if test "$have_x" = "no"
25814 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25815 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25816 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25817 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25818 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25819 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25820 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25821 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25825 if test "$wine_cv_opengl_version_OK" = "no"
25828 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25829 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
25830 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25831 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25835 if test "$wine_cv_msg_freetype" = "yes"
25838 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25839 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25840 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25841 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25842 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25843 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25844 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25845 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25849 if test -z "$FONTSSUBDIRS"
25852 if test "$FONTFORGE" = "false"
25854 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25855 echo "$as_me: WARNING: FontForge is missing." >&2;}
25857 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25858 echo "$as_me: WARNING: FreeType is missing." >&2;}
25860 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25861 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25865 if test -z "$ALSALIBS" -a \
25866 -z "$ARTSC_LIBS" -a \
25867 -z "$AUDIOIOLIBS" -a \
25869 -z "$ESD_LIBS" -a \
25870 -z "$ac_cv_lib_soname_jack" -a \
25871 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25872 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25873 "$ac_cv_header_soundcard_h" != "yes"
25876 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25877 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25878 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25879 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25880 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25881 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25886 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."