2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.18.
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.18'
563 PACKAGE_STRING
='Wine 0.9.18'
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.18 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.18:";;
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.18
1446 generated by GNU Autoconf
2.60a
1448 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1449 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1450 This configure
script is free software
; the Free Software Foundation
1451 gives unlimited permission to copy
, distribute and modify it.
1455 cat >config.log
<<_ACEOF
1456 This file contains any messages produced by compilers while
1457 running configure, to aid debugging if configure makes a mistake.
1459 It was created by Wine $as_me 0.9.18, which was
1460 generated by GNU Autoconf 2.60a. Invocation command line was
1472 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1473 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1474 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1475 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1476 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1478 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1479 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1481 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1482 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1483 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1484 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1485 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1486 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1487 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1495 test -z "$as_dir" && as_dir
=.
1496 echo "PATH: $as_dir"
1512 # Keep a trace of the command line.
1513 # Strip out --no-create and --no-recursion so they do not pile up.
1514 # Strip out --silent because we don't want to record it for future runs.
1515 # Also quote any args containing shell meta-characters.
1516 # Make two passes to allow for proper duplicate-argument suppression.
1520 ac_must_keep_next
=false
1526 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1527 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1528 |
-silent |
--silent |
--silen |
--sile |
--sil)
1531 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1534 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1536 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1537 if test $ac_must_keep_next = true
; then
1538 ac_must_keep_next
=false
# Got value, back to normal.
1541 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1542 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1543 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1544 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1545 case "$ac_configure_args0 " in
1546 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 -* ) ac_must_keep_next
=true
;;
1552 ac_configure_args
="$ac_configure_args '$ac_arg'"
1557 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1558 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1560 # When interrupted or exit'd, cleanup temporary files, and complete
1561 # config.log. We remove comments because anyway the quotes in there
1562 # would cause problems or look ugly.
1563 # WARNING: Use '\'' to represent an apostrophe within the trap.
1564 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1565 trap 'exit_status=$?
1566 # Save into config.log some information that might help in debugging.
1571 ## ---------------- ##
1572 ## Cache variables. ##
1573 ## ---------------- ##
1576 # The following way of writing the cache mishandles newlines in values,
1578 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1579 eval ac_val=\$$ac_var
1583 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1584 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1587 _ | IFS | as_nl) ;; #(
1588 *) $as_unset $ac_var ;;
1593 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1594 *${as_nl}ac_space=\ *)
1596 "s/'\''/'\''\\\\'\'''\''/g;
1597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1608 ## ----------------- ##
1609 ## Output variables. ##
1610 ## ----------------- ##
1613 for ac_var in $ac_subst_vars
1615 eval ac_val=\$$ac_var
1617 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 echo "$ac_var='\''$ac_val'\''"
1623 if test -n "$ac_subst_files"; then
1625 ## ------------------- ##
1626 ## File substitutions. ##
1627 ## ------------------- ##
1630 for ac_var
in $ac_subst_files
1632 eval ac_val
=\$
$ac_var
1634 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1636 echo "$ac_var='\''$ac_val'\''"
1641 if test -s confdefs.h; then
1651 test "$ac_signal" != 0 &&
1652 echo "$as_me: caught signal $ac_signal"
1653 echo "$as_me: exit $exit_status"
1655 rm -f core *.core core.conftest.* &&
1656 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659 for ac_signal
in 1 2 13 15; do
1660 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1664 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1665 rm -f -r conftest
* confdefs.h
1667 # Predefined preprocessor variables.
1669 cat >>confdefs.h
<<_ACEOF
1670 #define PACKAGE_NAME "$PACKAGE_NAME"
1674 cat >>confdefs.h
<<_ACEOF
1675 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1679 cat >>confdefs.h
<<_ACEOF
1680 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1684 cat >>confdefs.h
<<_ACEOF
1685 #define PACKAGE_STRING "$PACKAGE_STRING"
1689 cat >>confdefs.h
<<_ACEOF
1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1694 # Let the site file select an alternate cache file if it wants to.
1695 # Prefer explicitly selected file to automatically selected ones.
1696 if test -n "$CONFIG_SITE"; then
1697 set x
"$CONFIG_SITE"
1698 elif test "x$prefix" != xNONE
; then
1699 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1701 set x
"$ac_default_prefix/share/config.site" \
1702 "$ac_default_prefix/etc/config.site"
1707 if test -r "$ac_site_file"; then
1708 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1709 echo "$as_me: loading site script $ac_site_file" >&6;}
1710 sed 's/^/| /' "$ac_site_file" >&5
1715 if test -r "$cache_file"; then
1716 # Some versions of bash will fail to source /dev/null (special
1717 # files actually), so we avoid doing that.
1718 if test -f "$cache_file"; then
1719 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1720 echo "$as_me: loading cache $cache_file" >&6;}
1722 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1723 *) .
"./$cache_file";;
1727 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1728 echo "$as_me: creating cache $cache_file" >&6;}
1732 # Check that the precious variables saved in the cache have kept the same
1734 ac_cache_corrupted
=false
1735 for ac_var
in $ac_precious_vars; do
1736 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1737 eval ac_new_set
=\
$ac_env_${ac_var}_set
1738 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1739 eval ac_new_val
=\
$ac_env_${ac_var}_value
1740 case $ac_old_set,$ac_new_set in
1742 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1743 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1744 ac_cache_corrupted
=: ;;
1746 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1747 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1748 ac_cache_corrupted
=: ;;
1751 if test "x$ac_old_val" != "x$ac_new_val"; then
1752 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1753 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1754 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1755 echo "$as_me: former value: $ac_old_val" >&2;}
1756 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1757 echo "$as_me: current value: $ac_new_val" >&2;}
1758 ac_cache_corrupted
=:
1761 # Pass precious variables to config.status.
1762 if test "$ac_new_set" = set; then
1764 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1765 *) ac_arg
=$ac_var=$ac_new_val ;;
1767 case " $ac_configure_args " in
1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1769 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1773 if $ac_cache_corrupted; then
1774 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1775 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1776 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1777 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1778 { (exit 1); exit 1; }; }
1806 ac_cpp
='$CPP $CPPFLAGS'
1807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1813 ac_config_headers
="$ac_config_headers include/config.h"
1816 for ac_dir
in tools
"$srcdir"/tools
; do
1817 if test -f "$ac_dir/install-sh"; then
1819 ac_install_sh
="$ac_aux_dir/install-sh -c"
1821 elif test -f "$ac_dir/install.sh"; then
1823 ac_install_sh
="$ac_aux_dir/install.sh -c"
1825 elif test -f "$ac_dir/shtool"; then
1827 ac_install_sh
="$ac_aux_dir/shtool install -c"
1831 if test -z "$ac_aux_dir"; then
1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1833 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1834 { (exit 1); exit 1; }; }
1837 # These three variables are undocumented and unsupported,
1838 # and are intended to be withdrawn in a future Autoconf release.
1839 # They can cause serious problems if a builder's source tree is in a directory
1840 # whose full name contains unusual characters.
1841 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1842 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1843 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1848 # Check whether --enable-win16 was given.
1849 if test "${enable_win16+set}" = set; then
1850 enableval
=$enable_win16;
1853 # Check whether --enable-win64 was given.
1854 if test "${enable_win64+set}" = set; then
1855 enableval
=$enable_win64;
1860 # Check whether --with-opengl was given.
1861 if test "${with_opengl+set}" = set; then
1862 withval
=$with_opengl;
1866 # Check whether --with-curses was given.
1867 if test "${with_curses+set}" = set; then
1868 withval
=$with_curses;
1872 # Check whether --with-wine-tools was given.
1873 if test "${with_wine_tools+set}" = set; then
1874 withval
=$with_wine_tools;
1878 # Make sure we can run config.sub.
1879 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1880 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1881 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1882 { (exit 1); exit 1; }; }
1884 { echo "$as_me:$LINENO: checking build system type" >&5
1885 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1886 if test "${ac_cv_build+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 ac_build_alias
=$build_alias
1890 test "x$ac_build_alias" = x
&&
1891 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1892 test "x$ac_build_alias" = x
&&
1893 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1894 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1895 { (exit 1); exit 1; }; }
1896 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1897 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1898 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1899 { (exit 1); exit 1; }; }
1902 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1903 echo "${ECHO_T}$ac_cv_build" >&6; }
1904 case $ac_cv_build in
1906 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1907 echo "$as_me: error: invalid value of canonical build" >&2;}
1908 { (exit 1); exit 1; }; };;
1911 ac_save_IFS
=$IFS; IFS
='-'
1917 # Remember, the first character of IFS is used to create $*,
1918 # except with old shells:
1921 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1924 { echo "$as_me:$LINENO: checking host system type" >&5
1925 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1926 if test "${ac_cv_host+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test "x$host_alias" = x
; then
1930 ac_cv_host
=$ac_cv_build
1932 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1933 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1934 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1935 { (exit 1); exit 1; }; }
1939 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1940 echo "${ECHO_T}$ac_cv_host" >&6; }
1943 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1944 echo "$as_me: error: invalid value of canonical host" >&2;}
1945 { (exit 1); exit 1; }; };;
1948 ac_save_IFS
=$IFS; IFS
='-'
1954 # Remember, the first character of IFS is used to create $*,
1955 # except with old shells:
1958 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1963 if test "x$enable_win64" != "xyes"
1965 test -n "$CC" || CC
="gcc -m32"
1966 test -n "$LD" || LD
="ld -m elf_i386"
1967 test -n "$AS" || AS
="as --32"
1975 if test "x$enable_win16" != "xno"
1982 WIN16_FILES
="\$(WIN16_FILES)"
1984 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1986 if test "x$enable_win16" != "xyes"
1993 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1994 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1995 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1996 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 cat >conftest.
make <<\_ACEOF
2002 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2005 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2007 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2009 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2013 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2014 { echo "$as_me:$LINENO: result: yes" >&5
2015 echo "${ECHO_T}yes" >&6; }
2018 { echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6; }
2020 SET_MAKE
="MAKE=${MAKE-make}"
2024 ac_cpp
='$CPP $CPPFLAGS'
2025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2028 if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2030 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2033 if test "${ac_cv_prog_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC
="$CC" # Let the user override the test.
2039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir
=.
2044 for ac_exec_ext
in '' $ac_executable_extensions; do
2045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2046 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 if test -n "$CC"; then
2058 { echo "$as_me:$LINENO: result: $CC" >&5
2059 echo "${ECHO_T}$CC" >&6; }
2061 { echo "$as_me:$LINENO: result: no" >&5
2062 echo "${ECHO_T}no" >&6; }
2067 if test -z "$ac_cv_prog_CC"; then
2069 # Extract the first word of "gcc", so it can be a program name with args.
2070 set dummy gcc
; ac_word
=$2
2071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2074 echo $ECHO_N "(cached) $ECHO_C" >&6
2076 if test -n "$ac_ct_CC"; then
2077 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir
=.
2084 for ac_exec_ext
in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_ac_ct_CC
="gcc"
2087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2097 if test -n "$ac_ct_CC"; then
2098 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2099 echo "${ECHO_T}$ac_ct_CC" >&6; }
2101 { echo "$as_me:$LINENO: result: no" >&5
2102 echo "${ECHO_T}no" >&6; }
2105 if test "x$ac_ct_CC" = x
; then
2108 case $cross_compiling:$ac_tool_warned in
2110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2111 whose name does not start with the host triplet. If you think this
2112 configuration is useful to you, please write to autoconf@gnu.org." >&5
2113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2114 whose name does not start with the host triplet. If you think this
2115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2116 ac_tool_warned
=yes ;;
2124 if test -z "$CC"; then
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2127 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2130 if test "${ac_cv_prog_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC
="$CC" # Let the user override the test.
2136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir
=.
2141 for ac_exec_ext
in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 if test -n "$CC"; then
2155 { echo "$as_me:$LINENO: result: $CC" >&5
2156 echo "${ECHO_T}$CC" >&6; }
2158 { echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6; }
2165 if test -z "$CC"; then
2166 # Extract the first word of "cc", so it can be a program name with args.
2167 set dummy cc
; ac_word
=$2
2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test -n "$CC"; then
2174 ac_cv_prog_CC
="$CC" # Let the user override the test.
2177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir
=.
2182 for ac_exec_ext
in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2185 ac_prog_rejected
=yes
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 if test $ac_prog_rejected = yes; then
2197 # We found a bogon in the path, so make sure we never use it.
2198 set dummy
$ac_cv_prog_CC
2200 if test $# != 0; then
2201 # We chose a different compiler from the bogus one.
2202 # However, it has the same basename, so the bogon will be chosen
2203 # first if we set CC to just the basename; use the full file name.
2205 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2211 if test -n "$CC"; then
2212 { echo "$as_me:$LINENO: result: $CC" >&5
2213 echo "${ECHO_T}$CC" >&6; }
2215 { echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6; }
2221 if test -z "$CC"; then
2222 if test -n "$ac_tool_prefix"; then
2223 for ac_prog
in cl.exe
2225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2226 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2229 if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC
="$CC" # Let the user override the test.
2235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir
=.
2240 for ac_exec_ext
in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 { echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6; }
2257 { echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6; }
2262 test -n "$CC" && break
2265 if test -z "$CC"; then
2267 for ac_prog
in cl.exe
2269 # Extract the first word of "$ac_prog", so it can be a program name with args.
2270 set dummy
$ac_prog; ac_word
=$2
2271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$ac_ct_CC"; then
2277 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir
=.
2284 for ac_exec_ext
in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_ac_ct_CC
="$ac_prog"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2297 if test -n "$ac_ct_CC"; then
2298 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2299 echo "${ECHO_T}$ac_ct_CC" >&6; }
2301 { echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6; }
2306 test -n "$ac_ct_CC" && break
2309 if test "x$ac_ct_CC" = x
; then
2312 case $cross_compiling:$ac_tool_warned in
2314 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2315 whose name does not start with the host triplet. If you think this
2316 configuration is useful to you, please write to autoconf@gnu.org." >&5
2317 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2318 whose name does not start with the host triplet. If you think this
2319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2320 ac_tool_warned
=yes ;;
2329 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2330 See \`config.log' for more details." >&5
2331 echo "$as_me: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&2;}
2333 { (exit 1); exit 1; }; }
2335 # Provide some information about the compiler.
2336 echo "$as_me:$LINENO: checking for C compiler version" >&5
2337 ac_compiler
=`set X $ac_compile; echo $2`
2338 { (ac_try
="$ac_compiler --version >&5"
2340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2344 (eval "$ac_compiler --version >&5") 2>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }
2348 { (ac_try="$ac_compiler -v >&5"
2350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2351 *) ac_try_echo
=$ac_try;;
2353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2354 (eval "$ac_compiler -v >&5") 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (ac_try
="$ac_compiler -V >&5"
2360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2364 (eval "$ac_compiler -V >&5") 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }
2369 cat >conftest.$ac_ext <<_ACEOF
2372 cat confdefs.h >>conftest.$ac_ext
2373 cat >>conftest.$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2384 ac_clean_files_save=$ac_clean_files
2385 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2386 # Try to create an executable without -o first, disregard a.out.
2387 # It will help us diagnose broken compilers, and finding out an intuition
2389 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2390 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2391 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2393 # List of possible output files, starting from the most likely.
2394 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2395 # only as a last resort. b.out is created by i960 compilers.
2396 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2398 # The IRIX 6 linker writes into existing files which may not be
2399 # executable, retaining their permissions. Remove them first so a
2400 # subsequent execution test works.
2402 for ac_file in $ac_files
2405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2406 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2411 if { (ac_try="$ac_link_default"
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2417 (eval "$ac_link_default") 2>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; then
2421 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2422 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2423 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2424 # so that the user can short-circuit this test for compilers unknown to
2426 for ac_file
in $ac_files
2428 test -f "$ac_file" ||
continue
2430 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2433 # We found the default executable, but exeext='' is most
2437 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2439 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2441 # We set ac_cv_exeext here because the later test for it is not
2442 # safe: cross compilers may not add the suffix if given an `-o'
2443 # argument, so we may need to know it at that point already.
2444 # Even if this section looks crufty: it has the advantage of
2451 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
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 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2931 inside strings and character constants. */
2933 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2935 int test (int i, double x);
2936 struct s1 {int (*f) (int a);};
2937 struct s2 {int (*f) (double a);};
2938 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2944 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2949 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2950 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2952 CC="$ac_save_CC $ac_arg"
2953 rm -f conftest.$ac_objext
2954 if { (ac_try="$ac_compile"
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2959 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2960 (eval "$ac_compile") 2>conftest.er1
2962 grep -v '^ *+' conftest.er1 >conftest.err
2964 cat conftest.err >&5
2965 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2966 (exit $ac_status); } &&
2967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2968 { (case "(($ac_try" in
2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970 *) ac_try_echo=$ac_try;;
2972 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2973 (eval "$ac_try") 2>&5
2975 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2976 (exit $ac_status); }; } &&
2977 { ac_try='test -s conftest.$ac_objext'
2978 { (case "(($ac_try" in
2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2982 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2983 (eval "$ac_try") 2>&5
2985 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2986 (exit $ac_status); }; }; then
2987 ac_cv_prog_cc_c89=$ac_arg
2989 echo "$as_me: failed program was
:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2995 rm -f core conftest.err conftest.$ac_objext
2996 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2998 rm -f conftest.$ac_ext
3003 case "x
$ac_cv_prog_cc_c89" in
3005 { echo "$as_me:$LINENO: result
: none needed
" >&5
3006 echo "${ECHO_T}none needed
" >&6; } ;;
3008 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3009 echo "${ECHO_T}unsupported
" >&6; } ;;
3011 CC="$CC $ac_cv_prog_cc_c89"
3012 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3013 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3018 ac_cpp='$CPP $CPPFLAGS'
3019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3024 ac_cpp='$CXXCPP $CPPFLAGS'
3025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3028 if test -z "$CXX"; then
3029 if test -n "$CCC"; then
3032 if test -n "$ac_tool_prefix"; then
3033 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3036 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3037 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3038 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3039 if test "${ac_cv_prog_CXX+set}" = set; then
3040 echo $ECHO_N "(cached
) $ECHO_C" >&6
3042 if test -n "$CXX"; then
3043 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3053 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3063 if test -n "$CXX"; then
3064 { echo "$as_me:$LINENO: result
: $CXX" >&5
3065 echo "${ECHO_T}$CXX" >&6; }
3067 { echo "$as_me:$LINENO: result
: no
" >&5
3068 echo "${ECHO_T}no
" >&6; }
3072 test -n "$CXX" && break
3075 if test -z "$CXX"; then
3077 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3079 # Extract the first word of "$ac_prog", so it can be a program name with args.
3080 set dummy $ac_prog; ac_word=$2
3081 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3082 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3083 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3084 echo $ECHO_N "(cached
) $ECHO_C" >&6
3086 if test -n "$ac_ct_CXX"; then
3087 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir=.
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3096 ac_cv_prog_ac_ct_CXX="$ac_prog"
3097 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3106 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3107 if test -n "$ac_ct_CXX"; then
3108 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3109 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3111 { echo "$as_me:$LINENO: result
: no
" >&5
3112 echo "${ECHO_T}no
" >&6; }
3116 test -n "$ac_ct_CXX" && break
3119 if test "x
$ac_ct_CXX" = x; then
3122 case $cross_compiling:$ac_tool_warned in
3124 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3125 whose name does not start with the
host triplet. If you think this
3126 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3127 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3128 whose name does not start with the
host triplet. If you think this
3129 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3130 ac_tool_warned=yes ;;
3138 # Provide some information about the compiler.
3139 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3140 ac_compiler=`set X $ac_compile; echo $2`
3141 { (ac_try="$ac_compiler --version >&5"
3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144 *) ac_try_echo=$ac_try;;
3146 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3147 (eval "$ac_compiler --version >&5") 2>&5
3149 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3150 (exit $ac_status); }
3151 { (ac_try="$ac_compiler -v >&5"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compiler -v >&5") 2>&5
3159 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3160 (exit $ac_status); }
3161 { (ac_try="$ac_compiler -V >&5"
3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3167 (eval "$ac_compiler -V >&5") 2>&5
3169 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3170 (exit $ac_status); }
3172 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3173 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3174 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3175 echo $ECHO_N "(cached
) $ECHO_C" >&6
3177 cat >conftest.$ac_ext <<_ACEOF
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3195 rm -f conftest.$ac_objext
3196 if { (ac_try="$ac_compile"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3202 (eval "$ac_compile") 2>conftest.er1
3204 grep -v '^ *+' conftest.er1 >conftest.err
3206 cat conftest.err >&5
3207 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3208 (exit $ac_status); } &&
3209 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3210 { (case "(($ac_try" in
3211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3215 (eval "$ac_try") 2>&5
3217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3218 (exit $ac_status); }; } &&
3219 { ac_try='test -s conftest.$ac_objext'
3220 { (case "(($ac_try" in
3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222 *) ac_try_echo=$ac_try;;
3224 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3225 (eval "$ac_try") 2>&5
3227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3228 (exit $ac_status); }; }; then
3231 echo "$as_me: failed program was
:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3238 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3241 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3242 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3243 GXX=`test $ac_compiler_gnu = yes && echo yes`
3244 ac_test_CXXFLAGS=${CXXFLAGS+set}
3245 ac_save_CXXFLAGS=$CXXFLAGS
3246 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3247 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3248 if test "${ac_cv_prog_cxx_g+set}" = set; then
3249 echo $ECHO_N "(cached
) $ECHO_C" >&6
3251 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3252 ac_cxx_werror_flag=yes
3255 cat >conftest.$ac_ext <<_ACEOF
3258 cat confdefs.h >>conftest.$ac_ext
3259 cat >>conftest.$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3270 rm -f conftest.$ac_objext
3271 if { (ac_try="$ac_compile"
3273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3277 (eval "$ac_compile") 2>conftest.er1
3279 grep -v '^ *+' conftest.er1 >conftest.err
3281 cat conftest.err >&5
3282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3283 (exit $ac_status); } &&
3284 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3285 { (case "(($ac_try" in
3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287 *) ac_try_echo=$ac_try;;
3289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3290 (eval "$ac_try") 2>&5
3292 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3293 (exit $ac_status); }; } &&
3294 { ac_try='test -s conftest.$ac_objext'
3295 { (case "(($ac_try" in
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3300 (eval "$ac_try") 2>&5
3302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3303 (exit $ac_status); }; }; then
3304 ac_cv_prog_cxx_g=yes
3306 echo "$as_me: failed program was
:" >&5
3307 sed 's/^/| /' conftest.$ac_ext >&5
3310 cat >conftest.$ac_ext <<_ACEOF
3313 cat confdefs.h >>conftest.$ac_ext
3314 cat >>conftest.$ac_ext <<_ACEOF
3315 /* end confdefs.h. */
3325 rm -f conftest.$ac_objext
3326 if { (ac_try="$ac_compile"
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3332 (eval "$ac_compile") 2>conftest.er1
3334 grep -v '^ *+' conftest.er1 >conftest.err
3336 cat conftest.err >&5
3337 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3338 (exit $ac_status); } &&
3339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3340 { (case "(($ac_try" in
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3344 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3345 (eval "$ac_try") 2>&5
3347 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3348 (exit $ac_status); }; } &&
3349 { ac_try='test -s conftest.$ac_objext'
3350 { (case "(($ac_try" in
3351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352 *) ac_try_echo=$ac_try;;
3354 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3355 (eval "$ac_try") 2>&5
3357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3358 (exit $ac_status); }; }; then
3361 echo "$as_me: failed program was
:" >&5
3362 sed 's/^/| /' conftest.$ac_ext >&5
3364 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3366 cat >conftest.$ac_ext <<_ACEOF
3369 cat confdefs.h >>conftest.$ac_ext
3370 cat >>conftest.$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3381 rm -f conftest.$ac_objext
3382 if { (ac_try="$ac_compile"
3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3388 (eval "$ac_compile") 2>conftest.er1
3390 grep -v '^ *+' conftest.er1 >conftest.err
3392 cat conftest.err >&5
3393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3394 (exit $ac_status); } &&
3395 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3396 { (case "(($ac_try" in
3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3401 (eval "$ac_try") 2>&5
3403 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3404 (exit $ac_status); }; } &&
3405 { ac_try='test -s conftest.$ac_objext'
3406 { (case "(($ac_try" in
3407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408 *) ac_try_echo=$ac_try;;
3410 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3411 (eval "$ac_try") 2>&5
3413 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3414 (exit $ac_status); }; }; then
3415 ac_cv_prog_cxx_g=yes
3417 echo "$as_me: failed program was
:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3432 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3433 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3434 if test "$ac_test_CXXFLAGS" = set; then
3435 CXXFLAGS=$ac_save_CXXFLAGS
3436 elif test $ac_cv_prog_cxx_g = yes; then
3437 if test "$GXX" = yes; then
3443 if test "$GXX" = yes; then
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3455 if test -n "$ac_tool_prefix"; then
3456 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3457 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3458 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3459 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3460 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3461 echo $ECHO_N "(cached
) $ECHO_C" >&6
3463 if test -n "$CPPBIN"; then
3464 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3470 test -z "$as_dir" && as_dir=.
3471 for ac_exec_ext in '' $ac_executable_extensions; do
3472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3473 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3474 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3483 CPPBIN=$ac_cv_prog_CPPBIN
3484 if test -n "$CPPBIN"; then
3485 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3486 echo "${ECHO_T}$CPPBIN" >&6; }
3488 { echo "$as_me:$LINENO: result
: no
" >&5
3489 echo "${ECHO_T}no
" >&6; }
3494 if test -z "$ac_cv_prog_CPPBIN"; then
3495 ac_ct_CPPBIN=$CPPBIN
3496 # Extract the first word of "cpp
", so it can be a program name with args.
3497 set dummy cpp; ac_word=$2
3498 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3499 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3500 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3501 echo $ECHO_N "(cached
) $ECHO_C" >&6
3503 if test -n "$ac_ct_CPPBIN"; then
3504 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3513 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3514 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3523 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3524 if test -n "$ac_ct_CPPBIN"; then
3525 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3526 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3528 { echo "$as_me:$LINENO: result
: no
" >&5
3529 echo "${ECHO_T}no
" >&6; }
3532 if test "x
$ac_ct_CPPBIN" = x; then
3535 case $cross_compiling:$ac_tool_warned in
3537 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3538 whose name does not start with the
host triplet. If you think this
3539 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3540 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3541 whose name does not start with the
host triplet. If you think this
3542 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3543 ac_tool_warned=yes ;;
3545 CPPBIN=$ac_ct_CPPBIN
3548 CPPBIN="$ac_cv_prog_CPPBIN"
3552 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3553 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3554 if test "${wine_cv_toolsdir+set}" = set; then
3555 echo $ECHO_N "(cached
) $ECHO_C" >&6
3557 if test -z "$with_wine_tools"; then
3558 if test "$cross_compiling" = "yes"; then
3559 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3560 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3561 { (exit 1); exit 1; }; }
3563 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3565 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3566 case $with_wine_tools in
3567 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3568 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3571 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3572 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3573 { (exit 1); exit 1; }; }
3576 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3577 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3578 TOOLSDIR=$wine_cv_toolsdir
3583 ac_cpp='$CPP $CPPFLAGS'
3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3587 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3588 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3589 # On Suns, sometimes $CPP names a directory.
3590 if test -n "$CPP" && test -d "$CPP"; then
3593 if test -z "$CPP"; then
3594 if test "${ac_cv_prog_CPP+set}" = set; then
3595 echo $ECHO_N "(cached
) $ECHO_C" >&6
3597 # Double quotes because CPP needs to be expanded
3598 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3601 for ac_c_preproc_warn_flag in '' yes
3603 # Use a header file that comes with gcc, so configuring glibc
3604 # with a fresh cross-compiler works.
3605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3606 # <limits.h> exists even on freestanding compilers.
3607 # On the NeXT, cc -E runs the code through the compiler's parser,
3608 # not just through cpp. "Syntax error
" is here to catch this case.
3609 cat >conftest.$ac_ext <<_ACEOF
3612 cat confdefs.h >>conftest.$ac_ext
3613 cat >>conftest.$ac_ext <<_ACEOF
3614 /* end confdefs.h. */
3616 # include <limits.h>
3618 # include <assert.h>
3622 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3627 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3628 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3630 grep -v '^ *+' conftest.er1 >conftest.err
3632 cat conftest.err >&5
3633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3634 (exit $ac_status); } >/dev/null; then
3635 if test -s conftest.err; then
3636 ac_cpp_err=$ac_c_preproc_warn_flag
3637 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3644 if test -z "$ac_cpp_err"; then
3647 echo "$as_me: failed program was
:" >&5
3648 sed 's/^/| /' conftest.$ac_ext >&5
3650 # Broken: fails on valid input.
3654 rm -f conftest.err conftest.$ac_ext
3656 # OK, works on sane cases. Now check whether nonexistent headers
3657 # can be detected and how.
3658 cat >conftest.$ac_ext <<_ACEOF
3661 cat confdefs.h >>conftest.$ac_ext
3662 cat >>conftest.$ac_ext <<_ACEOF
3663 /* end confdefs.h. */
3664 #include <ac_nonexistent.h>
3666 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3671 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3672 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3674 grep -v '^ *+' conftest.er1 >conftest.err
3676 cat conftest.err >&5
3677 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3678 (exit $ac_status); } >/dev/null; then
3679 if test -s conftest.err; then
3680 ac_cpp_err=$ac_c_preproc_warn_flag
3681 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3688 if test -z "$ac_cpp_err"; then
3689 # Broken: success on invalid input.
3692 echo "$as_me: failed program was
:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3695 # Passes both tests.
3700 rm -f conftest.err conftest.$ac_ext
3703 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3704 rm -f conftest.err conftest.$ac_ext
3705 if $ac_preproc_ok; then
3717 { echo "$as_me:$LINENO: result
: $CPP" >&5
3718 echo "${ECHO_T}$CPP" >&6; }
3720 for ac_c_preproc_warn_flag in '' yes
3722 # Use a header file that comes with gcc, so configuring glibc
3723 # with a fresh cross-compiler works.
3724 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3725 # <limits.h> exists even on freestanding compilers.
3726 # On the NeXT, cc -E runs the code through the compiler's parser,
3727 # not just through cpp. "Syntax error
" is here to catch this case.
3728 cat >conftest.$ac_ext <<_ACEOF
3731 cat confdefs.h >>conftest.$ac_ext
3732 cat >>conftest.$ac_ext <<_ACEOF
3733 /* end confdefs.h. */
3735 # include <limits.h>
3737 # include <assert.h>
3741 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3744 *) ac_try_echo=$ac_try;;
3746 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3747 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3749 grep -v '^ *+' conftest.er1 >conftest.err
3751 cat conftest.err >&5
3752 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3753 (exit $ac_status); } >/dev/null; then
3754 if test -s conftest.err; then
3755 ac_cpp_err=$ac_c_preproc_warn_flag
3756 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3763 if test -z "$ac_cpp_err"; then
3766 echo "$as_me: failed program was
:" >&5
3767 sed 's/^/| /' conftest.$ac_ext >&5
3769 # Broken: fails on valid input.
3773 rm -f conftest.err conftest.$ac_ext
3775 # OK, works on sane cases. Now check whether nonexistent headers
3776 # can be detected and how.
3777 cat >conftest.$ac_ext <<_ACEOF
3780 cat confdefs.h >>conftest.$ac_ext
3781 cat >>conftest.$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3783 #include <ac_nonexistent.h>
3785 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788 *) ac_try_echo=$ac_try;;
3790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3791 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3793 grep -v '^ *+' conftest.er1 >conftest.err
3795 cat conftest.err >&5
3796 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3797 (exit $ac_status); } >/dev/null; then
3798 if test -s conftest.err; then
3799 ac_cpp_err=$ac_c_preproc_warn_flag
3800 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3807 if test -z "$ac_cpp_err"; then
3808 # Broken: success on invalid input.
3811 echo "$as_me: failed program was
:" >&5
3812 sed 's/^/| /' conftest.$ac_ext >&5
3814 # Passes both tests.
3819 rm -f conftest.err conftest.$ac_ext
3822 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3823 rm -f conftest.err conftest.$ac_ext
3824 if $ac_preproc_ok; then
3827 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3828 See \
`config.log' for more details." >&5
3829 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3830 See \`config.log
' for more details." >&2;}
3831 { (exit 1); exit 1; }; }
3835 ac_cpp='$CPP $CPPFLAGS'
3836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3837 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841 { echo "$as_me:$LINENO: checking for X" >&5
3842 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3845 # Check whether --with-x was given.
3846 if test "${with_x+set}" = set; then
3850 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3851 if test "x$with_x" = xno; then
3852 # The user explicitly disabled X.
3855 case $x_includes,$x_libraries in #(
3856 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3857 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3858 { (exit 1); exit 1; }; };; #(
3859 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 # One or both of the vars are not set, and there is no cached value.
3863 ac_x_includes=no ac_x_libraries=no
3864 rm -f -r conftest.dir
3865 if mkdir conftest.dir; then
3867 cat >Imakefile <<'_ACEOF'
3869 @echo incroot='${INCROOT}'
3871 @echo usrlibdir='${USRLIBDIR}'
3873 @echo libdir='${LIBDIR}'
3875 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3876 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3877 for ac_var in incroot usrlibdir libdir; do
3878 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3880 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3881 for ac_extension in a so sl; do
3882 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3883 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3884 ac_im_usrlibdir=$ac_im_libdir; break
3887 # Screen out bogus values from the imake configuration. They are
3888 # bogus both because they are the default anyway, and because
3889 # using them would break gcc on systems where it needs fixed includes.
3890 case $ac_im_incroot in
3891 /usr/include) ac_x_includes= ;;
3892 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3894 case $ac_im_usrlibdir in
3896 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3900 rm -f -r conftest.dir
3903 # Standard set of common directories for X headers.
3904 # Check X11 before X11Rn because it is often a symlink to the current release.
3916 /usr
/local
/X11
/include
3917 /usr
/local
/X11R
6/include
3918 /usr
/local
/X11R
5/include
3919 /usr
/local
/X11R
4/include
3921 /usr
/local
/include
/X11
3922 /usr
/local
/include
/X11R6
3923 /usr
/local
/include
/X11R5
3924 /usr
/local
/include
/X11R4
3928 /usr
/XFree86
/include
/X11
3932 /usr
/unsupported
/include
3934 /usr
/local
/x11r
5/include
3935 /usr
/lpp
/Xamples
/include
3937 /usr
/openwin
/include
3938 /usr
/openwin
/share
/include
'
3940 if test "$ac_x_includes" = no; then
3941 # Guess where to find include files, by looking for Xlib.h.
3942 # First, try using that file with no special directory specified.
3943 cat >conftest.$ac_ext <<_ACEOF
3946 cat confdefs.h >>conftest.$ac_ext
3947 cat >>conftest.$ac_ext <<_ACEOF
3948 /* end confdefs.h. */
3949 #include <X11/Xlib.h>
3951 if { (ac_try="$ac_cpp conftest.$ac_ext"
3953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3959 grep -v '^
*+' conftest.er1 >conftest.err
3961 cat conftest.err >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } >/dev/null; then
3964 if test -s conftest.err; then
3965 ac_cpp_err=$ac_c_preproc_warn_flag
3966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3973 if test -z "$ac_cpp_err"; then
3974 # We can compile using X headers with no special include directory.
3977 echo "$as_me: failed program was:" >&5
3978 sed 's
/^
/|
/' conftest.$ac_ext >&5
3980 for ac_dir in $ac_x_header_dirs; do
3981 if test -r "$ac_dir/X11/Xlib.h"; then
3982 ac_x_includes=$ac_dir
3988 rm -f conftest.err conftest.$ac_ext
3989 fi # $ac_x_includes = no
3991 if test "$ac_x_libraries" = no; then
3992 # Check for the libraries.
3993 # See if we find them without any special options.
3994 # Don't add to
$LIBS permanently.
3997 cat >conftest.
$ac_ext <<_ACEOF
4000 cat confdefs.h
>>conftest.
$ac_ext
4001 cat >>conftest.
$ac_ext <<_ACEOF
4002 /* end confdefs.h. */
4003 #include <X11/Xlib.h>
4012 rm -f conftest.
$ac_objext conftest
$ac_exeext
4013 if { (ac_try
="$ac_link"
4015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4019 (eval "$ac_link") 2>conftest.er1
4021 grep -v '^ *+' conftest.er1 >conftest.err
4023 cat conftest.err >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4027 { (case "(($ac_try" in
4028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4029 *) ac_try_echo
=$ac_try;;
4031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4032 (eval "$ac_try") 2>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); }; } &&
4036 { ac_try
='test -s conftest$ac_exeext'
4037 { (case "(($ac_try" in
4038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4042 (eval "$ac_try") 2>&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); }; }; then
4047 # We can link X programs with no special library path.
4050 echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.$ac_ext >&5
4054 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4056 # Don't even attempt the hair of trying to link an X program!
4057 for ac_extension in a so sl; do
4058 if test -r "$ac_dir/libX11.$ac_extension"; then
4059 ac_x_libraries=$ac_dir
4066 rm -f core conftest.err conftest.$ac_objext \
4067 conftest$ac_exeext conftest.$ac_ext
4068 fi # $ac_x_libraries = no
4070 case $ac_x_includes,$ac_x_libraries in #(
4072 # Didn't find X, or a directory has "'" in its name.
4073 ac_cv_have_x="have_x=no";; #(
4075 # Record where we found X for the cache.
4076 ac_cv_have_x="have_x=yes\
4077 ac_x_includes='$ac_x_includes'\
4078 ac_x_libraries='$ac_x_libraries'"
4084 eval "$ac_cv_have_x"
4087 if test "$have_x" != yes; then
4088 { echo "$as_me:$LINENO: result: $have_x" >&5
4089 echo "${ECHO_T}$have_x" >&6; }
4092 # If each of the values was on the command line, it overrides each guess.
4093 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4094 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4095 # Update the cache value to reflect the command line values.
4096 ac_cv_have_x="have_x=yes\
4097 ac_x_includes='$x_includes'\
4098 ac_x_libraries='$x_libraries'"
4099 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4100 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4103 if test "$no_x" = yes; then
4104 # Not all programs may use this symbol, but it does not hurt to define it.
4106 cat >>confdefs.h <<\_ACEOF
4107 #define X_DISPLAY_MISSING 1
4110 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4112 if test -n "$x_includes"; then
4113 X_CFLAGS="$X_CFLAGS -I$x_includes"
4116 # It would also be nice to do this for all -L options, not just this one.
4117 if test -n "$x_libraries"; then
4118 X_LIBS="$X_LIBS -L$x_libraries"
4119 # For Solaris; some versions of Sun CC require a space after -R and
4120 # others require no space. Words are not sufficient . . . .
4121 case `(uname
-sr) 2>/dev
/null
` in
4123 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4124 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4125 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4126 cat >conftest.$ac_ext <<_ACEOF
4129 cat confdefs.h >>conftest.$ac_ext
4130 cat >>conftest.$ac_ext <<_ACEOF
4131 /* end confdefs.h. */
4141 rm -f conftest.$ac_objext conftest$ac_exeext
4142 if { (ac_try="$ac_link"
4144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4145 *) ac_try_echo
=$ac_try;;
4147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4148 (eval "$ac_link") 2>conftest.er1
4150 grep -v '^ *+' conftest.er1
>conftest.err
4152 cat conftest.err
>&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } &&
4155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4156 { (case "(($ac_try" in
4157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4158 *) ac_try_echo=$ac_try;;
4160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4161 (eval "$ac_try") 2>&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; } &&
4165 { ac_try='test -s conftest$ac_exeext'
4166 { (case "(($ac_try" in
4167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4168 *) ac_try_echo
=$ac_try;;
4170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4171 (eval "$ac_try") 2>&5
4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174 (exit $ac_status); }; }; then
4177 echo "$as_me: failed program was:" >&5
4178 sed 's/^/| /' conftest.
$ac_ext >&5
4183 rm -f core conftest.err conftest.
$ac_objext \
4184 conftest
$ac_exeext conftest.
$ac_ext
4185 if test $ac_R_nospace = yes; then
4186 { echo "$as_me:$LINENO: result: no" >&5
4187 echo "${ECHO_T}no" >&6; }
4188 X_LIBS
="$X_LIBS -R$x_libraries"
4190 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4191 cat >conftest.
$ac_ext <<_ACEOF
4194 cat confdefs.h
>>conftest.
$ac_ext
4195 cat >>conftest.
$ac_ext <<_ACEOF
4196 /* end confdefs.h. */
4206 rm -f conftest.
$ac_objext conftest
$ac_exeext
4207 if { (ac_try
="$ac_link"
4209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4213 (eval "$ac_link") 2>conftest.er1
4215 grep -v '^ *+' conftest.er1 >conftest.err
4217 cat conftest.err >&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); } &&
4220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4221 { (case "(($ac_try" in
4222 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4223 *) ac_try_echo
=$ac_try;;
4225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4226 (eval "$ac_try") 2>&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; } &&
4230 { ac_try
='test -s conftest$ac_exeext'
4231 { (case "(($ac_try" in
4232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4233 *) ac_try_echo=$ac_try;;
4235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4236 (eval "$ac_try") 2>&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); }; }; then
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.$ac_ext >&5
4248 rm -f core conftest.err conftest.$ac_objext \
4249 conftest$ac_exeext conftest.$ac_ext
4250 if test $ac_R_space = yes; then
4251 { echo "$as_me:$LINENO: result: yes" >&5
4252 echo "${ECHO_T}yes" >&6; }
4253 X_LIBS="$X_LIBS -R $x_libraries"
4255 { echo "$as_me:$LINENO: result: neither works" >&5
4256 echo "${ECHO_T}neither works" >&6; }
4263 # Check for system-dependent libraries X programs must link with.
4264 # Do this before checking for the system-independent R6 libraries
4265 # (-lICE), since we may need -lsocket or whatever for X linking.
4267 if test "$ISC" = yes; then
4268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4270 # Martyn Johnson says this is needed for Ultrix, if the X
4271 # libraries were built with DECnet support. And Karl Berry says
4272 # the Alpha needs dnet_stub (dnet does not exist).
4273 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4274 cat >conftest.$ac_ext <<_ACEOF
4277 cat confdefs.h >>conftest.$ac_ext
4278 cat >>conftest.$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4281 /* Override any GCC internal prototype to avoid an error.
4282 Use char because int might match the return type of a GCC
4283 builtin and then its argument prototype would still apply. */
4287 char XOpenDisplay ();
4291 return XOpenDisplay ();
4296 rm -f conftest.$ac_objext conftest$ac_exeext
4297 if { (ac_try="$ac_link"
4299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4300 *) ac_try_echo
=$ac_try;;
4302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4303 (eval "$ac_link") 2>conftest.er1
4305 grep -v '^ *+' conftest.er1
>conftest.err
4307 cat conftest.err
>&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); } &&
4310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4311 { (case "(($ac_try" in
4312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316 (eval "$ac_try") 2>&5
4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); }; } &&
4320 { ac_try='test -s conftest$ac_exeext'
4321 { (case "(($ac_try" in
4322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4323 *) ac_try_echo
=$ac_try;;
4325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4326 (eval "$ac_try") 2>&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); }; }; then
4332 echo "$as_me: failed program was:" >&5
4333 sed 's/^/| /' conftest.
$ac_ext >&5
4335 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4336 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4337 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 ac_check_lib_save_LIBS
=$LIBS
4342 cat >conftest.
$ac_ext <<_ACEOF
4345 cat confdefs.h
>>conftest.
$ac_ext
4346 cat >>conftest.
$ac_ext <<_ACEOF
4347 /* end confdefs.h. */
4349 /* Override any GCC internal prototype to avoid an error.
4350 Use char because int might match the return type of a GCC
4351 builtin and then its argument prototype would still apply. */
4359 return dnet_ntoa ();
4364 rm -f conftest.
$ac_objext conftest
$ac_exeext
4365 if { (ac_try
="$ac_link"
4367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4368 *) ac_try_echo=$ac_try;;
4370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4371 (eval "$ac_link") 2>conftest.er1
4373 grep -v '^ *+' conftest.er1 >conftest.err
4375 cat conftest.err >&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); } &&
4378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4379 { (case "(($ac_try" in
4380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4381 *) ac_try_echo
=$ac_try;;
4383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4384 (eval "$ac_try") 2>&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }; } &&
4388 { ac_try
='test -s conftest$ac_exeext'
4389 { (case "(($ac_try" in
4390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4394 (eval "$ac_try") 2>&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); }; }; then
4398 ac_cv_lib_dnet_dnet_ntoa=yes
4400 echo "$as_me: failed program was:" >&5
4401 sed 's/^/| /' conftest.$ac_ext >&5
4403 ac_cv_lib_dnet_dnet_ntoa=no
4406 rm -f core conftest.err conftest.$ac_objext \
4407 conftest$ac_exeext conftest.$ac_ext
4408 LIBS=$ac_check_lib_save_LIBS
4410 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4411 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4412 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4413 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4416 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4417 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4418 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4419 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4420 echo $ECHO_N "(cached) $ECHO_C" >&6
4422 ac_check_lib_save_LIBS=$LIBS
4423 LIBS="-ldnet_stub $LIBS"
4424 cat >conftest.$ac_ext <<_ACEOF
4427 cat confdefs.h >>conftest.$ac_ext
4428 cat >>conftest.$ac_ext <<_ACEOF
4429 /* end confdefs.h. */
4431 /* Override any GCC internal prototype to avoid an error.
4432 Use char because int might match the return type of a GCC
4433 builtin and then its argument prototype would still apply. */
4441 return dnet_ntoa ();
4446 rm -f conftest.$ac_objext conftest$ac_exeext
4447 if { (ac_try="$ac_link"
4449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4450 *) ac_try_echo
=$ac_try;;
4452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4453 (eval "$ac_link") 2>conftest.er1
4455 grep -v '^ *+' conftest.er1
>conftest.err
4457 cat conftest.err
>&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } &&
4460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4461 { (case "(($ac_try" in
4462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4463 *) ac_try_echo=$ac_try;;
4465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4466 (eval "$ac_try") 2>&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); }; } &&
4470 { ac_try='test -s conftest$ac_exeext'
4471 { (case "(($ac_try" in
4472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4473 *) ac_try_echo
=$ac_try;;
4475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4476 (eval "$ac_try") 2>&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); }; }; then
4480 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4482 echo "$as_me: failed program was:" >&5
4483 sed 's/^/| /' conftest.
$ac_ext >&5
4485 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4488 rm -f core conftest.err conftest.
$ac_objext \
4489 conftest
$ac_exeext conftest.
$ac_ext
4490 LIBS
=$ac_check_lib_save_LIBS
4492 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4493 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4494 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4495 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4501 rm -f core conftest.err conftest.
$ac_objext \
4502 conftest
$ac_exeext conftest.
$ac_ext
4503 LIBS
="$ac_xsave_LIBS"
4505 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4506 # to get the SysV transport functions.
4507 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4509 # The nsl library prevents programs from opening the X display
4510 # on Irix 5.2, according to T.E. Dickey.
4511 # The functions gethostbyname, getservbyname, and inet_addr are
4512 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4513 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4514 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4515 if test "${ac_cv_func_gethostbyname+set}" = set; then
4516 echo $ECHO_N "(cached) $ECHO_C" >&6
4518 cat >conftest.
$ac_ext <<_ACEOF
4521 cat confdefs.h
>>conftest.
$ac_ext
4522 cat >>conftest.
$ac_ext <<_ACEOF
4523 /* end confdefs.h. */
4524 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4526 #define gethostbyname innocuous_gethostbyname
4528 /* System header to define __stub macros and hopefully few prototypes,
4529 which can conflict with char gethostbyname (); below.
4530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4531 <limits.h> exists even on freestanding compilers. */
4534 # include <limits.h>
4536 # include <assert.h>
4539 #undef gethostbyname
4541 /* Override any GCC internal prototype to avoid an error.
4542 Use char because int might match the return type of a GCC
4543 builtin and then its argument prototype would still apply. */
4547 char gethostbyname ();
4548 /* The GNU C library defines this for functions which it implements
4549 to always fail with ENOSYS. Some functions are actually named
4550 something starting with __ and the normal name is an alias. */
4551 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4558 return gethostbyname ();
4563 rm -f conftest.
$ac_objext conftest
$ac_exeext
4564 if { (ac_try
="$ac_link"
4566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4567 *) ac_try_echo=$ac_try;;
4569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4570 (eval "$ac_link") 2>conftest.er1
4572 grep -v '^ *+' conftest.er1 >conftest.err
4574 cat conftest.err >&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); } &&
4577 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4578 { (case "(($ac_try" in
4579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4580 *) ac_try_echo
=$ac_try;;
4582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4583 (eval "$ac_try") 2>&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; } &&
4587 { ac_try
='test -s conftest$ac_exeext'
4588 { (case "(($ac_try" in
4589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4590 *) ac_try_echo=$ac_try;;
4592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4593 (eval "$ac_try") 2>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); }; }; then
4597 ac_cv_func_gethostbyname=yes
4599 echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.$ac_ext >&5
4602 ac_cv_func_gethostbyname=no
4605 rm -f core conftest.err conftest.$ac_objext \
4606 conftest$ac_exeext conftest.$ac_ext
4608 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4609 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4611 if test $ac_cv_func_gethostbyname = no; then
4612 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4613 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4614 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 ac_check_lib_save_LIBS=$LIBS
4619 cat >conftest.$ac_ext <<_ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4626 /* Override any GCC internal prototype to avoid an error.
4627 Use char because int might match the return type of a GCC
4628 builtin and then its argument prototype would still apply. */
4632 char gethostbyname ();
4636 return gethostbyname ();
4641 rm -f conftest.$ac_objext conftest$ac_exeext
4642 if { (ac_try="$ac_link"
4644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4645 *) ac_try_echo
=$ac_try;;
4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648 (eval "$ac_link") 2>conftest.er1
4650 grep -v '^ *+' conftest.er1
>conftest.err
4652 cat conftest.err
>&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } &&
4655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4656 { (case "(($ac_try" in
4657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4658 *) ac_try_echo=$ac_try;;
4660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4661 (eval "$ac_try") 2>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); }; } &&
4665 { ac_try='test -s conftest$ac_exeext'
4666 { (case "(($ac_try" in
4667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4668 *) ac_try_echo
=$ac_try;;
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_try") 2>&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 ac_cv_lib_nsl_gethostbyname
=yes
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.
$ac_ext >&5
4680 ac_cv_lib_nsl_gethostbyname
=no
4683 rm -f core conftest.err conftest.
$ac_objext \
4684 conftest
$ac_exeext conftest.
$ac_ext
4685 LIBS
=$ac_check_lib_save_LIBS
4687 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4688 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4689 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4690 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4693 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4694 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4695 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4696 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4697 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 ac_check_lib_save_LIBS
=$LIBS
4701 cat >conftest.
$ac_ext <<_ACEOF
4704 cat confdefs.h
>>conftest.
$ac_ext
4705 cat >>conftest.
$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4708 /* Override any GCC internal prototype to avoid an error.
4709 Use char because int might match the return type of a GCC
4710 builtin and then its argument prototype would still apply. */
4714 char gethostbyname ();
4718 return gethostbyname ();
4723 rm -f conftest.
$ac_objext conftest
$ac_exeext
4724 if { (ac_try
="$ac_link"
4726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4727 *) ac_try_echo=$ac_try;;
4729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4730 (eval "$ac_link") 2>conftest.er1
4732 grep -v '^ *+' conftest.er1 >conftest.err
4734 cat conftest.err >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); } &&
4737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4738 { (case "(($ac_try" in
4739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4740 *) ac_try_echo
=$ac_try;;
4742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4743 (eval "$ac_try") 2>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; } &&
4747 { ac_try
='test -s conftest$ac_exeext'
4748 { (case "(($ac_try" in
4749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4750 *) ac_try_echo=$ac_try;;
4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4753 (eval "$ac_try") 2>&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }; }; then
4757 ac_cv_lib_bsd_gethostbyname=yes
4759 echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4762 ac_cv_lib_bsd_gethostbyname=no
4765 rm -f core conftest.err conftest.$ac_objext \
4766 conftest$ac_exeext conftest.$ac_ext
4767 LIBS=$ac_check_lib_save_LIBS
4769 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4770 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4771 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4772 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4778 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4779 # socket/setsockopt and other routines are undefined under SCO ODT
4780 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4781 # on later versions), says Simon Leinen: it contains gethostby*
4782 # variants that don't use the name server (or something). -lsocket
4783 # must be given before -lnsl if both are needed. We assume that
4784 # if connect needs -lnsl, so does gethostbyname.
4785 { echo "$as_me:$LINENO: checking for connect" >&5
4786 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4787 if test "${ac_cv_func_connect+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 cat >conftest.$ac_ext <<_ACEOF
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4798 #define connect innocuous_connect
4800 /* System header to define __stub macros and hopefully few prototypes,
4801 which can conflict with char connect (); below.
4802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4803 <limits.h> exists even on freestanding compilers. */
4806 # include <limits.h>
4808 # include <assert.h>
4813 /* Override any GCC internal prototype to avoid an error.
4814 Use char because int might match the return type of a GCC
4815 builtin and then its argument prototype would still apply. */
4820 /* The GNU C library defines this for functions which it implements
4821 to always fail with ENOSYS. Some functions are actually named
4822 something starting with __ and the normal name is an alias. */
4823 #if defined __stub_connect || defined __stub___connect
4835 rm -f conftest.$ac_objext conftest$ac_exeext
4836 if { (ac_try="$ac_link"
4838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4839 *) ac_try_echo
=$ac_try;;
4841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4842 (eval "$ac_link") 2>conftest.er1
4844 grep -v '^ *+' conftest.er1
>conftest.err
4846 cat conftest.err
>&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } &&
4849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4850 { (case "(($ac_try" in
4851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4852 *) ac_try_echo=$ac_try;;
4854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4855 (eval "$ac_try") 2>&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; } &&
4859 { ac_try='test -s conftest$ac_exeext'
4860 { (case "(($ac_try" in
4861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4862 *) ac_try_echo
=$ac_try;;
4864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4865 (eval "$ac_try") 2>&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; }; then
4869 ac_cv_func_connect
=yes
4871 echo "$as_me: failed program was:" >&5
4872 sed 's/^/| /' conftest.
$ac_ext >&5
4874 ac_cv_func_connect
=no
4877 rm -f core conftest.err conftest.
$ac_objext \
4878 conftest
$ac_exeext conftest.
$ac_ext
4880 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4881 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4883 if test $ac_cv_func_connect = no
; then
4884 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4885 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4886 if test "${ac_cv_lib_socket_connect+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4889 ac_check_lib_save_LIBS
=$LIBS
4890 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4891 cat >conftest.
$ac_ext <<_ACEOF
4894 cat confdefs.h
>>conftest.
$ac_ext
4895 cat >>conftest.
$ac_ext <<_ACEOF
4896 /* end confdefs.h. */
4898 /* Override any GCC internal prototype to avoid an error.
4899 Use char because int might match the return type of a GCC
4900 builtin and then its argument prototype would still apply. */
4913 rm -f conftest.
$ac_objext conftest
$ac_exeext
4914 if { (ac_try
="$ac_link"
4916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4917 *) ac_try_echo=$ac_try;;
4919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4920 (eval "$ac_link") 2>conftest.er1
4922 grep -v '^ *+' conftest.er1 >conftest.err
4924 cat conftest.err >&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } &&
4927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4928 { (case "(($ac_try" in
4929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4930 *) ac_try_echo
=$ac_try;;
4932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4933 (eval "$ac_try") 2>&5
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; } &&
4937 { ac_try
='test -s conftest$ac_exeext'
4938 { (case "(($ac_try" in
4939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4940 *) ac_try_echo=$ac_try;;
4942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4943 (eval "$ac_try") 2>&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); }; }; then
4947 ac_cv_lib_socket_connect=yes
4949 echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.$ac_ext >&5
4952 ac_cv_lib_socket_connect=no
4955 rm -f core conftest.err conftest.$ac_objext \
4956 conftest$ac_exeext conftest.$ac_ext
4957 LIBS=$ac_check_lib_save_LIBS
4959 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4960 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4961 if test $ac_cv_lib_socket_connect = yes; then
4962 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4967 # Guillermo Gomez says -lposix is necessary on A/UX.
4968 { echo "$as_me:$LINENO: checking for remove" >&5
4969 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4970 if test "${ac_cv_func_remove+set}" = set; then
4971 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 cat >conftest.$ac_ext <<_ACEOF
4976 cat confdefs.h >>conftest.$ac_ext
4977 cat >>conftest.$ac_ext <<_ACEOF
4978 /* end confdefs.h. */
4979 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4981 #define remove innocuous_remove
4983 /* System header to define __stub macros and hopefully few prototypes,
4984 which can conflict with char remove (); below.
4985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4986 <limits.h> exists even on freestanding compilers. */
4989 # include <limits.h>
4991 # include <assert.h>
4996 /* Override any GCC internal prototype to avoid an error.
4997 Use char because int might match the return type of a GCC
4998 builtin and then its argument prototype would still apply. */
5003 /* The GNU C library defines this for functions which it implements
5004 to always fail with ENOSYS. Some functions are actually named
5005 something starting with __ and the normal name is an alias. */
5006 #if defined __stub_remove || defined __stub___remove
5018 rm -f conftest.$ac_objext conftest$ac_exeext
5019 if { (ac_try="$ac_link"
5021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5022 *) ac_try_echo
=$ac_try;;
5024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5025 (eval "$ac_link") 2>conftest.er1
5027 grep -v '^ *+' conftest.er1
>conftest.err
5029 cat conftest.err
>&5
5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031 (exit $ac_status); } &&
5032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5033 { (case "(($ac_try" in
5034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5035 *) ac_try_echo=$ac_try;;
5037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5038 (eval "$ac_try") 2>&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; } &&
5042 { ac_try='test -s conftest$ac_exeext'
5043 { (case "(($ac_try" in
5044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5045 *) ac_try_echo
=$ac_try;;
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048 (eval "$ac_try") 2>&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); }; }; then
5052 ac_cv_func_remove
=yes
5054 echo "$as_me: failed program was:" >&5
5055 sed 's/^/| /' conftest.
$ac_ext >&5
5057 ac_cv_func_remove
=no
5060 rm -f core conftest.err conftest.
$ac_objext \
5061 conftest
$ac_exeext conftest.
$ac_ext
5063 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5064 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5066 if test $ac_cv_func_remove = no
; then
5067 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5068 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5069 if test "${ac_cv_lib_posix_remove+set}" = set; then
5070 echo $ECHO_N "(cached) $ECHO_C" >&6
5072 ac_check_lib_save_LIBS
=$LIBS
5073 LIBS
="-lposix $LIBS"
5074 cat >conftest.
$ac_ext <<_ACEOF
5077 cat confdefs.h
>>conftest.
$ac_ext
5078 cat >>conftest.
$ac_ext <<_ACEOF
5079 /* end confdefs.h. */
5081 /* Override any GCC internal prototype to avoid an error.
5082 Use char because int might match the return type of a GCC
5083 builtin and then its argument prototype would still apply. */
5096 rm -f conftest.
$ac_objext conftest
$ac_exeext
5097 if { (ac_try
="$ac_link"
5099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5100 *) ac_try_echo=$ac_try;;
5102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5103 (eval "$ac_link") 2>conftest.er1
5105 grep -v '^ *+' conftest.er1 >conftest.err
5107 cat conftest.err >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } &&
5110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5111 { (case "(($ac_try" in
5112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5113 *) ac_try_echo
=$ac_try;;
5115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5116 (eval "$ac_try") 2>&5
5118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5119 (exit $ac_status); }; } &&
5120 { ac_try
='test -s conftest$ac_exeext'
5121 { (case "(($ac_try" in
5122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5123 *) ac_try_echo=$ac_try;;
5125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5126 (eval "$ac_try") 2>&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); }; }; then
5130 ac_cv_lib_posix_remove=yes
5132 echo "$as_me: failed program was:" >&5
5133 sed 's/^/| /' conftest.$ac_ext >&5
5135 ac_cv_lib_posix_remove=no
5138 rm -f core conftest.err conftest.$ac_objext \
5139 conftest$ac_exeext conftest.$ac_ext
5140 LIBS=$ac_check_lib_save_LIBS
5142 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5143 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5144 if test $ac_cv_lib_posix_remove = yes; then
5145 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5150 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5151 { echo "$as_me:$LINENO: checking for shmat" >&5
5152 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5153 if test "${ac_cv_func_shmat+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 cat >conftest.$ac_ext <<_ACEOF
5159 cat confdefs.h >>conftest.$ac_ext
5160 cat >>conftest.$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5162 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5164 #define shmat innocuous_shmat
5166 /* System header to define __stub macros and hopefully few prototypes,
5167 which can conflict with char shmat (); below.
5168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5169 <limits.h> exists even on freestanding compilers. */
5172 # include <limits.h>
5174 # include <assert.h>
5179 /* Override any GCC internal prototype to avoid an error.
5180 Use char because int might match the return type of a GCC
5181 builtin and then its argument prototype would still apply. */
5186 /* The GNU C library defines this for functions which it implements
5187 to always fail with ENOSYS. Some functions are actually named
5188 something starting with __ and the normal name is an alias. */
5189 #if defined __stub_shmat || defined __stub___shmat
5201 rm -f conftest.$ac_objext conftest$ac_exeext
5202 if { (ac_try="$ac_link"
5204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5205 *) ac_try_echo
=$ac_try;;
5207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5208 (eval "$ac_link") 2>conftest.er1
5210 grep -v '^ *+' conftest.er1
>conftest.err
5212 cat conftest.err
>&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } &&
5215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5216 { (case "(($ac_try" in
5217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5218 *) ac_try_echo=$ac_try;;
5220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5221 (eval "$ac_try") 2>&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); }; } &&
5225 { ac_try='test -s conftest$ac_exeext'
5226 { (case "(($ac_try" in
5227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5228 *) ac_try_echo
=$ac_try;;
5230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5231 (eval "$ac_try") 2>&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }; }; then
5235 ac_cv_func_shmat
=yes
5237 echo "$as_me: failed program was:" >&5
5238 sed 's/^/| /' conftest.
$ac_ext >&5
5243 rm -f core conftest.err conftest.
$ac_objext \
5244 conftest
$ac_exeext conftest.
$ac_ext
5246 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5247 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5249 if test $ac_cv_func_shmat = no
; then
5250 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5251 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5252 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 ac_check_lib_save_LIBS
=$LIBS
5257 cat >conftest.
$ac_ext <<_ACEOF
5260 cat confdefs.h
>>conftest.
$ac_ext
5261 cat >>conftest.
$ac_ext <<_ACEOF
5262 /* end confdefs.h. */
5264 /* Override any GCC internal prototype to avoid an error.
5265 Use char because int might match the return type of a GCC
5266 builtin and then its argument prototype would still apply. */
5279 rm -f conftest.
$ac_objext conftest
$ac_exeext
5280 if { (ac_try
="$ac_link"
5282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5283 *) ac_try_echo=$ac_try;;
5285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5286 (eval "$ac_link") 2>conftest.er1
5288 grep -v '^ *+' conftest.er1 >conftest.err
5290 cat conftest.err >&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); } &&
5293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5294 { (case "(($ac_try" in
5295 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5296 *) ac_try_echo
=$ac_try;;
5298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5299 (eval "$ac_try") 2>&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); }; } &&
5303 { ac_try
='test -s conftest$ac_exeext'
5304 { (case "(($ac_try" in
5305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5306 *) ac_try_echo=$ac_try;;
5308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5309 (eval "$ac_try") 2>&5
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); }; }; then
5313 ac_cv_lib_ipc_shmat=yes
5315 echo "$as_me: failed program was:" >&5
5316 sed 's/^/| /' conftest.$ac_ext >&5
5318 ac_cv_lib_ipc_shmat=no
5321 rm -f core conftest.err conftest.$ac_objext \
5322 conftest$ac_exeext conftest.$ac_ext
5323 LIBS=$ac_check_lib_save_LIBS
5325 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5326 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5327 if test $ac_cv_lib_ipc_shmat = yes; then
5328 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5334 # Check for libraries that X11R6 Xt/Xaw programs need.
5335 ac_save_LDFLAGS=$LDFLAGS
5336 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5337 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5338 # check for ICE first), but we must link in the order -lSM -lICE or
5339 # we get undefined symbols. So assume we have SM if we have ICE.
5340 # These have to be linked with before -lX11, unlike the other
5341 # libraries we check for below, so use a different variable.
5342 # John Interrante, Karl Berry
5343 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5344 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5345 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5346 echo $ECHO_N "(cached) $ECHO_C" >&6
5348 ac_check_lib_save_LIBS=$LIBS
5349 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5350 cat >conftest.$ac_ext <<_ACEOF
5353 cat confdefs.h >>conftest.$ac_ext
5354 cat >>conftest.$ac_ext <<_ACEOF
5355 /* end confdefs.h. */
5357 /* Override any GCC internal prototype to avoid an error.
5358 Use char because int might match the return type of a GCC
5359 builtin and then its argument prototype would still apply. */
5363 char IceConnectionNumber ();
5367 return IceConnectionNumber ();
5372 rm -f conftest.$ac_objext conftest$ac_exeext
5373 if { (ac_try="$ac_link"
5375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5376 *) ac_try_echo
=$ac_try;;
5378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5379 (eval "$ac_link") 2>conftest.er1
5381 grep -v '^ *+' conftest.er1
>conftest.err
5383 cat conftest.err
>&5
5384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 (exit $ac_status); } &&
5386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5387 { (case "(($ac_try" in
5388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5389 *) ac_try_echo=$ac_try;;
5391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5392 (eval "$ac_try") 2>&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); }; } &&
5396 { ac_try='test -s conftest$ac_exeext'
5397 { (case "(($ac_try" in
5398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5399 *) ac_try_echo
=$ac_try;;
5401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5402 (eval "$ac_try") 2>&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); }; }; then
5406 ac_cv_lib_ICE_IceConnectionNumber
=yes
5408 echo "$as_me: failed program was:" >&5
5409 sed 's/^/| /' conftest.
$ac_ext >&5
5411 ac_cv_lib_ICE_IceConnectionNumber
=no
5414 rm -f core conftest.err conftest.
$ac_objext \
5415 conftest
$ac_exeext conftest.
$ac_ext
5416 LIBS
=$ac_check_lib_save_LIBS
5418 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5419 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5420 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5421 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5424 LDFLAGS
=$ac_save_LDFLAGS
5428 for ac_prog
in flex
lex
5430 # Extract the first word of "$ac_prog", so it can be a program name with args.
5431 set dummy
$ac_prog; ac_word
=$2
5432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5434 if test "${ac_cv_prog_LEX+set}" = set; then
5435 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 if test -n "$LEX"; then
5438 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5444 test -z "$as_dir" && as_dir
=.
5445 for ac_exec_ext
in '' $ac_executable_extensions; do
5446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5447 ac_cv_prog_LEX
="$ac_prog"
5448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 if test -n "$LEX"; then
5459 { echo "$as_me:$LINENO: result: $LEX" >&5
5460 echo "${ECHO_T}$LEX" >&6; }
5462 { echo "$as_me:$LINENO: result: no" >&5
5463 echo "${ECHO_T}no" >&6; }
5467 test -n "$LEX" && break
5469 test -n "$LEX" || LEX
=":"
5471 if test -z "$LEXLIB"
5473 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5474 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5475 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5476 echo $ECHO_N "(cached) $ECHO_C" >&6
5478 ac_check_lib_save_LIBS
=$LIBS
5480 cat >conftest.
$ac_ext <<_ACEOF
5483 cat confdefs.h
>>conftest.
$ac_ext
5484 cat >>conftest.
$ac_ext <<_ACEOF
5485 /* end confdefs.h. */
5487 /* Override any GCC internal prototype to avoid an error.
5488 Use char because int might match the return type of a GCC
5489 builtin and then its argument prototype would still apply. */
5502 rm -f conftest.
$ac_objext conftest
$ac_exeext
5503 if { (ac_try
="$ac_link"
5505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5506 *) ac_try_echo=$ac_try;;
5508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5509 (eval "$ac_link") 2>conftest.er1
5511 grep -v '^ *+' conftest.er1 >conftest.err
5513 cat conftest.err >&5
5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515 (exit $ac_status); } &&
5516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5517 { (case "(($ac_try" in
5518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5519 *) ac_try_echo
=$ac_try;;
5521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5522 (eval "$ac_try") 2>&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; } &&
5526 { ac_try
='test -s conftest$ac_exeext'
5527 { (case "(($ac_try" in
5528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5529 *) ac_try_echo=$ac_try;;
5531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5532 (eval "$ac_try") 2>&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); }; }; then
5536 ac_cv_lib_fl_yywrap=yes
5538 echo "$as_me: failed program was:" >&5
5539 sed 's/^/| /' conftest.$ac_ext >&5
5541 ac_cv_lib_fl_yywrap=no
5544 rm -f core conftest.err conftest.$ac_objext \
5545 conftest$ac_exeext conftest.$ac_ext
5546 LIBS=$ac_check_lib_save_LIBS
5548 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5549 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5550 if test $ac_cv_lib_fl_yywrap = yes; then
5553 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5554 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5555 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5558 ac_check_lib_save_LIBS=$LIBS
5560 cat >conftest.$ac_ext <<_ACEOF
5563 cat confdefs.h >>conftest.$ac_ext
5564 cat >>conftest.$ac_ext <<_ACEOF
5565 /* end confdefs.h. */
5567 /* Override any GCC internal prototype to avoid an error.
5568 Use char because int might match the return type of a GCC
5569 builtin and then its argument prototype would still apply. */
5582 rm -f conftest.$ac_objext conftest$ac_exeext
5583 if { (ac_try="$ac_link"
5585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5586 *) ac_try_echo
=$ac_try;;
5588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5589 (eval "$ac_link") 2>conftest.er1
5591 grep -v '^ *+' conftest.er1
>conftest.err
5593 cat conftest.err
>&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); } &&
5596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5597 { (case "(($ac_try" in
5598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5599 *) ac_try_echo=$ac_try;;
5601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5602 (eval "$ac_try") 2>&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; } &&
5606 { ac_try='test -s conftest$ac_exeext'
5607 { (case "(($ac_try" in
5608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5609 *) ac_try_echo
=$ac_try;;
5611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5612 (eval "$ac_try") 2>&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); }; }; then
5616 ac_cv_lib_l_yywrap
=yes
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.
$ac_ext >&5
5621 ac_cv_lib_l_yywrap
=no
5624 rm -f core conftest.err conftest.
$ac_objext \
5625 conftest
$ac_exeext conftest.
$ac_ext
5626 LIBS
=$ac_check_lib_save_LIBS
5628 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5629 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5630 if test $ac_cv_lib_l_yywrap = yes; then
5638 if test "x$LEX" != "x:"; then
5639 { echo "$as_me:$LINENO: checking lex output file root" >&5
5640 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5641 if test "${ac_cv_prog_lex_root+set}" = set; then
5642 echo $ECHO_N "(cached) $ECHO_C" >&6
5644 # The minimal lex program is just a single line: %%. But some broken lexes
5645 # (Solaris, I think it was) want two %% lines, so accommodate them.
5646 cat >conftest.l
<<_ACEOF
5650 { (ac_try
="$LEX conftest.l"
5652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5653 *) ac_try_echo=$ac_try;;
5655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5656 (eval "$LEX conftest.l") 2>&5
5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); }
5660 if test -f lex.yy.c; then
5661 ac_cv_prog_lex_root=lex.yy
5662 elif test -f lexyy.c; then
5663 ac_cv_prog_lex_root=lexyy
5665 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5666 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5667 { (exit 1); exit 1; }; }
5670 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5671 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5673 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5675 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5676 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5677 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5678 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 # POSIX says lex can declare yytext either as a pointer or an array; the
5681 # default is implementation-dependent. Figure out which it is, since
5682 # not all implementations provide the %pointer and %array declarations.
5683 ac_cv_prog_lex_yytext_pointer=no
5684 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5686 LIBS="$LIBS $LEXLIB"
5687 cat >conftest.$ac_ext <<_ACEOF
5688 `cat $LEX_OUTPUT_ROOT.c
`
5690 rm -f conftest.$ac_objext conftest$ac_exeext
5691 if { (ac_try="$ac_link"
5693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5694 *) ac_try_echo
=$ac_try;;
5696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5697 (eval "$ac_link") 2>conftest.er1
5699 grep -v '^ *+' conftest.er1
>conftest.err
5701 cat conftest.err
>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } &&
5704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5705 { (case "(($ac_try" in
5706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5707 *) ac_try_echo=$ac_try;;
5709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5710 (eval "$ac_try") 2>&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); }; } &&
5714 { ac_try='test -s conftest$ac_exeext'
5715 { (case "(($ac_try" in
5716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5717 *) ac_try_echo
=$ac_try;;
5719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5720 (eval "$ac_try") 2>&5
5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); }; }; then
5724 ac_cv_prog_lex_yytext_pointer
=yes
5726 echo "$as_me: failed program was:" >&5
5727 sed 's/^/| /' conftest.
$ac_ext >&5
5732 rm -f core conftest.err conftest.
$ac_objext \
5733 conftest
$ac_exeext conftest.
$ac_ext
5735 rm -f "${LEX_OUTPUT_ROOT}.c"
5738 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5739 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5740 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5742 cat >>confdefs.h
<<\_ACEOF
5743 #define YYTEXT_POINTER 1
5750 for ac_prog
in $LEX flex
lex
5752 # Extract the first word of "$ac_prog", so it can be a program name with args.
5753 set dummy
$ac_prog; ac_word
=$2
5754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5756 if test "${ac_cv_prog_XLEX+set}" = set; then
5757 echo $ECHO_N "(cached) $ECHO_C" >&6
5759 if test -n "$XLEX"; then
5760 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
5762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir
=.
5767 for ac_exec_ext
in '' $ac_executable_extensions; do
5768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5769 ac_cv_prog_XLEX
="$ac_prog"
5770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 XLEX
=$ac_cv_prog_XLEX
5780 if test -n "$XLEX"; then
5781 { echo "$as_me:$LINENO: result: $XLEX" >&5
5782 echo "${ECHO_T}$XLEX" >&6; }
5784 { echo "$as_me:$LINENO: result: no" >&5
5785 echo "${ECHO_T}no" >&6; }
5789 test -n "$XLEX" && break
5791 test -n "$XLEX" || XLEX
="none"
5793 if test "$XLEX" = "none"
5795 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5796 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5797 { (exit 1); exit 1; }; }
5800 for ac_prog
in bison
5802 # Extract the first word of "$ac_prog", so it can be a program name with args.
5803 set dummy
$ac_prog; ac_word
=$2
5804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5806 if test "${ac_cv_prog_BISON+set}" = set; then
5807 echo $ECHO_N "(cached) $ECHO_C" >&6
5809 if test -n "$BISON"; then
5810 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5816 test -z "$as_dir" && as_dir
=.
5817 for ac_exec_ext
in '' $ac_executable_extensions; do
5818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5819 ac_cv_prog_BISON
="$ac_prog"
5820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 BISON
=$ac_cv_prog_BISON
5830 if test -n "$BISON"; then
5831 { echo "$as_me:$LINENO: result: $BISON" >&5
5832 echo "${ECHO_T}$BISON" >&6; }
5834 { echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6; }
5839 test -n "$BISON" && break
5841 test -n "$BISON" || BISON
="none"
5843 if test "$BISON" = "none"
5845 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5846 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5847 { (exit 1); exit 1; }; }
5850 if test -n "$ac_tool_prefix"; then
5851 for ac_prog
in gas as
5853 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5854 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5857 if test "${ac_cv_prog_AS+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 if test -n "$AS"; then
5861 ac_cv_prog_AS
="$AS" # Let the user override the test.
5863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir
=.
5868 for ac_exec_ext
in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5881 if test -n "$AS"; then
5882 { echo "$as_me:$LINENO: result: $AS" >&5
5883 echo "${ECHO_T}$AS" >&6; }
5885 { echo "$as_me:$LINENO: result: no" >&5
5886 echo "${ECHO_T}no" >&6; }
5890 test -n "$AS" && break
5893 if test -z "$AS"; then
5895 for ac_prog
in gas as
5897 # Extract the first word of "$ac_prog", so it can be a program name with args.
5898 set dummy
$ac_prog; ac_word
=$2
5899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5901 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5902 echo $ECHO_N "(cached) $ECHO_C" >&6
5904 if test -n "$ac_ct_AS"; then
5905 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5911 test -z "$as_dir" && as_dir
=.
5912 for ac_exec_ext
in '' $ac_executable_extensions; do
5913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5914 ac_cv_prog_ac_ct_AS
="$ac_prog"
5915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5924 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5925 if test -n "$ac_ct_AS"; then
5926 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5927 echo "${ECHO_T}$ac_ct_AS" >&6; }
5929 { echo "$as_me:$LINENO: result: no" >&5
5930 echo "${ECHO_T}no" >&6; }
5934 test -n "$ac_ct_AS" && break
5937 if test "x$ac_ct_AS" = x
; then
5940 case $cross_compiling:$ac_tool_warned in
5942 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5943 whose name does not start with the host triplet. If you think this
5944 configuration is useful to you, please write to autoconf@gnu.org." >&5
5945 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5946 whose name does not start with the host triplet. If you think this
5947 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5948 ac_tool_warned
=yes ;;
5954 if test -n "$ac_tool_prefix"; then
5955 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5956 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5959 if test "${ac_cv_prog_LD+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5962 if test -n "$LD"; then
5963 ac_cv_prog_LD
="$LD" # Let the user override the test.
5965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir
=.
5970 for ac_exec_ext
in '' $ac_executable_extensions; do
5971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5972 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 if test -n "$LD"; then
5984 { echo "$as_me:$LINENO: result: $LD" >&5
5985 echo "${ECHO_T}$LD" >&6; }
5987 { echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6; }
5993 if test -z "$ac_cv_prog_LD"; then
5995 # Extract the first word of "ld", so it can be a program name with args.
5996 set dummy ld
; ac_word
=$2
5997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5999 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 if test -n "$ac_ct_LD"; then
6003 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6009 test -z "$as_dir" && as_dir
=.
6010 for ac_exec_ext
in '' $ac_executable_extensions; do
6011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6012 ac_cv_prog_ac_ct_LD
="ld"
6013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6023 if test -n "$ac_ct_LD"; then
6024 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6025 echo "${ECHO_T}$ac_ct_LD" >&6; }
6027 { echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6; }
6031 if test "x$ac_ct_LD" = x
; then
6034 case $cross_compiling:$ac_tool_warned in
6036 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6037 whose name does not start with the host triplet. If you think this
6038 configuration is useful to you, please write to autoconf@gnu.org." >&5
6039 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6040 whose name does not start with the host triplet. If you think this
6041 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6042 ac_tool_warned
=yes ;;
6050 if test -n "$ac_tool_prefix"; then
6051 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6052 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6055 if test "${ac_cv_prog_AR+set}" = set; then
6056 echo $ECHO_N "(cached) $ECHO_C" >&6
6058 if test -n "$AR"; then
6059 ac_cv_prog_AR
="$AR" # Let the user override the test.
6061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6065 test -z "$as_dir" && as_dir
=.
6066 for ac_exec_ext
in '' $ac_executable_extensions; do
6067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6068 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 if test -n "$AR"; then
6080 { echo "$as_me:$LINENO: result: $AR" >&5
6081 echo "${ECHO_T}$AR" >&6; }
6083 { echo "$as_me:$LINENO: result: no" >&5
6084 echo "${ECHO_T}no" >&6; }
6089 if test -z "$ac_cv_prog_AR"; then
6091 # Extract the first word of "ar", so it can be a program name with args.
6092 set dummy
ar; ac_word
=$2
6093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6095 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 if test -n "$ac_ct_AR"; then
6099 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6105 test -z "$as_dir" && as_dir
=.
6106 for ac_exec_ext
in '' $ac_executable_extensions; do
6107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6108 ac_cv_prog_ac_ct_AR
="ar"
6109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6119 if test -n "$ac_ct_AR"; then
6120 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6121 echo "${ECHO_T}$ac_ct_AR" >&6; }
6123 { echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6; }
6127 if test "x$ac_ct_AR" = x
; then
6130 case $cross_compiling:$ac_tool_warned in
6132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6133 whose name does not start with the host triplet. If you think this
6134 configuration is useful to you, please write to autoconf@gnu.org." >&5
6135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6136 whose name does not start with the host triplet. If you think this
6137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6138 ac_tool_warned
=yes ;;
6146 if test -n "$ac_tool_prefix"; then
6147 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6148 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6151 if test "${ac_cv_prog_RANLIB+set}" = set; then
6152 echo $ECHO_N "(cached) $ECHO_C" >&6
6154 if test -n "$RANLIB"; then
6155 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6161 test -z "$as_dir" && as_dir
=.
6162 for ac_exec_ext
in '' $ac_executable_extensions; do
6163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6164 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6174 RANLIB
=$ac_cv_prog_RANLIB
6175 if test -n "$RANLIB"; then
6176 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6177 echo "${ECHO_T}$RANLIB" >&6; }
6179 { echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6; }
6185 if test -z "$ac_cv_prog_RANLIB"; then
6186 ac_ct_RANLIB
=$RANLIB
6187 # Extract the first word of "ranlib", so it can be a program name with args.
6188 set dummy ranlib
; ac_word
=$2
6189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6191 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6192 echo $ECHO_N "(cached) $ECHO_C" >&6
6194 if test -n "$ac_ct_RANLIB"; then
6195 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6201 test -z "$as_dir" && as_dir
=.
6202 for ac_exec_ext
in '' $ac_executable_extensions; do
6203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6204 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6214 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6215 if test -n "$ac_ct_RANLIB"; then
6216 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6217 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6219 { echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6; }
6223 if test "x$ac_ct_RANLIB" = x
; then
6226 case $cross_compiling:$ac_tool_warned in
6228 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6229 whose name does not start with the host triplet. If you think this
6230 configuration is useful to you, please write to autoconf@gnu.org." >&5
6231 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6232 whose name does not start with the host triplet. If you think this
6233 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6234 ac_tool_warned
=yes ;;
6236 RANLIB
=$ac_ct_RANLIB
6239 RANLIB
="$ac_cv_prog_RANLIB"
6242 if test -n "$ac_tool_prefix"; then
6243 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6244 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6247 if test "${ac_cv_prog_STRIP+set}" = set; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6250 if test -n "$STRIP"; then
6251 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir
=.
6258 for ac_exec_ext
in '' $ac_executable_extensions; do
6259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6260 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 STRIP
=$ac_cv_prog_STRIP
6271 if test -n "$STRIP"; then
6272 { echo "$as_me:$LINENO: result: $STRIP" >&5
6273 echo "${ECHO_T}$STRIP" >&6; }
6275 { echo "$as_me:$LINENO: result: no" >&5
6276 echo "${ECHO_T}no" >&6; }
6281 if test -z "$ac_cv_prog_STRIP"; then
6283 # Extract the first word of "strip", so it can be a program name with args.
6284 set dummy strip
; ac_word
=$2
6285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6287 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6288 echo $ECHO_N "(cached) $ECHO_C" >&6
6290 if test -n "$ac_ct_STRIP"; then
6291 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6297 test -z "$as_dir" && as_dir
=.
6298 for ac_exec_ext
in '' $ac_executable_extensions; do
6299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6300 ac_cv_prog_ac_ct_STRIP
="strip"
6301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6310 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6311 if test -n "$ac_ct_STRIP"; then
6312 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6313 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6315 { echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6; }
6319 if test "x$ac_ct_STRIP" = x
; then
6322 case $cross_compiling:$ac_tool_warned in
6324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6325 whose name does not start with the host triplet. If you think this
6326 configuration is useful to you, please write to autoconf@gnu.org." >&5
6327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6328 whose name does not start with the host triplet. If you think this
6329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6330 ac_tool_warned
=yes ;;
6335 STRIP
="$ac_cv_prog_STRIP"
6338 if test -n "$ac_tool_prefix"; then
6339 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6340 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
6341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6343 if test "${ac_cv_prog_WINDRES+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6346 if test -n "$WINDRES"; then
6347 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
6349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir
=.
6354 for ac_exec_ext
in '' $ac_executable_extensions; do
6355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6356 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
6357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 WINDRES
=$ac_cv_prog_WINDRES
6367 if test -n "$WINDRES"; then
6368 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6369 echo "${ECHO_T}$WINDRES" >&6; }
6371 { echo "$as_me:$LINENO: result: no" >&5
6372 echo "${ECHO_T}no" >&6; }
6377 if test -z "$ac_cv_prog_WINDRES"; then
6378 ac_ct_WINDRES
=$WINDRES
6379 # Extract the first word of "windres", so it can be a program name with args.
6380 set dummy windres
; ac_word
=$2
6381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6383 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 if test -n "$ac_ct_WINDRES"; then
6387 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir
=.
6394 for ac_exec_ext
in '' $ac_executable_extensions; do
6395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6396 ac_cv_prog_ac_ct_WINDRES
="windres"
6397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6407 if test -n "$ac_ct_WINDRES"; then
6408 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6409 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6411 { echo "$as_me:$LINENO: result: no" >&5
6412 echo "${ECHO_T}no" >&6; }
6415 if test "x$ac_ct_WINDRES" = x
; then
6418 case $cross_compiling:$ac_tool_warned in
6420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6421 whose name does not start with the host triplet. If you think this
6422 configuration is useful to you, please write to autoconf@gnu.org." >&5
6423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6424 whose name does not start with the host triplet. If you think this
6425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6426 ac_tool_warned
=yes ;;
6428 WINDRES
=$ac_ct_WINDRES
6431 WINDRES
="$ac_cv_prog_WINDRES"
6434 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6435 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6437 if test "$LN_S" = "ln -s"; then
6438 { echo "$as_me:$LINENO: result: yes" >&5
6439 echo "${ECHO_T}yes" >&6; }
6441 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6442 echo "${ECHO_T}no, using $LN_S" >&6; }
6445 { echo "$as_me:$LINENO: checking whether ln works" >&5
6446 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6447 rm -f conf$$ conf$$.
file
6449 if ln conf$$.
file conf$$
2>/dev
/null
; then
6452 { echo "$as_me:$LINENO: result: yes" >&5
6453 echo "${ECHO_T}yes" >&6; }
6457 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6458 echo "${ECHO_T}no, using $LN" >&6; }
6460 rm -f conf$$ conf$$.
file
6461 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6462 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6463 if test "${ac_cv_path_GREP+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 # Extract the first word of "grep ggrep" to use in msg output
6467 if test -z "$GREP"; then
6468 set dummy
grep ggrep
; ac_prog_name
=$2
6469 if test "${ac_cv_path_GREP+set}" = set; then
6470 echo $ECHO_N "(cached) $ECHO_C" >&6
6472 ac_path_GREP_found
=false
6473 # Loop through the user's path and test for each of PROGNAME-LIST
6474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6475 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6478 test -z "$as_dir" && as_dir
=.
6479 for ac_prog
in grep ggrep
; do
6480 for ac_exec_ext
in '' $ac_executable_extensions; do
6481 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6482 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
6483 # Check for GNU ac_path_GREP and select it if it is found.
6484 # Check for GNU $ac_path_GREP
6485 case `"$ac_path_GREP" --version 2>&1` in
6487 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6490 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6493 cat "conftest.in" "conftest.in" >"conftest.tmp"
6494 mv "conftest.tmp" "conftest.in"
6495 cp "conftest.in" "conftest.nl"
6496 echo 'GREP' >> "conftest.nl"
6497 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6498 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6499 ac_count
=`expr $ac_count + 1`
6500 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6501 # Best one so far, save it but keep looking for a better one
6502 ac_cv_path_GREP
="$ac_path_GREP"
6503 ac_path_GREP_max
=$ac_count
6505 # 10*(2^10) chars as input seems more than enough
6506 test $ac_count -gt 10 && break
6508 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6512 $ac_path_GREP_found && break 3
6522 GREP
="$ac_cv_path_GREP"
6523 if test -z "$GREP"; then
6524 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6525 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6526 { (exit 1); exit 1; }; }
6530 ac_cv_path_GREP
=$GREP
6535 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6536 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6537 GREP
="$ac_cv_path_GREP"
6540 { echo "$as_me:$LINENO: checking for egrep" >&5
6541 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6542 if test "${ac_cv_path_EGREP+set}" = set; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6545 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6546 then ac_cv_path_EGREP
="$GREP -E"
6548 # Extract the first word of "egrep" to use in msg output
6549 if test -z "$EGREP"; then
6550 set dummy
egrep; ac_prog_name
=$2
6551 if test "${ac_cv_path_EGREP+set}" = set; then
6552 echo $ECHO_N "(cached) $ECHO_C" >&6
6554 ac_path_EGREP_found
=false
6555 # Loop through the user's path and test for each of PROGNAME-LIST
6556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6557 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6560 test -z "$as_dir" && as_dir
=.
6561 for ac_prog
in egrep; do
6562 for ac_exec_ext
in '' $ac_executable_extensions; do
6563 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6564 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
6565 # Check for GNU ac_path_EGREP and select it if it is found.
6566 # Check for GNU $ac_path_EGREP
6567 case `"$ac_path_EGREP" --version 2>&1` in
6569 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6572 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6575 cat "conftest.in" "conftest.in" >"conftest.tmp"
6576 mv "conftest.tmp" "conftest.in"
6577 cp "conftest.in" "conftest.nl"
6578 echo 'EGREP' >> "conftest.nl"
6579 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6580 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6581 ac_count
=`expr $ac_count + 1`
6582 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6583 # Best one so far, save it but keep looking for a better one
6584 ac_cv_path_EGREP
="$ac_path_EGREP"
6585 ac_path_EGREP_max
=$ac_count
6587 # 10*(2^10) chars as input seems more than enough
6588 test $ac_count -gt 10 && break
6590 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6594 $ac_path_EGREP_found && break 3
6604 EGREP
="$ac_cv_path_EGREP"
6605 if test -z "$EGREP"; then
6606 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6607 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6608 { (exit 1); exit 1; }; }
6612 ac_cv_path_EGREP
=$EGREP
6618 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6619 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6620 EGREP
="$ac_cv_path_EGREP"
6623 # Extract the first word of "ldconfig", so it can be a program name with args.
6624 set dummy ldconfig
; ac_word
=$2
6625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6627 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6628 echo $ECHO_N "(cached) $ECHO_C" >&6
6632 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6636 for as_dir
in /sbin
/usr
/sbin
$PATH
6639 test -z "$as_dir" && as_dir
=.
6640 for ac_exec_ext
in '' $ac_executable_extensions; do
6641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6642 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6650 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6654 LDCONFIG
=$ac_cv_path_LDCONFIG
6655 if test -n "$LDCONFIG"; then
6656 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6657 echo "${ECHO_T}$LDCONFIG" >&6; }
6659 { echo "$as_me:$LINENO: result: no" >&5
6660 echo "${ECHO_T}no" >&6; }
6664 # Find a good install program. We prefer a C program (faster),
6665 # so one script is as good as another. But avoid the broken or
6666 # incompatible versions:
6667 # SysV /etc/install, /usr/sbin/install
6668 # SunOS /usr/etc/install
6669 # IRIX /sbin/install
6671 # AmigaOS /C/install, which installs bootblocks on floppy discs
6672 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6673 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6674 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6675 # OS/2's system install, which has a completely different semantic
6676 # ./install, which can be erroneously created by make from ./install.sh.
6677 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6678 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6679 if test -z "$INSTALL"; then
6680 if test "${ac_cv_path_install+set}" = set; then
6681 echo $ECHO_N "(cached) $ECHO_C" >&6
6683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6687 test -z "$as_dir" && as_dir
=.
6688 # Account for people who put trailing slashes in PATH elements.
6690 .
/ | .
// |
/cC
/* | \
6691 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6692 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6695 # OSF1 and SCO ODT 3.0 have their own names for install.
6696 # Don't use installbsd from OSF since it installs stuff as root
6698 for ac_prog
in ginstall scoinst
install; do
6699 for ac_exec_ext
in '' $ac_executable_extensions; do
6700 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6701 if test $ac_prog = install &&
6702 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6703 # AIX install. It has an incompatible calling convention.
6705 elif test $ac_prog = install &&
6706 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6707 # program-specific install script used by HP pwplus--don't use.
6710 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6723 if test "${ac_cv_path_install+set}" = set; then
6724 INSTALL
=$ac_cv_path_install
6726 # As a last resort, use the slow shell script. Don't cache a
6727 # value for INSTALL within a source directory, because that will
6728 # break other packages using the cache if that directory is
6729 # removed, or if the value is a relative name.
6730 INSTALL
=$ac_install_sh
6733 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6734 echo "${ECHO_T}$INSTALL" >&6; }
6736 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6737 # It thinks the first close brace ends the variable substitution.
6738 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6740 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6742 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6745 [\\/$
]* | ?
:[\\/]* ) ;;
6746 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6749 for ac_prog
in lclint lint
6751 # Extract the first word of "$ac_prog", so it can be a program name with args.
6752 set dummy
$ac_prog; ac_word
=$2
6753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6755 if test "${ac_cv_prog_LINT+set}" = set; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6
6758 if test -n "$LINT"; then
6759 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6765 test -z "$as_dir" && as_dir
=.
6766 for ac_exec_ext
in '' $ac_executable_extensions; do
6767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6768 ac_cv_prog_LINT
="$ac_prog"
6769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6778 LINT
=$ac_cv_prog_LINT
6779 if test -n "$LINT"; then
6780 { echo "$as_me:$LINENO: result: $LINT" >&5
6781 echo "${ECHO_T}$LINT" >&6; }
6783 { echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6; }
6788 test -n "$LINT" && break
6791 if test "$LINT" = "lint"
6793 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6798 for ac_prog
in fontforge
6800 # Extract the first word of "$ac_prog", so it can be a program name with args.
6801 set dummy
$ac_prog; ac_word
=$2
6802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6804 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6805 echo $ECHO_N "(cached) $ECHO_C" >&6
6807 if test -n "$FONTFORGE"; then
6808 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir
=.
6815 for ac_exec_ext
in '' $ac_executable_extensions; do
6816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_prog_FONTFORGE
="$ac_prog"
6818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6827 FONTFORGE
=$ac_cv_prog_FONTFORGE
6828 if test -n "$FONTFORGE"; then
6829 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6830 echo "${ECHO_T}$FONTFORGE" >&6; }
6832 { echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6; }
6837 test -n "$FONTFORGE" && break
6839 test -n "$FONTFORGE" || FONTFORGE
="false"
6841 for ac_prog
in pkg-config
6843 # Extract the first word of "$ac_prog", so it can be a program name with args.
6844 set dummy
$ac_prog; ac_word
=$2
6845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6847 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6848 echo $ECHO_N "(cached) $ECHO_C" >&6
6850 if test -n "$PKG_CONFIG"; then
6851 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6857 test -z "$as_dir" && as_dir
=.
6858 for ac_exec_ext
in '' $ac_executable_extensions; do
6859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6860 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6870 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6871 if test -n "$PKG_CONFIG"; then
6872 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6873 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6875 { echo "$as_me:$LINENO: result: no" >&5
6876 echo "${ECHO_T}no" >&6; }
6880 test -n "$PKG_CONFIG" && break
6882 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6887 # Extract the first word of "prelink", so it can be a program name with args.
6888 set dummy prelink
; ac_word
=$2
6889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6891 if test "${ac_cv_path_PRELINK+set}" = set; then
6892 echo $ECHO_N "(cached) $ECHO_C" >&6
6896 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6900 for as_dir
in /sbin
/usr
/sbin
$PATH
6903 test -z "$as_dir" && as_dir
=.
6904 for ac_exec_ext
in '' $ac_executable_extensions; do
6905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6906 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6918 PRELINK
=$ac_cv_path_PRELINK
6919 if test -n "$PRELINK"; then
6920 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6921 echo "${ECHO_T}$PRELINK" >&6; }
6923 { echo "$as_me:$LINENO: result: no" >&5
6924 echo "${ECHO_T}no" >&6; }
6933 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6934 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6935 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6936 echo $ECHO_N "(cached) $ECHO_C" >&6
6938 ac_check_lib_save_LIBS
=$LIBS
6940 cat >conftest.
$ac_ext <<_ACEOF
6943 cat confdefs.h
>>conftest.
$ac_ext
6944 cat >>conftest.
$ac_ext <<_ACEOF
6945 /* end confdefs.h. */
6947 /* Override any GCC internal prototype to avoid an error.
6948 Use char because int might match the return type of a GCC
6949 builtin and then its argument prototype would still apply. */
6953 char i386_set_ldt ();
6957 return i386_set_ldt ();
6962 rm -f conftest.
$ac_objext conftest
$ac_exeext
6963 if { (ac_try
="$ac_link"
6965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6966 *) ac_try_echo=$ac_try;;
6968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6969 (eval "$ac_link") 2>conftest.er1
6971 grep -v '^ *+' conftest.er1 >conftest.err
6973 cat conftest.err >&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); } &&
6976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6977 { (case "(($ac_try" in
6978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6979 *) ac_try_echo
=$ac_try;;
6981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6982 (eval "$ac_try") 2>&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); }; } &&
6986 { ac_try
='test -s conftest$ac_exeext'
6987 { (case "(($ac_try" in
6988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6989 *) ac_try_echo=$ac_try;;
6991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6992 (eval "$ac_try") 2>&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); }; }; then
6996 ac_cv_lib_i386_i386_set_ldt=yes
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.$ac_ext >&5
7001 ac_cv_lib_i386_i386_set_ldt=no
7004 rm -f core conftest.err conftest.$ac_objext \
7005 conftest$ac_exeext conftest.$ac_ext
7006 LIBS=$ac_check_lib_save_LIBS
7008 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7009 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7010 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7011 cat >>confdefs.h <<_ACEOF
7012 #define HAVE_LIBI386 1
7020 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7021 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7022 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7023 echo $ECHO_N "(cached) $ECHO_C" >&6
7025 ac_check_lib_save_LIBS=$LIBS
7026 LIBS="-lossaudio $LIBS"
7027 cat >conftest.$ac_ext <<_ACEOF
7030 cat confdefs.h >>conftest.$ac_ext
7031 cat >>conftest.$ac_ext <<_ACEOF
7032 /* end confdefs.h. */
7034 /* Override any GCC internal prototype to avoid an error.
7035 Use char because int might match the return type of a GCC
7036 builtin and then its argument prototype would still apply. */
7044 return _oss_ioctl ();
7049 rm -f conftest.$ac_objext conftest$ac_exeext
7050 if { (ac_try="$ac_link"
7052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7053 *) ac_try_echo
=$ac_try;;
7055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7056 (eval "$ac_link") 2>conftest.er1
7058 grep -v '^ *+' conftest.er1
>conftest.err
7060 cat conftest.err
>&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } &&
7063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7064 { (case "(($ac_try" in
7065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7066 *) ac_try_echo=$ac_try;;
7068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7069 (eval "$ac_try") 2>&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; } &&
7073 { ac_try='test -s conftest$ac_exeext'
7074 { (case "(($ac_try" in
7075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7076 *) ac_try_echo
=$ac_try;;
7078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7079 (eval "$ac_try") 2>&5
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); }; }; then
7083 ac_cv_lib_ossaudio__oss_ioctl
=yes
7085 echo "$as_me: failed program was:" >&5
7086 sed 's/^/| /' conftest.
$ac_ext >&5
7088 ac_cv_lib_ossaudio__oss_ioctl
=no
7091 rm -f core conftest.err conftest.
$ac_objext \
7092 conftest
$ac_exeext conftest.
$ac_ext
7093 LIBS
=$ac_check_lib_save_LIBS
7095 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7096 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7097 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7098 cat >>confdefs.h
<<_ACEOF
7099 #define HAVE_LIBOSSAUDIO 1
7102 LIBS
="-lossaudio $LIBS"
7107 for ac_func
in gethostbyname
7109 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7110 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7112 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7113 echo $ECHO_N "(cached) $ECHO_C" >&6
7115 cat >conftest.
$ac_ext <<_ACEOF
7118 cat confdefs.h
>>conftest.
$ac_ext
7119 cat >>conftest.
$ac_ext <<_ACEOF
7120 /* end confdefs.h. */
7121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7123 #define $ac_func innocuous_$ac_func
7125 /* System header to define __stub macros and hopefully few prototypes,
7126 which can conflict with char $ac_func (); below.
7127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7128 <limits.h> exists even on freestanding compilers. */
7131 # include <limits.h>
7133 # include <assert.h>
7138 /* Override any GCC internal prototype to avoid an error.
7139 Use char because int might match the return type of a GCC
7140 builtin and then its argument prototype would still apply. */
7145 /* The GNU C library defines this for functions which it implements
7146 to always fail with ENOSYS. Some functions are actually named
7147 something starting with __ and the normal name is an alias. */
7148 #if defined __stub_$ac_func || defined __stub___$ac_func
7160 rm -f conftest.
$ac_objext conftest
$ac_exeext
7161 if { (ac_try
="$ac_link"
7163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7164 *) ac_try_echo=$ac_try;;
7166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7167 (eval "$ac_link") 2>conftest.er1
7169 grep -v '^ *+' conftest.er1 >conftest.err
7171 cat conftest.err >&5
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); } &&
7174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7175 { (case "(($ac_try" in
7176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7177 *) ac_try_echo
=$ac_try;;
7179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7180 (eval "$ac_try") 2>&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); }; } &&
7184 { ac_try
='test -s conftest$ac_exeext'
7185 { (case "(($ac_try" in
7186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7187 *) ac_try_echo=$ac_try;;
7189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7190 (eval "$ac_try") 2>&5
7192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 (exit $ac_status); }; }; then
7194 eval "$as_ac_var=yes"
7196 echo "$as_me: failed program was:" >&5
7197 sed 's/^/| /' conftest.$ac_ext >&5
7199 eval "$as_ac_var=no"
7202 rm -f core conftest.err conftest.$ac_objext \
7203 conftest$ac_exeext conftest.$ac_ext
7205 ac_res=`eval echo '${'$as_ac_var'}'`
7206 { echo "$as_me:$LINENO: result: $ac_res" >&5
7207 echo "${ECHO_T}$ac_res" >&6; }
7208 if test `eval echo '${'$as_ac_var'}'` = yes; then
7209 cat >>confdefs.h <<_ACEOF
7210 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7215 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7216 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7217 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7218 echo $ECHO_N "(cached) $ECHO_C" >&6
7220 ac_check_lib_save_LIBS=$LIBS
7222 cat >conftest.$ac_ext <<_ACEOF
7225 cat confdefs.h >>conftest.$ac_ext
7226 cat >>conftest.$ac_ext <<_ACEOF
7227 /* end confdefs.h. */
7229 /* Override any GCC internal prototype to avoid an error.
7230 Use char because int might match the return type of a GCC
7231 builtin and then its argument prototype would still apply. */
7235 char gethostbyname ();
7239 return gethostbyname ();
7244 rm -f conftest.$ac_objext conftest$ac_exeext
7245 if { (ac_try="$ac_link"
7247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7248 *) ac_try_echo
=$ac_try;;
7250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7251 (eval "$ac_link") 2>conftest.er1
7253 grep -v '^ *+' conftest.er1
>conftest.err
7255 cat conftest.err
>&5
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); } &&
7258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7259 { (case "(($ac_try" in
7260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7261 *) ac_try_echo=$ac_try;;
7263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7264 (eval "$ac_try") 2>&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); }; } &&
7268 { ac_try='test -s conftest$ac_exeext'
7269 { (case "(($ac_try" in
7270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7271 *) ac_try_echo
=$ac_try;;
7273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7274 (eval "$ac_try") 2>&5
7276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7277 (exit $ac_status); }; }; then
7278 ac_cv_lib_nsl_gethostbyname
=yes
7280 echo "$as_me: failed program was:" >&5
7281 sed 's/^/| /' conftest.
$ac_ext >&5
7283 ac_cv_lib_nsl_gethostbyname
=no
7286 rm -f core conftest.err conftest.
$ac_objext \
7287 conftest
$ac_exeext conftest.
$ac_ext
7288 LIBS
=$ac_check_lib_save_LIBS
7290 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7291 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7292 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7293 cat >>confdefs.h
<<_ACEOF
7294 #define HAVE_LIBNSL 1
7305 for ac_func
in connect
7307 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7308 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7310 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7311 echo $ECHO_N "(cached) $ECHO_C" >&6
7313 cat >conftest.
$ac_ext <<_ACEOF
7316 cat confdefs.h
>>conftest.
$ac_ext
7317 cat >>conftest.
$ac_ext <<_ACEOF
7318 /* end confdefs.h. */
7319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7321 #define $ac_func innocuous_$ac_func
7323 /* System header to define __stub macros and hopefully few prototypes,
7324 which can conflict with char $ac_func (); below.
7325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7326 <limits.h> exists even on freestanding compilers. */
7329 # include <limits.h>
7331 # include <assert.h>
7336 /* Override any GCC internal prototype to avoid an error.
7337 Use char because int might match the return type of a GCC
7338 builtin and then its argument prototype would still apply. */
7343 /* The GNU C library defines this for functions which it implements
7344 to always fail with ENOSYS. Some functions are actually named
7345 something starting with __ and the normal name is an alias. */
7346 #if defined __stub_$ac_func || defined __stub___$ac_func
7358 rm -f conftest.
$ac_objext conftest
$ac_exeext
7359 if { (ac_try
="$ac_link"
7361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7362 *) ac_try_echo=$ac_try;;
7364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7365 (eval "$ac_link") 2>conftest.er1
7367 grep -v '^ *+' conftest.er1 >conftest.err
7369 cat conftest.err >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); } &&
7372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7373 { (case "(($ac_try" in
7374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7375 *) ac_try_echo
=$ac_try;;
7377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7378 (eval "$ac_try") 2>&5
7380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7381 (exit $ac_status); }; } &&
7382 { ac_try
='test -s conftest$ac_exeext'
7383 { (case "(($ac_try" in
7384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7385 *) ac_try_echo=$ac_try;;
7387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7388 (eval "$ac_try") 2>&5
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); }; }; then
7392 eval "$as_ac_var=yes"
7394 echo "$as_me: failed program was:" >&5
7395 sed 's/^/| /' conftest.$ac_ext >&5
7397 eval "$as_ac_var=no"
7400 rm -f core conftest.err conftest.$ac_objext \
7401 conftest$ac_exeext conftest.$ac_ext
7403 ac_res=`eval echo '${'$as_ac_var'}'`
7404 { echo "$as_me:$LINENO: result: $ac_res" >&5
7405 echo "${ECHO_T}$ac_res" >&6; }
7406 if test `eval echo '${'$as_ac_var'}'` = yes; then
7407 cat >>confdefs.h <<_ACEOF
7408 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7413 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7414 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
7415 if test "${ac_cv_lib_socket_connect+set}" = set; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7418 ac_check_lib_save_LIBS=$LIBS
7419 LIBS="-lsocket $LIBS"
7420 cat >conftest.$ac_ext <<_ACEOF
7423 cat confdefs.h >>conftest.$ac_ext
7424 cat >>conftest.$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7427 /* Override any GCC internal prototype to avoid an error.
7428 Use char because int might match the return type of a GCC
7429 builtin and then its argument prototype would still apply. */
7442 rm -f conftest.$ac_objext conftest$ac_exeext
7443 if { (ac_try="$ac_link"
7445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7446 *) ac_try_echo
=$ac_try;;
7448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7449 (eval "$ac_link") 2>conftest.er1
7451 grep -v '^ *+' conftest.er1
>conftest.err
7453 cat conftest.err
>&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); } &&
7456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7457 { (case "(($ac_try" in
7458 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7459 *) ac_try_echo=$ac_try;;
7461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7462 (eval "$ac_try") 2>&5
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); }; } &&
7466 { ac_try='test -s conftest$ac_exeext'
7467 { (case "(($ac_try" in
7468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7469 *) ac_try_echo
=$ac_try;;
7471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7472 (eval "$ac_try") 2>&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); }; }; then
7476 ac_cv_lib_socket_connect
=yes
7478 echo "$as_me: failed program was:" >&5
7479 sed 's/^/| /' conftest.
$ac_ext >&5
7481 ac_cv_lib_socket_connect
=no
7484 rm -f core conftest.err conftest.
$ac_objext \
7485 conftest
$ac_exeext conftest.
$ac_ext
7486 LIBS
=$ac_check_lib_save_LIBS
7488 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7489 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
7490 if test $ac_cv_lib_socket_connect = yes; then
7491 cat >>confdefs.h
<<_ACEOF
7492 #define HAVE_LIBSOCKET 1
7495 LIBS
="-lsocket $LIBS"
7503 for ac_func
in inet_aton
7505 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7506 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7508 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 cat >conftest.
$ac_ext <<_ACEOF
7514 cat confdefs.h
>>conftest.
$ac_ext
7515 cat >>conftest.
$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7519 #define $ac_func innocuous_$ac_func
7521 /* System header to define __stub macros and hopefully few prototypes,
7522 which can conflict with char $ac_func (); below.
7523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7524 <limits.h> exists even on freestanding compilers. */
7527 # include <limits.h>
7529 # include <assert.h>
7534 /* Override any GCC internal prototype to avoid an error.
7535 Use char because int might match the return type of a GCC
7536 builtin and then its argument prototype would still apply. */
7541 /* The GNU C library defines this for functions which it implements
7542 to always fail with ENOSYS. Some functions are actually named
7543 something starting with __ and the normal name is an alias. */
7544 #if defined __stub_$ac_func || defined __stub___$ac_func
7556 rm -f conftest.
$ac_objext conftest
$ac_exeext
7557 if { (ac_try
="$ac_link"
7559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7560 *) ac_try_echo=$ac_try;;
7562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7563 (eval "$ac_link") 2>conftest.er1
7565 grep -v '^ *+' conftest.er1 >conftest.err
7567 cat conftest.err >&5
7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569 (exit $ac_status); } &&
7570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7571 { (case "(($ac_try" in
7572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7573 *) ac_try_echo
=$ac_try;;
7575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7576 (eval "$ac_try") 2>&5
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); }; } &&
7580 { ac_try
='test -s conftest$ac_exeext'
7581 { (case "(($ac_try" in
7582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7583 *) ac_try_echo=$ac_try;;
7585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7586 (eval "$ac_try") 2>&5
7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); }; }; then
7590 eval "$as_ac_var=yes"
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.$ac_ext >&5
7595 eval "$as_ac_var=no"
7598 rm -f core conftest.err conftest.$ac_objext \
7599 conftest$ac_exeext conftest.$ac_ext
7601 ac_res=`eval echo '${'$as_ac_var'}'`
7602 { echo "$as_me:$LINENO: result: $ac_res" >&5
7603 echo "${ECHO_T}$ac_res" >&6; }
7604 if test `eval echo '${'$as_ac_var'}'` = yes; then
7605 cat >>confdefs.h <<_ACEOF
7606 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7611 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7612 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7613 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7614 echo $ECHO_N "(cached) $ECHO_C" >&6
7616 ac_check_lib_save_LIBS=$LIBS
7617 LIBS="-lresolv $LIBS"
7618 cat >conftest.$ac_ext <<_ACEOF
7621 cat confdefs.h >>conftest.$ac_ext
7622 cat >>conftest.$ac_ext <<_ACEOF
7623 /* end confdefs.h. */
7625 /* Override any GCC internal prototype to avoid an error.
7626 Use char because int might match the return type of a GCC
7627 builtin and then its argument prototype would still apply. */
7635 return inet_aton ();
7640 rm -f conftest.$ac_objext conftest$ac_exeext
7641 if { (ac_try="$ac_link"
7643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7644 *) ac_try_echo
=$ac_try;;
7646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7647 (eval "$ac_link") 2>conftest.er1
7649 grep -v '^ *+' conftest.er1
>conftest.err
7651 cat conftest.err
>&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); } &&
7654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7655 { (case "(($ac_try" in
7656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7657 *) ac_try_echo=$ac_try;;
7659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7660 (eval "$ac_try") 2>&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); }; } &&
7664 { ac_try='test -s conftest$ac_exeext'
7665 { (case "(($ac_try" in
7666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7667 *) ac_try_echo
=$ac_try;;
7669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7670 (eval "$ac_try") 2>&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); }; }; then
7674 ac_cv_lib_resolv_inet_aton
=yes
7676 echo "$as_me: failed program was:" >&5
7677 sed 's/^/| /' conftest.
$ac_ext >&5
7679 ac_cv_lib_resolv_inet_aton
=no
7682 rm -f core conftest.err conftest.
$ac_objext \
7683 conftest
$ac_exeext conftest.
$ac_ext
7684 LIBS
=$ac_check_lib_save_LIBS
7686 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7687 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7688 if test $ac_cv_lib_resolv_inet_aton = yes; then
7689 cat >>confdefs.h
<<_ACEOF
7690 #define HAVE_LIBRESOLV 1
7693 LIBS
="-lresolv $LIBS"
7701 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7702 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7703 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7704 echo $ECHO_N "(cached) $ECHO_C" >&6
7706 ac_check_lib_save_LIBS
=$LIBS
7708 cat >conftest.
$ac_ext <<_ACEOF
7711 cat confdefs.h
>>conftest.
$ac_ext
7712 cat >>conftest.
$ac_ext <<_ACEOF
7713 /* end confdefs.h. */
7715 /* Override any GCC internal prototype to avoid an error.
7716 Use char because int might match the return type of a GCC
7717 builtin and then its argument prototype would still apply. */
7721 char _xpg4_setrunelocale ();
7725 return _xpg4_setrunelocale ();
7730 rm -f conftest.
$ac_objext conftest
$ac_exeext
7731 if { (ac_try
="$ac_link"
7733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7734 *) ac_try_echo=$ac_try;;
7736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7737 (eval "$ac_link") 2>conftest.er1
7739 grep -v '^ *+' conftest.er1 >conftest.err
7741 cat conftest.err >&5
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); } &&
7744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7745 { (case "(($ac_try" in
7746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7747 *) ac_try_echo
=$ac_try;;
7749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7750 (eval "$ac_try") 2>&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); }; } &&
7754 { ac_try
='test -s conftest$ac_exeext'
7755 { (case "(($ac_try" in
7756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7757 *) ac_try_echo=$ac_try;;
7759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7760 (eval "$ac_try") 2>&5
7762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763 (exit $ac_status); }; }; then
7764 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7766 echo "$as_me: failed program was:" >&5
7767 sed 's/^/| /' conftest.$ac_ext >&5
7769 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7772 rm -f core conftest.err conftest.$ac_objext \
7773 conftest$ac_exeext conftest.$ac_ext
7774 LIBS=$ac_check_lib_save_LIBS
7776 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7777 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7778 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_LIBXPG4 1
7788 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7789 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7790 if test "${ac_cv_lib_poll_poll+set}" = set; then
7791 echo $ECHO_N "(cached) $ECHO_C" >&6
7793 ac_check_lib_save_LIBS=$LIBS
7795 cat >conftest.$ac_ext <<_ACEOF
7798 cat confdefs.h >>conftest.$ac_ext
7799 cat >>conftest.$ac_ext <<_ACEOF
7800 /* end confdefs.h. */
7802 /* Override any GCC internal prototype to avoid an error.
7803 Use char because int might match the return type of a GCC
7804 builtin and then its argument prototype would still apply. */
7817 rm -f conftest.$ac_objext conftest$ac_exeext
7818 if { (ac_try="$ac_link"
7820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7821 *) ac_try_echo
=$ac_try;;
7823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7824 (eval "$ac_link") 2>conftest.er1
7826 grep -v '^ *+' conftest.er1
>conftest.err
7828 cat conftest.err
>&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); } &&
7831 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7832 { (case "(($ac_try" in
7833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7834 *) ac_try_echo=$ac_try;;
7836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7837 (eval "$ac_try") 2>&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; } &&
7841 { ac_try='test -s conftest$ac_exeext'
7842 { (case "(($ac_try" in
7843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7844 *) ac_try_echo
=$ac_try;;
7846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7847 (eval "$ac_try") 2>&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); }; }; then
7851 ac_cv_lib_poll_poll
=yes
7853 echo "$as_me: failed program was:" >&5
7854 sed 's/^/| /' conftest.
$ac_ext >&5
7856 ac_cv_lib_poll_poll
=no
7859 rm -f core conftest.err conftest.
$ac_objext \
7860 conftest
$ac_exeext conftest.
$ac_ext
7861 LIBS
=$ac_check_lib_save_LIBS
7863 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7864 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7865 if test $ac_cv_lib_poll_poll = yes; then
7866 cat >>confdefs.h
<<_ACEOF
7867 #define HAVE_LIBPOLL 1
7875 { echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
7876 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6; }
7877 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
7878 echo $ECHO_N "(cached) $ECHO_C" >&6
7880 ac_check_lib_save_LIBS
=$LIBS
7881 LIBS
="-lresolv $LIBS"
7882 cat >conftest.
$ac_ext <<_ACEOF
7885 cat confdefs.h
>>conftest.
$ac_ext
7886 cat >>conftest.
$ac_ext <<_ACEOF
7887 /* end confdefs.h. */
7889 /* Override any GCC internal prototype to avoid an error.
7890 Use char because int might match the return type of a GCC
7891 builtin and then its argument prototype would still apply. */
7899 return res_9_init ();
7904 rm -f conftest.
$ac_objext conftest
$ac_exeext
7905 if { (ac_try
="$ac_link"
7907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7908 *) ac_try_echo=$ac_try;;
7910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7911 (eval "$ac_link") 2>conftest.er1
7913 grep -v '^ *+' conftest.er1 >conftest.err
7915 cat conftest.err >&5
7916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 (exit $ac_status); } &&
7918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7919 { (case "(($ac_try" in
7920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7921 *) ac_try_echo
=$ac_try;;
7923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7924 (eval "$ac_try") 2>&5
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); }; } &&
7928 { ac_try
='test -s conftest$ac_exeext'
7929 { (case "(($ac_try" in
7930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7931 *) ac_try_echo=$ac_try;;
7933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7934 (eval "$ac_try") 2>&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); }; }; then
7938 ac_cv_lib_resolv_res_9_init=yes
7940 echo "$as_me: failed program was:" >&5
7941 sed 's/^/| /' conftest.$ac_ext >&5
7943 ac_cv_lib_resolv_res_9_init=no
7946 rm -f core conftest.err conftest.$ac_objext \
7947 conftest$ac_exeext conftest.$ac_ext
7948 LIBS=$ac_check_lib_save_LIBS
7950 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
7951 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6; }
7952 if test $ac_cv_lib_resolv_res_9_init = yes; then
7953 cat >>confdefs.h <<_ACEOF
7954 #define HAVE_LIBRESOLV 1
7957 LIBS="-lresolv $LIBS"
7961 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7962 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7963 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7964 echo $ECHO_N "(cached) $ECHO_C" >&6
7966 ac_check_lib_save_LIBS=$LIBS
7967 LIBS="-lpthread $LIBS"
7968 cat >conftest.$ac_ext <<_ACEOF
7971 cat confdefs.h >>conftest.$ac_ext
7972 cat >>conftest.$ac_ext <<_ACEOF
7973 /* end confdefs.h. */
7975 /* Override any GCC internal prototype to avoid an error.
7976 Use char because int might match the return type of a GCC
7977 builtin and then its argument prototype would still apply. */
7981 char pthread_create ();
7985 return pthread_create ();
7990 rm -f conftest.$ac_objext conftest$ac_exeext
7991 if { (ac_try="$ac_link"
7993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7994 *) ac_try_echo
=$ac_try;;
7996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7997 (eval "$ac_link") 2>conftest.er1
7999 grep -v '^ *+' conftest.er1
>conftest.err
8001 cat conftest.err
>&5
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); } &&
8004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8005 { (case "(($ac_try" in
8006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8007 *) ac_try_echo=$ac_try;;
8009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8010 (eval "$ac_try") 2>&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); }; } &&
8014 { ac_try='test -s conftest$ac_exeext'
8015 { (case "(($ac_try" in
8016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8017 *) ac_try_echo
=$ac_try;;
8019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8020 (eval "$ac_try") 2>&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); }; }; then
8024 ac_cv_lib_pthread_pthread_create
=yes
8026 echo "$as_me: failed program was:" >&5
8027 sed 's/^/| /' conftest.
$ac_ext >&5
8029 ac_cv_lib_pthread_pthread_create
=no
8032 rm -f core conftest.err conftest.
$ac_objext \
8033 conftest
$ac_exeext conftest.
$ac_ext
8034 LIBS
=$ac_check_lib_save_LIBS
8036 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
8037 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
8038 if test $ac_cv_lib_pthread_pthread_create = yes; then
8039 LIBPTHREAD
="-lpthread"
8056 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8057 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8058 if test "${ac_cv_header_stdc+set}" = set; then
8059 echo $ECHO_N "(cached) $ECHO_C" >&6
8061 cat >conftest.
$ac_ext <<_ACEOF
8064 cat confdefs.h
>>conftest.
$ac_ext
8065 cat >>conftest.
$ac_ext <<_ACEOF
8066 /* end confdefs.h. */
8080 rm -f conftest.
$ac_objext
8081 if { (ac_try
="$ac_compile"
8083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8084 *) ac_try_echo=$ac_try;;
8086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8087 (eval "$ac_compile") 2>conftest.er1
8089 grep -v '^ *+' conftest.er1 >conftest.err
8091 cat conftest.err >&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); } &&
8094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8095 { (case "(($ac_try" in
8096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8097 *) ac_try_echo
=$ac_try;;
8099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8100 (eval "$ac_try") 2>&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; } &&
8104 { ac_try
='test -s conftest.$ac_objext'
8105 { (case "(($ac_try" in
8106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8107 *) ac_try_echo=$ac_try;;
8109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8110 (eval "$ac_try") 2>&5
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); }; }; then
8114 ac_cv_header_stdc=yes
8116 echo "$as_me: failed program was:" >&5
8117 sed 's/^/| /' conftest.$ac_ext >&5
8119 ac_cv_header_stdc=no
8122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8124 if test $ac_cv_header_stdc = yes; then
8125 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8126 cat >conftest.$ac_ext <<_ACEOF
8129 cat confdefs.h >>conftest.$ac_ext
8130 cat >>conftest.$ac_ext <<_ACEOF
8131 /* end confdefs.h. */
8135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8136 $EGREP "memchr" >/dev/null 2>&1; then
8139 ac_cv_header_stdc=no
8145 if test $ac_cv_header_stdc = yes; then
8146 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8147 cat >conftest.$ac_ext <<_ACEOF
8150 cat confdefs.h >>conftest.$ac_ext
8151 cat >>conftest.$ac_ext <<_ACEOF
8152 /* end confdefs.h. */
8156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8157 $EGREP "free" >/dev/null 2>&1; then
8160 ac_cv_header_stdc=no
8166 if test $ac_cv_header_stdc = yes; then
8167 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8168 if test "$cross_compiling" = yes; then
8171 cat >conftest.$ac_ext <<_ACEOF
8174 cat confdefs.h >>conftest.$ac_ext
8175 cat >>conftest.$ac_ext <<_ACEOF
8176 /* end confdefs.h. */
8179 #if ((' ' & 0x0FF) == 0x020)
8180 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8181 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8183 # define ISLOWER(c) \
8184 (('a' <= (c) && (c) <= 'i') \
8185 || ('j' <= (c) && (c) <= 'r') \
8186 || ('s' <= (c) && (c) <= 'z'))
8187 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8190 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8195 for (i = 0; i < 256; i++)
8196 if (XOR (islower (i), ISLOWER (i))
8197 || toupper (i) != TOUPPER (i))
8202 rm -f conftest$ac_exeext
8203 if { (ac_try="$ac_link"
8205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8206 *) ac_try_echo
=$ac_try;;
8208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8209 (eval "$ac_link") 2>&5
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8213 { (case "(($ac_try" in
8214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8215 *) ac_try_echo=$ac_try;;
8217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8218 (eval "$ac_try") 2>&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); }; }; then
8224 echo "$as_me: program exited with status $ac_status" >&5
8225 echo "$as_me: failed program was:" >&5
8226 sed 's/^/| /' conftest.$ac_ext >&5
8229 ac_cv_header_stdc=no
8231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8237 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8238 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8239 if test $ac_cv_header_stdc = yes; then
8241 cat >>confdefs.h <<\_ACEOF
8242 #define STDC_HEADERS 1
8247 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8257 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8258 inttypes.h stdint.h unistd.h
8260 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8261 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8264 echo $ECHO_N "(cached) $ECHO_C" >&6
8266 cat >conftest.$ac_ext <<_ACEOF
8269 cat confdefs.h >>conftest.$ac_ext
8270 cat >>conftest.$ac_ext <<_ACEOF
8271 /* end confdefs.h. */
8272 $ac_includes_default
8274 #include <$ac_header>
8276 rm -f conftest.$ac_objext
8277 if { (ac_try="$ac_compile"
8279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8280 *) ac_try_echo
=$ac_try;;
8282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8283 (eval "$ac_compile") 2>conftest.er1
8285 grep -v '^ *+' conftest.er1
>conftest.err
8287 cat conftest.err
>&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 (exit $ac_status); } &&
8290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8291 { (case "(($ac_try" in
8292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8293 *) ac_try_echo=$ac_try;;
8295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8296 (eval "$ac_try") 2>&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); }; } &&
8300 { ac_try='test -s conftest.$ac_objext'
8301 { (case "(($ac_try" in
8302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8303 *) ac_try_echo
=$ac_try;;
8305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8306 (eval "$ac_try") 2>&5
8308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309 (exit $ac_status); }; }; then
8310 eval "$as_ac_Header=yes"
8312 echo "$as_me: failed program was:" >&5
8313 sed 's/^/| /' conftest.
$ac_ext >&5
8315 eval "$as_ac_Header=no"
8318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8320 ac_res
=`eval echo '${'$as_ac_Header'}'`
8321 { echo "$as_me:$LINENO: result: $ac_res" >&5
8322 echo "${ECHO_T}$ac_res" >&6; }
8323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8324 cat >>confdefs.h
<<_ACEOF
8325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8440 AudioUnit
/AudioUnit.h \
8441 CoreAudio
/CoreAudio.h \
8454 fontconfig
/fontconfig.h \
8480 machine
/soundcard.h \
8485 netinet
/in_systm.h \
8548 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8549 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8552 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8553 echo $ECHO_N "(cached) $ECHO_C" >&6
8555 ac_res
=`eval echo '${'$as_ac_Header'}'`
8556 { echo "$as_me:$LINENO: result: $ac_res" >&5
8557 echo "${ECHO_T}$ac_res" >&6; }
8559 # Is the header compilable?
8560 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8562 cat >conftest.
$ac_ext <<_ACEOF
8565 cat confdefs.h
>>conftest.
$ac_ext
8566 cat >>conftest.
$ac_ext <<_ACEOF
8567 /* end confdefs.h. */
8568 $ac_includes_default
8569 #include <$ac_header>
8571 rm -f conftest.
$ac_objext
8572 if { (ac_try
="$ac_compile"
8574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8575 *) ac_try_echo=$ac_try;;
8577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8578 (eval "$ac_compile") 2>conftest.er1
8580 grep -v '^ *+' conftest.er1 >conftest.err
8582 cat conftest.err >&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); } &&
8585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8586 { (case "(($ac_try" in
8587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8588 *) ac_try_echo
=$ac_try;;
8590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8591 (eval "$ac_try") 2>&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); }; } &&
8595 { ac_try
='test -s conftest.$ac_objext'
8596 { (case "(($ac_try" in
8597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8598 *) ac_try_echo=$ac_try;;
8600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8601 (eval "$ac_try") 2>&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); }; }; then
8605 ac_header_compiler=yes
8607 echo "$as_me: failed program was:" >&5
8608 sed 's/^/| /' conftest.$ac_ext >&5
8610 ac_header_compiler=no
8613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8614 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8615 echo "${ECHO_T}$ac_header_compiler" >&6; }
8617 # Is the header present?
8618 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8619 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8620 cat >conftest.$ac_ext <<_ACEOF
8623 cat confdefs.h >>conftest.$ac_ext
8624 cat >>conftest.$ac_ext <<_ACEOF
8625 /* end confdefs.h. */
8626 #include <$ac_header>
8628 if { (ac_try="$ac_cpp conftest.$ac_ext"
8630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8631 *) ac_try_echo
=$ac_try;;
8633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8634 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8636 grep -v '^ *+' conftest.er1
>conftest.err
8638 cat conftest.err
>&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); } >/dev
/null
; then
8641 if test -s conftest.err
; then
8642 ac_cpp_err
=$ac_c_preproc_warn_flag
8643 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8650 if test -z "$ac_cpp_err"; then
8651 ac_header_preproc
=yes
8653 echo "$as_me: failed program was:" >&5
8654 sed 's/^/| /' conftest.
$ac_ext >&5
8656 ac_header_preproc
=no
8659 rm -f conftest.err conftest.
$ac_ext
8660 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8661 echo "${ECHO_T}$ac_header_preproc" >&6; }
8663 # So? What about this header?
8664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8666 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8667 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8669 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8670 ac_header_preproc
=yes
8673 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8674 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8675 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8676 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8677 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8678 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8679 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8680 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8682 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8683 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8684 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8686 ## ------------------------------------ ##
8687 ## Report this to wine-devel@winehq.org ##
8688 ## ------------------------------------ ##
8690 ) |
sed "s/^/$as_me: WARNING: /" >&2
8693 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8695 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8696 echo $ECHO_N "(cached) $ECHO_C" >&6
8698 eval "$as_ac_Header=\$ac_header_preproc"
8700 ac_res
=`eval echo '${'$as_ac_Header'}'`
8701 { echo "$as_me:$LINENO: result: $ac_res" >&5
8702 echo "${ECHO_T}$ac_res" >&6; }
8705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8706 cat >>confdefs.h
<<_ACEOF
8707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8714 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8715 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8716 if test "${ac_cv_header_stat_broken+set}" = set; then
8717 echo $ECHO_N "(cached) $ECHO_C" >&6
8719 cat >conftest.
$ac_ext <<_ACEOF
8722 cat confdefs.h
>>conftest.
$ac_ext
8723 cat >>conftest.
$ac_ext <<_ACEOF
8724 /* end confdefs.h. */
8725 #include <sys/types.h>
8726 #include <sys/stat.h>
8728 #if defined S_ISBLK && defined S_IFDIR
8729 # if S_ISBLK (S_IFDIR)
8734 #if defined S_ISBLK && defined S_IFCHR
8735 # if S_ISBLK (S_IFCHR)
8740 #if defined S_ISLNK && defined S_IFREG
8741 # if S_ISLNK (S_IFREG)
8746 #if defined S_ISSOCK && defined S_IFREG
8747 # if S_ISSOCK (S_IFREG)
8753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8754 $EGREP "You lose" >/dev
/null
2>&1; then
8755 ac_cv_header_stat_broken
=yes
8757 ac_cv_header_stat_broken
=no
8762 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8763 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8764 if test $ac_cv_header_stat_broken = yes; then
8766 cat >>confdefs.h
<<\_ACEOF
8767 #define STAT_MACROS_BROKEN 1
8778 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
8780 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8781 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8783 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8784 echo $ECHO_N "(cached) $ECHO_C" >&6
8786 cat >conftest.
$ac_ext <<_ACEOF
8789 cat confdefs.h
>>conftest.
$ac_ext
8790 cat >>conftest.
$ac_ext <<_ACEOF
8791 /* end confdefs.h. */
8792 #include <sys/types.h>
8793 #if HAVE_SYS_PARAM_H
8794 # include <sys/param.h>
8797 #include <$ac_header>
8799 rm -f conftest.
$ac_objext
8800 if { (ac_try
="$ac_compile"
8802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8803 *) ac_try_echo=$ac_try;;
8805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8806 (eval "$ac_compile") 2>conftest.er1
8808 grep -v '^ *+' conftest.er1 >conftest.err
8810 cat conftest.err >&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } &&
8813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8814 { (case "(($ac_try" in
8815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8816 *) ac_try_echo
=$ac_try;;
8818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8819 (eval "$ac_try") 2>&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); }; } &&
8823 { ac_try
='test -s conftest.$ac_objext'
8824 { (case "(($ac_try" in
8825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8826 *) ac_try_echo=$ac_try;;
8828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8829 (eval "$ac_try") 2>&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); }; }; then
8833 eval "$as_ac_Header=yes"
8835 echo "$as_me: failed program was:" >&5
8836 sed 's/^/| /' conftest.$ac_ext >&5
8838 eval "$as_ac_Header=no"
8841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8843 ac_res=`eval echo '${'$as_ac_Header'}'`
8844 { echo "$as_me:$LINENO: result: $ac_res" >&5
8845 echo "${ECHO_T}$ac_res" >&6; }
8846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8847 cat >>confdefs.h <<_ACEOF
8848 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8862 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
8864 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8865 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8868 echo $ECHO_N "(cached) $ECHO_C" >&6
8870 cat >conftest.$ac_ext <<_ACEOF
8873 cat confdefs.h >>conftest.$ac_ext
8874 cat >>conftest.$ac_ext <<_ACEOF
8875 /* end confdefs.h. */
8876 #include <sys/types.h>
8877 #if HAVE_SYS_SOCKET_H
8878 # include <sys/socket.h>
8881 #include <$ac_header>
8883 rm -f conftest.$ac_objext
8884 if { (ac_try="$ac_compile"
8886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8887 *) ac_try_echo
=$ac_try;;
8889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8890 (eval "$ac_compile") 2>conftest.er1
8892 grep -v '^ *+' conftest.er1
>conftest.err
8894 cat conftest.err
>&5
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); } &&
8897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8898 { (case "(($ac_try" in
8899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8900 *) ac_try_echo=$ac_try;;
8902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8903 (eval "$ac_try") 2>&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); }; } &&
8907 { ac_try='test -s conftest.$ac_objext'
8908 { (case "(($ac_try" in
8909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8910 *) ac_try_echo
=$ac_try;;
8912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8913 (eval "$ac_try") 2>&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); }; }; then
8917 eval "$as_ac_Header=yes"
8919 echo "$as_me: failed program was:" >&5
8920 sed 's/^/| /' conftest.
$ac_ext >&5
8922 eval "$as_ac_Header=no"
8925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8927 ac_res
=`eval echo '${'$as_ac_Header'}'`
8928 { echo "$as_me:$LINENO: result: $ac_res" >&5
8929 echo "${ECHO_T}$ac_res" >&6; }
8930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8931 cat >>confdefs.h
<<_ACEOF
8932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8941 for ac_header
in resolv.h
8943 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8944 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8946 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 cat >conftest.
$ac_ext <<_ACEOF
8952 cat confdefs.h
>>conftest.
$ac_ext
8953 cat >>conftest.
$ac_ext <<_ACEOF
8954 /* end confdefs.h. */
8955 #include <sys/types.h>
8956 #if HAVE_SYS_SOCKET_H
8957 # include <sys/socket.h>
8959 #if HAVE_NETINET_IN_H
8960 # include <netinet/in.h>
8962 #if HAVE_ARPA_NAMESER_H
8963 # include <arpa/nameser.h>
8966 #include <$ac_header>
8968 rm -f conftest.
$ac_objext
8969 if { (ac_try
="$ac_compile"
8971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8972 *) ac_try_echo=$ac_try;;
8974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8975 (eval "$ac_compile") 2>conftest.er1
8977 grep -v '^ *+' conftest.er1 >conftest.err
8979 cat conftest.err >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); } &&
8982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8983 { (case "(($ac_try" in
8984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8985 *) ac_try_echo
=$ac_try;;
8987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8988 (eval "$ac_try") 2>&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); }; } &&
8992 { ac_try
='test -s conftest.$ac_objext'
8993 { (case "(($ac_try" in
8994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8995 *) ac_try_echo=$ac_try;;
8997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8998 (eval "$ac_try") 2>&5
9000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9001 (exit $ac_status); }; }; then
9002 eval "$as_ac_Header=yes"
9004 echo "$as_me: failed program was:" >&5
9005 sed 's/^/| /' conftest.$ac_ext >&5
9007 eval "$as_ac_Header=no"
9010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9012 ac_res=`eval echo '${'$as_ac_Header'}'`
9013 { echo "$as_me:$LINENO: result: $ac_res" >&5
9014 echo "${ECHO_T}$ac_res" >&6; }
9015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9016 cat >>confdefs.h <<_ACEOF
9017 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9026 for ac_header in ucontext.h
9028 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9029 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9032 echo $ECHO_N "(cached) $ECHO_C" >&6
9034 cat >conftest.$ac_ext <<_ACEOF
9037 cat confdefs.h >>conftest.$ac_ext
9038 cat >>conftest.$ac_ext <<_ACEOF
9039 /* end confdefs.h. */
9042 #include <$ac_header>
9044 rm -f conftest.$ac_objext
9045 if { (ac_try="$ac_compile"
9047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9048 *) ac_try_echo
=$ac_try;;
9050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9051 (eval "$ac_compile") 2>conftest.er1
9053 grep -v '^ *+' conftest.er1
>conftest.err
9055 cat conftest.err
>&5
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); } &&
9058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9059 { (case "(($ac_try" in
9060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9061 *) ac_try_echo=$ac_try;;
9063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9064 (eval "$ac_try") 2>&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); }; } &&
9068 { ac_try='test -s conftest.$ac_objext'
9069 { (case "(($ac_try" in
9070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9071 *) ac_try_echo
=$ac_try;;
9073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9074 (eval "$ac_try") 2>&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); }; }; then
9078 eval "$as_ac_Header=yes"
9080 echo "$as_me: failed program was:" >&5
9081 sed 's/^/| /' conftest.
$ac_ext >&5
9083 eval "$as_ac_Header=no"
9086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9088 ac_res
=`eval echo '${'$as_ac_Header'}'`
9089 { echo "$as_me:$LINENO: result: $ac_res" >&5
9090 echo "${ECHO_T}$ac_res" >&6; }
9091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9092 cat >>confdefs.h
<<_ACEOF
9093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9103 for ac_header
in linux
/ipx.h linux
/videodev.h
9105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9108 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9109 echo $ECHO_N "(cached) $ECHO_C" >&6
9111 cat >conftest.
$ac_ext <<_ACEOF
9114 cat confdefs.h
>>conftest.
$ac_ext
9115 cat >>conftest.
$ac_ext <<_ACEOF
9116 /* end confdefs.h. */
9117 #ifdef HAVE_SYS_TIME_H
9118 #include <sys/time.h>
9120 #include <sys/types.h>
9121 #ifdef HAVE_ASM_TYPES_H
9122 #include <asm/types.h>
9125 #include <$ac_header>
9127 rm -f conftest.
$ac_objext
9128 if { (ac_try
="$ac_compile"
9130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9131 *) ac_try_echo=$ac_try;;
9133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9134 (eval "$ac_compile") 2>conftest.er1
9136 grep -v '^ *+' conftest.er1 >conftest.err
9138 cat conftest.err >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } &&
9141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9142 { (case "(($ac_try" in
9143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9144 *) ac_try_echo
=$ac_try;;
9146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9147 (eval "$ac_try") 2>&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); }; } &&
9151 { ac_try
='test -s conftest.$ac_objext'
9152 { (case "(($ac_try" in
9153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9154 *) ac_try_echo=$ac_try;;
9156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9157 (eval "$ac_try") 2>&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); }; }; then
9161 eval "$as_ac_Header=yes"
9163 echo "$as_me: failed program was:" >&5
9164 sed 's/^/| /' conftest.$ac_ext >&5
9166 eval "$as_ac_Header=no"
9169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9171 ac_res=`eval echo '${'$as_ac_Header'}'`
9172 { echo "$as_me:$LINENO: result: $ac_res" >&5
9173 echo "${ECHO_T}$ac_res" >&6; }
9174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9175 cat >>confdefs.h <<_ACEOF
9176 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9185 for ac_header in linux/capi.h
9187 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9188 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9191 echo $ECHO_N "(cached) $ECHO_C" >&6
9193 cat >conftest.$ac_ext <<_ACEOF
9196 cat confdefs.h >>conftest.$ac_ext
9197 cat >>conftest.$ac_ext <<_ACEOF
9198 /* end confdefs.h. */
9201 #include <$ac_header>
9203 rm -f conftest.$ac_objext
9204 if { (ac_try="$ac_compile"
9206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9207 *) ac_try_echo
=$ac_try;;
9209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9210 (eval "$ac_compile") 2>conftest.er1
9212 grep -v '^ *+' conftest.er1
>conftest.err
9214 cat conftest.err
>&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } &&
9217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9218 { (case "(($ac_try" in
9219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9220 *) ac_try_echo=$ac_try;;
9222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9223 (eval "$ac_try") 2>&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); }; } &&
9227 { ac_try='test -s conftest.$ac_objext'
9228 { (case "(($ac_try" in
9229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9230 *) ac_try_echo
=$ac_try;;
9232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9233 (eval "$ac_try") 2>&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); }; }; then
9237 eval "$as_ac_Header=yes"
9239 echo "$as_me: failed program was:" >&5
9240 sed 's/^/| /' conftest.
$ac_ext >&5
9242 eval "$as_ac_Header=no"
9245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9247 ac_res
=`eval echo '${'$as_ac_Header'}'`
9248 { echo "$as_me:$LINENO: result: $ac_res" >&5
9249 echo "${ECHO_T}$ac_res" >&6; }
9250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9251 cat >>confdefs.h
<<_ACEOF
9252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9261 if test "$have_x" = "yes"
9264 ac_save_CPPFLAGS
="$CPPFLAGS"
9265 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9276 for ac_header
in X11
/Xlib.h \
9279 X11
/extensions
/shape.h \
9280 X11
/extensions
/XInput.h \
9281 X11
/extensions
/XShm.h \
9282 X11
/extensions
/Xrandr.h \
9283 X11
/extensions
/Xrender.h \
9284 X11
/extensions
/xf86vmode.h
9286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9287 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9289 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9290 echo $ECHO_N "(cached) $ECHO_C" >&6
9292 cat >conftest.
$ac_ext <<_ACEOF
9295 cat confdefs.h
>>conftest.
$ac_ext
9296 cat >>conftest.
$ac_ext <<_ACEOF
9297 /* end confdefs.h. */
9298 #ifdef HAVE_X11_XLIB_H
9299 # include <X11/Xlib.h>
9301 #ifdef HAVE_X11_XUTIL_H
9302 # include <X11/Xutil.h>
9305 #include <$ac_header>
9307 rm -f conftest.
$ac_objext
9308 if { (ac_try
="$ac_compile"
9310 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9311 *) ac_try_echo=$ac_try;;
9313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9314 (eval "$ac_compile") 2>conftest.er1
9316 grep -v '^ *+' conftest.er1 >conftest.err
9318 cat conftest.err >&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); } &&
9321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9322 { (case "(($ac_try" in
9323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9324 *) ac_try_echo
=$ac_try;;
9326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9327 (eval "$ac_try") 2>&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; } &&
9331 { ac_try
='test -s conftest.$ac_objext'
9332 { (case "(($ac_try" in
9333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9334 *) ac_try_echo=$ac_try;;
9336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9337 (eval "$ac_try") 2>&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); }; }; then
9341 eval "$as_ac_Header=yes"
9343 echo "$as_me: failed program was:" >&5
9344 sed 's/^/| /' conftest.$ac_ext >&5
9346 eval "$as_ac_Header=no"
9349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9351 ac_res=`eval echo '${'$as_ac_Header'}'`
9352 { echo "$as_me:$LINENO: result: $ac_res" >&5
9353 echo "${ECHO_T}$ac_res" >&6; }
9354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9355 cat >>confdefs.h <<_ACEOF
9356 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9364 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9366 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9367 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9368 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9369 echo $ECHO_N "(cached) $ECHO_C" >&6
9371 ac_check_lib_save_LIBS=$LIBS
9372 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9373 cat >conftest.$ac_ext <<_ACEOF
9376 cat confdefs.h >>conftest.$ac_ext
9377 cat >>conftest.$ac_ext <<_ACEOF
9378 /* end confdefs.h. */
9380 /* Override any GCC internal prototype to avoid an error.
9381 Use char because int might match the return type of a GCC
9382 builtin and then its argument prototype would still apply. */
9386 char XkbQueryExtension ();
9390 return XkbQueryExtension ();
9395 rm -f conftest.$ac_objext conftest$ac_exeext
9396 if { (ac_try="$ac_link"
9398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9399 *) ac_try_echo
=$ac_try;;
9401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9402 (eval "$ac_link") 2>conftest.er1
9404 grep -v '^ *+' conftest.er1
>conftest.err
9406 cat conftest.err
>&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); } &&
9409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9410 { (case "(($ac_try" in
9411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9412 *) ac_try_echo=$ac_try;;
9414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9415 (eval "$ac_try") 2>&5
9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418 (exit $ac_status); }; } &&
9419 { ac_try='test -s conftest$ac_exeext'
9420 { (case "(($ac_try" in
9421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9422 *) ac_try_echo
=$ac_try;;
9424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9425 (eval "$ac_try") 2>&5
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); }; }; then
9429 ac_cv_lib_X11_XkbQueryExtension
=yes
9431 echo "$as_me: failed program was:" >&5
9432 sed 's/^/| /' conftest.
$ac_ext >&5
9434 ac_cv_lib_X11_XkbQueryExtension
=no
9437 rm -f core conftest.err conftest.
$ac_objext \
9438 conftest
$ac_exeext conftest.
$ac_ext
9439 LIBS
=$ac_check_lib_save_LIBS
9441 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9442 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9443 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9445 cat >>confdefs.h
<<\_ACEOF
9453 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9455 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9456 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9457 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9458 echo $ECHO_N "(cached) $ECHO_C" >&6
9460 ac_check_lib_save_LIBS
=$LIBS
9461 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9462 cat >conftest.
$ac_ext <<_ACEOF
9465 cat confdefs.h
>>conftest.
$ac_ext
9466 cat >>conftest.
$ac_ext <<_ACEOF
9467 /* end confdefs.h. */
9469 /* Override any GCC internal prototype to avoid an error.
9470 Use char because int might match the return type of a GCC
9471 builtin and then its argument prototype would still apply. */
9475 char XShmQueryExtension ();
9479 return XShmQueryExtension ();
9484 rm -f conftest.
$ac_objext conftest
$ac_exeext
9485 if { (ac_try
="$ac_link"
9487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9488 *) ac_try_echo=$ac_try;;
9490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9491 (eval "$ac_link") 2>conftest.er1
9493 grep -v '^ *+' conftest.er1 >conftest.err
9495 cat conftest.err >&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); } &&
9498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9499 { (case "(($ac_try" in
9500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9501 *) ac_try_echo
=$ac_try;;
9503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9504 (eval "$ac_try") 2>&5
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; } &&
9508 { ac_try
='test -s conftest$ac_exeext'
9509 { (case "(($ac_try" in
9510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9511 *) ac_try_echo=$ac_try;;
9513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9514 (eval "$ac_try") 2>&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); }; }; then
9518 ac_cv_lib_Xext_XShmQueryExtension=yes
9520 echo "$as_me: failed program was:" >&5
9521 sed 's/^/| /' conftest.$ac_ext >&5
9523 ac_cv_lib_Xext_XShmQueryExtension=no
9526 rm -f core conftest.err conftest.$ac_objext \
9527 conftest$ac_exeext conftest.$ac_ext
9528 LIBS=$ac_check_lib_save_LIBS
9530 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9531 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9532 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9534 cat >>confdefs.h <<\_ACEOF
9535 #define HAVE_LIBXXSHM 1
9542 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9544 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9545 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9546 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9547 echo $ECHO_N "(cached) $ECHO_C" >&6
9549 ac_check_lib_save_LIBS=$LIBS
9550 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9551 cat >conftest.$ac_ext <<_ACEOF
9554 cat confdefs.h >>conftest.$ac_ext
9555 cat >>conftest.$ac_ext <<_ACEOF
9556 /* end confdefs.h. */
9558 /* Override any GCC internal prototype to avoid an error.
9559 Use char because int might match the return type of a GCC
9560 builtin and then its argument prototype would still apply. */
9564 char XShapeQueryExtension ();
9568 return XShapeQueryExtension ();
9573 rm -f conftest.$ac_objext conftest$ac_exeext
9574 if { (ac_try="$ac_link"
9576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9577 *) ac_try_echo
=$ac_try;;
9579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9580 (eval "$ac_link") 2>conftest.er1
9582 grep -v '^ *+' conftest.er1
>conftest.err
9584 cat conftest.err
>&5
9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 (exit $ac_status); } &&
9587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9588 { (case "(($ac_try" in
9589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9590 *) ac_try_echo=$ac_try;;
9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9593 (eval "$ac_try") 2>&5
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; } &&
9597 { ac_try='test -s conftest$ac_exeext'
9598 { (case "(($ac_try" in
9599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9600 *) ac_try_echo
=$ac_try;;
9602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9603 (eval "$ac_try") 2>&5
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); }; }; then
9607 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9609 echo "$as_me: failed program was:" >&5
9610 sed 's/^/| /' conftest.
$ac_ext >&5
9612 ac_cv_lib_Xext_XShapeQueryExtension
=no
9615 rm -f core conftest.err conftest.
$ac_objext \
9616 conftest
$ac_exeext conftest.
$ac_ext
9617 LIBS
=$ac_check_lib_save_LIBS
9619 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9620 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9621 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9623 cat >>confdefs.h
<<\_ACEOF
9624 #define HAVE_LIBXSHAPE 1
9631 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9633 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9634 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9635 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9636 echo $ECHO_N "(cached) $ECHO_C" >&6
9638 ac_check_lib_save_LIBS
=$LIBS
9639 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9640 cat >conftest.
$ac_ext <<_ACEOF
9643 cat confdefs.h
>>conftest.
$ac_ext
9644 cat >>conftest.
$ac_ext <<_ACEOF
9645 /* end confdefs.h. */
9647 /* Override any GCC internal prototype to avoid an error.
9648 Use char because int might match the return type of a GCC
9649 builtin and then its argument prototype would still apply. */
9653 char XF86VidModeQueryExtension ();
9657 return XF86VidModeQueryExtension ();
9662 rm -f conftest.
$ac_objext conftest
$ac_exeext
9663 if { (ac_try
="$ac_link"
9665 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9666 *) ac_try_echo=$ac_try;;
9668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9669 (eval "$ac_link") 2>conftest.er1
9671 grep -v '^ *+' conftest.er1 >conftest.err
9673 cat conftest.err >&5
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); } &&
9676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9677 { (case "(($ac_try" in
9678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9679 *) ac_try_echo
=$ac_try;;
9681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9682 (eval "$ac_try") 2>&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); }; } &&
9686 { ac_try
='test -s conftest$ac_exeext'
9687 { (case "(($ac_try" in
9688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9689 *) ac_try_echo=$ac_try;;
9691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9692 (eval "$ac_try") 2>&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; }; then
9696 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9698 echo "$as_me: failed program was:" >&5
9699 sed 's/^/| /' conftest.$ac_ext >&5
9701 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9704 rm -f core conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 LIBS=$ac_check_lib_save_LIBS
9708 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9709 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9710 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9712 cat >>confdefs.h <<\_ACEOF
9713 #define HAVE_LIBXXF86VM 1
9716 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9722 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9724 cat >conftest.$ac_ext <<_ACEOF
9727 cat confdefs.h >>conftest.$ac_ext
9728 cat >>conftest.$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9730 #include <X11/Xlib.h>
9731 #include <X11/extensions/Xrandr.h>
9735 static typeof(XRRSetScreenConfigAndRate) * func;
9740 rm -f conftest.$ac_objext
9741 if { (ac_try="$ac_compile"
9743 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9744 *) ac_try_echo
=$ac_try;;
9746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9747 (eval "$ac_compile") 2>conftest.er1
9749 grep -v '^ *+' conftest.er1
>conftest.err
9751 cat conftest.err
>&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); } &&
9754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9755 { (case "(($ac_try" in
9756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9757 *) ac_try_echo=$ac_try;;
9759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9760 (eval "$ac_try") 2>&5
9762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 (exit $ac_status); }; } &&
9764 { ac_try='test -s conftest.$ac_objext'
9765 { (case "(($ac_try" in
9766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9767 *) ac_try_echo
=$ac_try;;
9769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9770 (eval "$ac_try") 2>&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); }; }; then
9775 cat >>confdefs.h
<<\_ACEOF
9776 #define HAVE_LIBXRANDR 1
9780 echo "$as_me: failed program was:" >&5
9781 sed 's/^/| /' conftest.
$ac_ext >&5
9786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9789 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9791 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9792 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9793 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9794 echo $ECHO_N "(cached) $ECHO_C" >&6
9796 ac_check_lib_save_LIBS
=$LIBS
9797 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9798 cat >conftest.
$ac_ext <<_ACEOF
9801 cat confdefs.h
>>conftest.
$ac_ext
9802 cat >>conftest.
$ac_ext <<_ACEOF
9803 /* end confdefs.h. */
9805 /* Override any GCC internal prototype to avoid an error.
9806 Use char because int might match the return type of a GCC
9807 builtin and then its argument prototype would still apply. */
9811 char XRenderSetPictureTransform ();
9815 return XRenderSetPictureTransform ();
9820 rm -f conftest.
$ac_objext conftest
$ac_exeext
9821 if { (ac_try
="$ac_link"
9823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9824 *) ac_try_echo=$ac_try;;
9826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9827 (eval "$ac_link") 2>conftest.er1
9829 grep -v '^ *+' conftest.er1 >conftest.err
9831 cat conftest.err >&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); } &&
9834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9835 { (case "(($ac_try" in
9836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9837 *) ac_try_echo
=$ac_try;;
9839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9840 (eval "$ac_try") 2>&5
9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 (exit $ac_status); }; } &&
9844 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
9854 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9856 echo "$as_me: failed program was:" >&5
9857 sed 's/^/| /' conftest.$ac_ext >&5
9859 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9862 rm -f core conftest.err conftest.$ac_objext \
9863 conftest$ac_exeext conftest.$ac_ext
9864 LIBS=$ac_check_lib_save_LIBS
9866 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9867 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9868 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9870 cat >>confdefs.h <<\_ACEOF
9871 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9878 if test "x$with_opengl" != "xno"
9884 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9886 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9887 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9890 echo $ECHO_N "(cached) $ECHO_C" >&6
9892 cat >conftest.$ac_ext <<_ACEOF
9895 cat confdefs.h >>conftest.$ac_ext
9896 cat >>conftest.$ac_ext <<_ACEOF
9897 /* end confdefs.h. */
9898 #ifdef HAVE_GL_GLX_H
9899 # include <GL/glx.h>
9902 #include <$ac_header>
9904 rm -f conftest.$ac_objext
9905 if { (ac_try="$ac_compile"
9907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9908 *) ac_try_echo
=$ac_try;;
9910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9911 (eval "$ac_compile") 2>conftest.er1
9913 grep -v '^ *+' conftest.er1
>conftest.err
9915 cat conftest.err
>&5
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); } &&
9918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9919 { (case "(($ac_try" in
9920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9921 *) ac_try_echo=$ac_try;;
9923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9924 (eval "$ac_try") 2>&5
9926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9927 (exit $ac_status); }; } &&
9928 { ac_try='test -s conftest.$ac_objext'
9929 { (case "(($ac_try" in
9930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9931 *) ac_try_echo
=$ac_try;;
9933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9934 (eval "$ac_try") 2>&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); }; }; then
9938 eval "$as_ac_Header=yes"
9940 echo "$as_me: failed program was:" >&5
9941 sed 's/^/| /' conftest.
$ac_ext >&5
9943 eval "$as_ac_Header=no"
9946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9948 ac_res
=`eval echo '${'$as_ac_Header'}'`
9949 { echo "$as_me:$LINENO: result: $ac_res" >&5
9950 echo "${ECHO_T}$ac_res" >&6; }
9951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9952 cat >>confdefs.h
<<_ACEOF
9953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9960 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9962 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9963 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9964 if test "${wine_cv_opengl_version_OK+set}" = set; then
9965 echo $ECHO_N "(cached) $ECHO_C" >&6
9967 cat >conftest.
$ac_ext <<_ACEOF
9970 cat confdefs.h
>>conftest.
$ac_ext
9971 cat >>conftest.
$ac_ext <<_ACEOF
9972 /* end confdefs.h. */
9977 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9982 rm -f conftest.
$ac_objext
9983 if { (ac_try
="$ac_compile"
9985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9986 *) ac_try_echo=$ac_try;;
9988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9989 (eval "$ac_compile") 2>conftest.er1
9991 grep -v '^ *+' conftest.er1 >conftest.err
9993 cat conftest.err >&5
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); } &&
9996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9997 { (case "(($ac_try" in
9998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9999 *) ac_try_echo
=$ac_try;;
10001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10002 (eval "$ac_try") 2>&5
10004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); }; } &&
10006 { ac_try
='test -s conftest.$ac_objext'
10007 { (case "(($ac_try" in
10008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10009 *) ac_try_echo=$ac_try;;
10011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10012 (eval "$ac_try") 2>&5
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015 (exit $ac_status); }; }; then
10016 wine_cv_opengl_version_OK="yes"
10018 echo "$as_me: failed program was:" >&5
10019 sed 's/^/| /' conftest.$ac_ext >&5
10021 wine_cv_opengl_version_OK="no"
10025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10028 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
10029 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
10031 if test "$wine_cv_opengl_version_OK" = "yes"
10033 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
10034 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
10035 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
10036 echo $ECHO_N "(cached) $ECHO_C" >&6
10038 ac_check_lib_save_LIBS=$LIBS
10039 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10040 cat >conftest.$ac_ext <<_ACEOF
10043 cat confdefs.h >>conftest.$ac_ext
10044 cat >>conftest.$ac_ext <<_ACEOF
10045 /* end confdefs.h. */
10047 /* Override any GCC internal prototype to avoid an error.
10048 Use char because int might match the return type of a GCC
10049 builtin and then its argument prototype would still apply. */
10053 char glXCreateContext ();
10057 return glXCreateContext ();
10062 rm -f conftest.$ac_objext conftest$ac_exeext
10063 if { (ac_try="$ac_link"
10064 case "(($ac_try" in
10065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10066 *) ac_try_echo
=$ac_try;;
10068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10069 (eval "$ac_link") 2>conftest.er1
10071 grep -v '^ *+' conftest.er1
>conftest.err
10073 cat conftest.err
>&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } &&
10076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10077 { (case "(($ac_try" in
10078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10079 *) ac_try_echo=$ac_try;;
10081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10082 (eval "$ac_try") 2>&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); }; } &&
10086 { ac_try='test -s conftest$ac_exeext'
10087 { (case "(($ac_try" in
10088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10089 *) ac_try_echo
=$ac_try;;
10091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10092 (eval "$ac_try") 2>&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); }; }; then
10096 ac_cv_lib_GL_glXCreateContext
=yes
10098 echo "$as_me: failed program was:" >&5
10099 sed 's/^/| /' conftest.
$ac_ext >&5
10101 ac_cv_lib_GL_glXCreateContext
=no
10104 rm -f core conftest.err conftest.
$ac_objext \
10105 conftest
$ac_exeext conftest.
$ac_ext
10106 LIBS
=$ac_check_lib_save_LIBS
10108 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
10109 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
10110 if test $ac_cv_lib_GL_glXCreateContext = yes; then
10116 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
10118 OPENGLFILES
='$(OPENGLFILES)'
10120 cat >>confdefs.h
<<\_ACEOF
10121 #define HAVE_OPENGL 1
10125 if test -f /usr
/X11R
6/lib
/libGL.a
10127 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
10128 This prevents linking to OpenGL. Delete the file and restart configure." >&5
10129 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
10130 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
10131 { (exit 1); exit 1; }; }
10135 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10136 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10137 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10138 echo $ECHO_N "(cached) $ECHO_C" >&6
10140 ac_check_lib_save_LIBS
=$LIBS
10141 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10143 cat >conftest.
$ac_ext <<_ACEOF
10146 cat confdefs.h
>>conftest.
$ac_ext
10147 cat >>conftest.
$ac_ext <<_ACEOF
10148 /* end confdefs.h. */
10150 /* Override any GCC internal prototype to avoid an error.
10151 Use char because int might match the return type of a GCC
10152 builtin and then its argument prototype would still apply. */
10160 return gluLookAt ();
10165 rm -f conftest.
$ac_objext conftest
$ac_exeext
10166 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
10174 grep -v '^ *+' conftest.er1 >conftest.err
10176 cat conftest.err >&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); } &&
10179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10180 { (case "(($ac_try" in
10181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10182 *) ac_try_echo
=$ac_try;;
10184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10185 (eval "$ac_try") 2>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); }; } &&
10189 { ac_try
='test -s conftest$ac_exeext'
10190 { (case "(($ac_try" in
10191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10192 *) ac_try_echo=$ac_try;;
10194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10195 (eval "$ac_try") 2>&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }; }; then
10199 ac_cv_lib_GLU_gluLookAt=yes
10201 echo "$as_me: failed program was:" >&5
10202 sed 's/^/| /' conftest.$ac_ext >&5
10204 ac_cv_lib_GLU_gluLookAt=no
10207 rm -f core conftest.err conftest.$ac_objext \
10208 conftest$ac_exeext conftest.$ac_ext
10209 LIBS=$ac_check_lib_save_LIBS
10211 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10212 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10213 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10214 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10215 GLU32FILES='$(GLU32FILES)'
10221 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
10222 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
10223 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
10224 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 ac_check_lib_save_LIBS=$LIBS
10227 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
10228 cat >conftest.$ac_ext <<_ACEOF
10231 cat confdefs.h >>conftest.$ac_ext
10232 cat >>conftest.$ac_ext <<_ACEOF
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10241 char glutMainLoop ();
10245 return glutMainLoop ();
10250 rm -f conftest.$ac_objext conftest$ac_exeext
10251 if { (ac_try="$ac_link"
10252 case "(($ac_try" in
10253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10254 *) ac_try_echo
=$ac_try;;
10256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10257 (eval "$ac_link") 2>conftest.er1
10259 grep -v '^ *+' conftest.er1
>conftest.err
10261 cat conftest.err
>&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); } &&
10264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10265 { (case "(($ac_try" in
10266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10267 *) ac_try_echo=$ac_try;;
10269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10270 (eval "$ac_try") 2>&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; } &&
10274 { ac_try='test -s conftest$ac_exeext'
10275 { (case "(($ac_try" in
10276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10277 *) ac_try_echo
=$ac_try;;
10279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10280 (eval "$ac_try") 2>&5
10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); }; }; then
10284 ac_cv_lib_glut_glutMainLoop
=yes
10286 echo "$as_me: failed program was:" >&5
10287 sed 's/^/| /' conftest.
$ac_ext >&5
10289 ac_cv_lib_glut_glutMainLoop
=no
10292 rm -f core conftest.err conftest.
$ac_objext \
10293 conftest
$ac_exeext conftest.
$ac_ext
10294 LIBS
=$ac_check_lib_save_LIBS
10296 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
10297 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
10298 if test $ac_cv_lib_glut_glutMainLoop = yes; then
10299 GLUT_LIBS
="-lglut -lXmu -lXi"
10301 GLUT32FILES
='$(GLUT32FILES)'
10311 for ac_header
in audio
/audiolib.h
10313 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10314 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10315 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10317 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10318 echo $ECHO_N "(cached) $ECHO_C" >&6
10320 ac_res
=`eval echo '${'$as_ac_Header'}'`
10321 { echo "$as_me:$LINENO: result: $ac_res" >&5
10322 echo "${ECHO_T}$ac_res" >&6; }
10324 # Is the header compilable?
10325 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10327 cat >conftest.
$ac_ext <<_ACEOF
10330 cat confdefs.h
>>conftest.
$ac_ext
10331 cat >>conftest.
$ac_ext <<_ACEOF
10332 /* end confdefs.h. */
10333 $ac_includes_default
10334 #include <$ac_header>
10336 rm -f conftest.
$ac_objext
10337 if { (ac_try
="$ac_compile"
10338 case "(($ac_try" in
10339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10340 *) ac_try_echo=$ac_try;;
10342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10343 (eval "$ac_compile") 2>conftest.er1
10345 grep -v '^ *+' conftest.er1 >conftest.err
10347 cat conftest.err >&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); } &&
10350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10351 { (case "(($ac_try" in
10352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10353 *) ac_try_echo
=$ac_try;;
10355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10356 (eval "$ac_try") 2>&5
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); }; } &&
10360 { ac_try
='test -s conftest.$ac_objext'
10361 { (case "(($ac_try" in
10362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10363 *) ac_try_echo=$ac_try;;
10365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10366 (eval "$ac_try") 2>&5
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); }; }; then
10370 ac_header_compiler=yes
10372 echo "$as_me: failed program was:" >&5
10373 sed 's/^/| /' conftest.$ac_ext >&5
10375 ac_header_compiler=no
10378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10379 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10380 echo "${ECHO_T}$ac_header_compiler" >&6; }
10382 # Is the header present?
10383 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10385 cat >conftest.$ac_ext <<_ACEOF
10388 cat confdefs.h >>conftest.$ac_ext
10389 cat >>conftest.$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10391 #include <$ac_header>
10393 if { (ac_try="$ac_cpp conftest.$ac_ext"
10394 case "(($ac_try" in
10395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10396 *) ac_try_echo
=$ac_try;;
10398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10399 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10401 grep -v '^ *+' conftest.er1
>conftest.err
10403 cat conftest.err
>&5
10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); } >/dev
/null
; then
10406 if test -s conftest.err
; then
10407 ac_cpp_err
=$ac_c_preproc_warn_flag
10408 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10415 if test -z "$ac_cpp_err"; then
10416 ac_header_preproc
=yes
10418 echo "$as_me: failed program was:" >&5
10419 sed 's/^/| /' conftest.
$ac_ext >&5
10421 ac_header_preproc
=no
10424 rm -f conftest.err conftest.
$ac_ext
10425 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10426 echo "${ECHO_T}$ac_header_preproc" >&6; }
10428 # So? What about this header?
10429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10435 ac_header_preproc
=yes
10438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10451 ## ------------------------------------ ##
10452 ## Report this to wine-devel@winehq.org ##
10453 ## ------------------------------------ ##
10455 ) |
sed "s/^/$as_me: WARNING: /" >&2
10458 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10460 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10463 eval "$as_ac_Header=\$ac_header_preproc"
10465 ac_res
=`eval echo '${'$as_ac_Header'}'`
10466 { echo "$as_me:$LINENO: result: $ac_res" >&5
10467 echo "${ECHO_T}$ac_res" >&6; }
10470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10471 cat >>confdefs.h
<<_ACEOF
10472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10475 for ac_header
in audio
/soundlib.h
10477 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10480 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10481 echo $ECHO_N "(cached) $ECHO_C" >&6
10483 cat >conftest.
$ac_ext <<_ACEOF
10486 cat confdefs.h
>>conftest.
$ac_ext
10487 cat >>conftest.
$ac_ext <<_ACEOF
10488 /* end confdefs.h. */
10489 #include <audio/audiolib.h>
10491 #include <$ac_header>
10493 rm -f conftest.
$ac_objext
10494 if { (ac_try
="$ac_compile"
10495 case "(($ac_try" in
10496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10497 *) ac_try_echo=$ac_try;;
10499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10500 (eval "$ac_compile") 2>conftest.er1
10502 grep -v '^ *+' conftest.er1 >conftest.err
10504 cat conftest.err >&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); } &&
10507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10508 { (case "(($ac_try" in
10509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10510 *) ac_try_echo
=$ac_try;;
10512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10513 (eval "$ac_try") 2>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; } &&
10517 { ac_try
='test -s conftest.$ac_objext'
10518 { (case "(($ac_try" in
10519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10520 *) ac_try_echo=$ac_try;;
10522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10523 (eval "$ac_try") 2>&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10527 eval "$as_ac_Header=yes"
10529 echo "$as_me: failed program was:" >&5
10530 sed 's/^/| /' conftest.$ac_ext >&5
10532 eval "$as_ac_Header=no"
10535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10537 ac_res=`eval echo '${'$as_ac_Header'}'`
10538 { echo "$as_me:$LINENO: result: $ac_res" >&5
10539 echo "${ECHO_T}$ac_res" >&6; }
10540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10541 cat >>confdefs.h <<_ACEOF
10542 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10549 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10550 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10551 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10552 echo $ECHO_N "(cached) $ECHO_C" >&6
10554 ac_check_lib_save_LIBS=$LIBS
10555 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10556 cat >conftest.$ac_ext <<_ACEOF
10559 cat confdefs.h >>conftest.$ac_ext
10560 cat >>conftest.$ac_ext <<_ACEOF
10561 /* end confdefs.h. */
10563 /* Override any GCC internal prototype to avoid an error.
10564 Use char because int might match the return type of a GCC
10565 builtin and then its argument prototype would still apply. */
10569 char AuCreateFlow ();
10573 return AuCreateFlow ();
10578 rm -f conftest.$ac_objext conftest$ac_exeext
10579 if { (ac_try="$ac_link"
10580 case "(($ac_try" in
10581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10582 *) ac_try_echo
=$ac_try;;
10584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10585 (eval "$ac_link") 2>conftest.er1
10587 grep -v '^ *+' conftest.er1
>conftest.err
10589 cat conftest.err
>&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); } &&
10592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10593 { (case "(($ac_try" in
10594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10595 *) ac_try_echo=$ac_try;;
10597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10598 (eval "$ac_try") 2>&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); }; } &&
10602 { ac_try='test -s conftest$ac_exeext'
10603 { (case "(($ac_try" in
10604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10605 *) ac_try_echo
=$ac_try;;
10607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10608 (eval "$ac_try") 2>&5
10610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); }; }; then
10612 ac_cv_lib_audio_AuCreateFlow
=yes
10614 echo "$as_me: failed program was:" >&5
10615 sed 's/^/| /' conftest.
$ac_ext >&5
10617 ac_cv_lib_audio_AuCreateFlow
=no
10620 rm -f core conftest.err conftest.
$ac_objext \
10621 conftest
$ac_exeext conftest.
$ac_ext
10622 LIBS
=$ac_check_lib_save_LIBS
10624 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10625 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10626 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10628 cat >>confdefs.h
<<\_ACEOF
10632 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10640 CPPFLAGS
="$ac_save_CPPFLAGS"
10657 if test "$PKG_CONFIG" != "false"
10659 ac_save_CPPFLAGS
="$CPPFLAGS"
10660 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10661 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10662 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
10664 for ac_header
in libxml
/parser.h
10666 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10667 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10670 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10671 echo $ECHO_N "(cached) $ECHO_C" >&6
10673 ac_res
=`eval echo '${'$as_ac_Header'}'`
10674 { echo "$as_me:$LINENO: result: $ac_res" >&5
10675 echo "${ECHO_T}$ac_res" >&6; }
10677 # Is the header compilable?
10678 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10680 cat >conftest.
$ac_ext <<_ACEOF
10683 cat confdefs.h
>>conftest.
$ac_ext
10684 cat >>conftest.
$ac_ext <<_ACEOF
10685 /* end confdefs.h. */
10686 $ac_includes_default
10687 #include <$ac_header>
10689 rm -f conftest.
$ac_objext
10690 if { (ac_try
="$ac_compile"
10691 case "(($ac_try" in
10692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10693 *) ac_try_echo=$ac_try;;
10695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10696 (eval "$ac_compile") 2>conftest.er1
10698 grep -v '^ *+' conftest.er1 >conftest.err
10700 cat conftest.err >&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 (exit $ac_status); } &&
10703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10704 { (case "(($ac_try" in
10705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10706 *) ac_try_echo
=$ac_try;;
10708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10709 (eval "$ac_try") 2>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); }; } &&
10713 { ac_try
='test -s conftest.$ac_objext'
10714 { (case "(($ac_try" in
10715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10716 *) ac_try_echo=$ac_try;;
10718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10719 (eval "$ac_try") 2>&5
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); }; }; then
10723 ac_header_compiler=yes
10725 echo "$as_me: failed program was:" >&5
10726 sed 's/^/| /' conftest.$ac_ext >&5
10728 ac_header_compiler=no
10731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10732 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10733 echo "${ECHO_T}$ac_header_compiler" >&6; }
10735 # Is the header present?
10736 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10738 cat >conftest.$ac_ext <<_ACEOF
10741 cat confdefs.h >>conftest.$ac_ext
10742 cat >>conftest.$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 #include <$ac_header>
10746 if { (ac_try="$ac_cpp conftest.$ac_ext"
10747 case "(($ac_try" in
10748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10749 *) ac_try_echo
=$ac_try;;
10751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10754 grep -v '^ *+' conftest.er1
>conftest.err
10756 cat conftest.err
>&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } >/dev
/null
; then
10759 if test -s conftest.err
; then
10760 ac_cpp_err
=$ac_c_preproc_warn_flag
10761 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10768 if test -z "$ac_cpp_err"; then
10769 ac_header_preproc
=yes
10771 echo "$as_me: failed program was:" >&5
10772 sed 's/^/| /' conftest.
$ac_ext >&5
10774 ac_header_preproc
=no
10777 rm -f conftest.err conftest.
$ac_ext
10778 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10779 echo "${ECHO_T}$ac_header_preproc" >&6; }
10781 # So? What about this header?
10782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10788 ac_header_preproc
=yes
10791 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10793 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10794 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10795 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10797 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10798 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10804 ## ------------------------------------ ##
10805 ## Report this to wine-devel@winehq.org ##
10806 ## ------------------------------------ ##
10808 ) |
sed "s/^/$as_me: WARNING: /" >&2
10811 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10813 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 eval "$as_ac_Header=\$ac_header_preproc"
10818 ac_res
=`eval echo '${'$as_ac_Header'}'`
10819 { echo "$as_me:$LINENO: result: $ac_res" >&5
10820 echo "${ECHO_T}$ac_res" >&6; }
10823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10824 cat >>confdefs.h
<<_ACEOF
10825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10827 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10828 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10829 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10832 ac_check_lib_save_LIBS
=$LIBS
10833 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10834 cat >conftest.
$ac_ext <<_ACEOF
10837 cat confdefs.h
>>conftest.
$ac_ext
10838 cat >>conftest.
$ac_ext <<_ACEOF
10839 /* end confdefs.h. */
10841 /* Override any GCC internal prototype to avoid an error.
10842 Use char because int might match the return type of a GCC
10843 builtin and then its argument prototype would still apply. */
10847 char xmlParseMemory ();
10851 return xmlParseMemory ();
10856 rm -f conftest.
$ac_objext conftest
$ac_exeext
10857 if { (ac_try
="$ac_link"
10858 case "(($ac_try" in
10859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10860 *) ac_try_echo=$ac_try;;
10862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10863 (eval "$ac_link") 2>conftest.er1
10865 grep -v '^ *+' conftest.er1 >conftest.err
10867 cat conftest.err >&5
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); } &&
10870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10871 { (case "(($ac_try" in
10872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10873 *) ac_try_echo
=$ac_try;;
10875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10876 (eval "$ac_try") 2>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; } &&
10880 { ac_try
='test -s conftest$ac_exeext'
10881 { (case "(($ac_try" in
10882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10883 *) ac_try_echo=$ac_try;;
10885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10886 (eval "$ac_try") 2>&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); }; }; then
10890 ac_cv_lib_xml2_xmlParseMemory=yes
10892 echo "$as_me: failed program was:" >&5
10893 sed 's/^/| /' conftest.$ac_ext >&5
10895 ac_cv_lib_xml2_xmlParseMemory=no
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_lib_save_LIBS
10902 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10903 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10904 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10906 cat >>confdefs.h <<\_ACEOF
10907 #define HAVE_LIBXML2 1
10910 XML2LIBS="$ac_xml_libs"
10911 XML2INCL="$ac_xml_cflags"
10914 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10915 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10916 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10917 echo $ECHO_N "(cached) $ECHO_C" >&6
10919 ac_check_lib_save_LIBS=$LIBS
10920 LIBS="-lxml2 $ac_xml_libs $LIBS"
10921 cat >conftest.$ac_ext <<_ACEOF
10924 cat confdefs.h >>conftest.$ac_ext
10925 cat >>conftest.$ac_ext <<_ACEOF
10926 /* end confdefs.h. */
10928 /* Override any GCC internal prototype to avoid an error.
10929 Use char because int might match the return type of a GCC
10930 builtin and then its argument prototype would still apply. */
10934 char xmlReadMemory ();
10938 return xmlReadMemory ();
10943 rm -f conftest.$ac_objext conftest$ac_exeext
10944 if { (ac_try="$ac_link"
10945 case "(($ac_try" in
10946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10947 *) ac_try_echo
=$ac_try;;
10949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10950 (eval "$ac_link") 2>conftest.er1
10952 grep -v '^ *+' conftest.er1
>conftest.err
10954 cat conftest.err
>&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); } &&
10957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10958 { (case "(($ac_try" in
10959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10960 *) ac_try_echo=$ac_try;;
10962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10963 (eval "$ac_try") 2>&5
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); }; } &&
10967 { ac_try='test -s conftest$ac_exeext'
10968 { (case "(($ac_try" in
10969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10970 *) ac_try_echo
=$ac_try;;
10972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10973 (eval "$ac_try") 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; }; then
10977 ac_cv_lib_xml2_xmlReadMemory
=yes
10979 echo "$as_me: failed program was:" >&5
10980 sed 's/^/| /' conftest.
$ac_ext >&5
10982 ac_cv_lib_xml2_xmlReadMemory
=no
10985 rm -f core conftest.err conftest.
$ac_objext \
10986 conftest
$ac_exeext conftest.
$ac_ext
10987 LIBS
=$ac_check_lib_save_LIBS
10989 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10990 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10991 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10993 cat >>confdefs.h
<<\_ACEOF
10994 #define HAVE_XMLREADMEMORY 1
11004 CPPFLAGS
="$ac_save_CPPFLAGS"
11005 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11006 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11007 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11010 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11012 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11013 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11015 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11016 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 cat >conftest.
$ac_ext <<_ACEOF
11021 cat confdefs.h
>>conftest.
$ac_ext
11022 cat >>conftest.
$ac_ext <<_ACEOF
11023 /* end confdefs.h. */
11024 #ifdef HAVE_LIBXSLT_PATTERN_H
11025 # include <libxslt/pattern.h>
11028 #include <$ac_header>
11030 rm -f conftest.
$ac_objext
11031 if { (ac_try
="$ac_compile"
11032 case "(($ac_try" in
11033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11034 *) ac_try_echo=$ac_try;;
11036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11037 (eval "$ac_compile") 2>conftest.er1
11039 grep -v '^ *+' conftest.er1 >conftest.err
11041 cat conftest.err >&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); } &&
11044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11045 { (case "(($ac_try" in
11046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11047 *) ac_try_echo
=$ac_try;;
11049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11050 (eval "$ac_try") 2>&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); }; } &&
11054 { ac_try
='test -s conftest.$ac_objext'
11055 { (case "(($ac_try" in
11056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11057 *) ac_try_echo=$ac_try;;
11059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11060 (eval "$ac_try") 2>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; }; then
11064 eval "$as_ac_Header=yes"
11066 echo "$as_me: failed program was:" >&5
11067 sed 's/^/| /' conftest.$ac_ext >&5
11069 eval "$as_ac_Header=no"
11072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11074 ac_res=`eval echo '${'$as_ac_Header'}'`
11075 { echo "$as_me:$LINENO: result: $ac_res" >&5
11076 echo "${ECHO_T}$ac_res" >&6; }
11077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11078 cat >>confdefs.h <<_ACEOF
11079 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11081 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11082 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11083 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11084 echo $ECHO_N "(cached) $ECHO_C" >&6
11086 ac_check_lib_save_LIBS=$LIBS
11087 LIBS="-lxslt $ac_xslt_libs $LIBS"
11088 cat >conftest.$ac_ext <<_ACEOF
11091 cat confdefs.h >>conftest.$ac_ext
11092 cat >>conftest.$ac_ext <<_ACEOF
11093 /* end confdefs.h. */
11095 /* Override any GCC internal prototype to avoid an error.
11096 Use char because int might match the return type of a GCC
11097 builtin and then its argument prototype would still apply. */
11101 char xsltCompilePattern ();
11105 return xsltCompilePattern ();
11110 rm -f conftest.$ac_objext conftest$ac_exeext
11111 if { (ac_try="$ac_link"
11112 case "(($ac_try" in
11113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11114 *) ac_try_echo
=$ac_try;;
11116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11117 (eval "$ac_link") 2>conftest.er1
11119 grep -v '^ *+' conftest.er1
>conftest.err
11121 cat conftest.err
>&5
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); } &&
11124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11125 { (case "(($ac_try" in
11126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11127 *) ac_try_echo=$ac_try;;
11129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11130 (eval "$ac_try") 2>&5
11132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11133 (exit $ac_status); }; } &&
11134 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11144 ac_cv_lib_xslt_xsltCompilePattern
=yes
11146 echo "$as_me: failed program was:" >&5
11147 sed 's/^/| /' conftest.
$ac_ext >&5
11149 ac_cv_lib_xslt_xsltCompilePattern
=no
11152 rm -f core conftest.err conftest.
$ac_objext \
11153 conftest
$ac_exeext conftest.
$ac_ext
11154 LIBS
=$ac_check_lib_save_LIBS
11156 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11157 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11158 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11160 cat >>confdefs.h
<<\_ACEOF
11161 #define HAVE_LIBXSLT 1
11164 XSLTLIBS
="$ac_xslt_libs"
11165 XSLTINCL
="$ac_xslt_cflags"
11173 CPPFLAGS
="$ac_save_CPPFLAGS"
11178 if test "$PKG_CONFIG" != "false"
11180 ac_save_CPPFLAGS
="$CPPFLAGS"
11181 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
11182 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11183 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
11186 for ac_header
in dbus
/dbus.h hal
/libhal.h
11188 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11189 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11190 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11192 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11195 ac_res
=`eval echo '${'$as_ac_Header'}'`
11196 { echo "$as_me:$LINENO: result: $ac_res" >&5
11197 echo "${ECHO_T}$ac_res" >&6; }
11199 # Is the header compilable?
11200 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11202 cat >conftest.
$ac_ext <<_ACEOF
11205 cat confdefs.h
>>conftest.
$ac_ext
11206 cat >>conftest.
$ac_ext <<_ACEOF
11207 /* end confdefs.h. */
11208 $ac_includes_default
11209 #include <$ac_header>
11211 rm -f conftest.
$ac_objext
11212 if { (ac_try
="$ac_compile"
11213 case "(($ac_try" in
11214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11215 *) ac_try_echo=$ac_try;;
11217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11218 (eval "$ac_compile") 2>conftest.er1
11220 grep -v '^ *+' conftest.er1 >conftest.err
11222 cat conftest.err >&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } &&
11225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11226 { (case "(($ac_try" in
11227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11228 *) ac_try_echo
=$ac_try;;
11230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11231 (eval "$ac_try") 2>&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); }; } &&
11235 { ac_try
='test -s conftest.$ac_objext'
11236 { (case "(($ac_try" in
11237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11238 *) ac_try_echo=$ac_try;;
11240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11241 (eval "$ac_try") 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 ac_header_compiler=yes
11247 echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.$ac_ext >&5
11250 ac_header_compiler=no
11253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11254 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11255 echo "${ECHO_T}$ac_header_compiler" >&6; }
11257 # Is the header present?
11258 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11259 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11260 cat >conftest.$ac_ext <<_ACEOF
11263 cat confdefs.h >>conftest.$ac_ext
11264 cat >>conftest.$ac_ext <<_ACEOF
11265 /* end confdefs.h. */
11266 #include <$ac_header>
11268 if { (ac_try="$ac_cpp conftest.$ac_ext"
11269 case "(($ac_try" in
11270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11271 *) ac_try_echo
=$ac_try;;
11273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11276 grep -v '^ *+' conftest.er1
>conftest.err
11278 cat conftest.err
>&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); } >/dev
/null
; then
11281 if test -s conftest.err
; then
11282 ac_cpp_err
=$ac_c_preproc_warn_flag
11283 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11290 if test -z "$ac_cpp_err"; then
11291 ac_header_preproc
=yes
11293 echo "$as_me: failed program was:" >&5
11294 sed 's/^/| /' conftest.
$ac_ext >&5
11296 ac_header_preproc
=no
11299 rm -f conftest.err conftest.
$ac_ext
11300 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11301 echo "${ECHO_T}$ac_header_preproc" >&6; }
11303 # So? What about this header?
11304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11310 ac_header_preproc
=yes
11313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11326 ## ------------------------------------ ##
11327 ## Report this to wine-devel@winehq.org ##
11328 ## ------------------------------------ ##
11330 ) |
sed "s/^/$as_me: WARNING: /" >&2
11333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11335 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11336 echo $ECHO_N "(cached) $ECHO_C" >&6
11338 eval "$as_ac_Header=\$ac_header_preproc"
11340 ac_res
=`eval echo '${'$as_ac_Header'}'`
11341 { echo "$as_me:$LINENO: result: $ac_res" >&5
11342 echo "${ECHO_T}$ac_res" >&6; }
11345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11346 cat >>confdefs.h
<<_ACEOF
11347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11354 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11356 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
11357 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
11358 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
11359 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 ac_check_lib_save_LIBS
=$LIBS
11363 cat >conftest.
$ac_ext <<_ACEOF
11366 cat confdefs.h
>>conftest.
$ac_ext
11367 cat >>conftest.
$ac_ext <<_ACEOF
11368 /* end confdefs.h. */
11370 /* Override any GCC internal prototype to avoid an error.
11371 Use char because int might match the return type of a GCC
11372 builtin and then its argument prototype would still apply. */
11376 char libhal_ctx_new ();
11380 return libhal_ctx_new ();
11385 rm -f conftest.
$ac_objext conftest
$ac_exeext
11386 if { (ac_try
="$ac_link"
11387 case "(($ac_try" in
11388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11389 *) ac_try_echo=$ac_try;;
11391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11392 (eval "$ac_link") 2>conftest.er1
11394 grep -v '^ *+' conftest.er1 >conftest.err
11396 cat conftest.err >&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); } &&
11399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11400 { (case "(($ac_try" in
11401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11402 *) ac_try_echo
=$ac_try;;
11404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11405 (eval "$ac_try") 2>&5
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); }; } &&
11409 { ac_try
='test -s conftest$ac_exeext'
11410 { (case "(($ac_try" in
11411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11412 *) ac_try_echo=$ac_try;;
11414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11415 (eval "$ac_try") 2>&5
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }; }; then
11419 ac_cv_lib_hal_libhal_ctx_new=yes
11421 echo "$as_me: failed program was:" >&5
11422 sed 's/^/| /' conftest.$ac_ext >&5
11424 ac_cv_lib_hal_libhal_ctx_new=no
11427 rm -f core conftest.err conftest.$ac_objext \
11428 conftest$ac_exeext conftest.$ac_ext
11429 LIBS=$ac_check_lib_save_LIBS
11431 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
11432 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
11433 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
11434 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11435 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11436 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11437 echo $ECHO_N "(cached) $ECHO_C" >&6
11439 ac_check_lib_save_LIBS=$LIBS
11440 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11441 cat >conftest.$ac_ext <<_ACEOF
11444 cat confdefs.h >>conftest.$ac_ext
11445 cat >>conftest.$ac_ext <<_ACEOF
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11454 char dbus_connection_close ();
11458 return dbus_connection_close ();
11463 rm -f conftest.$ac_objext conftest$ac_exeext
11464 if { (ac_try="$ac_link"
11465 case "(($ac_try" in
11466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11467 *) ac_try_echo
=$ac_try;;
11469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11470 (eval "$ac_link") 2>conftest.er1
11472 grep -v '^ *+' conftest.er1
>conftest.err
11474 cat conftest.err
>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); } &&
11477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11478 { (case "(($ac_try" in
11479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11480 *) ac_try_echo=$ac_try;;
11482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11483 (eval "$ac_try") 2>&5
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); }; } &&
11487 { ac_try='test -s conftest$ac_exeext'
11488 { (case "(($ac_try" in
11489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11490 *) ac_try_echo
=$ac_try;;
11492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11493 (eval "$ac_try") 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; }; then
11497 ac_cv_lib_dbus_1_dbus_connection_close
=yes
11499 echo "$as_me: failed program was:" >&5
11500 sed 's/^/| /' conftest.
$ac_ext >&5
11502 ac_cv_lib_dbus_1_dbus_connection_close
=no
11505 rm -f core conftest.err conftest.
$ac_objext \
11506 conftest
$ac_exeext conftest.
$ac_ext
11507 LIBS
=$ac_check_lib_save_LIBS
11509 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11510 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11511 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11513 cat >>confdefs.h
<<\_ACEOF
11514 #define HAVE_LIBHAL 1
11517 HALINCL
="$ac_hal_cflags"
11523 CPPFLAGS
="$ac_save_CPPFLAGS"
11527 if test "x$with_curses" != "xno"
11529 if test "$ac_cv_header_ncurses_h" = "yes"
11531 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11532 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11533 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11534 echo $ECHO_N "(cached) $ECHO_C" >&6
11536 ac_check_lib_save_LIBS
=$LIBS
11537 LIBS
="-lncurses $LIBS"
11538 cat >conftest.
$ac_ext <<_ACEOF
11541 cat confdefs.h
>>conftest.
$ac_ext
11542 cat >>conftest.
$ac_ext <<_ACEOF
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11560 rm -f conftest.
$ac_objext conftest
$ac_exeext
11561 if { (ac_try
="$ac_link"
11562 case "(($ac_try" in
11563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11564 *) ac_try_echo=$ac_try;;
11566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11567 (eval "$ac_link") 2>conftest.er1
11569 grep -v '^ *+' conftest.er1 >conftest.err
11571 cat conftest.err >&5
11572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11573 (exit $ac_status); } &&
11574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11575 { (case "(($ac_try" in
11576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11577 *) ac_try_echo
=$ac_try;;
11579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11580 (eval "$ac_try") 2>&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); }; } &&
11584 { ac_try
='test -s conftest$ac_exeext'
11585 { (case "(($ac_try" in
11586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11587 *) ac_try_echo=$ac_try;;
11589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11590 (eval "$ac_try") 2>&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); }; }; then
11594 ac_cv_lib_ncurses_waddch=yes
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.$ac_ext >&5
11599 ac_cv_lib_ncurses_waddch=no
11602 rm -f core conftest.err conftest.$ac_objext \
11603 conftest$ac_exeext conftest.$ac_ext
11604 LIBS=$ac_check_lib_save_LIBS
11606 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11607 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11608 if test $ac_cv_lib_ncurses_waddch = yes; then
11610 cat >>confdefs.h <<\_ACEOF
11611 #define HAVE_LIBNCURSES 1
11614 CURSESLIBS="-lncurses"
11617 elif test "$ac_cv_header_curses_h" = "yes"
11619 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11620 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11621 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11624 ac_check_lib_save_LIBS=$LIBS
11625 LIBS="-lcurses $LIBS"
11626 cat >conftest.$ac_ext <<_ACEOF
11629 cat confdefs.h >>conftest.$ac_ext
11630 cat >>conftest.$ac_ext <<_ACEOF
11631 /* end confdefs.h. */
11633 /* Override any GCC internal prototype to avoid an error.
11634 Use char because int might match the return type of a GCC
11635 builtin and then its argument prototype would still apply. */
11648 rm -f conftest.$ac_objext conftest$ac_exeext
11649 if { (ac_try="$ac_link"
11650 case "(($ac_try" in
11651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11652 *) ac_try_echo
=$ac_try;;
11654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11655 (eval "$ac_link") 2>conftest.er1
11657 grep -v '^ *+' conftest.er1
>conftest.err
11659 cat conftest.err
>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } &&
11662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11663 { (case "(($ac_try" in
11664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11665 *) ac_try_echo=$ac_try;;
11667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11668 (eval "$ac_try") 2>&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); }; } &&
11672 { ac_try='test -s conftest$ac_exeext'
11673 { (case "(($ac_try" in
11674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11675 *) ac_try_echo
=$ac_try;;
11677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11678 (eval "$ac_try") 2>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; }; then
11682 ac_cv_lib_curses_waddch
=yes
11684 echo "$as_me: failed program was:" >&5
11685 sed 's/^/| /' conftest.
$ac_ext >&5
11687 ac_cv_lib_curses_waddch
=no
11690 rm -f core conftest.err conftest.
$ac_objext \
11691 conftest
$ac_exeext conftest.
$ac_ext
11692 LIBS
=$ac_check_lib_save_LIBS
11694 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11695 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11696 if test $ac_cv_lib_curses_waddch = yes; then
11698 cat >>confdefs.h
<<\_ACEOF
11699 #define HAVE_LIBCURSES 1
11702 CURSESLIBS
="-lcurses"
11706 ac_save_LIBS
="$LIBS"
11707 LIBS
="$LIBS $CURSESLIBS"
11709 for ac_func
in mousemask
11711 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11712 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11714 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11717 cat >conftest.
$ac_ext <<_ACEOF
11720 cat confdefs.h
>>conftest.
$ac_ext
11721 cat >>conftest.
$ac_ext <<_ACEOF
11722 /* end confdefs.h. */
11723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11725 #define $ac_func innocuous_$ac_func
11727 /* System header to define __stub macros and hopefully few prototypes,
11728 which can conflict with char $ac_func (); below.
11729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11730 <limits.h> exists even on freestanding compilers. */
11733 # include <limits.h>
11735 # include <assert.h>
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11747 /* The GNU C library defines this for functions which it implements
11748 to always fail with ENOSYS. Some functions are actually named
11749 something starting with __ and the normal name is an alias. */
11750 #if defined __stub_$ac_func || defined __stub___$ac_func
11757 return $ac_func ();
11762 rm -f conftest.
$ac_objext conftest
$ac_exeext
11763 if { (ac_try
="$ac_link"
11764 case "(($ac_try" in
11765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11766 *) ac_try_echo=$ac_try;;
11768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11769 (eval "$ac_link") 2>conftest.er1
11771 grep -v '^ *+' conftest.er1 >conftest.err
11773 cat conftest.err >&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); } &&
11776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11777 { (case "(($ac_try" in
11778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11779 *) ac_try_echo
=$ac_try;;
11781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11782 (eval "$ac_try") 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; } &&
11786 { ac_try
='test -s conftest$ac_exeext'
11787 { (case "(($ac_try" in
11788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11789 *) ac_try_echo=$ac_try;;
11791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11792 (eval "$ac_try") 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; }; then
11796 eval "$as_ac_var=yes"
11798 echo "$as_me: failed program was:" >&5
11799 sed 's/^/| /' conftest.$ac_ext >&5
11801 eval "$as_ac_var=no"
11804 rm -f core conftest.err conftest.$ac_objext \
11805 conftest$ac_exeext conftest.$ac_ext
11807 ac_res=`eval echo '${'$as_ac_var'}'`
11808 { echo "$as_me:$LINENO: result: $ac_res" >&5
11809 echo "${ECHO_T}$ac_res" >&6; }
11810 if test `eval echo '${'$as_ac_var'}'` = yes; then
11811 cat >>confdefs.h <<_ACEOF
11812 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11818 LIBS="$ac_save_LIBS"
11822 # Extract the first word of "sane-config", so it can be a program name with args.
11823 set dummy sane-config; ac_word=$2
11824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11826 if test "${ac_cv_prog_sane_devel+set}" = set; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11829 if test -n "$sane_devel"; then
11830 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11833 for as_dir in $PATH
11836 test -z "$as_dir" && as_dir=.
11837 for ac_exec_ext in '' $ac_executable_extensions; do
11838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11839 ac_cv_prog_sane_devel="sane-config"
11840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11847 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11850 sane_devel=$ac_cv_prog_sane_devel
11851 if test -n "$sane_devel"; then
11852 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11853 echo "${ECHO_T}$sane_devel" >&6; }
11855 { echo "$as_me:$LINENO: result: no" >&5
11856 echo "${ECHO_T}no" >&6; }
11864 if test "$sane_devel" != "no"
11866 SANELIBS="`$sane_devel --libs`"
11867 SANEINCL="`$sane_devel --cflags`"
11868 ac_save_CPPFLAGS="$CPPFLAGS"
11869 ac_save_LIBS="$LIBS"
11870 CPPFLAGS="$CPPFLAGS $SANEINCL"
11871 LIBS="$LIBS $SANELIBS"
11872 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11873 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11874 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11875 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11878 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11879 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11881 # Is the header compilable?
11882 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11883 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11884 cat >conftest.$ac_ext <<_ACEOF
11887 cat confdefs.h >>conftest.$ac_ext
11888 cat >>conftest.$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11890 $ac_includes_default
11891 #include <sane/sane.h>
11893 rm -f conftest.$ac_objext
11894 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
11902 grep -v '^ *+' conftest.er1
>conftest.err
11904 cat conftest.err
>&5
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); } &&
11907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11908 { (case "(($ac_try" in
11909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11910 *) ac_try_echo=$ac_try;;
11912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11913 (eval "$ac_try") 2>&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); }; } &&
11917 { ac_try='test -s conftest.$ac_objext'
11918 { (case "(($ac_try" in
11919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11920 *) ac_try_echo
=$ac_try;;
11922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11923 (eval "$ac_try") 2>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); }; }; then
11927 ac_header_compiler
=yes
11929 echo "$as_me: failed program was:" >&5
11930 sed 's/^/| /' conftest.
$ac_ext >&5
11932 ac_header_compiler
=no
11935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11936 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11937 echo "${ECHO_T}$ac_header_compiler" >&6; }
11939 # Is the header present?
11940 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11941 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11942 cat >conftest.
$ac_ext <<_ACEOF
11945 cat confdefs.h
>>conftest.
$ac_ext
11946 cat >>conftest.
$ac_ext <<_ACEOF
11947 /* end confdefs.h. */
11948 #include <sane/sane.h>
11950 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11951 case "(($ac_try" in
11952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11953 *) ac_try_echo=$ac_try;;
11955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11958 grep -v '^ *+' conftest.er1 >conftest.err
11960 cat conftest.err >&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); } >/dev/null; then
11963 if test -s conftest.err; then
11964 ac_cpp_err=$ac_c_preproc_warn_flag
11965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11972 if test -z "$ac_cpp_err"; then
11973 ac_header_preproc=yes
11975 echo "$as_me: failed program was:" >&5
11976 sed 's/^/| /' conftest.$ac_ext >&5
11978 ac_header_preproc=no
11981 rm -f conftest.err conftest.$ac_ext
11982 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11983 echo "${ECHO_T}$ac_header_preproc" >&6; }
11985 # So? What about this header?
11986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11988 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11989 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11990 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11991 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11992 ac_header_preproc=yes
11995 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11996 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11997 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11998 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11999 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12000 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12001 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12002 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12003 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12004 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12005 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12006 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12008 ## ------------------------------------ ##
12009 ## Report this to wine-devel@winehq.org ##
12010 ## ------------------------------------ ##
12012 ) | sed "s/^/$as_me: WARNING: /" >&2
12015 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12016 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12017 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12018 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 ac_cv_header_sane_sane_h=$ac_header_preproc
12022 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12023 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12026 if test $ac_cv_header_sane_sane_h = yes; then
12027 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
12028 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
12029 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 ac_check_lib_save_LIBS=$LIBS
12033 LIBS="-lsane $LIBS"
12034 cat >conftest.$ac_ext <<_ACEOF
12037 cat confdefs.h >>conftest.$ac_ext
12038 cat >>conftest.$ac_ext <<_ACEOF
12039 /* end confdefs.h. */
12041 /* Override any GCC internal prototype to avoid an error.
12042 Use char because int might match the return type of a GCC
12043 builtin and then its argument prototype would still apply. */
12051 return sane_open ();
12056 rm -f conftest.$ac_objext conftest$ac_exeext
12057 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
12065 grep -v '^ *+' conftest.er1
>conftest.err
12067 cat conftest.err
>&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); } &&
12070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12071 { (case "(($ac_try" in
12072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12073 *) ac_try_echo=$ac_try;;
12075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12076 (eval "$ac_try") 2>&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); }; } &&
12080 { ac_try='test -s conftest$ac_exeext'
12081 { (case "(($ac_try" in
12082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12083 *) ac_try_echo
=$ac_try;;
12085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12086 (eval "$ac_try") 2>&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); }; }; then
12090 ac_cv_lib_sane_sane_open
=yes
12092 echo "$as_me: failed program was:" >&5
12093 sed 's/^/| /' conftest.
$ac_ext >&5
12095 ac_cv_lib_sane_sane_open
=no
12098 rm -f core conftest.err conftest.
$ac_objext \
12099 conftest
$ac_exeext conftest.
$ac_ext
12100 LIBS
=$ac_check_lib_save_LIBS
12102 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
12103 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
12104 if test $ac_cv_lib_sane_sane_open = yes; then
12106 cat >>confdefs.h
<<\_ACEOF
12107 #define HAVE_SANE 1
12121 LIBS
="$ac_save_LIBS"
12122 CPPFLAGS
="$ac_save_CPPFLAGS"
12125 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12126 set dummy gphoto2-config
; ac_word
=$2
12127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12129 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12130 echo $ECHO_N "(cached) $ECHO_C" >&6
12132 if test -n "$gphoto2_devel"; then
12133 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12136 for as_dir
in $PATH
12139 test -z "$as_dir" && as_dir
=.
12140 for ac_exec_ext
in '' $ac_executable_extensions; do
12141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12142 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12150 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12153 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12154 if test -n "$gphoto2_devel"; then
12155 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12156 echo "${ECHO_T}$gphoto2_devel" >&6; }
12158 { echo "$as_me:$LINENO: result: no" >&5
12159 echo "${ECHO_T}no" >&6; }
12163 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12164 set dummy gphoto2-port-config
; ac_word
=$2
12165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12167 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 if test -n "$gphoto2port_devel"; then
12171 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12174 for as_dir
in $PATH
12177 test -z "$as_dir" && as_dir
=.
12178 for ac_exec_ext
in '' $ac_executable_extensions; do
12179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12180 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12188 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12191 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12192 if test -n "$gphoto2port_devel"; then
12193 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12194 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12196 { echo "$as_me:$LINENO: result: no" >&5
12197 echo "${ECHO_T}no" >&6; }
12205 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12207 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12209 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12212 -L/usr
/lib|
-L/usr
/lib64
) ;;
12213 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
12216 ac_save_CPPFLAGS
="$CPPFLAGS"
12217 ac_save_LIBS
="$LIBS"
12218 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
12219 LIBS
="$LIBS $GPHOTO2LIBS"
12220 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12221 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12222 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12223 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12227 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12229 # Is the header compilable?
12230 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12231 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12232 cat >conftest.
$ac_ext <<_ACEOF
12235 cat confdefs.h
>>conftest.
$ac_ext
12236 cat >>conftest.
$ac_ext <<_ACEOF
12237 /* end confdefs.h. */
12238 $ac_includes_default
12239 #include <gphoto2-camera.h>
12241 rm -f conftest.
$ac_objext
12242 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
12250 grep -v '^ *+' conftest.er1 >conftest.err
12252 cat conftest.err >&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } &&
12255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12256 { (case "(($ac_try" in
12257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12258 *) ac_try_echo
=$ac_try;;
12260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12261 (eval "$ac_try") 2>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; } &&
12265 { ac_try
='test -s conftest.$ac_objext'
12266 { (case "(($ac_try" in
12267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12268 *) ac_try_echo=$ac_try;;
12270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12271 (eval "$ac_try") 2>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; }; then
12275 ac_header_compiler=yes
12277 echo "$as_me: failed program was:" >&5
12278 sed 's/^/| /' conftest.$ac_ext >&5
12280 ac_header_compiler=no
12283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12284 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12285 echo "${ECHO_T}$ac_header_compiler" >&6; }
12287 # Is the header present?
12288 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12289 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12290 cat >conftest.$ac_ext <<_ACEOF
12293 cat confdefs.h >>conftest.$ac_ext
12294 cat >>conftest.$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12296 #include <gphoto2-camera.h>
12298 if { (ac_try="$ac_cpp conftest.$ac_ext"
12299 case "(($ac_try" in
12300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12301 *) ac_try_echo
=$ac_try;;
12303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12304 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12306 grep -v '^ *+' conftest.er1
>conftest.err
12308 cat conftest.err
>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); } >/dev
/null
; then
12311 if test -s conftest.err
; then
12312 ac_cpp_err
=$ac_c_preproc_warn_flag
12313 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12320 if test -z "$ac_cpp_err"; then
12321 ac_header_preproc
=yes
12323 echo "$as_me: failed program was:" >&5
12324 sed 's/^/| /' conftest.
$ac_ext >&5
12326 ac_header_preproc
=no
12329 rm -f conftest.err conftest.
$ac_ext
12330 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12331 echo "${ECHO_T}$ac_header_preproc" >&6; }
12333 # So? What about this header?
12334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12336 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12337 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12338 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12339 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12340 ac_header_preproc
=yes
12343 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12344 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12345 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12346 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12347 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12348 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12349 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12350 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12351 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12352 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12353 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12354 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12356 ## ------------------------------------ ##
12357 ## Report this to wine-devel@winehq.org ##
12358 ## ------------------------------------ ##
12360 ) |
sed "s/^/$as_me: WARNING: /" >&2
12363 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12364 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12365 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12368 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12370 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12371 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12374 if test $ac_cv_header_gphoto2_camera_h = yes; then
12375 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12376 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12377 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12378 echo $ECHO_N "(cached) $ECHO_C" >&6
12380 ac_check_lib_save_LIBS
=$LIBS
12381 LIBS
="-lgphoto2 $LIBS"
12382 cat >conftest.
$ac_ext <<_ACEOF
12385 cat confdefs.h
>>conftest.
$ac_ext
12386 cat >>conftest.
$ac_ext <<_ACEOF
12387 /* end confdefs.h. */
12389 /* Override any GCC internal prototype to avoid an error.
12390 Use char because int might match the return type of a GCC
12391 builtin and then its argument prototype would still apply. */
12395 char gp_camera_new ();
12399 return gp_camera_new ();
12404 rm -f conftest.
$ac_objext conftest
$ac_exeext
12405 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
12413 grep -v '^ *+' conftest.er1 >conftest.err
12415 cat conftest.err >&5
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 (exit $ac_status); } &&
12418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12419 { (case "(($ac_try" in
12420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12421 *) ac_try_echo
=$ac_try;;
12423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12424 (eval "$ac_try") 2>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); }; } &&
12428 { ac_try
='test -s conftest$ac_exeext'
12429 { (case "(($ac_try" in
12430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12431 *) ac_try_echo=$ac_try;;
12433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12434 (eval "$ac_try") 2>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; }; then
12438 ac_cv_lib_gphoto2_gp_camera_new=yes
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.$ac_ext >&5
12443 ac_cv_lib_gphoto2_gp_camera_new=no
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 LIBS=$ac_check_lib_save_LIBS
12450 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12451 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12452 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12454 cat >>confdefs.h <<\_ACEOF
12455 #define HAVE_GPHOTO2 1
12469 LIBS="$ac_save_LIBS"
12470 CPPFLAGS="$ac_save_CPPFLAGS"
12473 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12476 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
12478 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
12479 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
12480 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
12481 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
12482 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12483 cat >conftest.$ac_ext <<_ACEOF
12486 cat confdefs.h >>conftest.$ac_ext
12487 cat >>conftest.$ac_ext <<_ACEOF
12488 /* end confdefs.h. */
12489 #include <unicode/ubidi.h>
12498 rm -f conftest.$ac_objext conftest$ac_exeext
12499 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
12507 grep -v '^ *+' conftest.er1
>conftest.err
12509 cat conftest.err
>&5
12510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12511 (exit $ac_status); } &&
12512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12513 { (case "(($ac_try" in
12514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12515 *) ac_try_echo=$ac_try;;
12517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12518 (eval "$ac_try") 2>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; } &&
12522 { ac_try='test -s conftest$ac_exeext'
12523 { (case "(($ac_try" in
12524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12525 *) ac_try_echo
=$ac_try;;
12527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12528 (eval "$ac_try") 2>&5
12530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531 (exit $ac_status); }; }; then
12533 cat >>confdefs.h
<<\_ACEOF
12537 ICULIBS
="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12539 { echo "$as_me:$LINENO: result: yes" >&5
12540 echo "${ECHO_T}yes" >&6; }
12542 echo "$as_me: failed program was:" >&5
12543 sed 's/^/| /' conftest.
$ac_ext >&5
12545 { echo "$as_me:$LINENO: result: no" >&5
12546 echo "${ECHO_T}no" >&6; }
12549 rm -f core conftest.err conftest.
$ac_objext \
12550 conftest
$ac_exeext conftest.
$ac_ext
12557 if test "$ac_cv_header_resolv_h" = "yes"
12559 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12560 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12561 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12562 echo $ECHO_N "(cached) $ECHO_C" >&6
12564 ac_check_lib_save_LIBS
=$LIBS
12565 LIBS
="-lresolv $LIBS"
12566 cat >conftest.
$ac_ext <<_ACEOF
12569 cat confdefs.h
>>conftest.
$ac_ext
12570 cat >>conftest.
$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12573 /* Override any GCC internal prototype to avoid an error.
12574 Use char because int might match the return type of a GCC
12575 builtin and then its argument prototype would still apply. */
12583 return res_query ();
12588 rm -f conftest.
$ac_objext conftest
$ac_exeext
12589 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
12597 grep -v '^ *+' conftest.er1 >conftest.err
12599 cat conftest.err >&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); } &&
12602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12603 { (case "(($ac_try" in
12604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12605 *) ac_try_echo
=$ac_try;;
12607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12608 (eval "$ac_try") 2>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); }; } &&
12612 { ac_try
='test -s conftest$ac_exeext'
12613 { (case "(($ac_try" in
12614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12615 *) ac_try_echo=$ac_try;;
12617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12618 (eval "$ac_try") 2>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; }; then
12622 ac_cv_lib_resolv_res_query=yes
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12627 ac_cv_lib_resolv_res_query=no
12630 rm -f core conftest.err conftest.$ac_objext \
12631 conftest$ac_exeext conftest.$ac_ext
12632 LIBS=$ac_check_lib_save_LIBS
12634 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12635 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12636 if test $ac_cv_lib_resolv_res_query = yes; then
12638 cat >>confdefs.h <<\_ACEOF
12639 #define HAVE_RESOLV 1
12642 RESOLVLIBS="-lresolv"
12649 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12651 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12652 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12653 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12654 echo $ECHO_N "(cached) $ECHO_C" >&6
12656 ac_check_lib_save_LIBS=$LIBS
12657 LIBS="-llcms $LIBS"
12658 cat >conftest.$ac_ext <<_ACEOF
12661 cat confdefs.h >>conftest.$ac_ext
12662 cat >>conftest.$ac_ext <<_ACEOF
12663 /* end confdefs.h. */
12665 /* Override any GCC internal prototype to avoid an error.
12666 Use char because int might match the return type of a GCC
12667 builtin and then its argument prototype would still apply. */
12671 char cmsOpenProfileFromFile ();
12675 return cmsOpenProfileFromFile ();
12680 rm -f conftest.$ac_objext conftest$ac_exeext
12681 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
12689 grep -v '^ *+' conftest.er1
>conftest.err
12691 cat conftest.err
>&5
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); } &&
12694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12695 { (case "(($ac_try" in
12696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12697 *) ac_try_echo=$ac_try;;
12699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12700 (eval "$ac_try") 2>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; } &&
12704 { ac_try='test -s conftest$ac_exeext'
12705 { (case "(($ac_try" in
12706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12707 *) ac_try_echo
=$ac_try;;
12709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12710 (eval "$ac_try") 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; }; then
12714 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
12716 echo "$as_me: failed program was:" >&5
12717 sed 's/^/| /' conftest.
$ac_ext >&5
12719 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
12722 rm -f core conftest.err conftest.
$ac_objext \
12723 conftest
$ac_exeext conftest.
$ac_ext
12724 LIBS
=$ac_check_lib_save_LIBS
12726 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12727 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12728 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12730 cat >>confdefs.h
<<\_ACEOF
12731 #define HAVE_LCMS 1
12741 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12743 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12744 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12745 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12746 echo $ECHO_N "(cached) $ECHO_C" >&6
12748 ac_check_lib_save_LIBS
=$LIBS
12749 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12750 cat >conftest.
$ac_ext <<_ACEOF
12753 cat confdefs.h
>>conftest.
$ac_ext
12754 cat >>conftest.
$ac_ext <<_ACEOF
12755 /* end confdefs.h. */
12757 /* Override any GCC internal prototype to avoid an error.
12758 Use char because int might match the return type of a GCC
12759 builtin and then its argument prototype would still apply. */
12763 char ldap_initialize ();
12767 return ldap_initialize ();
12772 rm -f conftest.
$ac_objext conftest
$ac_exeext
12773 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
12781 grep -v '^ *+' conftest.er1 >conftest.err
12783 cat conftest.err >&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } &&
12786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12787 { (case "(($ac_try" in
12788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12789 *) ac_try_echo
=$ac_try;;
12791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12792 (eval "$ac_try") 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; } &&
12796 { ac_try
='test -s conftest$ac_exeext'
12797 { (case "(($ac_try" in
12798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12799 *) ac_try_echo=$ac_try;;
12801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12802 (eval "$ac_try") 2>&5
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); }; }; then
12806 ac_cv_lib_ldap_r_ldap_initialize=yes
12808 echo "$as_me: failed program was:" >&5
12809 sed 's/^/| /' conftest.$ac_ext >&5
12811 ac_cv_lib_ldap_r_ldap_initialize=no
12814 rm -f core conftest.err conftest.$ac_objext \
12815 conftest$ac_exeext conftest.$ac_ext
12816 LIBS=$ac_check_lib_save_LIBS
12818 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12819 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12820 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12821 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12822 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12823 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12824 echo $ECHO_N "(cached) $ECHO_C" >&6
12826 ac_check_lib_save_LIBS=$LIBS
12827 LIBS="-llber $LIBPTHREAD $LIBS"
12828 cat >conftest.$ac_ext <<_ACEOF
12831 cat confdefs.h >>conftest.$ac_ext
12832 cat >>conftest.$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12835 /* Override any GCC internal prototype to avoid an error.
12836 Use char because int might match the return type of a GCC
12837 builtin and then its argument prototype would still apply. */
12845 return ber_init ();
12850 rm -f conftest.$ac_objext conftest$ac_exeext
12851 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
12859 grep -v '^ *+' conftest.er1
>conftest.err
12861 cat conftest.err
>&5
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); } &&
12864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12865 { (case "(($ac_try" in
12866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12867 *) ac_try_echo=$ac_try;;
12869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12870 (eval "$ac_try") 2>&5
12872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873 (exit $ac_status); }; } &&
12874 { ac_try='test -s conftest$ac_exeext'
12875 { (case "(($ac_try" in
12876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12877 *) ac_try_echo
=$ac_try;;
12879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12880 (eval "$ac_try") 2>&5
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); }; }; then
12884 ac_cv_lib_lber_ber_init
=yes
12886 echo "$as_me: failed program was:" >&5
12887 sed 's/^/| /' conftest.
$ac_ext >&5
12889 ac_cv_lib_lber_ber_init
=no
12892 rm -f core conftest.err conftest.
$ac_objext \
12893 conftest
$ac_exeext conftest.
$ac_ext
12894 LIBS
=$ac_check_lib_save_LIBS
12896 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12897 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12898 if test $ac_cv_lib_lber_ber_init = yes; then
12900 cat >>confdefs.h
<<\_ACEOF
12901 #define HAVE_LDAP 1
12904 LDAPLIBS
="-lldap_r -llber"
12909 ac_wine_check_funcs_save_LIBS
="$LIBS"
12910 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12916 ldap_count_references \
12917 ldap_first_reference \
12918 ldap_next_reference \
12919 ldap_parse_reference
12921 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12922 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12924 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12925 echo $ECHO_N "(cached) $ECHO_C" >&6
12927 cat >conftest.
$ac_ext <<_ACEOF
12930 cat confdefs.h
>>conftest.
$ac_ext
12931 cat >>conftest.
$ac_ext <<_ACEOF
12932 /* end confdefs.h. */
12933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12935 #define $ac_func innocuous_$ac_func
12937 /* System header to define __stub macros and hopefully few prototypes,
12938 which can conflict with char $ac_func (); below.
12939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12940 <limits.h> exists even on freestanding compilers. */
12943 # include <limits.h>
12945 # include <assert.h>
12950 /* Override any GCC internal prototype to avoid an error.
12951 Use char because int might match the return type of a GCC
12952 builtin and then its argument prototype would still apply. */
12957 /* The GNU C library defines this for functions which it implements
12958 to always fail with ENOSYS. Some functions are actually named
12959 something starting with __ and the normal name is an alias. */
12960 #if defined __stub_$ac_func || defined __stub___$ac_func
12967 return $ac_func ();
12972 rm -f conftest.
$ac_objext conftest
$ac_exeext
12973 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
12981 grep -v '^ *+' conftest.er1 >conftest.err
12983 cat conftest.err >&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); } &&
12986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12987 { (case "(($ac_try" in
12988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12989 *) ac_try_echo
=$ac_try;;
12991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12992 (eval "$ac_try") 2>&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; } &&
12996 { ac_try
='test -s conftest$ac_exeext'
12997 { (case "(($ac_try" in
12998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12999 *) ac_try_echo=$ac_try;;
13001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13002 (eval "$ac_try") 2>&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); }; }; then
13006 eval "$as_ac_var=yes"
13008 echo "$as_me: failed program was:" >&5
13009 sed 's/^/| /' conftest.$ac_ext >&5
13011 eval "$as_ac_var=no"
13014 rm -f core conftest.err conftest.$ac_objext \
13015 conftest$ac_exeext conftest.$ac_ext
13017 ac_res=`eval echo '${'$as_ac_var'}'`
13018 { echo "$as_me:$LINENO: result: $ac_res" >&5
13019 echo "${ECHO_T}$ac_res" >&6; }
13020 if test `eval echo '${'$as_ac_var'}'` = yes; then
13021 cat >>confdefs.h <<_ACEOF
13022 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13028 LIBS="$ac_wine_check_funcs_save_LIBS"
13035 # Extract the first word of "freetype-config", so it can be a program name with args.
13036 set dummy freetype-config; ac_word=$2
13037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13039 if test "${ac_cv_prog_ft_devel+set}" = set; then
13040 echo $ECHO_N "(cached) $ECHO_C" >&6
13042 if test -n "$ft_devel"; then
13043 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13046 for as_dir in $PATH
13049 test -z "$as_dir" && as_dir=.
13050 for ac_exec_ext in '' $ac_executable_extensions; do
13051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13052 ac_cv_prog_ft_devel="freetype-config"
13053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13060 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
13063 ft_devel=$ac_cv_prog_ft_devel
13064 if test -n "$ft_devel"; then
13065 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13066 echo "${ECHO_T}$ft_devel" >&6; }
13068 { echo "$as_me:$LINENO: result: no" >&5
13069 echo "${ECHO_T}no" >&6; }
13073 if test "$ft_devel" = "no"
13075 # Extract the first word of "freetype2-config", so it can be a program name with args.
13076 set dummy freetype2-config; ac_word=$2
13077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13079 if test "${ac_cv_prog_ft_devel2+set}" = set; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 if test -n "$ft_devel2"; then
13083 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
13085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13086 for as_dir in $PATH
13089 test -z "$as_dir" && as_dir=.
13090 for ac_exec_ext in '' $ac_executable_extensions; do
13091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13092 ac_cv_prog_ft_devel2="freetype2-config"
13093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13100 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
13103 ft_devel2=$ac_cv_prog_ft_devel2
13104 if test -n "$ft_devel2"; then
13105 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
13106 echo "${ECHO_T}$ft_devel2" >&6; }
13108 { echo "$as_me:$LINENO: result: no" >&5
13109 echo "${ECHO_T}no" >&6; }
13113 if test "$ft_devel2" = "freetype2-config"
13115 ft_devel=$ft_devel2
13119 if test "$ft_devel" = "no"
13121 wine_cv_msg_freetype=yes
13123 FREETYPELIBS=`$ft_devel --libs`
13124 FREETYPEINCL=`$ft_devel --cflags`
13125 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
13126 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
13127 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
13128 echo $ECHO_N "(cached) $ECHO_C" >&6
13130 ac_check_lib_save_LIBS=$LIBS
13131 LIBS="-lfreetype $FREETYPELIBS $LIBS"
13132 cat >conftest.$ac_ext <<_ACEOF
13135 cat confdefs.h >>conftest.$ac_ext
13136 cat >>conftest.$ac_ext <<_ACEOF
13137 /* end confdefs.h. */
13139 /* Override any GCC internal prototype to avoid an error.
13140 Use char because int might match the return type of a GCC
13141 builtin and then its argument prototype would still apply. */
13145 char FT_Init_FreeType ();
13149 return FT_Init_FreeType ();
13154 rm -f conftest.$ac_objext conftest$ac_exeext
13155 if { (ac_try="$ac_link"
13156 case "(($ac_try" in
13157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13158 *) ac_try_echo
=$ac_try;;
13160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13161 (eval "$ac_link") 2>conftest.er1
13163 grep -v '^ *+' conftest.er1
>conftest.err
13165 cat conftest.err
>&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); } &&
13168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13169 { (case "(($ac_try" in
13170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13171 *) ac_try_echo=$ac_try;;
13173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13174 (eval "$ac_try") 2>&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); }; } &&
13178 { ac_try='test -s conftest$ac_exeext'
13179 { (case "(($ac_try" in
13180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13181 *) ac_try_echo
=$ac_try;;
13183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13184 (eval "$ac_try") 2>&5
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); }; }; then
13188 ac_cv_lib_freetype_FT_Init_FreeType
=yes
13190 echo "$as_me: failed program was:" >&5
13191 sed 's/^/| /' conftest.
$ac_ext >&5
13193 ac_cv_lib_freetype_FT_Init_FreeType
=no
13196 rm -f core conftest.err conftest.
$ac_objext \
13197 conftest
$ac_exeext conftest.
$ac_ext
13198 LIBS
=$ac_check_lib_save_LIBS
13200 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
13201 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
13202 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
13208 if test "$ft_lib" = "no"
13210 wine_cv_msg_freetype
=yes
13214 ac_save_CPPFLAGS
="$CPPFLAGS"
13215 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
13227 for ac_header
in ft2build.h \
13228 freetype
/freetype.h \
13229 freetype
/ftglyph.h \
13230 freetype
/tttables.h \
13231 freetype
/ftnames.h \
13232 freetype
/ftsnames.h \
13233 freetype
/ttnameid.h \
13234 freetype
/ftoutln.h \
13235 freetype
/ftwinfnt.h \
13236 freetype
/ftmodapi.h \
13237 freetype
/internal
/sfnt.h
13239 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13240 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13242 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13243 echo $ECHO_N "(cached) $ECHO_C" >&6
13245 cat >conftest.
$ac_ext <<_ACEOF
13248 cat confdefs.h
>>conftest.
$ac_ext
13249 cat >>conftest.
$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13251 #if HAVE_FT2BUILD_H
13252 #include <ft2build.h>
13255 #include <$ac_header>
13257 rm -f conftest.
$ac_objext
13258 if { (ac_try
="$ac_compile"
13259 case "(($ac_try" in
13260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13261 *) ac_try_echo=$ac_try;;
13263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13264 (eval "$ac_compile") 2>conftest.er1
13266 grep -v '^ *+' conftest.er1 >conftest.err
13268 cat conftest.err >&5
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); } &&
13271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13272 { (case "(($ac_try" in
13273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13274 *) ac_try_echo
=$ac_try;;
13276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13277 (eval "$ac_try") 2>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; } &&
13281 { ac_try
='test -s conftest.$ac_objext'
13282 { (case "(($ac_try" in
13283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13284 *) ac_try_echo=$ac_try;;
13286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13287 (eval "$ac_try") 2>&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); }; }; then
13291 eval "$as_ac_Header=yes"
13293 echo "$as_me: failed program was:" >&5
13294 sed 's/^/| /' conftest.$ac_ext >&5
13296 eval "$as_ac_Header=no"
13299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13301 ac_res=`eval echo '${'$as_ac_Header'}'`
13302 { echo "$as_me:$LINENO: result: $ac_res" >&5
13303 echo "${ECHO_T}$ac_res" >&6; }
13304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13305 cat >>confdefs.h <<_ACEOF
13306 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13313 cat >conftest.$ac_ext <<_ACEOF
13316 cat confdefs.h >>conftest.$ac_ext
13317 cat >>conftest.$ac_ext <<_ACEOF
13318 /* end confdefs.h. */
13319 #include <ft2build.h>
13320 #include <freetype/fttrigon.h>
13322 if { (ac_try="$ac_cpp conftest.$ac_ext"
13323 case "(($ac_try" in
13324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13325 *) ac_try_echo
=$ac_try;;
13327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13328 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13330 grep -v '^ *+' conftest.er1
>conftest.err
13332 cat conftest.err
>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); } >/dev
/null
; then
13335 if test -s conftest.err
; then
13336 ac_cpp_err
=$ac_c_preproc_warn_flag
13337 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13344 if test -z "$ac_cpp_err"; then
13346 cat >>confdefs.h
<<\_ACEOF
13347 #define HAVE_FREETYPE_FTTRIGON_H 1
13350 wine_cv_fttrigon
=yes
13352 echo "$as_me: failed program was:" >&5
13353 sed 's/^/| /' conftest.
$ac_ext >&5
13355 wine_cv_fttrigon
=no
13358 rm -f conftest.err conftest.
$ac_ext
13359 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13360 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13361 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13362 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 cat >conftest.
$ac_ext <<_ACEOF
13367 cat confdefs.h
>>conftest.
$ac_ext
13368 cat >>conftest.
$ac_ext <<_ACEOF
13369 /* end confdefs.h. */
13370 #include <freetype/ftmodapi.h>
13372 typedef FT_TrueTypeEngineType ac__type_new_;
13376 if ((ac__type_new_ *) 0)
13378 if (sizeof (ac__type_new_))
13384 rm -f conftest.
$ac_objext
13385 if { (ac_try
="$ac_compile"
13386 case "(($ac_try" in
13387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13388 *) ac_try_echo=$ac_try;;
13390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13391 (eval "$ac_compile") 2>conftest.er1
13393 grep -v '^ *+' conftest.er1 >conftest.err
13395 cat conftest.err >&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } &&
13398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13399 { (case "(($ac_try" in
13400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13401 *) ac_try_echo
=$ac_try;;
13403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13404 (eval "$ac_try") 2>&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; } &&
13408 { ac_try
='test -s conftest.$ac_objext'
13409 { (case "(($ac_try" in
13410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13411 *) ac_try_echo=$ac_try;;
13413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13414 (eval "$ac_try") 2>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; }; then
13418 ac_cv_type_FT_TrueTypeEngineType=yes
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.$ac_ext >&5
13423 ac_cv_type_FT_TrueTypeEngineType=no
13426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13428 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13429 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13430 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13432 cat >>confdefs.h <<_ACEOF
13433 #define HAVE_FT_TRUETYPEENGINETYPE 1
13439 ac_save_CFLAGS="$CFLAGS"
13440 CFLAGS="$CFLAGS $FREETYPELIBS"
13442 for ac_func in FT_Load_Sfnt_Table
13444 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13445 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13447 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 cat >conftest.$ac_ext <<_ACEOF
13453 cat confdefs.h >>conftest.$ac_ext
13454 cat >>conftest.$ac_ext <<_ACEOF
13455 /* end confdefs.h. */
13456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13458 #define $ac_func innocuous_$ac_func
13460 /* System header to define __stub macros and hopefully few prototypes,
13461 which can conflict with char $ac_func (); below.
13462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13463 <limits.h> exists even on freestanding compilers. */
13466 # include <limits.h>
13468 # include <assert.h>
13473 /* Override any GCC internal prototype to avoid an error.
13474 Use char because int might match the return type of a GCC
13475 builtin and then its argument prototype would still apply. */
13480 /* The GNU C library defines this for functions which it implements
13481 to always fail with ENOSYS. Some functions are actually named
13482 something starting with __ and the normal name is an alias. */
13483 #if defined __stub_$ac_func || defined __stub___$ac_func
13490 return $ac_func ();
13495 rm -f conftest.$ac_objext conftest$ac_exeext
13496 if { (ac_try="$ac_link"
13497 case "(($ac_try" in
13498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13499 *) ac_try_echo
=$ac_try;;
13501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13502 (eval "$ac_link") 2>conftest.er1
13504 grep -v '^ *+' conftest.er1
>conftest.err
13506 cat conftest.err
>&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); } &&
13509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13510 { (case "(($ac_try" in
13511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13512 *) ac_try_echo=$ac_try;;
13514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13515 (eval "$ac_try") 2>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); }; } &&
13519 { ac_try='test -s conftest$ac_exeext'
13520 { (case "(($ac_try" in
13521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13522 *) ac_try_echo
=$ac_try;;
13524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13525 (eval "$ac_try") 2>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; }; then
13529 eval "$as_ac_var=yes"
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.
$ac_ext >&5
13534 eval "$as_ac_var=no"
13537 rm -f core conftest.err conftest.
$ac_objext \
13538 conftest
$ac_exeext conftest.
$ac_ext
13540 ac_res
=`eval echo '${'$as_ac_var'}'`
13541 { echo "$as_me:$LINENO: result: $ac_res" >&5
13542 echo "${ECHO_T}$ac_res" >&6; }
13543 if test `eval echo '${'$as_ac_var'}'` = yes; then
13544 cat >>confdefs.h
<<_ACEOF
13545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13551 CFLAGS
="$ac_save_CFLAGS"
13552 CPPFLAGS
="$ac_save_CPPFLAGS"
13553 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13556 cat >>confdefs.h
<<\_ACEOF
13557 #define HAVE_FREETYPE 1
13560 wine_cv_msg_freetype
=no
13564 wine_cv_msg_freetype
=yes
13569 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13571 FONTSSUBDIRS
="fonts"
13575 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13576 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13577 if test "${ac_cv_c_ppdev+set}" = set; then
13578 echo $ECHO_N "(cached) $ECHO_C" >&6
13580 cat >conftest.
$ac_ext <<_ACEOF
13583 cat confdefs.h
>>conftest.
$ac_ext
13584 cat >>conftest.
$ac_ext <<_ACEOF
13585 /* end confdefs.h. */
13586 #include <linux/ppdev.h>
13590 ioctl (1,PPCLAIM,0)
13595 rm -f conftest.
$ac_objext
13596 if { (ac_try
="$ac_compile"
13597 case "(($ac_try" in
13598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13599 *) ac_try_echo=$ac_try;;
13601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13602 (eval "$ac_compile") 2>conftest.er1
13604 grep -v '^ *+' conftest.er1 >conftest.err
13606 cat conftest.err >&5
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); } &&
13609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13610 { (case "(($ac_try" in
13611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13612 *) ac_try_echo
=$ac_try;;
13614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13615 (eval "$ac_try") 2>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); }; } &&
13619 { ac_try
='test -s conftest.$ac_objext'
13620 { (case "(($ac_try" in
13621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13622 *) ac_try_echo=$ac_try;;
13624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13625 (eval "$ac_try") 2>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; }; then
13629 ac_cv_c_ppdev="yes"
13631 echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.$ac_ext >&5
13637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13640 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13641 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13642 if test "$ac_cv_c_ppdev" = "yes"
13645 cat >>confdefs.h <<\_ACEOF
13646 #define HAVE_PPDEV 1
13651 { echo "$as_me:$LINENO: checking for va_copy" >&5
13652 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13653 if test "${ac_cv_c_va_copy+set}" = set; then
13654 echo $ECHO_N "(cached) $ECHO_C" >&6
13656 cat >conftest.$ac_ext <<_ACEOF
13659 cat confdefs.h >>conftest.$ac_ext
13660 cat >>conftest.$ac_ext <<_ACEOF
13661 /* end confdefs.h. */
13662 #include <stdarg.h>
13673 rm -f conftest.$ac_objext conftest$ac_exeext
13674 if { (ac_try="$ac_link"
13675 case "(($ac_try" in
13676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13677 *) ac_try_echo
=$ac_try;;
13679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13680 (eval "$ac_link") 2>conftest.er1
13682 grep -v '^ *+' conftest.er1
>conftest.err
13684 cat conftest.err
>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); } &&
13687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13688 { (case "(($ac_try" in
13689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13690 *) ac_try_echo=$ac_try;;
13692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13693 (eval "$ac_try") 2>&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); }; } &&
13697 { ac_try='test -s conftest$ac_exeext'
13698 { (case "(($ac_try" in
13699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13700 *) ac_try_echo
=$ac_try;;
13702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13703 (eval "$ac_try") 2>&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); }; }; then
13707 ac_cv_c_va_copy
="yes"
13709 echo "$as_me: failed program was:" >&5
13710 sed 's/^/| /' conftest.
$ac_ext >&5
13712 ac_cv_c_va_copy
="no"
13715 rm -f core conftest.err conftest.
$ac_objext \
13716 conftest
$ac_exeext conftest.
$ac_ext
13719 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13720 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13721 if test "$ac_cv_c_va_copy" = "yes"
13724 cat >>confdefs.h
<<\_ACEOF
13725 #define HAVE_VA_COPY 1
13729 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13730 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13731 if test "${ac_cv_c___va_copy+set}" = set; then
13732 echo $ECHO_N "(cached) $ECHO_C" >&6
13734 cat >conftest.
$ac_ext <<_ACEOF
13737 cat confdefs.h
>>conftest.
$ac_ext
13738 cat >>conftest.
$ac_ext <<_ACEOF
13739 /* end confdefs.h. */
13740 #include <stdarg.h>
13745 __va_copy(ap1,ap2);
13751 rm -f conftest.
$ac_objext conftest
$ac_exeext
13752 if { (ac_try
="$ac_link"
13753 case "(($ac_try" in
13754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13755 *) ac_try_echo=$ac_try;;
13757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13758 (eval "$ac_link") 2>conftest.er1
13760 grep -v '^ *+' conftest.er1 >conftest.err
13762 cat conftest.err >&5
13763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764 (exit $ac_status); } &&
13765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13766 { (case "(($ac_try" in
13767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13768 *) ac_try_echo
=$ac_try;;
13770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13771 (eval "$ac_try") 2>&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; } &&
13775 { ac_try
='test -s conftest$ac_exeext'
13776 { (case "(($ac_try" in
13777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13778 *) ac_try_echo=$ac_try;;
13780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13781 (eval "$ac_try") 2>&5
13783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784 (exit $ac_status); }; }; then
13785 ac_cv_c___va_copy="yes"
13787 echo "$as_me: failed program was:" >&5
13788 sed 's/^/| /' conftest.$ac_ext >&5
13790 ac_cv_c___va_copy="no"
13793 rm -f core conftest.err conftest.$ac_objext \
13794 conftest$ac_exeext conftest.$ac_ext
13797 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13798 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13799 if test "$ac_cv_c___va_copy" = "yes"
13802 cat >>confdefs.h <<\_ACEOF
13803 #define HAVE___VA_COPY 1
13808 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13809 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13810 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13811 echo $ECHO_N "(cached) $ECHO_C" >&6
13813 cat >conftest.$ac_ext <<_ACEOF
13816 cat confdefs.h >>conftest.$ac_ext
13817 cat >>conftest.$ac_ext <<_ACEOF
13818 /* end confdefs.h. */
13819 #include <setjmp.h>
13824 sigsetjmp( buf, 1 );
13825 siglongjmp( buf, 1 );
13830 rm -f conftest.$ac_objext conftest$ac_exeext
13831 if { (ac_try="$ac_link"
13832 case "(($ac_try" in
13833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13834 *) ac_try_echo
=$ac_try;;
13836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13837 (eval "$ac_link") 2>conftest.er1
13839 grep -v '^ *+' conftest.er1
>conftest.err
13841 cat conftest.err
>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } &&
13844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13845 { (case "(($ac_try" in
13846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13847 *) ac_try_echo=$ac_try;;
13849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13850 (eval "$ac_try") 2>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); }; } &&
13854 { ac_try='test -s conftest$ac_exeext'
13855 { (case "(($ac_try" in
13856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13857 *) ac_try_echo
=$ac_try;;
13859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13860 (eval "$ac_try") 2>&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; }; then
13864 ac_cv_c_sigsetjmp
="yes"
13866 echo "$as_me: failed program was:" >&5
13867 sed 's/^/| /' conftest.
$ac_ext >&5
13869 ac_cv_c_sigsetjmp
="no"
13872 rm -f core conftest.err conftest.
$ac_objext \
13873 conftest
$ac_exeext conftest.
$ac_ext
13876 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13877 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13878 if test "$ac_cv_c_sigsetjmp" = "yes"
13881 cat >>confdefs.h
<<\_ACEOF
13882 #define HAVE_SIGSETJMP 1
13887 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13888 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13889 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13890 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 cat >conftest.
$ac_ext <<_ACEOF
13895 cat confdefs.h
>>conftest.
$ac_ext
13896 cat >>conftest.
$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13898 #define _GNU_SOURCE
13899 #include <pthread.h>
13901 typedef pthread_rwlock_t ac__type_new_;
13905 if ((ac__type_new_ *) 0)
13907 if (sizeof (ac__type_new_))
13913 rm -f conftest.
$ac_objext
13914 if { (ac_try
="$ac_compile"
13915 case "(($ac_try" in
13916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13917 *) ac_try_echo=$ac_try;;
13919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13920 (eval "$ac_compile") 2>conftest.er1
13922 grep -v '^ *+' conftest.er1 >conftest.err
13924 cat conftest.err >&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } &&
13927 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13928 { (case "(($ac_try" in
13929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13930 *) ac_try_echo
=$ac_try;;
13932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13933 (eval "$ac_try") 2>&5
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); }; } &&
13937 { ac_try
='test -s conftest.$ac_objext'
13938 { (case "(($ac_try" in
13939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13940 *) ac_try_echo=$ac_try;;
13942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13943 (eval "$ac_try") 2>&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); }; }; then
13947 ac_cv_type_pthread_rwlock_t=yes
13949 echo "$as_me: failed program was:" >&5
13950 sed 's/^/| /' conftest.$ac_ext >&5
13952 ac_cv_type_pthread_rwlock_t=no
13955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13957 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13958 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13959 if test $ac_cv_type_pthread_rwlock_t = yes; then
13961 cat >>confdefs.h <<_ACEOF
13962 #define HAVE_PTHREAD_RWLOCK_T 1
13967 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13968 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13969 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13972 cat >conftest.$ac_ext <<_ACEOF
13975 cat confdefs.h >>conftest.$ac_ext
13976 cat >>conftest.$ac_ext <<_ACEOF
13977 /* end confdefs.h. */
13978 #define _GNU_SOURCE
13979 #include <pthread.h>
13981 typedef pthread_rwlockattr_t ac__type_new_;
13985 if ((ac__type_new_ *) 0)
13987 if (sizeof (ac__type_new_))
13993 rm -f conftest.$ac_objext
13994 if { (ac_try="$ac_compile"
13995 case "(($ac_try" in
13996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13997 *) ac_try_echo
=$ac_try;;
13999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14000 (eval "$ac_compile") 2>conftest.er1
14002 grep -v '^ *+' conftest.er1
>conftest.err
14004 cat conftest.err
>&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); } &&
14007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14008 { (case "(($ac_try" in
14009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14010 *) ac_try_echo=$ac_try;;
14012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14013 (eval "$ac_try") 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; } &&
14017 { ac_try='test -s conftest.$ac_objext'
14018 { (case "(($ac_try" in
14019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14020 *) ac_try_echo
=$ac_try;;
14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 (eval "$ac_try") 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; }; then
14027 ac_cv_type_pthread_rwlockattr_t
=yes
14029 echo "$as_me: failed program was:" >&5
14030 sed 's/^/| /' conftest.
$ac_ext >&5
14032 ac_cv_type_pthread_rwlockattr_t
=no
14035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14037 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14038 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14039 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14041 cat >>confdefs.h
<<_ACEOF
14042 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14049 ac_wine_check_funcs_save_LIBS
="$LIBS"
14050 LIBS
="$LIBS $LIBPTHREAD"
14055 pthread_getattr_np \
14056 pthread_get_stackaddr_np \
14057 pthread_get_stacksize_np
14059 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14060 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14062 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14063 echo $ECHO_N "(cached) $ECHO_C" >&6
14065 cat >conftest.
$ac_ext <<_ACEOF
14068 cat confdefs.h
>>conftest.
$ac_ext
14069 cat >>conftest.
$ac_ext <<_ACEOF
14070 /* end confdefs.h. */
14071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14073 #define $ac_func innocuous_$ac_func
14075 /* System header to define __stub macros and hopefully few prototypes,
14076 which can conflict with char $ac_func (); below.
14077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14078 <limits.h> exists even on freestanding compilers. */
14081 # include <limits.h>
14083 # include <assert.h>
14088 /* Override any GCC internal prototype to avoid an error.
14089 Use char because int might match the return type of a GCC
14090 builtin and then its argument prototype would still apply. */
14095 /* The GNU C library defines this for functions which it implements
14096 to always fail with ENOSYS. Some functions are actually named
14097 something starting with __ and the normal name is an alias. */
14098 #if defined __stub_$ac_func || defined __stub___$ac_func
14105 return $ac_func ();
14110 rm -f conftest.
$ac_objext conftest
$ac_exeext
14111 if { (ac_try
="$ac_link"
14112 case "(($ac_try" in
14113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14114 *) ac_try_echo=$ac_try;;
14116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14117 (eval "$ac_link") 2>conftest.er1
14119 grep -v '^ *+' conftest.er1 >conftest.err
14121 cat conftest.err >&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); } &&
14124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14125 { (case "(($ac_try" in
14126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14127 *) ac_try_echo
=$ac_try;;
14129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14130 (eval "$ac_try") 2>&5
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; } &&
14134 { ac_try
='test -s conftest$ac_exeext'
14135 { (case "(($ac_try" in
14136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14137 *) ac_try_echo=$ac_try;;
14139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14140 (eval "$ac_try") 2>&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; }; then
14144 eval "$as_ac_var=yes"
14146 echo "$as_me: failed program was:" >&5
14147 sed 's/^/| /' conftest.$ac_ext >&5
14149 eval "$as_ac_var=no"
14152 rm -f core conftest.err conftest.$ac_objext \
14153 conftest$ac_exeext conftest.$ac_ext
14155 ac_res=`eval echo '${'$as_ac_var'}'`
14156 { echo "$as_me:$LINENO: result: $ac_res" >&5
14157 echo "${ECHO_T}$ac_res" >&6; }
14158 if test `eval echo '${'$as_ac_var'}'` = yes; then
14159 cat >>confdefs.h <<_ACEOF
14160 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
14166 LIBS="$ac_wine_check_funcs_save_LIBS"
14168 # Extract the first word of "artsc-config", so it can be a program name with args.
14169 set dummy artsc-config; ac_word=$2
14170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14172 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14175 case $ARTSCCONFIG in
14177 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
14180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14181 for as_dir in $PATH
14184 test -z "$as_dir" && as_dir=.
14185 for ac_exec_ext in '' $ac_executable_extensions; do
14186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14187 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
14188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14198 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
14199 if test -n "$ARTSCCONFIG"; then
14200 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
14201 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
14203 { echo "$as_me:$LINENO: result: no" >&5
14204 echo "${ECHO_T}no" >&6; }
14208 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
14211 for i in `$ARTSCCONFIG --cflags`
14214 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
14218 for i in `$ARTSCCONFIG --libs`
14221 -L/usr/lib|-L/usr/lib64) ;;
14222 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
14225 save_CFLAGS="$CFLAGS"
14226 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
14227 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
14228 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
14229 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 ac_check_lib_save_LIBS=$LIBS
14233 LIBS="-lartsc $ARTSC_LIBS $LIBS"
14234 cat >conftest.$ac_ext <<_ACEOF
14237 cat confdefs.h >>conftest.$ac_ext
14238 cat >>conftest.$ac_ext <<_ACEOF
14239 /* end confdefs.h. */
14241 /* Override any GCC internal prototype to avoid an error.
14242 Use char because int might match the return type of a GCC
14243 builtin and then its argument prototype would still apply. */
14251 return arts_init ();
14256 rm -f conftest.$ac_objext conftest$ac_exeext
14257 if { (ac_try="$ac_link"
14258 case "(($ac_try" in
14259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14260 *) ac_try_echo
=$ac_try;;
14262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14263 (eval "$ac_link") 2>conftest.er1
14265 grep -v '^ *+' conftest.er1
>conftest.err
14267 cat conftest.err
>&5
14268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14269 (exit $ac_status); } &&
14270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14271 { (case "(($ac_try" in
14272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14273 *) ac_try_echo=$ac_try;;
14275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14276 (eval "$ac_try") 2>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; } &&
14280 { ac_try='test -s conftest$ac_exeext'
14281 { (case "(($ac_try" in
14282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14283 *) ac_try_echo
=$ac_try;;
14285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14286 (eval "$ac_try") 2>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; }; then
14290 ac_cv_lib_artsc_arts_init
=yes
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.
$ac_ext >&5
14295 ac_cv_lib_artsc_arts_init
=no
14298 rm -f core conftest.err conftest.
$ac_objext \
14299 conftest
$ac_exeext conftest.
$ac_ext
14300 LIBS
=$ac_check_lib_save_LIBS
14302 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
14303 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
14304 if test $ac_cv_lib_artsc_arts_init = yes; then
14305 cat >conftest.
$ac_ext <<_ACEOF
14308 cat confdefs.h
>>conftest.
$ac_ext
14309 cat >>conftest.
$ac_ext <<_ACEOF
14310 /* end confdefs.h. */
14315 arts_stream_t stream;
14320 rm -f conftest.
$ac_objext
14321 if { (ac_try
="$ac_compile"
14322 case "(($ac_try" in
14323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14324 *) ac_try_echo=$ac_try;;
14326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14327 (eval "$ac_compile") 2>conftest.er1
14329 grep -v '^ *+' conftest.er1 >conftest.err
14331 cat conftest.err >&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); } &&
14334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14335 { (case "(($ac_try" in
14336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14337 *) ac_try_echo
=$ac_try;;
14339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14340 (eval "$ac_try") 2>&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); }; } &&
14344 { ac_try
='test -s conftest.$ac_objext'
14345 { (case "(($ac_try" in
14346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14347 *) ac_try_echo=$ac_try;;
14349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14350 (eval "$ac_try") 2>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; }; then
14354 ARTSLIBS=$ARTSC_LIBS
14356 ARTSINCL=$ARTSC_CFLAGS
14359 cat >>confdefs.h <<\_ACEOF
14360 #define HAVE_ARTS 1
14364 echo "$as_me: failed program was:" >&5
14365 sed 's/^/| /' conftest.$ac_ext >&5
14370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14373 CFLAGS="$save_CFLAGS"
14376 # Extract the first word of "esd-config", so it can be a program name with args.
14377 set dummy esd-config; ac_word=$2
14378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14380 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14381 echo $ECHO_N "(cached) $ECHO_C" >&6
14385 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14389 for as_dir in $PATH
14392 test -z "$as_dir" && as_dir=.
14393 for ac_exec_ext in '' $ac_executable_extensions; do
14394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14395 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14406 ESDCONFIG=$ac_cv_path_ESDCONFIG
14407 if test -n "$ESDCONFIG"; then
14408 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14409 echo "${ECHO_T}$ESDCONFIG" >&6; }
14411 { echo "$as_me:$LINENO: result: no" >&5
14412 echo "${ECHO_T}no" >&6; }
14416 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
14419 for i in `$ESDCONFIG --cflags`
14422 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14425 ESD_LIBS=`$ESDCONFIG --libs`
14426 save_CFLAGS="$CFLAGS"
14427 CFLAGS="$CFLAGS $ESD_CFLAGS"
14428 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14429 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14430 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14431 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 ac_check_lib_save_LIBS=$LIBS
14435 cat >conftest.$ac_ext <<_ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14442 /* Override any GCC internal prototype to avoid an error.
14443 Use char because int might match the return type of a GCC
14444 builtin and then its argument prototype would still apply. */
14448 char esd_open_sound ();
14452 return esd_open_sound ();
14457 rm -f conftest.$ac_objext conftest$ac_exeext
14458 if { (ac_try="$ac_link"
14459 case "(($ac_try" in
14460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14461 *) ac_try_echo
=$ac_try;;
14463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14464 (eval "$ac_link") 2>conftest.er1
14466 grep -v '^ *+' conftest.er1
>conftest.err
14468 cat conftest.err
>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); } &&
14471 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14472 { (case "(($ac_try" in
14473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14474 *) ac_try_echo=$ac_try;;
14476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14477 (eval "$ac_try") 2>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; } &&
14481 { ac_try='test -s conftest$ac_exeext'
14482 { (case "(($ac_try" in
14483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14484 *) ac_try_echo
=$ac_try;;
14486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14487 (eval "$ac_try") 2>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 ac_cv_lib_esd_esd_open_sound
=yes
14493 echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.
$ac_ext >&5
14496 ac_cv_lib_esd_esd_open_sound
=no
14499 rm -f core conftest.err conftest.
$ac_objext \
14500 conftest
$ac_exeext conftest.
$ac_ext
14501 LIBS
=$ac_check_lib_save_LIBS
14503 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14504 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14505 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14508 ESDINCL
=$ESD_CFLAGS
14511 cat >>confdefs.h
<<\_ACEOF
14517 CFLAGS
="$save_CFLAGS"
14522 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14524 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14525 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14526 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14529 ac_check_lib_save_LIBS
=$LIBS
14530 LIBS
="-lasound $LIBS"
14531 cat >conftest.
$ac_ext <<_ACEOF
14534 cat confdefs.h
>>conftest.
$ac_ext
14535 cat >>conftest.
$ac_ext <<_ACEOF
14536 /* end confdefs.h. */
14538 /* Override any GCC internal prototype to avoid an error.
14539 Use char because int might match the return type of a GCC
14540 builtin and then its argument prototype would still apply. */
14544 char snd_pcm_hw_params_get_access ();
14548 return snd_pcm_hw_params_get_access ();
14553 rm -f conftest.
$ac_objext conftest
$ac_exeext
14554 if { (ac_try
="$ac_link"
14555 case "(($ac_try" in
14556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_link") 2>conftest.er1
14562 grep -v '^ *+' conftest.er1 >conftest.err
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14568 { (case "(($ac_try" in
14569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14570 *) ac_try_echo
=$ac_try;;
14572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14573 (eval "$ac_try") 2>&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); }; } &&
14577 { ac_try
='test -s conftest$ac_exeext'
14578 { (case "(($ac_try" in
14579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14580 *) ac_try_echo=$ac_try;;
14582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14583 (eval "$ac_try") 2>&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); }; }; then
14587 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14589 echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.$ac_ext >&5
14592 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14595 rm -f core conftest.err conftest.$ac_objext \
14596 conftest$ac_exeext conftest.$ac_ext
14597 LIBS=$ac_check_lib_save_LIBS
14599 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14600 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14601 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14602 cat >conftest.$ac_ext <<_ACEOF
14605 cat confdefs.h >>conftest.$ac_ext
14606 cat >>conftest.$ac_ext <<_ACEOF
14607 /* end confdefs.h. */
14608 #ifdef HAVE_ALSA_ASOUNDLIB_H
14609 #include <alsa/asoundlib.h>
14610 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14611 #include <sys/asoundlib.h>
14616 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14621 rm -f conftest.$ac_objext
14622 if { (ac_try="$ac_compile"
14623 case "(($ac_try" in
14624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14625 *) ac_try_echo
=$ac_try;;
14627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14628 (eval "$ac_compile") 2>conftest.er1
14630 grep -v '^ *+' conftest.er1
>conftest.err
14632 cat conftest.err
>&5
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); } &&
14635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14636 { (case "(($ac_try" in
14637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14638 *) ac_try_echo=$ac_try;;
14640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14641 (eval "$ac_try") 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; } &&
14645 { ac_try='test -s conftest.$ac_objext'
14646 { (case "(($ac_try" in
14647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14648 *) ac_try_echo
=$ac_try;;
14650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14651 (eval "$ac_try") 2>&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); }; }; then
14656 cat >>confdefs.h
<<\_ACEOF
14657 #define HAVE_ALSA 1
14660 ALSALIBS
="-lasound"
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.
$ac_ext >&5
14668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14676 if test "$ac_cv_header_libaudioio_h" = "yes"
14678 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14679 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14680 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14681 echo $ECHO_N "(cached) $ECHO_C" >&6
14683 ac_check_lib_save_LIBS
=$LIBS
14684 LIBS
="-laudioio $LIBS"
14685 cat >conftest.
$ac_ext <<_ACEOF
14688 cat confdefs.h
>>conftest.
$ac_ext
14689 cat >>conftest.
$ac_ext <<_ACEOF
14690 /* end confdefs.h. */
14692 /* Override any GCC internal prototype to avoid an error.
14693 Use char because int might match the return type of a GCC
14694 builtin and then its argument prototype would still apply. */
14698 char AudioIOGetVersion ();
14702 return AudioIOGetVersion ();
14707 rm -f conftest.
$ac_objext conftest
$ac_exeext
14708 if { (ac_try
="$ac_link"
14709 case "(($ac_try" in
14710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14711 *) ac_try_echo=$ac_try;;
14713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14714 (eval "$ac_link") 2>conftest.er1
14716 grep -v '^ *+' conftest.er1 >conftest.err
14718 cat conftest.err >&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); } &&
14721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14722 { (case "(($ac_try" in
14723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14724 *) ac_try_echo
=$ac_try;;
14726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14727 (eval "$ac_try") 2>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; } &&
14731 { ac_try
='test -s conftest$ac_exeext'
14732 { (case "(($ac_try" in
14733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14734 *) ac_try_echo=$ac_try;;
14736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14737 (eval "$ac_try") 2>&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; }; then
14741 ac_cv_lib_audioio_AudioIOGetVersion=yes
14743 echo "$as_me: failed program was:" >&5
14744 sed 's/^/| /' conftest.$ac_ext >&5
14746 ac_cv_lib_audioio_AudioIOGetVersion=no
14749 rm -f core conftest.err conftest.$ac_objext \
14750 conftest$ac_exeext conftest.$ac_ext
14751 LIBS=$ac_check_lib_save_LIBS
14753 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14754 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14755 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14756 AUDIOIOLIBS="-laudioio"
14758 cat >>confdefs.h <<\_ACEOF
14759 #define HAVE_LIBAUDIOIO 1
14767 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14769 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14770 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14771 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 ac_check_lib_save_LIBS=$LIBS
14775 LIBS="-lcapi20 $LIBS"
14776 cat >conftest.$ac_ext <<_ACEOF
14779 cat confdefs.h >>conftest.$ac_ext
14780 cat >>conftest.$ac_ext <<_ACEOF
14781 /* end confdefs.h. */
14783 /* Override any GCC internal prototype to avoid an error.
14784 Use char because int might match the return type of a GCC
14785 builtin and then its argument prototype would still apply. */
14789 char capi20_register ();
14793 return capi20_register ();
14798 rm -f conftest.$ac_objext conftest$ac_exeext
14799 if { (ac_try="$ac_link"
14800 case "(($ac_try" in
14801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14802 *) ac_try_echo
=$ac_try;;
14804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14805 (eval "$ac_link") 2>conftest.er1
14807 grep -v '^ *+' conftest.er1
>conftest.err
14809 cat conftest.err
>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } &&
14812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14813 { (case "(($ac_try" in
14814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14815 *) ac_try_echo=$ac_try;;
14817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14818 (eval "$ac_try") 2>&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); }; } &&
14822 { ac_try='test -s conftest$ac_exeext'
14823 { (case "(($ac_try" in
14824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14825 *) ac_try_echo
=$ac_try;;
14827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14828 (eval "$ac_try") 2>&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); }; }; then
14832 ac_cv_lib_capi20_capi20_register
=yes
14834 echo "$as_me: failed program was:" >&5
14835 sed 's/^/| /' conftest.
$ac_ext >&5
14837 ac_cv_lib_capi20_capi20_register
=no
14840 rm -f core conftest.err conftest.
$ac_objext \
14841 conftest
$ac_exeext conftest.
$ac_ext
14842 LIBS
=$ac_check_lib_save_LIBS
14844 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14845 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14846 if test $ac_cv_lib_capi20_capi20_register = yes; then
14848 cat >>confdefs.h
<<\_ACEOF
14849 #define HAVE_CAPI4LINUX 1
14857 if test "$ac_cv_header_gif_lib_h" = "yes"
14859 cat >conftest.
$ac_ext <<_ACEOF
14862 cat confdefs.h
>>conftest.
$ac_ext
14863 cat >>conftest.
$ac_ext <<_ACEOF
14864 /* end confdefs.h. */
14865 #include <gif_lib.h>
14869 static typeof(DGifOpen) * func;
14874 rm -f conftest.
$ac_objext
14875 if { (ac_try
="$ac_compile"
14876 case "(($ac_try" in
14877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14878 *) ac_try_echo=$ac_try;;
14880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14881 (eval "$ac_compile") 2>conftest.er1
14883 grep -v '^ *+' conftest.er1 >conftest.err
14885 cat conftest.err >&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); } &&
14888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14889 { (case "(($ac_try" in
14890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14891 *) ac_try_echo
=$ac_try;;
14893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14894 (eval "$ac_try") 2>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); }; } &&
14898 { ac_try
='test -s conftest.$ac_objext'
14899 { (case "(($ac_try" in
14900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14901 *) ac_try_echo=$ac_try;;
14903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14904 (eval "$ac_try") 2>&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; }; then
14909 cat >>confdefs.h <<\_ACEOF
14914 echo "$as_me: failed program was:" >&5
14915 sed 's/^/| /' conftest.$ac_ext >&5
14920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14926 if test "x${GCC}" = "xyes"
14928 EXTRACFLAGS="-Wall -pipe"
14930 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14931 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14932 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 if test "$cross_compiling" = yes; then
14936 ac_cv_c_gcc_strength_bug="yes"
14938 cat >conftest.$ac_ext <<_ACEOF
14941 cat confdefs.h >>conftest.$ac_ext
14942 cat >>conftest.$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14945 int L[4] = {0,1,2,3};
14947 static int Array[3];
14948 unsigned int B = 3;
14950 for(i=0; i<B; i++) Array[i] = i - 3;
14951 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14954 exit( Array[1] != -2 || L[2] != 3);
14957 rm -f conftest$ac_exeext
14958 if { (ac_try="$ac_link"
14959 case "(($ac_try" in
14960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14961 *) ac_try_echo
=$ac_try;;
14963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14964 (eval "$ac_link") 2>&5
14966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14968 { (case "(($ac_try" in
14969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14970 *) ac_try_echo=$ac_try;;
14972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14973 (eval "$ac_try") 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; }; then
14977 ac_cv_c_gcc_strength_bug="no"
14979 echo "$as_me: program exited with status $ac_status" >&5
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14983 ( exit $ac_status )
14984 ac_cv_c_gcc_strength_bug="yes"
14986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14991 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14992 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14993 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14995 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14998 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14999 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
15000 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 ac_wine_try_cflags_saved=$CFLAGS
15004 CFLAGS="$CFLAGS -fshort-wchar"
15005 cat >conftest.$ac_ext <<_ACEOF
15008 cat confdefs.h >>conftest.$ac_ext
15009 cat >>conftest.$ac_ext <<_ACEOF
15010 /* end confdefs.h. */
15020 rm -f conftest.$ac_objext conftest$ac_exeext
15021 if { (ac_try="$ac_link"
15022 case "(($ac_try" in
15023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15024 *) ac_try_echo
=$ac_try;;
15026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15027 (eval "$ac_link") 2>conftest.er1
15029 grep -v '^ *+' conftest.er1
>conftest.err
15031 cat conftest.err
>&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } &&
15034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15035 { (case "(($ac_try" in
15036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15037 *) ac_try_echo=$ac_try;;
15039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15040 (eval "$ac_try") 2>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; } &&
15044 { ac_try='test -s conftest$ac_exeext'
15045 { (case "(($ac_try" in
15046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15047 *) ac_try_echo
=$ac_try;;
15049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15050 (eval "$ac_try") 2>&5
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); }; }; then
15054 ac_cv_c_gcc_fshort_wchar
="yes"
15056 echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.
$ac_ext >&5
15059 ac_cv_c_gcc_fshort_wchar
="no"
15062 rm -f core conftest.err conftest.
$ac_objext \
15063 conftest
$ac_exeext conftest.
$ac_ext
15064 CFLAGS
=$ac_wine_try_cflags_saved
15066 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
15067 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
15068 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
15071 cat >>confdefs.h
<<\_ACEOF
15072 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15077 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
15078 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
15079 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 ac_wine_try_cflags_saved
=$CFLAGS
15083 CFLAGS
="$CFLAGS -fno-strict-aliasing"
15084 cat >conftest.
$ac_ext <<_ACEOF
15087 cat confdefs.h
>>conftest.
$ac_ext
15088 cat >>conftest.
$ac_ext <<_ACEOF
15089 /* end confdefs.h. */
15099 rm -f conftest.
$ac_objext conftest
$ac_exeext
15100 if { (ac_try
="$ac_link"
15101 case "(($ac_try" in
15102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15103 *) ac_try_echo=$ac_try;;
15105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15106 (eval "$ac_link") 2>conftest.er1
15108 grep -v '^ *+' conftest.er1 >conftest.err
15110 cat conftest.err >&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); } &&
15113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15114 { (case "(($ac_try" in
15115 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15116 *) ac_try_echo
=$ac_try;;
15118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_try") 2>&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); }; } &&
15123 { ac_try
='test -s conftest$ac_exeext'
15124 { (case "(($ac_try" in
15125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15126 *) ac_try_echo=$ac_try;;
15128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15129 (eval "$ac_try") 2>&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); }; }; then
15133 ac_cv_c_gcc_no_strict_aliasing="yes"
15135 echo "$as_me: failed program was:" >&5
15136 sed 's/^/| /' conftest.$ac_ext >&5
15138 ac_cv_c_gcc_no_strict_aliasing="no"
15141 rm -f core conftest.err conftest.$ac_objext \
15142 conftest$ac_exeext conftest.$ac_ext
15143 CFLAGS=$ac_wine_try_cflags_saved
15145 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
15146 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
15147 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
15149 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15152 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
15153 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
15154 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
15155 echo $ECHO_N "(cached) $ECHO_C" >&6
15157 ac_wine_try_cflags_saved=$CFLAGS
15158 CFLAGS="$CFLAGS -gstabs+"
15159 cat >conftest.$ac_ext <<_ACEOF
15162 cat confdefs.h >>conftest.$ac_ext
15163 cat >>conftest.$ac_ext <<_ACEOF
15164 /* end confdefs.h. */
15174 rm -f conftest.$ac_objext conftest$ac_exeext
15175 if { (ac_try="$ac_link"
15176 case "(($ac_try" in
15177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15178 *) ac_try_echo
=$ac_try;;
15180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15181 (eval "$ac_link") 2>conftest.er1
15183 grep -v '^ *+' conftest.er1
>conftest.err
15185 cat conftest.err
>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); } &&
15188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15189 { (case "(($ac_try" in
15190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15191 *) ac_try_echo=$ac_try;;
15193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15194 (eval "$ac_try") 2>&5
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); }; } &&
15198 { ac_try='test -s conftest$ac_exeext'
15199 { (case "(($ac_try" in
15200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15201 *) ac_try_echo
=$ac_try;;
15203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15204 (eval "$ac_try") 2>&5
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); }; }; then
15208 ac_cv_c_gcc_gstabs
="yes"
15210 echo "$as_me: failed program was:" >&5
15211 sed 's/^/| /' conftest.
$ac_ext >&5
15213 ac_cv_c_gcc_gstabs
="no"
15216 rm -f core conftest.err conftest.
$ac_objext \
15217 conftest
$ac_exeext conftest.
$ac_ext
15218 CFLAGS
=$ac_wine_try_cflags_saved
15220 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
15221 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
15222 if test "$ac_cv_c_gcc_gstabs" = "yes"
15224 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
15227 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
15228 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
15229 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
15230 echo $ECHO_N "(cached) $ECHO_C" >&6
15232 ac_wine_try_cflags_saved
=$CFLAGS
15233 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15234 cat >conftest.
$ac_ext <<_ACEOF
15237 cat confdefs.h
>>conftest.
$ac_ext
15238 cat >>conftest.
$ac_ext <<_ACEOF
15239 /* end confdefs.h. */
15249 rm -f conftest.
$ac_objext conftest
$ac_exeext
15250 if { (ac_try
="$ac_link"
15251 case "(($ac_try" in
15252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15253 *) ac_try_echo=$ac_try;;
15255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15256 (eval "$ac_link") 2>conftest.er1
15258 grep -v '^ *+' conftest.er1 >conftest.err
15260 cat conftest.err >&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); } &&
15263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15264 { (case "(($ac_try" in
15265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15266 *) ac_try_echo
=$ac_try;;
15268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15269 (eval "$ac_try") 2>&5
15271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); }; } &&
15273 { ac_try
='test -s conftest$ac_exeext'
15274 { (case "(($ac_try" in
15275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_try") 2>&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); }; }; then
15283 ac_cv_c_gcc_decl_after_statement="yes"
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.$ac_ext >&5
15288 ac_cv_c_gcc_decl_after_statement="no"
15291 rm -f core conftest.err conftest.$ac_objext \
15292 conftest$ac_exeext conftest.$ac_ext
15293 CFLAGS=$ac_wine_try_cflags_saved
15295 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
15296 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
15297 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
15299 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15302 saved_CFLAGS="$CFLAGS"
15303 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15304 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15305 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15306 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15307 echo $ECHO_N "(cached) $ECHO_C" >&6
15309 cat >conftest.$ac_ext <<_ACEOF
15312 cat confdefs.h >>conftest.$ac_ext
15313 cat >>conftest.$ac_ext <<_ACEOF
15314 /* end confdefs.h. */
15315 #include <string.h>
15324 rm -f conftest.$ac_objext
15325 if { (ac_try="$ac_compile"
15326 case "(($ac_try" in
15327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15328 *) ac_try_echo
=$ac_try;;
15330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15331 (eval "$ac_compile") 2>conftest.er1
15333 grep -v '^ *+' conftest.er1
>conftest.err
15335 cat conftest.err
>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } &&
15338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15339 { (case "(($ac_try" in
15340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15341 *) ac_try_echo=$ac_try;;
15343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15344 (eval "$ac_try") 2>&5
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; } &&
15348 { ac_try='test -s conftest.$ac_objext'
15349 { (case "(($ac_try" in
15350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15351 *) ac_try_echo
=$ac_try;;
15353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15354 (eval "$ac_try") 2>&5
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); }; }; then
15358 ac_cv_c_string_h_warnings
=no
15360 echo "$as_me: failed program was:" >&5
15361 sed 's/^/| /' conftest.
$ac_ext >&5
15363 ac_cv_c_string_h_warnings
=yes
15366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15368 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15369 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15370 CFLAGS
="$saved_CFLAGS"
15371 if test "$ac_cv_c_string_h_warnings" = "no"
15373 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
15378 saved_CFLAGS
="$CFLAGS"
15379 CFLAGS
="$CFLAGS -Werror"
15380 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15381 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15382 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 cat >conftest.
$ac_ext <<_ACEOF
15388 cat confdefs.h
>>conftest.
$ac_ext
15389 cat >>conftest.
$ac_ext <<_ACEOF
15390 /* end confdefs.h. */
15395 int iswlower(unsigned short);
15400 rm -f conftest.
$ac_objext
15401 if { (ac_try
="$ac_compile"
15402 case "(($ac_try" in
15403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15404 *) ac_try_echo=$ac_try;;
15406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15407 (eval "$ac_compile") 2>conftest.er1
15409 grep -v '^ *+' conftest.er1 >conftest.err
15411 cat conftest.err >&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); } &&
15414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15415 { (case "(($ac_try" in
15416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15417 *) ac_try_echo
=$ac_try;;
15419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15420 (eval "$ac_try") 2>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; } &&
15424 { ac_try
='test -s conftest.$ac_objext'
15425 { (case "(($ac_try" in
15426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15427 *) ac_try_echo=$ac_try;;
15429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15430 (eval "$ac_try") 2>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); }; }; then
15434 ac_cv_c_builtin_wchar_ctype=no
15436 echo "$as_me: failed program was:" >&5
15437 sed 's/^/| /' conftest.$ac_ext >&5
15439 ac_cv_c_builtin_wchar_ctype=yes
15442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15444 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15445 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15446 CFLAGS="$saved_CFLAGS"
15447 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15449 BUILTINFLAG="-fno-builtin"
15454 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15455 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15456 if test "${ac_cv_asm_func_def+set}" = set; then
15457 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 cat >conftest.$ac_ext <<_ACEOF
15462 cat confdefs.h >>conftest.$ac_ext
15463 cat >>conftest.$ac_ext <<_ACEOF
15464 /* end confdefs.h. */
15465 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"); }
15475 rm -f conftest.$ac_objext conftest$ac_exeext
15476 if { (ac_try="$ac_link"
15477 case "(($ac_try" in
15478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15479 *) ac_try_echo
=$ac_try;;
15481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 (eval "$ac_link") 2>conftest.er1
15484 grep -v '^ *+' conftest.er1
>conftest.err
15486 cat conftest.err
>&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } &&
15489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15490 { (case "(($ac_try" in
15491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15492 *) ac_try_echo=$ac_try;;
15494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15495 (eval "$ac_try") 2>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; } &&
15499 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; }; then
15509 ac_cv_asm_func_def
=".def"
15511 echo "$as_me: failed program was:" >&5
15512 sed 's/^/| /' conftest.
$ac_ext >&5
15514 cat >conftest.
$ac_ext <<_ACEOF
15517 cat confdefs.h
>>conftest.
$ac_ext
15518 cat >>conftest.
$ac_ext <<_ACEOF
15519 /* end confdefs.h. */
15520 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
15530 rm -f conftest.
$ac_objext conftest
$ac_exeext
15531 if { (ac_try
="$ac_link"
15532 case "(($ac_try" in
15533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15534 *) ac_try_echo=$ac_try;;
15536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15537 (eval "$ac_link") 2>conftest.er1
15539 grep -v '^ *+' conftest.er1 >conftest.err
15541 cat conftest.err >&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); } &&
15544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15545 { (case "(($ac_try" in
15546 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15547 *) ac_try_echo
=$ac_try;;
15549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15550 (eval "$ac_try") 2>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; } &&
15554 { ac_try
='test -s conftest$ac_exeext'
15555 { (case "(($ac_try" in
15556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15557 *) ac_try_echo=$ac_try;;
15559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15560 (eval "$ac_try") 2>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; }; then
15564 ac_cv_asm_func_def=".type @function"
15566 echo "$as_me: failed program was:" >&5
15567 sed 's/^/| /' conftest.$ac_ext >&5
15569 cat >conftest.$ac_ext <<_ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
15585 rm -f conftest.$ac_objext conftest$ac_exeext
15586 if { (ac_try="$ac_link"
15587 case "(($ac_try" in
15588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15589 *) ac_try_echo
=$ac_try;;
15591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15592 (eval "$ac_link") 2>conftest.er1
15594 grep -v '^ *+' conftest.er1
>conftest.err
15596 cat conftest.err
>&5
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); } &&
15599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15600 { (case "(($ac_try" in
15601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15602 *) ac_try_echo=$ac_try;;
15604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15605 (eval "$ac_try") 2>&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); }; } &&
15609 { ac_try='test -s conftest$ac_exeext'
15610 { (case "(($ac_try" in
15611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15612 *) ac_try_echo
=$ac_try;;
15614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15615 (eval "$ac_try") 2>&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); }; }; then
15619 ac_cv_asm_func_def
=".type 2"
15621 echo "$as_me: failed program was:" >&5
15622 sed 's/^/| /' conftest.
$ac_ext >&5
15624 ac_cv_asm_func_def
="unknown"
15627 rm -f core conftest.err conftest.
$ac_objext \
15628 conftest
$ac_exeext conftest.
$ac_ext
15631 rm -f core conftest.err conftest.
$ac_objext \
15632 conftest
$ac_exeext conftest.
$ac_ext
15635 rm -f core conftest.err conftest.
$ac_objext \
15636 conftest
$ac_exeext conftest.
$ac_ext
15638 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15639 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15643 case "$ac_cv_asm_func_def" in
15645 cat >>confdefs.h
<<\_ACEOF
15646 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15650 cat >>confdefs.h
<<\_ACEOF
15651 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15655 cat >>confdefs.h
<<\_ACEOF
15656 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15660 cat >>confdefs.h
<<\_ACEOF
15661 #define __ASM_FUNC(name) ""
15667 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15668 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15669 if test "${ac_cv_c_extern_prefix+set}" = set; then
15670 echo $ECHO_N "(cached) $ECHO_C" >&6
15672 cat >conftest.
$ac_ext <<_ACEOF
15675 cat confdefs.h
>>conftest.
$ac_ext
15676 cat >>conftest.
$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15678 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15679 extern int ac_test;
15683 if (ac_test) return 1
15688 rm -f conftest.
$ac_objext conftest
$ac_exeext
15689 if { (ac_try
="$ac_link"
15690 case "(($ac_try" in
15691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15692 *) ac_try_echo=$ac_try;;
15694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15695 (eval "$ac_link") 2>conftest.er1
15697 grep -v '^ *+' conftest.er1 >conftest.err
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15703 { (case "(($ac_try" in
15704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15705 *) ac_try_echo
=$ac_try;;
15707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15708 (eval "$ac_try") 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; } &&
15712 { ac_try
='test -s conftest$ac_exeext'
15713 { (case "(($ac_try" in
15714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15715 *) ac_try_echo=$ac_try;;
15717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15718 (eval "$ac_try") 2>&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; }; then
15722 ac_cv_c_extern_prefix="yes"
15724 echo "$as_me: failed program was:" >&5
15725 sed 's/^/| /' conftest.$ac_ext >&5
15727 ac_cv_c_extern_prefix="no"
15730 rm -f core conftest.err conftest.$ac_objext \
15731 conftest$ac_exeext conftest.$ac_ext
15733 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15734 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15738 if test "$ac_cv_c_extern_prefix" = "yes"
15740 cat >>confdefs.h <<\_ACEOF
15741 #define __ASM_NAME(name) "_" name
15745 cat >>confdefs.h <<\_ACEOF
15746 #define __ASM_NAME(name) name
15754 DLLFLAGS="-D_REENTRANT"
15769 if test -n "$ac_tool_prefix"; then
15770 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15771 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15774 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15775 echo $ECHO_N "(cached) $ECHO_C" >&6
15777 if test -n "$DLLTOOL"; then
15778 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15781 for as_dir in $PATH
15784 test -z "$as_dir" && as_dir=.
15785 for ac_exec_ext in '' $ac_executable_extensions; do
15786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15787 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15797 DLLTOOL=$ac_cv_prog_DLLTOOL
15798 if test -n "$DLLTOOL"; then
15799 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15800 echo "${ECHO_T}$DLLTOOL" >&6; }
15802 { echo "$as_me:$LINENO: result: no" >&5
15803 echo "${ECHO_T}no" >&6; }
15808 if test -z "$ac_cv_prog_DLLTOOL"; then
15809 ac_ct_DLLTOOL=$DLLTOOL
15810 # Extract the first word of "dlltool", so it can be a program name with args.
15811 set dummy dlltool; ac_word=$2
15812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15814 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15815 echo $ECHO_N "(cached) $ECHO_C" >&6
15817 if test -n "$ac_ct_DLLTOOL"; then
15818 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15821 for as_dir in $PATH
15824 test -z "$as_dir" && as_dir=.
15825 for ac_exec_ext in '' $ac_executable_extensions; do
15826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15827 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15837 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15838 if test -n "$ac_ct_DLLTOOL"; then
15839 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15840 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15842 { echo "$as_me:$LINENO: result: no" >&5
15843 echo "${ECHO_T}no" >&6; }
15846 if test "x$ac_ct_DLLTOOL" = x; then
15849 case $cross_compiling:$ac_tool_warned in
15851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15852 whose name does not start with the host triplet. If you think this
15853 configuration is useful to you, please write to autoconf@gnu.org." >&5
15854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15855 whose name does not start with the host triplet. If you think this
15856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15857 ac_tool_warned=yes ;;
15859 DLLTOOL=$ac_ct_DLLTOOL
15862 DLLTOOL="$ac_cv_prog_DLLTOOL"
15865 if test -n "$ac_tool_prefix"; then
15866 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15867 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15870 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15871 echo $ECHO_N "(cached) $ECHO_C" >&6
15873 if test -n "$DLLWRAP"; then
15874 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15877 for as_dir in $PATH
15880 test -z "$as_dir" && as_dir=.
15881 for ac_exec_ext in '' $ac_executable_extensions; do
15882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15883 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15893 DLLWRAP=$ac_cv_prog_DLLWRAP
15894 if test -n "$DLLWRAP"; then
15895 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15896 echo "${ECHO_T}$DLLWRAP" >&6; }
15898 { echo "$as_me:$LINENO: result: no" >&5
15899 echo "${ECHO_T}no" >&6; }
15904 if test -z "$ac_cv_prog_DLLWRAP"; then
15905 ac_ct_DLLWRAP=$DLLWRAP
15906 # Extract the first word of "dllwrap", so it can be a program name with args.
15907 set dummy dllwrap; ac_word=$2
15908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15910 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15911 echo $ECHO_N "(cached) $ECHO_C" >&6
15913 if test -n "$ac_ct_DLLWRAP"; then
15914 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15917 for as_dir in $PATH
15920 test -z "$as_dir" && as_dir=.
15921 for ac_exec_ext in '' $ac_executable_extensions; do
15922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15923 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15933 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15934 if test -n "$ac_ct_DLLWRAP"; then
15935 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15936 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15938 { echo "$as_me:$LINENO: result: no" >&5
15939 echo "${ECHO_T}no" >&6; }
15942 if test "x$ac_ct_DLLWRAP" = x; then
15945 case $cross_compiling:$ac_tool_warned in
15947 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15948 whose name does not start with the host triplet. If you think this
15949 configuration is useful to you, please write to autoconf@gnu.org." >&5
15950 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15951 whose name does not start with the host triplet. If you think this
15952 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15953 ac_tool_warned=yes ;;
15955 DLLWRAP=$ac_ct_DLLWRAP
15958 DLLWRAP="$ac_cv_prog_DLLWRAP"
15961 if test "$DLLWRAP" = "false"; then
15971 if test "$ac_cv_header_dlfcn_h" = "yes"
15974 for ac_func in dlopen
15976 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15977 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15980 echo $ECHO_N "(cached) $ECHO_C" >&6
15982 cat >conftest.$ac_ext <<_ACEOF
15985 cat confdefs.h >>conftest.$ac_ext
15986 cat >>conftest.$ac_ext <<_ACEOF
15987 /* end confdefs.h. */
15988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15990 #define $ac_func innocuous_$ac_func
15992 /* System header to define __stub macros and hopefully few prototypes,
15993 which can conflict with char $ac_func (); below.
15994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15995 <limits.h> exists even on freestanding compilers. */
15998 # include <limits.h>
16000 # include <assert.h>
16005 /* Override any GCC internal prototype to avoid an error.
16006 Use char because int might match the return type of a GCC
16007 builtin and then its argument prototype would still apply. */
16012 /* The GNU C library defines this for functions which it implements
16013 to always fail with ENOSYS. Some functions are actually named
16014 something starting with __ and the normal name is an alias. */
16015 #if defined __stub_$ac_func || defined __stub___$ac_func
16022 return $ac_func ();
16027 rm -f conftest.$ac_objext conftest$ac_exeext
16028 if { (ac_try="$ac_link"
16029 case "(($ac_try" in
16030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16031 *) ac_try_echo
=$ac_try;;
16033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16034 (eval "$ac_link") 2>conftest.er1
16036 grep -v '^ *+' conftest.er1
>conftest.err
16038 cat conftest.err
>&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); } &&
16041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16042 { (case "(($ac_try" in
16043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16044 *) ac_try_echo=$ac_try;;
16046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16047 (eval "$ac_try") 2>&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); }; } &&
16051 { ac_try='test -s conftest$ac_exeext'
16052 { (case "(($ac_try" in
16053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16054 *) ac_try_echo
=$ac_try;;
16056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16057 (eval "$ac_try") 2>&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; }; then
16061 eval "$as_ac_var=yes"
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.
$ac_ext >&5
16066 eval "$as_ac_var=no"
16069 rm -f core conftest.err conftest.
$ac_objext \
16070 conftest
$ac_exeext conftest.
$ac_ext
16072 ac_res
=`eval echo '${'$as_ac_var'}'`
16073 { echo "$as_me:$LINENO: result: $ac_res" >&5
16074 echo "${ECHO_T}$ac_res" >&6; }
16075 if test `eval echo '${'$as_ac_var'}'` = yes; then
16076 cat >>confdefs.h
<<_ACEOF
16077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16081 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16082 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16083 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16084 echo $ECHO_N "(cached) $ECHO_C" >&6
16086 ac_check_lib_save_LIBS
=$LIBS
16088 cat >conftest.
$ac_ext <<_ACEOF
16091 cat confdefs.h
>>conftest.
$ac_ext
16092 cat >>conftest.
$ac_ext <<_ACEOF
16093 /* end confdefs.h. */
16095 /* Override any GCC internal prototype to avoid an error.
16096 Use char because int might match the return type of a GCC
16097 builtin and then its argument prototype would still apply. */
16110 rm -f conftest.
$ac_objext conftest
$ac_exeext
16111 if { (ac_try
="$ac_link"
16112 case "(($ac_try" in
16113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16114 *) ac_try_echo=$ac_try;;
16116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16117 (eval "$ac_link") 2>conftest.er1
16119 grep -v '^ *+' conftest.er1 >conftest.err
16121 cat conftest.err >&5
16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123 (exit $ac_status); } &&
16124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16125 { (case "(($ac_try" in
16126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16127 *) ac_try_echo
=$ac_try;;
16129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16130 (eval "$ac_try") 2>&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; } &&
16134 { ac_try
='test -s conftest$ac_exeext'
16135 { (case "(($ac_try" in
16136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16137 *) ac_try_echo=$ac_try;;
16139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16140 (eval "$ac_try") 2>&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 ac_cv_lib_dl_dlopen=yes
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16149 ac_cv_lib_dl_dlopen=no
16152 rm -f core conftest.err conftest.$ac_objext \
16153 conftest$ac_exeext conftest.$ac_ext
16154 LIBS=$ac_check_lib_save_LIBS
16156 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16157 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16158 if test $ac_cv_lib_dl_dlopen = yes; then
16160 cat >>confdefs.h <<\_ACEOF
16161 #define HAVE_DLOPEN 1
16172 ac_wine_check_funcs_save_LIBS="$LIBS"
16173 LIBS="$LIBS $DLLIBS"
16175 for ac_func in dladdr
16177 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16178 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16180 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16181 echo $ECHO_N "(cached) $ECHO_C" >&6
16183 cat >conftest.$ac_ext <<_ACEOF
16186 cat confdefs.h >>conftest.$ac_ext
16187 cat >>conftest.$ac_ext <<_ACEOF
16188 /* end confdefs.h. */
16189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16191 #define $ac_func innocuous_$ac_func
16193 /* System header to define __stub macros and hopefully few prototypes,
16194 which can conflict with char $ac_func (); below.
16195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16196 <limits.h> exists even on freestanding compilers. */
16199 # include <limits.h>
16201 # include <assert.h>
16206 /* Override any GCC internal prototype to avoid an error.
16207 Use char because int might match the return type of a GCC
16208 builtin and then its argument prototype would still apply. */
16213 /* The GNU C library defines this for functions which it implements
16214 to always fail with ENOSYS. Some functions are actually named
16215 something starting with __ and the normal name is an alias. */
16216 #if defined __stub_$ac_func || defined __stub___$ac_func
16223 return $ac_func ();
16228 rm -f conftest.$ac_objext conftest$ac_exeext
16229 if { (ac_try="$ac_link"
16230 case "(($ac_try" in
16231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16232 *) ac_try_echo
=$ac_try;;
16234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16235 (eval "$ac_link") 2>conftest.er1
16237 grep -v '^ *+' conftest.er1
>conftest.err
16239 cat conftest.err
>&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16243 { (case "(($ac_try" in
16244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16245 *) ac_try_echo=$ac_try;;
16247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16248 (eval "$ac_try") 2>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; } &&
16252 { ac_try='test -s conftest$ac_exeext'
16253 { (case "(($ac_try" in
16254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16255 *) ac_try_echo
=$ac_try;;
16257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16258 (eval "$ac_try") 2>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; }; then
16262 eval "$as_ac_var=yes"
16264 echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.
$ac_ext >&5
16267 eval "$as_ac_var=no"
16270 rm -f core conftest.err conftest.
$ac_objext \
16271 conftest
$ac_exeext conftest.
$ac_ext
16273 ac_res
=`eval echo '${'$as_ac_var'}'`
16274 { echo "$as_me:$LINENO: result: $ac_res" >&5
16275 echo "${ECHO_T}$ac_res" >&6; }
16276 if test `eval echo '${'$as_ac_var'}'` = yes; then
16277 cat >>confdefs.h
<<_ACEOF
16278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16284 LIBS
="$ac_wine_check_funcs_save_LIBS"
16289 if test "$LIBEXT" = "so"
16291 DLLFLAGS
="$DLLFLAGS -fPIC"
16293 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
16294 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
16295 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
16296 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 ac_wine_try_cflags_saved
=$CFLAGS
16299 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
16300 cat >conftest.
$ac_ext <<_ACEOF
16303 rm -f conftest.
$ac_objext conftest
$ac_exeext
16304 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
16312 grep -v '^ *+' conftest.er1 >conftest.err
16314 cat conftest.err >&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); } &&
16317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16318 { (case "(($ac_try" in
16319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16320 *) ac_try_echo
=$ac_try;;
16322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16323 (eval "$ac_try") 2>&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); }; } &&
16327 { ac_try
='test -s conftest$ac_exeext'
16328 { (case "(($ac_try" in
16329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16330 *) ac_try_echo=$ac_try;;
16332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16333 (eval "$ac_try") 2>&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); }; }; then
16337 ac_cv_c_dll_gnuelf="yes"
16339 echo "$as_me: failed program was:" >&5
16340 sed 's/^/| /' conftest.$ac_ext >&5
16342 ac_cv_c_dll_gnuelf="no"
16345 rm -f core conftest.err conftest.$ac_objext \
16346 conftest$ac_exeext conftest.$ac_ext
16347 CFLAGS=$ac_wine_try_cflags_saved
16349 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
16350 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
16351 if test "$ac_cv_c_dll_gnuelf" = "yes"
16353 LDSHARED="\$(CC) -shared"
16354 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
16355 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
16356 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
16357 if test "${ac_cv_c_sonames+set}" = set; then
16358 echo $ECHO_N "(cached) $ECHO_C" >&6
16360 ac_wine_try_cflags_saved=$CFLAGS
16361 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
16362 cat >conftest.$ac_ext <<_ACEOF
16365 cat confdefs.h >>conftest.$ac_ext
16366 cat >>conftest.$ac_ext <<_ACEOF
16367 /* end confdefs.h. */
16377 rm -f conftest.$ac_objext conftest$ac_exeext
16378 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
16386 grep -v '^ *+' conftest.er1
>conftest.err
16388 cat conftest.err
>&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); } &&
16391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16392 { (case "(($ac_try" in
16393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16394 *) ac_try_echo=$ac_try;;
16396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16397 (eval "$ac_try") 2>&5
16399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16400 (exit $ac_status); }; } &&
16401 { ac_try='test -s conftest$ac_exeext'
16402 { (case "(($ac_try" in
16403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16404 *) ac_try_echo
=$ac_try;;
16406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16407 (eval "$ac_try") 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; }; then
16411 ac_cv_c_sonames
="yes"
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.
$ac_ext >&5
16416 ac_cv_c_sonames
="no"
16419 rm -f core conftest.err conftest.
$ac_objext \
16420 conftest
$ac_exeext conftest.
$ac_ext
16421 CFLAGS
=$ac_wine_try_cflags_saved
16423 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
16424 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
16425 if test "$ac_cv_c_sonames" = "yes"
16427 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
16429 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
16430 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
16431 if test "${ac_cv_c_h_sonames+set}" = set; then
16432 echo $ECHO_N "(cached) $ECHO_C" >&6
16434 ac_wine_try_cflags_saved
=$CFLAGS
16435 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
16436 cat >conftest.
$ac_ext <<_ACEOF
16439 cat confdefs.h
>>conftest.
$ac_ext
16440 cat >>conftest.
$ac_ext <<_ACEOF
16441 /* end confdefs.h. */
16451 rm -f conftest.
$ac_objext conftest
$ac_exeext
16452 if { (ac_try
="$ac_link"
16453 case "(($ac_try" in
16454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16455 *) ac_try_echo=$ac_try;;
16457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16458 (eval "$ac_link") 2>conftest.er1
16460 grep -v '^ *+' conftest.er1 >conftest.err
16462 cat conftest.err >&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } &&
16465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16466 { (case "(($ac_try" in
16467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16468 *) ac_try_echo
=$ac_try;;
16470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16471 (eval "$ac_try") 2>&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }; } &&
16475 { ac_try
='test -s conftest$ac_exeext'
16476 { (case "(($ac_try" in
16477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16478 *) ac_try_echo=$ac_try;;
16480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16481 (eval "$ac_try") 2>&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); }; }; then
16485 ac_cv_c_h_sonames="yes"
16487 echo "$as_me: failed program was:" >&5
16488 sed 's/^/| /' conftest.$ac_ext >&5
16490 ac_cv_c_h_sonames="no"
16493 rm -f core conftest.err conftest.$ac_objext \
16494 conftest$ac_exeext conftest.$ac_ext
16495 CFLAGS=$ac_wine_try_cflags_saved
16497 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
16498 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
16499 if test "$ac_cv_c_h_sonames" = "yes"
16501 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
16505 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
16506 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
16507 if test "${ac_cv_c_dll_zdefs+set}" = set; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 ac_wine_try_cflags_saved=$CFLAGS
16511 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
16512 cat >conftest.$ac_ext <<_ACEOF
16515 cat confdefs.h >>conftest.$ac_ext
16516 cat >>conftest.$ac_ext <<_ACEOF
16517 /* end confdefs.h. */
16527 rm -f conftest.$ac_objext conftest$ac_exeext
16528 if { (ac_try="$ac_link"
16529 case "(($ac_try" in
16530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16531 *) ac_try_echo
=$ac_try;;
16533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16534 (eval "$ac_link") 2>conftest.er1
16536 grep -v '^ *+' conftest.er1
>conftest.err
16538 cat conftest.err
>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } &&
16541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16542 { (case "(($ac_try" in
16543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16544 *) ac_try_echo=$ac_try;;
16546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16547 (eval "$ac_try") 2>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; } &&
16551 { ac_try='test -s conftest$ac_exeext'
16552 { (case "(($ac_try" in
16553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16554 *) ac_try_echo
=$ac_try;;
16556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16557 (eval "$ac_try") 2>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; }; then
16561 ac_cv_c_dll_zdefs
="yes"
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.
$ac_ext >&5
16566 ac_cv_c_dll_zdefs
="no"
16569 rm -f core conftest.err conftest.
$ac_objext \
16570 conftest
$ac_exeext conftest.
$ac_ext
16571 CFLAGS
=$ac_wine_try_cflags_saved
16573 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
16574 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
16575 if test "$ac_cv_c_dll_zdefs" = "yes"
16577 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
16580 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
16581 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
16582 if test "${ac_cv_c_dll_init_fini+set}" = set; then
16583 echo $ECHO_N "(cached) $ECHO_C" >&6
16585 ac_wine_try_cflags_saved
=$CFLAGS
16586 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
16587 cat >conftest.
$ac_ext <<_ACEOF
16590 cat confdefs.h
>>conftest.
$ac_ext
16591 cat >>conftest.
$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16602 rm -f conftest.
$ac_objext conftest
$ac_exeext
16603 if { (ac_try
="$ac_link"
16604 case "(($ac_try" in
16605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16606 *) ac_try_echo=$ac_try;;
16608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16609 (eval "$ac_link") 2>conftest.er1
16611 grep -v '^ *+' conftest.er1 >conftest.err
16613 cat conftest.err >&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } &&
16616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16617 { (case "(($ac_try" in
16618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16619 *) ac_try_echo
=$ac_try;;
16621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16622 (eval "$ac_try") 2>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; } &&
16626 { ac_try
='test -s conftest$ac_exeext'
16627 { (case "(($ac_try" in
16628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16629 *) ac_try_echo=$ac_try;;
16631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16632 (eval "$ac_try") 2>&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; }; then
16636 ac_cv_c_dll_init_fini="yes"
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.$ac_ext >&5
16641 ac_cv_c_dll_init_fini="no"
16644 rm -f core conftest.err conftest.$ac_objext \
16645 conftest$ac_exeext conftest.$ac_ext
16646 CFLAGS=$ac_wine_try_cflags_saved
16648 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
16649 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
16650 if test "$ac_cv_c_dll_init_fini" = "yes"
16652 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
16655 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
16656 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
16657 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
16658 echo $ECHO_N "(cached) $ECHO_C" >&6
16660 echo '{ global: *; };' >conftest.map
16661 ac_wine_try_cflags_saved=$CFLAGS
16662 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
16663 cat >conftest.$ac_ext <<_ACEOF
16666 cat confdefs.h >>conftest.$ac_ext
16667 cat >>conftest.$ac_ext <<_ACEOF
16668 /* end confdefs.h. */
16678 rm -f conftest.$ac_objext conftest$ac_exeext
16679 if { (ac_try="$ac_link"
16680 case "(($ac_try" in
16681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16682 *) ac_try_echo
=$ac_try;;
16684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16685 (eval "$ac_link") 2>conftest.er1
16687 grep -v '^ *+' conftest.er1
>conftest.err
16689 cat conftest.err
>&5
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); } &&
16692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16693 { (case "(($ac_try" in
16694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16695 *) ac_try_echo=$ac_try;;
16697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16698 (eval "$ac_try") 2>&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); }; } &&
16702 { ac_try='test -s conftest$ac_exeext'
16703 { (case "(($ac_try" in
16704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16705 *) ac_try_echo
=$ac_try;;
16707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16708 (eval "$ac_try") 2>&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); }; }; then
16712 ac_cv_c_ld_version_scripts
="yes"
16714 echo "$as_me: failed program was:" >&5
16715 sed 's/^/| /' conftest.
$ac_ext >&5
16717 ac_cv_c_ld_version_scripts
="no"
16720 rm -f core conftest.err conftest.
$ac_objext \
16721 conftest
$ac_exeext conftest.
$ac_ext
16722 CFLAGS
=$ac_wine_try_cflags_saved
16725 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
16726 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
16727 if test "$ac_cv_c_ld_version_scripts" = "yes"
16729 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
16732 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
16733 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
16734 if test "${ac_cv_c_export_dynamic+set}" = set; then
16735 echo $ECHO_N "(cached) $ECHO_C" >&6
16737 ac_wine_try_cflags_saved
=$CFLAGS
16738 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
16739 cat >conftest.
$ac_ext <<_ACEOF
16742 cat confdefs.h
>>conftest.
$ac_ext
16743 cat >>conftest.
$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16754 rm -f conftest.
$ac_objext conftest
$ac_exeext
16755 if { (ac_try
="$ac_link"
16756 case "(($ac_try" in
16757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16758 *) ac_try_echo=$ac_try;;
16760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16761 (eval "$ac_link") 2>conftest.er1
16763 grep -v '^ *+' conftest.er1 >conftest.err
16765 cat conftest.err >&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); } &&
16768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16769 { (case "(($ac_try" in
16770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16771 *) ac_try_echo
=$ac_try;;
16773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16774 (eval "$ac_try") 2>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); }; } &&
16778 { ac_try
='test -s conftest$ac_exeext'
16779 { (case "(($ac_try" in
16780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16781 *) ac_try_echo=$ac_try;;
16783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16784 (eval "$ac_try") 2>&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); }; }; then
16788 ac_cv_c_export_dynamic="yes"
16790 echo "$as_me: failed program was:" >&5
16791 sed 's/^/| /' conftest.$ac_ext >&5
16793 ac_cv_c_export_dynamic="no"
16796 rm -f core conftest.err conftest.$ac_objext \
16797 conftest$ac_exeext conftest.$ac_ext
16798 CFLAGS=$ac_wine_try_cflags_saved
16800 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
16801 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
16802 if test "$ac_cv_c_export_dynamic" = "yes"
16804 LDEXECFLAGS="-Wl,--export-dynamic"
16808 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
16809 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
16810 if test "${ac_cv_ld_rpath+set}" = set; then
16811 echo $ECHO_N "(cached) $ECHO_C" >&6
16813 ac_wine_try_cflags_saved=$CFLAGS
16814 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
16815 cat >conftest.$ac_ext <<_ACEOF
16818 cat confdefs.h >>conftest.$ac_ext
16819 cat >>conftest.$ac_ext <<_ACEOF
16820 /* end confdefs.h. */
16830 rm -f conftest.$ac_objext conftest$ac_exeext
16831 if { (ac_try="$ac_link"
16832 case "(($ac_try" in
16833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16834 *) ac_try_echo
=$ac_try;;
16836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16837 (eval "$ac_link") 2>conftest.er1
16839 grep -v '^ *+' conftest.er1
>conftest.err
16841 cat conftest.err
>&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } &&
16844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16845 { (case "(($ac_try" in
16846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16847 *) ac_try_echo=$ac_try;;
16849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16850 (eval "$ac_try") 2>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; } &&
16854 { ac_try='test -s conftest$ac_exeext'
16855 { (case "(($ac_try" in
16856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16857 *) ac_try_echo
=$ac_try;;
16859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16860 (eval "$ac_try") 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16864 ac_cv_ld_rpath
="yes"
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.
$ac_ext >&5
16869 ac_cv_ld_rpath
="no"
16872 rm -f core conftest.err conftest.
$ac_objext \
16873 conftest
$ac_exeext conftest.
$ac_ext
16874 CFLAGS
=$ac_wine_try_cflags_saved
16876 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
16877 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
16878 if test "$ac_cv_ld_rpath" = "yes"
16880 LDEXERPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
16882 LDDLLRPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
16887 *i
[3456789]86* | x86_64
)
16888 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
16889 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
16890 if test "${ac_cv_ld_reloc_exec+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16893 ac_wine_try_cflags_saved
=$CFLAGS
16894 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16895 cat >conftest.
$ac_ext <<_ACEOF
16898 cat confdefs.h
>>conftest.
$ac_ext
16899 cat >>conftest.
$ac_ext <<_ACEOF
16900 /* end confdefs.h. */
16910 rm -f conftest.
$ac_objext conftest
$ac_exeext
16911 if { (ac_try
="$ac_link"
16912 case "(($ac_try" in
16913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16914 *) ac_try_echo=$ac_try;;
16916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16917 (eval "$ac_link") 2>conftest.er1
16919 grep -v '^ *+' conftest.er1 >conftest.err
16921 cat conftest.err >&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); } &&
16924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16925 { (case "(($ac_try" in
16926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16927 *) ac_try_echo
=$ac_try;;
16929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16930 (eval "$ac_try") 2>&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; } &&
16934 { ac_try
='test -s conftest$ac_exeext'
16935 { (case "(($ac_try" in
16936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16937 *) ac_try_echo=$ac_try;;
16939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16940 (eval "$ac_try") 2>&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); }; }; then
16944 ac_cv_ld_reloc_exec="yes"
16946 echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.$ac_ext >&5
16949 ac_cv_ld_reloc_exec="no"
16952 rm -f core conftest.err conftest.$ac_objext \
16953 conftest$ac_exeext conftest.$ac_ext
16954 CFLAGS=$ac_wine_try_cflags_saved
16956 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16957 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16958 if test "$ac_cv_ld_reloc_exec" = "yes"
16960 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16966 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16967 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16968 if test "${ac_cv_c_dll_unixware+set}" = set; then
16969 echo $ECHO_N "(cached) $ECHO_C" >&6
16971 ac_wine_try_cflags_saved=$CFLAGS
16972 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16973 cat >conftest.$ac_ext <<_ACEOF
16976 rm -f conftest.$ac_objext conftest$ac_exeext
16977 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
16985 grep -v '^ *+' conftest.er1
>conftest.err
16987 cat conftest.err
>&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); } &&
16990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16991 { (case "(($ac_try" in
16992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16993 *) ac_try_echo=$ac_try;;
16995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16996 (eval "$ac_try") 2>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); }; } &&
17000 { ac_try='test -s conftest$ac_exeext'
17001 { (case "(($ac_try" in
17002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17003 *) ac_try_echo
=$ac_try;;
17005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17006 (eval "$ac_try") 2>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; }; then
17010 ac_cv_c_dll_unixware
="yes"
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.
$ac_ext >&5
17015 ac_cv_c_dll_unixware
="no"
17018 rm -f core conftest.err conftest.
$ac_objext \
17019 conftest
$ac_exeext conftest.
$ac_ext
17020 CFLAGS
=$ac_wine_try_cflags_saved
17022 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
17023 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
17024 if test "$ac_cv_c_dll_unixware" = "yes"
17026 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
17027 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
17030 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
17031 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
17032 if test "${ac_cv_c_dll_macho+set}" = set; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17035 ac_wine_try_cflags_saved
=$CFLAGS
17036 CFLAGS
="$CFLAGS -bundle"
17037 cat >conftest.
$ac_ext <<_ACEOF
17040 rm -f conftest.
$ac_objext conftest
$ac_exeext
17041 if { (ac_try
="$ac_link"
17042 case "(($ac_try" in
17043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17044 *) ac_try_echo=$ac_try;;
17046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17047 (eval "$ac_link") 2>conftest.er1
17049 grep -v '^ *+' conftest.er1 >conftest.err
17051 cat conftest.err >&5
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17055 { (case "(($ac_try" in
17056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17057 *) ac_try_echo
=$ac_try;;
17059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17060 (eval "$ac_try") 2>&5
17062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); }; } &&
17064 { ac_try
='test -s conftest$ac_exeext'
17065 { (case "(($ac_try" in
17066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17067 *) ac_try_echo=$ac_try;;
17069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17070 (eval "$ac_try") 2>&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); }; }; then
17074 ac_cv_c_dll_macho="yes"
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17079 ac_cv_c_dll_macho="no"
17082 rm -f core conftest.err conftest.$ac_objext \
17083 conftest$ac_exeext conftest.$ac_ext
17084 CFLAGS=$ac_wine_try_cflags_saved
17086 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
17087 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
17088 if test "$ac_cv_c_dll_macho" = "yes"
17091 LDDLLFLAGS="-bundle"
17092 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
17093 STRIP="$STRIP -u -r"
17094 COREFOUNDATIONLIB="-framework CoreFoundation"
17096 IOKITLIB="-framework IOKit -framework CoreFoundation"
17098 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
17100 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
17102 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
17107 CFLAGS="$CFLAGS -ffixed-r13"
17108 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"
17113 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
17114 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
17115 if test "${ac_cv_c_dll_hpux+set}" = set; then
17116 echo $ECHO_N "(cached) $ECHO_C" >&6
17118 ac_wine_try_cflags_saved=$CFLAGS
17119 CFLAGS="$CFLAGS -shared"
17120 cat >conftest.$ac_ext <<_ACEOF
17123 rm -f conftest.$ac_objext conftest$ac_exeext
17124 if { (ac_try="$ac_link"
17125 case "(($ac_try" in
17126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17127 *) ac_try_echo
=$ac_try;;
17129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 (eval "$ac_link") 2>conftest.er1
17132 grep -v '^ *+' conftest.er1
>conftest.err
17134 cat conftest.err
>&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } &&
17137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17138 { (case "(($ac_try" in
17139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17140 *) ac_try_echo=$ac_try;;
17142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17143 (eval "$ac_try") 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; } &&
17147 { ac_try='test -s conftest$ac_exeext'
17148 { (case "(($ac_try" in
17149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17150 *) ac_try_echo
=$ac_try;;
17152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17153 (eval "$ac_try") 2>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); }; }; then
17157 ac_cv_c_dll_hpux
="yes"
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.
$ac_ext >&5
17162 ac_cv_c_dll_hpux
="no"
17165 rm -f core conftest.err conftest.
$ac_objext \
17166 conftest
$ac_exeext conftest.
$ac_ext
17167 CFLAGS
=$ac_wine_try_cflags_saved
17169 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
17170 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
17171 if test "$ac_cv_c_dll_hpux" = "yes"
17175 LDDLLFLAGS
="-shared -fPIC"
17176 LDSHARED
="\$(CC) -shared"
17185 if test "$cross_compiling" = "no"
17187 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
17189 # Extract the first word of "$ac_prog", so it can be a program name with args.
17190 set dummy
$ac_prog; ac_word
=$2
17191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17193 if test "${ac_cv_prog_CROSSCC+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 if test -n "$CROSSCC"; then
17197 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
17199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17200 for as_dir
in $PATH
17203 test -z "$as_dir" && as_dir
=.
17204 for ac_exec_ext
in '' $ac_executable_extensions; do
17205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17206 ac_cv_prog_CROSSCC
="$ac_prog"
17207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17216 CROSSCC
=$ac_cv_prog_CROSSCC
17217 if test -n "$CROSSCC"; then
17218 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
17219 echo "${ECHO_T}$CROSSCC" >&6; }
17221 { echo "$as_me:$LINENO: result: no" >&5
17222 echo "${ECHO_T}no" >&6; }
17226 test -n "$CROSSCC" && break
17228 test -n "$CROSSCC" || CROSSCC
="false"
17230 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
17232 # Extract the first word of "$ac_prog", so it can be a program name with args.
17233 set dummy
$ac_prog; ac_word
=$2
17234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17236 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 if test -n "$DLLTOOL"; then
17240 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
17242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17243 for as_dir
in $PATH
17246 test -z "$as_dir" && as_dir
=.
17247 for ac_exec_ext
in '' $ac_executable_extensions; do
17248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17249 ac_cv_prog_DLLTOOL
="$ac_prog"
17250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17259 DLLTOOL
=$ac_cv_prog_DLLTOOL
17260 if test -n "$DLLTOOL"; then
17261 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17262 echo "${ECHO_T}$DLLTOOL" >&6; }
17264 { echo "$as_me:$LINENO: result: no" >&5
17265 echo "${ECHO_T}no" >&6; }
17269 test -n "$DLLTOOL" && break
17271 test -n "$DLLTOOL" || DLLTOOL
="false"
17273 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
17275 # Extract the first word of "$ac_prog", so it can be a program name with args.
17276 set dummy
$ac_prog; ac_word
=$2
17277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17279 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
17280 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 if test -n "$CROSSWINDRES"; then
17283 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
17285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17286 for as_dir
in $PATH
17289 test -z "$as_dir" && as_dir
=.
17290 for ac_exec_ext
in '' $ac_executable_extensions; do
17291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17292 ac_cv_prog_CROSSWINDRES
="$ac_prog"
17293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17302 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
17303 if test -n "$CROSSWINDRES"; then
17304 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
17305 echo "${ECHO_T}$CROSSWINDRES" >&6; }
17307 { echo "$as_me:$LINENO: result: no" >&5
17308 echo "${ECHO_T}no" >&6; }
17312 test -n "$CROSSWINDRES" && break
17314 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
17316 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
17321 if test "$LIBEXT" = "a"; then
17322 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
17323 It is currently not possible to build Wine without shared library
17324 (.so) support to allow transparent switch between .so and .dll files.
17325 If you are using Linux, you will need a newer binutils.
17327 echo "$as_me: error: could not find a way to build shared libraries.
17328 It is currently not possible to build Wine without shared library
17329 (.so) support to allow transparent switch between .so and .dll files.
17330 If you are using Linux, you will need a newer binutils.
17332 { (exit 1); exit 1; }; }
17337 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
17340 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
17343 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
17351 SOCKETLIBS
="-lws2_32"
17356 MAIN_BINARY
="wine-pthread"
17360 linux
* | k
*bsd
*-gnu)
17361 MAIN_BINARY
="wine-glibc"
17363 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
17370 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
17372 # Extract the first word of "ldd", so it can be a program name with args.
17373 set dummy ldd
; ac_word
=$2
17374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17376 if test "${ac_cv_path_LDD+set}" = set; then
17377 echo $ECHO_N "(cached) $ECHO_C" >&6
17381 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
17384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17385 as_dummy
="/sbin:/usr/sbin:$PATH"
17386 for as_dir
in $as_dummy
17389 test -z "$as_dir" && as_dir
=.
17390 for ac_exec_ext
in '' $ac_executable_extensions; do
17391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17392 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
17393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17400 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
17404 LDD
=$ac_cv_path_LDD
17405 if test -n "$LDD"; then
17406 { echo "$as_me:$LINENO: result: $LDD" >&5
17407 echo "${ECHO_T}$LDD" >&6; }
17409 { echo "$as_me:$LINENO: result: no" >&5
17410 echo "${ECHO_T}no" >&6; }
17414 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
17415 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
17416 if test "${ac_cv_lib_soname_X11+set}" = set; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 ac_get_soname_save_LIBS
=$LIBS
17420 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
17421 cat >conftest.
$ac_ext <<_ACEOF
17424 cat confdefs.h
>>conftest.
$ac_ext
17425 cat >>conftest.
$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17428 /* Override any GCC internal prototype to avoid an error.
17429 Use char because int might match the return type of a GCC
17430 builtin and then its argument prototype would still apply. */
17434 char XCreateWindow ();
17438 return XCreateWindow ();
17443 rm -f conftest.
$ac_objext conftest
$ac_exeext
17444 if { (ac_try
="$ac_link"
17445 case "(($ac_try" in
17446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_link") 2>conftest.er1
17452 grep -v '^ *+' conftest.er1 >conftest.err
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } &&
17457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17458 { (case "(($ac_try" in
17459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17460 *) ac_try_echo
=$ac_try;;
17462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17463 (eval "$ac_try") 2>&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); }; } &&
17467 { ac_try
='test -s conftest$ac_exeext'
17468 { (case "(($ac_try" in
17469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17470 *) ac_try_echo=$ac_try;;
17472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17473 (eval "$ac_try") 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17477 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libX11
\\.
$LIBEXT |
sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17478 if test "x$ac_cv_lib_soname_X11" = "x"
17480 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17483 echo "$as_me: failed program was:" >&5
17484 sed 's/^/| /' conftest.$ac_ext >&5
17486 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17489 rm -f core conftest.err conftest.$ac_objext \
17490 conftest$ac_exeext conftest.$ac_ext
17491 LIBS=$ac_get_soname_save_LIBS
17493 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
17494 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
17495 if test "${ac_cv_lib_soname_X11+set}" = set; then
17497 cat >>confdefs.h <<_ACEOF
17498 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
17503 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
17504 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
17505 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17508 ac_get_soname_save_LIBS=$LIBS
17509 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
17510 cat >conftest.$ac_ext <<_ACEOF
17513 cat confdefs.h >>conftest.$ac_ext
17514 cat >>conftest.$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17517 /* Override any GCC internal prototype to avoid an error.
17518 Use char because int might match the return type of a GCC
17519 builtin and then its argument prototype would still apply. */
17523 char XextCreateExtension ();
17527 return XextCreateExtension ();
17532 rm -f conftest.$ac_objext conftest$ac_exeext
17533 if { (ac_try="$ac_link"
17534 case "(($ac_try" in
17535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17536 *) ac_try_echo
=$ac_try;;
17538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17539 (eval "$ac_link") 2>conftest.er1
17541 grep -v '^ *+' conftest.er1
>conftest.err
17543 cat conftest.err
>&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17547 { (case "(($ac_try" in
17548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17549 *) ac_try_echo=$ac_try;;
17551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17552 (eval "$ac_try") 2>&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); }; } &&
17556 { ac_try='test -s conftest$ac_exeext'
17557 { (case "(($ac_try" in
17558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17559 *) ac_try_echo
=$ac_try;;
17561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17562 (eval "$ac_try") 2>&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; }; then
17566 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17567 if test "x$ac_cv_lib_soname_Xext" = "x"
17569 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.
$ac_ext >&5
17575 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
17578 rm -f core conftest.err conftest.
$ac_objext \
17579 conftest
$ac_exeext conftest.
$ac_ext
17580 LIBS
=$ac_get_soname_save_LIBS
17582 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
17583 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
17584 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17586 cat >>confdefs.h
<<_ACEOF
17587 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
17592 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
17593 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
17594 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17595 echo $ECHO_N "(cached) $ECHO_C" >&6
17597 ac_get_soname_save_LIBS
=$LIBS
17598 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17599 cat >conftest.
$ac_ext <<_ACEOF
17602 cat confdefs.h
>>conftest.
$ac_ext
17603 cat >>conftest.
$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17606 /* Override any GCC internal prototype to avoid an error.
17607 Use char because int might match the return type of a GCC
17608 builtin and then its argument prototype would still apply. */
17612 char XOpenDevice ();
17616 return XOpenDevice ();
17621 rm -f conftest.
$ac_objext conftest
$ac_exeext
17622 if { (ac_try
="$ac_link"
17623 case "(($ac_try" in
17624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17625 *) ac_try_echo=$ac_try;;
17627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17628 (eval "$ac_link") 2>conftest.er1
17630 grep -v '^ *+' conftest.er1 >conftest.err
17632 cat conftest.err >&5
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); } &&
17635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17636 { (case "(($ac_try" in
17637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17638 *) ac_try_echo
=$ac_try;;
17640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17641 (eval "$ac_try") 2>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); }; } &&
17645 { ac_try
='test -s conftest$ac_exeext'
17646 { (case "(($ac_try" in
17647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17648 *) ac_try_echo=$ac_try;;
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_try") 2>&5
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); }; }; then
17655 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXi
\\.
$LIBEXT |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17656 if test "x$ac_cv_lib_soname_Xi" = "x"
17658 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.$ac_ext >&5
17664 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17667 rm -f core conftest.err conftest.$ac_objext \
17668 conftest$ac_exeext conftest.$ac_ext
17669 LIBS=$ac_get_soname_save_LIBS
17671 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
17672 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
17673 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17675 cat >>confdefs.h <<_ACEOF
17676 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
17681 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
17682 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
17683 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17684 echo $ECHO_N "(cached) $ECHO_C" >&6
17686 ac_get_soname_save_LIBS=$LIBS
17687 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17688 cat >conftest.$ac_ext <<_ACEOF
17691 cat confdefs.h >>conftest.$ac_ext
17692 cat >>conftest.$ac_ext <<_ACEOF
17693 /* end confdefs.h. */
17695 /* Override any GCC internal prototype to avoid an error.
17696 Use char because int might match the return type of a GCC
17697 builtin and then its argument prototype would still apply. */
17701 char XRenderQueryExtension ();
17705 return XRenderQueryExtension ();
17710 rm -f conftest.$ac_objext conftest$ac_exeext
17711 if { (ac_try="$ac_link"
17712 case "(($ac_try" in
17713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17714 *) ac_try_echo
=$ac_try;;
17716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17717 (eval "$ac_link") 2>conftest.er1
17719 grep -v '^ *+' conftest.er1
>conftest.err
17721 cat conftest.err
>&5
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); } &&
17724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17725 { (case "(($ac_try" in
17726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17727 *) ac_try_echo=$ac_try;;
17729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17730 (eval "$ac_try") 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; } &&
17734 { ac_try='test -s conftest$ac_exeext'
17735 { (case "(($ac_try" in
17736 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17737 *) ac_try_echo
=$ac_try;;
17739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17740 (eval "$ac_try") 2>&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); }; }; then
17744 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17745 if test "x$ac_cv_lib_soname_Xrender" = "x"
17747 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
17750 echo "$as_me: failed program was:" >&5
17751 sed 's/^/| /' conftest.
$ac_ext >&5
17753 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
17756 rm -f core conftest.err conftest.
$ac_objext \
17757 conftest
$ac_exeext conftest.
$ac_ext
17758 LIBS
=$ac_get_soname_save_LIBS
17760 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
17761 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
17762 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17764 cat >>confdefs.h
<<_ACEOF
17765 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
17770 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
17771 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
17772 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17773 echo $ECHO_N "(cached) $ECHO_C" >&6
17775 ac_get_soname_save_LIBS
=$LIBS
17776 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17777 cat >conftest.
$ac_ext <<_ACEOF
17780 cat confdefs.h
>>conftest.
$ac_ext
17781 cat >>conftest.
$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17784 /* Override any GCC internal prototype to avoid an error.
17785 Use char because int might match the return type of a GCC
17786 builtin and then its argument prototype would still apply. */
17790 char XRRQueryExtension ();
17794 return XRRQueryExtension ();
17799 rm -f conftest.
$ac_objext conftest
$ac_exeext
17800 if { (ac_try
="$ac_link"
17801 case "(($ac_try" in
17802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17803 *) ac_try_echo=$ac_try;;
17805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17806 (eval "$ac_link") 2>conftest.er1
17808 grep -v '^ *+' conftest.er1 >conftest.err
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } &&
17813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17814 { (case "(($ac_try" in
17815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17816 *) ac_try_echo
=$ac_try;;
17818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17819 (eval "$ac_try") 2>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try
='test -s conftest$ac_exeext'
17824 { (case "(($ac_try" in
17825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17826 *) ac_try_echo=$ac_try;;
17828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17829 (eval "$ac_try") 2>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; }; then
17833 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrandr
\\.
$LIBEXT |
sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17834 if test "x$ac_cv_lib_soname_Xrandr" = "x"
17836 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.$ac_ext >&5
17842 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17845 rm -f core conftest.err conftest.$ac_objext \
17846 conftest$ac_exeext conftest.$ac_ext
17847 LIBS=$ac_get_soname_save_LIBS
17849 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
17850 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
17851 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17853 cat >>confdefs.h <<_ACEOF
17854 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17859 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17860 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17861 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17862 echo $ECHO_N "(cached) $ECHO_C" >&6
17864 ac_get_soname_save_LIBS=$LIBS
17865 LIBS="-lfreetype $X_LIBS $LIBS"
17866 cat >conftest.$ac_ext <<_ACEOF
17869 cat confdefs.h >>conftest.$ac_ext
17870 cat >>conftest.$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17873 /* Override any GCC internal prototype to avoid an error.
17874 Use char because int might match the return type of a GCC
17875 builtin and then its argument prototype would still apply. */
17879 char FT_Init_FreeType ();
17883 return FT_Init_FreeType ();
17888 rm -f conftest.$ac_objext conftest$ac_exeext
17889 if { (ac_try="$ac_link"
17890 case "(($ac_try" in
17891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17892 *) ac_try_echo
=$ac_try;;
17894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17895 (eval "$ac_link") 2>conftest.er1
17897 grep -v '^ *+' conftest.er1
>conftest.err
17899 cat conftest.err
>&5
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); } &&
17902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17903 { (case "(($ac_try" in
17904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17905 *) ac_try_echo=$ac_try;;
17907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17908 (eval "$ac_try") 2>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); }; } &&
17912 { ac_try='test -s conftest$ac_exeext'
17913 { (case "(($ac_try" in
17914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17915 *) ac_try_echo
=$ac_try;;
17917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17918 (eval "$ac_try") 2>&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); }; }; then
17922 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17923 if test "x$ac_cv_lib_soname_freetype" = "x"
17925 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.
$ac_ext >&5
17931 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
17934 rm -f core conftest.err conftest.
$ac_objext \
17935 conftest
$ac_exeext conftest.
$ac_ext
17936 LIBS
=$ac_get_soname_save_LIBS
17938 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17939 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17940 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17942 cat >>confdefs.h
<<_ACEOF
17943 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17948 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17949 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17950 if test "${ac_cv_lib_soname_GL+set}" = set; then
17951 echo $ECHO_N "(cached) $ECHO_C" >&6
17953 ac_get_soname_save_LIBS
=$LIBS
17954 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17955 cat >conftest.
$ac_ext <<_ACEOF
17958 cat confdefs.h
>>conftest.
$ac_ext
17959 cat >>conftest.
$ac_ext <<_ACEOF
17960 /* end confdefs.h. */
17962 /* Override any GCC internal prototype to avoid an error.
17963 Use char because int might match the return type of a GCC
17964 builtin and then its argument prototype would still apply. */
17968 char glXQueryExtension ();
17972 return glXQueryExtension ();
17977 rm -f conftest.
$ac_objext conftest
$ac_exeext
17978 if { (ac_try
="$ac_link"
17979 case "(($ac_try" in
17980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17981 *) ac_try_echo=$ac_try;;
17983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17984 (eval "$ac_link") 2>conftest.er1
17986 grep -v '^ *+' conftest.er1 >conftest.err
17988 cat conftest.err >&5
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); } &&
17991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17992 { (case "(($ac_try" in
17993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17994 *) ac_try_echo
=$ac_try;;
17996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17997 (eval "$ac_try") 2>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); }; } &&
18001 { ac_try
='test -s conftest$ac_exeext'
18002 { (case "(($ac_try" in
18003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18004 *) ac_try_echo=$ac_try;;
18006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18007 (eval "$ac_try") 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; }; then
18011 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libGL
\\.
$LIBEXT |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18012 if test "x$ac_cv_lib_soname_GL" = "x"
18014 ac_cv_lib_soname_GL="libGL.$LIBEXT"
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18020 ac_cv_lib_soname_GL="libGL.$LIBEXT"
18023 rm -f core conftest.err conftest.$ac_objext \
18024 conftest$ac_exeext conftest.$ac_ext
18025 LIBS=$ac_get_soname_save_LIBS
18027 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
18028 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
18029 if test "${ac_cv_lib_soname_GL+set}" = set; then
18031 cat >>confdefs.h <<_ACEOF
18032 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
18037 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
18038 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
18039 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18040 echo $ECHO_N "(cached) $ECHO_C" >&6
18042 ac_get_soname_save_LIBS=$LIBS
18043 LIBS="-ldbus-1 $LIBS"
18044 cat >conftest.$ac_ext <<_ACEOF
18047 cat confdefs.h >>conftest.$ac_ext
18048 cat >>conftest.$ac_ext <<_ACEOF
18049 /* end confdefs.h. */
18051 /* Override any GCC internal prototype to avoid an error.
18052 Use char because int might match the return type of a GCC
18053 builtin and then its argument prototype would still apply. */
18057 char dbus_error_init ();
18061 return dbus_error_init ();
18066 rm -f conftest.$ac_objext conftest$ac_exeext
18067 if { (ac_try="$ac_link"
18068 case "(($ac_try" in
18069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18070 *) ac_try_echo
=$ac_try;;
18072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18073 (eval "$ac_link") 2>conftest.er1
18075 grep -v '^ *+' conftest.er1
>conftest.err
18077 cat conftest.err
>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); } &&
18080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18081 { (case "(($ac_try" in
18082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18083 *) ac_try_echo=$ac_try;;
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086 (eval "$ac_try") 2>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; } &&
18090 { ac_try='test -s conftest$ac_exeext'
18091 { (case "(($ac_try" in
18092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18093 *) ac_try_echo
=$ac_try;;
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_try") 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; }; then
18100 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'`
18101 if test "x$ac_cv_lib_soname_dbus_1" = "x"
18103 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.
$ac_ext >&5
18109 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
18112 rm -f core conftest.err conftest.
$ac_objext \
18113 conftest
$ac_exeext conftest.
$ac_ext
18114 LIBS
=$ac_get_soname_save_LIBS
18116 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
18117 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
18118 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18120 cat >>confdefs.h
<<_ACEOF
18121 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
18126 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
18127 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
18128 if test "${ac_cv_lib_soname_hal+set}" = set; then
18129 echo $ECHO_N "(cached) $ECHO_C" >&6
18131 ac_get_soname_save_LIBS
=$LIBS
18133 cat >conftest.
$ac_ext <<_ACEOF
18136 cat confdefs.h
>>conftest.
$ac_ext
18137 cat >>conftest.
$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18140 /* Override any GCC internal prototype to avoid an error.
18141 Use char because int might match the return type of a GCC
18142 builtin and then its argument prototype would still apply. */
18146 char libhal_ctx_new ();
18150 return libhal_ctx_new ();
18155 rm -f conftest.
$ac_objext conftest
$ac_exeext
18156 if { (ac_try
="$ac_link"
18157 case "(($ac_try" in
18158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18159 *) ac_try_echo=$ac_try;;
18161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18162 (eval "$ac_link") 2>conftest.er1
18164 grep -v '^ *+' conftest.er1 >conftest.err
18166 cat conftest.err >&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } &&
18169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18170 { (case "(($ac_try" in
18171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18172 *) ac_try_echo
=$ac_try;;
18174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18175 (eval "$ac_try") 2>&5
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); }; } &&
18179 { ac_try
='test -s conftest$ac_exeext'
18180 { (case "(($ac_try" in
18181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18182 *) ac_try_echo=$ac_try;;
18184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18185 (eval "$ac_try") 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; }; then
18189 ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.
$LIBEXT |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18190 if test "x$ac_cv_lib_soname_hal" = "x"
18192 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18195 echo "$as_me: failed program was:" >&5
18196 sed 's/^/| /' conftest.$ac_ext >&5
18198 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18201 rm -f core conftest.err conftest.$ac_objext \
18202 conftest$ac_exeext conftest.$ac_ext
18203 LIBS=$ac_get_soname_save_LIBS
18205 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
18206 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
18207 if test "${ac_cv_lib_soname_hal+set}" = set; then
18209 cat >>confdefs.h <<_ACEOF
18210 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
18215 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
18216 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
18217 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18218 echo $ECHO_N "(cached) $ECHO_C" >&6
18220 ac_get_soname_save_LIBS=$LIBS
18221 LIBS="-ltxc_dxtn $LIBS"
18222 cat >conftest.$ac_ext <<_ACEOF
18225 cat confdefs.h >>conftest.$ac_ext
18226 cat >>conftest.$ac_ext <<_ACEOF
18227 /* end confdefs.h. */
18229 /* Override any GCC internal prototype to avoid an error.
18230 Use char because int might match the return type of a GCC
18231 builtin and then its argument prototype would still apply. */
18235 char fetch_2d_texel_rgba_dxt1 ();
18239 return fetch_2d_texel_rgba_dxt1 ();
18244 rm -f conftest.$ac_objext conftest$ac_exeext
18245 if { (ac_try="$ac_link"
18246 case "(($ac_try" in
18247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18248 *) ac_try_echo
=$ac_try;;
18250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18251 (eval "$ac_link") 2>conftest.er1
18253 grep -v '^ *+' conftest.er1
>conftest.err
18255 cat conftest.err
>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); } &&
18258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18259 { (case "(($ac_try" in
18260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18261 *) ac_try_echo=$ac_try;;
18263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18264 (eval "$ac_try") 2>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; } &&
18268 { ac_try='test -s conftest$ac_exeext'
18269 { (case "(($ac_try" in
18270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18271 *) ac_try_echo
=$ac_try;;
18273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18274 (eval "$ac_try") 2>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); }; }; then
18278 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'`
18279 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
18281 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.
$ac_ext >&5
18287 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
18290 rm -f core conftest.err conftest.
$ac_objext \
18291 conftest
$ac_exeext conftest.
$ac_ext
18292 LIBS
=$ac_get_soname_save_LIBS
18294 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
18295 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
18296 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18298 cat >>confdefs.h
<<_ACEOF
18299 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
18304 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
18305 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
18306 if test "${ac_cv_lib_soname_cups+set}" = set; then
18307 echo $ECHO_N "(cached) $ECHO_C" >&6
18309 ac_get_soname_save_LIBS
=$LIBS
18310 LIBS
="-lcups $LIBS"
18311 cat >conftest.
$ac_ext <<_ACEOF
18314 cat confdefs.h
>>conftest.
$ac_ext
18315 cat >>conftest.
$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18318 /* Override any GCC internal prototype to avoid an error.
18319 Use char because int might match the return type of a GCC
18320 builtin and then its argument prototype would still apply. */
18324 char cupsGetDefault ();
18328 return cupsGetDefault ();
18333 rm -f conftest.
$ac_objext conftest
$ac_exeext
18334 if { (ac_try
="$ac_link"
18335 case "(($ac_try" in
18336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18337 *) ac_try_echo=$ac_try;;
18339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18340 (eval "$ac_link") 2>conftest.er1
18342 grep -v '^ *+' conftest.er1 >conftest.err
18344 cat conftest.err >&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); } &&
18347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18348 { (case "(($ac_try" in
18349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18350 *) ac_try_echo
=$ac_try;;
18352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18353 (eval "$ac_try") 2>&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); }; } &&
18357 { ac_try
='test -s conftest$ac_exeext'
18358 { (case "(($ac_try" in
18359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18360 *) ac_try_echo=$ac_try;;
18362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18363 (eval "$ac_try") 2>&5
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; }; then
18367 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.
$LIBEXT |
sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18368 if test "x$ac_cv_lib_soname_cups" = "x"
18370 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.$ac_ext >&5
18376 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18379 rm -f core conftest.err conftest.$ac_objext \
18380 conftest$ac_exeext conftest.$ac_ext
18381 LIBS=$ac_get_soname_save_LIBS
18383 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
18384 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
18385 if test "${ac_cv_lib_soname_cups+set}" = set; then
18387 cat >>confdefs.h <<_ACEOF
18388 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
18393 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
18394 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
18395 if test "${ac_cv_lib_soname_jack+set}" = set; then
18396 echo $ECHO_N "(cached) $ECHO_C" >&6
18398 ac_get_soname_save_LIBS=$LIBS
18399 LIBS="-ljack $LIBS"
18400 cat >conftest.$ac_ext <<_ACEOF
18403 cat confdefs.h >>conftest.$ac_ext
18404 cat >>conftest.$ac_ext <<_ACEOF
18405 /* end confdefs.h. */
18407 /* Override any GCC internal prototype to avoid an error.
18408 Use char because int might match the return type of a GCC
18409 builtin and then its argument prototype would still apply. */
18413 char jack_client_new ();
18417 return jack_client_new ();
18422 rm -f conftest.$ac_objext conftest$ac_exeext
18423 if { (ac_try="$ac_link"
18424 case "(($ac_try" in
18425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18426 *) ac_try_echo
=$ac_try;;
18428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18429 (eval "$ac_link") 2>conftest.er1
18431 grep -v '^ *+' conftest.er1
>conftest.err
18433 cat conftest.err
>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); } &&
18436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18437 { (case "(($ac_try" in
18438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18439 *) ac_try_echo=$ac_try;;
18441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18442 (eval "$ac_try") 2>&5
18444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445 (exit $ac_status); }; } &&
18446 { ac_try='test -s conftest$ac_exeext'
18447 { (case "(($ac_try" in
18448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18449 *) ac_try_echo
=$ac_try;;
18451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18452 (eval "$ac_try") 2>&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; }; then
18456 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18457 if test "x$ac_cv_lib_soname_jack" = "x"
18459 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.
$ac_ext >&5
18465 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
18468 rm -f core conftest.err conftest.
$ac_objext \
18469 conftest
$ac_exeext conftest.
$ac_ext
18470 LIBS
=$ac_get_soname_save_LIBS
18472 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
18473 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
18474 if test "${ac_cv_lib_soname_jack+set}" = set; then
18476 cat >>confdefs.h
<<_ACEOF
18477 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
18482 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
18483 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
18484 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 ac_get_soname_save_LIBS
=$LIBS
18488 LIBS
="-lfontconfig $LIBS"
18489 cat >conftest.
$ac_ext <<_ACEOF
18492 cat confdefs.h
>>conftest.
$ac_ext
18493 cat >>conftest.
$ac_ext <<_ACEOF
18494 /* end confdefs.h. */
18496 /* Override any GCC internal prototype to avoid an error.
18497 Use char because int might match the return type of a GCC
18498 builtin and then its argument prototype would still apply. */
18511 rm -f conftest.
$ac_objext conftest
$ac_exeext
18512 if { (ac_try
="$ac_link"
18513 case "(($ac_try" in
18514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18515 *) ac_try_echo=$ac_try;;
18517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18518 (eval "$ac_link") 2>conftest.er1
18520 grep -v '^ *+' conftest.er1 >conftest.err
18522 cat conftest.err >&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } &&
18525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18526 { (case "(($ac_try" in
18527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18528 *) ac_try_echo
=$ac_try;;
18530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18531 (eval "$ac_try") 2>&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); }; } &&
18535 { ac_try
='test -s conftest$ac_exeext'
18536 { (case "(($ac_try" in
18537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18538 *) ac_try_echo=$ac_try;;
18540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18541 (eval "$ac_try") 2>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; }; then
18545 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.
$LIBEXT |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18546 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18548 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18551 echo "$as_me: failed program was:" >&5
18552 sed 's/^/| /' conftest.$ac_ext >&5
18554 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18557 rm -f core conftest.err conftest.$ac_objext \
18558 conftest$ac_exeext conftest.$ac_ext
18559 LIBS=$ac_get_soname_save_LIBS
18561 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
18562 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
18563 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18565 cat >>confdefs.h <<_ACEOF
18566 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
18571 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
18572 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
18573 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18576 ac_get_soname_save_LIBS=$LIBS
18578 cat >conftest.$ac_ext <<_ACEOF
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18585 /* Override any GCC internal prototype to avoid an error.
18586 Use char because int might match the return type of a GCC
18587 builtin and then its argument prototype would still apply. */
18591 char SSL_library_init ();
18595 return SSL_library_init ();
18600 rm -f conftest.$ac_objext conftest$ac_exeext
18601 if { (ac_try="$ac_link"
18602 case "(($ac_try" in
18603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18604 *) ac_try_echo
=$ac_try;;
18606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18607 (eval "$ac_link") 2>conftest.er1
18609 grep -v '^ *+' conftest.er1
>conftest.err
18611 cat conftest.err
>&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } &&
18614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18615 { (case "(($ac_try" in
18616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18617 *) ac_try_echo=$ac_try;;
18619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18620 (eval "$ac_try") 2>&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); }; } &&
18624 { ac_try='test -s conftest$ac_exeext'
18625 { (case "(($ac_try" in
18626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18627 *) ac_try_echo
=$ac_try;;
18629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18630 (eval "$ac_try") 2>&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); }; }; then
18634 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18635 if test "x$ac_cv_lib_soname_ssl" = "x"
18637 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
18640 echo "$as_me: failed program was:" >&5
18641 sed 's/^/| /' conftest.
$ac_ext >&5
18643 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
18646 rm -f core conftest.err conftest.
$ac_objext \
18647 conftest
$ac_exeext conftest.
$ac_ext
18648 LIBS
=$ac_get_soname_save_LIBS
18650 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
18651 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
18652 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18654 cat >>confdefs.h
<<_ACEOF
18655 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
18660 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
18661 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
18662 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18665 ac_get_soname_save_LIBS
=$LIBS
18666 LIBS
="-lcrypto $LIBS"
18667 cat >conftest.
$ac_ext <<_ACEOF
18670 cat confdefs.h
>>conftest.
$ac_ext
18671 cat >>conftest.
$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18674 /* Override any GCC internal prototype to avoid an error.
18675 Use char because int might match the return type of a GCC
18676 builtin and then its argument prototype would still apply. */
18680 char BIO_new_socket ();
18684 return BIO_new_socket ();
18689 rm -f conftest.
$ac_objext conftest
$ac_exeext
18690 if { (ac_try
="$ac_link"
18691 case "(($ac_try" in
18692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18693 *) ac_try_echo=$ac_try;;
18695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18696 (eval "$ac_link") 2>conftest.er1
18698 grep -v '^ *+' conftest.er1 >conftest.err
18700 cat conftest.err >&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } &&
18703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18704 { (case "(($ac_try" in
18705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18706 *) ac_try_echo
=$ac_try;;
18708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18709 (eval "$ac_try") 2>&5
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; } &&
18713 { ac_try
='test -s conftest$ac_exeext'
18714 { (case "(($ac_try" in
18715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18716 *) ac_try_echo=$ac_try;;
18718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18719 (eval "$ac_try") 2>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); }; }; then
18723 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.
$LIBEXT |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18724 if test "x$ac_cv_lib_soname_crypto" = "x"
18726 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18729 echo "$as_me: failed program was:" >&5
18730 sed 's/^/| /' conftest.$ac_ext >&5
18732 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18735 rm -f core conftest.err conftest.$ac_objext \
18736 conftest$ac_exeext conftest.$ac_ext
18737 LIBS=$ac_get_soname_save_LIBS
18739 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
18740 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
18741 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18743 cat >>confdefs.h <<_ACEOF
18744 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
18749 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
18750 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
18751 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18752 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 ac_get_soname_save_LIBS=$LIBS
18755 LIBS="-lncurses $LIBS"
18756 cat >conftest.$ac_ext <<_ACEOF
18759 cat confdefs.h >>conftest.$ac_ext
18760 cat >>conftest.$ac_ext <<_ACEOF
18761 /* end confdefs.h. */
18763 /* Override any GCC internal prototype to avoid an error.
18764 Use char because int might match the return type of a GCC
18765 builtin and then its argument prototype would still apply. */
18778 rm -f conftest.$ac_objext conftest$ac_exeext
18779 if { (ac_try="$ac_link"
18780 case "(($ac_try" in
18781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18782 *) ac_try_echo
=$ac_try;;
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_link") 2>conftest.er1
18787 grep -v '^ *+' conftest.er1
>conftest.err
18789 cat conftest.err
>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } &&
18792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18793 { (case "(($ac_try" in
18794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18795 *) ac_try_echo=$ac_try;;
18797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18798 (eval "$ac_try") 2>&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; } &&
18802 { ac_try='test -s conftest$ac_exeext'
18803 { (case "(($ac_try" in
18804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18805 *) ac_try_echo
=$ac_try;;
18807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18808 (eval "$ac_try") 2>&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); }; }; then
18812 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18813 if test "x$ac_cv_lib_soname_ncurses" = "x"
18815 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.
$ac_ext >&5
18821 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
18824 rm -f core conftest.err conftest.
$ac_objext \
18825 conftest
$ac_exeext conftest.
$ac_ext
18826 LIBS
=$ac_get_soname_save_LIBS
18828 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
18829 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
18830 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18832 cat >>confdefs.h
<<_ACEOF
18833 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
18838 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
18839 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
18840 if test "${ac_cv_lib_soname_curses+set}" = set; then
18841 echo $ECHO_N "(cached) $ECHO_C" >&6
18843 ac_get_soname_save_LIBS
=$LIBS
18844 LIBS
="-lcurses $LIBS"
18845 cat >conftest.
$ac_ext <<_ACEOF
18848 cat confdefs.h
>>conftest.
$ac_ext
18849 cat >>conftest.
$ac_ext <<_ACEOF
18850 /* end confdefs.h. */
18852 /* Override any GCC internal prototype to avoid an error.
18853 Use char because int might match the return type of a GCC
18854 builtin and then its argument prototype would still apply. */
18867 rm -f conftest.
$ac_objext conftest
$ac_exeext
18868 if { (ac_try
="$ac_link"
18869 case "(($ac_try" in
18870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18871 *) ac_try_echo=$ac_try;;
18873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18874 (eval "$ac_link") 2>conftest.er1
18876 grep -v '^ *+' conftest.er1 >conftest.err
18878 cat conftest.err >&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); } &&
18881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18882 { (case "(($ac_try" in
18883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18884 *) ac_try_echo
=$ac_try;;
18886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18887 (eval "$ac_try") 2>&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); }; } &&
18891 { ac_try
='test -s conftest$ac_exeext'
18892 { (case "(($ac_try" in
18893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18894 *) ac_try_echo=$ac_try;;
18896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18897 (eval "$ac_try") 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; }; then
18901 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.
$LIBEXT |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18902 if test "x$ac_cv_lib_soname_curses" = "x"
18904 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18907 echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.$ac_ext >&5
18910 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18913 rm -f core conftest.err conftest.$ac_objext \
18914 conftest$ac_exeext conftest.$ac_ext
18915 LIBS=$ac_get_soname_save_LIBS
18917 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18918 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18919 if test "${ac_cv_lib_soname_curses+set}" = set; then
18921 cat >>confdefs.h <<_ACEOF
18922 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18927 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18928 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18929 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18930 echo $ECHO_N "(cached) $ECHO_C" >&6
18932 ac_get_soname_save_LIBS=$LIBS
18933 LIBS="-ljpeg $LIBS"
18934 cat >conftest.$ac_ext <<_ACEOF
18937 cat confdefs.h >>conftest.$ac_ext
18938 cat >>conftest.$ac_ext <<_ACEOF
18939 /* end confdefs.h. */
18941 /* Override any GCC internal prototype to avoid an error.
18942 Use char because int might match the return type of a GCC
18943 builtin and then its argument prototype would still apply. */
18947 char jpeg_start_decompress ();
18951 return jpeg_start_decompress ();
18956 rm -f conftest.$ac_objext conftest$ac_exeext
18957 if { (ac_try="$ac_link"
18958 case "(($ac_try" in
18959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18960 *) ac_try_echo
=$ac_try;;
18962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18963 (eval "$ac_link") 2>conftest.er1
18965 grep -v '^ *+' conftest.er1
>conftest.err
18967 cat conftest.err
>&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); } &&
18970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18971 { (case "(($ac_try" in
18972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18973 *) ac_try_echo=$ac_try;;
18975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18976 (eval "$ac_try") 2>&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); }; } &&
18980 { ac_try='test -s conftest$ac_exeext'
18981 { (case "(($ac_try" in
18982 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18983 *) ac_try_echo
=$ac_try;;
18985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18986 (eval "$ac_try") 2>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); }; }; then
18990 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18991 if test "x$ac_cv_lib_soname_jpeg" = "x"
18993 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.
$ac_ext >&5
18999 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
19002 rm -f core conftest.err conftest.
$ac_objext \
19003 conftest
$ac_exeext conftest.
$ac_ext
19004 LIBS
=$ac_get_soname_save_LIBS
19006 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
19007 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
19008 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
19010 cat >>confdefs.h
<<_ACEOF
19011 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
19016 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
19017 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
19018 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19019 echo $ECHO_N "(cached) $ECHO_C" >&6
19021 ac_get_soname_save_LIBS
=$LIBS
19022 LIBS
="-lungif $LIBS"
19023 cat >conftest.
$ac_ext <<_ACEOF
19026 cat confdefs.h
>>conftest.
$ac_ext
19027 cat >>conftest.
$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19030 /* Override any GCC internal prototype to avoid an error.
19031 Use char because int might match the return type of a GCC
19032 builtin and then its argument prototype would still apply. */
19040 return DGifOpen ();
19045 rm -f conftest.
$ac_objext conftest
$ac_exeext
19046 if { (ac_try
="$ac_link"
19047 case "(($ac_try" in
19048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_link") 2>conftest.er1
19054 grep -v '^ *+' conftest.er1 >conftest.err
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } &&
19059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19060 { (case "(($ac_try" in
19061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19062 *) ac_try_echo
=$ac_try;;
19064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_try") 2>&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); }; } &&
19069 { ac_try
='test -s conftest$ac_exeext'
19070 { (case "(($ac_try" in
19071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19072 *) ac_try_echo=$ac_try;;
19074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19075 (eval "$ac_try") 2>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; }; then
19079 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libungif
\\.
$LIBEXT |
sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19080 if test "x$ac_cv_lib_soname_ungif" = "x"
19082 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19088 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19091 rm -f core conftest.err conftest.$ac_objext \
19092 conftest$ac_exeext conftest.$ac_ext
19093 LIBS=$ac_get_soname_save_LIBS
19095 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
19096 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
19097 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19099 cat >>confdefs.h <<_ACEOF
19100 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
19105 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
19106 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
19107 if test "${ac_cv_lib_soname_gif+set}" = set; then
19108 echo $ECHO_N "(cached) $ECHO_C" >&6
19110 ac_get_soname_save_LIBS=$LIBS
19112 cat >conftest.$ac_ext <<_ACEOF
19115 cat confdefs.h >>conftest.$ac_ext
19116 cat >>conftest.$ac_ext <<_ACEOF
19117 /* end confdefs.h. */
19119 /* Override any GCC internal prototype to avoid an error.
19120 Use char because int might match the return type of a GCC
19121 builtin and then its argument prototype would still apply. */
19129 return DGifOpen ();
19134 rm -f conftest.$ac_objext conftest$ac_exeext
19135 if { (ac_try="$ac_link"
19136 case "(($ac_try" in
19137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19138 *) ac_try_echo
=$ac_try;;
19140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19141 (eval "$ac_link") 2>conftest.er1
19143 grep -v '^ *+' conftest.er1
>conftest.err
19145 cat conftest.err
>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } &&
19148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19149 { (case "(($ac_try" in
19150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19151 *) ac_try_echo=$ac_try;;
19153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19154 (eval "$ac_try") 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; } &&
19158 { ac_try='test -s conftest$ac_exeext'
19159 { (case "(($ac_try" in
19160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19161 *) ac_try_echo
=$ac_try;;
19163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19164 (eval "$ac_try") 2>&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); }; }; then
19168 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19169 if test "x$ac_cv_lib_soname_gif" = "x"
19171 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
19174 echo "$as_me: failed program was:" >&5
19175 sed 's/^/| /' conftest.
$ac_ext >&5
19177 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
19180 rm -f core conftest.err conftest.
$ac_objext \
19181 conftest
$ac_exeext conftest.
$ac_ext
19182 LIBS
=$ac_get_soname_save_LIBS
19184 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
19185 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
19186 if test "${ac_cv_lib_soname_gif+set}" = set; then
19188 cat >>confdefs.h
<<_ACEOF
19189 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
19194 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
19195 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
19196 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19197 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 ac_get_soname_save_LIBS
=$LIBS
19200 LIBS
="-lcapi20 $LIBS"
19201 cat >conftest.
$ac_ext <<_ACEOF
19204 cat confdefs.h
>>conftest.
$ac_ext
19205 cat >>conftest.
$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19208 /* Override any GCC internal prototype to avoid an error.
19209 Use char because int might match the return type of a GCC
19210 builtin and then its argument prototype would still apply. */
19214 char capi20_isinstalled ();
19218 return capi20_isinstalled ();
19223 rm -f conftest.
$ac_objext conftest
$ac_exeext
19224 if { (ac_try
="$ac_link"
19225 case "(($ac_try" in
19226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19227 *) ac_try_echo=$ac_try;;
19229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19230 (eval "$ac_link") 2>conftest.er1
19232 grep -v '^ *+' conftest.er1 >conftest.err
19234 cat conftest.err >&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } &&
19237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19238 { (case "(($ac_try" in
19239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19240 *) ac_try_echo
=$ac_try;;
19242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19243 (eval "$ac_try") 2>&5
19245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246 (exit $ac_status); }; } &&
19247 { ac_try
='test -s conftest$ac_exeext'
19248 { (case "(($ac_try" in
19249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19250 *) ac_try_echo=$ac_try;;
19252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19253 (eval "$ac_try") 2>&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19257 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.
$LIBEXT |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19258 if test "x$ac_cv_lib_soname_capi20" = "x"
19260 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19263 echo "$as_me: failed program was:" >&5
19264 sed 's/^/| /' conftest.$ac_ext >&5
19266 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19269 rm -f core conftest.err conftest.$ac_objext \
19270 conftest$ac_exeext conftest.$ac_ext
19271 LIBS=$ac_get_soname_save_LIBS
19273 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
19274 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
19275 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19277 cat >>confdefs.h <<_ACEOF
19278 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
19420 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
19421 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19423 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19424 echo $ECHO_N "(cached) $ECHO_C" >&6
19426 cat >conftest.$ac_ext <<_ACEOF
19429 cat confdefs.h >>conftest.$ac_ext
19430 cat >>conftest.$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19434 #define $ac_func innocuous_$ac_func
19436 /* System header to define __stub macros and hopefully few prototypes,
19437 which can conflict with char $ac_func (); below.
19438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19439 <limits.h> exists even on freestanding compilers. */
19442 # include <limits.h>
19444 # include <assert.h>
19449 /* Override any GCC internal prototype to avoid an error.
19450 Use char because int might match the return type of a GCC
19451 builtin and then its argument prototype would still apply. */
19456 /* The GNU C library defines this for functions which it implements
19457 to always fail with ENOSYS. Some functions are actually named
19458 something starting with __ and the normal name is an alias. */
19459 #if defined __stub_$ac_func || defined __stub___$ac_func
19466 return $ac_func ();
19471 rm -f conftest.$ac_objext conftest$ac_exeext
19472 if { (ac_try="$ac_link"
19473 case "(($ac_try" in
19474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19475 *) ac_try_echo
=$ac_try;;
19477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19478 (eval "$ac_link") 2>conftest.er1
19480 grep -v '^ *+' conftest.er1
>conftest.err
19482 cat conftest.err
>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } &&
19485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19486 { (case "(($ac_try" in
19487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19488 *) ac_try_echo=$ac_try;;
19490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19491 (eval "$ac_try") 2>&5
19493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19494 (exit $ac_status); }; } &&
19495 { ac_try='test -s conftest$ac_exeext'
19496 { (case "(($ac_try" in
19497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19498 *) ac_try_echo
=$ac_try;;
19500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19501 (eval "$ac_try") 2>&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); }; }; then
19505 eval "$as_ac_var=yes"
19507 echo "$as_me: failed program was:" >&5
19508 sed 's/^/| /' conftest.
$ac_ext >&5
19510 eval "$as_ac_var=no"
19513 rm -f core conftest.err conftest.
$ac_objext \
19514 conftest
$ac_exeext conftest.
$ac_ext
19516 ac_res
=`eval echo '${'$as_ac_var'}'`
19517 { echo "$as_me:$LINENO: result: $ac_res" >&5
19518 echo "${ECHO_T}$ac_res" >&6; }
19519 if test `eval echo '${'$as_ac_var'}'` = yes; then
19520 cat >>confdefs.h
<<_ACEOF
19521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19530 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19531 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19532 if test "${ac_cv_c_const+set}" = set; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19535 cat >conftest.
$ac_ext <<_ACEOF
19538 cat confdefs.h
>>conftest.
$ac_ext
19539 cat >>conftest.
$ac_ext <<_ACEOF
19540 /* end confdefs.h. */
19545 /* FIXME: Include the comments suggested by Paul. */
19546 #ifndef __cplusplus
19547 /* Ultrix mips cc rejects this. */
19548 typedef int charset[2];
19550 /* SunOS 4.1.1 cc rejects this. */
19551 char const *const *ccp;
19553 /* NEC SVR4.0.2 mips cc rejects this. */
19554 struct point {int x, y;};
19555 static struct point const zero = {0,0};
19556 /* AIX XL C 1.02.0.0 rejects this.
19557 It does not let you subtract one const X* pointer from another in
19558 an arm of an if-expression whose if-part is not a constant
19560 const char *g = "string";
19561 ccp = &g + (g ? g-g : 0);
19562 /* HPUX 7.0 cc rejects these. */
19565 ccp = (char const *const *) p;
19566 { /* SCO 3.2v4 cc rejects this. */
19568 char const *s = 0 ? (char *) 0 : (char const *) 0;
19573 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19574 int x[] = {25, 17};
19575 const int *foo = &x[0];
19578 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19579 typedef const int *iptr;
19583 { /* AIX XL C 1.02.0.0 rejects this saying
19584 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19585 struct s { int j; const int *ap[3]; };
19586 struct s *b; b->j = 5;
19588 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19589 const int foo = 10;
19590 if (!foo) return 0;
19592 return !x[0] && !zero.x;
19599 rm -f conftest.
$ac_objext
19600 if { (ac_try
="$ac_compile"
19601 case "(($ac_try" in
19602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19603 *) ac_try_echo=$ac_try;;
19605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19606 (eval "$ac_compile") 2>conftest.er1
19608 grep -v '^ *+' conftest.er1 >conftest.err
19610 cat conftest.err >&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } &&
19613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19614 { (case "(($ac_try" in
19615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19616 *) ac_try_echo
=$ac_try;;
19618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19619 (eval "$ac_try") 2>&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); }; } &&
19623 { ac_try
='test -s conftest.$ac_objext'
19624 { (case "(($ac_try" in
19625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19626 *) ac_try_echo=$ac_try;;
19628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19629 (eval "$ac_try") 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; }; then
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.$ac_ext >&5
19641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19643 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19644 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19645 if test $ac_cv_c_const = no; then
19647 cat >>confdefs.h <<\_ACEOF
19653 { echo "$as_me:$LINENO: checking for inline" >&5
19654 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19655 if test "${ac_cv_c_inline+set}" = set; then
19656 echo $ECHO_N "(cached) $ECHO_C" >&6
19659 for ac_kw in inline __inline__ __inline; do
19660 cat >conftest.$ac_ext <<_ACEOF
19663 cat confdefs.h >>conftest.$ac_ext
19664 cat >>conftest.$ac_ext <<_ACEOF
19665 /* end confdefs.h. */
19666 #ifndef __cplusplus
19668 static $ac_kw foo_t static_foo () {return 0; }
19669 $ac_kw foo_t foo () {return 0; }
19673 rm -f conftest.$ac_objext
19674 if { (ac_try="$ac_compile"
19675 case "(($ac_try" in
19676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19677 *) ac_try_echo
=$ac_try;;
19679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19680 (eval "$ac_compile") 2>conftest.er1
19682 grep -v '^ *+' conftest.er1
>conftest.err
19684 cat conftest.err
>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } &&
19687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19688 { (case "(($ac_try" in
19689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19690 *) ac_try_echo=$ac_try;;
19692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19693 (eval "$ac_try") 2>&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; } &&
19697 { ac_try='test -s conftest.$ac_objext'
19698 { (case "(($ac_try" in
19699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19700 *) ac_try_echo
=$ac_try;;
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_try") 2>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; }; then
19707 ac_cv_c_inline
=$ac_kw
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.
$ac_ext >&5
19715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19716 test "$ac_cv_c_inline" != no
&& break
19720 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19721 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19724 case $ac_cv_c_inline in
19727 case $ac_cv_c_inline in
19729 *) ac_val
=$ac_cv_c_inline;;
19731 cat >>confdefs.h
<<_ACEOF
19732 #ifndef __cplusplus
19733 #define inline $ac_val
19739 { echo "$as_me:$LINENO: checking for mode_t" >&5
19740 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19741 if test "${ac_cv_type_mode_t+set}" = set; then
19742 echo $ECHO_N "(cached) $ECHO_C" >&6
19744 cat >conftest.
$ac_ext <<_ACEOF
19747 cat confdefs.h
>>conftest.
$ac_ext
19748 cat >>conftest.
$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19750 $ac_includes_default
19751 typedef mode_t ac__type_new_;
19755 if ((ac__type_new_ *) 0)
19757 if (sizeof (ac__type_new_))
19763 rm -f conftest.
$ac_objext
19764 if { (ac_try
="$ac_compile"
19765 case "(($ac_try" in
19766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19767 *) ac_try_echo=$ac_try;;
19769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19770 (eval "$ac_compile") 2>conftest.er1
19772 grep -v '^ *+' conftest.er1 >conftest.err
19774 cat conftest.err >&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19778 { (case "(($ac_try" in
19779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19780 *) ac_try_echo
=$ac_try;;
19782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19783 (eval "$ac_try") 2>&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; } &&
19787 { ac_try
='test -s conftest.$ac_objext'
19788 { (case "(($ac_try" in
19789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19790 *) ac_try_echo=$ac_try;;
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_try") 2>&5
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); }; }; then
19797 ac_cv_type_mode_t=yes
19799 echo "$as_me: failed program was:" >&5
19800 sed 's/^/| /' conftest.$ac_ext >&5
19802 ac_cv_type_mode_t=no
19805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19807 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19808 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19809 if test $ac_cv_type_mode_t = yes; then
19811 cat >>confdefs.h <<_ACEOF
19812 #define HAVE_MODE_T 1
19817 { echo "$as_me:$LINENO: checking for off_t" >&5
19818 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19819 if test "${ac_cv_type_off_t+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19822 cat >conftest.$ac_ext <<_ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef off_t ac__type_new_;
19833 if ((ac__type_new_ *) 0)
19835 if (sizeof (ac__type_new_))
19841 rm -f conftest.$ac_objext
19842 if { (ac_try="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19845 *) ac_try_echo
=$ac_try;;
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19850 grep -v '^ *+' conftest.er1
>conftest.err
19852 cat conftest.err
>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } &&
19855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19856 { (case "(($ac_try" in
19857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19858 *) ac_try_echo=$ac_try;;
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_try") 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; } &&
19865 { ac_try='test -s conftest.$ac_objext'
19866 { (case "(($ac_try" in
19867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19868 *) ac_try_echo
=$ac_try;;
19870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19871 (eval "$ac_try") 2>&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); }; }; then
19875 ac_cv_type_off_t
=yes
19877 echo "$as_me: failed program was:" >&5
19878 sed 's/^/| /' conftest.
$ac_ext >&5
19880 ac_cv_type_off_t
=no
19883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19885 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19886 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19887 if test $ac_cv_type_off_t = yes; then
19889 cat >>confdefs.h
<<_ACEOF
19890 #define HAVE_OFF_T 1
19895 { echo "$as_me:$LINENO: checking for pid_t" >&5
19896 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19897 if test "${ac_cv_type_pid_t+set}" = set; then
19898 echo $ECHO_N "(cached) $ECHO_C" >&6
19900 cat >conftest.
$ac_ext <<_ACEOF
19903 cat confdefs.h
>>conftest.
$ac_ext
19904 cat >>conftest.
$ac_ext <<_ACEOF
19905 /* end confdefs.h. */
19906 $ac_includes_default
19907 typedef pid_t ac__type_new_;
19911 if ((ac__type_new_ *) 0)
19913 if (sizeof (ac__type_new_))
19919 rm -f conftest.
$ac_objext
19920 if { (ac_try
="$ac_compile"
19921 case "(($ac_try" in
19922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19923 *) ac_try_echo=$ac_try;;
19925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19926 (eval "$ac_compile") 2>conftest.er1
19928 grep -v '^ *+' conftest.er1 >conftest.err
19930 cat conftest.err >&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } &&
19933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19934 { (case "(($ac_try" in
19935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19936 *) ac_try_echo
=$ac_try;;
19938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19939 (eval "$ac_try") 2>&5
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); }; } &&
19943 { ac_try
='test -s conftest.$ac_objext'
19944 { (case "(($ac_try" in
19945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19946 *) ac_try_echo=$ac_try;;
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_try") 2>&5
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; }; then
19953 ac_cv_type_pid_t=yes
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.$ac_ext >&5
19958 ac_cv_type_pid_t=no
19961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19963 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19964 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19965 if test $ac_cv_type_pid_t = yes; then
19967 cat >>confdefs.h <<_ACEOF
19968 #define HAVE_PID_T 1
19973 { echo "$as_me:$LINENO: checking for size_t" >&5
19974 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19975 if test "${ac_cv_type_size_t+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19978 cat >conftest.$ac_ext <<_ACEOF
19981 cat confdefs.h >>conftest.$ac_ext
19982 cat >>conftest.$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19984 $ac_includes_default
19985 typedef size_t ac__type_new_;
19989 if ((ac__type_new_ *) 0)
19991 if (sizeof (ac__type_new_))
19997 rm -f conftest.$ac_objext
19998 if { (ac_try="$ac_compile"
19999 case "(($ac_try" in
20000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20001 *) ac_try_echo
=$ac_try;;
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_compile") 2>conftest.er1
20006 grep -v '^ *+' conftest.er1
>conftest.err
20008 cat conftest.err
>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } &&
20011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20012 { (case "(($ac_try" in
20013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20014 *) ac_try_echo=$ac_try;;
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_try") 2>&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); }; } &&
20021 { ac_try='test -s conftest.$ac_objext'
20022 { (case "(($ac_try" in
20023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20024 *) ac_try_echo
=$ac_try;;
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_try") 2>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; }; then
20031 ac_cv_type_size_t
=yes
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.
$ac_ext >&5
20036 ac_cv_type_size_t
=no
20039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20041 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20042 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20043 if test $ac_cv_type_size_t = yes; then
20045 cat >>confdefs.h
<<_ACEOF
20046 #define HAVE_SIZE_T 1
20051 { echo "$as_me:$LINENO: checking for ssize_t" >&5
20052 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
20053 if test "${ac_cv_type_ssize_t+set}" = set; then
20054 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 cat >conftest.
$ac_ext <<_ACEOF
20059 cat confdefs.h
>>conftest.
$ac_ext
20060 cat >>conftest.
$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20062 $ac_includes_default
20063 typedef ssize_t ac__type_new_;
20067 if ((ac__type_new_ *) 0)
20069 if (sizeof (ac__type_new_))
20075 rm -f conftest.
$ac_objext
20076 if { (ac_try
="$ac_compile"
20077 case "(($ac_try" in
20078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20079 *) ac_try_echo=$ac_try;;
20081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20082 (eval "$ac_compile") 2>conftest.er1
20084 grep -v '^ *+' conftest.er1 >conftest.err
20086 cat conftest.err >&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); } &&
20089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20090 { (case "(($ac_try" in
20091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20092 *) ac_try_echo
=$ac_try;;
20094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20095 (eval "$ac_try") 2>&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; } &&
20099 { ac_try
='test -s conftest.$ac_objext'
20100 { (case "(($ac_try" in
20101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20102 *) ac_try_echo=$ac_try;;
20104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20105 (eval "$ac_try") 2>&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); }; }; then
20109 ac_cv_type_ssize_t=yes
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20114 ac_cv_type_ssize_t=no
20117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20119 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
20120 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
20121 if test $ac_cv_type_ssize_t = yes; then
20123 cat >>confdefs.h <<_ACEOF
20124 #define HAVE_SSIZE_T 1
20129 { echo "$as_me:$LINENO: checking for long long" >&5
20130 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20131 if test "${ac_cv_type_long_long+set}" = set; then
20132 echo $ECHO_N "(cached) $ECHO_C" >&6
20134 cat >conftest.$ac_ext <<_ACEOF
20137 cat confdefs.h >>conftest.$ac_ext
20138 cat >>conftest.$ac_ext <<_ACEOF
20139 /* end confdefs.h. */
20140 $ac_includes_default
20141 typedef long long ac__type_new_;
20145 if ((ac__type_new_ *) 0)
20147 if (sizeof (ac__type_new_))
20153 rm -f conftest.$ac_objext
20154 if { (ac_try="$ac_compile"
20155 case "(($ac_try" in
20156 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20157 *) ac_try_echo
=$ac_try;;
20159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20160 (eval "$ac_compile") 2>conftest.er1
20162 grep -v '^ *+' conftest.er1
>conftest.err
20164 cat conftest.err
>&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); } &&
20167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20168 { (case "(($ac_try" in
20169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20170 *) ac_try_echo=$ac_try;;
20172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20173 (eval "$ac_try") 2>&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); }; } &&
20177 { ac_try='test -s conftest.$ac_objext'
20178 { (case "(($ac_try" in
20179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20180 *) ac_try_echo
=$ac_try;;
20182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20183 (eval "$ac_try") 2>&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); }; }; then
20187 ac_cv_type_long_long
=yes
20189 echo "$as_me: failed program was:" >&5
20190 sed 's/^/| /' conftest.
$ac_ext >&5
20192 ac_cv_type_long_long
=no
20195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20197 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20198 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20199 if test $ac_cv_type_long_long = yes; then
20201 cat >>confdefs.h
<<_ACEOF
20202 #define HAVE_LONG_LONG 1
20207 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
20208 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
20209 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
20210 echo $ECHO_N "(cached) $ECHO_C" >&6
20212 cat >conftest.
$ac_ext <<_ACEOF
20215 cat confdefs.h
>>conftest.
$ac_ext
20216 cat >>conftest.
$ac_ext <<_ACEOF
20217 /* end confdefs.h. */
20218 $ac_includes_default
20219 typedef fsblkcnt_t ac__type_new_;
20223 if ((ac__type_new_ *) 0)
20225 if (sizeof (ac__type_new_))
20231 rm -f conftest.
$ac_objext
20232 if { (ac_try
="$ac_compile"
20233 case "(($ac_try" in
20234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20235 *) ac_try_echo=$ac_try;;
20237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20238 (eval "$ac_compile") 2>conftest.er1
20240 grep -v '^ *+' conftest.er1 >conftest.err
20242 cat conftest.err >&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); } &&
20245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20246 { (case "(($ac_try" in
20247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20248 *) ac_try_echo
=$ac_try;;
20250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20251 (eval "$ac_try") 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; } &&
20255 { ac_try
='test -s conftest.$ac_objext'
20256 { (case "(($ac_try" in
20257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20258 *) ac_try_echo=$ac_try;;
20260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20261 (eval "$ac_try") 2>&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; }; then
20265 ac_cv_type_fsblkcnt_t=yes
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.$ac_ext >&5
20270 ac_cv_type_fsblkcnt_t=no
20273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20275 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
20276 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
20277 if test $ac_cv_type_fsblkcnt_t = yes; then
20279 cat >>confdefs.h <<_ACEOF
20280 #define HAVE_FSBLKCNT_T 1
20285 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
20286 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
20287 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
20288 echo $ECHO_N "(cached) $ECHO_C" >&6
20290 cat >conftest.$ac_ext <<_ACEOF
20293 cat confdefs.h >>conftest.$ac_ext
20294 cat >>conftest.$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 $ac_includes_default
20297 typedef fsfilcnt_t ac__type_new_;
20301 if ((ac__type_new_ *) 0)
20303 if (sizeof (ac__type_new_))
20309 rm -f conftest.$ac_objext
20310 if { (ac_try="$ac_compile"
20311 case "(($ac_try" in
20312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20313 *) ac_try_echo
=$ac_try;;
20315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20316 (eval "$ac_compile") 2>conftest.er1
20318 grep -v '^ *+' conftest.er1
>conftest.err
20320 cat conftest.err
>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } &&
20323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20324 { (case "(($ac_try" in
20325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20326 *) ac_try_echo=$ac_try;;
20328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20329 (eval "$ac_try") 2>&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); }; } &&
20333 { ac_try='test -s conftest.$ac_objext'
20334 { (case "(($ac_try" in
20335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20336 *) ac_try_echo
=$ac_try;;
20338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20339 (eval "$ac_try") 2>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; }; then
20343 ac_cv_type_fsfilcnt_t
=yes
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.
$ac_ext >&5
20348 ac_cv_type_fsfilcnt_t
=no
20351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20353 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20354 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
20355 if test $ac_cv_type_fsfilcnt_t = yes; then
20357 cat >>confdefs.h
<<_ACEOF
20358 #define HAVE_FSFILCNT_T 1
20364 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20365 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20366 if test "${ac_cv_type_sigset_t+set}" = set; then
20367 echo $ECHO_N "(cached) $ECHO_C" >&6
20369 cat >conftest.
$ac_ext <<_ACEOF
20372 cat confdefs.h
>>conftest.
$ac_ext
20373 cat >>conftest.
$ac_ext <<_ACEOF
20374 /* end confdefs.h. */
20375 #include <signal.h>
20377 typedef sigset_t ac__type_new_;
20381 if ((ac__type_new_ *) 0)
20383 if (sizeof (ac__type_new_))
20389 rm -f conftest.
$ac_objext
20390 if { (ac_try
="$ac_compile"
20391 case "(($ac_try" in
20392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20393 *) ac_try_echo=$ac_try;;
20395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20396 (eval "$ac_compile") 2>conftest.er1
20398 grep -v '^ *+' conftest.er1 >conftest.err
20400 cat conftest.err >&5
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); } &&
20403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20404 { (case "(($ac_try" in
20405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20406 *) ac_try_echo
=$ac_try;;
20408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20409 (eval "$ac_try") 2>&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); }; } &&
20413 { ac_try
='test -s conftest.$ac_objext'
20414 { (case "(($ac_try" in
20415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20416 *) ac_try_echo=$ac_try;;
20418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20419 (eval "$ac_try") 2>&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); }; }; then
20423 ac_cv_type_sigset_t=yes
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.$ac_ext >&5
20428 ac_cv_type_sigset_t=no
20431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20433 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20434 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20435 if test $ac_cv_type_sigset_t = yes; then
20437 cat >>confdefs.h <<_ACEOF
20438 #define HAVE_SIGSET_T 1
20444 { echo "$as_me:$LINENO: checking for request_sense" >&5
20445 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20446 if test "${ac_cv_type_request_sense+set}" = set; then
20447 echo $ECHO_N "(cached) $ECHO_C" >&6
20449 cat >conftest.$ac_ext <<_ACEOF
20452 cat confdefs.h >>conftest.$ac_ext
20453 cat >>conftest.$ac_ext <<_ACEOF
20454 /* end confdefs.h. */
20455 #include <linux/cdrom.h>
20457 typedef request_sense ac__type_new_;
20461 if ((ac__type_new_ *) 0)
20463 if (sizeof (ac__type_new_))
20469 rm -f conftest.$ac_objext
20470 if { (ac_try="$ac_compile"
20471 case "(($ac_try" in
20472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20473 *) ac_try_echo
=$ac_try;;
20475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20476 (eval "$ac_compile") 2>conftest.er1
20478 grep -v '^ *+' conftest.er1
>conftest.err
20480 cat conftest.err
>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } &&
20483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20484 { (case "(($ac_try" in
20485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20486 *) ac_try_echo=$ac_try;;
20488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20489 (eval "$ac_try") 2>&5
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); }; } &&
20493 { ac_try='test -s conftest.$ac_objext'
20494 { (case "(($ac_try" in
20495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20496 *) ac_try_echo
=$ac_try;;
20498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20499 (eval "$ac_try") 2>&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); }; }; then
20503 ac_cv_type_request_sense
=yes
20505 echo "$as_me: failed program was:" >&5
20506 sed 's/^/| /' conftest.
$ac_ext >&5
20508 ac_cv_type_request_sense
=no
20511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20513 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20514 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20515 if test $ac_cv_type_request_sense = yes; then
20517 cat >>confdefs.h
<<_ACEOF
20518 #define HAVE_REQUEST_SENSE 1
20525 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20526 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20527 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20528 echo $ECHO_N "(cached) $ECHO_C" >&6
20530 cat >conftest.
$ac_ext <<_ACEOF
20533 cat confdefs.h
>>conftest.
$ac_ext
20534 cat >>conftest.
$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20536 #ifdef HAVE_LINUX_INPUT_H
20537 #include <linux/input.h>
20543 static struct ff_effect ac_aggr;
20544 if (ac_aggr.direction)
20550 rm -f conftest.
$ac_objext
20551 if { (ac_try
="$ac_compile"
20552 case "(($ac_try" in
20553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_compile") 2>conftest.er1
20559 grep -v '^ *+' conftest.er1 >conftest.err
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } &&
20564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20565 { (case "(($ac_try" in
20566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20567 *) ac_try_echo
=$ac_try;;
20569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20570 (eval "$ac_try") 2>&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; } &&
20574 { ac_try
='test -s conftest.$ac_objext'
20575 { (case "(($ac_try" in
20576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20577 *) ac_try_echo=$ac_try;;
20579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20580 (eval "$ac_try") 2>&5
20582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20583 (exit $ac_status); }; }; then
20584 ac_cv_member_struct_ff_effect_direction=yes
20586 echo "$as_me: failed program was:" >&5
20587 sed 's/^/| /' conftest.$ac_ext >&5
20589 cat >conftest.$ac_ext <<_ACEOF
20592 cat confdefs.h >>conftest.$ac_ext
20593 cat >>conftest.$ac_ext <<_ACEOF
20594 /* end confdefs.h. */
20595 #ifdef HAVE_LINUX_INPUT_H
20596 #include <linux/input.h>
20602 static struct ff_effect ac_aggr;
20603 if (sizeof ac_aggr.direction)
20609 rm -f conftest.$ac_objext
20610 if { (ac_try="$ac_compile"
20611 case "(($ac_try" in
20612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20613 *) ac_try_echo
=$ac_try;;
20615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20616 (eval "$ac_compile") 2>conftest.er1
20618 grep -v '^ *+' conftest.er1
>conftest.err
20620 cat conftest.err
>&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } &&
20623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20633 { ac_try='test -s conftest.$ac_objext'
20634 { (case "(($ac_try" in
20635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20636 *) ac_try_echo
=$ac_try;;
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639 (eval "$ac_try") 2>&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); }; }; then
20643 ac_cv_member_struct_ff_effect_direction
=yes
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.
$ac_ext >&5
20648 ac_cv_member_struct_ff_effect_direction
=no
20651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20656 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20657 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20658 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20660 cat >>confdefs.h
<<_ACEOF
20661 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20668 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20669 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20670 if test "${wine_cv_have_sigaddset+set}" = set; then
20671 echo $ECHO_N "(cached) $ECHO_C" >&6
20673 cat >conftest.
$ac_ext <<_ACEOF
20676 cat confdefs.h
>>conftest.
$ac_ext
20677 cat >>conftest.
$ac_ext <<_ACEOF
20678 /* end confdefs.h. */
20679 #include <signal.h>
20683 sigset_t set; sigaddset(&set,SIGTERM);
20688 rm -f conftest.
$ac_objext conftest
$ac_exeext
20689 if { (ac_try
="$ac_link"
20690 case "(($ac_try" in
20691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20692 *) ac_try_echo=$ac_try;;
20694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20695 (eval "$ac_link") 2>conftest.er1
20697 grep -v '^ *+' conftest.er1 >conftest.err
20699 cat conftest.err >&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } &&
20702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20703 { (case "(($ac_try" in
20704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20705 *) ac_try_echo
=$ac_try;;
20707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20708 (eval "$ac_try") 2>&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); }; } &&
20712 { ac_try
='test -s conftest$ac_exeext'
20713 { (case "(($ac_try" in
20714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20715 *) ac_try_echo=$ac_try;;
20717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20718 (eval "$ac_try") 2>&5
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); }; }; then
20722 wine_cv_have_sigaddset=yes
20724 echo "$as_me: failed program was:" >&5
20725 sed 's/^/| /' conftest.$ac_ext >&5
20727 wine_cv_have_sigaddset=no
20730 rm -f core conftest.err conftest.$ac_objext \
20731 conftest$ac_exeext conftest.$ac_ext
20733 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20734 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20735 if test "$wine_cv_have_sigaddset" = "yes"
20738 cat >>confdefs.h <<\_ACEOF
20739 #define HAVE_SIGADDSET 1
20745 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20746 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20747 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20748 echo $ECHO_N "(cached) $ECHO_C" >&6
20750 cat >conftest.$ac_ext <<_ACEOF
20753 cat confdefs.h >>conftest.$ac_ext
20754 cat >>conftest.$ac_ext <<_ACEOF
20755 /* end confdefs.h. */
20765 struct hostent *result;
20772 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20773 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20779 rm -f conftest.$ac_objext conftest$ac_exeext
20780 if { (ac_try="$ac_link"
20781 case "(($ac_try" in
20782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20783 *) ac_try_echo
=$ac_try;;
20785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20786 (eval "$ac_link") 2>conftest.er1
20788 grep -v '^ *+' conftest.er1
>conftest.err
20790 cat conftest.err
>&5
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); } &&
20793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20794 { (case "(($ac_try" in
20795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20796 *) ac_try_echo=$ac_try;;
20798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20799 (eval "$ac_try") 2>&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; } &&
20803 { ac_try='test -s conftest$ac_exeext'
20804 { (case "(($ac_try" in
20805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20806 *) ac_try_echo
=$ac_try;;
20808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20809 (eval "$ac_try") 2>&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); }; }; then
20813 wine_cv_linux_gethostbyname_r_6
=yes
20815 echo "$as_me: failed program was:" >&5
20816 sed 's/^/| /' conftest.
$ac_ext >&5
20818 wine_cv_linux_gethostbyname_r_6
=no
20822 rm -f core conftest.err conftest.
$ac_objext \
20823 conftest
$ac_exeext conftest.
$ac_ext
20826 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20827 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20828 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20831 cat >>confdefs.h
<<\_ACEOF
20832 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20837 if test "$ac_cv_header_linux_joystick_h" = "yes"
20839 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20840 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20841 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20844 cat >conftest.
$ac_ext <<_ACEOF
20847 cat confdefs.h
>>conftest.
$ac_ext
20848 cat >>conftest.
$ac_ext <<_ACEOF
20849 /* end confdefs.h. */
20851 #include <sys/ioctl.h>
20852 #include <linux/joystick.h>
20854 struct js_event blub;
20855 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20856 #error "no 2.2 header"
20867 rm -f conftest.
$ac_objext
20868 if { (ac_try
="$ac_compile"
20869 case "(($ac_try" in
20870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20871 *) ac_try_echo=$ac_try;;
20873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20874 (eval "$ac_compile") 2>conftest.er1
20876 grep -v '^ *+' conftest.er1 >conftest.err
20878 cat conftest.err >&5
20879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20880 (exit $ac_status); } &&
20881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20882 { (case "(($ac_try" in
20883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20884 *) ac_try_echo
=$ac_try;;
20886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20887 (eval "$ac_try") 2>&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; } &&
20891 { ac_try
='test -s conftest.$ac_objext'
20892 { (case "(($ac_try" in
20893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20894 *) ac_try_echo=$ac_try;;
20896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20897 (eval "$ac_try") 2>&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); }; }; then
20901 wine_cv_linux_joystick_22_api=yes
20903 echo "$as_me: failed program was:" >&5
20904 sed 's/^/| /' conftest.$ac_ext >&5
20906 wine_cv_linux_joystick_22_api=no
20909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20912 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20913 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20914 if test "$wine_cv_linux_joystick_22_api" = "yes"
20917 cat >>confdefs.h <<\_ACEOF
20918 #define HAVE_LINUX_22_JOYSTICK_API 1
20925 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20926 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20927 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20928 echo $ECHO_N "(cached) $ECHO_C" >&6
20930 cat >conftest.$ac_ext <<_ACEOF
20933 cat confdefs.h >>conftest.$ac_ext
20934 cat >>conftest.$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20936 #include <sys/types.h>
20937 #ifdef HAVE_SYS_PARAM_H
20938 # include <sys/param.h>
20940 #ifdef HAVE_SYS_MOUNT_H
20941 # include <sys/mount.h>
20943 #ifdef HAVE_SYS_VFS_H
20944 # include <sys/vfs.h>
20946 #ifdef HAVE_SYS_STATFS_H
20947 # include <sys/statfs.h>
20953 static struct statfs ac_aggr;
20954 if (ac_aggr.f_bfree)
20960 rm -f conftest.$ac_objext
20961 if { (ac_try="$ac_compile"
20962 case "(($ac_try" in
20963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20964 *) ac_try_echo
=$ac_try;;
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_compile") 2>conftest.er1
20969 grep -v '^ *+' conftest.er1
>conftest.err
20971 cat conftest.err
>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } &&
20974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20975 { (case "(($ac_try" in
20976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20977 *) ac_try_echo=$ac_try;;
20979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20980 (eval "$ac_try") 2>&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); }; } &&
20984 { ac_try='test -s conftest.$ac_objext'
20985 { (case "(($ac_try" in
20986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20987 *) ac_try_echo
=$ac_try;;
20989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20990 (eval "$ac_try") 2>&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); }; }; then
20994 ac_cv_member_struct_statfs_f_bfree
=yes
20996 echo "$as_me: failed program was:" >&5
20997 sed 's/^/| /' conftest.
$ac_ext >&5
20999 cat >conftest.
$ac_ext <<_ACEOF
21002 cat confdefs.h
>>conftest.
$ac_ext
21003 cat >>conftest.
$ac_ext <<_ACEOF
21004 /* end confdefs.h. */
21005 #include <sys/types.h>
21006 #ifdef HAVE_SYS_PARAM_H
21007 # include <sys/param.h>
21009 #ifdef HAVE_SYS_MOUNT_H
21010 # include <sys/mount.h>
21012 #ifdef HAVE_SYS_VFS_H
21013 # include <sys/vfs.h>
21015 #ifdef HAVE_SYS_STATFS_H
21016 # include <sys/statfs.h>
21022 static struct statfs ac_aggr;
21023 if (sizeof ac_aggr.f_bfree)
21029 rm -f conftest.
$ac_objext
21030 if { (ac_try
="$ac_compile"
21031 case "(($ac_try" in
21032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21033 *) ac_try_echo=$ac_try;;
21035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21036 (eval "$ac_compile") 2>conftest.er1
21038 grep -v '^ *+' conftest.er1 >conftest.err
21040 cat conftest.err >&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } &&
21043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21044 { (case "(($ac_try" in
21045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21046 *) ac_try_echo
=$ac_try;;
21048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21049 (eval "$ac_try") 2>&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); }; } &&
21053 { ac_try
='test -s conftest.$ac_objext'
21054 { (case "(($ac_try" in
21055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21056 *) ac_try_echo=$ac_try;;
21058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21059 (eval "$ac_try") 2>&5
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; }; then
21063 ac_cv_member_struct_statfs_f_bfree=yes
21065 echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.$ac_ext >&5
21068 ac_cv_member_struct_statfs_f_bfree=no
21071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21076 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
21077 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
21078 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
21080 cat >>confdefs.h <<_ACEOF
21081 #define HAVE_STRUCT_STATFS_F_BFREE 1
21086 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
21087 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
21088 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
21089 echo $ECHO_N "(cached) $ECHO_C" >&6
21091 cat >conftest.$ac_ext <<_ACEOF
21094 cat confdefs.h >>conftest.$ac_ext
21095 cat >>conftest.$ac_ext <<_ACEOF
21096 /* end confdefs.h. */
21097 #include <sys/types.h>
21098 #ifdef HAVE_SYS_PARAM_H
21099 # include <sys/param.h>
21101 #ifdef HAVE_SYS_MOUNT_H
21102 # include <sys/mount.h>
21104 #ifdef HAVE_SYS_VFS_H
21105 # include <sys/vfs.h>
21107 #ifdef HAVE_SYS_STATFS_H
21108 # include <sys/statfs.h>
21114 static struct statfs ac_aggr;
21115 if (ac_aggr.f_bavail)
21121 rm -f conftest.$ac_objext
21122 if { (ac_try="$ac_compile"
21123 case "(($ac_try" in
21124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21125 *) ac_try_echo
=$ac_try;;
21127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21128 (eval "$ac_compile") 2>conftest.er1
21130 grep -v '^ *+' conftest.er1
>conftest.err
21132 cat conftest.err
>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } &&
21135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21136 { (case "(($ac_try" in
21137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21138 *) ac_try_echo=$ac_try;;
21140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21141 (eval "$ac_try") 2>&5
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); }; } &&
21145 { ac_try='test -s conftest.$ac_objext'
21146 { (case "(($ac_try" in
21147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21148 *) ac_try_echo
=$ac_try;;
21150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21151 (eval "$ac_try") 2>&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_member_struct_statfs_f_bavail
=yes
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.
$ac_ext >&5
21160 cat >conftest.
$ac_ext <<_ACEOF
21163 cat confdefs.h
>>conftest.
$ac_ext
21164 cat >>conftest.
$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 #include <sys/types.h>
21167 #ifdef HAVE_SYS_PARAM_H
21168 # include <sys/param.h>
21170 #ifdef HAVE_SYS_MOUNT_H
21171 # include <sys/mount.h>
21173 #ifdef HAVE_SYS_VFS_H
21174 # include <sys/vfs.h>
21176 #ifdef HAVE_SYS_STATFS_H
21177 # include <sys/statfs.h>
21183 static struct statfs ac_aggr;
21184 if (sizeof ac_aggr.f_bavail)
21190 rm -f conftest.
$ac_objext
21191 if { (ac_try
="$ac_compile"
21192 case "(($ac_try" in
21193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21194 *) ac_try_echo=$ac_try;;
21196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21197 (eval "$ac_compile") 2>conftest.er1
21199 grep -v '^ *+' conftest.er1 >conftest.err
21201 cat conftest.err >&5
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); } &&
21204 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21205 { (case "(($ac_try" in
21206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21207 *) ac_try_echo
=$ac_try;;
21209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21210 (eval "$ac_try") 2>&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; } &&
21214 { ac_try
='test -s conftest.$ac_objext'
21215 { (case "(($ac_try" in
21216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21217 *) ac_try_echo=$ac_try;;
21219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21220 (eval "$ac_try") 2>&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); }; }; then
21224 ac_cv_member_struct_statfs_f_bavail=yes
21226 echo "$as_me: failed program was:" >&5
21227 sed 's/^/| /' conftest.$ac_ext >&5
21229 ac_cv_member_struct_statfs_f_bavail=no
21232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21237 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
21238 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
21239 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
21241 cat >>confdefs.h <<_ACEOF
21242 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
21247 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
21248 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
21249 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
21250 echo $ECHO_N "(cached) $ECHO_C" >&6
21252 cat >conftest.$ac_ext <<_ACEOF
21255 cat confdefs.h >>conftest.$ac_ext
21256 cat >>conftest.$ac_ext <<_ACEOF
21257 /* end confdefs.h. */
21258 #include <sys/types.h>
21259 #ifdef HAVE_SYS_PARAM_H
21260 # include <sys/param.h>
21262 #ifdef HAVE_SYS_MOUNT_H
21263 # include <sys/mount.h>
21265 #ifdef HAVE_SYS_VFS_H
21266 # include <sys/vfs.h>
21268 #ifdef HAVE_SYS_STATFS_H
21269 # include <sys/statfs.h>
21275 static struct statfs ac_aggr;
21276 if (ac_aggr.f_frsize)
21282 rm -f conftest.$ac_objext
21283 if { (ac_try="$ac_compile"
21284 case "(($ac_try" in
21285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21286 *) ac_try_echo
=$ac_try;;
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_compile") 2>conftest.er1
21291 grep -v '^ *+' conftest.er1
>conftest.err
21293 cat conftest.err
>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } &&
21296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21297 { (case "(($ac_try" in
21298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21299 *) ac_try_echo=$ac_try;;
21301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21302 (eval "$ac_try") 2>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; } &&
21306 { ac_try='test -s conftest.$ac_objext'
21307 { (case "(($ac_try" in
21308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21309 *) ac_try_echo
=$ac_try;;
21311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21312 (eval "$ac_try") 2>&5
21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21315 (exit $ac_status); }; }; then
21316 ac_cv_member_struct_statfs_f_frsize
=yes
21318 echo "$as_me: failed program was:" >&5
21319 sed 's/^/| /' conftest.
$ac_ext >&5
21321 cat >conftest.
$ac_ext <<_ACEOF
21324 cat confdefs.h
>>conftest.
$ac_ext
21325 cat >>conftest.
$ac_ext <<_ACEOF
21326 /* end confdefs.h. */
21327 #include <sys/types.h>
21328 #ifdef HAVE_SYS_PARAM_H
21329 # include <sys/param.h>
21331 #ifdef HAVE_SYS_MOUNT_H
21332 # include <sys/mount.h>
21334 #ifdef HAVE_SYS_VFS_H
21335 # include <sys/vfs.h>
21337 #ifdef HAVE_SYS_STATFS_H
21338 # include <sys/statfs.h>
21344 static struct statfs ac_aggr;
21345 if (sizeof ac_aggr.f_frsize)
21351 rm -f conftest.
$ac_objext
21352 if { (ac_try
="$ac_compile"
21353 case "(($ac_try" in
21354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21355 *) ac_try_echo=$ac_try;;
21357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21358 (eval "$ac_compile") 2>conftest.er1
21360 grep -v '^ *+' conftest.er1 >conftest.err
21362 cat conftest.err >&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); } &&
21365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21366 { (case "(($ac_try" in
21367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21368 *) ac_try_echo
=$ac_try;;
21370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21371 (eval "$ac_try") 2>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); }; } &&
21375 { ac_try
='test -s conftest.$ac_objext'
21376 { (case "(($ac_try" in
21377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21378 *) ac_try_echo=$ac_try;;
21380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21381 (eval "$ac_try") 2>&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); }; }; then
21385 ac_cv_member_struct_statfs_f_frsize=yes
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.$ac_ext >&5
21390 ac_cv_member_struct_statfs_f_frsize=no
21393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21399 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21400 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21402 cat >>confdefs.h <<_ACEOF
21403 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21408 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21409 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21410 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21411 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 cat >conftest.$ac_ext <<_ACEOF
21416 cat confdefs.h >>conftest.$ac_ext
21417 cat >>conftest.$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419 #include <sys/types.h>
21420 #ifdef HAVE_SYS_PARAM_H
21421 # include <sys/param.h>
21423 #ifdef HAVE_SYS_MOUNT_H
21424 # include <sys/mount.h>
21426 #ifdef HAVE_SYS_VFS_H
21427 # include <sys/vfs.h>
21429 #ifdef HAVE_SYS_STATFS_H
21430 # include <sys/statfs.h>
21436 static struct statfs ac_aggr;
21437 if (ac_aggr.f_ffree)
21443 rm -f conftest.$ac_objext
21444 if { (ac_try="$ac_compile"
21445 case "(($ac_try" in
21446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21447 *) ac_try_echo
=$ac_try;;
21449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21450 (eval "$ac_compile") 2>conftest.er1
21452 grep -v '^ *+' conftest.er1
>conftest.err
21454 cat conftest.err
>&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } &&
21457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21458 { (case "(($ac_try" in
21459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21460 *) ac_try_echo=$ac_try;;
21462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21463 (eval "$ac_try") 2>&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; } &&
21467 { ac_try='test -s conftest.$ac_objext'
21468 { (case "(($ac_try" in
21469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21470 *) ac_try_echo
=$ac_try;;
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_try") 2>&5
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); }; }; then
21477 ac_cv_member_struct_statfs_f_ffree
=yes
21479 echo "$as_me: failed program was:" >&5
21480 sed 's/^/| /' conftest.
$ac_ext >&5
21482 cat >conftest.
$ac_ext <<_ACEOF
21485 cat confdefs.h
>>conftest.
$ac_ext
21486 cat >>conftest.
$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 #include <sys/types.h>
21489 #ifdef HAVE_SYS_PARAM_H
21490 # include <sys/param.h>
21492 #ifdef HAVE_SYS_MOUNT_H
21493 # include <sys/mount.h>
21495 #ifdef HAVE_SYS_VFS_H
21496 # include <sys/vfs.h>
21498 #ifdef HAVE_SYS_STATFS_H
21499 # include <sys/statfs.h>
21505 static struct statfs ac_aggr;
21506 if (sizeof ac_aggr.f_ffree)
21512 rm -f conftest.
$ac_objext
21513 if { (ac_try
="$ac_compile"
21514 case "(($ac_try" in
21515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21516 *) ac_try_echo=$ac_try;;
21518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21519 (eval "$ac_compile") 2>conftest.er1
21521 grep -v '^ *+' conftest.er1 >conftest.err
21523 cat conftest.err >&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } &&
21526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21527 { (case "(($ac_try" in
21528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21529 *) ac_try_echo
=$ac_try;;
21531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21532 (eval "$ac_try") 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; } &&
21536 { ac_try
='test -s conftest.$ac_objext'
21537 { (case "(($ac_try" in
21538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21539 *) ac_try_echo=$ac_try;;
21541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21542 (eval "$ac_try") 2>&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); }; }; then
21546 ac_cv_member_struct_statfs_f_ffree=yes
21548 echo "$as_me: failed program was:" >&5
21549 sed 's/^/| /' conftest.$ac_ext >&5
21551 ac_cv_member_struct_statfs_f_ffree=no
21554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21559 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21560 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21561 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21563 cat >>confdefs.h <<_ACEOF
21564 #define HAVE_STRUCT_STATFS_F_FFREE 1
21569 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21570 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21571 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21572 echo $ECHO_N "(cached) $ECHO_C" >&6
21574 cat >conftest.$ac_ext <<_ACEOF
21577 cat confdefs.h >>conftest.$ac_ext
21578 cat >>conftest.$ac_ext <<_ACEOF
21579 /* end confdefs.h. */
21580 #include <sys/types.h>
21581 #ifdef HAVE_SYS_PARAM_H
21582 # include <sys/param.h>
21584 #ifdef HAVE_SYS_MOUNT_H
21585 # include <sys/mount.h>
21587 #ifdef HAVE_SYS_VFS_H
21588 # include <sys/vfs.h>
21590 #ifdef HAVE_SYS_STATFS_H
21591 # include <sys/statfs.h>
21597 static struct statfs ac_aggr;
21598 if (ac_aggr.f_favail)
21604 rm -f conftest.$ac_objext
21605 if { (ac_try="$ac_compile"
21606 case "(($ac_try" in
21607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21608 *) ac_try_echo
=$ac_try;;
21610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21611 (eval "$ac_compile") 2>conftest.er1
21613 grep -v '^ *+' conftest.er1
>conftest.err
21615 cat conftest.err
>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); } &&
21618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21619 { (case "(($ac_try" in
21620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21621 *) ac_try_echo=$ac_try;;
21623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21624 (eval "$ac_try") 2>&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); }; } &&
21628 { ac_try='test -s conftest.$ac_objext'
21629 { (case "(($ac_try" in
21630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21631 *) ac_try_echo
=$ac_try;;
21633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21634 (eval "$ac_try") 2>&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); }; }; then
21638 ac_cv_member_struct_statfs_f_favail
=yes
21640 echo "$as_me: failed program was:" >&5
21641 sed 's/^/| /' conftest.
$ac_ext >&5
21643 cat >conftest.
$ac_ext <<_ACEOF
21646 cat confdefs.h
>>conftest.
$ac_ext
21647 cat >>conftest.
$ac_ext <<_ACEOF
21648 /* end confdefs.h. */
21649 #include <sys/types.h>
21650 #ifdef HAVE_SYS_PARAM_H
21651 # include <sys/param.h>
21653 #ifdef HAVE_SYS_MOUNT_H
21654 # include <sys/mount.h>
21656 #ifdef HAVE_SYS_VFS_H
21657 # include <sys/vfs.h>
21659 #ifdef HAVE_SYS_STATFS_H
21660 # include <sys/statfs.h>
21666 static struct statfs ac_aggr;
21667 if (sizeof ac_aggr.f_favail)
21673 rm -f conftest.
$ac_objext
21674 if { (ac_try
="$ac_compile"
21675 case "(($ac_try" in
21676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21677 *) ac_try_echo=$ac_try;;
21679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21680 (eval "$ac_compile") 2>conftest.er1
21682 grep -v '^ *+' conftest.er1 >conftest.err
21684 cat conftest.err >&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); } &&
21687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21688 { (case "(($ac_try" in
21689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21690 *) ac_try_echo
=$ac_try;;
21692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21693 (eval "$ac_try") 2>&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; } &&
21697 { ac_try
='test -s conftest.$ac_objext'
21698 { (case "(($ac_try" in
21699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21700 *) ac_try_echo=$ac_try;;
21702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21703 (eval "$ac_try") 2>&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; }; then
21707 ac_cv_member_struct_statfs_f_favail=yes
21709 echo "$as_me: failed program was:" >&5
21710 sed 's/^/| /' conftest.$ac_ext >&5
21712 ac_cv_member_struct_statfs_f_favail=no
21715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21720 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21721 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21722 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21724 cat >>confdefs.h <<_ACEOF
21725 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21730 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21731 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21732 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21733 echo $ECHO_N "(cached) $ECHO_C" >&6
21735 cat >conftest.$ac_ext <<_ACEOF
21738 cat confdefs.h >>conftest.$ac_ext
21739 cat >>conftest.$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21741 #include <sys/types.h>
21742 #ifdef HAVE_SYS_PARAM_H
21743 # include <sys/param.h>
21745 #ifdef HAVE_SYS_MOUNT_H
21746 # include <sys/mount.h>
21748 #ifdef HAVE_SYS_VFS_H
21749 # include <sys/vfs.h>
21751 #ifdef HAVE_SYS_STATFS_H
21752 # include <sys/statfs.h>
21758 static struct statfs ac_aggr;
21759 if (ac_aggr.f_namelen)
21765 rm -f conftest.$ac_objext
21766 if { (ac_try="$ac_compile"
21767 case "(($ac_try" in
21768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21769 *) ac_try_echo
=$ac_try;;
21771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21772 (eval "$ac_compile") 2>conftest.er1
21774 grep -v '^ *+' conftest.er1
>conftest.err
21776 cat conftest.err
>&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } &&
21779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21780 { (case "(($ac_try" in
21781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21782 *) ac_try_echo=$ac_try;;
21784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21785 (eval "$ac_try") 2>&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; } &&
21789 { ac_try='test -s conftest.$ac_objext'
21790 { (case "(($ac_try" in
21791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21792 *) ac_try_echo
=$ac_try;;
21794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21795 (eval "$ac_try") 2>&5
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; }; then
21799 ac_cv_member_struct_statfs_f_namelen
=yes
21801 echo "$as_me: failed program was:" >&5
21802 sed 's/^/| /' conftest.
$ac_ext >&5
21804 cat >conftest.
$ac_ext <<_ACEOF
21807 cat confdefs.h
>>conftest.
$ac_ext
21808 cat >>conftest.
$ac_ext <<_ACEOF
21809 /* end confdefs.h. */
21810 #include <sys/types.h>
21811 #ifdef HAVE_SYS_PARAM_H
21812 # include <sys/param.h>
21814 #ifdef HAVE_SYS_MOUNT_H
21815 # include <sys/mount.h>
21817 #ifdef HAVE_SYS_VFS_H
21818 # include <sys/vfs.h>
21820 #ifdef HAVE_SYS_STATFS_H
21821 # include <sys/statfs.h>
21827 static struct statfs ac_aggr;
21828 if (sizeof ac_aggr.f_namelen)
21834 rm -f conftest.
$ac_objext
21835 if { (ac_try
="$ac_compile"
21836 case "(($ac_try" in
21837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21838 *) ac_try_echo=$ac_try;;
21840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21841 (eval "$ac_compile") 2>conftest.er1
21843 grep -v '^ *+' conftest.er1 >conftest.err
21845 cat conftest.err >&5
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); } &&
21848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21849 { (case "(($ac_try" in
21850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21851 *) ac_try_echo
=$ac_try;;
21853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21854 (eval "$ac_try") 2>&5
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); }; } &&
21858 { ac_try
='test -s conftest.$ac_objext'
21859 { (case "(($ac_try" in
21860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21861 *) ac_try_echo=$ac_try;;
21863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21864 (eval "$ac_try") 2>&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); }; }; then
21868 ac_cv_member_struct_statfs_f_namelen=yes
21870 echo "$as_me: failed program was:" >&5
21871 sed 's/^/| /' conftest.$ac_ext >&5
21873 ac_cv_member_struct_statfs_f_namelen=no
21876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21881 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21882 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21883 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21885 cat >>confdefs.h <<_ACEOF
21886 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21893 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21894 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21895 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21896 echo $ECHO_N "(cached) $ECHO_C" >&6
21898 cat >conftest.$ac_ext <<_ACEOF
21901 cat confdefs.h >>conftest.$ac_ext
21902 cat >>conftest.$ac_ext <<_ACEOF
21903 /* end confdefs.h. */
21904 #ifdef HAVE_SYS_STATVFS_H
21905 #include <sys/statvfs.h>
21911 static struct statvfs ac_aggr;
21912 if (ac_aggr.f_blocks)
21918 rm -f conftest.$ac_objext
21919 if { (ac_try="$ac_compile"
21920 case "(($ac_try" in
21921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21922 *) ac_try_echo
=$ac_try;;
21924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21925 (eval "$ac_compile") 2>conftest.er1
21927 grep -v '^ *+' conftest.er1
>conftest.err
21929 cat conftest.err
>&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); } &&
21932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21933 { (case "(($ac_try" in
21934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21935 *) ac_try_echo=$ac_try;;
21937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21938 (eval "$ac_try") 2>&5
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); }; } &&
21942 { ac_try='test -s conftest.$ac_objext'
21943 { (case "(($ac_try" in
21944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21945 *) ac_try_echo
=$ac_try;;
21947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21948 (eval "$ac_try") 2>&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; }; then
21952 ac_cv_member_struct_statvfs_f_blocks
=yes
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.
$ac_ext >&5
21957 cat >conftest.
$ac_ext <<_ACEOF
21960 cat confdefs.h
>>conftest.
$ac_ext
21961 cat >>conftest.
$ac_ext <<_ACEOF
21962 /* end confdefs.h. */
21963 #ifdef HAVE_SYS_STATVFS_H
21964 #include <sys/statvfs.h>
21970 static struct statvfs ac_aggr;
21971 if (sizeof ac_aggr.f_blocks)
21977 rm -f conftest.
$ac_objext
21978 if { (ac_try
="$ac_compile"
21979 case "(($ac_try" in
21980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21981 *) ac_try_echo=$ac_try;;
21983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21984 (eval "$ac_compile") 2>conftest.er1
21986 grep -v '^ *+' conftest.er1 >conftest.err
21988 cat conftest.err >&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); } &&
21991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21992 { (case "(($ac_try" in
21993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21994 *) ac_try_echo
=$ac_try;;
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_try") 2>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; } &&
22001 { ac_try
='test -s conftest.$ac_objext'
22002 { (case "(($ac_try" in
22003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22004 *) ac_try_echo=$ac_try;;
22006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22007 (eval "$ac_try") 2>&5
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); }; }; then
22011 ac_cv_member_struct_statvfs_f_blocks=yes
22013 echo "$as_me: failed program was:" >&5
22014 sed 's/^/| /' conftest.$ac_ext >&5
22016 ac_cv_member_struct_statvfs_f_blocks=no
22019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22024 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
22025 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
22026 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
22028 cat >>confdefs.h <<_ACEOF
22029 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
22036 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
22037 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
22038 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
22039 echo $ECHO_N "(cached) $ECHO_C" >&6
22041 cat >conftest.$ac_ext <<_ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 #include <sys/types.h>
22048 #ifdef HAVE_SYS_SOCKET_H
22049 # include <sys/socket.h>
22051 #ifdef HAVE_SYS_UN_H
22052 # include <sys/un.h>
22058 static struct msghdr ac_aggr;
22059 if (ac_aggr.msg_accrights)
22065 rm -f conftest.$ac_objext
22066 if { (ac_try="$ac_compile"
22067 case "(($ac_try" in
22068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22069 *) ac_try_echo
=$ac_try;;
22071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22072 (eval "$ac_compile") 2>conftest.er1
22074 grep -v '^ *+' conftest.er1
>conftest.err
22076 cat conftest.err
>&5
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); } &&
22079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22080 { (case "(($ac_try" in
22081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22082 *) ac_try_echo=$ac_try;;
22084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22085 (eval "$ac_try") 2>&5
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); }; } &&
22089 { ac_try='test -s conftest.$ac_objext'
22090 { (case "(($ac_try" in
22091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22092 *) ac_try_echo
=$ac_try;;
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_try") 2>&5
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); }; }; then
22099 ac_cv_member_struct_msghdr_msg_accrights
=yes
22101 echo "$as_me: failed program was:" >&5
22102 sed 's/^/| /' conftest.
$ac_ext >&5
22104 cat >conftest.
$ac_ext <<_ACEOF
22107 cat confdefs.h
>>conftest.
$ac_ext
22108 cat >>conftest.
$ac_ext <<_ACEOF
22109 /* end confdefs.h. */
22110 #include <sys/types.h>
22111 #ifdef HAVE_SYS_SOCKET_H
22112 # include <sys/socket.h>
22114 #ifdef HAVE_SYS_UN_H
22115 # include <sys/un.h>
22121 static struct msghdr ac_aggr;
22122 if (sizeof ac_aggr.msg_accrights)
22128 rm -f conftest.
$ac_objext
22129 if { (ac_try
="$ac_compile"
22130 case "(($ac_try" in
22131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22132 *) ac_try_echo=$ac_try;;
22134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22135 (eval "$ac_compile") 2>conftest.er1
22137 grep -v '^ *+' conftest.er1 >conftest.err
22139 cat conftest.err >&5
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); } &&
22142 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22143 { (case "(($ac_try" in
22144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22145 *) ac_try_echo
=$ac_try;;
22147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22148 (eval "$ac_try") 2>&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); }; } &&
22152 { ac_try
='test -s conftest.$ac_objext'
22153 { (case "(($ac_try" in
22154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22155 *) ac_try_echo=$ac_try;;
22157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22158 (eval "$ac_try") 2>&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); }; }; then
22162 ac_cv_member_struct_msghdr_msg_accrights=yes
22164 echo "$as_me: failed program was:" >&5
22165 sed 's/^/| /' conftest.$ac_ext >&5
22167 ac_cv_member_struct_msghdr_msg_accrights=no
22170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22175 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
22176 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
22177 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
22179 cat >>confdefs.h <<_ACEOF
22180 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
22185 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
22186 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
22187 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
22188 echo $ECHO_N "(cached) $ECHO_C" >&6
22190 cat >conftest.$ac_ext <<_ACEOF
22193 cat confdefs.h >>conftest.$ac_ext
22194 cat >>conftest.$ac_ext <<_ACEOF
22195 /* end confdefs.h. */
22196 #include <sys/types.h>
22197 #ifdef HAVE_SYS_SOCKET_H
22198 # include <sys/socket.h>
22200 #ifdef HAVE_SYS_UN_H
22201 # include <sys/un.h>
22207 static struct sockaddr ac_aggr;
22208 if (ac_aggr.sa_len)
22214 rm -f conftest.$ac_objext
22215 if { (ac_try="$ac_compile"
22216 case "(($ac_try" in
22217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22218 *) ac_try_echo
=$ac_try;;
22220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22221 (eval "$ac_compile") 2>conftest.er1
22223 grep -v '^ *+' conftest.er1
>conftest.err
22225 cat conftest.err
>&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } &&
22228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22229 { (case "(($ac_try" in
22230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22231 *) ac_try_echo=$ac_try;;
22233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22234 (eval "$ac_try") 2>&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; } &&
22238 { ac_try='test -s conftest.$ac_objext'
22239 { (case "(($ac_try" in
22240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22241 *) ac_try_echo
=$ac_try;;
22243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22244 (eval "$ac_try") 2>&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); }; }; then
22248 ac_cv_member_struct_sockaddr_sa_len
=yes
22250 echo "$as_me: failed program was:" >&5
22251 sed 's/^/| /' conftest.
$ac_ext >&5
22253 cat >conftest.
$ac_ext <<_ACEOF
22256 cat confdefs.h
>>conftest.
$ac_ext
22257 cat >>conftest.
$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 #include <sys/types.h>
22260 #ifdef HAVE_SYS_SOCKET_H
22261 # include <sys/socket.h>
22263 #ifdef HAVE_SYS_UN_H
22264 # include <sys/un.h>
22270 static struct sockaddr ac_aggr;
22271 if (sizeof ac_aggr.sa_len)
22277 rm -f conftest.
$ac_objext
22278 if { (ac_try
="$ac_compile"
22279 case "(($ac_try" in
22280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22281 *) ac_try_echo=$ac_try;;
22283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22284 (eval "$ac_compile") 2>conftest.er1
22286 grep -v '^ *+' conftest.er1 >conftest.err
22288 cat conftest.err >&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); } &&
22291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22292 { (case "(($ac_try" in
22293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22294 *) ac_try_echo
=$ac_try;;
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_try") 2>&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; } &&
22301 { ac_try
='test -s conftest.$ac_objext'
22302 { (case "(($ac_try" in
22303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22304 *) ac_try_echo=$ac_try;;
22306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22307 (eval "$ac_try") 2>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); }; }; then
22311 ac_cv_member_struct_sockaddr_sa_len=yes
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.$ac_ext >&5
22316 ac_cv_member_struct_sockaddr_sa_len=no
22319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22324 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22325 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22326 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22328 cat >>confdefs.h <<_ACEOF
22329 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
22334 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
22335 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
22336 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
22337 echo $ECHO_N "(cached) $ECHO_C" >&6
22339 cat >conftest.$ac_ext <<_ACEOF
22342 cat confdefs.h >>conftest.$ac_ext
22343 cat >>conftest.$ac_ext <<_ACEOF
22344 /* end confdefs.h. */
22345 #include <sys/types.h>
22346 #ifdef HAVE_SYS_SOCKET_H
22347 # include <sys/socket.h>
22349 #ifdef HAVE_SYS_UN_H
22350 # include <sys/un.h>
22356 static struct sockaddr_un ac_aggr;
22357 if (ac_aggr.sun_len)
22363 rm -f conftest.$ac_objext
22364 if { (ac_try="$ac_compile"
22365 case "(($ac_try" in
22366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22367 *) ac_try_echo
=$ac_try;;
22369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22370 (eval "$ac_compile") 2>conftest.er1
22372 grep -v '^ *+' conftest.er1
>conftest.err
22374 cat conftest.err
>&5
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); } &&
22377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22378 { (case "(($ac_try" in
22379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_try") 2>&5
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); }; } &&
22387 { ac_try='test -s conftest.$ac_objext'
22388 { (case "(($ac_try" in
22389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22390 *) ac_try_echo
=$ac_try;;
22392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22393 (eval "$ac_try") 2>&5
22395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396 (exit $ac_status); }; }; then
22397 ac_cv_member_struct_sockaddr_un_sun_len
=yes
22399 echo "$as_me: failed program was:" >&5
22400 sed 's/^/| /' conftest.
$ac_ext >&5
22402 cat >conftest.
$ac_ext <<_ACEOF
22405 cat confdefs.h
>>conftest.
$ac_ext
22406 cat >>conftest.
$ac_ext <<_ACEOF
22407 /* end confdefs.h. */
22408 #include <sys/types.h>
22409 #ifdef HAVE_SYS_SOCKET_H
22410 # include <sys/socket.h>
22412 #ifdef HAVE_SYS_UN_H
22413 # include <sys/un.h>
22419 static struct sockaddr_un ac_aggr;
22420 if (sizeof ac_aggr.sun_len)
22426 rm -f conftest.
$ac_objext
22427 if { (ac_try
="$ac_compile"
22428 case "(($ac_try" in
22429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22430 *) ac_try_echo=$ac_try;;
22432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22433 (eval "$ac_compile") 2>conftest.er1
22435 grep -v '^ *+' conftest.er1 >conftest.err
22437 cat conftest.err >&5
22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439 (exit $ac_status); } &&
22440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22441 { (case "(($ac_try" in
22442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22443 *) ac_try_echo
=$ac_try;;
22445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22446 (eval "$ac_try") 2>&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); }; } &&
22450 { ac_try
='test -s conftest.$ac_objext'
22451 { (case "(($ac_try" in
22452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_try") 2>&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); }; }; then
22460 ac_cv_member_struct_sockaddr_un_sun_len=yes
22462 echo "$as_me: failed program was:" >&5
22463 sed 's/^/| /' conftest.$ac_ext >&5
22465 ac_cv_member_struct_sockaddr_un_sun_len=no
22468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22473 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22474 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22475 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22477 cat >>confdefs.h <<_ACEOF
22478 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22485 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22486 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22487 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22488 echo $ECHO_N "(cached) $ECHO_C" >&6
22490 cat >conftest.$ac_ext <<_ACEOF
22493 cat confdefs.h >>conftest.$ac_ext
22494 cat >>conftest.$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 #include <sys/types.h>
22497 #ifdef HAVE_SCSI_SG_H
22498 #include <scsi/sg.h>
22504 static scsireq_t ac_aggr;
22511 rm -f conftest.$ac_objext
22512 if { (ac_try="$ac_compile"
22513 case "(($ac_try" in
22514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22515 *) ac_try_echo
=$ac_try;;
22517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22518 (eval "$ac_compile") 2>conftest.er1
22520 grep -v '^ *+' conftest.er1
>conftest.err
22522 cat conftest.err
>&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } &&
22525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22526 { (case "(($ac_try" in
22527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22528 *) ac_try_echo=$ac_try;;
22530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22531 (eval "$ac_try") 2>&5
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); }; } &&
22535 { ac_try='test -s conftest.$ac_objext'
22536 { (case "(($ac_try" in
22537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22538 *) ac_try_echo
=$ac_try;;
22540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22541 (eval "$ac_try") 2>&5
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); }; }; then
22545 ac_cv_member_scsireq_t_cmd
=yes
22547 echo "$as_me: failed program was:" >&5
22548 sed 's/^/| /' conftest.
$ac_ext >&5
22550 cat >conftest.
$ac_ext <<_ACEOF
22553 cat confdefs.h
>>conftest.
$ac_ext
22554 cat >>conftest.
$ac_ext <<_ACEOF
22555 /* end confdefs.h. */
22556 #include <sys/types.h>
22557 #ifdef HAVE_SCSI_SG_H
22558 #include <scsi/sg.h>
22564 static scsireq_t ac_aggr;
22565 if (sizeof ac_aggr.cmd)
22571 rm -f conftest.
$ac_objext
22572 if { (ac_try
="$ac_compile"
22573 case "(($ac_try" in
22574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22575 *) ac_try_echo=$ac_try;;
22577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22578 (eval "$ac_compile") 2>conftest.er1
22580 grep -v '^ *+' conftest.er1 >conftest.err
22582 cat conftest.err >&5
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); } &&
22585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22586 { (case "(($ac_try" in
22587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22588 *) ac_try_echo
=$ac_try;;
22590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22591 (eval "$ac_try") 2>&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; } &&
22595 { ac_try
='test -s conftest.$ac_objext'
22596 { (case "(($ac_try" in
22597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22598 *) ac_try_echo=$ac_try;;
22600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22601 (eval "$ac_try") 2>&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); }; }; then
22605 ac_cv_member_scsireq_t_cmd=yes
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.$ac_ext >&5
22610 ac_cv_member_scsireq_t_cmd=no
22613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22618 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22619 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22620 if test $ac_cv_member_scsireq_t_cmd = yes; then
22622 cat >>confdefs.h <<_ACEOF
22623 #define HAVE_SCSIREQ_T_CMD 1
22628 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22629 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22630 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22631 echo $ECHO_N "(cached) $ECHO_C" >&6
22633 cat >conftest.$ac_ext <<_ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22639 #include <sys/types.h>
22640 #ifdef HAVE_SCSI_SG_H
22641 #include <scsi/sg.h>
22647 static sg_io_hdr_t ac_aggr;
22648 if (ac_aggr.interface_id)
22654 rm -f conftest.$ac_objext
22655 if { (ac_try="$ac_compile"
22656 case "(($ac_try" in
22657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22658 *) ac_try_echo
=$ac_try;;
22660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22661 (eval "$ac_compile") 2>conftest.er1
22663 grep -v '^ *+' conftest.er1
>conftest.err
22665 cat conftest.err
>&5
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); } &&
22668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22669 { (case "(($ac_try" in
22670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22671 *) ac_try_echo=$ac_try;;
22673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22674 (eval "$ac_try") 2>&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); }; } &&
22678 { ac_try='test -s conftest.$ac_objext'
22679 { (case "(($ac_try" in
22680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22681 *) ac_try_echo
=$ac_try;;
22683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22684 (eval "$ac_try") 2>&5
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; }; then
22688 ac_cv_member_sg_io_hdr_t_interface_id
=yes
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.
$ac_ext >&5
22693 cat >conftest.
$ac_ext <<_ACEOF
22696 cat confdefs.h
>>conftest.
$ac_ext
22697 cat >>conftest.
$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22699 #include <sys/types.h>
22700 #ifdef HAVE_SCSI_SG_H
22701 #include <scsi/sg.h>
22707 static sg_io_hdr_t ac_aggr;
22708 if (sizeof ac_aggr.interface_id)
22714 rm -f conftest.
$ac_objext
22715 if { (ac_try
="$ac_compile"
22716 case "(($ac_try" in
22717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_compile") 2>conftest.er1
22723 grep -v '^ *+' conftest.er1 >conftest.err
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } &&
22728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22729 { (case "(($ac_try" in
22730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22731 *) ac_try_echo
=$ac_try;;
22733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22734 (eval "$ac_try") 2>&5
22736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22737 (exit $ac_status); }; } &&
22738 { ac_try
='test -s conftest.$ac_objext'
22739 { (case "(($ac_try" in
22740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22741 *) ac_try_echo=$ac_try;;
22743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22744 (eval "$ac_try") 2>&5
22746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747 (exit $ac_status); }; }; then
22748 ac_cv_member_sg_io_hdr_t_interface_id=yes
22750 echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.$ac_ext >&5
22753 ac_cv_member_sg_io_hdr_t_interface_id=no
22756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22761 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22762 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22763 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22765 cat >>confdefs.h <<_ACEOF
22766 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22773 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22774 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22775 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22776 echo $ECHO_N "(cached) $ECHO_C" >&6
22778 cat >conftest.$ac_ext <<_ACEOF
22781 cat confdefs.h >>conftest.$ac_ext
22782 cat >>conftest.$ac_ext <<_ACEOF
22783 /* end confdefs.h. */
22784 #include <signal.h>
22789 static siginfo_t ac_aggr;
22796 rm -f conftest.$ac_objext
22797 if { (ac_try="$ac_compile"
22798 case "(($ac_try" in
22799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22800 *) ac_try_echo
=$ac_try;;
22802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22803 (eval "$ac_compile") 2>conftest.er1
22805 grep -v '^ *+' conftest.er1
>conftest.err
22807 cat conftest.err
>&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); } &&
22810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22811 { (case "(($ac_try" in
22812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22813 *) ac_try_echo=$ac_try;;
22815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22816 (eval "$ac_try") 2>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; } &&
22820 { ac_try='test -s conftest.$ac_objext'
22821 { (case "(($ac_try" in
22822 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22823 *) ac_try_echo
=$ac_try;;
22825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22826 (eval "$ac_try") 2>&5
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; }; then
22830 ac_cv_member_siginfo_t_si_fd
=yes
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.
$ac_ext >&5
22835 cat >conftest.
$ac_ext <<_ACEOF
22838 cat confdefs.h
>>conftest.
$ac_ext
22839 cat >>conftest.
$ac_ext <<_ACEOF
22840 /* end confdefs.h. */
22841 #include <signal.h>
22846 static siginfo_t ac_aggr;
22847 if (sizeof ac_aggr.si_fd)
22853 rm -f conftest.
$ac_objext
22854 if { (ac_try
="$ac_compile"
22855 case "(($ac_try" in
22856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22857 *) ac_try_echo=$ac_try;;
22859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22860 (eval "$ac_compile") 2>conftest.er1
22862 grep -v '^ *+' conftest.er1 >conftest.err
22864 cat conftest.err >&5
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); } &&
22867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22868 { (case "(($ac_try" in
22869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22870 *) ac_try_echo
=$ac_try;;
22872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22873 (eval "$ac_try") 2>&5
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; } &&
22877 { ac_try
='test -s conftest.$ac_objext'
22878 { (case "(($ac_try" in
22879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22880 *) ac_try_echo=$ac_try;;
22882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22883 (eval "$ac_try") 2>&5
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); }; }; then
22887 ac_cv_member_siginfo_t_si_fd=yes
22889 echo "$as_me: failed program was:" >&5
22890 sed 's/^/| /' conftest.$ac_ext >&5
22892 ac_cv_member_siginfo_t_si_fd=no
22895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22900 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22901 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22902 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22904 cat >>confdefs.h <<_ACEOF
22905 #define HAVE_SIGINFO_T_SI_FD 1
22912 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22913 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22914 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22915 echo $ECHO_N "(cached) $ECHO_C" >&6
22917 cat >conftest.$ac_ext <<_ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22923 #include <sys/types.h>
22924 #ifdef HAVE_SYS_MTIO_H
22925 #include <sys/mtio.h>
22931 static struct mtget ac_aggr;
22932 if (ac_aggr.mt_blksiz)
22938 rm -f conftest.$ac_objext
22939 if { (ac_try="$ac_compile"
22940 case "(($ac_try" in
22941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22942 *) ac_try_echo
=$ac_try;;
22944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22945 (eval "$ac_compile") 2>conftest.er1
22947 grep -v '^ *+' conftest.er1
>conftest.err
22949 cat conftest.err
>&5
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); } &&
22952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22953 { (case "(($ac_try" in
22954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22955 *) ac_try_echo=$ac_try;;
22957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22958 (eval "$ac_try") 2>&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); }; } &&
22962 { ac_try='test -s conftest.$ac_objext'
22963 { (case "(($ac_try" in
22964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22965 *) ac_try_echo
=$ac_try;;
22967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22968 (eval "$ac_try") 2>&5
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); }; }; then
22972 ac_cv_member_struct_mtget_mt_blksiz
=yes
22974 echo "$as_me: failed program was:" >&5
22975 sed 's/^/| /' conftest.
$ac_ext >&5
22977 cat >conftest.
$ac_ext <<_ACEOF
22980 cat confdefs.h
>>conftest.
$ac_ext
22981 cat >>conftest.
$ac_ext <<_ACEOF
22982 /* end confdefs.h. */
22983 #include <sys/types.h>
22984 #ifdef HAVE_SYS_MTIO_H
22985 #include <sys/mtio.h>
22991 static struct mtget ac_aggr;
22992 if (sizeof ac_aggr.mt_blksiz)
22998 rm -f conftest.
$ac_objext
22999 if { (ac_try
="$ac_compile"
23000 case "(($ac_try" in
23001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23002 *) ac_try_echo=$ac_try;;
23004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23005 (eval "$ac_compile") 2>conftest.er1
23007 grep -v '^ *+' conftest.er1 >conftest.err
23009 cat conftest.err >&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); } &&
23012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23013 { (case "(($ac_try" in
23014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23015 *) ac_try_echo
=$ac_try;;
23017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23018 (eval "$ac_try") 2>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; } &&
23022 { ac_try
='test -s conftest.$ac_objext'
23023 { (case "(($ac_try" in
23024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23025 *) ac_try_echo=$ac_try;;
23027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23028 (eval "$ac_try") 2>&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); }; }; then
23032 ac_cv_member_struct_mtget_mt_blksiz=yes
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23037 ac_cv_member_struct_mtget_mt_blksiz=no
23040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23045 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
23046 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
23047 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
23049 cat >>confdefs.h <<_ACEOF
23050 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
23055 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
23056 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
23057 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
23058 echo $ECHO_N "(cached) $ECHO_C" >&6
23060 cat >conftest.$ac_ext <<_ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 #include <sys/types.h>
23067 #ifdef HAVE_SYS_MTIO_H
23068 #include <sys/mtio.h>
23074 static struct mtget ac_aggr;
23075 if (ac_aggr.mt_gstat)
23081 rm -f conftest.$ac_objext
23082 if { (ac_try="$ac_compile"
23083 case "(($ac_try" in
23084 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23085 *) ac_try_echo
=$ac_try;;
23087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23088 (eval "$ac_compile") 2>conftest.er1
23090 grep -v '^ *+' conftest.er1
>conftest.err
23092 cat conftest.err
>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } &&
23095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23096 { (case "(($ac_try" in
23097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23098 *) ac_try_echo=$ac_try;;
23100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23101 (eval "$ac_try") 2>&5
23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); }; } &&
23105 { ac_try='test -s conftest.$ac_objext'
23106 { (case "(($ac_try" in
23107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23108 *) ac_try_echo
=$ac_try;;
23110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23111 (eval "$ac_try") 2>&5
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); }; }; then
23115 ac_cv_member_struct_mtget_mt_gstat
=yes
23117 echo "$as_me: failed program was:" >&5
23118 sed 's/^/| /' conftest.
$ac_ext >&5
23120 cat >conftest.
$ac_ext <<_ACEOF
23123 cat confdefs.h
>>conftest.
$ac_ext
23124 cat >>conftest.
$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23126 #include <sys/types.h>
23127 #ifdef HAVE_SYS_MTIO_H
23128 #include <sys/mtio.h>
23134 static struct mtget ac_aggr;
23135 if (sizeof ac_aggr.mt_gstat)
23141 rm -f conftest.
$ac_objext
23142 if { (ac_try
="$ac_compile"
23143 case "(($ac_try" in
23144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23145 *) ac_try_echo=$ac_try;;
23147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23148 (eval "$ac_compile") 2>conftest.er1
23150 grep -v '^ *+' conftest.er1 >conftest.err
23152 cat conftest.err >&5
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); } &&
23155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23156 { (case "(($ac_try" in
23157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23158 *) ac_try_echo
=$ac_try;;
23160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23161 (eval "$ac_try") 2>&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; } &&
23165 { ac_try
='test -s conftest.$ac_objext'
23166 { (case "(($ac_try" in
23167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_try") 2>&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); }; }; then
23175 ac_cv_member_struct_mtget_mt_gstat=yes
23177 echo "$as_me: failed program was:" >&5
23178 sed 's/^/| /' conftest.$ac_ext >&5
23180 ac_cv_member_struct_mtget_mt_gstat=no
23183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23188 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
23189 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
23190 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
23192 cat >>confdefs.h <<_ACEOF
23193 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
23198 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
23199 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
23200 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
23201 echo $ECHO_N "(cached) $ECHO_C" >&6
23203 cat >conftest.$ac_ext <<_ACEOF
23206 cat confdefs.h >>conftest.$ac_ext
23207 cat >>conftest.$ac_ext <<_ACEOF
23208 /* end confdefs.h. */
23209 #include <sys/types.h>
23210 #ifdef HAVE_SYS_MTIO_H
23211 #include <sys/mtio.h>
23217 static struct mtget ac_aggr;
23218 if (ac_aggr.mt_blkno)
23224 rm -f conftest.$ac_objext
23225 if { (ac_try="$ac_compile"
23226 case "(($ac_try" in
23227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23228 *) ac_try_echo
=$ac_try;;
23230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23231 (eval "$ac_compile") 2>conftest.er1
23233 grep -v '^ *+' conftest.er1
>conftest.err
23235 cat conftest.err
>&5
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); } &&
23238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23239 { (case "(($ac_try" in
23240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23241 *) ac_try_echo=$ac_try;;
23243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23244 (eval "$ac_try") 2>&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; } &&
23248 { ac_try='test -s conftest.$ac_objext'
23249 { (case "(($ac_try" in
23250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23251 *) ac_try_echo
=$ac_try;;
23253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23254 (eval "$ac_try") 2>&5
23256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257 (exit $ac_status); }; }; then
23258 ac_cv_member_struct_mtget_mt_blkno
=yes
23260 echo "$as_me: failed program was:" >&5
23261 sed 's/^/| /' conftest.
$ac_ext >&5
23263 cat >conftest.
$ac_ext <<_ACEOF
23266 cat confdefs.h
>>conftest.
$ac_ext
23267 cat >>conftest.
$ac_ext <<_ACEOF
23268 /* end confdefs.h. */
23269 #include <sys/types.h>
23270 #ifdef HAVE_SYS_MTIO_H
23271 #include <sys/mtio.h>
23277 static struct mtget ac_aggr;
23278 if (sizeof ac_aggr.mt_blkno)
23284 rm -f conftest.
$ac_objext
23285 if { (ac_try
="$ac_compile"
23286 case "(($ac_try" in
23287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23288 *) ac_try_echo=$ac_try;;
23290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23291 (eval "$ac_compile") 2>conftest.er1
23293 grep -v '^ *+' conftest.er1 >conftest.err
23295 cat conftest.err >&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); } &&
23298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23299 { (case "(($ac_try" in
23300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23301 *) ac_try_echo
=$ac_try;;
23303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23304 (eval "$ac_try") 2>&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; } &&
23308 { ac_try
='test -s conftest.$ac_objext'
23309 { (case "(($ac_try" in
23310 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23311 *) ac_try_echo=$ac_try;;
23313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23314 (eval "$ac_try") 2>&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); }; }; then
23318 ac_cv_member_struct_mtget_mt_blkno=yes
23320 echo "$as_me: failed program was:" >&5
23321 sed 's/^/| /' conftest.$ac_ext >&5
23323 ac_cv_member_struct_mtget_mt_blkno=no
23326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23331 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
23332 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
23333 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
23335 cat >>confdefs.h <<_ACEOF
23336 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
23343 { echo "$as_me:$LINENO: checking for struct option.name" >&5
23344 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
23345 if test "${ac_cv_member_struct_option_name+set}" = set; then
23346 echo $ECHO_N "(cached) $ECHO_C" >&6
23348 cat >conftest.$ac_ext <<_ACEOF
23351 cat confdefs.h >>conftest.$ac_ext
23352 cat >>conftest.$ac_ext <<_ACEOF
23353 /* end confdefs.h. */
23354 #ifdef HAVE_GETOPT_H
23355 #include <getopt.h>
23361 static struct option ac_aggr;
23368 rm -f conftest.$ac_objext
23369 if { (ac_try="$ac_compile"
23370 case "(($ac_try" in
23371 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23372 *) ac_try_echo
=$ac_try;;
23374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23375 (eval "$ac_compile") 2>conftest.er1
23377 grep -v '^ *+' conftest.er1
>conftest.err
23379 cat conftest.err
>&5
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); } &&
23382 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23383 { (case "(($ac_try" in
23384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23385 *) ac_try_echo=$ac_try;;
23387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23388 (eval "$ac_try") 2>&5
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); }; } &&
23392 { ac_try='test -s conftest.$ac_objext'
23393 { (case "(($ac_try" in
23394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23395 *) ac_try_echo
=$ac_try;;
23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398 (eval "$ac_try") 2>&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); }; }; then
23402 ac_cv_member_struct_option_name
=yes
23404 echo "$as_me: failed program was:" >&5
23405 sed 's/^/| /' conftest.
$ac_ext >&5
23407 cat >conftest.
$ac_ext <<_ACEOF
23410 cat confdefs.h
>>conftest.
$ac_ext
23411 cat >>conftest.
$ac_ext <<_ACEOF
23412 /* end confdefs.h. */
23413 #ifdef HAVE_GETOPT_H
23414 #include <getopt.h>
23420 static struct option ac_aggr;
23421 if (sizeof ac_aggr.name)
23427 rm -f conftest.
$ac_objext
23428 if { (ac_try
="$ac_compile"
23429 case "(($ac_try" in
23430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23431 *) ac_try_echo=$ac_try;;
23433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23434 (eval "$ac_compile") 2>conftest.er1
23436 grep -v '^ *+' conftest.er1 >conftest.err
23438 cat conftest.err >&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); } &&
23441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23442 { (case "(($ac_try" in
23443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23444 *) ac_try_echo
=$ac_try;;
23446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23447 (eval "$ac_try") 2>&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); }; } &&
23451 { ac_try
='test -s conftest.$ac_objext'
23452 { (case "(($ac_try" in
23453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23454 *) ac_try_echo=$ac_try;;
23456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23457 (eval "$ac_try") 2>&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; }; then
23461 ac_cv_member_struct_option_name=yes
23463 echo "$as_me: failed program was:" >&5
23464 sed 's/^/| /' conftest.$ac_ext >&5
23466 ac_cv_member_struct_option_name=no
23469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23474 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23475 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23476 if test $ac_cv_member_struct_option_name = yes; then
23478 cat >>confdefs.h <<_ACEOF
23479 #define HAVE_STRUCT_OPTION_NAME 1
23486 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23487 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23488 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23489 echo $ECHO_N "(cached) $ECHO_C" >&6
23491 cat >conftest.$ac_ext <<_ACEOF
23494 cat confdefs.h >>conftest.$ac_ext
23495 cat >>conftest.$ac_ext <<_ACEOF
23496 /* end confdefs.h. */
23497 $ac_includes_default
23501 static struct stat ac_aggr;
23502 if (ac_aggr.st_blocks)
23508 rm -f conftest.$ac_objext
23509 if { (ac_try="$ac_compile"
23510 case "(($ac_try" in
23511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23512 *) ac_try_echo
=$ac_try;;
23514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23515 (eval "$ac_compile") 2>conftest.er1
23517 grep -v '^ *+' conftest.er1
>conftest.err
23519 cat conftest.err
>&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } &&
23522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23523 { (case "(($ac_try" in
23524 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23525 *) ac_try_echo=$ac_try;;
23527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23528 (eval "$ac_try") 2>&5
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); }; } &&
23532 { ac_try='test -s conftest.$ac_objext'
23533 { (case "(($ac_try" in
23534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23535 *) ac_try_echo
=$ac_try;;
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_try") 2>&5
23540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541 (exit $ac_status); }; }; then
23542 ac_cv_member_struct_stat_st_blocks
=yes
23544 echo "$as_me: failed program was:" >&5
23545 sed 's/^/| /' conftest.
$ac_ext >&5
23547 cat >conftest.
$ac_ext <<_ACEOF
23550 cat confdefs.h
>>conftest.
$ac_ext
23551 cat >>conftest.
$ac_ext <<_ACEOF
23552 /* end confdefs.h. */
23553 $ac_includes_default
23557 static struct stat ac_aggr;
23558 if (sizeof ac_aggr.st_blocks)
23564 rm -f conftest.
$ac_objext
23565 if { (ac_try
="$ac_compile"
23566 case "(($ac_try" in
23567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23568 *) ac_try_echo=$ac_try;;
23570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23571 (eval "$ac_compile") 2>conftest.er1
23573 grep -v '^ *+' conftest.er1 >conftest.err
23575 cat conftest.err >&5
23576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23577 (exit $ac_status); } &&
23578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23579 { (case "(($ac_try" in
23580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23581 *) ac_try_echo
=$ac_try;;
23583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23584 (eval "$ac_try") 2>&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; } &&
23588 { ac_try
='test -s conftest.$ac_objext'
23589 { (case "(($ac_try" in
23590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23591 *) ac_try_echo=$ac_try;;
23593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23594 (eval "$ac_try") 2>&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); }; }; then
23598 ac_cv_member_struct_stat_st_blocks=yes
23600 echo "$as_me: failed program was:" >&5
23601 sed 's/^/| /' conftest.$ac_ext >&5
23603 ac_cv_member_struct_stat_st_blocks=no
23606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23611 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23612 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23613 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23615 cat >>confdefs.h <<_ACEOF
23616 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23623 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23624 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23625 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23626 echo $ECHO_N "(cached) $ECHO_C" >&6
23628 cat >conftest.$ac_ext <<_ACEOF
23631 cat confdefs.h >>conftest.$ac_ext
23632 cat >>conftest.$ac_ext <<_ACEOF
23633 /* end confdefs.h. */
23634 #ifdef HAVE_SYS_TYPES_H
23635 #include <sys/types.h>
23637 #ifdef HAVE_NETINET_IN_H
23638 #include <netinet/in.h>
23644 static struct sockaddr_in6 ac_aggr;
23645 if (ac_aggr.sin6_scope_id)
23651 rm -f conftest.$ac_objext
23652 if { (ac_try="$ac_compile"
23653 case "(($ac_try" in
23654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23655 *) ac_try_echo
=$ac_try;;
23657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23658 (eval "$ac_compile") 2>conftest.er1
23660 grep -v '^ *+' conftest.er1
>conftest.err
23662 cat conftest.err
>&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); } &&
23665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23666 { (case "(($ac_try" in
23667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23668 *) ac_try_echo=$ac_try;;
23670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23671 (eval "$ac_try") 2>&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); }; } &&
23675 { ac_try='test -s conftest.$ac_objext'
23676 { (case "(($ac_try" in
23677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23678 *) ac_try_echo
=$ac_try;;
23680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23681 (eval "$ac_try") 2>&5
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; }; then
23685 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
23687 echo "$as_me: failed program was:" >&5
23688 sed 's/^/| /' conftest.
$ac_ext >&5
23690 cat >conftest.
$ac_ext <<_ACEOF
23693 cat confdefs.h
>>conftest.
$ac_ext
23694 cat >>conftest.
$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23696 #ifdef HAVE_SYS_TYPES_H
23697 #include <sys/types.h>
23699 #ifdef HAVE_NETINET_IN_H
23700 #include <netinet/in.h>
23706 static struct sockaddr_in6 ac_aggr;
23707 if (sizeof ac_aggr.sin6_scope_id)
23713 rm -f conftest.
$ac_objext
23714 if { (ac_try
="$ac_compile"
23715 case "(($ac_try" in
23716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23717 *) ac_try_echo=$ac_try;;
23719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23720 (eval "$ac_compile") 2>conftest.er1
23722 grep -v '^ *+' conftest.er1 >conftest.err
23724 cat conftest.err >&5
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); } &&
23727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23728 { (case "(($ac_try" in
23729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23730 *) ac_try_echo
=$ac_try;;
23732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23733 (eval "$ac_try") 2>&5
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); }; } &&
23737 { ac_try
='test -s conftest.$ac_objext'
23738 { (case "(($ac_try" in
23739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23740 *) ac_try_echo=$ac_try;;
23742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23743 (eval "$ac_try") 2>&5
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); }; }; then
23747 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23749 echo "$as_me: failed program was:" >&5
23750 sed 's/^/| /' conftest.$ac_ext >&5
23752 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23760 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23761 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23762 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23764 cat >>confdefs.h <<_ACEOF
23765 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23772 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23773 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23774 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23775 echo $ECHO_N "(cached) $ECHO_C" >&6
23777 cat >conftest.$ac_ext <<_ACEOF
23780 cat confdefs.h >>conftest.$ac_ext
23781 cat >>conftest.$ac_ext <<_ACEOF
23782 /* end confdefs.h. */
23783 #ifdef HAVE_SYS_TYPES_H
23784 #include <sys/types.h>
23786 #ifdef HAVE_NETINET_IN_H
23787 # include <netinet/in.h>
23789 #ifdef HAVE_ARPA_NAMESER_H
23790 # include <arpa/nameser.h>
23796 static ns_msg ac_aggr;
23797 if (ac_aggr._msg_ptr)
23803 rm -f conftest.$ac_objext
23804 if { (ac_try="$ac_compile"
23805 case "(($ac_try" in
23806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23807 *) ac_try_echo
=$ac_try;;
23809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23810 (eval "$ac_compile") 2>conftest.er1
23812 grep -v '^ *+' conftest.er1
>conftest.err
23814 cat conftest.err
>&5
23815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23816 (exit $ac_status); } &&
23817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23818 { (case "(($ac_try" in
23819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23820 *) ac_try_echo=$ac_try;;
23822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23823 (eval "$ac_try") 2>&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); }; } &&
23827 { ac_try='test -s conftest.$ac_objext'
23828 { (case "(($ac_try" in
23829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23830 *) ac_try_echo
=$ac_try;;
23832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23833 (eval "$ac_try") 2>&5
23835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836 (exit $ac_status); }; }; then
23837 ac_cv_member_ns_msg__msg_ptr
=yes
23839 echo "$as_me: failed program was:" >&5
23840 sed 's/^/| /' conftest.
$ac_ext >&5
23842 cat >conftest.
$ac_ext <<_ACEOF
23845 cat confdefs.h
>>conftest.
$ac_ext
23846 cat >>conftest.
$ac_ext <<_ACEOF
23847 /* end confdefs.h. */
23848 #ifdef HAVE_SYS_TYPES_H
23849 #include <sys/types.h>
23851 #ifdef HAVE_NETINET_IN_H
23852 # include <netinet/in.h>
23854 #ifdef HAVE_ARPA_NAMESER_H
23855 # include <arpa/nameser.h>
23861 static ns_msg ac_aggr;
23862 if (sizeof ac_aggr._msg_ptr)
23868 rm -f conftest.
$ac_objext
23869 if { (ac_try
="$ac_compile"
23870 case "(($ac_try" in
23871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23872 *) ac_try_echo=$ac_try;;
23874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23875 (eval "$ac_compile") 2>conftest.er1
23877 grep -v '^ *+' conftest.er1 >conftest.err
23879 cat conftest.err >&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); } &&
23882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
23892 { ac_try
='test -s conftest.$ac_objext'
23893 { (case "(($ac_try" in
23894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23895 *) ac_try_echo=$ac_try;;
23897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23898 (eval "$ac_try") 2>&5
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); }; }; then
23902 ac_cv_member_ns_msg__msg_ptr=yes
23904 echo "$as_me: failed program was:" >&5
23905 sed 's/^/| /' conftest.$ac_ext >&5
23907 ac_cv_member_ns_msg__msg_ptr=no
23910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23915 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23916 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23917 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23919 cat >>confdefs.h <<_ACEOF
23920 #define HAVE_NS_MSG__MSG_PTR 1
23927 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23928 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23929 if test "${ac_cv_have_timezone+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23932 cat >conftest.$ac_ext <<_ACEOF
23935 cat confdefs.h >>conftest.$ac_ext
23936 cat >>conftest.$ac_ext <<_ACEOF
23937 /* end confdefs.h. */
23947 rm -f conftest.$ac_objext conftest$ac_exeext
23948 if { (ac_try="$ac_link"
23949 case "(($ac_try" in
23950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23951 *) ac_try_echo
=$ac_try;;
23953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23954 (eval "$ac_link") 2>conftest.er1
23956 grep -v '^ *+' conftest.er1
>conftest.err
23958 cat conftest.err
>&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); } &&
23961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23962 { (case "(($ac_try" in
23963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23964 *) ac_try_echo=$ac_try;;
23966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23967 (eval "$ac_try") 2>&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); }; } &&
23971 { ac_try='test -s conftest$ac_exeext'
23972 { (case "(($ac_try" in
23973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23974 *) ac_try_echo
=$ac_try;;
23976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23977 (eval "$ac_try") 2>&5
23979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23980 (exit $ac_status); }; }; then
23981 ac_cv_have_timezone
="yes"
23983 echo "$as_me: failed program was:" >&5
23984 sed 's/^/| /' conftest.
$ac_ext >&5
23986 ac_cv_have_timezone
="no"
23989 rm -f core conftest.err conftest.
$ac_objext \
23990 conftest
$ac_exeext conftest.
$ac_ext
23992 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23993 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23994 if test "$ac_cv_have_timezone" = "yes"
23997 cat >>confdefs.h
<<\_ACEOF
23998 #define HAVE_TIMEZONE 1
24002 { echo "$as_me:$LINENO: checking for daylight variable" >&5
24003 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
24004 if test "${ac_cv_have_daylight+set}" = set; then
24005 echo $ECHO_N "(cached) $ECHO_C" >&6
24007 cat >conftest.
$ac_ext <<_ACEOF
24010 cat confdefs.h
>>conftest.
$ac_ext
24011 cat >>conftest.
$ac_ext <<_ACEOF
24012 /* end confdefs.h. */
24022 rm -f conftest.
$ac_objext conftest
$ac_exeext
24023 if { (ac_try
="$ac_link"
24024 case "(($ac_try" in
24025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24026 *) ac_try_echo=$ac_try;;
24028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24029 (eval "$ac_link") 2>conftest.er1
24031 grep -v '^ *+' conftest.er1 >conftest.err
24033 cat conftest.err >&5
24034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035 (exit $ac_status); } &&
24036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24037 { (case "(($ac_try" in
24038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24039 *) ac_try_echo
=$ac_try;;
24041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24042 (eval "$ac_try") 2>&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); }; } &&
24046 { ac_try
='test -s conftest$ac_exeext'
24047 { (case "(($ac_try" in
24048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24049 *) ac_try_echo=$ac_try;;
24051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24052 (eval "$ac_try") 2>&5
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); }; }; then
24056 ac_cv_have_daylight="yes"
24058 echo "$as_me: failed program was:" >&5
24059 sed 's/^/| /' conftest.$ac_ext >&5
24061 ac_cv_have_daylight="no"
24064 rm -f core conftest.err conftest.$ac_objext \
24065 conftest$ac_exeext conftest.$ac_ext
24067 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
24068 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
24069 if test "$ac_cv_have_daylight" = "yes"
24072 cat >>confdefs.h <<\_ACEOF
24073 #define HAVE_DAYLIGHT 1
24080 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
24081 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
24082 if test "${ac_cv_cpp_def___i386__+set}" = set; then
24083 echo $ECHO_N "(cached) $ECHO_C" >&6
24085 cat >conftest.$ac_ext <<_ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24096 $EGREP "yes" >/dev/null 2>&1; then
24097 ac_cv_cpp_def___i386__=yes
24099 ac_cv_cpp_def___i386__=no
24104 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
24105 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
24106 if test $ac_cv_cpp_def___i386__ = yes; then
24107 CFLAGS="$CFLAGS -D__i386__"
24108 LINTFLAGS="$LINTFLAGS -D__i386__"
24111 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
24112 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
24113 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
24114 echo $ECHO_N "(cached) $ECHO_C" >&6
24116 cat >conftest.$ac_ext <<_ACEOF
24119 cat confdefs.h >>conftest.$ac_ext
24120 cat >>conftest.$ac_ext <<_ACEOF
24121 /* end confdefs.h. */
24126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24127 $EGREP "yes" >/dev/null 2>&1; then
24128 ac_cv_cpp_def___x86_64__=yes
24130 ac_cv_cpp_def___x86_64__=no
24135 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
24136 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
24137 if test $ac_cv_cpp_def___x86_64__ = yes; then
24138 CFLAGS="$CFLAGS -D__x86_64__"
24139 LINTFLAGS="$LINTFLAGS -D__x86_64__"
24142 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
24143 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
24144 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
24145 echo $ECHO_N "(cached) $ECHO_C" >&6
24147 cat >conftest.$ac_ext <<_ACEOF
24150 cat confdefs.h >>conftest.$ac_ext
24151 cat >>conftest.$ac_ext <<_ACEOF
24152 /* end confdefs.h. */
24157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24158 $EGREP "yes" >/dev/null 2>&1; then
24159 ac_cv_cpp_def__WIN64=yes
24161 ac_cv_cpp_def__WIN64=no
24166 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
24167 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
24168 if test $ac_cv_cpp_def__WIN64 = yes; then
24169 CFLAGS="$CFLAGS -D_WIN64"
24170 LINTFLAGS="$LINTFLAGS -D_WIN64"
24173 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
24174 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
24175 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
24176 echo $ECHO_N "(cached) $ECHO_C" >&6
24178 cat >conftest.$ac_ext <<_ACEOF
24181 cat confdefs.h >>conftest.$ac_ext
24182 cat >>conftest.$ac_ext <<_ACEOF
24183 /* end confdefs.h. */
24188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24189 $EGREP "yes" >/dev/null 2>&1; then
24190 ac_cv_cpp_def___ALPHA__=yes
24192 ac_cv_cpp_def___ALPHA__=no
24197 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
24198 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
24199 if test $ac_cv_cpp_def___ALPHA__ = yes; then
24200 CFLAGS="$CFLAGS -D__ALPHA__"
24201 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
24204 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
24205 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
24206 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
24207 echo $ECHO_N "(cached) $ECHO_C" >&6
24209 cat >conftest.$ac_ext <<_ACEOF
24212 cat confdefs.h >>conftest.$ac_ext
24213 cat >>conftest.$ac_ext <<_ACEOF
24214 /* end confdefs.h. */
24219 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24220 $EGREP "yes" >/dev/null 2>&1; then
24221 ac_cv_cpp_def___sparc__=yes
24223 ac_cv_cpp_def___sparc__=no
24228 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
24229 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
24230 if test $ac_cv_cpp_def___sparc__ = yes; then
24231 CFLAGS="$CFLAGS -D__sparc__"
24232 LINTFLAGS="$LINTFLAGS -D__sparc__"
24235 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
24236 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
24237 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
24238 echo $ECHO_N "(cached) $ECHO_C" >&6
24240 cat >conftest.$ac_ext <<_ACEOF
24243 cat confdefs.h >>conftest.$ac_ext
24244 cat >>conftest.$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24246 #ifndef __powerpc__
24250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24251 $EGREP "yes" >/dev/null 2>&1; then
24252 ac_cv_cpp_def___powerpc__=yes
24254 ac_cv_cpp_def___powerpc__=no
24259 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
24260 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
24261 if test $ac_cv_cpp_def___powerpc__ = yes; then
24262 CFLAGS="$CFLAGS -D__powerpc__"
24263 LINTFLAGS="$LINTFLAGS -D__powerpc__"
24268 case $host_vendor in
24269 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
24270 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
24271 if test "${ac_cv_cpp_def___sun__+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24274 cat >conftest.$ac_ext <<_ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24285 $EGREP "yes" >/dev/null 2>&1; then
24286 ac_cv_cpp_def___sun__=yes
24288 ac_cv_cpp_def___sun__=no
24293 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
24294 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
24295 if test $ac_cv_cpp_def___sun__ = yes; then
24296 CFLAGS="$CFLAGS -D__sun__"
24297 LINTFLAGS="$LINTFLAGS -D__sun__"
24306 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
24308 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
24310 ac_config_commands="$ac_config_commands dlls/kernel/messages"
24312 ac_config_commands="$ac_config_commands dlls/user/resources"
24314 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
24316 ac_config_commands="$ac_config_commands include/wine"
24319 MAKE_RULES=Make.rules
24322 MAKE_DLL_RULES=dlls/Makedll.rules
24325 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
24328 MAKE_TEST_RULES=dlls/Maketest.rules
24331 MAKE_LIB_RULES=libs/Makelib.rules
24334 MAKE_PROG_RULES=programs/Makeprog.rules
24337 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/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/inseng/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/query/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/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/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"
24340 cat >confcache <<\_ACEOF
24341 # This file is a shell script that caches the results of configure
24342 # tests run on this system so they can be shared between configure
24343 # scripts and configure runs, see configure's option --config-cache.
24344 # It is not useful on other systems. If it contains results you don't
24345 # want to keep, you may remove or edit it.
24347 # config.status only pays attention to the cache file if you give it
24348 # the --recheck option to rerun configure.
24350 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
24351 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24352 # following values.
24356 # The following way of writing the cache mishandles newlines in values,
24357 # but we know of no workaround that is simple, portable, and efficient.
24358 # So, we kill variables containing newlines.
24359 # Ultrix sh set writes to stderr and can't be redirected directly,
24360 # and sets the high bit in the cache file unless we assign to the vars.
24362 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24363 eval ac_val
=\$
$ac_var
24367 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24368 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24371 _ | IFS | as_nl
) ;; #(
24372 *) $as_unset $ac_var ;;
24378 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24379 *${as_nl}ac_space
=\
*)
24380 # `set' does not quote correctly, so add quotes (double-quote
24381 # substitution turns \\\\ into \\, and sed turns \\ into \).
24384 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24387 # `set' quotes correctly as required by POSIX, so do not add quotes.
24388 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24397 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24399 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24401 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24402 if test -w "$cache_file"; then
24403 test "x$cache_file" != "x/dev/null" &&
24404 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24405 echo "$as_me: updating cache $cache_file" >&6;}
24406 cat confcache
>$cache_file
24408 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24409 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24414 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24415 # Let make expand exec_prefix.
24416 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24418 DEFS
=-DHAVE_CONFIG_H
24422 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24423 # 1. Remove the extension, and $U if already installed.
24424 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24425 ac_i
=`echo "$ac_i" | sed "$ac_script"`
24426 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24427 # will be set to the directory where LIBOBJS objects are built.
24428 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24429 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24431 LIBOBJS
=$ac_libobjs
24433 LTLIBOBJS
=$ac_ltlibobjs
24437 : ${CONFIG_STATUS=./config.status}
24438 ac_clean_files_save
=$ac_clean_files
24439 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24440 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24441 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24442 cat >$CONFIG_STATUS <<_ACEOF
24444 # Generated by $as_me.
24445 # Run this file to recreate the current configuration.
24446 # Compiler output produced by configure, useful for debugging
24447 # configure, is in config.log if it exists.
24450 ac_cs_recheck=false
24452 SHELL=\${CONFIG_SHELL-$SHELL}
24455 cat >>$CONFIG_STATUS <<\_ACEOF
24456 ## --------------------- ##
24457 ## M4sh Initialization. ##
24458 ## --------------------- ##
24460 # Be Bourne compatible
24461 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24464 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24465 # is contrary to our usage. Disable this feature.
24466 alias -g '${1+"$@"}'='"$@"'
24467 setopt NO_GLOB_SUBST
24469 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
24471 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
24472 DUALCASE
=1; export DUALCASE
# for MKS sh
24476 # Avoid depending upon Character Ranges.
24477 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24478 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24479 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24480 as_cr_digits
='0123456789'
24481 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24483 # The user is always right.
24484 if test "${PATH_SEPARATOR+set}" != set; then
24485 echo "#! /bin/sh" >conf$$.sh
24486 echo "exit 0" >>conf$$.sh
24488 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24496 # Support unset when possible.
24497 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
24505 # We need space, tab and new line, in precisely that order. Quoting is
24506 # there to prevent editors from complaining about space-tab.
24507 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24508 # splitting by setting IFS to empty value.)
24513 # Find who we are. Look in the path if we contain no directory separator.
24515 *[\\/]* ) as_myself
=$0 ;;
24516 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24517 for as_dir
in $PATH
24520 test -z "$as_dir" && as_dir
=.
24521 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24527 # We did not find ourselves, most probably we were run as `sh COMMAND'
24528 # in which case we are not to be found in the path.
24529 if test "x$as_myself" = x
; then
24532 if test ! -f "$as_myself"; then
24533 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24534 { (exit 1); exit 1; }
24537 # Work around bugs in pre-3.0 UWIN ksh.
24538 for as_var
in ENV MAIL MAILPATH
24539 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24547 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24548 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24549 LC_TELEPHONE LC_TIME
24551 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24552 eval $as_var=C
; export $as_var
24554 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24558 # Required to use basename.
24559 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24560 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24566 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24567 as_basename
=basename
24573 # Name of the executable.
24574 as_me
=`$as_basename -- "$0" ||
24575 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24576 X"$0" : 'X\(//\)$' \| \
24577 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24579 sed '/^.*\/\([^/][^/]*\)\/*$/{
24598 as_lineno_1
=$LINENO
24599 as_lineno_2
=$LINENO
24600 test "x$as_lineno_1" != "x$as_lineno_2" &&
24601 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
24603 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24604 # uniformly replaced by the line number. The first 'sed' inserts a
24605 # line-number line after each line using $LINENO; the second 'sed'
24606 # does the real work. The second script uses 'N' to pair each
24607 # line-number line with the line containing $LINENO, and appends
24608 # trailing '-' during substitution so that $LINENO is not a special
24609 # case at line end.
24610 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24611 # scripts with optimization help from Paolo Bonzini. Blame Lee
24612 # E. McMahon (1931-1989) for sed's syntax. :-)
24624 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24627 ' >$as_me.lineno
&&
24628 chmod +x
"$as_me.lineno" ||
24629 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24630 { (exit 1); exit 1; }; }
24632 # Don't try to exec as it changes $[0], causing all sort of problems
24633 # (the dirname of $[0] is not the place where we might find the
24634 # original and so on. Autoconf is especially sensitive to this).
24635 .
"./$as_me.lineno"
24636 # Exit status is that of the last command.
24641 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24647 ECHO_C
= ECHO_N
= ECHO_T
=
24648 case `echo -n x` in
24650 case `echo 'x\c'` in
24651 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24658 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24659 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24665 rm -f conf$$ conf$$.exe conf$$.
file
24666 if test -d conf$$.dir
; then
24667 rm -f conf$$.dir
/conf$$.
file
24673 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24675 # ... but there are two gotchas:
24676 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24677 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24678 # In both cases, we have to default to `cp -p'.
24679 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24681 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24686 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24687 rmdir conf$$.dir
2>/dev
/null
24689 if mkdir
-p .
2>/dev
/null
; then
24692 test -d .
/-p && rmdir .
/-p
24696 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24697 # systems may use methods other than mode bits to determine executability.
24698 cat >conf$$.
file <<_ASEOF
24702 chmod +x conf$$.
file
24703 if test -x conf$$.
file >/dev
/null
2>&1; then
24704 as_executable_p
="test -x"
24710 # Sed expression to map a string onto a valid CPP name.
24711 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24713 # Sed expression to map a string onto a valid variable name.
24714 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24719 # Save the log message, to keep $[0] and so on meaningful, and to
24720 # report actual input values of CONFIG_FILES etc. instead of their
24721 # values after options handling.
24723 This file was extended by Wine $as_me 0.9.18, which was
24724 generated by GNU Autoconf 2.60a. Invocation command line was
24726 CONFIG_FILES = $CONFIG_FILES
24727 CONFIG_HEADERS = $CONFIG_HEADERS
24728 CONFIG_LINKS = $CONFIG_LINKS
24729 CONFIG_COMMANDS = $CONFIG_COMMANDS
24732 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24737 cat >>$CONFIG_STATUS <<_ACEOF
24738 # Files that config.status was made for.
24739 config_files="$ac_config_files"
24740 config_headers="$ac_config_headers"
24741 config_commands="$ac_config_commands"
24745 cat >>$CONFIG_STATUS <<\_ACEOF
24747 \`$as_me' instantiates files from templates according to the
24748 current configuration.
24750 Usage: $0 [OPTIONS] [FILE]...
24752 -h, --help print this help, then exit
24753 -V, --version print version number, then exit
24754 -q, --quiet do not print progress messages
24755 -d, --debug don't remove temporary files
24756 --recheck update $as_me by reconfiguring in the same conditions
24757 --file=FILE[:TEMPLATE]
24758 instantiate the configuration file FILE
24759 --header=FILE[:TEMPLATE]
24760 instantiate the configuration header FILE
24762 Configuration files:
24765 Configuration headers:
24768 Configuration commands:
24771 Report bugs to <bug-autoconf@gnu.org>."
24774 cat >>$CONFIG_STATUS <<_ACEOF
24776 Wine config.status 0.9.18
24777 configured by $0, generated by GNU Autoconf 2.60a,
24778 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24780 Copyright (C) 2006 Free Software Foundation, Inc.
24781 This config.status script is free software; the Free Software Foundation
24782 gives unlimited permission to copy, distribute and modify it."
24789 cat >>$CONFIG_STATUS <<\_ACEOF
24790 # If no file are specified by the user, then we need to provide default
24791 # value. By we need to know if files were specified by the user.
24797 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24798 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24809 # Handling of the options.
24810 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24812 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24813 echo "$ac_cs_version"; exit ;;
24814 --debug |
--debu |
--deb |
--de |
--d |
-d )
24816 --file |
--fil |
--fi |
--f )
24818 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24819 ac_need_defaults
=false
;;
24820 --header |
--heade |
--head |
--hea )
24822 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24823 ac_need_defaults
=false
;;
24825 # Conflict between --help and --header
24826 { echo "$as_me: error: ambiguous option: $1
24827 Try \`$0 --help' for more information." >&2
24828 { (exit 1); exit 1; }; };;
24829 --help |
--hel |
-h )
24830 echo "$ac_cs_usage"; exit ;;
24831 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24832 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24835 # This is an error.
24836 -*) { echo "$as_me: error: unrecognized option: $1
24837 Try \`$0 --help' for more information." >&2
24838 { (exit 1); exit 1; }; } ;;
24840 *) ac_config_targets
="$ac_config_targets $1"
24841 ac_need_defaults
=false
;;
24847 ac_configure_extra_args
=
24849 if $ac_cs_silent; then
24851 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24855 cat >>$CONFIG_STATUS <<_ACEOF
24856 if \$ac_cs_recheck; then
24857 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24858 CONFIG_SHELL=$SHELL
24859 export CONFIG_SHELL
24860 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24864 cat >>$CONFIG_STATUS <<\_ACEOF
24868 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24869 ## Running $as_me. ##
24875 cat >>$CONFIG_STATUS <<_ACEOF
24878 cat >>$CONFIG_STATUS <<\_ACEOF
24880 # Handling of arguments.
24881 for ac_config_target
in $ac_config_targets
24883 case $ac_config_target in
24884 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24885 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24886 "dlls/gdi/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24887 "dlls/kernel/messages") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24888 "dlls/user/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
24889 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24890 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
24891 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
24892 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
24893 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24894 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
24895 "libs/Makelib.rules") CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
24896 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
24897 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24898 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
24899 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
24900 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24901 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24902 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
24903 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24904 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
24905 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
24906 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24907 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24908 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24909 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24910 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24911 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
24912 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24913 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
24914 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24915 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24916 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24917 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24918 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24919 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
24920 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24921 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24922 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24923 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24924 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24925 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24926 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24927 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24928 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24929 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24930 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24931 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24932 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24933 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24934 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24935 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24936 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24937 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24938 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
24939 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
24940 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24941 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24942 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
24943 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24944 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
24945 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24946 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24947 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24948 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24949 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24950 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24951 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24952 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24953 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
24954 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24955 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24956 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24957 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
24958 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24959 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
24960 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24961 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24962 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24963 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24964 "dlls/gdi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
24965 "dlls/gdi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24966 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
24967 "dlls/glut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
24968 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24969 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24970 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
24971 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24972 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24973 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
24974 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24975 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24976 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24977 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
24978 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24979 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
24980 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24981 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24982 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
24983 "dlls/kernel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
24984 "dlls/kernel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
24985 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
24986 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24987 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24988 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24989 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24990 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24991 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24992 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24993 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
24994 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
24995 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24996 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24997 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24998 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
24999 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
25000 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
25001 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
25002 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
25003 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
25004 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
25005 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
25006 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
25007 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
25008 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
25009 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
25010 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
25011 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
25012 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
25013 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
25014 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
25015 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
25016 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
25017 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
25018 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
25019 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
25020 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
25021 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
25022 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
25023 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
25024 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
25025 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
25026 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
25027 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
25028 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
25029 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
25030 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
25031 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
25032 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
25033 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
25034 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
25035 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
25036 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
25037 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
25038 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
25039 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
25040 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
25041 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
25042 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
25043 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
25044 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
25045 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
25046 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
25047 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
25048 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
25049 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
25050 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
25051 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
25052 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
25053 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
25054 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
25055 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
25056 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
25057 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
25058 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
25059 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
25060 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
25061 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
25062 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
25063 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
25064 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
25065 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
25066 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
25067 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
25068 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
25069 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
25070 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
25071 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
25072 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
25073 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
25074 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
25075 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
25076 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
25077 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
25078 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
25079 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
25080 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
25081 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
25082 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
25083 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
25084 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
25085 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
25086 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
25087 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
25088 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
25089 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
25090 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
25091 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
25092 "dlls/user/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
25093 "dlls/user/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
25094 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
25095 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
25096 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
25097 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
25098 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
25099 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
25100 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
25101 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
25102 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
25103 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
25104 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
25105 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
25106 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
25107 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
25108 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
25109 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
25110 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
25111 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
25112 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
25113 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
25114 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
25115 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
25116 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
25117 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
25118 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
25119 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
25120 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
25121 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
25122 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
25123 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
25124 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
25125 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
25126 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
25127 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
25128 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
25129 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
25130 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
25131 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
25132 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
25133 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
25134 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
25135 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
25136 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
25137 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
25138 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
25139 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
25140 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
25141 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
25142 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
25143 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
25144 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
25145 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
25146 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
25147 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
25148 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
25149 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
25150 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
25151 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
25152 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
25153 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
25154 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
25155 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
25156 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
25157 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
25158 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
25159 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
25160 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
25161 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
25162 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
25163 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
25164 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
25165 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
25166 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
25167 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
25168 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
25169 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
25170 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
25171 "programs/wcmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
25172 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
25173 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
25174 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
25175 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
25176 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
25177 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
25178 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
25179 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
25180 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
25181 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
25182 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
25183 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
25184 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
25185 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
25186 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
25187 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
25188 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
25189 "tools/winapi/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
25190 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
25191 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
25192 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
25193 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
25194 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
25196 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25197 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25198 { (exit 1); exit 1; }; };;
25203 # If the user did not use the arguments to specify the items to instantiate,
25204 # then the envvar interface is used. Set only those that are not.
25205 # We use the long form for the default assignment because of an extremely
25206 # bizarre bug on SunOS 4.1.3.
25207 if $ac_need_defaults; then
25208 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25209 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25210 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25213 # Have a temporary directory for convenience. Make it in the build tree
25214 # simply because there is no reason against having it here, and in addition,
25215 # creating and moving files from /tmp can sometimes cause problems.
25216 # Hook for its removal unless debugging.
25217 # Note that there is a small window in which the directory will not be cleaned:
25218 # after its creation but before its name has been assigned to `$tmp'.
25222 trap 'exit_status=$?
25223 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25225 trap '{ (exit 1); exit 1; }' 1 2 13 15
25227 # Create a (secure) tmp directory for tmp files.
25230 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25231 test -n "$tmp" && test -d "$tmp"
25234 tmp
=.
/conf$$
-$RANDOM
25235 (umask 077 && mkdir
"$tmp")
25238 echo "$me: cannot create a temporary directory in ." >&2
25239 { (exit 1); exit 1; }
25243 # Set up the sed scripts for CONFIG_FILES section.
25246 # No need to generate the scripts if there are no CONFIG_FILES.
25247 # This happens for instance when ./config.status config.h
25248 if test -n "$CONFIG_FILES"; then
25252 # Create sed commands to just substitute file output variables.
25254 # Remaining file output variables are in a fragment that also has non-file
25260 for ac_last_try
in false false false false false
:; do
25261 cat >conf$
$subs.
sed <<_ACEOF
25262 SHELL!$SHELL$ac_delim
25263 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25264 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25265 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25266 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25267 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25268 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25269 exec_prefix!$exec_prefix$ac_delim
25270 prefix!$prefix$ac_delim
25271 program_transform_name!$program_transform_name$ac_delim
25272 bindir!$bindir$ac_delim
25273 sbindir!$sbindir$ac_delim
25274 libexecdir!$libexecdir$ac_delim
25275 datarootdir!$datarootdir$ac_delim
25276 datadir!$datadir$ac_delim
25277 sysconfdir!$sysconfdir$ac_delim
25278 sharedstatedir!$sharedstatedir$ac_delim
25279 localstatedir!$localstatedir$ac_delim
25280 includedir!$includedir$ac_delim
25281 oldincludedir!$oldincludedir$ac_delim
25282 docdir!$docdir$ac_delim
25283 infodir!$infodir$ac_delim
25284 htmldir!$htmldir$ac_delim
25285 dvidir!$dvidir$ac_delim
25286 pdfdir!$pdfdir$ac_delim
25287 psdir!$psdir$ac_delim
25288 libdir!$libdir$ac_delim
25289 localedir!$localedir$ac_delim
25290 mandir!$mandir$ac_delim
25291 DEFS!$DEFS$ac_delim
25292 ECHO_C!$ECHO_C$ac_delim
25293 ECHO_N!$ECHO_N$ac_delim
25294 ECHO_T!$ECHO_T$ac_delim
25295 LIBS!$LIBS$ac_delim
25296 build_alias!$build_alias$ac_delim
25297 host_alias!$host_alias$ac_delim
25298 target_alias!$target_alias$ac_delim
25299 build!$build$ac_delim
25300 build_cpu!$build_cpu$ac_delim
25301 build_vendor!$build_vendor$ac_delim
25302 build_os!$build_os$ac_delim
25303 host!$host$ac_delim
25304 host_cpu!$host_cpu$ac_delim
25305 host_vendor!$host_vendor$ac_delim
25306 host_os!$host_os$ac_delim
25307 WIN16_FILES!$WIN16_FILES$ac_delim
25308 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
25309 SET_MAKE!$SET_MAKE$ac_delim
25311 CFLAGS!$CFLAGS$ac_delim
25312 LDFLAGS!$LDFLAGS$ac_delim
25313 CPPFLAGS!$CPPFLAGS$ac_delim
25314 ac_ct_CC!$ac_ct_CC$ac_delim
25315 EXEEXT!$EXEEXT$ac_delim
25316 OBJEXT!$OBJEXT$ac_delim
25318 CXXFLAGS!$CXXFLAGS$ac_delim
25319 ac_ct_CXX!$ac_ct_CXX$ac_delim
25320 CPPBIN!$CPPBIN$ac_delim
25321 TOOLSDIR!$TOOLSDIR$ac_delim
25322 XMKMF!$XMKMF$ac_delim
25324 X_CFLAGS!$X_CFLAGS$ac_delim
25325 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
25326 X_LIBS!$X_LIBS$ac_delim
25327 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
25329 LEXLIB!$LEXLIB$ac_delim
25330 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
25331 XLEX!$XLEX$ac_delim
25332 BISON!$BISON$ac_delim
25334 ac_ct_AS!$ac_ct_AS$ac_delim
25337 RANLIB!$RANLIB$ac_delim
25338 STRIP!$STRIP$ac_delim
25339 WINDRES!$WINDRES$ac_delim
25340 LN_S!$LN_S$ac_delim
25343 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
25345 elif $ac_last_try; then
25346 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25347 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25348 { (exit 1); exit 1; }; }
25350 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25354 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25355 if test -n "$ac_eof"; then
25356 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25357 ac_eof
=`expr $ac_eof + 1`
25360 cat >>$CONFIG_STATUS <<_ACEOF
25361 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25362 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25363 /^[ ]*@MAKE_RULES@[ ]*$/{
25367 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25371 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25372 r $MAKE_IMPLIB_RULES
25375 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25379 /^[ ]*@MAKE_LIB_RULES@[ ]*$/{
25383 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25389 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25390 s/^/s,@/; s/!/@,|#_!!_#|/
25393 s/'"$ac_delim"'$/,g/; t
25395 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25396 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25397 rm -f conf$
$subs.
sed
25398 cat >>$CONFIG_STATUS <<_ACEOF
25404 for ac_last_try
in false false false false false
:; do
25405 cat >conf$
$subs.
sed <<_ACEOF
25407 GREP!$GREP$ac_delim
25408 EGREP!$EGREP$ac_delim
25409 LDCONFIG!$LDCONFIG$ac_delim
25410 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25411 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25412 INSTALL_DATA!$INSTALL_DATA$ac_delim
25413 LINT!$LINT$ac_delim
25414 LINTFLAGS!$LINTFLAGS$ac_delim
25415 FONTFORGE!$FONTFORGE$ac_delim
25416 PKG_CONFIG!$PKG_CONFIG$ac_delim
25417 PRELINK!$PRELINK$ac_delim
25418 LIBPTHREAD!$LIBPTHREAD$ac_delim
25419 XLIB!$XLIB$ac_delim
25420 XFILES!$XFILES$ac_delim
25421 OPENGLFILES!$OPENGLFILES$ac_delim
25422 GLU32FILES!$GLU32FILES$ac_delim
25423 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25424 GLUT_LIBS!$GLUT_LIBS$ac_delim
25425 GLUT32FILES!$GLUT32FILES$ac_delim
25426 NASLIBS!$NASLIBS$ac_delim
25427 XML2LIBS!$XML2LIBS$ac_delim
25428 XML2INCL!$XML2INCL$ac_delim
25429 XSLTLIBS!$XSLTLIBS$ac_delim
25430 XSLTINCL!$XSLTINCL$ac_delim
25431 HALINCL!$HALINCL$ac_delim
25432 CURSESLIBS!$CURSESLIBS$ac_delim
25433 sane_devel!$sane_devel$ac_delim
25434 SANELIBS!$SANELIBS$ac_delim
25435 SANEINCL!$SANEINCL$ac_delim
25436 gphoto2_devel!$gphoto2_devel$ac_delim
25437 gphoto2port_devel!$gphoto2port_devel$ac_delim
25438 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25439 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25440 ICULIBS!$ICULIBS$ac_delim
25441 RESOLVLIBS!$RESOLVLIBS$ac_delim
25442 LCMSLIBS!$LCMSLIBS$ac_delim
25443 LDAPLIBS!$LDAPLIBS$ac_delim
25444 FREETYPELIBS!$FREETYPELIBS$ac_delim
25445 FREETYPEINCL!$FREETYPEINCL$ac_delim
25446 ft_devel!$ft_devel$ac_delim
25447 ft_devel2!$ft_devel2$ac_delim
25448 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25449 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25450 ARTSLIBS!$ARTSLIBS$ac_delim
25451 ARTSINCL!$ARTSINCL$ac_delim
25452 ESDCONFIG!$ESDCONFIG$ac_delim
25453 ESDLIBS!$ESDLIBS$ac_delim
25454 ESDINCL!$ESDINCL$ac_delim
25455 ALSALIBS!$ALSALIBS$ac_delim
25456 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25457 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25458 BUILTINFLAG!$BUILTINFLAG$ac_delim
25459 DLLEXT!$DLLEXT$ac_delim
25460 DLLFLAGS!$DLLFLAGS$ac_delim
25461 DLLIBS!$DLLIBS$ac_delim
25462 LDSHARED!$LDSHARED$ac_delim
25463 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25464 LIBEXT!$LIBEXT$ac_delim
25465 IMPLIBEXT!$IMPLIBEXT$ac_delim
25466 DLLTOOL!$DLLTOOL$ac_delim
25467 DLLWRAP!$DLLWRAP$ac_delim
25468 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25469 LDEXERPATH!$LDEXERPATH$ac_delim
25470 LDDLLRPATH!$LDDLLRPATH$ac_delim
25471 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25472 IOKITLIB!$IOKITLIB$ac_delim
25473 COREAUDIO!$COREAUDIO$ac_delim
25474 CROSSTEST!$CROSSTEST$ac_delim
25475 CROSSCC!$CROSSCC$ac_delim
25476 CROSSWINDRES!$CROSSWINDRES$ac_delim
25477 LDPATH!$LDPATH$ac_delim
25478 CRTLIBS!$CRTLIBS$ac_delim
25479 SOCKETLIBS!$SOCKETLIBS$ac_delim
25480 MAIN_BINARY!$MAIN_BINARY$ac_delim
25481 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25483 LIBOBJS!$LIBOBJS$ac_delim
25484 LTLIBOBJS!$LTLIBOBJS$ac_delim
25487 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
25489 elif $ac_last_try; then
25490 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25491 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25492 { (exit 1); exit 1; }; }
25494 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25498 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25499 if test -n "$ac_eof"; then
25500 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25501 ac_eof
=`expr $ac_eof + 1`
25504 cat >>$CONFIG_STATUS <<_ACEOF
25505 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25506 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25509 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25510 s/^/s,@/; s/!/@,|#_!!_#|/
25513 s/'"$ac_delim"'$/,g/; t
25515 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25516 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25517 rm -f conf$
$subs.
sed
25518 cat >>$CONFIG_STATUS <<_ACEOF
25525 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25526 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25527 # trailing colons and then remove the whole line if VPATH becomes empty
25528 # (actually we leave an empty line to preserve line numbers).
25529 if test "x$srcdir" = x.
; then
25530 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25531 s/:*\$(srcdir):*/:/
25532 s/:*\${srcdir}:*/:/
25534 s/^\([^=]*=[ ]*\):*/\1/
25540 cat >>$CONFIG_STATUS <<\_ACEOF
25541 fi # test -n "$CONFIG_FILES"
25544 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
25547 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25549 case $ac_mode$ac_tag in
25551 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25552 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25553 { (exit 1); exit 1; }; };;
25554 :[FH
]-) ac_tag
=-:-;;
25555 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25572 -) ac_f
="$tmp/stdin";;
25573 *) # Look for the file first in the build tree, then in the source tree
25574 # (if the path is not absolute). The absolute path cannot be DOS-style,
25575 # because $ac_f cannot contain `:'.
25579 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25581 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25582 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25583 { (exit 1); exit 1; }; };;
25585 ac_file_inputs
="$ac_file_inputs $ac_f"
25588 # Let's still pretend it is `configure' which instantiates (i.e., don't
25589 # use $as_me), people would be surprised to read:
25590 # /* config.h. Generated by config.status. */
25591 configure_input
="Generated from "`IFS=:
25592 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25593 if test x
"$ac_file" != x-
; then
25594 configure_input
="$ac_file. $configure_input"
25595 { echo "$as_me:$LINENO: creating $ac_file" >&5
25596 echo "$as_me: creating $ac_file" >&6;}
25600 *:-:* |
*:-) cat >"$tmp/stdin";;
25605 ac_dir
=`$as_dirname -- "$ac_file" ||
25606 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25607 X"$ac_file" : 'X\(//\)[^/]' \| \
25608 X"$ac_file" : 'X\(//\)$' \| \
25609 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25615 /^X\(\/\/\)[^/].*/{
25630 -*) as_dir
=.
/$as_dir;;
25632 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25636 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25637 *) as_qdir
=$as_dir;;
25639 as_dirs
="'$as_qdir' $as_dirs"
25640 as_dir
=`$as_dirname -- "$as_dir" ||
25641 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25642 X"$as_dir" : 'X\(//\)[^/]' \| \
25643 X"$as_dir" : 'X\(//\)$' \| \
25644 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25650 /^X\(\/\/\)[^/].*/{
25663 test -d "$as_dir" && break
25665 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25666 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25667 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25668 { (exit 1); exit 1; }; }; }
25672 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25674 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25675 # A ".." for each directory in $ac_dir_suffix.
25676 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25677 case $ac_top_builddir_sub in
25678 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25679 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25682 ac_abs_top_builddir
=$ac_pwd
25683 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25684 # for backward compatibility:
25685 ac_top_builddir
=$ac_top_build_prefix
25688 .
) # We are building in place.
25690 ac_top_srcdir
=$ac_top_builddir_sub
25691 ac_abs_top_srcdir
=$ac_pwd ;;
25692 [\\/]* | ?
:[\\/]* ) # Absolute name.
25693 ac_srcdir
=$srcdir$ac_dir_suffix;
25694 ac_top_srcdir
=$srcdir
25695 ac_abs_top_srcdir
=$srcdir ;;
25696 *) # Relative name.
25697 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25698 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25699 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25701 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25711 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25712 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25716 cat >>$CONFIG_STATUS <<\_ACEOF
25717 # If the template does not know about datarootdir, expand it.
25718 # FIXME: This hack should be removed a few years after 2.60.
25719 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25721 case `sed -n '/datarootdir/ {
25730 ' $ac_file_inputs` in
25731 *datarootdir
*) ac_datarootdir_seen
=yes;;
25732 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25733 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25734 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25736 cat >>$CONFIG_STATUS <<_ACEOF
25737 ac_datarootdir_hack='
25738 s&@datadir@&$datadir&g
25739 s&@docdir@&$docdir&g
25740 s&@infodir@&$infodir&g
25741 s&@localedir@&$localedir&g
25742 s&@mandir@&$mandir&g
25743 s&\\\${datarootdir}&$datarootdir&g' ;;
25747 # Neutralize VPATH when `$srcdir' = `.'.
25748 # Shell code in configure.ac might set extrasub.
25749 # FIXME: do we really want to maintain this feature?
25750 cat >>$CONFIG_STATUS <<_ACEOF
25754 cat >>$CONFIG_STATUS <<\_ACEOF
25756 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25757 s
&@configure_input@
&$configure_input&;t t
25758 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25759 s
&@srcdir@
&$ac_srcdir&;t t
25760 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25761 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25762 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25763 s
&@builddir@
&$ac_builddir&;t t
25764 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25765 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25766 s
&@INSTALL@
&$ac_INSTALL&;t t
25767 $ac_datarootdir_hack
25768 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
25770 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25771 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25772 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25773 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25774 which seems to be undefined. Please make sure it is defined." >&5
25775 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25776 which seems to be undefined. Please make sure it is defined." >&2;}
25780 -) cat "$tmp/out"; rm -f "$tmp/out";;
25781 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25790 # Transform confdefs.h into a sed script `conftest.defines', that
25791 # substitutes the proper values into config.h.in to produce config.h.
25792 rm -f conftest.defines conftest.
tail
25793 # First, append a space to every undef/define line, to ease matching.
25794 echo 's/$/ /' >conftest.defines
25795 # Then, protect against being on the right side of a sed subst, or in
25796 # an unquoted here document, in config.status. If some macros were
25797 # called several times there might be several #defines for the same
25798 # symbol, which is useless. But do not sort them, since the last
25799 # AC_DEFINE must be honored.
25800 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25801 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25802 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25803 # PARAMS is the parameter list in the macro definition--in most cases, it's
25804 # just an empty string.
25805 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25806 ac_dB
='\\)[ (].*,\\1define\\2'
25814 s/^[ ]*#[ ]*define[ ][ ]*//
25819 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25820 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25821 ' >>conftest.defines
25823 # Remove the space that was appended to ease matching.
25824 # Then replace #undef with comments. This is necessary, for
25825 # example, in the case of _POSIX_SOURCE, which is predefined and required
25826 # on some systems where configure will not decide to define it.
25827 # (The regexp can be short, since the line contains either #define or #undef.)
25829 s,^[ #]*u.*,/* & */,' >>conftest.defines
25831 # Break up conftest.defines:
25832 ac_max_sed_lines
=50
25834 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25835 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25836 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25838 ac_in
='$ac_file_inputs'
25839 ac_out
='"$tmp/out1"'
25840 ac_nxt
='"$tmp/out2"'
25844 # Write a here document:
25845 cat >>$CONFIG_STATUS <<_ACEOF
25846 # First, check the format of the line:
25847 cat >"\$tmp/defines.sed" <<\\CEOF
25848 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25849 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25853 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25855 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25856 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25857 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25858 grep . conftest.
tail >/dev
/null ||
break
25859 rm -f conftest.defines
25860 mv conftest.
tail conftest.defines
25862 rm -f conftest.defines conftest.
tail
25864 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25865 cat >>$CONFIG_STATUS <<\_ACEOF
25866 if test x
"$ac_file" != x-
; then
25867 echo "/* $configure_input */" >"$tmp/config.h"
25868 cat "$ac_result" >>"$tmp/config.h"
25869 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25870 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25871 echo "$as_me: $ac_file is unchanged" >&6;}
25874 mv "$tmp/config.h" $ac_file
25877 echo "/* $configure_input */"
25883 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25884 echo "$as_me: executing $ac_file commands" >&6;}
25889 case $ac_file$ac_mode in
25890 "dlls/gdi/enhmfdrv":C
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25891 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
25892 "dlls/gdi/mfdrv":C
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25893 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
25894 "dlls/kernel/messages":C
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25895 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
25896 "dlls/user/resources":C
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25897 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
25898 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25899 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
25900 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
25901 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
25907 { (exit 0); exit 0; }
25909 chmod +x
$CONFIG_STATUS
25910 ac_clean_files
=$ac_clean_files_save
25913 # configure is writing to config.log, and then calls config.status.
25914 # config.status does its own redirection, appending to config.log.
25915 # Unfortunately, on DOS this fails, as config.log is still kept open
25916 # by configure, so config.status won't be able to write to it; its
25917 # output is simply discarded. So we exec the FD to /dev/null,
25918 # effectively closing config.log, so it can be properly (re)opened and
25919 # appended to by config.status. When coming back to configure, we
25920 # need to make the FD available again.
25921 if test "$no_create" != yes; then
25923 ac_config_status_args
=
25924 test "$silent" = yes &&
25925 ac_config_status_args
="$ac_config_status_args --quiet"
25927 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25929 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25930 # would make configure fail if this is the last instruction.
25931 $ac_cs_success ||
{ (exit 1); exit 1; }
25935 if test "$have_x" = "no"
25938 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25939 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25940 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25941 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25942 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25943 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25944 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25945 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25948 if test "$wine_cv_opengl_version_OK" = "no"
25951 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25952 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
25953 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25954 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25957 if test "$wine_cv_msg_freetype" = "yes"
25960 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25961 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25962 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25963 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25964 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25965 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25966 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25967 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25970 if test -z "$FONTSSUBDIRS"
25973 if test "$FONTFORGE" = "false"
25975 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25976 echo "$as_me: WARNING: FontForge is missing." >&2;}
25978 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25979 echo "$as_me: WARNING: FreeType is missing." >&2;}
25981 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25982 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25985 if test -z "$ALSALIBS" -a \
25986 -z "$ARTSC_LIBS" -a \
25987 -z "$AUDIOIOLIBS" -a \
25989 -z "$ESD_LIBS" -a \
25990 -z "$ac_cv_lib_soname_jack" -a \
25991 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25992 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25993 "$ac_cv_header_soundcard_h" != "yes"
25996 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25997 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25998 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25999 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
26000 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
26001 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
26005 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."