2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.17.
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.17'
563 PACKAGE_STRING
='Wine 0.9.17'
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.17 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.17:";;
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.17
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.17, 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"
9277 for ac_header
in X11
/Xlib.h \
9280 X11
/extensions
/shape.h \
9281 X11
/extensions
/XInput.h \
9282 X11
/extensions
/XShm.h \
9283 X11
/extensions
/Xrandr.h \
9284 X11
/extensions
/Xrender.h \
9285 X11
/extensions
/xf86dga.h \
9286 X11
/extensions
/xf86vmode.h
9288 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9289 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9291 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9292 echo $ECHO_N "(cached) $ECHO_C" >&6
9294 cat >conftest.
$ac_ext <<_ACEOF
9297 cat confdefs.h
>>conftest.
$ac_ext
9298 cat >>conftest.
$ac_ext <<_ACEOF
9299 /* end confdefs.h. */
9300 #ifdef HAVE_X11_XLIB_H
9301 # include <X11/Xlib.h>
9303 #ifdef HAVE_X11_XUTIL_H
9304 # include <X11/Xutil.h>
9307 #include <$ac_header>
9309 rm -f conftest.
$ac_objext
9310 if { (ac_try
="$ac_compile"
9312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9313 *) ac_try_echo=$ac_try;;
9315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9316 (eval "$ac_compile") 2>conftest.er1
9318 grep -v '^ *+' conftest.er1 >conftest.err
9320 cat conftest.err >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } &&
9323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9324 { (case "(($ac_try" in
9325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9326 *) ac_try_echo
=$ac_try;;
9328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9329 (eval "$ac_try") 2>&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; } &&
9333 { ac_try
='test -s conftest.$ac_objext'
9334 { (case "(($ac_try" in
9335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9336 *) ac_try_echo=$ac_try;;
9338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9339 (eval "$ac_try") 2>&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); }; }; then
9343 eval "$as_ac_Header=yes"
9345 echo "$as_me: failed program was:" >&5
9346 sed 's/^/| /' conftest.$ac_ext >&5
9348 eval "$as_ac_Header=no"
9351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9353 ac_res=`eval echo '${'$as_ac_Header'}'`
9354 { echo "$as_me:$LINENO: result: $ac_res" >&5
9355 echo "${ECHO_T}$ac_res" >&6; }
9356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9357 cat >>confdefs.h <<_ACEOF
9358 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9366 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9368 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9369 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9370 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9371 echo $ECHO_N "(cached) $ECHO_C" >&6
9373 ac_check_lib_save_LIBS=$LIBS
9374 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9375 cat >conftest.$ac_ext <<_ACEOF
9378 cat confdefs.h >>conftest.$ac_ext
9379 cat >>conftest.$ac_ext <<_ACEOF
9380 /* end confdefs.h. */
9382 /* Override any GCC internal prototype to avoid an error.
9383 Use char because int might match the return type of a GCC
9384 builtin and then its argument prototype would still apply. */
9388 char XkbQueryExtension ();
9392 return XkbQueryExtension ();
9397 rm -f conftest.$ac_objext conftest$ac_exeext
9398 if { (ac_try="$ac_link"
9400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9401 *) ac_try_echo
=$ac_try;;
9403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9404 (eval "$ac_link") 2>conftest.er1
9406 grep -v '^ *+' conftest.er1
>conftest.err
9408 cat conftest.err
>&5
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 (exit $ac_status); } &&
9411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9412 { (case "(($ac_try" in
9413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9414 *) ac_try_echo=$ac_try;;
9416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9417 (eval "$ac_try") 2>&5
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 (exit $ac_status); }; } &&
9421 { ac_try='test -s conftest$ac_exeext'
9422 { (case "(($ac_try" in
9423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9424 *) ac_try_echo
=$ac_try;;
9426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9427 (eval "$ac_try") 2>&5
9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); }; }; then
9431 ac_cv_lib_X11_XkbQueryExtension
=yes
9433 echo "$as_me: failed program was:" >&5
9434 sed 's/^/| /' conftest.
$ac_ext >&5
9436 ac_cv_lib_X11_XkbQueryExtension
=no
9439 rm -f core conftest.err conftest.
$ac_objext \
9440 conftest
$ac_exeext conftest.
$ac_ext
9441 LIBS
=$ac_check_lib_save_LIBS
9443 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9444 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9445 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9447 cat >>confdefs.h
<<\_ACEOF
9455 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9457 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9458 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9459 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9460 echo $ECHO_N "(cached) $ECHO_C" >&6
9462 ac_check_lib_save_LIBS
=$LIBS
9463 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9464 cat >conftest.
$ac_ext <<_ACEOF
9467 cat confdefs.h
>>conftest.
$ac_ext
9468 cat >>conftest.
$ac_ext <<_ACEOF
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9477 char XShmQueryExtension ();
9481 return XShmQueryExtension ();
9486 rm -f conftest.
$ac_objext conftest
$ac_exeext
9487 if { (ac_try
="$ac_link"
9489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9490 *) ac_try_echo=$ac_try;;
9492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9493 (eval "$ac_link") 2>conftest.er1
9495 grep -v '^ *+' conftest.er1 >conftest.err
9497 cat conftest.err >&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); } &&
9500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9501 { (case "(($ac_try" in
9502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9503 *) ac_try_echo
=$ac_try;;
9505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9506 (eval "$ac_try") 2>&5
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 (exit $ac_status); }; } &&
9510 { ac_try
='test -s conftest$ac_exeext'
9511 { (case "(($ac_try" in
9512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9513 *) ac_try_echo=$ac_try;;
9515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9516 (eval "$ac_try") 2>&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); }; }; then
9520 ac_cv_lib_Xext_XShmQueryExtension=yes
9522 echo "$as_me: failed program was:" >&5
9523 sed 's/^/| /' conftest.$ac_ext >&5
9525 ac_cv_lib_Xext_XShmQueryExtension=no
9528 rm -f core conftest.err conftest.$ac_objext \
9529 conftest$ac_exeext conftest.$ac_ext
9530 LIBS=$ac_check_lib_save_LIBS
9532 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9533 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9534 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9536 cat >>confdefs.h <<\_ACEOF
9537 #define HAVE_LIBXXSHM 1
9544 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9546 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9547 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9548 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9549 echo $ECHO_N "(cached) $ECHO_C" >&6
9551 ac_check_lib_save_LIBS=$LIBS
9552 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9553 cat >conftest.$ac_ext <<_ACEOF
9556 cat confdefs.h >>conftest.$ac_ext
9557 cat >>conftest.$ac_ext <<_ACEOF
9558 /* end confdefs.h. */
9560 /* Override any GCC internal prototype to avoid an error.
9561 Use char because int might match the return type of a GCC
9562 builtin and then its argument prototype would still apply. */
9566 char XShapeQueryExtension ();
9570 return XShapeQueryExtension ();
9575 rm -f conftest.$ac_objext conftest$ac_exeext
9576 if { (ac_try="$ac_link"
9578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9579 *) ac_try_echo
=$ac_try;;
9581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9582 (eval "$ac_link") 2>conftest.er1
9584 grep -v '^ *+' conftest.er1
>conftest.err
9586 cat conftest.err
>&5
9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588 (exit $ac_status); } &&
9589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9590 { (case "(($ac_try" in
9591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9592 *) ac_try_echo=$ac_try;;
9594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9595 (eval "$ac_try") 2>&5
9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598 (exit $ac_status); }; } &&
9599 { ac_try='test -s conftest$ac_exeext'
9600 { (case "(($ac_try" in
9601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9602 *) ac_try_echo
=$ac_try;;
9604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9605 (eval "$ac_try") 2>&5
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); }; }; then
9609 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9611 echo "$as_me: failed program was:" >&5
9612 sed 's/^/| /' conftest.
$ac_ext >&5
9614 ac_cv_lib_Xext_XShapeQueryExtension
=no
9617 rm -f core conftest.err conftest.
$ac_objext \
9618 conftest
$ac_exeext conftest.
$ac_ext
9619 LIBS
=$ac_check_lib_save_LIBS
9621 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9622 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9623 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9625 cat >>confdefs.h
<<\_ACEOF
9626 #define HAVE_LIBXSHAPE 1
9633 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
9635 { echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
9636 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6; }
9637 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
9638 echo $ECHO_N "(cached) $ECHO_C" >&6
9640 ac_check_lib_save_LIBS
=$LIBS
9641 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9642 cat >conftest.
$ac_ext <<_ACEOF
9645 cat confdefs.h
>>conftest.
$ac_ext
9646 cat >>conftest.
$ac_ext <<_ACEOF
9647 /* end confdefs.h. */
9649 /* Override any GCC internal prototype to avoid an error.
9650 Use char because int might match the return type of a GCC
9651 builtin and then its argument prototype would still apply. */
9655 char XDGAQueryExtension ();
9659 return XDGAQueryExtension ();
9664 rm -f conftest.
$ac_objext conftest
$ac_exeext
9665 if { (ac_try
="$ac_link"
9667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9668 *) ac_try_echo=$ac_try;;
9670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9671 (eval "$ac_link") 2>conftest.er1
9673 grep -v '^ *+' conftest.er1 >conftest.err
9675 cat conftest.err >&5
9676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677 (exit $ac_status); } &&
9678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9679 { (case "(($ac_try" in
9680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9681 *) ac_try_echo
=$ac_try;;
9683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9684 (eval "$ac_try") 2>&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); }; } &&
9688 { ac_try
='test -s conftest$ac_exeext'
9689 { (case "(($ac_try" in
9690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9691 *) ac_try_echo=$ac_try;;
9693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9694 (eval "$ac_try") 2>&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; }; then
9698 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
9700 echo "$as_me: failed program was:" >&5
9701 sed 's/^/| /' conftest.$ac_ext >&5
9703 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
9706 rm -f core conftest.err conftest.$ac_objext \
9707 conftest$ac_exeext conftest.$ac_ext
9708 LIBS=$ac_check_lib_save_LIBS
9710 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
9711 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6; }
9712 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
9714 cat >>confdefs.h <<\_ACEOF
9715 #define HAVE_LIBXXF86DGA2 1
9718 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
9724 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9726 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9727 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9728 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9729 echo $ECHO_N "(cached) $ECHO_C" >&6
9731 ac_check_lib_save_LIBS=$LIBS
9732 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9733 cat >conftest.$ac_ext <<_ACEOF
9736 cat confdefs.h >>conftest.$ac_ext
9737 cat >>conftest.$ac_ext <<_ACEOF
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9746 char XF86VidModeQueryExtension ();
9750 return XF86VidModeQueryExtension ();
9755 rm -f conftest.$ac_objext conftest$ac_exeext
9756 if { (ac_try="$ac_link"
9758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9759 *) ac_try_echo
=$ac_try;;
9761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9762 (eval "$ac_link") 2>conftest.er1
9764 grep -v '^ *+' conftest.er1
>conftest.err
9766 cat conftest.err
>&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); } &&
9769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9770 { (case "(($ac_try" in
9771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9772 *) ac_try_echo=$ac_try;;
9774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9775 (eval "$ac_try") 2>&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); }; } &&
9779 { ac_try='test -s conftest$ac_exeext'
9780 { (case "(($ac_try" in
9781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9782 *) ac_try_echo
=$ac_try;;
9784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9785 (eval "$ac_try") 2>&5
9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 (exit $ac_status); }; }; then
9789 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9791 echo "$as_me: failed program was:" >&5
9792 sed 's/^/| /' conftest.
$ac_ext >&5
9794 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9797 rm -f core conftest.err conftest.
$ac_objext \
9798 conftest
$ac_exeext conftest.
$ac_ext
9799 LIBS
=$ac_check_lib_save_LIBS
9801 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9802 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9803 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9805 cat >>confdefs.h
<<\_ACEOF
9806 #define HAVE_LIBXXF86VM 1
9809 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9815 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9817 cat >conftest.
$ac_ext <<_ACEOF
9820 cat confdefs.h
>>conftest.
$ac_ext
9821 cat >>conftest.
$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9823 #include <X11/Xlib.h>
9824 #include <X11/extensions/Xrandr.h>
9828 static typeof(XRRSetScreenConfigAndRate) * func;
9833 rm -f conftest.
$ac_objext
9834 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
9842 grep -v '^ *+' conftest.er1 >conftest.err
9844 cat conftest.err >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); } &&
9847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9848 { (case "(($ac_try" in
9849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9850 *) ac_try_echo
=$ac_try;;
9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_try") 2>&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); }; } &&
9857 { ac_try
='test -s conftest.$ac_objext'
9858 { (case "(($ac_try" in
9859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9860 *) ac_try_echo=$ac_try;;
9862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9863 (eval "$ac_try") 2>&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); }; }; then
9868 cat >>confdefs.h <<\_ACEOF
9869 #define HAVE_LIBXRANDR 1
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.$ac_ext >&5
9879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9882 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9884 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9885 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9886 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9887 echo $ECHO_N "(cached) $ECHO_C" >&6
9889 ac_check_lib_save_LIBS=$LIBS
9890 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9891 cat >conftest.$ac_ext <<_ACEOF
9894 cat confdefs.h >>conftest.$ac_ext
9895 cat >>conftest.$ac_ext <<_ACEOF
9896 /* end confdefs.h. */
9898 /* Override any GCC internal prototype to avoid an error.
9899 Use char because int might match the return type of a GCC
9900 builtin and then its argument prototype would still apply. */
9904 char XRenderSetPictureTransform ();
9908 return XRenderSetPictureTransform ();
9913 rm -f conftest.$ac_objext conftest$ac_exeext
9914 if { (ac_try="$ac_link"
9916 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9917 *) ac_try_echo
=$ac_try;;
9919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9920 (eval "$ac_link") 2>conftest.er1
9922 grep -v '^ *+' conftest.er1
>conftest.err
9924 cat conftest.err
>&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); } &&
9927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9928 { (case "(($ac_try" in
9929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9930 *) ac_try_echo=$ac_try;;
9932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9933 (eval "$ac_try") 2>&5
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; } &&
9937 { ac_try='test -s conftest$ac_exeext'
9938 { (case "(($ac_try" in
9939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9940 *) ac_try_echo
=$ac_try;;
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943 (eval "$ac_try") 2>&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); }; }; then
9947 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9949 echo "$as_me: failed program was:" >&5
9950 sed 's/^/| /' conftest.
$ac_ext >&5
9952 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9955 rm -f core conftest.err conftest.
$ac_objext \
9956 conftest
$ac_exeext conftest.
$ac_ext
9957 LIBS
=$ac_check_lib_save_LIBS
9959 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9960 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9961 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9963 cat >>confdefs.h
<<\_ACEOF
9964 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9971 if test "x$with_opengl" != "xno"
9977 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
9979 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9980 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9982 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9983 echo $ECHO_N "(cached) $ECHO_C" >&6
9985 cat >conftest.
$ac_ext <<_ACEOF
9988 cat confdefs.h
>>conftest.
$ac_ext
9989 cat >>conftest.
$ac_ext <<_ACEOF
9990 /* end confdefs.h. */
9991 #ifdef HAVE_GL_GLX_H
9992 # include <GL/glx.h>
9995 #include <$ac_header>
9997 rm -f conftest.
$ac_objext
9998 if { (ac_try
="$ac_compile"
10000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10001 *) ac_try_echo=$ac_try;;
10003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10004 (eval "$ac_compile") 2>conftest.er1
10006 grep -v '^ *+' conftest.er1 >conftest.err
10008 cat conftest.err >&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); } &&
10011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10012 { (case "(($ac_try" in
10013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10014 *) ac_try_echo
=$ac_try;;
10016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10017 (eval "$ac_try") 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; } &&
10021 { ac_try
='test -s conftest.$ac_objext'
10022 { (case "(($ac_try" in
10023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10024 *) ac_try_echo=$ac_try;;
10026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10027 (eval "$ac_try") 2>&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); }; }; then
10031 eval "$as_ac_Header=yes"
10033 echo "$as_me: failed program was:" >&5
10034 sed 's/^/| /' conftest.$ac_ext >&5
10036 eval "$as_ac_Header=no"
10039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10041 ac_res=`eval echo '${'$as_ac_Header'}'`
10042 { echo "$as_me:$LINENO: result: $ac_res" >&5
10043 echo "${ECHO_T}$ac_res" >&6; }
10044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10045 cat >>confdefs.h <<_ACEOF
10046 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10053 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10055 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10056 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10057 if test "${wine_cv_opengl_version_OK+set}" = set; then
10058 echo $ECHO_N "(cached) $ECHO_C" >&6
10060 cat >conftest.$ac_ext <<_ACEOF
10063 cat confdefs.h >>conftest.$ac_ext
10064 cat >>conftest.$ac_ext <<_ACEOF
10065 /* end confdefs.h. */
10070 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10075 rm -f conftest.$ac_objext
10076 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
10084 grep -v '^ *+' conftest.er1
>conftest.err
10086 cat conftest.err
>&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); } &&
10089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10090 { (case "(($ac_try" in
10091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10092 *) ac_try_echo=$ac_try;;
10094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10095 (eval "$ac_try") 2>&5
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); }; } &&
10099 { ac_try='test -s conftest.$ac_objext'
10100 { (case "(($ac_try" in
10101 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10102 *) ac_try_echo
=$ac_try;;
10104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10105 (eval "$ac_try") 2>&5
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; }; then
10109 wine_cv_opengl_version_OK
="yes"
10111 echo "$as_me: failed program was:" >&5
10112 sed 's/^/| /' conftest.
$ac_ext >&5
10114 wine_cv_opengl_version_OK
="no"
10118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10121 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
10122 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
10124 if test "$wine_cv_opengl_version_OK" = "yes"
10126 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
10127 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
10128 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
10129 echo $ECHO_N "(cached) $ECHO_C" >&6
10131 ac_check_lib_save_LIBS
=$LIBS
10132 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10133 cat >conftest.
$ac_ext <<_ACEOF
10136 cat confdefs.h
>>conftest.
$ac_ext
10137 cat >>conftest.
$ac_ext <<_ACEOF
10138 /* end confdefs.h. */
10140 /* Override any GCC internal prototype to avoid an error.
10141 Use char because int might match the return type of a GCC
10142 builtin and then its argument prototype would still apply. */
10146 char glXCreateContext ();
10150 return glXCreateContext ();
10155 rm -f conftest.
$ac_objext conftest
$ac_exeext
10156 if { (ac_try
="$ac_link"
10157 case "(($ac_try" in
10158 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10159 *) ac_try_echo=$ac_try;;
10161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10162 (eval "$ac_link") 2>conftest.er1
10164 grep -v '^ *+' conftest.er1 >conftest.err
10166 cat conftest.err >&5
10167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168 (exit $ac_status); } &&
10169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10170 { (case "(($ac_try" in
10171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10172 *) ac_try_echo
=$ac_try;;
10174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10175 (eval "$ac_try") 2>&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); }; } &&
10179 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
10189 ac_cv_lib_GL_glXCreateContext=yes
10191 echo "$as_me: failed program was:" >&5
10192 sed 's/^/| /' conftest.$ac_ext >&5
10194 ac_cv_lib_GL_glXCreateContext=no
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 LIBS=$ac_check_lib_save_LIBS
10201 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
10202 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
10203 if test $ac_cv_lib_GL_glXCreateContext = yes; then
10209 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
10211 OPENGLFILES='$(OPENGLFILES)'
10213 cat >>confdefs.h <<\_ACEOF
10214 #define HAVE_OPENGL 1
10218 if test -f /usr/X11R6/lib/libGL.a
10220 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
10221 This prevents linking to OpenGL. Delete the file and restart configure." >&5
10222 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
10223 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
10224 { (exit 1); exit 1; }; }
10228 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10229 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10230 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 ac_check_lib_save_LIBS=$LIBS
10234 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10236 cat >conftest.$ac_ext <<_ACEOF
10239 cat confdefs.h >>conftest.$ac_ext
10240 cat >>conftest.$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10243 /* Override any GCC internal prototype to avoid an error.
10244 Use char because int might match the return type of a GCC
10245 builtin and then its argument prototype would still apply. */
10253 return gluLookAt ();
10258 rm -f conftest.$ac_objext conftest$ac_exeext
10259 if { (ac_try="$ac_link"
10260 case "(($ac_try" in
10261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10262 *) ac_try_echo
=$ac_try;;
10264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10265 (eval "$ac_link") 2>conftest.er1
10267 grep -v '^ *+' conftest.er1
>conftest.err
10269 cat conftest.err
>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } &&
10272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10273 { (case "(($ac_try" in
10274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10275 *) ac_try_echo=$ac_try;;
10277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10278 (eval "$ac_try") 2>&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); }; } &&
10282 { ac_try='test -s conftest$ac_exeext'
10283 { (case "(($ac_try" in
10284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10285 *) ac_try_echo
=$ac_try;;
10287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10288 (eval "$ac_try") 2>&5
10290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291 (exit $ac_status); }; }; then
10292 ac_cv_lib_GLU_gluLookAt
=yes
10294 echo "$as_me: failed program was:" >&5
10295 sed 's/^/| /' conftest.
$ac_ext >&5
10297 ac_cv_lib_GLU_gluLookAt
=no
10300 rm -f core conftest.err conftest.
$ac_objext \
10301 conftest
$ac_exeext conftest.
$ac_ext
10302 LIBS
=$ac_check_lib_save_LIBS
10304 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10305 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10306 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10307 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10308 GLU32FILES
='$(GLU32FILES)'
10314 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
10315 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
10316 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 ac_check_lib_save_LIBS
=$LIBS
10320 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
10321 cat >conftest.
$ac_ext <<_ACEOF
10324 cat confdefs.h
>>conftest.
$ac_ext
10325 cat >>conftest.
$ac_ext <<_ACEOF
10326 /* end confdefs.h. */
10328 /* Override any GCC internal prototype to avoid an error.
10329 Use char because int might match the return type of a GCC
10330 builtin and then its argument prototype would still apply. */
10334 char glutMainLoop ();
10338 return glutMainLoop ();
10343 rm -f conftest.
$ac_objext conftest
$ac_exeext
10344 if { (ac_try
="$ac_link"
10345 case "(($ac_try" in
10346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10347 *) ac_try_echo=$ac_try;;
10349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10350 (eval "$ac_link") 2>conftest.er1
10352 grep -v '^ *+' conftest.er1 >conftest.err
10354 cat conftest.err >&5
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); } &&
10357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10358 { (case "(($ac_try" in
10359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10360 *) ac_try_echo
=$ac_try;;
10362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10363 (eval "$ac_try") 2>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); }; } &&
10367 { ac_try
='test -s conftest$ac_exeext'
10368 { (case "(($ac_try" in
10369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10370 *) ac_try_echo=$ac_try;;
10372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10373 (eval "$ac_try") 2>&5
10375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10376 (exit $ac_status); }; }; then
10377 ac_cv_lib_glut_glutMainLoop=yes
10379 echo "$as_me: failed program was:" >&5
10380 sed 's/^/| /' conftest.$ac_ext >&5
10382 ac_cv_lib_glut_glutMainLoop=no
10385 rm -f core conftest.err conftest.$ac_objext \
10386 conftest$ac_exeext conftest.$ac_ext
10387 LIBS=$ac_check_lib_save_LIBS
10389 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
10390 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
10391 if test $ac_cv_lib_glut_glutMainLoop = yes; then
10392 GLUT_LIBS="-lglut -lXmu -lXi"
10394 GLUT32FILES='$(GLUT32FILES)'
10404 for ac_header in audio/audiolib.h
10406 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10407 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10408 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10410 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10411 echo $ECHO_N "(cached) $ECHO_C" >&6
10413 ac_res=`eval echo '${'$as_ac_Header'}'`
10414 { echo "$as_me:$LINENO: result: $ac_res" >&5
10415 echo "${ECHO_T}$ac_res" >&6; }
10417 # Is the header compilable?
10418 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10419 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10420 cat >conftest.$ac_ext <<_ACEOF
10423 cat confdefs.h >>conftest.$ac_ext
10424 cat >>conftest.$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10426 $ac_includes_default
10427 #include <$ac_header>
10429 rm -f conftest.$ac_objext
10430 if { (ac_try="$ac_compile"
10431 case "(($ac_try" in
10432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10433 *) ac_try_echo
=$ac_try;;
10435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10436 (eval "$ac_compile") 2>conftest.er1
10438 grep -v '^ *+' conftest.er1
>conftest.err
10440 cat conftest.err
>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); } &&
10443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10444 { (case "(($ac_try" in
10445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10446 *) ac_try_echo=$ac_try;;
10448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10449 (eval "$ac_try") 2>&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); }; } &&
10453 { ac_try='test -s conftest.$ac_objext'
10454 { (case "(($ac_try" in
10455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10456 *) ac_try_echo
=$ac_try;;
10458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10459 (eval "$ac_try") 2>&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }; }; then
10463 ac_header_compiler
=yes
10465 echo "$as_me: failed program was:" >&5
10466 sed 's/^/| /' conftest.
$ac_ext >&5
10468 ac_header_compiler
=no
10471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10472 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10473 echo "${ECHO_T}$ac_header_compiler" >&6; }
10475 # Is the header present?
10476 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10478 cat >conftest.
$ac_ext <<_ACEOF
10481 cat confdefs.h
>>conftest.
$ac_ext
10482 cat >>conftest.
$ac_ext <<_ACEOF
10483 /* end confdefs.h. */
10484 #include <$ac_header>
10486 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10487 case "(($ac_try" in
10488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10489 *) ac_try_echo=$ac_try;;
10491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10494 grep -v '^ *+' conftest.er1 >conftest.err
10496 cat conftest.err >&5
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); } >/dev/null; then
10499 if test -s conftest.err; then
10500 ac_cpp_err=$ac_c_preproc_warn_flag
10501 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10508 if test -z "$ac_cpp_err"; then
10509 ac_header_preproc=yes
10511 echo "$as_me: failed program was:" >&5
10512 sed 's/^/| /' conftest.$ac_ext >&5
10514 ac_header_preproc=no
10517 rm -f conftest.err conftest.$ac_ext
10518 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10519 echo "${ECHO_T}$ac_header_preproc" >&6; }
10521 # So? What about this header?
10522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10528 ac_header_preproc=yes
10531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10544 ## ------------------------------------ ##
10545 ## Report this to wine-devel@winehq.org ##
10546 ## ------------------------------------ ##
10548 ) | sed "s/^/$as_me: WARNING: /" >&2
10551 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10554 echo $ECHO_N "(cached) $ECHO_C" >&6
10556 eval "$as_ac_Header=\$ac_header_preproc"
10558 ac_res=`eval echo '${'$as_ac_Header'}'`
10559 { echo "$as_me:$LINENO: result: $ac_res" >&5
10560 echo "${ECHO_T}$ac_res" >&6; }
10563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10564 cat >>confdefs.h <<_ACEOF
10565 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10568 for ac_header in audio/soundlib.h
10570 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10574 echo $ECHO_N "(cached) $ECHO_C" >&6
10576 cat >conftest.$ac_ext <<_ACEOF
10579 cat confdefs.h >>conftest.$ac_ext
10580 cat >>conftest.$ac_ext <<_ACEOF
10581 /* end confdefs.h. */
10582 #include <audio/audiolib.h>
10584 #include <$ac_header>
10586 rm -f conftest.$ac_objext
10587 if { (ac_try="$ac_compile"
10588 case "(($ac_try" in
10589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10590 *) ac_try_echo
=$ac_try;;
10592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10593 (eval "$ac_compile") 2>conftest.er1
10595 grep -v '^ *+' conftest.er1
>conftest.err
10597 cat conftest.err
>&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); } &&
10600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10601 { (case "(($ac_try" in
10602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10603 *) ac_try_echo=$ac_try;;
10605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10606 (eval "$ac_try") 2>&5
10608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); }; } &&
10610 { ac_try='test -s conftest.$ac_objext'
10611 { (case "(($ac_try" in
10612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10613 *) ac_try_echo
=$ac_try;;
10615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10616 (eval "$ac_try") 2>&5
10618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619 (exit $ac_status); }; }; then
10620 eval "$as_ac_Header=yes"
10622 echo "$as_me: failed program was:" >&5
10623 sed 's/^/| /' conftest.
$ac_ext >&5
10625 eval "$as_ac_Header=no"
10628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10630 ac_res
=`eval echo '${'$as_ac_Header'}'`
10631 { echo "$as_me:$LINENO: result: $ac_res" >&5
10632 echo "${ECHO_T}$ac_res" >&6; }
10633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10634 cat >>confdefs.h
<<_ACEOF
10635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10642 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10643 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10644 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10645 echo $ECHO_N "(cached) $ECHO_C" >&6
10647 ac_check_lib_save_LIBS
=$LIBS
10648 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10649 cat >conftest.
$ac_ext <<_ACEOF
10652 cat confdefs.h
>>conftest.
$ac_ext
10653 cat >>conftest.
$ac_ext <<_ACEOF
10654 /* end confdefs.h. */
10656 /* Override any GCC internal prototype to avoid an error.
10657 Use char because int might match the return type of a GCC
10658 builtin and then its argument prototype would still apply. */
10662 char AuCreateFlow ();
10666 return AuCreateFlow ();
10671 rm -f conftest.
$ac_objext conftest
$ac_exeext
10672 if { (ac_try
="$ac_link"
10673 case "(($ac_try" in
10674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10675 *) ac_try_echo=$ac_try;;
10677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10678 (eval "$ac_link") 2>conftest.er1
10680 grep -v '^ *+' conftest.er1 >conftest.err
10682 cat conftest.err >&5
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } &&
10685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10686 { (case "(($ac_try" in
10687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10688 *) ac_try_echo
=$ac_try;;
10690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10691 (eval "$ac_try") 2>&5
10693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694 (exit $ac_status); }; } &&
10695 { ac_try
='test -s conftest$ac_exeext'
10696 { (case "(($ac_try" in
10697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10698 *) ac_try_echo=$ac_try;;
10700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10701 (eval "$ac_try") 2>&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); }; }; then
10705 ac_cv_lib_audio_AuCreateFlow=yes
10707 echo "$as_me: failed program was:" >&5
10708 sed 's/^/| /' conftest.$ac_ext >&5
10710 ac_cv_lib_audio_AuCreateFlow=no
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 LIBS=$ac_check_lib_save_LIBS
10717 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10718 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10719 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10721 cat >>confdefs.h <<\_ACEOF
10725 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10733 CPPFLAGS="$ac_save_CPPFLAGS"
10750 if test "$PKG_CONFIG" != "false"
10752 ac_save_CPPFLAGS="$CPPFLAGS"
10753 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
10754 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
10755 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10757 for ac_header in libxml/parser.h
10759 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10760 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10761 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10764 echo $ECHO_N "(cached) $ECHO_C" >&6
10766 ac_res=`eval echo '${'$as_ac_Header'}'`
10767 { echo "$as_me:$LINENO: result: $ac_res" >&5
10768 echo "${ECHO_T}$ac_res" >&6; }
10770 # Is the header compilable?
10771 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10772 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10773 cat >conftest.$ac_ext <<_ACEOF
10776 cat confdefs.h >>conftest.$ac_ext
10777 cat >>conftest.$ac_ext <<_ACEOF
10778 /* end confdefs.h. */
10779 $ac_includes_default
10780 #include <$ac_header>
10782 rm -f conftest.$ac_objext
10783 if { (ac_try="$ac_compile"
10784 case "(($ac_try" in
10785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10786 *) ac_try_echo
=$ac_try;;
10788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10789 (eval "$ac_compile") 2>conftest.er1
10791 grep -v '^ *+' conftest.er1
>conftest.err
10793 cat conftest.err
>&5
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); } &&
10796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10797 { (case "(($ac_try" in
10798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10799 *) ac_try_echo=$ac_try;;
10801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10802 (eval "$ac_try") 2>&5
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); }; } &&
10806 { ac_try='test -s conftest.$ac_objext'
10807 { (case "(($ac_try" in
10808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10809 *) ac_try_echo
=$ac_try;;
10811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10812 (eval "$ac_try") 2>&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; }; then
10816 ac_header_compiler
=yes
10818 echo "$as_me: failed program was:" >&5
10819 sed 's/^/| /' conftest.
$ac_ext >&5
10821 ac_header_compiler
=no
10824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10825 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10826 echo "${ECHO_T}$ac_header_compiler" >&6; }
10828 # Is the header present?
10829 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10830 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10831 cat >conftest.
$ac_ext <<_ACEOF
10834 cat confdefs.h
>>conftest.
$ac_ext
10835 cat >>conftest.
$ac_ext <<_ACEOF
10836 /* end confdefs.h. */
10837 #include <$ac_header>
10839 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10840 case "(($ac_try" in
10841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10842 *) ac_try_echo=$ac_try;;
10844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10847 grep -v '^ *+' conftest.er1 >conftest.err
10849 cat conftest.err >&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); } >/dev/null; then
10852 if test -s conftest.err; then
10853 ac_cpp_err=$ac_c_preproc_warn_flag
10854 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10861 if test -z "$ac_cpp_err"; then
10862 ac_header_preproc=yes
10864 echo "$as_me: failed program was:" >&5
10865 sed 's/^/| /' conftest.$ac_ext >&5
10867 ac_header_preproc=no
10870 rm -f conftest.err conftest.$ac_ext
10871 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10872 echo "${ECHO_T}$ac_header_preproc" >&6; }
10874 # So? What about this header?
10875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10881 ac_header_preproc=yes
10884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10897 ## ------------------------------------ ##
10898 ## Report this to wine-devel@winehq.org ##
10899 ## ------------------------------------ ##
10901 ) | sed "s/^/$as_me: WARNING: /" >&2
10904 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10909 eval "$as_ac_Header=\$ac_header_preproc"
10911 ac_res=`eval echo '${'$as_ac_Header'}'`
10912 { echo "$as_me:$LINENO: result: $ac_res" >&5
10913 echo "${ECHO_T}$ac_res" >&6; }
10916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10917 cat >>confdefs.h <<_ACEOF
10918 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10920 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10921 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10922 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6
10925 ac_check_lib_save_LIBS=$LIBS
10926 LIBS="-lxml2 $ac_xml_libs $LIBS"
10927 cat >conftest.$ac_ext <<_ACEOF
10930 cat confdefs.h >>conftest.$ac_ext
10931 cat >>conftest.$ac_ext <<_ACEOF
10932 /* end confdefs.h. */
10934 /* Override any GCC internal prototype to avoid an error.
10935 Use char because int might match the return type of a GCC
10936 builtin and then its argument prototype would still apply. */
10940 char xmlParseMemory ();
10944 return xmlParseMemory ();
10949 rm -f conftest.$ac_objext conftest$ac_exeext
10950 if { (ac_try="$ac_link"
10951 case "(($ac_try" in
10952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10953 *) ac_try_echo
=$ac_try;;
10955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10956 (eval "$ac_link") 2>conftest.er1
10958 grep -v '^ *+' conftest.er1
>conftest.err
10960 cat conftest.err
>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } &&
10963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10964 { (case "(($ac_try" in
10965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10966 *) ac_try_echo=$ac_try;;
10968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10969 (eval "$ac_try") 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }; } &&
10973 { ac_try='test -s conftest$ac_exeext'
10974 { (case "(($ac_try" in
10975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10976 *) ac_try_echo
=$ac_try;;
10978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10979 (eval "$ac_try") 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; }; then
10983 ac_cv_lib_xml2_xmlParseMemory
=yes
10985 echo "$as_me: failed program was:" >&5
10986 sed 's/^/| /' conftest.
$ac_ext >&5
10988 ac_cv_lib_xml2_xmlParseMemory
=no
10991 rm -f core conftest.err conftest.
$ac_objext \
10992 conftest
$ac_exeext conftest.
$ac_ext
10993 LIBS
=$ac_check_lib_save_LIBS
10995 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10996 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10997 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10999 cat >>confdefs.h
<<\_ACEOF
11000 #define HAVE_LIBXML2 1
11003 XML2LIBS
="$ac_xml_libs"
11004 XML2INCL
="$ac_xml_cflags"
11007 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11008 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11009 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11010 echo $ECHO_N "(cached) $ECHO_C" >&6
11012 ac_check_lib_save_LIBS
=$LIBS
11013 LIBS
="-lxml2 $ac_xml_libs $LIBS"
11014 cat >conftest.
$ac_ext <<_ACEOF
11017 cat confdefs.h
>>conftest.
$ac_ext
11018 cat >>conftest.
$ac_ext <<_ACEOF
11019 /* end confdefs.h. */
11021 /* Override any GCC internal prototype to avoid an error.
11022 Use char because int might match the return type of a GCC
11023 builtin and then its argument prototype would still apply. */
11027 char xmlReadMemory ();
11031 return xmlReadMemory ();
11036 rm -f conftest.
$ac_objext conftest
$ac_exeext
11037 if { (ac_try
="$ac_link"
11038 case "(($ac_try" in
11039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11040 *) ac_try_echo=$ac_try;;
11042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11043 (eval "$ac_link") 2>conftest.er1
11045 grep -v '^ *+' conftest.er1 >conftest.err
11047 cat conftest.err >&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } &&
11050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11051 { (case "(($ac_try" in
11052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11053 *) ac_try_echo
=$ac_try;;
11055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11056 (eval "$ac_try") 2>&5
11058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11059 (exit $ac_status); }; } &&
11060 { ac_try
='test -s conftest$ac_exeext'
11061 { (case "(($ac_try" in
11062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11063 *) ac_try_echo=$ac_try;;
11065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11066 (eval "$ac_try") 2>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); }; }; then
11070 ac_cv_lib_xml2_xmlReadMemory=yes
11072 echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.$ac_ext >&5
11075 ac_cv_lib_xml2_xmlReadMemory=no
11078 rm -f core conftest.err conftest.$ac_objext \
11079 conftest$ac_exeext conftest.$ac_ext
11080 LIBS=$ac_check_lib_save_LIBS
11082 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11083 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11084 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11086 cat >>confdefs.h <<\_ACEOF
11087 #define HAVE_XMLREADMEMORY 1
11097 CPPFLAGS="$ac_save_CPPFLAGS"
11098 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
11099 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
11100 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11103 for ac_header in libxslt/pattern.h libxslt/transform.h
11105 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11109 echo $ECHO_N "(cached) $ECHO_C" >&6
11111 cat >conftest.$ac_ext <<_ACEOF
11114 cat confdefs.h >>conftest.$ac_ext
11115 cat >>conftest.$ac_ext <<_ACEOF
11116 /* end confdefs.h. */
11117 #ifdef HAVE_LIBXSLT_PATTERN_H
11118 # include <libxslt/pattern.h>
11121 #include <$ac_header>
11123 rm -f conftest.$ac_objext
11124 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
11132 grep -v '^ *+' conftest.er1
>conftest.err
11134 cat conftest.err
>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } &&
11137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11138 { (case "(($ac_try" in
11139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11140 *) ac_try_echo=$ac_try;;
11142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11143 (eval "$ac_try") 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; } &&
11147 { ac_try='test -s conftest.$ac_objext'
11148 { (case "(($ac_try" in
11149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11150 *) ac_try_echo
=$ac_try;;
11152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11153 (eval "$ac_try") 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; }; then
11157 eval "$as_ac_Header=yes"
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.
$ac_ext >&5
11162 eval "$as_ac_Header=no"
11165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11167 ac_res
=`eval echo '${'$as_ac_Header'}'`
11168 { echo "$as_me:$LINENO: result: $ac_res" >&5
11169 echo "${ECHO_T}$ac_res" >&6; }
11170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11171 cat >>confdefs.h
<<_ACEOF
11172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11174 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11175 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11176 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11177 echo $ECHO_N "(cached) $ECHO_C" >&6
11179 ac_check_lib_save_LIBS
=$LIBS
11180 LIBS
="-lxslt $ac_xslt_libs $LIBS"
11181 cat >conftest.
$ac_ext <<_ACEOF
11184 cat confdefs.h
>>conftest.
$ac_ext
11185 cat >>conftest.
$ac_ext <<_ACEOF
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11194 char xsltCompilePattern ();
11198 return xsltCompilePattern ();
11203 rm -f conftest.
$ac_objext conftest
$ac_exeext
11204 if { (ac_try
="$ac_link"
11205 case "(($ac_try" in
11206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11207 *) ac_try_echo=$ac_try;;
11209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11210 (eval "$ac_link") 2>conftest.er1
11212 grep -v '^ *+' conftest.er1 >conftest.err
11214 cat conftest.err >&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); } &&
11217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11218 { (case "(($ac_try" in
11219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11220 *) ac_try_echo
=$ac_try;;
11222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11223 (eval "$ac_try") 2>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); }; } &&
11227 { ac_try
='test -s conftest$ac_exeext'
11228 { (case "(($ac_try" in
11229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11230 *) ac_try_echo=$ac_try;;
11232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11233 (eval "$ac_try") 2>&5
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); }; }; then
11237 ac_cv_lib_xslt_xsltCompilePattern=yes
11239 echo "$as_me: failed program was:" >&5
11240 sed 's/^/| /' conftest.$ac_ext >&5
11242 ac_cv_lib_xslt_xsltCompilePattern=no
11245 rm -f core conftest.err conftest.$ac_objext \
11246 conftest$ac_exeext conftest.$ac_ext
11247 LIBS=$ac_check_lib_save_LIBS
11249 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11250 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11251 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11253 cat >>confdefs.h <<\_ACEOF
11254 #define HAVE_LIBXSLT 1
11257 XSLTLIBS="$ac_xslt_libs"
11258 XSLTINCL="$ac_xslt_cflags"
11266 CPPFLAGS="$ac_save_CPPFLAGS"
11271 if test "$PKG_CONFIG" != "false"
11273 ac_save_CPPFLAGS="$CPPFLAGS"
11274 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
11275 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
11276 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11279 for ac_header in dbus/dbus.h hal/libhal.h
11281 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11283 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11286 echo $ECHO_N "(cached) $ECHO_C" >&6
11288 ac_res=`eval echo '${'$as_ac_Header'}'`
11289 { echo "$as_me:$LINENO: result: $ac_res" >&5
11290 echo "${ECHO_T}$ac_res" >&6; }
11292 # Is the header compilable?
11293 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11294 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11295 cat >conftest.$ac_ext <<_ACEOF
11298 cat confdefs.h >>conftest.$ac_ext
11299 cat >>conftest.$ac_ext <<_ACEOF
11300 /* end confdefs.h. */
11301 $ac_includes_default
11302 #include <$ac_header>
11304 rm -f conftest.$ac_objext
11305 if { (ac_try="$ac_compile"
11306 case "(($ac_try" in
11307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11308 *) ac_try_echo
=$ac_try;;
11310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11311 (eval "$ac_compile") 2>conftest.er1
11313 grep -v '^ *+' conftest.er1
>conftest.err
11315 cat conftest.err
>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); } &&
11318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11319 { (case "(($ac_try" in
11320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11321 *) ac_try_echo=$ac_try;;
11323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11324 (eval "$ac_try") 2>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); }; } &&
11328 { ac_try='test -s conftest.$ac_objext'
11329 { (case "(($ac_try" in
11330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11331 *) ac_try_echo
=$ac_try;;
11333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11334 (eval "$ac_try") 2>&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); }; }; then
11338 ac_header_compiler
=yes
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.
$ac_ext >&5
11343 ac_header_compiler
=no
11346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11347 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11348 echo "${ECHO_T}$ac_header_compiler" >&6; }
11350 # Is the header present?
11351 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11353 cat >conftest.
$ac_ext <<_ACEOF
11356 cat confdefs.h
>>conftest.
$ac_ext
11357 cat >>conftest.
$ac_ext <<_ACEOF
11358 /* end confdefs.h. */
11359 #include <$ac_header>
11361 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11362 case "(($ac_try" in
11363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11364 *) ac_try_echo=$ac_try;;
11366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11367 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11369 grep -v '^ *+' conftest.er1 >conftest.err
11371 cat conftest.err >&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); } >/dev/null; then
11374 if test -s conftest.err; then
11375 ac_cpp_err=$ac_c_preproc_warn_flag
11376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11383 if test -z "$ac_cpp_err"; then
11384 ac_header_preproc=yes
11386 echo "$as_me: failed program was:" >&5
11387 sed 's/^/| /' conftest.$ac_ext >&5
11389 ac_header_preproc=no
11392 rm -f conftest.err conftest.$ac_ext
11393 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11394 echo "${ECHO_T}$ac_header_preproc" >&6; }
11396 # So? What about this header?
11397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11399 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11400 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11402 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11403 ac_header_preproc=yes
11406 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11407 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11408 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11409 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11410 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11411 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11412 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11413 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11415 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11416 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11417 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11419 ## ------------------------------------ ##
11420 ## Report this to wine-devel@winehq.org ##
11421 ## ------------------------------------ ##
11423 ) | sed "s/^/$as_me: WARNING: /" >&2
11426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11429 echo $ECHO_N "(cached) $ECHO_C" >&6
11431 eval "$as_ac_Header=\$ac_header_preproc"
11433 ac_res=`eval echo '${'$as_ac_Header'}'`
11434 { echo "$as_me:$LINENO: result: $ac_res" >&5
11435 echo "${ECHO_T}$ac_res" >&6; }
11438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11439 cat >>confdefs.h <<_ACEOF
11440 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11447 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11449 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
11450 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
11451 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
11452 echo $ECHO_N "(cached) $ECHO_C" >&6
11454 ac_check_lib_save_LIBS=$LIBS
11456 cat >conftest.$ac_ext <<_ACEOF
11459 cat confdefs.h >>conftest.$ac_ext
11460 cat >>conftest.$ac_ext <<_ACEOF
11461 /* end confdefs.h. */
11463 /* Override any GCC internal prototype to avoid an error.
11464 Use char because int might match the return type of a GCC
11465 builtin and then its argument prototype would still apply. */
11469 char libhal_ctx_new ();
11473 return libhal_ctx_new ();
11478 rm -f conftest.$ac_objext conftest$ac_exeext
11479 if { (ac_try="$ac_link"
11480 case "(($ac_try" in
11481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11482 *) ac_try_echo
=$ac_try;;
11484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11485 (eval "$ac_link") 2>conftest.er1
11487 grep -v '^ *+' conftest.er1
>conftest.err
11489 cat conftest.err
>&5
11490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11491 (exit $ac_status); } &&
11492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11493 { (case "(($ac_try" in
11494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11495 *) ac_try_echo=$ac_try;;
11497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11498 (eval "$ac_try") 2>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; } &&
11502 { ac_try='test -s conftest$ac_exeext'
11503 { (case "(($ac_try" in
11504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11505 *) ac_try_echo
=$ac_try;;
11507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11508 (eval "$ac_try") 2>&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); }; }; then
11512 ac_cv_lib_hal_libhal_ctx_new
=yes
11514 echo "$as_me: failed program was:" >&5
11515 sed 's/^/| /' conftest.
$ac_ext >&5
11517 ac_cv_lib_hal_libhal_ctx_new
=no
11520 rm -f core conftest.err conftest.
$ac_objext \
11521 conftest
$ac_exeext conftest.
$ac_ext
11522 LIBS
=$ac_check_lib_save_LIBS
11524 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
11525 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
11526 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
11527 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11528 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11529 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11530 echo $ECHO_N "(cached) $ECHO_C" >&6
11532 ac_check_lib_save_LIBS
=$LIBS
11533 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
11534 cat >conftest.
$ac_ext <<_ACEOF
11537 cat confdefs.h
>>conftest.
$ac_ext
11538 cat >>conftest.
$ac_ext <<_ACEOF
11539 /* end confdefs.h. */
11541 /* Override any GCC internal prototype to avoid an error.
11542 Use char because int might match the return type of a GCC
11543 builtin and then its argument prototype would still apply. */
11547 char dbus_connection_close ();
11551 return dbus_connection_close ();
11556 rm -f conftest.
$ac_objext conftest
$ac_exeext
11557 if { (ac_try
="$ac_link"
11558 case "(($ac_try" in
11559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11560 *) ac_try_echo=$ac_try;;
11562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11563 (eval "$ac_link") 2>conftest.er1
11565 grep -v '^ *+' conftest.er1 >conftest.err
11567 cat conftest.err >&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); } &&
11570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11571 { (case "(($ac_try" in
11572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11573 *) ac_try_echo
=$ac_try;;
11575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11576 (eval "$ac_try") 2>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); }; } &&
11580 { ac_try
='test -s conftest$ac_exeext'
11581 { (case "(($ac_try" in
11582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11583 *) ac_try_echo=$ac_try;;
11585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11586 (eval "$ac_try") 2>&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); }; }; then
11590 ac_cv_lib_dbus_1_dbus_connection_close=yes
11592 echo "$as_me: failed program was:" >&5
11593 sed 's/^/| /' conftest.$ac_ext >&5
11595 ac_cv_lib_dbus_1_dbus_connection_close=no
11598 rm -f core conftest.err conftest.$ac_objext \
11599 conftest$ac_exeext conftest.$ac_ext
11600 LIBS=$ac_check_lib_save_LIBS
11602 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11603 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11604 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11606 cat >>confdefs.h <<\_ACEOF
11607 #define HAVE_LIBHAL 1
11610 HALINCL="$ac_hal_cflags"
11616 CPPFLAGS="$ac_save_CPPFLAGS"
11620 if test "x$with_curses" != "xno"
11622 if test "$ac_cv_header_ncurses_h" = "yes"
11624 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11625 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11626 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6
11629 ac_check_lib_save_LIBS=$LIBS
11630 LIBS="-lncurses $LIBS"
11631 cat >conftest.$ac_ext <<_ACEOF
11634 cat confdefs.h >>conftest.$ac_ext
11635 cat >>conftest.$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11638 /* Override any GCC internal prototype to avoid an error.
11639 Use char because int might match the return type of a GCC
11640 builtin and then its argument prototype would still apply. */
11653 rm -f conftest.$ac_objext conftest$ac_exeext
11654 if { (ac_try="$ac_link"
11655 case "(($ac_try" in
11656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11657 *) ac_try_echo
=$ac_try;;
11659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11660 (eval "$ac_link") 2>conftest.er1
11662 grep -v '^ *+' conftest.er1
>conftest.err
11664 cat conftest.err
>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); } &&
11667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11668 { (case "(($ac_try" in
11669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11670 *) ac_try_echo=$ac_try;;
11672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11673 (eval "$ac_try") 2>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); }; } &&
11677 { ac_try='test -s conftest$ac_exeext'
11678 { (case "(($ac_try" in
11679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11680 *) ac_try_echo
=$ac_try;;
11682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11683 (eval "$ac_try") 2>&5
11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 (exit $ac_status); }; }; then
11687 ac_cv_lib_ncurses_waddch
=yes
11689 echo "$as_me: failed program was:" >&5
11690 sed 's/^/| /' conftest.
$ac_ext >&5
11692 ac_cv_lib_ncurses_waddch
=no
11695 rm -f core conftest.err conftest.
$ac_objext \
11696 conftest
$ac_exeext conftest.
$ac_ext
11697 LIBS
=$ac_check_lib_save_LIBS
11699 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11700 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11701 if test $ac_cv_lib_ncurses_waddch = yes; then
11703 cat >>confdefs.h
<<\_ACEOF
11704 #define HAVE_LIBNCURSES 1
11707 CURSESLIBS
="-lncurses"
11710 elif test "$ac_cv_header_curses_h" = "yes"
11712 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11713 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11714 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11715 echo $ECHO_N "(cached) $ECHO_C" >&6
11717 ac_check_lib_save_LIBS
=$LIBS
11718 LIBS
="-lcurses $LIBS"
11719 cat >conftest.
$ac_ext <<_ACEOF
11722 cat confdefs.h
>>conftest.
$ac_ext
11723 cat >>conftest.
$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11741 rm -f conftest.
$ac_objext conftest
$ac_exeext
11742 if { (ac_try
="$ac_link"
11743 case "(($ac_try" in
11744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11745 *) ac_try_echo=$ac_try;;
11747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11748 (eval "$ac_link") 2>conftest.er1
11750 grep -v '^ *+' conftest.er1 >conftest.err
11752 cat conftest.err >&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } &&
11755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11756 { (case "(($ac_try" in
11757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11758 *) ac_try_echo
=$ac_try;;
11760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11761 (eval "$ac_try") 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try
='test -s conftest$ac_exeext'
11766 { (case "(($ac_try" in
11767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11768 *) ac_try_echo=$ac_try;;
11770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11771 (eval "$ac_try") 2>&5
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); }; }; then
11775 ac_cv_lib_curses_waddch=yes
11777 echo "$as_me: failed program was:" >&5
11778 sed 's/^/| /' conftest.$ac_ext >&5
11780 ac_cv_lib_curses_waddch=no
11783 rm -f core conftest.err conftest.$ac_objext \
11784 conftest$ac_exeext conftest.$ac_ext
11785 LIBS=$ac_check_lib_save_LIBS
11787 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11788 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11789 if test $ac_cv_lib_curses_waddch = yes; then
11791 cat >>confdefs.h <<\_ACEOF
11792 #define HAVE_LIBCURSES 1
11795 CURSESLIBS="-lcurses"
11799 ac_save_LIBS="$LIBS"
11800 LIBS="$LIBS $CURSESLIBS"
11802 for ac_func in mousemask
11804 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11805 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11807 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11808 echo $ECHO_N "(cached) $ECHO_C" >&6
11810 cat >conftest.$ac_ext <<_ACEOF
11813 cat confdefs.h >>conftest.$ac_ext
11814 cat >>conftest.$ac_ext <<_ACEOF
11815 /* end confdefs.h. */
11816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11818 #define $ac_func innocuous_$ac_func
11820 /* System header to define __stub macros and hopefully few prototypes,
11821 which can conflict with char $ac_func (); below.
11822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11823 <limits.h> exists even on freestanding compilers. */
11826 # include <limits.h>
11828 # include <assert.h>
11833 /* Override any GCC internal prototype to avoid an error.
11834 Use char because int might match the return type of a GCC
11835 builtin and then its argument prototype would still apply. */
11840 /* The GNU C library defines this for functions which it implements
11841 to always fail with ENOSYS. Some functions are actually named
11842 something starting with __ and the normal name is an alias. */
11843 #if defined __stub_$ac_func || defined __stub___$ac_func
11850 return $ac_func ();
11855 rm -f conftest.$ac_objext conftest$ac_exeext
11856 if { (ac_try="$ac_link"
11857 case "(($ac_try" in
11858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11859 *) ac_try_echo
=$ac_try;;
11861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11862 (eval "$ac_link") 2>conftest.er1
11864 grep -v '^ *+' conftest.er1
>conftest.err
11866 cat conftest.err
>&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); } &&
11869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11870 { (case "(($ac_try" in
11871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11872 *) ac_try_echo=$ac_try;;
11874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11875 (eval "$ac_try") 2>&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); }; } &&
11879 { ac_try='test -s conftest$ac_exeext'
11880 { (case "(($ac_try" in
11881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11882 *) ac_try_echo
=$ac_try;;
11884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11885 (eval "$ac_try") 2>&5
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); }; }; then
11889 eval "$as_ac_var=yes"
11891 echo "$as_me: failed program was:" >&5
11892 sed 's/^/| /' conftest.
$ac_ext >&5
11894 eval "$as_ac_var=no"
11897 rm -f core conftest.err conftest.
$ac_objext \
11898 conftest
$ac_exeext conftest.
$ac_ext
11900 ac_res
=`eval echo '${'$as_ac_var'}'`
11901 { echo "$as_me:$LINENO: result: $ac_res" >&5
11902 echo "${ECHO_T}$ac_res" >&6; }
11903 if test `eval echo '${'$as_ac_var'}'` = yes; then
11904 cat >>confdefs.h
<<_ACEOF
11905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11911 LIBS
="$ac_save_LIBS"
11915 # Extract the first word of "sane-config", so it can be a program name with args.
11916 set dummy sane-config
; ac_word
=$2
11917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11919 if test "${ac_cv_prog_sane_devel+set}" = set; then
11920 echo $ECHO_N "(cached) $ECHO_C" >&6
11922 if test -n "$sane_devel"; then
11923 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
11925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11926 for as_dir
in $PATH
11929 test -z "$as_dir" && as_dir
=.
11930 for ac_exec_ext
in '' $ac_executable_extensions; do
11931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11932 ac_cv_prog_sane_devel
="sane-config"
11933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11940 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
11943 sane_devel
=$ac_cv_prog_sane_devel
11944 if test -n "$sane_devel"; then
11945 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11946 echo "${ECHO_T}$sane_devel" >&6; }
11948 { echo "$as_me:$LINENO: result: no" >&5
11949 echo "${ECHO_T}no" >&6; }
11957 if test "$sane_devel" != "no"
11959 SANELIBS
="`$sane_devel --libs`"
11960 SANEINCL
="`$sane_devel --cflags`"
11961 ac_save_CPPFLAGS
="$CPPFLAGS"
11962 ac_save_LIBS
="$LIBS"
11963 CPPFLAGS
="$CPPFLAGS $SANEINCL"
11964 LIBS
="$LIBS $SANELIBS"
11965 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11966 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11967 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11968 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11969 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11972 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11974 # Is the header compilable?
11975 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11976 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11977 cat >conftest.
$ac_ext <<_ACEOF
11980 cat confdefs.h
>>conftest.
$ac_ext
11981 cat >>conftest.
$ac_ext <<_ACEOF
11982 /* end confdefs.h. */
11983 $ac_includes_default
11984 #include <sane/sane.h>
11986 rm -f conftest.
$ac_objext
11987 if { (ac_try
="$ac_compile"
11988 case "(($ac_try" in
11989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11990 *) ac_try_echo=$ac_try;;
11992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11993 (eval "$ac_compile") 2>conftest.er1
11995 grep -v '^ *+' conftest.er1 >conftest.err
11997 cat conftest.err >&5
11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); } &&
12000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12001 { (case "(($ac_try" in
12002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12003 *) ac_try_echo
=$ac_try;;
12005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12006 (eval "$ac_try") 2>&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); }; } &&
12010 { ac_try
='test -s conftest.$ac_objext'
12011 { (case "(($ac_try" in
12012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12013 *) ac_try_echo=$ac_try;;
12015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12016 (eval "$ac_try") 2>&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; }; then
12020 ac_header_compiler=yes
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.$ac_ext >&5
12025 ac_header_compiler=no
12028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12029 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12030 echo "${ECHO_T}$ac_header_compiler" >&6; }
12032 # Is the header present?
12033 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12034 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12035 cat >conftest.$ac_ext <<_ACEOF
12038 cat confdefs.h >>conftest.$ac_ext
12039 cat >>conftest.$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12041 #include <sane/sane.h>
12043 if { (ac_try="$ac_cpp conftest.$ac_ext"
12044 case "(($ac_try" in
12045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12046 *) ac_try_echo
=$ac_try;;
12048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12049 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12051 grep -v '^ *+' conftest.er1
>conftest.err
12053 cat conftest.err
>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); } >/dev
/null
; then
12056 if test -s conftest.err
; then
12057 ac_cpp_err
=$ac_c_preproc_warn_flag
12058 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12065 if test -z "$ac_cpp_err"; then
12066 ac_header_preproc
=yes
12068 echo "$as_me: failed program was:" >&5
12069 sed 's/^/| /' conftest.
$ac_ext >&5
12071 ac_header_preproc
=no
12074 rm -f conftest.err conftest.
$ac_ext
12075 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12076 echo "${ECHO_T}$ac_header_preproc" >&6; }
12078 # So? What about this header?
12079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12081 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12082 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12083 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12084 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12085 ac_header_preproc
=yes
12088 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12089 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12090 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12091 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12092 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12093 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12094 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12095 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12096 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12097 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12098 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12099 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12101 ## ------------------------------------ ##
12102 ## Report this to wine-devel@winehq.org ##
12103 ## ------------------------------------ ##
12105 ) |
sed "s/^/$as_me: WARNING: /" >&2
12108 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12109 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12110 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12111 echo $ECHO_N "(cached) $ECHO_C" >&6
12113 ac_cv_header_sane_sane_h
=$ac_header_preproc
12115 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12116 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12119 if test $ac_cv_header_sane_sane_h = yes; then
12120 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
12121 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
12122 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12125 ac_check_lib_save_LIBS
=$LIBS
12126 LIBS
="-lsane $LIBS"
12127 cat >conftest.
$ac_ext <<_ACEOF
12130 cat confdefs.h
>>conftest.
$ac_ext
12131 cat >>conftest.
$ac_ext <<_ACEOF
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12144 return sane_open ();
12149 rm -f conftest.
$ac_objext conftest
$ac_exeext
12150 if { (ac_try
="$ac_link"
12151 case "(($ac_try" in
12152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12153 *) ac_try_echo=$ac_try;;
12155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12156 (eval "$ac_link") 2>conftest.er1
12158 grep -v '^ *+' conftest.er1 >conftest.err
12160 cat conftest.err >&5
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); } &&
12163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12164 { (case "(($ac_try" in
12165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12166 *) ac_try_echo
=$ac_try;;
12168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12169 (eval "$ac_try") 2>&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); }; } &&
12173 { ac_try
='test -s conftest$ac_exeext'
12174 { (case "(($ac_try" in
12175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12176 *) ac_try_echo=$ac_try;;
12178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12179 (eval "$ac_try") 2>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); }; }; then
12183 ac_cv_lib_sane_sane_open=yes
12185 echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12188 ac_cv_lib_sane_sane_open=no
12191 rm -f core conftest.err conftest.$ac_objext \
12192 conftest$ac_exeext conftest.$ac_ext
12193 LIBS=$ac_check_lib_save_LIBS
12195 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
12196 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
12197 if test $ac_cv_lib_sane_sane_open = yes; then
12199 cat >>confdefs.h <<\_ACEOF
12200 #define HAVE_SANE 1
12214 LIBS="$ac_save_LIBS"
12215 CPPFLAGS="$ac_save_CPPFLAGS"
12218 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12219 set dummy gphoto2-config; ac_word=$2
12220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12222 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 if test -n "$gphoto2_devel"; then
12226 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12229 for as_dir in $PATH
12232 test -z "$as_dir" && as_dir=.
12233 for ac_exec_ext in '' $ac_executable_extensions; do
12234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12235 ac_cv_prog_gphoto2_devel="gphoto2-config"
12236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12243 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12246 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12247 if test -n "$gphoto2_devel"; then
12248 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12249 echo "${ECHO_T}$gphoto2_devel" >&6; }
12251 { echo "$as_me:$LINENO: result: no" >&5
12252 echo "${ECHO_T}no" >&6; }
12256 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12257 set dummy gphoto2-port-config; ac_word=$2
12258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12260 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12263 if test -n "$gphoto2port_devel"; then
12264 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12267 for as_dir in $PATH
12270 test -z "$as_dir" && as_dir=.
12271 for ac_exec_ext in '' $ac_executable_extensions; do
12272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12273 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12281 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12284 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12285 if test -n "$gphoto2port_devel"; then
12286 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12287 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12289 { echo "$as_me:$LINENO: result: no" >&5
12290 echo "${ECHO_T}no" >&6; }
12298 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12300 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12302 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12305 -L/usr/lib|-L/usr/lib64) ;;
12306 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
12309 ac_save_CPPFLAGS="$CPPFLAGS"
12310 ac_save_LIBS="$LIBS"
12311 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
12312 LIBS="$LIBS $GPHOTO2LIBS"
12313 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12314 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12315 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12316 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12317 echo $ECHO_N "(cached) $ECHO_C" >&6
12319 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12320 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12322 # Is the header compilable?
12323 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12324 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12325 cat >conftest.$ac_ext <<_ACEOF
12328 cat confdefs.h >>conftest.$ac_ext
12329 cat >>conftest.$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12331 $ac_includes_default
12332 #include <gphoto2-camera.h>
12334 rm -f conftest.$ac_objext
12335 if { (ac_try="$ac_compile"
12336 case "(($ac_try" in
12337 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12338 *) ac_try_echo
=$ac_try;;
12340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12341 (eval "$ac_compile") 2>conftest.er1
12343 grep -v '^ *+' conftest.er1
>conftest.err
12345 cat conftest.err
>&5
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); } &&
12348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12349 { (case "(($ac_try" in
12350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12351 *) ac_try_echo=$ac_try;;
12353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12354 (eval "$ac_try") 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; } &&
12358 { ac_try='test -s conftest.$ac_objext'
12359 { (case "(($ac_try" in
12360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12361 *) ac_try_echo
=$ac_try;;
12363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12364 (eval "$ac_try") 2>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); }; }; then
12368 ac_header_compiler
=yes
12370 echo "$as_me: failed program was:" >&5
12371 sed 's/^/| /' conftest.
$ac_ext >&5
12373 ac_header_compiler
=no
12376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12377 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12378 echo "${ECHO_T}$ac_header_compiler" >&6; }
12380 # Is the header present?
12381 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12382 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12383 cat >conftest.
$ac_ext <<_ACEOF
12386 cat confdefs.h
>>conftest.
$ac_ext
12387 cat >>conftest.
$ac_ext <<_ACEOF
12388 /* end confdefs.h. */
12389 #include <gphoto2-camera.h>
12391 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12392 case "(($ac_try" in
12393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12394 *) ac_try_echo=$ac_try;;
12396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12399 grep -v '^ *+' conftest.er1 >conftest.err
12401 cat conftest.err >&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); } >/dev/null; then
12404 if test -s conftest.err; then
12405 ac_cpp_err=$ac_c_preproc_warn_flag
12406 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12413 if test -z "$ac_cpp_err"; then
12414 ac_header_preproc=yes
12416 echo "$as_me: failed program was:" >&5
12417 sed 's/^/| /' conftest.$ac_ext >&5
12419 ac_header_preproc=no
12422 rm -f conftest.err conftest.$ac_ext
12423 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12424 echo "${ECHO_T}$ac_header_preproc" >&6; }
12426 # So? What about this header?
12427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12429 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12430 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12431 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12432 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12433 ac_header_preproc=yes
12436 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12437 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12438 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12439 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12440 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12441 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12442 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12443 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12444 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12445 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12446 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12447 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12449 ## ------------------------------------ ##
12450 ## Report this to wine-devel@winehq.org ##
12451 ## ------------------------------------ ##
12453 ) | sed "s/^/$as_me: WARNING: /" >&2
12456 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12457 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12458 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12459 echo $ECHO_N "(cached) $ECHO_C" >&6
12461 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12463 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12464 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12467 if test $ac_cv_header_gphoto2_camera_h = yes; then
12468 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12469 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12470 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12471 echo $ECHO_N "(cached) $ECHO_C" >&6
12473 ac_check_lib_save_LIBS=$LIBS
12474 LIBS="-lgphoto2 $LIBS"
12475 cat >conftest.$ac_ext <<_ACEOF
12478 cat confdefs.h >>conftest.$ac_ext
12479 cat >>conftest.$ac_ext <<_ACEOF
12480 /* end confdefs.h. */
12482 /* Override any GCC internal prototype to avoid an error.
12483 Use char because int might match the return type of a GCC
12484 builtin and then its argument prototype would still apply. */
12488 char gp_camera_new ();
12492 return gp_camera_new ();
12497 rm -f conftest.$ac_objext conftest$ac_exeext
12498 if { (ac_try="$ac_link"
12499 case "(($ac_try" in
12500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12501 *) ac_try_echo
=$ac_try;;
12503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12504 (eval "$ac_link") 2>conftest.er1
12506 grep -v '^ *+' conftest.er1
>conftest.err
12508 cat conftest.err
>&5
12509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); } &&
12511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12512 { (case "(($ac_try" in
12513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12514 *) ac_try_echo=$ac_try;;
12516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12517 (eval "$ac_try") 2>&5
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); }; } &&
12521 { ac_try='test -s conftest$ac_exeext'
12522 { (case "(($ac_try" in
12523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12524 *) ac_try_echo
=$ac_try;;
12526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12527 (eval "$ac_try") 2>&5
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); }; }; then
12531 ac_cv_lib_gphoto2_gp_camera_new
=yes
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.
$ac_ext >&5
12536 ac_cv_lib_gphoto2_gp_camera_new
=no
12539 rm -f core conftest.err conftest.
$ac_objext \
12540 conftest
$ac_exeext conftest.
$ac_ext
12541 LIBS
=$ac_check_lib_save_LIBS
12543 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12544 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12545 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12547 cat >>confdefs.h
<<\_ACEOF
12548 #define HAVE_GPHOTO2 1
12562 LIBS
="$ac_save_LIBS"
12563 CPPFLAGS
="$ac_save_CPPFLAGS"
12566 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12569 for i
in ${ICU_LIB_DIR-/usr/lib}/libsicu
${ICU_LIB_DIR-/usr/lib}/libicu
12571 TEST_ICUUC_LIB
="${ICUUC_LIB-${i}uc.a}"
12572 TEST_ICUDATA_LIB
="${ICUDATA_LIB-${i}data.a}"
12573 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
12574 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
12575 LIBS
="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12576 cat >conftest.
$ac_ext <<_ACEOF
12579 cat confdefs.h
>>conftest.
$ac_ext
12580 cat >>conftest.
$ac_ext <<_ACEOF
12581 /* end confdefs.h. */
12582 #include <unicode/ubidi.h>
12591 rm -f conftest.
$ac_objext conftest
$ac_exeext
12592 if { (ac_try
="$ac_link"
12593 case "(($ac_try" in
12594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12595 *) ac_try_echo=$ac_try;;
12597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12598 (eval "$ac_link") 2>conftest.er1
12600 grep -v '^ *+' conftest.er1 >conftest.err
12602 cat conftest.err >&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); } &&
12605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12606 { (case "(($ac_try" in
12607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12608 *) ac_try_echo
=$ac_try;;
12610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12611 (eval "$ac_try") 2>&5
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); }; } &&
12615 { ac_try
='test -s conftest$ac_exeext'
12616 { (case "(($ac_try" in
12617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12618 *) ac_try_echo=$ac_try;;
12620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12621 (eval "$ac_try") 2>&5
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); }; }; then
12626 cat >>confdefs.h <<\_ACEOF
12630 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12632 { echo "$as_me:$LINENO: result: yes" >&5
12633 echo "${ECHO_T}yes" >&6; }
12635 echo "$as_me: failed program was:" >&5
12636 sed 's/^/| /' conftest.$ac_ext >&5
12638 { echo "$as_me:$LINENO: result: no" >&5
12639 echo "${ECHO_T}no" >&6; }
12642 rm -f core conftest.err conftest.$ac_objext \
12643 conftest$ac_exeext conftest.$ac_ext
12650 if test "$ac_cv_header_resolv_h" = "yes"
12652 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12653 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12654 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12655 echo $ECHO_N "(cached) $ECHO_C" >&6
12657 ac_check_lib_save_LIBS=$LIBS
12658 LIBS="-lresolv $LIBS"
12659 cat >conftest.$ac_ext <<_ACEOF
12662 cat confdefs.h >>conftest.$ac_ext
12663 cat >>conftest.$ac_ext <<_ACEOF
12664 /* end confdefs.h. */
12666 /* Override any GCC internal prototype to avoid an error.
12667 Use char because int might match the return type of a GCC
12668 builtin and then its argument prototype would still apply. */
12676 return res_query ();
12681 rm -f conftest.$ac_objext conftest$ac_exeext
12682 if { (ac_try="$ac_link"
12683 case "(($ac_try" in
12684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12685 *) ac_try_echo
=$ac_try;;
12687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12688 (eval "$ac_link") 2>conftest.er1
12690 grep -v '^ *+' conftest.er1
>conftest.err
12692 cat conftest.err
>&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); } &&
12695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12696 { (case "(($ac_try" in
12697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12698 *) ac_try_echo=$ac_try;;
12700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12701 (eval "$ac_try") 2>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); }; } &&
12705 { ac_try='test -s conftest$ac_exeext'
12706 { (case "(($ac_try" in
12707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12708 *) ac_try_echo
=$ac_try;;
12710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12711 (eval "$ac_try") 2>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; }; then
12715 ac_cv_lib_resolv_res_query
=yes
12717 echo "$as_me: failed program was:" >&5
12718 sed 's/^/| /' conftest.
$ac_ext >&5
12720 ac_cv_lib_resolv_res_query
=no
12723 rm -f core conftest.err conftest.
$ac_objext \
12724 conftest
$ac_exeext conftest.
$ac_ext
12725 LIBS
=$ac_check_lib_save_LIBS
12727 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12728 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12729 if test $ac_cv_lib_resolv_res_query = yes; then
12731 cat >>confdefs.h
<<\_ACEOF
12732 #define HAVE_RESOLV 1
12735 RESOLVLIBS
="-lresolv"
12742 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12744 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12745 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12746 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12747 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 ac_check_lib_save_LIBS
=$LIBS
12750 LIBS
="-llcms $LIBS"
12751 cat >conftest.
$ac_ext <<_ACEOF
12754 cat confdefs.h
>>conftest.
$ac_ext
12755 cat >>conftest.
$ac_ext <<_ACEOF
12756 /* end confdefs.h. */
12758 /* Override any GCC internal prototype to avoid an error.
12759 Use char because int might match the return type of a GCC
12760 builtin and then its argument prototype would still apply. */
12764 char cmsOpenProfileFromFile ();
12768 return cmsOpenProfileFromFile ();
12773 rm -f conftest.
$ac_objext conftest
$ac_exeext
12774 if { (ac_try
="$ac_link"
12775 case "(($ac_try" in
12776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12777 *) ac_try_echo=$ac_try;;
12779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12780 (eval "$ac_link") 2>conftest.er1
12782 grep -v '^ *+' conftest.er1 >conftest.err
12784 cat conftest.err >&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); } &&
12787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12788 { (case "(($ac_try" in
12789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12790 *) ac_try_echo
=$ac_try;;
12792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12793 (eval "$ac_try") 2>&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; } &&
12797 { ac_try
='test -s conftest$ac_exeext'
12798 { (case "(($ac_try" in
12799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12800 *) ac_try_echo=$ac_try;;
12802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12803 (eval "$ac_try") 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; }; then
12807 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12809 echo "$as_me: failed program was:" >&5
12810 sed 's/^/| /' conftest.$ac_ext >&5
12812 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12815 rm -f core conftest.err conftest.$ac_objext \
12816 conftest$ac_exeext conftest.$ac_ext
12817 LIBS=$ac_check_lib_save_LIBS
12819 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12820 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12821 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12823 cat >>confdefs.h <<\_ACEOF
12824 #define HAVE_LCMS 1
12834 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12836 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12837 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12838 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12841 ac_check_lib_save_LIBS=$LIBS
12842 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12843 cat >conftest.$ac_ext <<_ACEOF
12846 cat confdefs.h >>conftest.$ac_ext
12847 cat >>conftest.$ac_ext <<_ACEOF
12848 /* end confdefs.h. */
12850 /* Override any GCC internal prototype to avoid an error.
12851 Use char because int might match the return type of a GCC
12852 builtin and then its argument prototype would still apply. */
12856 char ldap_initialize ();
12860 return ldap_initialize ();
12865 rm -f conftest.$ac_objext conftest$ac_exeext
12866 if { (ac_try="$ac_link"
12867 case "(($ac_try" in
12868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12869 *) ac_try_echo
=$ac_try;;
12871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12872 (eval "$ac_link") 2>conftest.er1
12874 grep -v '^ *+' conftest.er1
>conftest.err
12876 cat conftest.err
>&5
12877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12878 (exit $ac_status); } &&
12879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12880 { (case "(($ac_try" in
12881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12882 *) ac_try_echo=$ac_try;;
12884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12885 (eval "$ac_try") 2>&5
12887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888 (exit $ac_status); }; } &&
12889 { ac_try='test -s conftest$ac_exeext'
12890 { (case "(($ac_try" in
12891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12892 *) ac_try_echo
=$ac_try;;
12894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12895 (eval "$ac_try") 2>&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); }; }; then
12899 ac_cv_lib_ldap_r_ldap_initialize
=yes
12901 echo "$as_me: failed program was:" >&5
12902 sed 's/^/| /' conftest.
$ac_ext >&5
12904 ac_cv_lib_ldap_r_ldap_initialize
=no
12907 rm -f core conftest.err conftest.
$ac_objext \
12908 conftest
$ac_exeext conftest.
$ac_ext
12909 LIBS
=$ac_check_lib_save_LIBS
12911 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12912 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12913 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12914 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12915 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12916 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12917 echo $ECHO_N "(cached) $ECHO_C" >&6
12919 ac_check_lib_save_LIBS
=$LIBS
12920 LIBS
="-llber $LIBPTHREAD $LIBS"
12921 cat >conftest.
$ac_ext <<_ACEOF
12924 cat confdefs.h
>>conftest.
$ac_ext
12925 cat >>conftest.
$ac_ext <<_ACEOF
12926 /* end confdefs.h. */
12928 /* Override any GCC internal prototype to avoid an error.
12929 Use char because int might match the return type of a GCC
12930 builtin and then its argument prototype would still apply. */
12938 return ber_init ();
12943 rm -f conftest.
$ac_objext conftest
$ac_exeext
12944 if { (ac_try
="$ac_link"
12945 case "(($ac_try" in
12946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12947 *) ac_try_echo=$ac_try;;
12949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12950 (eval "$ac_link") 2>conftest.er1
12952 grep -v '^ *+' conftest.er1 >conftest.err
12954 cat conftest.err >&5
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); } &&
12957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12958 { (case "(($ac_try" in
12959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12960 *) ac_try_echo
=$ac_try;;
12962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12963 (eval "$ac_try") 2>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; } &&
12967 { ac_try
='test -s conftest$ac_exeext'
12968 { (case "(($ac_try" in
12969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12970 *) ac_try_echo=$ac_try;;
12972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12973 (eval "$ac_try") 2>&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); }; }; then
12977 ac_cv_lib_lber_ber_init=yes
12979 echo "$as_me: failed program was:" >&5
12980 sed 's/^/| /' conftest.$ac_ext >&5
12982 ac_cv_lib_lber_ber_init=no
12985 rm -f core conftest.err conftest.$ac_objext \
12986 conftest$ac_exeext conftest.$ac_ext
12987 LIBS=$ac_check_lib_save_LIBS
12989 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12990 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12991 if test $ac_cv_lib_lber_ber_init = yes; then
12993 cat >>confdefs.h <<\_ACEOF
12994 #define HAVE_LDAP 1
12997 LDAPLIBS="-lldap_r -llber"
13002 ac_wine_check_funcs_save_LIBS="$LIBS"
13003 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13009 ldap_count_references \
13010 ldap_first_reference \
13011 ldap_next_reference \
13012 ldap_parse_reference
13014 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13015 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13017 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13018 echo $ECHO_N "(cached) $ECHO_C" >&6
13020 cat >conftest.$ac_ext <<_ACEOF
13023 cat confdefs.h >>conftest.$ac_ext
13024 cat >>conftest.$ac_ext <<_ACEOF
13025 /* end confdefs.h. */
13026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13028 #define $ac_func innocuous_$ac_func
13030 /* System header to define __stub macros and hopefully few prototypes,
13031 which can conflict with char $ac_func (); below.
13032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13033 <limits.h> exists even on freestanding compilers. */
13036 # include <limits.h>
13038 # include <assert.h>
13043 /* Override any GCC internal prototype to avoid an error.
13044 Use char because int might match the return type of a GCC
13045 builtin and then its argument prototype would still apply. */
13050 /* The GNU C library defines this for functions which it implements
13051 to always fail with ENOSYS. Some functions are actually named
13052 something starting with __ and the normal name is an alias. */
13053 #if defined __stub_$ac_func || defined __stub___$ac_func
13060 return $ac_func ();
13065 rm -f conftest.$ac_objext conftest$ac_exeext
13066 if { (ac_try="$ac_link"
13067 case "(($ac_try" in
13068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13069 *) ac_try_echo
=$ac_try;;
13071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13072 (eval "$ac_link") 2>conftest.er1
13074 grep -v '^ *+' conftest.er1
>conftest.err
13076 cat conftest.err
>&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); } &&
13079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13080 { (case "(($ac_try" in
13081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13082 *) ac_try_echo=$ac_try;;
13084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13085 (eval "$ac_try") 2>&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); }; } &&
13089 { ac_try='test -s conftest$ac_exeext'
13090 { (case "(($ac_try" in
13091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13092 *) ac_try_echo
=$ac_try;;
13094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13095 (eval "$ac_try") 2>&5
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); }; }; then
13099 eval "$as_ac_var=yes"
13101 echo "$as_me: failed program was:" >&5
13102 sed 's/^/| /' conftest.
$ac_ext >&5
13104 eval "$as_ac_var=no"
13107 rm -f core conftest.err conftest.
$ac_objext \
13108 conftest
$ac_exeext conftest.
$ac_ext
13110 ac_res
=`eval echo '${'$as_ac_var'}'`
13111 { echo "$as_me:$LINENO: result: $ac_res" >&5
13112 echo "${ECHO_T}$ac_res" >&6; }
13113 if test `eval echo '${'$as_ac_var'}'` = yes; then
13114 cat >>confdefs.h
<<_ACEOF
13115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13121 LIBS
="$ac_wine_check_funcs_save_LIBS"
13128 # Extract the first word of "freetype-config", so it can be a program name with args.
13129 set dummy freetype-config
; ac_word
=$2
13130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13132 if test "${ac_cv_prog_ft_devel+set}" = set; then
13133 echo $ECHO_N "(cached) $ECHO_C" >&6
13135 if test -n "$ft_devel"; then
13136 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
13138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13139 for as_dir
in $PATH
13142 test -z "$as_dir" && as_dir
=.
13143 for ac_exec_ext
in '' $ac_executable_extensions; do
13144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13145 ac_cv_prog_ft_devel
="freetype-config"
13146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13153 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
13156 ft_devel
=$ac_cv_prog_ft_devel
13157 if test -n "$ft_devel"; then
13158 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13159 echo "${ECHO_T}$ft_devel" >&6; }
13161 { echo "$as_me:$LINENO: result: no" >&5
13162 echo "${ECHO_T}no" >&6; }
13166 if test "$ft_devel" = "no"
13168 # Extract the first word of "freetype2-config", so it can be a program name with args.
13169 set dummy freetype2-config
; ac_word
=$2
13170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13172 if test "${ac_cv_prog_ft_devel2+set}" = set; then
13173 echo $ECHO_N "(cached) $ECHO_C" >&6
13175 if test -n "$ft_devel2"; then
13176 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
13178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13179 for as_dir
in $PATH
13182 test -z "$as_dir" && as_dir
=.
13183 for ac_exec_ext
in '' $ac_executable_extensions; do
13184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13185 ac_cv_prog_ft_devel2
="freetype2-config"
13186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13193 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
13196 ft_devel2
=$ac_cv_prog_ft_devel2
13197 if test -n "$ft_devel2"; then
13198 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
13199 echo "${ECHO_T}$ft_devel2" >&6; }
13201 { echo "$as_me:$LINENO: result: no" >&5
13202 echo "${ECHO_T}no" >&6; }
13206 if test "$ft_devel2" = "freetype2-config"
13208 ft_devel
=$ft_devel2
13212 if test "$ft_devel" = "no"
13214 wine_cv_msg_freetype
=yes
13216 FREETYPELIBS
=`$ft_devel --libs`
13217 FREETYPEINCL
=`$ft_devel --cflags`
13218 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
13219 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
13220 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
13221 echo $ECHO_N "(cached) $ECHO_C" >&6
13223 ac_check_lib_save_LIBS
=$LIBS
13224 LIBS
="-lfreetype $FREETYPELIBS $LIBS"
13225 cat >conftest.
$ac_ext <<_ACEOF
13228 cat confdefs.h
>>conftest.
$ac_ext
13229 cat >>conftest.
$ac_ext <<_ACEOF
13230 /* end confdefs.h. */
13232 /* Override any GCC internal prototype to avoid an error.
13233 Use char because int might match the return type of a GCC
13234 builtin and then its argument prototype would still apply. */
13238 char FT_Init_FreeType ();
13242 return FT_Init_FreeType ();
13247 rm -f conftest.
$ac_objext conftest
$ac_exeext
13248 if { (ac_try
="$ac_link"
13249 case "(($ac_try" in
13250 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13251 *) ac_try_echo=$ac_try;;
13253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13254 (eval "$ac_link") 2>conftest.er1
13256 grep -v '^ *+' conftest.er1 >conftest.err
13258 cat conftest.err >&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); } &&
13261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13262 { (case "(($ac_try" in
13263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13264 *) ac_try_echo
=$ac_try;;
13266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13267 (eval "$ac_try") 2>&5
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); }; } &&
13271 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
13281 ac_cv_lib_freetype_FT_Init_FreeType=yes
13283 echo "$as_me: failed program was:" >&5
13284 sed 's/^/| /' conftest.$ac_ext >&5
13286 ac_cv_lib_freetype_FT_Init_FreeType=no
13289 rm -f core conftest.err conftest.$ac_objext \
13290 conftest$ac_exeext conftest.$ac_ext
13291 LIBS=$ac_check_lib_save_LIBS
13293 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
13294 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
13295 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
13301 if test "$ft_lib" = "no"
13303 wine_cv_msg_freetype=yes
13307 ac_save_CPPFLAGS="$CPPFLAGS"
13308 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
13320 for ac_header in ft2build.h \
13321 freetype/freetype.h \
13322 freetype/ftglyph.h \
13323 freetype/tttables.h \
13324 freetype/ftnames.h \
13325 freetype/ftsnames.h \
13326 freetype/ttnameid.h \
13327 freetype/ftoutln.h \
13328 freetype/ftwinfnt.h \
13329 freetype/ftmodapi.h \
13330 freetype/internal/sfnt.h
13332 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 cat >conftest.$ac_ext <<_ACEOF
13341 cat confdefs.h >>conftest.$ac_ext
13342 cat >>conftest.$ac_ext <<_ACEOF
13343 /* end confdefs.h. */
13344 #if HAVE_FT2BUILD_H
13345 #include <ft2build.h>
13348 #include <$ac_header>
13350 rm -f conftest.$ac_objext
13351 if { (ac_try="$ac_compile"
13352 case "(($ac_try" in
13353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13354 *) ac_try_echo
=$ac_try;;
13356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13357 (eval "$ac_compile") 2>conftest.er1
13359 grep -v '^ *+' conftest.er1
>conftest.err
13361 cat conftest.err
>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } &&
13364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13365 { (case "(($ac_try" in
13366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13367 *) ac_try_echo=$ac_try;;
13369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13370 (eval "$ac_try") 2>&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); }; } &&
13374 { ac_try='test -s conftest.$ac_objext'
13375 { (case "(($ac_try" in
13376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13377 *) ac_try_echo
=$ac_try;;
13379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13380 (eval "$ac_try") 2>&5
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); }; }; then
13384 eval "$as_ac_Header=yes"
13386 echo "$as_me: failed program was:" >&5
13387 sed 's/^/| /' conftest.
$ac_ext >&5
13389 eval "$as_ac_Header=no"
13392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13394 ac_res
=`eval echo '${'$as_ac_Header'}'`
13395 { echo "$as_me:$LINENO: result: $ac_res" >&5
13396 echo "${ECHO_T}$ac_res" >&6; }
13397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13398 cat >>confdefs.h
<<_ACEOF
13399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13406 cat >conftest.
$ac_ext <<_ACEOF
13409 cat confdefs.h
>>conftest.
$ac_ext
13410 cat >>conftest.
$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13412 #include <ft2build.h>
13413 #include <freetype/fttrigon.h>
13415 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13416 case "(($ac_try" in
13417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13418 *) ac_try_echo=$ac_try;;
13420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13423 grep -v '^ *+' conftest.er1 >conftest.err
13425 cat conftest.err >&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); } >/dev/null; then
13428 if test -s conftest.err; then
13429 ac_cpp_err=$ac_c_preproc_warn_flag
13430 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13437 if test -z "$ac_cpp_err"; then
13439 cat >>confdefs.h <<\_ACEOF
13440 #define HAVE_FREETYPE_FTTRIGON_H 1
13443 wine_cv_fttrigon=yes
13445 echo "$as_me: failed program was:" >&5
13446 sed 's/^/| /' conftest.$ac_ext >&5
13448 wine_cv_fttrigon=no
13451 rm -f conftest.err conftest.$ac_ext
13452 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13453 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13454 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13455 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 cat >conftest.$ac_ext <<_ACEOF
13460 cat confdefs.h >>conftest.$ac_ext
13461 cat >>conftest.$ac_ext <<_ACEOF
13462 /* end confdefs.h. */
13463 #include <freetype/ftmodapi.h>
13465 typedef FT_TrueTypeEngineType ac__type_new_;
13469 if ((ac__type_new_ *) 0)
13471 if (sizeof (ac__type_new_))
13477 rm -f conftest.$ac_objext
13478 if { (ac_try="$ac_compile"
13479 case "(($ac_try" in
13480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13481 *) ac_try_echo
=$ac_try;;
13483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13484 (eval "$ac_compile") 2>conftest.er1
13486 grep -v '^ *+' conftest.er1
>conftest.err
13488 cat conftest.err
>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); } &&
13491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13492 { (case "(($ac_try" in
13493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13494 *) ac_try_echo=$ac_try;;
13496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13497 (eval "$ac_try") 2>&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); }; } &&
13501 { ac_try='test -s conftest.$ac_objext'
13502 { (case "(($ac_try" in
13503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13504 *) ac_try_echo
=$ac_try;;
13506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13507 (eval "$ac_try") 2>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; }; then
13511 ac_cv_type_FT_TrueTypeEngineType
=yes
13513 echo "$as_me: failed program was:" >&5
13514 sed 's/^/| /' conftest.
$ac_ext >&5
13516 ac_cv_type_FT_TrueTypeEngineType
=no
13519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13521 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13522 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13523 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13525 cat >>confdefs.h
<<_ACEOF
13526 #define HAVE_FT_TRUETYPEENGINETYPE 1
13532 ac_save_CFLAGS
="$CFLAGS"
13533 CFLAGS
="$CFLAGS $FREETYPELIBS"
13535 for ac_func
in FT_Load_Sfnt_Table
13537 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13538 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13540 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13541 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 cat >conftest.
$ac_ext <<_ACEOF
13546 cat confdefs.h
>>conftest.
$ac_ext
13547 cat >>conftest.
$ac_ext <<_ACEOF
13548 /* end confdefs.h. */
13549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13551 #define $ac_func innocuous_$ac_func
13553 /* System header to define __stub macros and hopefully few prototypes,
13554 which can conflict with char $ac_func (); below.
13555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13556 <limits.h> exists even on freestanding compilers. */
13559 # include <limits.h>
13561 # include <assert.h>
13566 /* Override any GCC internal prototype to avoid an error.
13567 Use char because int might match the return type of a GCC
13568 builtin and then its argument prototype would still apply. */
13573 /* The GNU C library defines this for functions which it implements
13574 to always fail with ENOSYS. Some functions are actually named
13575 something starting with __ and the normal name is an alias. */
13576 #if defined __stub_$ac_func || defined __stub___$ac_func
13583 return $ac_func ();
13588 rm -f conftest.
$ac_objext conftest
$ac_exeext
13589 if { (ac_try
="$ac_link"
13590 case "(($ac_try" in
13591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13592 *) ac_try_echo=$ac_try;;
13594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13595 (eval "$ac_link") 2>conftest.er1
13597 grep -v '^ *+' conftest.er1 >conftest.err
13599 cat conftest.err >&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); } &&
13602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13603 { (case "(($ac_try" in
13604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13605 *) ac_try_echo
=$ac_try;;
13607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13608 (eval "$ac_try") 2>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); }; } &&
13612 { ac_try
='test -s conftest$ac_exeext'
13613 { (case "(($ac_try" in
13614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13615 *) ac_try_echo=$ac_try;;
13617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13618 (eval "$ac_try") 2>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }; }; then
13622 eval "$as_ac_var=yes"
13624 echo "$as_me: failed program was:" >&5
13625 sed 's/^/| /' conftest.$ac_ext >&5
13627 eval "$as_ac_var=no"
13630 rm -f core conftest.err conftest.$ac_objext \
13631 conftest$ac_exeext conftest.$ac_ext
13633 ac_res=`eval echo '${'$as_ac_var'}'`
13634 { echo "$as_me:$LINENO: result: $ac_res" >&5
13635 echo "${ECHO_T}$ac_res" >&6; }
13636 if test `eval echo '${'$as_ac_var'}'` = yes; then
13637 cat >>confdefs.h <<_ACEOF
13638 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13644 CFLAGS="$ac_save_CFLAGS"
13645 CPPFLAGS="$ac_save_CPPFLAGS"
13646 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13649 cat >>confdefs.h <<\_ACEOF
13650 #define HAVE_FREETYPE 1
13653 wine_cv_msg_freetype=no
13657 wine_cv_msg_freetype=yes
13662 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13664 FONTSSUBDIRS="fonts"
13668 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13669 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13670 if test "${ac_cv_c_ppdev+set}" = set; then
13671 echo $ECHO_N "(cached) $ECHO_C" >&6
13673 cat >conftest.$ac_ext <<_ACEOF
13676 cat confdefs.h >>conftest.$ac_ext
13677 cat >>conftest.$ac_ext <<_ACEOF
13678 /* end confdefs.h. */
13679 #include <linux/ppdev.h>
13683 ioctl (1,PPCLAIM,0)
13688 rm -f conftest.$ac_objext
13689 if { (ac_try="$ac_compile"
13690 case "(($ac_try" in
13691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13692 *) ac_try_echo
=$ac_try;;
13694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13695 (eval "$ac_compile") 2>conftest.er1
13697 grep -v '^ *+' conftest.er1
>conftest.err
13699 cat conftest.err
>&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); } &&
13702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13703 { (case "(($ac_try" in
13704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13705 *) ac_try_echo=$ac_try;;
13707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13708 (eval "$ac_try") 2>&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); }; } &&
13712 { ac_try='test -s conftest.$ac_objext'
13713 { (case "(($ac_try" in
13714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13715 *) ac_try_echo
=$ac_try;;
13717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13718 (eval "$ac_try") 2>&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); }; }; then
13722 ac_cv_c_ppdev
="yes"
13724 echo "$as_me: failed program was:" >&5
13725 sed 's/^/| /' conftest.
$ac_ext >&5
13730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13733 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13734 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13735 if test "$ac_cv_c_ppdev" = "yes"
13738 cat >>confdefs.h
<<\_ACEOF
13739 #define HAVE_PPDEV 1
13744 { echo "$as_me:$LINENO: checking for va_copy" >&5
13745 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13746 if test "${ac_cv_c_va_copy+set}" = set; then
13747 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 cat >conftest.
$ac_ext <<_ACEOF
13752 cat confdefs.h
>>conftest.
$ac_ext
13753 cat >>conftest.
$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13755 #include <stdarg.h>
13766 rm -f conftest.
$ac_objext conftest
$ac_exeext
13767 if { (ac_try
="$ac_link"
13768 case "(($ac_try" in
13769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13770 *) ac_try_echo=$ac_try;;
13772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13773 (eval "$ac_link") 2>conftest.er1
13775 grep -v '^ *+' conftest.er1 >conftest.err
13777 cat conftest.err >&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); } &&
13780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13781 { (case "(($ac_try" in
13782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13783 *) ac_try_echo
=$ac_try;;
13785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13786 (eval "$ac_try") 2>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; } &&
13790 { ac_try
='test -s conftest$ac_exeext'
13791 { (case "(($ac_try" in
13792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13793 *) ac_try_echo=$ac_try;;
13795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13796 (eval "$ac_try") 2>&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); }; }; then
13800 ac_cv_c_va_copy="yes"
13802 echo "$as_me: failed program was:" >&5
13803 sed 's/^/| /' conftest.$ac_ext >&5
13805 ac_cv_c_va_copy="no"
13808 rm -f core conftest.err conftest.$ac_objext \
13809 conftest$ac_exeext conftest.$ac_ext
13812 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13813 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13814 if test "$ac_cv_c_va_copy" = "yes"
13817 cat >>confdefs.h <<\_ACEOF
13818 #define HAVE_VA_COPY 1
13822 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13823 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13824 if test "${ac_cv_c___va_copy+set}" = set; then
13825 echo $ECHO_N "(cached) $ECHO_C" >&6
13827 cat >conftest.$ac_ext <<_ACEOF
13830 cat confdefs.h >>conftest.$ac_ext
13831 cat >>conftest.$ac_ext <<_ACEOF
13832 /* end confdefs.h. */
13833 #include <stdarg.h>
13838 __va_copy(ap1,ap2);
13844 rm -f conftest.$ac_objext conftest$ac_exeext
13845 if { (ac_try="$ac_link"
13846 case "(($ac_try" in
13847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13848 *) ac_try_echo
=$ac_try;;
13850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13851 (eval "$ac_link") 2>conftest.er1
13853 grep -v '^ *+' conftest.er1
>conftest.err
13855 cat conftest.err
>&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); } &&
13858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13859 { (case "(($ac_try" in
13860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13861 *) ac_try_echo=$ac_try;;
13863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13864 (eval "$ac_try") 2>&5
13866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13867 (exit $ac_status); }; } &&
13868 { ac_try='test -s conftest$ac_exeext'
13869 { (case "(($ac_try" in
13870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13871 *) ac_try_echo
=$ac_try;;
13873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13874 (eval "$ac_try") 2>&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); }; }; then
13878 ac_cv_c___va_copy
="yes"
13880 echo "$as_me: failed program was:" >&5
13881 sed 's/^/| /' conftest.
$ac_ext >&5
13883 ac_cv_c___va_copy
="no"
13886 rm -f core conftest.err conftest.
$ac_objext \
13887 conftest
$ac_exeext conftest.
$ac_ext
13890 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13891 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13892 if test "$ac_cv_c___va_copy" = "yes"
13895 cat >>confdefs.h
<<\_ACEOF
13896 #define HAVE___VA_COPY 1
13901 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13902 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13903 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13904 echo $ECHO_N "(cached) $ECHO_C" >&6
13906 cat >conftest.
$ac_ext <<_ACEOF
13909 cat confdefs.h
>>conftest.
$ac_ext
13910 cat >>conftest.
$ac_ext <<_ACEOF
13911 /* end confdefs.h. */
13912 #include <setjmp.h>
13917 sigsetjmp( buf, 1 );
13918 siglongjmp( buf, 1 );
13923 rm -f conftest.
$ac_objext conftest
$ac_exeext
13924 if { (ac_try
="$ac_link"
13925 case "(($ac_try" in
13926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13927 *) ac_try_echo=$ac_try;;
13929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13930 (eval "$ac_link") 2>conftest.er1
13932 grep -v '^ *+' conftest.er1 >conftest.err
13934 cat conftest.err >&5
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); } &&
13937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
13947 { ac_try
='test -s conftest$ac_exeext'
13948 { (case "(($ac_try" in
13949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13950 *) ac_try_echo=$ac_try;;
13952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13953 (eval "$ac_try") 2>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; }; then
13957 ac_cv_c_sigsetjmp="yes"
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.$ac_ext >&5
13962 ac_cv_c_sigsetjmp="no"
13965 rm -f core conftest.err conftest.$ac_objext \
13966 conftest$ac_exeext conftest.$ac_ext
13969 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13970 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13971 if test "$ac_cv_c_sigsetjmp" = "yes"
13974 cat >>confdefs.h <<\_ACEOF
13975 #define HAVE_SIGSETJMP 1
13980 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13981 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13982 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13985 cat >conftest.$ac_ext <<_ACEOF
13988 cat confdefs.h >>conftest.$ac_ext
13989 cat >>conftest.$ac_ext <<_ACEOF
13990 /* end confdefs.h. */
13991 #define _GNU_SOURCE
13992 #include <pthread.h>
13994 typedef pthread_rwlock_t ac__type_new_;
13998 if ((ac__type_new_ *) 0)
14000 if (sizeof (ac__type_new_))
14006 rm -f conftest.$ac_objext
14007 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
14015 grep -v '^ *+' conftest.er1
>conftest.err
14017 cat conftest.err
>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } &&
14020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14021 { (case "(($ac_try" in
14022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14023 *) ac_try_echo=$ac_try;;
14025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14026 (eval "$ac_try") 2>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; } &&
14030 { ac_try='test -s conftest.$ac_objext'
14031 { (case "(($ac_try" in
14032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14033 *) ac_try_echo
=$ac_try;;
14035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14036 (eval "$ac_try") 2>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; }; then
14040 ac_cv_type_pthread_rwlock_t
=yes
14042 echo "$as_me: failed program was:" >&5
14043 sed 's/^/| /' conftest.
$ac_ext >&5
14045 ac_cv_type_pthread_rwlock_t
=no
14048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14050 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14051 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14052 if test $ac_cv_type_pthread_rwlock_t = yes; then
14054 cat >>confdefs.h
<<_ACEOF
14055 #define HAVE_PTHREAD_RWLOCK_T 1
14060 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14061 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14062 if test "${ac_cv_type_pthread_rwlockattr_t+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 _GNU_SOURCE
14072 #include <pthread.h>
14074 typedef pthread_rwlockattr_t ac__type_new_;
14078 if ((ac__type_new_ *) 0)
14080 if (sizeof (ac__type_new_))
14086 rm -f conftest.
$ac_objext
14087 if { (ac_try
="$ac_compile"
14088 case "(($ac_try" in
14089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14090 *) ac_try_echo=$ac_try;;
14092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14093 (eval "$ac_compile") 2>conftest.er1
14095 grep -v '^ *+' conftest.er1 >conftest.err
14097 cat conftest.err >&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); } &&
14100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14101 { (case "(($ac_try" in
14102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14103 *) ac_try_echo
=$ac_try;;
14105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14106 (eval "$ac_try") 2>&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); }; } &&
14110 { ac_try
='test -s conftest.$ac_objext'
14111 { (case "(($ac_try" in
14112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14113 *) ac_try_echo=$ac_try;;
14115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14116 (eval "$ac_try") 2>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); }; }; then
14120 ac_cv_type_pthread_rwlockattr_t=yes
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.$ac_ext >&5
14125 ac_cv_type_pthread_rwlockattr_t=no
14128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14130 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14131 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14132 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14134 cat >>confdefs.h <<_ACEOF
14135 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14142 ac_wine_check_funcs_save_LIBS="$LIBS"
14143 LIBS="$LIBS $LIBPTHREAD"
14148 pthread_getattr_np \
14149 pthread_get_stackaddr_np \
14150 pthread_get_stacksize_np
14152 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14155 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14156 echo $ECHO_N "(cached) $ECHO_C" >&6
14158 cat >conftest.$ac_ext <<_ACEOF
14161 cat confdefs.h >>conftest.$ac_ext
14162 cat >>conftest.$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14166 #define $ac_func innocuous_$ac_func
14168 /* System header to define __stub macros and hopefully few prototypes,
14169 which can conflict with char $ac_func (); below.
14170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14171 <limits.h> exists even on freestanding compilers. */
14174 # include <limits.h>
14176 # include <assert.h>
14181 /* Override any GCC internal prototype to avoid an error.
14182 Use char because int might match the return type of a GCC
14183 builtin and then its argument prototype would still apply. */
14188 /* The GNU C library defines this for functions which it implements
14189 to always fail with ENOSYS. Some functions are actually named
14190 something starting with __ and the normal name is an alias. */
14191 #if defined __stub_$ac_func || defined __stub___$ac_func
14198 return $ac_func ();
14203 rm -f conftest.$ac_objext conftest$ac_exeext
14204 if { (ac_try="$ac_link"
14205 case "(($ac_try" in
14206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14207 *) ac_try_echo
=$ac_try;;
14209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14210 (eval "$ac_link") 2>conftest.er1
14212 grep -v '^ *+' conftest.er1
>conftest.err
14214 cat conftest.err
>&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); } &&
14217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14218 { (case "(($ac_try" in
14219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14220 *) ac_try_echo=$ac_try;;
14222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14223 (eval "$ac_try") 2>&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; } &&
14227 { ac_try='test -s conftest$ac_exeext'
14228 { (case "(($ac_try" in
14229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14230 *) ac_try_echo
=$ac_try;;
14232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14233 (eval "$ac_try") 2>&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; }; then
14237 eval "$as_ac_var=yes"
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.
$ac_ext >&5
14242 eval "$as_ac_var=no"
14245 rm -f core conftest.err conftest.
$ac_objext \
14246 conftest
$ac_exeext conftest.
$ac_ext
14248 ac_res
=`eval echo '${'$as_ac_var'}'`
14249 { echo "$as_me:$LINENO: result: $ac_res" >&5
14250 echo "${ECHO_T}$ac_res" >&6; }
14251 if test `eval echo '${'$as_ac_var'}'` = yes; then
14252 cat >>confdefs.h
<<_ACEOF
14253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14259 LIBS
="$ac_wine_check_funcs_save_LIBS"
14261 # Extract the first word of "artsc-config", so it can be a program name with args.
14262 set dummy artsc-config
; ac_word
=$2
14263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14265 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 case $ARTSCCONFIG in
14270 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
14273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14274 for as_dir
in $PATH
14277 test -z "$as_dir" && as_dir
=.
14278 for ac_exec_ext
in '' $ac_executable_extensions; do
14279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14280 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14291 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
14292 if test -n "$ARTSCCONFIG"; then
14293 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
14294 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
14296 { echo "$as_me:$LINENO: result: no" >&5
14297 echo "${ECHO_T}no" >&6; }
14301 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
14304 for i
in `$ARTSCCONFIG --cflags`
14307 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
14311 for i
in `$ARTSCCONFIG --libs`
14314 -L/usr
/lib|
-L/usr
/lib64
) ;;
14315 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
14318 save_CFLAGS
="$CFLAGS"
14319 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
14320 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
14321 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
14322 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
14323 echo $ECHO_N "(cached) $ECHO_C" >&6
14325 ac_check_lib_save_LIBS
=$LIBS
14326 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
14327 cat >conftest.
$ac_ext <<_ACEOF
14330 cat confdefs.h
>>conftest.
$ac_ext
14331 cat >>conftest.
$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14334 /* Override any GCC internal prototype to avoid an error.
14335 Use char because int might match the return type of a GCC
14336 builtin and then its argument prototype would still apply. */
14344 return arts_init ();
14349 rm -f conftest.
$ac_objext conftest
$ac_exeext
14350 if { (ac_try
="$ac_link"
14351 case "(($ac_try" in
14352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14353 *) ac_try_echo=$ac_try;;
14355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14356 (eval "$ac_link") 2>conftest.er1
14358 grep -v '^ *+' conftest.er1 >conftest.err
14360 cat conftest.err >&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } &&
14363 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14364 { (case "(($ac_try" in
14365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14366 *) ac_try_echo
=$ac_try;;
14368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14369 (eval "$ac_try") 2>&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); }; } &&
14373 { ac_try
='test -s conftest$ac_exeext'
14374 { (case "(($ac_try" in
14375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14376 *) ac_try_echo=$ac_try;;
14378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14379 (eval "$ac_try") 2>&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); }; }; then
14383 ac_cv_lib_artsc_arts_init=yes
14385 echo "$as_me: failed program was:" >&5
14386 sed 's/^/| /' conftest.$ac_ext >&5
14388 ac_cv_lib_artsc_arts_init=no
14391 rm -f core conftest.err conftest.$ac_objext \
14392 conftest$ac_exeext conftest.$ac_ext
14393 LIBS=$ac_check_lib_save_LIBS
14395 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
14396 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
14397 if test $ac_cv_lib_artsc_arts_init = yes; then
14398 cat >conftest.$ac_ext <<_ACEOF
14401 cat confdefs.h >>conftest.$ac_ext
14402 cat >>conftest.$ac_ext <<_ACEOF
14403 /* end confdefs.h. */
14408 arts_stream_t stream;
14413 rm -f conftest.$ac_objext
14414 if { (ac_try="$ac_compile"
14415 case "(($ac_try" in
14416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14417 *) ac_try_echo
=$ac_try;;
14419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14420 (eval "$ac_compile") 2>conftest.er1
14422 grep -v '^ *+' conftest.er1
>conftest.err
14424 cat conftest.err
>&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); } &&
14427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14428 { (case "(($ac_try" in
14429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14430 *) ac_try_echo=$ac_try;;
14432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14433 (eval "$ac_try") 2>&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); }; } &&
14437 { ac_try='test -s conftest.$ac_objext'
14438 { (case "(($ac_try" in
14439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14440 *) ac_try_echo
=$ac_try;;
14442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14443 (eval "$ac_try") 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 ARTSLIBS
=$ARTSC_LIBS
14449 ARTSINCL
=$ARTSC_CFLAGS
14452 cat >>confdefs.h
<<\_ACEOF
14453 #define HAVE_ARTS 1
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.
$ac_ext >&5
14463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14466 CFLAGS
="$save_CFLAGS"
14469 # Extract the first word of "esd-config", so it can be a program name with args.
14470 set dummy esd-config
; ac_word
=$2
14471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14473 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14474 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14482 for as_dir
in $PATH
14485 test -z "$as_dir" && as_dir
=.
14486 for ac_exec_ext
in '' $ac_executable_extensions; do
14487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14488 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14499 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14500 if test -n "$ESDCONFIG"; then
14501 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14502 echo "${ECHO_T}$ESDCONFIG" >&6; }
14504 { echo "$as_me:$LINENO: result: no" >&5
14505 echo "${ECHO_T}no" >&6; }
14509 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
14512 for i
in `$ESDCONFIG --cflags`
14515 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14518 ESD_LIBS
=`$ESDCONFIG --libs`
14519 save_CFLAGS
="$CFLAGS"
14520 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14521 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14522 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14523 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14524 echo $ECHO_N "(cached) $ECHO_C" >&6
14526 ac_check_lib_save_LIBS
=$LIBS
14528 cat >conftest.
$ac_ext <<_ACEOF
14531 cat confdefs.h
>>conftest.
$ac_ext
14532 cat >>conftest.
$ac_ext <<_ACEOF
14533 /* end confdefs.h. */
14535 /* Override any GCC internal prototype to avoid an error.
14536 Use char because int might match the return type of a GCC
14537 builtin and then its argument prototype would still apply. */
14541 char esd_open_sound ();
14545 return esd_open_sound ();
14550 rm -f conftest.
$ac_objext conftest
$ac_exeext
14551 if { (ac_try
="$ac_link"
14552 case "(($ac_try" in
14553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14554 *) ac_try_echo=$ac_try;;
14556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14557 (eval "$ac_link") 2>conftest.er1
14559 grep -v '^ *+' conftest.er1 >conftest.err
14561 cat conftest.err >&5
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); } &&
14564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14565 { (case "(($ac_try" in
14566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14567 *) ac_try_echo
=$ac_try;;
14569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14570 (eval "$ac_try") 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; } &&
14574 { ac_try
='test -s conftest$ac_exeext'
14575 { (case "(($ac_try" in
14576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_try") 2>&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; }; then
14584 ac_cv_lib_esd_esd_open_sound=yes
14586 echo "$as_me: failed program was:" >&5
14587 sed 's/^/| /' conftest.$ac_ext >&5
14589 ac_cv_lib_esd_esd_open_sound=no
14592 rm -f core conftest.err conftest.$ac_objext \
14593 conftest$ac_exeext conftest.$ac_ext
14594 LIBS=$ac_check_lib_save_LIBS
14596 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14597 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14598 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14601 ESDINCL=$ESD_CFLAGS
14604 cat >>confdefs.h <<\_ACEOF
14610 CFLAGS="$save_CFLAGS"
14615 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14617 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14618 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14619 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
14622 ac_check_lib_save_LIBS=$LIBS
14623 LIBS="-lasound $LIBS"
14624 cat >conftest.$ac_ext <<_ACEOF
14627 cat confdefs.h >>conftest.$ac_ext
14628 cat >>conftest.$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14631 /* Override any GCC internal prototype to avoid an error.
14632 Use char because int might match the return type of a GCC
14633 builtin and then its argument prototype would still apply. */
14637 char snd_pcm_hw_params_get_access ();
14641 return snd_pcm_hw_params_get_access ();
14646 rm -f conftest.$ac_objext conftest$ac_exeext
14647 if { (ac_try="$ac_link"
14648 case "(($ac_try" in
14649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14650 *) ac_try_echo
=$ac_try;;
14652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14653 (eval "$ac_link") 2>conftest.er1
14655 grep -v '^ *+' conftest.er1
>conftest.err
14657 cat conftest.err
>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } &&
14660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14661 { (case "(($ac_try" in
14662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14663 *) ac_try_echo=$ac_try;;
14665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14666 (eval "$ac_try") 2>&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; } &&
14670 { ac_try='test -s conftest$ac_exeext'
14671 { (case "(($ac_try" in
14672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14673 *) ac_try_echo
=$ac_try;;
14675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14676 (eval "$ac_try") 2>&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then
14680 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.
$ac_ext >&5
14685 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14688 rm -f core conftest.err conftest.
$ac_objext \
14689 conftest
$ac_exeext conftest.
$ac_ext
14690 LIBS
=$ac_check_lib_save_LIBS
14692 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14693 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14694 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14695 cat >conftest.
$ac_ext <<_ACEOF
14698 cat confdefs.h
>>conftest.
$ac_ext
14699 cat >>conftest.
$ac_ext <<_ACEOF
14700 /* end confdefs.h. */
14701 #ifdef HAVE_ALSA_ASOUNDLIB_H
14702 #include <alsa/asoundlib.h>
14703 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14704 #include <sys/asoundlib.h>
14709 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14714 rm -f conftest.
$ac_objext
14715 if { (ac_try
="$ac_compile"
14716 case "(($ac_try" in
14717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14718 *) ac_try_echo=$ac_try;;
14720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14721 (eval "$ac_compile") 2>conftest.er1
14723 grep -v '^ *+' conftest.er1 >conftest.err
14725 cat conftest.err >&5
14726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14727 (exit $ac_status); } &&
14728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14729 { (case "(($ac_try" in
14730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14731 *) ac_try_echo
=$ac_try;;
14733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14734 (eval "$ac_try") 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; } &&
14738 { ac_try
='test -s conftest.$ac_objext'
14739 { (case "(($ac_try" in
14740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_try") 2>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; }; then
14749 cat >>confdefs.h <<\_ACEOF
14750 #define HAVE_ALSA 1
14753 ALSALIBS="-lasound"
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.$ac_ext >&5
14761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14769 if test "$ac_cv_header_libaudioio_h" = "yes"
14771 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14772 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14773 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14774 echo $ECHO_N "(cached) $ECHO_C" >&6
14776 ac_check_lib_save_LIBS=$LIBS
14777 LIBS="-laudioio $LIBS"
14778 cat >conftest.$ac_ext <<_ACEOF
14781 cat confdefs.h >>conftest.$ac_ext
14782 cat >>conftest.$ac_ext <<_ACEOF
14783 /* end confdefs.h. */
14785 /* Override any GCC internal prototype to avoid an error.
14786 Use char because int might match the return type of a GCC
14787 builtin and then its argument prototype would still apply. */
14791 char AudioIOGetVersion ();
14795 return AudioIOGetVersion ();
14800 rm -f conftest.$ac_objext conftest$ac_exeext
14801 if { (ac_try="$ac_link"
14802 case "(($ac_try" in
14803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14804 *) ac_try_echo
=$ac_try;;
14806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14807 (eval "$ac_link") 2>conftest.er1
14809 grep -v '^ *+' conftest.er1
>conftest.err
14811 cat conftest.err
>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); } &&
14814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14815 { (case "(($ac_try" in
14816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14817 *) ac_try_echo=$ac_try;;
14819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14820 (eval "$ac_try") 2>&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }; } &&
14824 { ac_try='test -s conftest$ac_exeext'
14825 { (case "(($ac_try" in
14826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14827 *) ac_try_echo
=$ac_try;;
14829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14830 (eval "$ac_try") 2>&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); }; }; then
14834 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.
$ac_ext >&5
14839 ac_cv_lib_audioio_AudioIOGetVersion
=no
14842 rm -f core conftest.err conftest.
$ac_objext \
14843 conftest
$ac_exeext conftest.
$ac_ext
14844 LIBS
=$ac_check_lib_save_LIBS
14846 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14847 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14848 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14849 AUDIOIOLIBS
="-laudioio"
14851 cat >>confdefs.h
<<\_ACEOF
14852 #define HAVE_LIBAUDIOIO 1
14860 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14862 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14863 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14864 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14867 ac_check_lib_save_LIBS
=$LIBS
14868 LIBS
="-lcapi20 $LIBS"
14869 cat >conftest.
$ac_ext <<_ACEOF
14872 cat confdefs.h
>>conftest.
$ac_ext
14873 cat >>conftest.
$ac_ext <<_ACEOF
14874 /* end confdefs.h. */
14876 /* Override any GCC internal prototype to avoid an error.
14877 Use char because int might match the return type of a GCC
14878 builtin and then its argument prototype would still apply. */
14882 char capi20_register ();
14886 return capi20_register ();
14891 rm -f conftest.
$ac_objext conftest
$ac_exeext
14892 if { (ac_try
="$ac_link"
14893 case "(($ac_try" in
14894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14895 *) ac_try_echo=$ac_try;;
14897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14898 (eval "$ac_link") 2>conftest.er1
14900 grep -v '^ *+' conftest.er1 >conftest.err
14902 cat conftest.err >&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); } &&
14905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14906 { (case "(($ac_try" in
14907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14908 *) ac_try_echo
=$ac_try;;
14910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14911 (eval "$ac_try") 2>&5
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); }; } &&
14915 { ac_try
='test -s conftest$ac_exeext'
14916 { (case "(($ac_try" in
14917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14918 *) ac_try_echo=$ac_try;;
14920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14921 (eval "$ac_try") 2>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); }; }; then
14925 ac_cv_lib_capi20_capi20_register=yes
14927 echo "$as_me: failed program was:" >&5
14928 sed 's/^/| /' conftest.$ac_ext >&5
14930 ac_cv_lib_capi20_capi20_register=no
14933 rm -f core conftest.err conftest.$ac_objext \
14934 conftest$ac_exeext conftest.$ac_ext
14935 LIBS=$ac_check_lib_save_LIBS
14937 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14938 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14939 if test $ac_cv_lib_capi20_capi20_register = yes; then
14941 cat >>confdefs.h <<\_ACEOF
14942 #define HAVE_CAPI4LINUX 1
14952 if test "x${GCC}" = "xyes"
14954 EXTRACFLAGS="-Wall -pipe"
14956 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14957 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14958 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14959 echo $ECHO_N "(cached) $ECHO_C" >&6
14961 if test "$cross_compiling" = yes; then
14962 ac_cv_c_gcc_strength_bug="yes"
14964 cat >conftest.$ac_ext <<_ACEOF
14967 cat confdefs.h >>conftest.$ac_ext
14968 cat >>conftest.$ac_ext <<_ACEOF
14969 /* end confdefs.h. */
14971 int L[4] = {0,1,2,3};
14973 static int Array[3];
14974 unsigned int B = 3;
14976 for(i=0; i<B; i++) Array[i] = i - 3;
14977 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14980 exit( Array[1] != -2 || L[2] != 3);
14983 rm -f conftest$ac_exeext
14984 if { (ac_try="$ac_link"
14985 case "(($ac_try" in
14986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14987 *) ac_try_echo
=$ac_try;;
14989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14990 (eval "$ac_link") 2>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14994 { (case "(($ac_try" in
14995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14996 *) ac_try_echo=$ac_try;;
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_try") 2>&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; }; then
15003 ac_cv_c_gcc_strength_bug="no"
15005 echo "$as_me: program exited with status $ac_status" >&5
15006 echo "$as_me: failed program was:" >&5
15007 sed 's/^/| /' conftest.$ac_ext >&5
15009 ( exit $ac_status )
15010 ac_cv_c_gcc_strength_bug="yes"
15012 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15017 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15018 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15019 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15021 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15024 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
15025 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
15026 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15029 ac_wine_try_cflags_saved=$CFLAGS
15030 CFLAGS="$CFLAGS -fshort-wchar"
15031 cat >conftest.$ac_ext <<_ACEOF
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15046 rm -f conftest.$ac_objext conftest$ac_exeext
15047 if { (ac_try="$ac_link"
15048 case "(($ac_try" in
15049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15050 *) ac_try_echo
=$ac_try;;
15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15053 (eval "$ac_link") 2>conftest.er1
15055 grep -v '^ *+' conftest.er1
>conftest.err
15057 cat conftest.err
>&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } &&
15060 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15061 { (case "(($ac_try" in
15062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15063 *) ac_try_echo=$ac_try;;
15065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15066 (eval "$ac_try") 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; } &&
15070 { ac_try='test -s conftest$ac_exeext'
15071 { (case "(($ac_try" in
15072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15073 *) ac_try_echo
=$ac_try;;
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_try") 2>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }; }; then
15080 ac_cv_c_gcc_fshort_wchar
="yes"
15082 echo "$as_me: failed program was:" >&5
15083 sed 's/^/| /' conftest.
$ac_ext >&5
15085 ac_cv_c_gcc_fshort_wchar
="no"
15088 rm -f core conftest.err conftest.
$ac_objext \
15089 conftest
$ac_exeext conftest.
$ac_ext
15090 CFLAGS
=$ac_wine_try_cflags_saved
15092 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
15093 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
15094 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
15097 cat >>confdefs.h
<<\_ACEOF
15098 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15103 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
15104 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
15105 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
15106 echo $ECHO_N "(cached) $ECHO_C" >&6
15108 ac_wine_try_cflags_saved
=$CFLAGS
15109 CFLAGS
="$CFLAGS -fno-strict-aliasing"
15110 cat >conftest.
$ac_ext <<_ACEOF
15113 cat confdefs.h
>>conftest.
$ac_ext
15114 cat >>conftest.
$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15125 rm -f conftest.
$ac_objext conftest
$ac_exeext
15126 if { (ac_try
="$ac_link"
15127 case "(($ac_try" in
15128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15129 *) ac_try_echo=$ac_try;;
15131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15132 (eval "$ac_link") 2>conftest.er1
15134 grep -v '^ *+' conftest.er1 >conftest.err
15136 cat conftest.err >&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); } &&
15139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15140 { (case "(($ac_try" in
15141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15142 *) ac_try_echo
=$ac_try;;
15144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15145 (eval "$ac_try") 2>&5
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); }; } &&
15149 { ac_try
='test -s conftest$ac_exeext'
15150 { (case "(($ac_try" in
15151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15152 *) ac_try_echo=$ac_try;;
15154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15155 (eval "$ac_try") 2>&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); }; }; then
15159 ac_cv_c_gcc_no_strict_aliasing="yes"
15161 echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.$ac_ext >&5
15164 ac_cv_c_gcc_no_strict_aliasing="no"
15167 rm -f core conftest.err conftest.$ac_objext \
15168 conftest$ac_exeext conftest.$ac_ext
15169 CFLAGS=$ac_wine_try_cflags_saved
15171 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
15172 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
15173 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
15175 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15178 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
15179 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
15180 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
15181 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 ac_wine_try_cflags_saved=$CFLAGS
15184 CFLAGS="$CFLAGS -gstabs+"
15185 cat >conftest.$ac_ext <<_ACEOF
15188 cat confdefs.h >>conftest.$ac_ext
15189 cat >>conftest.$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15200 rm -f conftest.$ac_objext conftest$ac_exeext
15201 if { (ac_try="$ac_link"
15202 case "(($ac_try" in
15203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15204 *) ac_try_echo
=$ac_try;;
15206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15207 (eval "$ac_link") 2>conftest.er1
15209 grep -v '^ *+' conftest.er1
>conftest.err
15211 cat conftest.err
>&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } &&
15214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15215 { (case "(($ac_try" in
15216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15217 *) ac_try_echo=$ac_try;;
15219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15220 (eval "$ac_try") 2>&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); }; } &&
15224 { ac_try='test -s conftest$ac_exeext'
15225 { (case "(($ac_try" in
15226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15227 *) ac_try_echo
=$ac_try;;
15229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15230 (eval "$ac_try") 2>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); }; }; then
15234 ac_cv_c_gcc_gstabs
="yes"
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.
$ac_ext >&5
15239 ac_cv_c_gcc_gstabs
="no"
15242 rm -f core conftest.err conftest.
$ac_objext \
15243 conftest
$ac_exeext conftest.
$ac_ext
15244 CFLAGS
=$ac_wine_try_cflags_saved
15246 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
15247 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
15248 if test "$ac_cv_c_gcc_gstabs" = "yes"
15250 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
15253 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
15254 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
15255 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 ac_wine_try_cflags_saved
=$CFLAGS
15259 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15260 cat >conftest.
$ac_ext <<_ACEOF
15263 cat confdefs.h
>>conftest.
$ac_ext
15264 cat >>conftest.
$ac_ext <<_ACEOF
15265 /* end confdefs.h. */
15275 rm -f conftest.
$ac_objext conftest
$ac_exeext
15276 if { (ac_try
="$ac_link"
15277 case "(($ac_try" in
15278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15279 *) ac_try_echo=$ac_try;;
15281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15282 (eval "$ac_link") 2>conftest.er1
15284 grep -v '^ *+' conftest.er1 >conftest.err
15286 cat conftest.err >&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } &&
15289 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15290 { (case "(($ac_try" in
15291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15292 *) ac_try_echo
=$ac_try;;
15294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15295 (eval "$ac_try") 2>&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); }; } &&
15299 { ac_try
='test -s conftest$ac_exeext'
15300 { (case "(($ac_try" in
15301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15302 *) ac_try_echo=$ac_try;;
15304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15305 (eval "$ac_try") 2>&5
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); }; }; then
15309 ac_cv_c_gcc_decl_after_statement="yes"
15311 echo "$as_me: failed program was:" >&5
15312 sed 's/^/| /' conftest.$ac_ext >&5
15314 ac_cv_c_gcc_decl_after_statement="no"
15317 rm -f core conftest.err conftest.$ac_objext \
15318 conftest$ac_exeext conftest.$ac_ext
15319 CFLAGS=$ac_wine_try_cflags_saved
15321 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
15322 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
15323 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
15325 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15328 saved_CFLAGS="$CFLAGS"
15329 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15330 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15331 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15332 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 cat >conftest.$ac_ext <<_ACEOF
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15341 #include <string.h>
15350 rm -f conftest.$ac_objext
15351 if { (ac_try="$ac_compile"
15352 case "(($ac_try" in
15353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15354 *) ac_try_echo
=$ac_try;;
15356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15357 (eval "$ac_compile") 2>conftest.er1
15359 grep -v '^ *+' conftest.er1
>conftest.err
15361 cat conftest.err
>&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } &&
15364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15365 { (case "(($ac_try" in
15366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15367 *) ac_try_echo=$ac_try;;
15369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15370 (eval "$ac_try") 2>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; } &&
15374 { ac_try='test -s conftest.$ac_objext'
15375 { (case "(($ac_try" in
15376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15377 *) ac_try_echo
=$ac_try;;
15379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15380 (eval "$ac_try") 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; }; then
15384 ac_cv_c_string_h_warnings
=no
15386 echo "$as_me: failed program was:" >&5
15387 sed 's/^/| /' conftest.
$ac_ext >&5
15389 ac_cv_c_string_h_warnings
=yes
15392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15394 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15395 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15396 CFLAGS
="$saved_CFLAGS"
15397 if test "$ac_cv_c_string_h_warnings" = "no"
15399 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
15404 saved_CFLAGS
="$CFLAGS"
15405 CFLAGS
="$CFLAGS -Werror"
15406 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15407 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15408 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15409 echo $ECHO_N "(cached) $ECHO_C" >&6
15411 cat >conftest.
$ac_ext <<_ACEOF
15414 cat confdefs.h
>>conftest.
$ac_ext
15415 cat >>conftest.
$ac_ext <<_ACEOF
15416 /* end confdefs.h. */
15421 int iswlower(unsigned short);
15426 rm -f conftest.
$ac_objext
15427 if { (ac_try
="$ac_compile"
15428 case "(($ac_try" in
15429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15430 *) ac_try_echo=$ac_try;;
15432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15433 (eval "$ac_compile") 2>conftest.er1
15435 grep -v '^ *+' conftest.er1 >conftest.err
15437 cat conftest.err >&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); } &&
15440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15441 { (case "(($ac_try" in
15442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15443 *) ac_try_echo
=$ac_try;;
15445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15446 (eval "$ac_try") 2>&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); }; } &&
15450 { ac_try
='test -s conftest.$ac_objext'
15451 { (case "(($ac_try" in
15452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15453 *) ac_try_echo=$ac_try;;
15455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15456 (eval "$ac_try") 2>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; }; then
15460 ac_cv_c_builtin_wchar_ctype=no
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.$ac_ext >&5
15465 ac_cv_c_builtin_wchar_ctype=yes
15468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15470 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15471 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15472 CFLAGS="$saved_CFLAGS"
15473 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15475 BUILTINFLAG="-fno-builtin"
15480 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15481 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15482 if test "${ac_cv_asm_func_def+set}" = set; then
15483 echo $ECHO_N "(cached) $ECHO_C" >&6
15485 cat >conftest.$ac_ext <<_ACEOF
15488 cat confdefs.h >>conftest.$ac_ext
15489 cat >>conftest.$ac_ext <<_ACEOF
15490 /* end confdefs.h. */
15491 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"); }
15501 rm -f conftest.$ac_objext conftest$ac_exeext
15502 if { (ac_try="$ac_link"
15503 case "(($ac_try" in
15504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15505 *) ac_try_echo
=$ac_try;;
15507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15508 (eval "$ac_link") 2>conftest.er1
15510 grep -v '^ *+' conftest.er1
>conftest.err
15512 cat conftest.err
>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } &&
15515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15516 { (case "(($ac_try" in
15517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15518 *) ac_try_echo=$ac_try;;
15520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15521 (eval "$ac_try") 2>&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); }; } &&
15525 { ac_try='test -s conftest$ac_exeext'
15526 { (case "(($ac_try" in
15527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15528 *) ac_try_echo
=$ac_try;;
15530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15531 (eval "$ac_try") 2>&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); }; }; then
15535 ac_cv_asm_func_def
=".def"
15537 echo "$as_me: failed program was:" >&5
15538 sed 's/^/| /' conftest.
$ac_ext >&5
15540 cat >conftest.
$ac_ext <<_ACEOF
15543 cat confdefs.h
>>conftest.
$ac_ext
15544 cat >>conftest.
$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15546 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
15556 rm -f conftest.
$ac_objext conftest
$ac_exeext
15557 if { (ac_try
="$ac_link"
15558 case "(($ac_try" in
15559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15560 *) ac_try_echo=$ac_try;;
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_link") 2>conftest.er1
15565 grep -v '^ *+' conftest.er1 >conftest.err
15567 cat conftest.err >&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } &&
15570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15571 { (case "(($ac_try" in
15572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15573 *) ac_try_echo
=$ac_try;;
15575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15576 (eval "$ac_try") 2>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); }; } &&
15580 { ac_try
='test -s conftest$ac_exeext'
15581 { (case "(($ac_try" in
15582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15583 *) ac_try_echo=$ac_try;;
15585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15586 (eval "$ac_try") 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; }; then
15590 ac_cv_asm_func_def=".type @function"
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.$ac_ext >&5
15595 cat >conftest.$ac_ext <<_ACEOF
15598 cat confdefs.h >>conftest.$ac_ext
15599 cat >>conftest.$ac_ext <<_ACEOF
15600 /* end confdefs.h. */
15601 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
15611 rm -f conftest.$ac_objext conftest$ac_exeext
15612 if { (ac_try="$ac_link"
15613 case "(($ac_try" in
15614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15615 *) ac_try_echo
=$ac_try;;
15617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15618 (eval "$ac_link") 2>conftest.er1
15620 grep -v '^ *+' conftest.er1
>conftest.err
15622 cat conftest.err
>&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15626 { (case "(($ac_try" in
15627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15628 *) ac_try_echo=$ac_try;;
15630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15631 (eval "$ac_try") 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; } &&
15635 { ac_try='test -s conftest$ac_exeext'
15636 { (case "(($ac_try" in
15637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15638 *) ac_try_echo
=$ac_try;;
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_try") 2>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; }; then
15645 ac_cv_asm_func_def
=".type 2"
15647 echo "$as_me: failed program was:" >&5
15648 sed 's/^/| /' conftest.
$ac_ext >&5
15650 ac_cv_asm_func_def
="unknown"
15653 rm -f core conftest.err conftest.
$ac_objext \
15654 conftest
$ac_exeext conftest.
$ac_ext
15657 rm -f core conftest.err conftest.
$ac_objext \
15658 conftest
$ac_exeext conftest.
$ac_ext
15661 rm -f core conftest.err conftest.
$ac_objext \
15662 conftest
$ac_exeext conftest.
$ac_ext
15664 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15665 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15669 case "$ac_cv_asm_func_def" in
15671 cat >>confdefs.h
<<\_ACEOF
15672 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15676 cat >>confdefs.h
<<\_ACEOF
15677 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15681 cat >>confdefs.h
<<\_ACEOF
15682 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15686 cat >>confdefs.h
<<\_ACEOF
15687 #define __ASM_FUNC(name) ""
15693 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15694 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15695 if test "${ac_cv_c_extern_prefix+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 cat >conftest.
$ac_ext <<_ACEOF
15701 cat confdefs.h
>>conftest.
$ac_ext
15702 cat >>conftest.
$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15704 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15705 extern int ac_test;
15709 if (ac_test) return 1
15714 rm -f conftest.
$ac_objext conftest
$ac_exeext
15715 if { (ac_try
="$ac_link"
15716 case "(($ac_try" in
15717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_link") 2>conftest.er1
15723 grep -v '^ *+' conftest.er1 >conftest.err
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } &&
15728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15729 { (case "(($ac_try" in
15730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15731 *) ac_try_echo
=$ac_try;;
15733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734 (eval "$ac_try") 2>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); }; } &&
15738 { ac_try
='test -s conftest$ac_exeext'
15739 { (case "(($ac_try" in
15740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15741 *) ac_try_echo=$ac_try;;
15743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15744 (eval "$ac_try") 2>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; }; then
15748 ac_cv_c_extern_prefix="yes"
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15753 ac_cv_c_extern_prefix="no"
15756 rm -f core conftest.err conftest.$ac_objext \
15757 conftest$ac_exeext conftest.$ac_ext
15759 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15760 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15764 if test "$ac_cv_c_extern_prefix" = "yes"
15766 cat >>confdefs.h <<\_ACEOF
15767 #define __ASM_NAME(name) "_" name
15771 cat >>confdefs.h <<\_ACEOF
15772 #define __ASM_NAME(name) name
15780 DLLFLAGS="-D_REENTRANT"
15795 if test -n "$ac_tool_prefix"; then
15796 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15797 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15800 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15801 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 if test -n "$DLLTOOL"; then
15804 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15807 for as_dir in $PATH
15810 test -z "$as_dir" && as_dir=.
15811 for ac_exec_ext in '' $ac_executable_extensions; do
15812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15813 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15823 DLLTOOL=$ac_cv_prog_DLLTOOL
15824 if test -n "$DLLTOOL"; then
15825 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15826 echo "${ECHO_T}$DLLTOOL" >&6; }
15828 { echo "$as_me:$LINENO: result: no" >&5
15829 echo "${ECHO_T}no" >&6; }
15834 if test -z "$ac_cv_prog_DLLTOOL"; then
15835 ac_ct_DLLTOOL=$DLLTOOL
15836 # Extract the first word of "dlltool", so it can be a program name with args.
15837 set dummy dlltool; ac_word=$2
15838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15840 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15841 echo $ECHO_N "(cached) $ECHO_C" >&6
15843 if test -n "$ac_ct_DLLTOOL"; then
15844 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15847 for as_dir in $PATH
15850 test -z "$as_dir" && as_dir=.
15851 for ac_exec_ext in '' $ac_executable_extensions; do
15852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15853 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15863 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15864 if test -n "$ac_ct_DLLTOOL"; then
15865 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15866 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15868 { echo "$as_me:$LINENO: result: no" >&5
15869 echo "${ECHO_T}no" >&6; }
15872 if test "x$ac_ct_DLLTOOL" = x; then
15875 case $cross_compiling:$ac_tool_warned in
15877 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15878 whose name does not start with the host triplet. If you think this
15879 configuration is useful to you, please write to autoconf@gnu.org." >&5
15880 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15881 whose name does not start with the host triplet. If you think this
15882 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15883 ac_tool_warned=yes ;;
15885 DLLTOOL=$ac_ct_DLLTOOL
15888 DLLTOOL="$ac_cv_prog_DLLTOOL"
15891 if test -n "$ac_tool_prefix"; then
15892 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15893 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15896 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15897 echo $ECHO_N "(cached) $ECHO_C" >&6
15899 if test -n "$DLLWRAP"; then
15900 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15903 for as_dir in $PATH
15906 test -z "$as_dir" && as_dir=.
15907 for ac_exec_ext in '' $ac_executable_extensions; do
15908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15909 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15919 DLLWRAP=$ac_cv_prog_DLLWRAP
15920 if test -n "$DLLWRAP"; then
15921 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15922 echo "${ECHO_T}$DLLWRAP" >&6; }
15924 { echo "$as_me:$LINENO: result: no" >&5
15925 echo "${ECHO_T}no" >&6; }
15930 if test -z "$ac_cv_prog_DLLWRAP"; then
15931 ac_ct_DLLWRAP=$DLLWRAP
15932 # Extract the first word of "dllwrap", so it can be a program name with args.
15933 set dummy dllwrap; ac_word=$2
15934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15936 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15937 echo $ECHO_N "(cached) $ECHO_C" >&6
15939 if test -n "$ac_ct_DLLWRAP"; then
15940 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15943 for as_dir in $PATH
15946 test -z "$as_dir" && as_dir=.
15947 for ac_exec_ext in '' $ac_executable_extensions; do
15948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15949 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15959 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15960 if test -n "$ac_ct_DLLWRAP"; then
15961 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15962 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15964 { echo "$as_me:$LINENO: result: no" >&5
15965 echo "${ECHO_T}no" >&6; }
15968 if test "x$ac_ct_DLLWRAP" = x; then
15971 case $cross_compiling:$ac_tool_warned in
15973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15974 whose name does not start with the host triplet. If you think this
15975 configuration is useful to you, please write to autoconf@gnu.org." >&5
15976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15977 whose name does not start with the host triplet. If you think this
15978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15979 ac_tool_warned=yes ;;
15981 DLLWRAP=$ac_ct_DLLWRAP
15984 DLLWRAP="$ac_cv_prog_DLLWRAP"
15987 if test "$DLLWRAP" = "false"; then
15997 if test "$ac_cv_header_dlfcn_h" = "yes"
16000 for ac_func in dlopen
16002 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16003 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16005 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16006 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 cat >conftest.$ac_ext <<_ACEOF
16011 cat confdefs.h >>conftest.$ac_ext
16012 cat >>conftest.$ac_ext <<_ACEOF
16013 /* end confdefs.h. */
16014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16016 #define $ac_func innocuous_$ac_func
16018 /* System header to define __stub macros and hopefully few prototypes,
16019 which can conflict with char $ac_func (); below.
16020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16021 <limits.h> exists even on freestanding compilers. */
16024 # include <limits.h>
16026 # include <assert.h>
16031 /* Override any GCC internal prototype to avoid an error.
16032 Use char because int might match the return type of a GCC
16033 builtin and then its argument prototype would still apply. */
16038 /* The GNU C library defines this for functions which it implements
16039 to always fail with ENOSYS. Some functions are actually named
16040 something starting with __ and the normal name is an alias. */
16041 #if defined __stub_$ac_func || defined __stub___$ac_func
16048 return $ac_func ();
16053 rm -f conftest.$ac_objext conftest$ac_exeext
16054 if { (ac_try="$ac_link"
16055 case "(($ac_try" in
16056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16057 *) ac_try_echo
=$ac_try;;
16059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16060 (eval "$ac_link") 2>conftest.er1
16062 grep -v '^ *+' conftest.er1
>conftest.err
16064 cat conftest.err
>&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } &&
16067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16068 { (case "(($ac_try" in
16069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16070 *) ac_try_echo=$ac_try;;
16072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16073 (eval "$ac_try") 2>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; } &&
16077 { ac_try='test -s conftest$ac_exeext'
16078 { (case "(($ac_try" in
16079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16080 *) ac_try_echo
=$ac_try;;
16082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16083 (eval "$ac_try") 2>&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); }; }; then
16087 eval "$as_ac_var=yes"
16089 echo "$as_me: failed program was:" >&5
16090 sed 's/^/| /' conftest.
$ac_ext >&5
16092 eval "$as_ac_var=no"
16095 rm -f core conftest.err conftest.
$ac_objext \
16096 conftest
$ac_exeext conftest.
$ac_ext
16098 ac_res
=`eval echo '${'$as_ac_var'}'`
16099 { echo "$as_me:$LINENO: result: $ac_res" >&5
16100 echo "${ECHO_T}$ac_res" >&6; }
16101 if test `eval echo '${'$as_ac_var'}'` = yes; then
16102 cat >>confdefs.h
<<_ACEOF
16103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16107 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16108 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16109 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 ac_check_lib_save_LIBS
=$LIBS
16114 cat >conftest.
$ac_ext <<_ACEOF
16117 cat confdefs.h
>>conftest.
$ac_ext
16118 cat >>conftest.
$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16121 /* Override any GCC internal prototype to avoid an error.
16122 Use char because int might match the return type of a GCC
16123 builtin and then its argument prototype would still apply. */
16136 rm -f conftest.
$ac_objext conftest
$ac_exeext
16137 if { (ac_try
="$ac_link"
16138 case "(($ac_try" in
16139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16140 *) ac_try_echo=$ac_try;;
16142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16143 (eval "$ac_link") 2>conftest.er1
16145 grep -v '^ *+' conftest.er1 >conftest.err
16147 cat conftest.err >&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); } &&
16150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16151 { (case "(($ac_try" in
16152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16153 *) ac_try_echo
=$ac_try;;
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_try") 2>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; } &&
16160 { ac_try
='test -s conftest$ac_exeext'
16161 { (case "(($ac_try" in
16162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16163 *) ac_try_echo=$ac_try;;
16165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16166 (eval "$ac_try") 2>&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); }; }; then
16170 ac_cv_lib_dl_dlopen=yes
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.$ac_ext >&5
16175 ac_cv_lib_dl_dlopen=no
16178 rm -f core conftest.err conftest.$ac_objext \
16179 conftest$ac_exeext conftest.$ac_ext
16180 LIBS=$ac_check_lib_save_LIBS
16182 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16183 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16184 if test $ac_cv_lib_dl_dlopen = yes; then
16186 cat >>confdefs.h <<\_ACEOF
16187 #define HAVE_DLOPEN 1
16198 ac_wine_check_funcs_save_LIBS="$LIBS"
16199 LIBS="$LIBS $DLLIBS"
16201 for ac_func in dladdr
16203 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16204 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16206 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 cat >conftest.$ac_ext <<_ACEOF
16212 cat confdefs.h >>conftest.$ac_ext
16213 cat >>conftest.$ac_ext <<_ACEOF
16214 /* end confdefs.h. */
16215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16217 #define $ac_func innocuous_$ac_func
16219 /* System header to define __stub macros and hopefully few prototypes,
16220 which can conflict with char $ac_func (); below.
16221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16222 <limits.h> exists even on freestanding compilers. */
16225 # include <limits.h>
16227 # include <assert.h>
16232 /* Override any GCC internal prototype to avoid an error.
16233 Use char because int might match the return type of a GCC
16234 builtin and then its argument prototype would still apply. */
16239 /* The GNU C library defines this for functions which it implements
16240 to always fail with ENOSYS. Some functions are actually named
16241 something starting with __ and the normal name is an alias. */
16242 #if defined __stub_$ac_func || defined __stub___$ac_func
16249 return $ac_func ();
16254 rm -f conftest.$ac_objext conftest$ac_exeext
16255 if { (ac_try="$ac_link"
16256 case "(($ac_try" in
16257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16258 *) ac_try_echo
=$ac_try;;
16260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16261 (eval "$ac_link") 2>conftest.er1
16263 grep -v '^ *+' conftest.er1
>conftest.err
16265 cat conftest.err
>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); } &&
16268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16269 { (case "(($ac_try" in
16270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16271 *) ac_try_echo=$ac_try;;
16273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16274 (eval "$ac_try") 2>&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); }; } &&
16278 { ac_try='test -s conftest$ac_exeext'
16279 { (case "(($ac_try" in
16280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16281 *) ac_try_echo
=$ac_try;;
16283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16284 (eval "$ac_try") 2>&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); }; }; then
16288 eval "$as_ac_var=yes"
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.
$ac_ext >&5
16293 eval "$as_ac_var=no"
16296 rm -f core conftest.err conftest.
$ac_objext \
16297 conftest
$ac_exeext conftest.
$ac_ext
16299 ac_res
=`eval echo '${'$as_ac_var'}'`
16300 { echo "$as_me:$LINENO: result: $ac_res" >&5
16301 echo "${ECHO_T}$ac_res" >&6; }
16302 if test `eval echo '${'$as_ac_var'}'` = yes; then
16303 cat >>confdefs.h
<<_ACEOF
16304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16310 LIBS
="$ac_wine_check_funcs_save_LIBS"
16315 if test "$LIBEXT" = "so"
16317 DLLFLAGS
="$DLLFLAGS -fPIC"
16319 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
16320 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
16321 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
16322 echo $ECHO_N "(cached) $ECHO_C" >&6
16324 ac_wine_try_cflags_saved
=$CFLAGS
16325 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
16326 cat >conftest.
$ac_ext <<_ACEOF
16329 rm -f conftest.
$ac_objext conftest
$ac_exeext
16330 if { (ac_try
="$ac_link"
16331 case "(($ac_try" in
16332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16333 *) ac_try_echo=$ac_try;;
16335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16336 (eval "$ac_link") 2>conftest.er1
16338 grep -v '^ *+' conftest.er1 >conftest.err
16340 cat conftest.err >&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } &&
16343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16344 { (case "(($ac_try" in
16345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16346 *) ac_try_echo
=$ac_try;;
16348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16349 (eval "$ac_try") 2>&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); }; } &&
16353 { ac_try
='test -s conftest$ac_exeext'
16354 { (case "(($ac_try" in
16355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16356 *) ac_try_echo=$ac_try;;
16358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16359 (eval "$ac_try") 2>&5
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; }; then
16363 ac_cv_c_dll_gnuelf="yes"
16365 echo "$as_me: failed program was:" >&5
16366 sed 's/^/| /' conftest.$ac_ext >&5
16368 ac_cv_c_dll_gnuelf="no"
16371 rm -f core conftest.err conftest.$ac_objext \
16372 conftest$ac_exeext conftest.$ac_ext
16373 CFLAGS=$ac_wine_try_cflags_saved
16375 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
16376 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
16377 if test "$ac_cv_c_dll_gnuelf" = "yes"
16379 LDSHARED="\$(CC) -shared"
16380 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
16381 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
16382 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
16383 if test "${ac_cv_c_sonames+set}" = set; then
16384 echo $ECHO_N "(cached) $ECHO_C" >&6
16386 ac_wine_try_cflags_saved=$CFLAGS
16387 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
16388 cat >conftest.$ac_ext <<_ACEOF
16391 cat confdefs.h >>conftest.$ac_ext
16392 cat >>conftest.$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16403 rm -f conftest.$ac_objext conftest$ac_exeext
16404 if { (ac_try="$ac_link"
16405 case "(($ac_try" in
16406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16407 *) ac_try_echo
=$ac_try;;
16409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16410 (eval "$ac_link") 2>conftest.er1
16412 grep -v '^ *+' conftest.er1
>conftest.err
16414 cat conftest.err
>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); } &&
16417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16418 { (case "(($ac_try" in
16419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16420 *) ac_try_echo=$ac_try;;
16422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16423 (eval "$ac_try") 2>&5
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; } &&
16427 { ac_try='test -s conftest$ac_exeext'
16428 { (case "(($ac_try" in
16429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16430 *) ac_try_echo
=$ac_try;;
16432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16433 (eval "$ac_try") 2>&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; }; then
16437 ac_cv_c_sonames
="yes"
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.
$ac_ext >&5
16442 ac_cv_c_sonames
="no"
16445 rm -f core conftest.err conftest.
$ac_objext \
16446 conftest
$ac_exeext conftest.
$ac_ext
16447 CFLAGS
=$ac_wine_try_cflags_saved
16449 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
16450 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
16451 if test "$ac_cv_c_sonames" = "yes"
16453 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
16455 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
16456 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
16457 if test "${ac_cv_c_h_sonames+set}" = set; then
16458 echo $ECHO_N "(cached) $ECHO_C" >&6
16460 ac_wine_try_cflags_saved
=$CFLAGS
16461 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
16462 cat >conftest.
$ac_ext <<_ACEOF
16465 cat confdefs.h
>>conftest.
$ac_ext
16466 cat >>conftest.
$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16477 rm -f conftest.
$ac_objext conftest
$ac_exeext
16478 if { (ac_try
="$ac_link"
16479 case "(($ac_try" in
16480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16481 *) ac_try_echo=$ac_try;;
16483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16484 (eval "$ac_link") 2>conftest.er1
16486 grep -v '^ *+' conftest.er1 >conftest.err
16488 cat conftest.err >&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } &&
16491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16492 { (case "(($ac_try" in
16493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16494 *) ac_try_echo
=$ac_try;;
16496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16497 (eval "$ac_try") 2>&5
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; } &&
16501 { ac_try
='test -s conftest$ac_exeext'
16502 { (case "(($ac_try" in
16503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16504 *) ac_try_echo=$ac_try;;
16506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16507 (eval "$ac_try") 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16511 ac_cv_c_h_sonames="yes"
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.$ac_ext >&5
16516 ac_cv_c_h_sonames="no"
16519 rm -f core conftest.err conftest.$ac_objext \
16520 conftest$ac_exeext conftest.$ac_ext
16521 CFLAGS=$ac_wine_try_cflags_saved
16523 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
16524 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
16525 if test "$ac_cv_c_h_sonames" = "yes"
16527 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
16531 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
16532 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
16533 if test "${ac_cv_c_dll_zdefs+set}" = set; then
16534 echo $ECHO_N "(cached) $ECHO_C" >&6
16536 ac_wine_try_cflags_saved=$CFLAGS
16537 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
16538 cat >conftest.$ac_ext <<_ACEOF
16541 cat confdefs.h >>conftest.$ac_ext
16542 cat >>conftest.$ac_ext <<_ACEOF
16543 /* end confdefs.h. */
16553 rm -f conftest.$ac_objext conftest$ac_exeext
16554 if { (ac_try="$ac_link"
16555 case "(($ac_try" in
16556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16557 *) ac_try_echo
=$ac_try;;
16559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16560 (eval "$ac_link") 2>conftest.er1
16562 grep -v '^ *+' conftest.er1
>conftest.err
16564 cat conftest.err
>&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); } &&
16567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16568 { (case "(($ac_try" in
16569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16570 *) ac_try_echo=$ac_try;;
16572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16573 (eval "$ac_try") 2>&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); }; } &&
16577 { ac_try='test -s conftest$ac_exeext'
16578 { (case "(($ac_try" in
16579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16580 *) ac_try_echo
=$ac_try;;
16582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16583 (eval "$ac_try") 2>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); }; }; then
16587 ac_cv_c_dll_zdefs
="yes"
16589 echo "$as_me: failed program was:" >&5
16590 sed 's/^/| /' conftest.
$ac_ext >&5
16592 ac_cv_c_dll_zdefs
="no"
16595 rm -f core conftest.err conftest.
$ac_objext \
16596 conftest
$ac_exeext conftest.
$ac_ext
16597 CFLAGS
=$ac_wine_try_cflags_saved
16599 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
16600 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
16601 if test "$ac_cv_c_dll_zdefs" = "yes"
16603 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
16606 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
16607 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
16608 if test "${ac_cv_c_dll_init_fini+set}" = set; then
16609 echo $ECHO_N "(cached) $ECHO_C" >&6
16611 ac_wine_try_cflags_saved
=$CFLAGS
16612 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
16613 cat >conftest.
$ac_ext <<_ACEOF
16616 cat confdefs.h
>>conftest.
$ac_ext
16617 cat >>conftest.
$ac_ext <<_ACEOF
16618 /* end confdefs.h. */
16628 rm -f conftest.
$ac_objext conftest
$ac_exeext
16629 if { (ac_try
="$ac_link"
16630 case "(($ac_try" in
16631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_link") 2>conftest.er1
16637 grep -v '^ *+' conftest.er1 >conftest.err
16639 cat conftest.err >&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } &&
16642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16643 { (case "(($ac_try" in
16644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16645 *) ac_try_echo
=$ac_try;;
16647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16648 (eval "$ac_try") 2>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); }; } &&
16652 { ac_try
='test -s conftest$ac_exeext'
16653 { (case "(($ac_try" in
16654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16655 *) ac_try_echo=$ac_try;;
16657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16658 (eval "$ac_try") 2>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; }; then
16662 ac_cv_c_dll_init_fini="yes"
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.$ac_ext >&5
16667 ac_cv_c_dll_init_fini="no"
16670 rm -f core conftest.err conftest.$ac_objext \
16671 conftest$ac_exeext conftest.$ac_ext
16672 CFLAGS=$ac_wine_try_cflags_saved
16674 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
16675 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
16676 if test "$ac_cv_c_dll_init_fini" = "yes"
16678 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
16681 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
16682 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
16683 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
16684 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 echo '{ global: *; };' >conftest.map
16687 ac_wine_try_cflags_saved=$CFLAGS
16688 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
16689 cat >conftest.$ac_ext <<_ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16704 rm -f conftest.$ac_objext conftest$ac_exeext
16705 if { (ac_try="$ac_link"
16706 case "(($ac_try" in
16707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16708 *) ac_try_echo
=$ac_try;;
16710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16711 (eval "$ac_link") 2>conftest.er1
16713 grep -v '^ *+' conftest.er1
>conftest.err
16715 cat conftest.err
>&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } &&
16718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16719 { (case "(($ac_try" in
16720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16721 *) ac_try_echo=$ac_try;;
16723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16724 (eval "$ac_try") 2>&5
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); }; } &&
16728 { ac_try='test -s conftest$ac_exeext'
16729 { (case "(($ac_try" in
16730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16731 *) ac_try_echo
=$ac_try;;
16733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16734 (eval "$ac_try") 2>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; }; then
16738 ac_cv_c_ld_version_scripts
="yes"
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.
$ac_ext >&5
16743 ac_cv_c_ld_version_scripts
="no"
16746 rm -f core conftest.err conftest.
$ac_objext \
16747 conftest
$ac_exeext conftest.
$ac_ext
16748 CFLAGS
=$ac_wine_try_cflags_saved
16751 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
16752 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
16753 if test "$ac_cv_c_ld_version_scripts" = "yes"
16755 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
16758 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
16759 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
16760 if test "${ac_cv_c_export_dynamic+set}" = set; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 ac_wine_try_cflags_saved
=$CFLAGS
16764 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
16765 cat >conftest.
$ac_ext <<_ACEOF
16768 cat confdefs.h
>>conftest.
$ac_ext
16769 cat >>conftest.
$ac_ext <<_ACEOF
16770 /* end confdefs.h. */
16780 rm -f conftest.
$ac_objext conftest
$ac_exeext
16781 if { (ac_try
="$ac_link"
16782 case "(($ac_try" in
16783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16784 *) ac_try_echo=$ac_try;;
16786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16787 (eval "$ac_link") 2>conftest.er1
16789 grep -v '^ *+' conftest.er1 >conftest.err
16791 cat conftest.err >&5
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); } &&
16794 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16795 { (case "(($ac_try" in
16796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16797 *) ac_try_echo
=$ac_try;;
16799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16800 (eval "$ac_try") 2>&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); }; } &&
16804 { ac_try
='test -s conftest$ac_exeext'
16805 { (case "(($ac_try" in
16806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16807 *) ac_try_echo=$ac_try;;
16809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16810 (eval "$ac_try") 2>&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); }; }; then
16814 ac_cv_c_export_dynamic="yes"
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.$ac_ext >&5
16819 ac_cv_c_export_dynamic="no"
16822 rm -f core conftest.err conftest.$ac_objext \
16823 conftest$ac_exeext conftest.$ac_ext
16824 CFLAGS=$ac_wine_try_cflags_saved
16826 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
16827 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
16828 if test "$ac_cv_c_export_dynamic" = "yes"
16830 LDEXECFLAGS="-Wl,--export-dynamic"
16834 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
16835 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
16836 if test "${ac_cv_ld_rpath+set}" = set; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 ac_wine_try_cflags_saved=$CFLAGS
16840 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
16841 cat >conftest.$ac_ext <<_ACEOF
16844 cat confdefs.h >>conftest.$ac_ext
16845 cat >>conftest.$ac_ext <<_ACEOF
16846 /* end confdefs.h. */
16856 rm -f conftest.$ac_objext conftest$ac_exeext
16857 if { (ac_try="$ac_link"
16858 case "(($ac_try" in
16859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16860 *) ac_try_echo
=$ac_try;;
16862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16863 (eval "$ac_link") 2>conftest.er1
16865 grep -v '^ *+' conftest.er1
>conftest.err
16867 cat conftest.err
>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); } &&
16870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16871 { (case "(($ac_try" in
16872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16873 *) ac_try_echo=$ac_try;;
16875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16876 (eval "$ac_try") 2>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; } &&
16880 { ac_try='test -s conftest$ac_exeext'
16881 { (case "(($ac_try" in
16882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16883 *) ac_try_echo
=$ac_try;;
16885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16886 (eval "$ac_try") 2>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); }; }; then
16890 ac_cv_ld_rpath
="yes"
16892 echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.
$ac_ext >&5
16895 ac_cv_ld_rpath
="no"
16898 rm -f core conftest.err conftest.
$ac_objext \
16899 conftest
$ac_exeext conftest.
$ac_ext
16900 CFLAGS
=$ac_wine_try_cflags_saved
16902 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
16903 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
16904 if test "$ac_cv_ld_rpath" = "yes"
16906 LDEXERPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
16908 LDDLLRPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
16913 *i
[3456789]86* | x86_64
)
16914 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
16915 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
16916 if test "${ac_cv_ld_reloc_exec+set}" = set; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16919 ac_wine_try_cflags_saved
=$CFLAGS
16920 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16921 cat >conftest.
$ac_ext <<_ACEOF
16924 cat confdefs.h
>>conftest.
$ac_ext
16925 cat >>conftest.
$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16936 rm -f conftest.
$ac_objext conftest
$ac_exeext
16937 if { (ac_try
="$ac_link"
16938 case "(($ac_try" in
16939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16940 *) ac_try_echo=$ac_try;;
16942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16943 (eval "$ac_link") 2>conftest.er1
16945 grep -v '^ *+' conftest.er1 >conftest.err
16947 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } &&
16950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16951 { (case "(($ac_try" in
16952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16953 *) ac_try_echo
=$ac_try;;
16955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16956 (eval "$ac_try") 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; } &&
16960 { ac_try
='test -s conftest$ac_exeext'
16961 { (case "(($ac_try" in
16962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16963 *) ac_try_echo=$ac_try;;
16965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16966 (eval "$ac_try") 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; }; then
16970 ac_cv_ld_reloc_exec="yes"
16972 echo "$as_me: failed program was:" >&5
16973 sed 's/^/| /' conftest.$ac_ext >&5
16975 ac_cv_ld_reloc_exec="no"
16978 rm -f core conftest.err conftest.$ac_objext \
16979 conftest$ac_exeext conftest.$ac_ext
16980 CFLAGS=$ac_wine_try_cflags_saved
16982 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16983 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16984 if test "$ac_cv_ld_reloc_exec" = "yes"
16986 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16992 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16993 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16994 if test "${ac_cv_c_dll_unixware+set}" = set; then
16995 echo $ECHO_N "(cached) $ECHO_C" >&6
16997 ac_wine_try_cflags_saved=$CFLAGS
16998 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16999 cat >conftest.$ac_ext <<_ACEOF
17002 rm -f conftest.$ac_objext conftest$ac_exeext
17003 if { (ac_try="$ac_link"
17004 case "(($ac_try" in
17005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17006 *) ac_try_echo
=$ac_try;;
17008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17009 (eval "$ac_link") 2>conftest.er1
17011 grep -v '^ *+' conftest.er1
>conftest.err
17013 cat conftest.err
>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } &&
17016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17017 { (case "(($ac_try" in
17018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17019 *) ac_try_echo=$ac_try;;
17021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17022 (eval "$ac_try") 2>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; } &&
17026 { ac_try='test -s conftest$ac_exeext'
17027 { (case "(($ac_try" in
17028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17029 *) ac_try_echo
=$ac_try;;
17031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17032 (eval "$ac_try") 2>&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; }; then
17036 ac_cv_c_dll_unixware
="yes"
17038 echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.
$ac_ext >&5
17041 ac_cv_c_dll_unixware
="no"
17044 rm -f core conftest.err conftest.
$ac_objext \
17045 conftest
$ac_exeext conftest.
$ac_ext
17046 CFLAGS
=$ac_wine_try_cflags_saved
17048 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
17049 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
17050 if test "$ac_cv_c_dll_unixware" = "yes"
17052 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
17053 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
17056 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
17057 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
17058 if test "${ac_cv_c_dll_macho+set}" = set; then
17059 echo $ECHO_N "(cached) $ECHO_C" >&6
17061 ac_wine_try_cflags_saved
=$CFLAGS
17062 CFLAGS
="$CFLAGS -bundle"
17063 cat >conftest.
$ac_ext <<_ACEOF
17066 rm -f conftest.
$ac_objext conftest
$ac_exeext
17067 if { (ac_try
="$ac_link"
17068 case "(($ac_try" in
17069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_link") 2>conftest.er1
17075 grep -v '^ *+' conftest.er1 >conftest.err
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } &&
17080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17081 { (case "(($ac_try" in
17082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17083 *) ac_try_echo
=$ac_try;;
17085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17086 (eval "$ac_try") 2>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try
='test -s conftest$ac_exeext'
17091 { (case "(($ac_try" in
17092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_try") 2>&5
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; }; then
17100 ac_cv_c_dll_macho="yes"
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 ac_cv_c_dll_macho="no"
17108 rm -f core conftest.err conftest.$ac_objext \
17109 conftest$ac_exeext conftest.$ac_ext
17110 CFLAGS=$ac_wine_try_cflags_saved
17112 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
17113 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
17114 if test "$ac_cv_c_dll_macho" = "yes"
17117 LDDLLFLAGS="-bundle"
17118 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
17119 STRIP="$STRIP -u -r"
17120 COREFOUNDATIONLIB="-framework CoreFoundation"
17122 IOKITLIB="-framework IOKit -framework CoreFoundation"
17124 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
17126 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
17128 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
17133 CFLAGS="$CFLAGS -ffixed-r13"
17134 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"
17139 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
17140 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
17141 if test "${ac_cv_c_dll_hpux+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 ac_wine_try_cflags_saved=$CFLAGS
17145 CFLAGS="$CFLAGS -shared"
17146 cat >conftest.$ac_ext <<_ACEOF
17149 rm -f conftest.$ac_objext conftest$ac_exeext
17150 if { (ac_try="$ac_link"
17151 case "(($ac_try" in
17152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17153 *) ac_try_echo
=$ac_try;;
17155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17156 (eval "$ac_link") 2>conftest.er1
17158 grep -v '^ *+' conftest.er1
>conftest.err
17160 cat conftest.err
>&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); } &&
17163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17164 { (case "(($ac_try" in
17165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17166 *) ac_try_echo=$ac_try;;
17168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17169 (eval "$ac_try") 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; } &&
17173 { ac_try='test -s conftest$ac_exeext'
17174 { (case "(($ac_try" in
17175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17176 *) ac_try_echo
=$ac_try;;
17178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17179 (eval "$ac_try") 2>&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); }; }; then
17183 ac_cv_c_dll_hpux
="yes"
17185 echo "$as_me: failed program was:" >&5
17186 sed 's/^/| /' conftest.
$ac_ext >&5
17188 ac_cv_c_dll_hpux
="no"
17191 rm -f core conftest.err conftest.
$ac_objext \
17192 conftest
$ac_exeext conftest.
$ac_ext
17193 CFLAGS
=$ac_wine_try_cflags_saved
17195 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
17196 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
17197 if test "$ac_cv_c_dll_hpux" = "yes"
17201 LDDLLFLAGS
="-shared -fPIC"
17202 LDSHARED
="\$(CC) -shared"
17211 if test "$cross_compiling" = "no"
17213 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
17215 # Extract the first word of "$ac_prog", so it can be a program name with args.
17216 set dummy
$ac_prog; ac_word
=$2
17217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17219 if test "${ac_cv_prog_CROSSCC+set}" = set; then
17220 echo $ECHO_N "(cached) $ECHO_C" >&6
17222 if test -n "$CROSSCC"; then
17223 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
17225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17226 for as_dir
in $PATH
17229 test -z "$as_dir" && as_dir
=.
17230 for ac_exec_ext
in '' $ac_executable_extensions; do
17231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17232 ac_cv_prog_CROSSCC
="$ac_prog"
17233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17242 CROSSCC
=$ac_cv_prog_CROSSCC
17243 if test -n "$CROSSCC"; then
17244 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
17245 echo "${ECHO_T}$CROSSCC" >&6; }
17247 { echo "$as_me:$LINENO: result: no" >&5
17248 echo "${ECHO_T}no" >&6; }
17252 test -n "$CROSSCC" && break
17254 test -n "$CROSSCC" || CROSSCC
="false"
17256 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
17258 # Extract the first word of "$ac_prog", so it can be a program name with args.
17259 set dummy
$ac_prog; ac_word
=$2
17260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17262 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17263 echo $ECHO_N "(cached) $ECHO_C" >&6
17265 if test -n "$DLLTOOL"; then
17266 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
17268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17269 for as_dir
in $PATH
17272 test -z "$as_dir" && as_dir
=.
17273 for ac_exec_ext
in '' $ac_executable_extensions; do
17274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17275 ac_cv_prog_DLLTOOL
="$ac_prog"
17276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17285 DLLTOOL
=$ac_cv_prog_DLLTOOL
17286 if test -n "$DLLTOOL"; then
17287 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17288 echo "${ECHO_T}$DLLTOOL" >&6; }
17290 { echo "$as_me:$LINENO: result: no" >&5
17291 echo "${ECHO_T}no" >&6; }
17295 test -n "$DLLTOOL" && break
17297 test -n "$DLLTOOL" || DLLTOOL
="false"
17299 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
17301 # Extract the first word of "$ac_prog", so it can be a program name with args.
17302 set dummy
$ac_prog; ac_word
=$2
17303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17305 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 if test -n "$CROSSWINDRES"; then
17309 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
17311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17312 for as_dir
in $PATH
17315 test -z "$as_dir" && as_dir
=.
17316 for ac_exec_ext
in '' $ac_executable_extensions; do
17317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17318 ac_cv_prog_CROSSWINDRES
="$ac_prog"
17319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17328 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
17329 if test -n "$CROSSWINDRES"; then
17330 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
17331 echo "${ECHO_T}$CROSSWINDRES" >&6; }
17333 { echo "$as_me:$LINENO: result: no" >&5
17334 echo "${ECHO_T}no" >&6; }
17338 test -n "$CROSSWINDRES" && break
17340 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
17342 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
17347 if test "$LIBEXT" = "a"; then
17348 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
17349 It is currently not possible to build Wine without shared library
17350 (.so) support to allow transparent switch between .so and .dll files.
17351 If you are using Linux, you will need a newer binutils.
17353 echo "$as_me: error: could not find a way to build shared libraries.
17354 It is currently not possible to build Wine without shared library
17355 (.so) support to allow transparent switch between .so and .dll files.
17356 If you are using Linux, you will need a newer binutils.
17358 { (exit 1); exit 1; }; }
17363 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
17366 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
17369 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
17377 SOCKETLIBS
="-lws2_32"
17382 MAIN_BINARY
="wine-pthread"
17386 linux
* | k
*bsd
*-gnu)
17387 MAIN_BINARY
="wine-glibc"
17389 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
17396 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
17398 # Extract the first word of "ldd", so it can be a program name with args.
17399 set dummy ldd
; ac_word
=$2
17400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17402 if test "${ac_cv_path_LDD+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17407 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
17410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17411 as_dummy
="/sbin:/usr/sbin:$PATH"
17412 for as_dir
in $as_dummy
17415 test -z "$as_dir" && as_dir
=.
17416 for ac_exec_ext
in '' $ac_executable_extensions; do
17417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17418 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
17419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17426 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
17430 LDD
=$ac_cv_path_LDD
17431 if test -n "$LDD"; then
17432 { echo "$as_me:$LINENO: result: $LDD" >&5
17433 echo "${ECHO_T}$LDD" >&6; }
17435 { echo "$as_me:$LINENO: result: no" >&5
17436 echo "${ECHO_T}no" >&6; }
17440 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
17441 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
17442 if test "${ac_cv_lib_soname_X11+set}" = set; then
17443 echo $ECHO_N "(cached) $ECHO_C" >&6
17445 ac_get_soname_save_LIBS
=$LIBS
17446 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
17447 cat >conftest.
$ac_ext <<_ACEOF
17450 cat confdefs.h
>>conftest.
$ac_ext
17451 cat >>conftest.
$ac_ext <<_ACEOF
17452 /* end confdefs.h. */
17454 /* Override any GCC internal prototype to avoid an error.
17455 Use char because int might match the return type of a GCC
17456 builtin and then its argument prototype would still apply. */
17460 char XCreateWindow ();
17464 return XCreateWindow ();
17469 rm -f conftest.
$ac_objext conftest
$ac_exeext
17470 if { (ac_try
="$ac_link"
17471 case "(($ac_try" in
17472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17473 *) ac_try_echo=$ac_try;;
17475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17476 (eval "$ac_link") 2>conftest.er1
17478 grep -v '^ *+' conftest.er1 >conftest.err
17480 cat conftest.err >&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); } &&
17483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17484 { (case "(($ac_try" in
17485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17486 *) ac_try_echo
=$ac_try;;
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_try") 2>&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }; } &&
17493 { ac_try
='test -s conftest$ac_exeext'
17494 { (case "(($ac_try" in
17495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17496 *) ac_try_echo=$ac_try;;
17498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17499 (eval "$ac_try") 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; }; then
17503 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libX11
\\.
$LIBEXT |
sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17504 if test "x$ac_cv_lib_soname_X11" = "x"
17506 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17509 echo "$as_me: failed program was:" >&5
17510 sed 's/^/| /' conftest.$ac_ext >&5
17512 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17515 rm -f core conftest.err conftest.$ac_objext \
17516 conftest$ac_exeext conftest.$ac_ext
17517 LIBS=$ac_get_soname_save_LIBS
17519 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
17520 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
17521 if test "${ac_cv_lib_soname_X11+set}" = set; then
17523 cat >>confdefs.h <<_ACEOF
17524 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
17529 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
17530 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
17531 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17532 echo $ECHO_N "(cached) $ECHO_C" >&6
17534 ac_get_soname_save_LIBS=$LIBS
17535 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
17536 cat >conftest.$ac_ext <<_ACEOF
17539 cat confdefs.h >>conftest.$ac_ext
17540 cat >>conftest.$ac_ext <<_ACEOF
17541 /* end confdefs.h. */
17543 /* Override any GCC internal prototype to avoid an error.
17544 Use char because int might match the return type of a GCC
17545 builtin and then its argument prototype would still apply. */
17549 char XextCreateExtension ();
17553 return XextCreateExtension ();
17558 rm -f conftest.$ac_objext conftest$ac_exeext
17559 if { (ac_try="$ac_link"
17560 case "(($ac_try" in
17561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17562 *) ac_try_echo
=$ac_try;;
17564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17565 (eval "$ac_link") 2>conftest.er1
17567 grep -v '^ *+' conftest.er1
>conftest.err
17569 cat conftest.err
>&5
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); } &&
17572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17573 { (case "(($ac_try" in
17574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17575 *) ac_try_echo=$ac_try;;
17577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17578 (eval "$ac_try") 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; } &&
17582 { ac_try='test -s conftest$ac_exeext'
17583 { (case "(($ac_try" in
17584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17585 *) ac_try_echo
=$ac_try;;
17587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17588 (eval "$ac_try") 2>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; }; then
17592 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17593 if test "x$ac_cv_lib_soname_Xext" = "x"
17595 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.
$ac_ext >&5
17601 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
17604 rm -f core conftest.err conftest.
$ac_objext \
17605 conftest
$ac_exeext conftest.
$ac_ext
17606 LIBS
=$ac_get_soname_save_LIBS
17608 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
17609 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
17610 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17612 cat >>confdefs.h
<<_ACEOF
17613 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
17618 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
17619 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
17620 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17621 echo $ECHO_N "(cached) $ECHO_C" >&6
17623 ac_get_soname_save_LIBS
=$LIBS
17624 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17625 cat >conftest.
$ac_ext <<_ACEOF
17628 cat confdefs.h
>>conftest.
$ac_ext
17629 cat >>conftest.
$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17632 /* Override any GCC internal prototype to avoid an error.
17633 Use char because int might match the return type of a GCC
17634 builtin and then its argument prototype would still apply. */
17638 char XOpenDevice ();
17642 return XOpenDevice ();
17647 rm -f conftest.
$ac_objext conftest
$ac_exeext
17648 if { (ac_try
="$ac_link"
17649 case "(($ac_try" in
17650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17651 *) ac_try_echo=$ac_try;;
17653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17654 (eval "$ac_link") 2>conftest.er1
17656 grep -v '^ *+' conftest.er1 >conftest.err
17658 cat conftest.err >&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); } &&
17661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17662 { (case "(($ac_try" in
17663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17664 *) ac_try_echo
=$ac_try;;
17666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17667 (eval "$ac_try") 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; } &&
17671 { ac_try
='test -s conftest$ac_exeext'
17672 { (case "(($ac_try" in
17673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17674 *) ac_try_echo=$ac_try;;
17676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17677 (eval "$ac_try") 2>&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; }; then
17681 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXi
\\.
$LIBEXT |
sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17682 if test "x$ac_cv_lib_soname_Xi" = "x"
17684 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17690 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17693 rm -f core conftest.err conftest.$ac_objext \
17694 conftest$ac_exeext conftest.$ac_ext
17695 LIBS=$ac_get_soname_save_LIBS
17697 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
17698 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
17699 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17701 cat >>confdefs.h <<_ACEOF
17702 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
17707 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
17708 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
17709 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17710 echo $ECHO_N "(cached) $ECHO_C" >&6
17712 ac_get_soname_save_LIBS=$LIBS
17713 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17714 cat >conftest.$ac_ext <<_ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17721 /* Override any GCC internal prototype to avoid an error.
17722 Use char because int might match the return type of a GCC
17723 builtin and then its argument prototype would still apply. */
17727 char XRenderQueryExtension ();
17731 return XRenderQueryExtension ();
17736 rm -f conftest.$ac_objext conftest$ac_exeext
17737 if { (ac_try="$ac_link"
17738 case "(($ac_try" in
17739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17740 *) ac_try_echo
=$ac_try;;
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_link") 2>conftest.er1
17745 grep -v '^ *+' conftest.er1
>conftest.err
17747 cat conftest.err
>&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } &&
17750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17751 { (case "(($ac_try" in
17752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17753 *) ac_try_echo=$ac_try;;
17755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17756 (eval "$ac_try") 2>&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try='test -s conftest$ac_exeext'
17761 { (case "(($ac_try" in
17762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17763 *) ac_try_echo
=$ac_try;;
17765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17766 (eval "$ac_try") 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; }; then
17770 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17771 if test "x$ac_cv_lib_soname_Xrender" = "x"
17773 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.
$ac_ext >&5
17779 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
17782 rm -f core conftest.err conftest.
$ac_objext \
17783 conftest
$ac_exeext conftest.
$ac_ext
17784 LIBS
=$ac_get_soname_save_LIBS
17786 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
17787 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
17788 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17790 cat >>confdefs.h
<<_ACEOF
17791 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
17796 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
17797 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
17798 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17799 echo $ECHO_N "(cached) $ECHO_C" >&6
17801 ac_get_soname_save_LIBS
=$LIBS
17802 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17803 cat >conftest.
$ac_ext <<_ACEOF
17806 cat confdefs.h
>>conftest.
$ac_ext
17807 cat >>conftest.
$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17810 /* Override any GCC internal prototype to avoid an error.
17811 Use char because int might match the return type of a GCC
17812 builtin and then its argument prototype would still apply. */
17816 char XRRQueryExtension ();
17820 return XRRQueryExtension ();
17825 rm -f conftest.
$ac_objext conftest
$ac_exeext
17826 if { (ac_try
="$ac_link"
17827 case "(($ac_try" in
17828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17829 *) ac_try_echo=$ac_try;;
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_link") 2>conftest.er1
17834 grep -v '^ *+' conftest.er1 >conftest.err
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } &&
17839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17840 { (case "(($ac_try" in
17841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17842 *) ac_try_echo
=$ac_try;;
17844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17845 (eval "$ac_try") 2>&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); }; } &&
17849 { ac_try
='test -s conftest$ac_exeext'
17850 { (case "(($ac_try" in
17851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17852 *) ac_try_echo=$ac_try;;
17854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17855 (eval "$ac_try") 2>&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); }; }; then
17859 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrandr
\\.
$LIBEXT |
sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17860 if test "x$ac_cv_lib_soname_Xrandr" = "x"
17862 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17868 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17871 rm -f core conftest.err conftest.$ac_objext \
17872 conftest$ac_exeext conftest.$ac_ext
17873 LIBS=$ac_get_soname_save_LIBS
17875 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
17876 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
17877 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17879 cat >>confdefs.h <<_ACEOF
17880 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17885 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17886 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17887 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17888 echo $ECHO_N "(cached) $ECHO_C" >&6
17890 ac_get_soname_save_LIBS=$LIBS
17891 LIBS="-lfreetype $X_LIBS $LIBS"
17892 cat >conftest.$ac_ext <<_ACEOF
17895 cat confdefs.h >>conftest.$ac_ext
17896 cat >>conftest.$ac_ext <<_ACEOF
17897 /* end confdefs.h. */
17899 /* Override any GCC internal prototype to avoid an error.
17900 Use char because int might match the return type of a GCC
17901 builtin and then its argument prototype would still apply. */
17905 char FT_Init_FreeType ();
17909 return FT_Init_FreeType ();
17914 rm -f conftest.$ac_objext conftest$ac_exeext
17915 if { (ac_try="$ac_link"
17916 case "(($ac_try" in
17917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17918 *) ac_try_echo
=$ac_try;;
17920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17921 (eval "$ac_link") 2>conftest.er1
17923 grep -v '^ *+' conftest.er1
>conftest.err
17925 cat conftest.err
>&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); } &&
17928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17929 { (case "(($ac_try" in
17930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17931 *) ac_try_echo=$ac_try;;
17933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17934 (eval "$ac_try") 2>&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; } &&
17938 { ac_try='test -s conftest$ac_exeext'
17939 { (case "(($ac_try" in
17940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17941 *) ac_try_echo
=$ac_try;;
17943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17944 (eval "$ac_try") 2>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; }; then
17948 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17949 if test "x$ac_cv_lib_soname_freetype" = "x"
17951 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.
$ac_ext >&5
17957 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
17960 rm -f core conftest.err conftest.
$ac_objext \
17961 conftest
$ac_exeext conftest.
$ac_ext
17962 LIBS
=$ac_get_soname_save_LIBS
17964 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17965 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17966 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17968 cat >>confdefs.h
<<_ACEOF
17969 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17974 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17975 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17976 if test "${ac_cv_lib_soname_GL+set}" = set; then
17977 echo $ECHO_N "(cached) $ECHO_C" >&6
17979 ac_get_soname_save_LIBS
=$LIBS
17980 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17981 cat >conftest.
$ac_ext <<_ACEOF
17984 cat confdefs.h
>>conftest.
$ac_ext
17985 cat >>conftest.
$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17988 /* Override any GCC internal prototype to avoid an error.
17989 Use char because int might match the return type of a GCC
17990 builtin and then its argument prototype would still apply. */
17994 char glXQueryExtension ();
17998 return glXQueryExtension ();
18003 rm -f conftest.
$ac_objext conftest
$ac_exeext
18004 if { (ac_try
="$ac_link"
18005 case "(($ac_try" in
18006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18007 *) ac_try_echo=$ac_try;;
18009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18010 (eval "$ac_link") 2>conftest.er1
18012 grep -v '^ *+' conftest.er1 >conftest.err
18014 cat conftest.err >&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); } &&
18017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18018 { (case "(($ac_try" in
18019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18020 *) ac_try_echo
=$ac_try;;
18022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18023 (eval "$ac_try") 2>&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); }; } &&
18027 { ac_try
='test -s conftest$ac_exeext'
18028 { (case "(($ac_try" in
18029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18030 *) ac_try_echo=$ac_try;;
18032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18033 (eval "$ac_try") 2>&5
18035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18036 (exit $ac_status); }; }; then
18037 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libGL
\\.
$LIBEXT |
sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18038 if test "x$ac_cv_lib_soname_GL" = "x"
18040 ac_cv_lib_soname_GL="libGL.$LIBEXT"
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18046 ac_cv_lib_soname_GL="libGL.$LIBEXT"
18049 rm -f core conftest.err conftest.$ac_objext \
18050 conftest$ac_exeext conftest.$ac_ext
18051 LIBS=$ac_get_soname_save_LIBS
18053 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
18054 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
18055 if test "${ac_cv_lib_soname_GL+set}" = set; then
18057 cat >>confdefs.h <<_ACEOF
18058 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
18063 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
18064 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
18065 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18066 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 ac_get_soname_save_LIBS=$LIBS
18069 LIBS="-ldbus-1 $LIBS"
18070 cat >conftest.$ac_ext <<_ACEOF
18073 cat confdefs.h >>conftest.$ac_ext
18074 cat >>conftest.$ac_ext <<_ACEOF
18075 /* end confdefs.h. */
18077 /* Override any GCC internal prototype to avoid an error.
18078 Use char because int might match the return type of a GCC
18079 builtin and then its argument prototype would still apply. */
18083 char dbus_error_init ();
18087 return dbus_error_init ();
18092 rm -f conftest.$ac_objext conftest$ac_exeext
18093 if { (ac_try="$ac_link"
18094 case "(($ac_try" in
18095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18096 *) ac_try_echo
=$ac_try;;
18098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18099 (eval "$ac_link") 2>conftest.er1
18101 grep -v '^ *+' conftest.er1
>conftest.err
18103 cat conftest.err
>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } &&
18106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18107 { (case "(($ac_try" in
18108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18109 *) ac_try_echo=$ac_try;;
18111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18112 (eval "$ac_try") 2>&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); }; } &&
18116 { ac_try='test -s conftest$ac_exeext'
18117 { (case "(($ac_try" in
18118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18119 *) ac_try_echo
=$ac_try;;
18121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18122 (eval "$ac_try") 2>&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; }; then
18126 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'`
18127 if test "x$ac_cv_lib_soname_dbus_1" = "x"
18129 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
18132 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.
$ac_ext >&5
18135 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
18138 rm -f core conftest.err conftest.
$ac_objext \
18139 conftest
$ac_exeext conftest.
$ac_ext
18140 LIBS
=$ac_get_soname_save_LIBS
18142 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
18143 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
18144 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18146 cat >>confdefs.h
<<_ACEOF
18147 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
18152 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
18153 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
18154 if test "${ac_cv_lib_soname_hal+set}" = set; then
18155 echo $ECHO_N "(cached) $ECHO_C" >&6
18157 ac_get_soname_save_LIBS
=$LIBS
18159 cat >conftest.
$ac_ext <<_ACEOF
18162 cat confdefs.h
>>conftest.
$ac_ext
18163 cat >>conftest.
$ac_ext <<_ACEOF
18164 /* end confdefs.h. */
18166 /* Override any GCC internal prototype to avoid an error.
18167 Use char because int might match the return type of a GCC
18168 builtin and then its argument prototype would still apply. */
18172 char libhal_ctx_new ();
18176 return libhal_ctx_new ();
18181 rm -f conftest.
$ac_objext conftest
$ac_exeext
18182 if { (ac_try
="$ac_link"
18183 case "(($ac_try" in
18184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18185 *) ac_try_echo=$ac_try;;
18187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18188 (eval "$ac_link") 2>conftest.er1
18190 grep -v '^ *+' conftest.er1 >conftest.err
18192 cat conftest.err >&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } &&
18195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18196 { (case "(($ac_try" in
18197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18198 *) ac_try_echo
=$ac_try;;
18200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18201 (eval "$ac_try") 2>&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; } &&
18205 { ac_try
='test -s conftest$ac_exeext'
18206 { (case "(($ac_try" in
18207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18208 *) ac_try_echo=$ac_try;;
18210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18211 (eval "$ac_try") 2>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; }; then
18215 ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.
$LIBEXT |
sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18216 if test "x$ac_cv_lib_soname_hal" = "x"
18218 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.$ac_ext >&5
18224 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18227 rm -f core conftest.err conftest.$ac_objext \
18228 conftest$ac_exeext conftest.$ac_ext
18229 LIBS=$ac_get_soname_save_LIBS
18231 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
18232 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
18233 if test "${ac_cv_lib_soname_hal+set}" = set; then
18235 cat >>confdefs.h <<_ACEOF
18236 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
18241 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
18242 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
18243 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18244 echo $ECHO_N "(cached) $ECHO_C" >&6
18246 ac_get_soname_save_LIBS=$LIBS
18247 LIBS="-ltxc_dxtn $LIBS"
18248 cat >conftest.$ac_ext <<_ACEOF
18251 cat confdefs.h >>conftest.$ac_ext
18252 cat >>conftest.$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18255 /* Override any GCC internal prototype to avoid an error.
18256 Use char because int might match the return type of a GCC
18257 builtin and then its argument prototype would still apply. */
18261 char fetch_2d_texel_rgba_dxt1 ();
18265 return fetch_2d_texel_rgba_dxt1 ();
18270 rm -f conftest.$ac_objext conftest$ac_exeext
18271 if { (ac_try="$ac_link"
18272 case "(($ac_try" in
18273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18274 *) ac_try_echo
=$ac_try;;
18276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18277 (eval "$ac_link") 2>conftest.er1
18279 grep -v '^ *+' conftest.er1
>conftest.err
18281 cat conftest.err
>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } &&
18284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18285 { (case "(($ac_try" in
18286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18287 *) ac_try_echo=$ac_try;;
18289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18290 (eval "$ac_try") 2>&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; } &&
18294 { ac_try='test -s conftest$ac_exeext'
18295 { (case "(($ac_try" in
18296 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18297 *) ac_try_echo
=$ac_try;;
18299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18300 (eval "$ac_try") 2>&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); }; }; then
18304 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'`
18305 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
18307 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.
$ac_ext >&5
18313 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
18316 rm -f core conftest.err conftest.
$ac_objext \
18317 conftest
$ac_exeext conftest.
$ac_ext
18318 LIBS
=$ac_get_soname_save_LIBS
18320 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
18321 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
18322 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18324 cat >>confdefs.h
<<_ACEOF
18325 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
18330 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
18331 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
18332 if test "${ac_cv_lib_soname_cups+set}" = set; then
18333 echo $ECHO_N "(cached) $ECHO_C" >&6
18335 ac_get_soname_save_LIBS
=$LIBS
18336 LIBS
="-lcups $LIBS"
18337 cat >conftest.
$ac_ext <<_ACEOF
18340 cat confdefs.h
>>conftest.
$ac_ext
18341 cat >>conftest.
$ac_ext <<_ACEOF
18342 /* end confdefs.h. */
18344 /* Override any GCC internal prototype to avoid an error.
18345 Use char because int might match the return type of a GCC
18346 builtin and then its argument prototype would still apply. */
18350 char cupsGetDefault ();
18354 return cupsGetDefault ();
18359 rm -f conftest.
$ac_objext conftest
$ac_exeext
18360 if { (ac_try
="$ac_link"
18361 case "(($ac_try" in
18362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18363 *) ac_try_echo=$ac_try;;
18365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18366 (eval "$ac_link") 2>conftest.er1
18368 grep -v '^ *+' conftest.er1 >conftest.err
18370 cat conftest.err >&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } &&
18373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18374 { (case "(($ac_try" in
18375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18376 *) ac_try_echo
=$ac_try;;
18378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18379 (eval "$ac_try") 2>&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); }; } &&
18383 { ac_try
='test -s conftest$ac_exeext'
18384 { (case "(($ac_try" in
18385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18386 *) ac_try_echo=$ac_try;;
18388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18389 (eval "$ac_try") 2>&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; }; then
18393 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.
$LIBEXT |
sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18394 if test "x$ac_cv_lib_soname_cups" = "x"
18396 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18399 echo "$as_me: failed program was:" >&5
18400 sed 's/^/| /' conftest.$ac_ext >&5
18402 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18405 rm -f core conftest.err conftest.$ac_objext \
18406 conftest$ac_exeext conftest.$ac_ext
18407 LIBS=$ac_get_soname_save_LIBS
18409 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
18410 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
18411 if test "${ac_cv_lib_soname_cups+set}" = set; then
18413 cat >>confdefs.h <<_ACEOF
18414 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
18419 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
18420 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
18421 if test "${ac_cv_lib_soname_jack+set}" = set; then
18422 echo $ECHO_N "(cached) $ECHO_C" >&6
18424 ac_get_soname_save_LIBS=$LIBS
18425 LIBS="-ljack $LIBS"
18426 cat >conftest.$ac_ext <<_ACEOF
18429 cat confdefs.h >>conftest.$ac_ext
18430 cat >>conftest.$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18433 /* Override any GCC internal prototype to avoid an error.
18434 Use char because int might match the return type of a GCC
18435 builtin and then its argument prototype would still apply. */
18439 char jack_client_new ();
18443 return jack_client_new ();
18448 rm -f conftest.$ac_objext conftest$ac_exeext
18449 if { (ac_try="$ac_link"
18450 case "(($ac_try" in
18451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18452 *) ac_try_echo
=$ac_try;;
18454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18455 (eval "$ac_link") 2>conftest.er1
18457 grep -v '^ *+' conftest.er1
>conftest.err
18459 cat conftest.err
>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } &&
18462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18463 { (case "(($ac_try" in
18464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18465 *) ac_try_echo=$ac_try;;
18467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18468 (eval "$ac_try") 2>&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; } &&
18472 { ac_try='test -s conftest$ac_exeext'
18473 { (case "(($ac_try" in
18474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18475 *) ac_try_echo
=$ac_try;;
18477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18478 (eval "$ac_try") 2>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; }; then
18482 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18483 if test "x$ac_cv_lib_soname_jack" = "x"
18485 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
18488 echo "$as_me: failed program was:" >&5
18489 sed 's/^/| /' conftest.
$ac_ext >&5
18491 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
18494 rm -f core conftest.err conftest.
$ac_objext \
18495 conftest
$ac_exeext conftest.
$ac_ext
18496 LIBS
=$ac_get_soname_save_LIBS
18498 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
18499 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
18500 if test "${ac_cv_lib_soname_jack+set}" = set; then
18502 cat >>confdefs.h
<<_ACEOF
18503 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
18508 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
18509 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
18510 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6
18513 ac_get_soname_save_LIBS
=$LIBS
18514 LIBS
="-lfontconfig $LIBS"
18515 cat >conftest.
$ac_ext <<_ACEOF
18518 cat confdefs.h
>>conftest.
$ac_ext
18519 cat >>conftest.
$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18522 /* Override any GCC internal prototype to avoid an error.
18523 Use char because int might match the return type of a GCC
18524 builtin and then its argument prototype would still apply. */
18537 rm -f conftest.
$ac_objext conftest
$ac_exeext
18538 if { (ac_try
="$ac_link"
18539 case "(($ac_try" in
18540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18541 *) ac_try_echo=$ac_try;;
18543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18544 (eval "$ac_link") 2>conftest.er1
18546 grep -v '^ *+' conftest.er1 >conftest.err
18548 cat conftest.err >&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); } &&
18551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18552 { (case "(($ac_try" in
18553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18554 *) ac_try_echo
=$ac_try;;
18556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18557 (eval "$ac_try") 2>&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; } &&
18561 { ac_try
='test -s conftest$ac_exeext'
18562 { (case "(($ac_try" in
18563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18564 *) ac_try_echo=$ac_try;;
18566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18567 (eval "$ac_try") 2>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; }; then
18571 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.
$LIBEXT |
sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18572 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18574 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18577 echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.$ac_ext >&5
18580 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18583 rm -f core conftest.err conftest.$ac_objext \
18584 conftest$ac_exeext conftest.$ac_ext
18585 LIBS=$ac_get_soname_save_LIBS
18587 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
18588 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
18589 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18591 cat >>confdefs.h <<_ACEOF
18592 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
18597 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
18598 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
18599 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18600 echo $ECHO_N "(cached) $ECHO_C" >&6
18602 ac_get_soname_save_LIBS=$LIBS
18604 cat >conftest.$ac_ext <<_ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18611 /* Override any GCC internal prototype to avoid an error.
18612 Use char because int might match the return type of a GCC
18613 builtin and then its argument prototype would still apply. */
18617 char SSL_library_init ();
18621 return SSL_library_init ();
18626 rm -f conftest.$ac_objext conftest$ac_exeext
18627 if { (ac_try="$ac_link"
18628 case "(($ac_try" in
18629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18630 *) ac_try_echo
=$ac_try;;
18632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18633 (eval "$ac_link") 2>conftest.er1
18635 grep -v '^ *+' conftest.er1
>conftest.err
18637 cat conftest.err
>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); } &&
18640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18641 { (case "(($ac_try" in
18642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18643 *) ac_try_echo=$ac_try;;
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646 (eval "$ac_try") 2>&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); }; } &&
18650 { ac_try='test -s conftest$ac_exeext'
18651 { (case "(($ac_try" in
18652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18653 *) ac_try_echo
=$ac_try;;
18655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18656 (eval "$ac_try") 2>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); }; }; then
18660 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18661 if test "x$ac_cv_lib_soname_ssl" = "x"
18663 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
18666 echo "$as_me: failed program was:" >&5
18667 sed 's/^/| /' conftest.
$ac_ext >&5
18669 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
18672 rm -f core conftest.err conftest.
$ac_objext \
18673 conftest
$ac_exeext conftest.
$ac_ext
18674 LIBS
=$ac_get_soname_save_LIBS
18676 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
18677 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
18678 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18680 cat >>confdefs.h
<<_ACEOF
18681 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
18686 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
18687 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
18688 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18689 echo $ECHO_N "(cached) $ECHO_C" >&6
18691 ac_get_soname_save_LIBS
=$LIBS
18692 LIBS
="-lcrypto $LIBS"
18693 cat >conftest.
$ac_ext <<_ACEOF
18696 cat confdefs.h
>>conftest.
$ac_ext
18697 cat >>conftest.
$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18700 /* Override any GCC internal prototype to avoid an error.
18701 Use char because int might match the return type of a GCC
18702 builtin and then its argument prototype would still apply. */
18706 char BIO_new_socket ();
18710 return BIO_new_socket ();
18715 rm -f conftest.
$ac_objext conftest
$ac_exeext
18716 if { (ac_try
="$ac_link"
18717 case "(($ac_try" in
18718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18719 *) ac_try_echo=$ac_try;;
18721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18722 (eval "$ac_link") 2>conftest.er1
18724 grep -v '^ *+' conftest.er1 >conftest.err
18726 cat conftest.err >&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } &&
18729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18730 { (case "(($ac_try" in
18731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18732 *) ac_try_echo
=$ac_try;;
18734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18735 (eval "$ac_try") 2>&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; } &&
18739 { ac_try
='test -s conftest$ac_exeext'
18740 { (case "(($ac_try" in
18741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18742 *) ac_try_echo=$ac_try;;
18744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18745 (eval "$ac_try") 2>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; }; then
18749 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.
$LIBEXT |
sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18750 if test "x$ac_cv_lib_soname_crypto" = "x"
18752 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18755 echo "$as_me: failed program was:" >&5
18756 sed 's/^/| /' conftest.$ac_ext >&5
18758 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18761 rm -f core conftest.err conftest.$ac_objext \
18762 conftest$ac_exeext conftest.$ac_ext
18763 LIBS=$ac_get_soname_save_LIBS
18765 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
18766 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
18767 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18769 cat >>confdefs.h <<_ACEOF
18770 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
18775 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
18776 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
18777 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18778 echo $ECHO_N "(cached) $ECHO_C" >&6
18780 ac_get_soname_save_LIBS=$LIBS
18781 LIBS="-lncurses $LIBS"
18782 cat >conftest.$ac_ext <<_ACEOF
18785 cat confdefs.h >>conftest.$ac_ext
18786 cat >>conftest.$ac_ext <<_ACEOF
18787 /* end confdefs.h. */
18789 /* Override any GCC internal prototype to avoid an error.
18790 Use char because int might match the return type of a GCC
18791 builtin and then its argument prototype would still apply. */
18804 rm -f conftest.$ac_objext conftest$ac_exeext
18805 if { (ac_try="$ac_link"
18806 case "(($ac_try" in
18807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18808 *) ac_try_echo
=$ac_try;;
18810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18811 (eval "$ac_link") 2>conftest.er1
18813 grep -v '^ *+' conftest.er1
>conftest.err
18815 cat conftest.err
>&5
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); } &&
18818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18819 { (case "(($ac_try" in
18820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18821 *) ac_try_echo=$ac_try;;
18823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18824 (eval "$ac_try") 2>&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); }; } &&
18828 { ac_try='test -s conftest$ac_exeext'
18829 { (case "(($ac_try" in
18830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18831 *) ac_try_echo
=$ac_try;;
18833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18834 (eval "$ac_try") 2>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); }; }; then
18838 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18839 if test "x$ac_cv_lib_soname_ncurses" = "x"
18841 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.
$ac_ext >&5
18847 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
18850 rm -f core conftest.err conftest.
$ac_objext \
18851 conftest
$ac_exeext conftest.
$ac_ext
18852 LIBS
=$ac_get_soname_save_LIBS
18854 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
18855 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
18856 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18858 cat >>confdefs.h
<<_ACEOF
18859 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
18864 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
18865 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
18866 if test "${ac_cv_lib_soname_curses+set}" = set; then
18867 echo $ECHO_N "(cached) $ECHO_C" >&6
18869 ac_get_soname_save_LIBS
=$LIBS
18870 LIBS
="-lcurses $LIBS"
18871 cat >conftest.
$ac_ext <<_ACEOF
18874 cat confdefs.h
>>conftest.
$ac_ext
18875 cat >>conftest.
$ac_ext <<_ACEOF
18876 /* end confdefs.h. */
18878 /* Override any GCC internal prototype to avoid an error.
18879 Use char because int might match the return type of a GCC
18880 builtin and then its argument prototype would still apply. */
18893 rm -f conftest.
$ac_objext conftest
$ac_exeext
18894 if { (ac_try
="$ac_link"
18895 case "(($ac_try" in
18896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18897 *) ac_try_echo=$ac_try;;
18899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18900 (eval "$ac_link") 2>conftest.er1
18902 grep -v '^ *+' conftest.er1 >conftest.err
18904 cat conftest.err >&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); } &&
18907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18908 { (case "(($ac_try" in
18909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18910 *) ac_try_echo
=$ac_try;;
18912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18913 (eval "$ac_try") 2>&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; } &&
18917 { ac_try
='test -s conftest$ac_exeext'
18918 { (case "(($ac_try" in
18919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18920 *) ac_try_echo=$ac_try;;
18922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18923 (eval "$ac_try") 2>&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); }; }; then
18927 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.
$LIBEXT |
sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18928 if test "x$ac_cv_lib_soname_curses" = "x"
18930 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.$ac_ext >&5
18936 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18939 rm -f core conftest.err conftest.$ac_objext \
18940 conftest$ac_exeext conftest.$ac_ext
18941 LIBS=$ac_get_soname_save_LIBS
18943 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18944 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18945 if test "${ac_cv_lib_soname_curses+set}" = set; then
18947 cat >>confdefs.h <<_ACEOF
18948 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18953 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18954 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18955 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18958 ac_get_soname_save_LIBS=$LIBS
18959 LIBS="-ljpeg $LIBS"
18960 cat >conftest.$ac_ext <<_ACEOF
18963 cat confdefs.h >>conftest.$ac_ext
18964 cat >>conftest.$ac_ext <<_ACEOF
18965 /* end confdefs.h. */
18967 /* Override any GCC internal prototype to avoid an error.
18968 Use char because int might match the return type of a GCC
18969 builtin and then its argument prototype would still apply. */
18973 char jpeg_start_decompress ();
18977 return jpeg_start_decompress ();
18982 rm -f conftest.$ac_objext conftest$ac_exeext
18983 if { (ac_try="$ac_link"
18984 case "(($ac_try" in
18985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18986 *) ac_try_echo
=$ac_try;;
18988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18989 (eval "$ac_link") 2>conftest.er1
18991 grep -v '^ *+' conftest.er1
>conftest.err
18993 cat conftest.err
>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } &&
18996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18997 { (case "(($ac_try" in
18998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18999 *) ac_try_echo=$ac_try;;
19001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19002 (eval "$ac_try") 2>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; } &&
19006 { ac_try='test -s conftest$ac_exeext'
19007 { (case "(($ac_try" in
19008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19009 *) ac_try_echo
=$ac_try;;
19011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19012 (eval "$ac_try") 2>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); }; }; then
19016 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19017 if test "x$ac_cv_lib_soname_jpeg" = "x"
19019 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
19022 echo "$as_me: failed program was:" >&5
19023 sed 's/^/| /' conftest.
$ac_ext >&5
19025 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
19028 rm -f core conftest.err conftest.
$ac_objext \
19029 conftest
$ac_exeext conftest.
$ac_ext
19030 LIBS
=$ac_get_soname_save_LIBS
19032 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
19033 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
19034 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
19036 cat >>confdefs.h
<<_ACEOF
19037 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
19042 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
19043 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
19044 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19045 echo $ECHO_N "(cached) $ECHO_C" >&6
19047 ac_get_soname_save_LIBS
=$LIBS
19048 LIBS
="-lungif $LIBS"
19049 cat >conftest.
$ac_ext <<_ACEOF
19052 cat confdefs.h
>>conftest.
$ac_ext
19053 cat >>conftest.
$ac_ext <<_ACEOF
19054 /* end confdefs.h. */
19056 /* Override any GCC internal prototype to avoid an error.
19057 Use char because int might match the return type of a GCC
19058 builtin and then its argument prototype would still apply. */
19066 return DGifOpen ();
19071 rm -f conftest.
$ac_objext conftest
$ac_exeext
19072 if { (ac_try
="$ac_link"
19073 case "(($ac_try" in
19074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19075 *) ac_try_echo=$ac_try;;
19077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19078 (eval "$ac_link") 2>conftest.er1
19080 grep -v '^ *+' conftest.er1 >conftest.err
19082 cat conftest.err >&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } &&
19085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19086 { (case "(($ac_try" in
19087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19088 *) ac_try_echo
=$ac_try;;
19090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19091 (eval "$ac_try") 2>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); }; } &&
19095 { ac_try
='test -s conftest$ac_exeext'
19096 { (case "(($ac_try" in
19097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19098 *) ac_try_echo=$ac_try;;
19100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19101 (eval "$ac_try") 2>&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); }; }; then
19105 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libungif
\\.
$LIBEXT |
sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19106 if test "x$ac_cv_lib_soname_ungif" = "x"
19108 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19111 echo "$as_me: failed program was:" >&5
19112 sed 's/^/| /' conftest.$ac_ext >&5
19114 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19117 rm -f core conftest.err conftest.$ac_objext \
19118 conftest$ac_exeext conftest.$ac_ext
19119 LIBS=$ac_get_soname_save_LIBS
19121 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
19122 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
19123 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19125 cat >>confdefs.h <<_ACEOF
19126 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
19131 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
19132 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
19133 if test "${ac_cv_lib_soname_gif+set}" = set; then
19134 echo $ECHO_N "(cached) $ECHO_C" >&6
19136 ac_get_soname_save_LIBS=$LIBS
19138 cat >conftest.$ac_ext <<_ACEOF
19141 cat confdefs.h >>conftest.$ac_ext
19142 cat >>conftest.$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19145 /* Override any GCC internal prototype to avoid an error.
19146 Use char because int might match the return type of a GCC
19147 builtin and then its argument prototype would still apply. */
19155 return DGifOpen ();
19160 rm -f conftest.$ac_objext conftest$ac_exeext
19161 if { (ac_try="$ac_link"
19162 case "(($ac_try" in
19163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19164 *) ac_try_echo
=$ac_try;;
19166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19167 (eval "$ac_link") 2>conftest.er1
19169 grep -v '^ *+' conftest.er1
>conftest.err
19171 cat conftest.err
>&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } &&
19174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19175 { (case "(($ac_try" in
19176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19177 *) ac_try_echo=$ac_try;;
19179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19180 (eval "$ac_try") 2>&5
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; } &&
19184 { ac_try='test -s conftest$ac_exeext'
19185 { (case "(($ac_try" in
19186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19187 *) ac_try_echo
=$ac_try;;
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_try") 2>&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); }; }; then
19194 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19195 if test "x$ac_cv_lib_soname_gif" = "x"
19197 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.
$ac_ext >&5
19203 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
19206 rm -f core conftest.err conftest.
$ac_objext \
19207 conftest
$ac_exeext conftest.
$ac_ext
19208 LIBS
=$ac_get_soname_save_LIBS
19210 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
19211 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
19212 if test "${ac_cv_lib_soname_gif+set}" = set; then
19214 cat >>confdefs.h
<<_ACEOF
19215 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
19220 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
19221 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
19222 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19223 echo $ECHO_N "(cached) $ECHO_C" >&6
19225 ac_get_soname_save_LIBS
=$LIBS
19226 LIBS
="-lcapi20 $LIBS"
19227 cat >conftest.
$ac_ext <<_ACEOF
19230 cat confdefs.h
>>conftest.
$ac_ext
19231 cat >>conftest.
$ac_ext <<_ACEOF
19232 /* end confdefs.h. */
19234 /* Override any GCC internal prototype to avoid an error.
19235 Use char because int might match the return type of a GCC
19236 builtin and then its argument prototype would still apply. */
19240 char capi20_isinstalled ();
19244 return capi20_isinstalled ();
19249 rm -f conftest.
$ac_objext conftest
$ac_exeext
19250 if { (ac_try
="$ac_link"
19251 case "(($ac_try" in
19252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19253 *) ac_try_echo=$ac_try;;
19255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19256 (eval "$ac_link") 2>conftest.er1
19258 grep -v '^ *+' conftest.er1 >conftest.err
19260 cat conftest.err >&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); } &&
19263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19264 { (case "(($ac_try" in
19265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19266 *) ac_try_echo
=$ac_try;;
19268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19269 (eval "$ac_try") 2>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; } &&
19273 { ac_try
='test -s conftest$ac_exeext'
19274 { (case "(($ac_try" in
19275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19276 *) ac_try_echo=$ac_try;;
19278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19279 (eval "$ac_try") 2>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); }; }; then
19283 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.
$LIBEXT |
sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19284 if test "x$ac_cv_lib_soname_capi20" = "x"
19286 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19289 echo "$as_me: failed program was:" >&5
19290 sed 's/^/| /' conftest.$ac_ext >&5
19292 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19295 rm -f core conftest.err conftest.$ac_objext \
19296 conftest$ac_exeext conftest.$ac_ext
19297 LIBS=$ac_get_soname_save_LIBS
19299 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
19300 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
19301 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19303 cat >>confdefs.h <<_ACEOF
19304 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
19446 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
19447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19450 echo $ECHO_N "(cached) $ECHO_C" >&6
19452 cat >conftest.$ac_ext <<_ACEOF
19455 cat confdefs.h >>conftest.$ac_ext
19456 cat >>conftest.$ac_ext <<_ACEOF
19457 /* end confdefs.h. */
19458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19460 #define $ac_func innocuous_$ac_func
19462 /* System header to define __stub macros and hopefully few prototypes,
19463 which can conflict with char $ac_func (); below.
19464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19465 <limits.h> exists even on freestanding compilers. */
19468 # include <limits.h>
19470 # include <assert.h>
19475 /* Override any GCC internal prototype to avoid an error.
19476 Use char because int might match the return type of a GCC
19477 builtin and then its argument prototype would still apply. */
19482 /* The GNU C library defines this for functions which it implements
19483 to always fail with ENOSYS. Some functions are actually named
19484 something starting with __ and the normal name is an alias. */
19485 #if defined __stub_$ac_func || defined __stub___$ac_func
19492 return $ac_func ();
19497 rm -f conftest.$ac_objext conftest$ac_exeext
19498 if { (ac_try="$ac_link"
19499 case "(($ac_try" in
19500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19501 *) ac_try_echo
=$ac_try;;
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_link") 2>conftest.er1
19506 grep -v '^ *+' conftest.er1
>conftest.err
19508 cat conftest.err
>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19512 { (case "(($ac_try" in
19513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19514 *) ac_try_echo=$ac_try;;
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_try") 2>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; } &&
19521 { ac_try='test -s conftest$ac_exeext'
19522 { (case "(($ac_try" in
19523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19524 *) ac_try_echo
=$ac_try;;
19526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_try") 2>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; }; then
19531 eval "$as_ac_var=yes"
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.
$ac_ext >&5
19536 eval "$as_ac_var=no"
19539 rm -f core conftest.err conftest.
$ac_objext \
19540 conftest
$ac_exeext conftest.
$ac_ext
19542 ac_res
=`eval echo '${'$as_ac_var'}'`
19543 { echo "$as_me:$LINENO: result: $ac_res" >&5
19544 echo "${ECHO_T}$ac_res" >&6; }
19545 if test `eval echo '${'$as_ac_var'}'` = yes; then
19546 cat >>confdefs.h
<<_ACEOF
19547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19556 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19557 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19558 if test "${ac_cv_c_const+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 cat >conftest.
$ac_ext <<_ACEOF
19564 cat confdefs.h
>>conftest.
$ac_ext
19565 cat >>conftest.
$ac_ext <<_ACEOF
19566 /* end confdefs.h. */
19571 /* FIXME: Include the comments suggested by Paul. */
19572 #ifndef __cplusplus
19573 /* Ultrix mips cc rejects this. */
19574 typedef int charset[2];
19576 /* SunOS 4.1.1 cc rejects this. */
19577 char const *const *ccp;
19579 /* NEC SVR4.0.2 mips cc rejects this. */
19580 struct point {int x, y;};
19581 static struct point const zero = {0,0};
19582 /* AIX XL C 1.02.0.0 rejects this.
19583 It does not let you subtract one const X* pointer from another in
19584 an arm of an if-expression whose if-part is not a constant
19586 const char *g = "string";
19587 ccp = &g + (g ? g-g : 0);
19588 /* HPUX 7.0 cc rejects these. */
19591 ccp = (char const *const *) p;
19592 { /* SCO 3.2v4 cc rejects this. */
19594 char const *s = 0 ? (char *) 0 : (char const *) 0;
19599 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19600 int x[] = {25, 17};
19601 const int *foo = &x[0];
19604 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19605 typedef const int *iptr;
19609 { /* AIX XL C 1.02.0.0 rejects this saying
19610 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19611 struct s { int j; const int *ap[3]; };
19612 struct s *b; b->j = 5;
19614 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19615 const int foo = 10;
19616 if (!foo) return 0;
19618 return !x[0] && !zero.x;
19625 rm -f conftest.
$ac_objext
19626 if { (ac_try
="$ac_compile"
19627 case "(($ac_try" in
19628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19629 *) ac_try_echo=$ac_try;;
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_compile") 2>conftest.er1
19634 grep -v '^ *+' conftest.er1 >conftest.err
19636 cat conftest.err >&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } &&
19639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19640 { (case "(($ac_try" in
19641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19642 *) ac_try_echo
=$ac_try;;
19644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19645 (eval "$ac_try") 2>&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); }; } &&
19649 { ac_try
='test -s conftest.$ac_objext'
19650 { (case "(($ac_try" in
19651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19652 *) ac_try_echo=$ac_try;;
19654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19655 (eval "$ac_try") 2>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; }; then
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.$ac_ext >&5
19667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19669 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19670 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19671 if test $ac_cv_c_const = no; then
19673 cat >>confdefs.h <<\_ACEOF
19679 { echo "$as_me:$LINENO: checking for inline" >&5
19680 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19681 if test "${ac_cv_c_inline+set}" = set; then
19682 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 for ac_kw in inline __inline__ __inline; do
19686 cat >conftest.$ac_ext <<_ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 #ifndef __cplusplus
19694 static $ac_kw foo_t static_foo () {return 0; }
19695 $ac_kw foo_t foo () {return 0; }
19699 rm -f conftest.$ac_objext
19700 if { (ac_try="$ac_compile"
19701 case "(($ac_try" in
19702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19703 *) ac_try_echo
=$ac_try;;
19705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19706 (eval "$ac_compile") 2>conftest.er1
19708 grep -v '^ *+' conftest.er1
>conftest.err
19710 cat conftest.err
>&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } &&
19713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19714 { (case "(($ac_try" in
19715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_try") 2>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); }; } &&
19723 { ac_try='test -s conftest.$ac_objext'
19724 { (case "(($ac_try" in
19725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19726 *) ac_try_echo
=$ac_try;;
19728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19729 (eval "$ac_try") 2>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); }; }; then
19733 ac_cv_c_inline
=$ac_kw
19735 echo "$as_me: failed program was:" >&5
19736 sed 's/^/| /' conftest.
$ac_ext >&5
19741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19742 test "$ac_cv_c_inline" != no
&& break
19746 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19747 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19750 case $ac_cv_c_inline in
19753 case $ac_cv_c_inline in
19755 *) ac_val
=$ac_cv_c_inline;;
19757 cat >>confdefs.h
<<_ACEOF
19758 #ifndef __cplusplus
19759 #define inline $ac_val
19765 { echo "$as_me:$LINENO: checking for mode_t" >&5
19766 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19767 if test "${ac_cv_type_mode_t+set}" = set; then
19768 echo $ECHO_N "(cached) $ECHO_C" >&6
19770 cat >conftest.
$ac_ext <<_ACEOF
19773 cat confdefs.h
>>conftest.
$ac_ext
19774 cat >>conftest.
$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 $ac_includes_default
19777 typedef mode_t ac__type_new_;
19781 if ((ac__type_new_ *) 0)
19783 if (sizeof (ac__type_new_))
19789 rm -f conftest.
$ac_objext
19790 if { (ac_try
="$ac_compile"
19791 case "(($ac_try" in
19792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_compile") 2>conftest.er1
19798 grep -v '^ *+' conftest.er1 >conftest.err
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } &&
19803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19804 { (case "(($ac_try" in
19805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19806 *) ac_try_echo
=$ac_try;;
19808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19809 (eval "$ac_try") 2>&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); }; } &&
19813 { ac_try
='test -s conftest.$ac_objext'
19814 { (case "(($ac_try" in
19815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19816 *) ac_try_echo=$ac_try;;
19818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19819 (eval "$ac_try") 2>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; }; then
19823 ac_cv_type_mode_t=yes
19825 echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19828 ac_cv_type_mode_t=no
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19833 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19834 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19835 if test $ac_cv_type_mode_t = yes; then
19837 cat >>confdefs.h <<_ACEOF
19838 #define HAVE_MODE_T 1
19843 { echo "$as_me:$LINENO: checking for off_t" >&5
19844 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19845 if test "${ac_cv_type_off_t+set}" = set; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6
19848 cat >conftest.$ac_ext <<_ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854 $ac_includes_default
19855 typedef off_t ac__type_new_;
19859 if ((ac__type_new_ *) 0)
19861 if (sizeof (ac__type_new_))
19867 rm -f conftest.$ac_objext
19868 if { (ac_try="$ac_compile"
19869 case "(($ac_try" in
19870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19871 *) ac_try_echo
=$ac_try;;
19873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19874 (eval "$ac_compile") 2>conftest.er1
19876 grep -v '^ *+' conftest.er1
>conftest.err
19878 cat conftest.err
>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); } &&
19881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19882 { (case "(($ac_try" in
19883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19884 *) ac_try_echo=$ac_try;;
19886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19887 (eval "$ac_try") 2>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; } &&
19891 { ac_try='test -s conftest.$ac_objext'
19892 { (case "(($ac_try" in
19893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19894 *) ac_try_echo
=$ac_try;;
19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19897 (eval "$ac_try") 2>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); }; }; then
19901 ac_cv_type_off_t
=yes
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.
$ac_ext >&5
19906 ac_cv_type_off_t
=no
19909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19911 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19912 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19913 if test $ac_cv_type_off_t = yes; then
19915 cat >>confdefs.h
<<_ACEOF
19916 #define HAVE_OFF_T 1
19921 { echo "$as_me:$LINENO: checking for pid_t" >&5
19922 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19923 if test "${ac_cv_type_pid_t+set}" = set; then
19924 echo $ECHO_N "(cached) $ECHO_C" >&6
19926 cat >conftest.
$ac_ext <<_ACEOF
19929 cat confdefs.h
>>conftest.
$ac_ext
19930 cat >>conftest.
$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19932 $ac_includes_default
19933 typedef pid_t ac__type_new_;
19937 if ((ac__type_new_ *) 0)
19939 if (sizeof (ac__type_new_))
19945 rm -f conftest.
$ac_objext
19946 if { (ac_try
="$ac_compile"
19947 case "(($ac_try" in
19948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19949 *) ac_try_echo=$ac_try;;
19951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19952 (eval "$ac_compile") 2>conftest.er1
19954 grep -v '^ *+' conftest.er1 >conftest.err
19956 cat conftest.err >&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); } &&
19959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19960 { (case "(($ac_try" in
19961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19962 *) ac_try_echo
=$ac_try;;
19964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19965 (eval "$ac_try") 2>&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try
='test -s conftest.$ac_objext'
19970 { (case "(($ac_try" in
19971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19972 *) ac_try_echo=$ac_try;;
19974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19975 (eval "$ac_try") 2>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_cv_type_pid_t=yes
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19984 ac_cv_type_pid_t=no
19987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19989 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19990 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19991 if test $ac_cv_type_pid_t = yes; then
19993 cat >>confdefs.h <<_ACEOF
19994 #define HAVE_PID_T 1
19999 { echo "$as_me:$LINENO: checking for size_t" >&5
20000 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20001 if test "${ac_cv_type_size_t+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 cat >conftest.$ac_ext <<_ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 $ac_includes_default
20011 typedef size_t ac__type_new_;
20015 if ((ac__type_new_ *) 0)
20017 if (sizeof (ac__type_new_))
20023 rm -f conftest.$ac_objext
20024 if { (ac_try="$ac_compile"
20025 case "(($ac_try" in
20026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20027 *) ac_try_echo
=$ac_try;;
20029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_compile") 2>conftest.er1
20032 grep -v '^ *+' conftest.er1
>conftest.err
20034 cat conftest.err
>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } &&
20037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20038 { (case "(($ac_try" in
20039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20040 *) ac_try_echo=$ac_try;;
20042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20043 (eval "$ac_try") 2>&5
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; } &&
20047 { ac_try='test -s conftest.$ac_objext'
20048 { (case "(($ac_try" in
20049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20050 *) ac_try_echo
=$ac_try;;
20052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20053 (eval "$ac_try") 2>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; }; then
20057 ac_cv_type_size_t
=yes
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.
$ac_ext >&5
20062 ac_cv_type_size_t
=no
20065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20067 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20068 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20069 if test $ac_cv_type_size_t = yes; then
20071 cat >>confdefs.h
<<_ACEOF
20072 #define HAVE_SIZE_T 1
20077 { echo "$as_me:$LINENO: checking for ssize_t" >&5
20078 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
20079 if test "${ac_cv_type_ssize_t+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 cat >conftest.
$ac_ext <<_ACEOF
20085 cat confdefs.h
>>conftest.
$ac_ext
20086 cat >>conftest.
$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 $ac_includes_default
20089 typedef ssize_t ac__type_new_;
20093 if ((ac__type_new_ *) 0)
20095 if (sizeof (ac__type_new_))
20101 rm -f conftest.
$ac_objext
20102 if { (ac_try
="$ac_compile"
20103 case "(($ac_try" in
20104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20105 *) ac_try_echo=$ac_try;;
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compile") 2>conftest.er1
20110 grep -v '^ *+' conftest.er1 >conftest.err
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } &&
20115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20116 { (case "(($ac_try" in
20117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20118 *) ac_try_echo
=$ac_try;;
20120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_try") 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; } &&
20125 { ac_try
='test -s conftest.$ac_objext'
20126 { (case "(($ac_try" in
20127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_try") 2>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20135 ac_cv_type_ssize_t=yes
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.$ac_ext >&5
20140 ac_cv_type_ssize_t=no
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20145 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
20146 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
20147 if test $ac_cv_type_ssize_t = yes; then
20149 cat >>confdefs.h <<_ACEOF
20150 #define HAVE_SSIZE_T 1
20155 { echo "$as_me:$LINENO: checking for long long" >&5
20156 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20157 if test "${ac_cv_type_long_long+set}" = set; then
20158 echo $ECHO_N "(cached) $ECHO_C" >&6
20160 cat >conftest.$ac_ext <<_ACEOF
20163 cat confdefs.h >>conftest.$ac_ext
20164 cat >>conftest.$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20166 $ac_includes_default
20167 typedef long long ac__type_new_;
20171 if ((ac__type_new_ *) 0)
20173 if (sizeof (ac__type_new_))
20179 rm -f conftest.$ac_objext
20180 if { (ac_try="$ac_compile"
20181 case "(($ac_try" in
20182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20183 *) ac_try_echo
=$ac_try;;
20185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20186 (eval "$ac_compile") 2>conftest.er1
20188 grep -v '^ *+' conftest.er1
>conftest.err
20190 cat conftest.err
>&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } &&
20193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20194 { (case "(($ac_try" in
20195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20196 *) ac_try_echo=$ac_try;;
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_try") 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; } &&
20203 { ac_try='test -s conftest.$ac_objext'
20204 { (case "(($ac_try" in
20205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20206 *) ac_try_echo
=$ac_try;;
20208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20209 (eval "$ac_try") 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_type_long_long
=yes
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.
$ac_ext >&5
20218 ac_cv_type_long_long
=no
20221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20223 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20224 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20225 if test $ac_cv_type_long_long = yes; then
20227 cat >>confdefs.h
<<_ACEOF
20228 #define HAVE_LONG_LONG 1
20233 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
20234 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
20235 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 cat >conftest.
$ac_ext <<_ACEOF
20241 cat confdefs.h
>>conftest.
$ac_ext
20242 cat >>conftest.
$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20244 $ac_includes_default
20245 typedef fsblkcnt_t ac__type_new_;
20249 if ((ac__type_new_ *) 0)
20251 if (sizeof (ac__type_new_))
20257 rm -f conftest.
$ac_objext
20258 if { (ac_try
="$ac_compile"
20259 case "(($ac_try" in
20260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_compile") 2>conftest.er1
20266 grep -v '^ *+' conftest.er1 >conftest.err
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } &&
20271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20272 { (case "(($ac_try" in
20273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20274 *) ac_try_echo
=$ac_try;;
20276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20277 (eval "$ac_try") 2>&5
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; } &&
20281 { ac_try
='test -s conftest.$ac_objext'
20282 { (case "(($ac_try" in
20283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20284 *) ac_try_echo=$ac_try;;
20286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20287 (eval "$ac_try") 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); }; }; then
20291 ac_cv_type_fsblkcnt_t=yes
20293 echo "$as_me: failed program was:" >&5
20294 sed 's/^/| /' conftest.$ac_ext >&5
20296 ac_cv_type_fsblkcnt_t=no
20299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20301 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
20302 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
20303 if test $ac_cv_type_fsblkcnt_t = yes; then
20305 cat >>confdefs.h <<_ACEOF
20306 #define HAVE_FSBLKCNT_T 1
20311 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
20312 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
20313 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
20314 echo $ECHO_N "(cached) $ECHO_C" >&6
20316 cat >conftest.$ac_ext <<_ACEOF
20319 cat confdefs.h >>conftest.$ac_ext
20320 cat >>conftest.$ac_ext <<_ACEOF
20321 /* end confdefs.h. */
20322 $ac_includes_default
20323 typedef fsfilcnt_t ac__type_new_;
20327 if ((ac__type_new_ *) 0)
20329 if (sizeof (ac__type_new_))
20335 rm -f conftest.$ac_objext
20336 if { (ac_try="$ac_compile"
20337 case "(($ac_try" in
20338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20339 *) ac_try_echo
=$ac_try;;
20341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval "$ac_compile") 2>conftest.er1
20344 grep -v '^ *+' conftest.er1
>conftest.err
20346 cat conftest.err
>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } &&
20349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20350 { (case "(($ac_try" in
20351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20352 *) ac_try_echo=$ac_try;;
20354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20355 (eval "$ac_try") 2>&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; } &&
20359 { ac_try='test -s conftest.$ac_objext'
20360 { (case "(($ac_try" in
20361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20362 *) ac_try_echo
=$ac_try;;
20364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20365 (eval "$ac_try") 2>&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); }; }; then
20369 ac_cv_type_fsfilcnt_t
=yes
20371 echo "$as_me: failed program was:" >&5
20372 sed 's/^/| /' conftest.
$ac_ext >&5
20374 ac_cv_type_fsfilcnt_t
=no
20377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20379 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20380 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
20381 if test $ac_cv_type_fsfilcnt_t = yes; then
20383 cat >>confdefs.h
<<_ACEOF
20384 #define HAVE_FSFILCNT_T 1
20390 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20391 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20392 if test "${ac_cv_type_sigset_t+set}" = set; then
20393 echo $ECHO_N "(cached) $ECHO_C" >&6
20395 cat >conftest.
$ac_ext <<_ACEOF
20398 cat confdefs.h
>>conftest.
$ac_ext
20399 cat >>conftest.
$ac_ext <<_ACEOF
20400 /* end confdefs.h. */
20401 #include <signal.h>
20403 typedef sigset_t ac__type_new_;
20407 if ((ac__type_new_ *) 0)
20409 if (sizeof (ac__type_new_))
20415 rm -f conftest.
$ac_objext
20416 if { (ac_try
="$ac_compile"
20417 case "(($ac_try" in
20418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20419 *) ac_try_echo=$ac_try;;
20421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20422 (eval "$ac_compile") 2>conftest.er1
20424 grep -v '^ *+' conftest.er1 >conftest.err
20426 cat conftest.err >&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } &&
20429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20430 { (case "(($ac_try" in
20431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20432 *) ac_try_echo
=$ac_try;;
20434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20435 (eval "$ac_try") 2>&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; } &&
20439 { ac_try
='test -s conftest.$ac_objext'
20440 { (case "(($ac_try" in
20441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20442 *) ac_try_echo=$ac_try;;
20444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20445 (eval "$ac_try") 2>&5
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); }; }; then
20449 ac_cv_type_sigset_t=yes
20451 echo "$as_me: failed program was:" >&5
20452 sed 's/^/| /' conftest.$ac_ext >&5
20454 ac_cv_type_sigset_t=no
20457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20459 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20460 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20461 if test $ac_cv_type_sigset_t = yes; then
20463 cat >>confdefs.h <<_ACEOF
20464 #define HAVE_SIGSET_T 1
20470 { echo "$as_me:$LINENO: checking for request_sense" >&5
20471 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20472 if test "${ac_cv_type_request_sense+set}" = set; then
20473 echo $ECHO_N "(cached) $ECHO_C" >&6
20475 cat >conftest.$ac_ext <<_ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 #include <linux/cdrom.h>
20483 typedef request_sense ac__type_new_;
20487 if ((ac__type_new_ *) 0)
20489 if (sizeof (ac__type_new_))
20495 rm -f conftest.$ac_objext
20496 if { (ac_try="$ac_compile"
20497 case "(($ac_try" in
20498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20499 *) ac_try_echo
=$ac_try;;
20501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20502 (eval "$ac_compile") 2>conftest.er1
20504 grep -v '^ *+' conftest.er1
>conftest.err
20506 cat conftest.err
>&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); } &&
20509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20510 { (case "(($ac_try" in
20511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_try") 2>&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; } &&
20519 { ac_try='test -s conftest.$ac_objext'
20520 { (case "(($ac_try" in
20521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20522 *) ac_try_echo
=$ac_try;;
20524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20525 (eval "$ac_try") 2>&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); }; }; then
20529 ac_cv_type_request_sense
=yes
20531 echo "$as_me: failed program was:" >&5
20532 sed 's/^/| /' conftest.
$ac_ext >&5
20534 ac_cv_type_request_sense
=no
20537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20539 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20540 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20541 if test $ac_cv_type_request_sense = yes; then
20543 cat >>confdefs.h
<<_ACEOF
20544 #define HAVE_REQUEST_SENSE 1
20551 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20552 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20553 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20554 echo $ECHO_N "(cached) $ECHO_C" >&6
20556 cat >conftest.
$ac_ext <<_ACEOF
20559 cat confdefs.h
>>conftest.
$ac_ext
20560 cat >>conftest.
$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20562 #ifdef HAVE_LINUX_INPUT_H
20563 #include <linux/input.h>
20569 static struct ff_effect ac_aggr;
20570 if (ac_aggr.direction)
20576 rm -f conftest.
$ac_objext
20577 if { (ac_try
="$ac_compile"
20578 case "(($ac_try" in
20579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20583 (eval "$ac_compile") 2>conftest.er1
20585 grep -v '^ *+' conftest.er1 >conftest.err
20587 cat conftest.err >&5
20588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20589 (exit $ac_status); } &&
20590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20591 { (case "(($ac_try" in
20592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20593 *) ac_try_echo
=$ac_try;;
20595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20596 (eval "$ac_try") 2>&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; } &&
20600 { ac_try
='test -s conftest.$ac_objext'
20601 { (case "(($ac_try" in
20602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20603 *) ac_try_echo=$ac_try;;
20605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20606 (eval "$ac_try") 2>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; }; then
20610 ac_cv_member_struct_ff_effect_direction=yes
20612 echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.$ac_ext >&5
20615 cat >conftest.$ac_ext <<_ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 #ifdef HAVE_LINUX_INPUT_H
20622 #include <linux/input.h>
20628 static struct ff_effect ac_aggr;
20629 if (sizeof ac_aggr.direction)
20635 rm -f conftest.$ac_objext
20636 if { (ac_try="$ac_compile"
20637 case "(($ac_try" in
20638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20639 *) ac_try_echo
=$ac_try;;
20641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20642 (eval "$ac_compile") 2>conftest.er1
20644 grep -v '^ *+' conftest.er1
>conftest.err
20646 cat conftest.err
>&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } &&
20649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20650 { (case "(($ac_try" in
20651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20652 *) ac_try_echo=$ac_try;;
20654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20655 (eval "$ac_try") 2>&5
20657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658 (exit $ac_status); }; } &&
20659 { ac_try='test -s conftest.$ac_objext'
20660 { (case "(($ac_try" in
20661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20662 *) ac_try_echo
=$ac_try;;
20664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20665 (eval "$ac_try") 2>&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; }; then
20669 ac_cv_member_struct_ff_effect_direction
=yes
20671 echo "$as_me: failed program was:" >&5
20672 sed 's/^/| /' conftest.
$ac_ext >&5
20674 ac_cv_member_struct_ff_effect_direction
=no
20677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20682 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20683 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20684 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20686 cat >>confdefs.h
<<_ACEOF
20687 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20694 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20695 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20696 if test "${wine_cv_have_sigaddset+set}" = set; then
20697 echo $ECHO_N "(cached) $ECHO_C" >&6
20699 cat >conftest.
$ac_ext <<_ACEOF
20702 cat confdefs.h
>>conftest.
$ac_ext
20703 cat >>conftest.
$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 #include <signal.h>
20709 sigset_t set; sigaddset(&set,SIGTERM);
20714 rm -f conftest.
$ac_objext conftest
$ac_exeext
20715 if { (ac_try
="$ac_link"
20716 case "(($ac_try" in
20717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20718 *) ac_try_echo=$ac_try;;
20720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20721 (eval "$ac_link") 2>conftest.er1
20723 grep -v '^ *+' conftest.er1 >conftest.err
20725 cat conftest.err >&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); } &&
20728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20729 { (case "(($ac_try" in
20730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20731 *) ac_try_echo
=$ac_try;;
20733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20734 (eval "$ac_try") 2>&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); }; } &&
20738 { ac_try
='test -s conftest$ac_exeext'
20739 { (case "(($ac_try" in
20740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_try") 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; }; then
20748 wine_cv_have_sigaddset=yes
20750 echo "$as_me: failed program was:" >&5
20751 sed 's/^/| /' conftest.$ac_ext >&5
20753 wine_cv_have_sigaddset=no
20756 rm -f core conftest.err conftest.$ac_objext \
20757 conftest$ac_exeext conftest.$ac_ext
20759 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20760 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20761 if test "$wine_cv_have_sigaddset" = "yes"
20764 cat >>confdefs.h <<\_ACEOF
20765 #define HAVE_SIGADDSET 1
20771 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20772 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20773 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20774 echo $ECHO_N "(cached) $ECHO_C" >&6
20776 cat >conftest.$ac_ext <<_ACEOF
20779 cat confdefs.h >>conftest.$ac_ext
20780 cat >>conftest.$ac_ext <<_ACEOF
20781 /* end confdefs.h. */
20791 struct hostent *result;
20798 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20799 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20805 rm -f conftest.$ac_objext conftest$ac_exeext
20806 if { (ac_try="$ac_link"
20807 case "(($ac_try" in
20808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20809 *) ac_try_echo
=$ac_try;;
20811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20812 (eval "$ac_link") 2>conftest.er1
20814 grep -v '^ *+' conftest.er1
>conftest.err
20816 cat conftest.err
>&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); } &&
20819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20820 { (case "(($ac_try" in
20821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_try") 2>&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; } &&
20829 { ac_try='test -s conftest$ac_exeext'
20830 { (case "(($ac_try" in
20831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20832 *) ac_try_echo
=$ac_try;;
20834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20835 (eval "$ac_try") 2>&5
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; }; then
20839 wine_cv_linux_gethostbyname_r_6
=yes
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.
$ac_ext >&5
20844 wine_cv_linux_gethostbyname_r_6
=no
20848 rm -f core conftest.err conftest.
$ac_objext \
20849 conftest
$ac_exeext conftest.
$ac_ext
20852 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20853 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20854 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20857 cat >>confdefs.h
<<\_ACEOF
20858 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20863 if test "$ac_cv_header_linux_joystick_h" = "yes"
20865 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20866 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20867 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20868 echo $ECHO_N "(cached) $ECHO_C" >&6
20870 cat >conftest.
$ac_ext <<_ACEOF
20873 cat confdefs.h
>>conftest.
$ac_ext
20874 cat >>conftest.
$ac_ext <<_ACEOF
20875 /* end confdefs.h. */
20877 #include <sys/ioctl.h>
20878 #include <linux/joystick.h>
20880 struct js_event blub;
20881 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20882 #error "no 2.2 header"
20893 rm -f conftest.
$ac_objext
20894 if { (ac_try
="$ac_compile"
20895 case "(($ac_try" in
20896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20897 *) ac_try_echo=$ac_try;;
20899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20900 (eval "$ac_compile") 2>conftest.er1
20902 grep -v '^ *+' conftest.er1 >conftest.err
20904 cat conftest.err >&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); } &&
20907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20908 { (case "(($ac_try" in
20909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20910 *) ac_try_echo
=$ac_try;;
20912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20913 (eval "$ac_try") 2>&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); }; } &&
20917 { ac_try
='test -s conftest.$ac_objext'
20918 { (case "(($ac_try" in
20919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_try") 2>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; }; then
20927 wine_cv_linux_joystick_22_api=yes
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.$ac_ext >&5
20932 wine_cv_linux_joystick_22_api=no
20935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20938 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20939 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20940 if test "$wine_cv_linux_joystick_22_api" = "yes"
20943 cat >>confdefs.h <<\_ACEOF
20944 #define HAVE_LINUX_22_JOYSTICK_API 1
20951 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20952 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20953 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20954 echo $ECHO_N "(cached) $ECHO_C" >&6
20956 cat >conftest.$ac_ext <<_ACEOF
20959 cat confdefs.h >>conftest.$ac_ext
20960 cat >>conftest.$ac_ext <<_ACEOF
20961 /* end confdefs.h. */
20962 #include <sys/types.h>
20963 #ifdef HAVE_SYS_PARAM_H
20964 # include <sys/param.h>
20966 #ifdef HAVE_SYS_MOUNT_H
20967 # include <sys/mount.h>
20969 #ifdef HAVE_SYS_VFS_H
20970 # include <sys/vfs.h>
20972 #ifdef HAVE_SYS_STATFS_H
20973 # include <sys/statfs.h>
20979 static struct statfs ac_aggr;
20980 if (ac_aggr.f_bfree)
20986 rm -f conftest.$ac_objext
20987 if { (ac_try="$ac_compile"
20988 case "(($ac_try" in
20989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20990 *) ac_try_echo
=$ac_try;;
20992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_compile") 2>conftest.er1
20995 grep -v '^ *+' conftest.er1
>conftest.err
20997 cat conftest.err
>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } &&
21000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21001 { (case "(($ac_try" in
21002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21003 *) ac_try_echo=$ac_try;;
21005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21006 (eval "$ac_try") 2>&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); }; } &&
21010 { ac_try='test -s conftest.$ac_objext'
21011 { (case "(($ac_try" in
21012 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21013 *) ac_try_echo
=$ac_try;;
21015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_try") 2>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; }; then
21020 ac_cv_member_struct_statfs_f_bfree
=yes
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.
$ac_ext >&5
21025 cat >conftest.
$ac_ext <<_ACEOF
21028 cat confdefs.h
>>conftest.
$ac_ext
21029 cat >>conftest.
$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21031 #include <sys/types.h>
21032 #ifdef HAVE_SYS_PARAM_H
21033 # include <sys/param.h>
21035 #ifdef HAVE_SYS_MOUNT_H
21036 # include <sys/mount.h>
21038 #ifdef HAVE_SYS_VFS_H
21039 # include <sys/vfs.h>
21041 #ifdef HAVE_SYS_STATFS_H
21042 # include <sys/statfs.h>
21048 static struct statfs ac_aggr;
21049 if (sizeof ac_aggr.f_bfree)
21055 rm -f conftest.
$ac_objext
21056 if { (ac_try
="$ac_compile"
21057 case "(($ac_try" in
21058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21059 *) ac_try_echo=$ac_try;;
21061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062 (eval "$ac_compile") 2>conftest.er1
21064 grep -v '^ *+' conftest.er1 >conftest.err
21066 cat conftest.err >&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } &&
21069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21070 { (case "(($ac_try" in
21071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21072 *) ac_try_echo
=$ac_try;;
21074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21075 (eval "$ac_try") 2>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); }; } &&
21079 { ac_try
='test -s conftest.$ac_objext'
21080 { (case "(($ac_try" in
21081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21082 *) ac_try_echo=$ac_try;;
21084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21085 (eval "$ac_try") 2>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; }; then
21089 ac_cv_member_struct_statfs_f_bfree=yes
21091 echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.$ac_ext >&5
21094 ac_cv_member_struct_statfs_f_bfree=no
21097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21102 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
21103 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
21104 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
21106 cat >>confdefs.h <<_ACEOF
21107 #define HAVE_STRUCT_STATFS_F_BFREE 1
21112 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
21113 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
21114 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
21115 echo $ECHO_N "(cached) $ECHO_C" >&6
21117 cat >conftest.$ac_ext <<_ACEOF
21120 cat confdefs.h >>conftest.$ac_ext
21121 cat >>conftest.$ac_ext <<_ACEOF
21122 /* end confdefs.h. */
21123 #include <sys/types.h>
21124 #ifdef HAVE_SYS_PARAM_H
21125 # include <sys/param.h>
21127 #ifdef HAVE_SYS_MOUNT_H
21128 # include <sys/mount.h>
21130 #ifdef HAVE_SYS_VFS_H
21131 # include <sys/vfs.h>
21133 #ifdef HAVE_SYS_STATFS_H
21134 # include <sys/statfs.h>
21140 static struct statfs ac_aggr;
21141 if (ac_aggr.f_bavail)
21147 rm -f conftest.$ac_objext
21148 if { (ac_try="$ac_compile"
21149 case "(($ac_try" in
21150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21151 *) ac_try_echo
=$ac_try;;
21153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21154 (eval "$ac_compile") 2>conftest.er1
21156 grep -v '^ *+' conftest.er1
>conftest.err
21158 cat conftest.err
>&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } &&
21161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21162 { (case "(($ac_try" in
21163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21164 *) ac_try_echo=$ac_try;;
21166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21167 (eval "$ac_try") 2>&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); }; } &&
21171 { ac_try='test -s conftest.$ac_objext'
21172 { (case "(($ac_try" in
21173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21174 *) ac_try_echo
=$ac_try;;
21176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21177 (eval "$ac_try") 2>&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); }; }; then
21181 ac_cv_member_struct_statfs_f_bavail
=yes
21183 echo "$as_me: failed program was:" >&5
21184 sed 's/^/| /' conftest.
$ac_ext >&5
21186 cat >conftest.
$ac_ext <<_ACEOF
21189 cat confdefs.h
>>conftest.
$ac_ext
21190 cat >>conftest.
$ac_ext <<_ACEOF
21191 /* end confdefs.h. */
21192 #include <sys/types.h>
21193 #ifdef HAVE_SYS_PARAM_H
21194 # include <sys/param.h>
21196 #ifdef HAVE_SYS_MOUNT_H
21197 # include <sys/mount.h>
21199 #ifdef HAVE_SYS_VFS_H
21200 # include <sys/vfs.h>
21202 #ifdef HAVE_SYS_STATFS_H
21203 # include <sys/statfs.h>
21209 static struct statfs ac_aggr;
21210 if (sizeof ac_aggr.f_bavail)
21216 rm -f conftest.
$ac_objext
21217 if { (ac_try
="$ac_compile"
21218 case "(($ac_try" in
21219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21220 *) ac_try_echo=$ac_try;;
21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223 (eval "$ac_compile") 2>conftest.er1
21225 grep -v '^ *+' conftest.er1 >conftest.err
21227 cat conftest.err >&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } &&
21230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21231 { (case "(($ac_try" in
21232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21233 *) ac_try_echo
=$ac_try;;
21235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21236 (eval "$ac_try") 2>&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); }; } &&
21240 { ac_try
='test -s conftest.$ac_objext'
21241 { (case "(($ac_try" in
21242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21243 *) ac_try_echo=$ac_try;;
21245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21246 (eval "$ac_try") 2>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; }; then
21250 ac_cv_member_struct_statfs_f_bavail=yes
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.$ac_ext >&5
21255 ac_cv_member_struct_statfs_f_bavail=no
21258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21263 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
21264 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
21265 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
21267 cat >>confdefs.h <<_ACEOF
21268 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
21273 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
21274 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
21275 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
21276 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 cat >conftest.$ac_ext <<_ACEOF
21281 cat confdefs.h >>conftest.$ac_ext
21282 cat >>conftest.$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21284 #include <sys/types.h>
21285 #ifdef HAVE_SYS_PARAM_H
21286 # include <sys/param.h>
21288 #ifdef HAVE_SYS_MOUNT_H
21289 # include <sys/mount.h>
21291 #ifdef HAVE_SYS_VFS_H
21292 # include <sys/vfs.h>
21294 #ifdef HAVE_SYS_STATFS_H
21295 # include <sys/statfs.h>
21301 static struct statfs ac_aggr;
21302 if (ac_aggr.f_frsize)
21308 rm -f conftest.$ac_objext
21309 if { (ac_try="$ac_compile"
21310 case "(($ac_try" in
21311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21312 *) ac_try_echo
=$ac_try;;
21314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21315 (eval "$ac_compile") 2>conftest.er1
21317 grep -v '^ *+' conftest.er1
>conftest.err
21319 cat conftest.err
>&5
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); } &&
21322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21323 { (case "(($ac_try" in
21324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21325 *) ac_try_echo=$ac_try;;
21327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21328 (eval "$ac_try") 2>&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); }; } &&
21332 { ac_try='test -s conftest.$ac_objext'
21333 { (case "(($ac_try" in
21334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21335 *) ac_try_echo
=$ac_try;;
21337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21338 (eval "$ac_try") 2>&5
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); }; }; then
21342 ac_cv_member_struct_statfs_f_frsize
=yes
21344 echo "$as_me: failed program was:" >&5
21345 sed 's/^/| /' conftest.
$ac_ext >&5
21347 cat >conftest.
$ac_ext <<_ACEOF
21350 cat confdefs.h
>>conftest.
$ac_ext
21351 cat >>conftest.
$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 #include <sys/types.h>
21354 #ifdef HAVE_SYS_PARAM_H
21355 # include <sys/param.h>
21357 #ifdef HAVE_SYS_MOUNT_H
21358 # include <sys/mount.h>
21360 #ifdef HAVE_SYS_VFS_H
21361 # include <sys/vfs.h>
21363 #ifdef HAVE_SYS_STATFS_H
21364 # include <sys/statfs.h>
21370 static struct statfs ac_aggr;
21371 if (sizeof ac_aggr.f_frsize)
21377 rm -f conftest.
$ac_objext
21378 if { (ac_try
="$ac_compile"
21379 case "(($ac_try" in
21380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21381 *) ac_try_echo=$ac_try;;
21383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21384 (eval "$ac_compile") 2>conftest.er1
21386 grep -v '^ *+' conftest.er1 >conftest.err
21388 cat conftest.err >&5
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); } &&
21391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21392 { (case "(($ac_try" in
21393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21394 *) ac_try_echo
=$ac_try;;
21396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21397 (eval "$ac_try") 2>&5
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); }; } &&
21401 { ac_try
='test -s conftest.$ac_objext'
21402 { (case "(($ac_try" in
21403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21404 *) ac_try_echo=$ac_try;;
21406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21407 (eval "$ac_try") 2>&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); }; }; then
21411 ac_cv_member_struct_statfs_f_frsize=yes
21413 echo "$as_me: failed program was:" >&5
21414 sed 's/^/| /' conftest.$ac_ext >&5
21416 ac_cv_member_struct_statfs_f_frsize=no
21419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21424 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21425 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21426 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21428 cat >>confdefs.h <<_ACEOF
21429 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21434 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21435 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21436 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21437 echo $ECHO_N "(cached) $ECHO_C" >&6
21439 cat >conftest.$ac_ext <<_ACEOF
21442 cat confdefs.h >>conftest.$ac_ext
21443 cat >>conftest.$ac_ext <<_ACEOF
21444 /* end confdefs.h. */
21445 #include <sys/types.h>
21446 #ifdef HAVE_SYS_PARAM_H
21447 # include <sys/param.h>
21449 #ifdef HAVE_SYS_MOUNT_H
21450 # include <sys/mount.h>
21452 #ifdef HAVE_SYS_VFS_H
21453 # include <sys/vfs.h>
21455 #ifdef HAVE_SYS_STATFS_H
21456 # include <sys/statfs.h>
21462 static struct statfs ac_aggr;
21463 if (ac_aggr.f_ffree)
21469 rm -f conftest.$ac_objext
21470 if { (ac_try="$ac_compile"
21471 case "(($ac_try" in
21472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21473 *) ac_try_echo
=$ac_try;;
21475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21476 (eval "$ac_compile") 2>conftest.er1
21478 grep -v '^ *+' conftest.er1
>conftest.err
21480 cat conftest.err
>&5
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); } &&
21483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21484 { (case "(($ac_try" in
21485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21486 *) ac_try_echo=$ac_try;;
21488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21489 (eval "$ac_try") 2>&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); }; } &&
21493 { ac_try='test -s conftest.$ac_objext'
21494 { (case "(($ac_try" in
21495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21496 *) ac_try_echo
=$ac_try;;
21498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21499 (eval "$ac_try") 2>&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); }; }; then
21503 ac_cv_member_struct_statfs_f_ffree
=yes
21505 echo "$as_me: failed program was:" >&5
21506 sed 's/^/| /' conftest.
$ac_ext >&5
21508 cat >conftest.
$ac_ext <<_ACEOF
21511 cat confdefs.h
>>conftest.
$ac_ext
21512 cat >>conftest.
$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21514 #include <sys/types.h>
21515 #ifdef HAVE_SYS_PARAM_H
21516 # include <sys/param.h>
21518 #ifdef HAVE_SYS_MOUNT_H
21519 # include <sys/mount.h>
21521 #ifdef HAVE_SYS_VFS_H
21522 # include <sys/vfs.h>
21524 #ifdef HAVE_SYS_STATFS_H
21525 # include <sys/statfs.h>
21531 static struct statfs ac_aggr;
21532 if (sizeof ac_aggr.f_ffree)
21538 rm -f conftest.
$ac_objext
21539 if { (ac_try
="$ac_compile"
21540 case "(($ac_try" in
21541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21542 *) ac_try_echo=$ac_try;;
21544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21545 (eval "$ac_compile") 2>conftest.er1
21547 grep -v '^ *+' conftest.er1 >conftest.err
21549 cat conftest.err >&5
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); } &&
21552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21553 { (case "(($ac_try" in
21554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21555 *) ac_try_echo
=$ac_try;;
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_try") 2>&5
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; } &&
21562 { ac_try
='test -s conftest.$ac_objext'
21563 { (case "(($ac_try" in
21564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21565 *) ac_try_echo=$ac_try;;
21567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21568 (eval "$ac_try") 2>&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; }; then
21572 ac_cv_member_struct_statfs_f_ffree=yes
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21577 ac_cv_member_struct_statfs_f_ffree=no
21580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21585 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21586 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21587 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21589 cat >>confdefs.h <<_ACEOF
21590 #define HAVE_STRUCT_STATFS_F_FFREE 1
21595 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21596 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21597 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21598 echo $ECHO_N "(cached) $ECHO_C" >&6
21600 cat >conftest.$ac_ext <<_ACEOF
21603 cat confdefs.h >>conftest.$ac_ext
21604 cat >>conftest.$ac_ext <<_ACEOF
21605 /* end confdefs.h. */
21606 #include <sys/types.h>
21607 #ifdef HAVE_SYS_PARAM_H
21608 # include <sys/param.h>
21610 #ifdef HAVE_SYS_MOUNT_H
21611 # include <sys/mount.h>
21613 #ifdef HAVE_SYS_VFS_H
21614 # include <sys/vfs.h>
21616 #ifdef HAVE_SYS_STATFS_H
21617 # include <sys/statfs.h>
21623 static struct statfs ac_aggr;
21624 if (ac_aggr.f_favail)
21630 rm -f conftest.$ac_objext
21631 if { (ac_try="$ac_compile"
21632 case "(($ac_try" in
21633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21634 *) ac_try_echo
=$ac_try;;
21636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_compile") 2>conftest.er1
21639 grep -v '^ *+' conftest.er1
>conftest.err
21641 cat conftest.err
>&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } &&
21644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21645 { (case "(($ac_try" in
21646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21647 *) ac_try_echo=$ac_try;;
21649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval "$ac_try") 2>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; } &&
21654 { ac_try='test -s conftest.$ac_objext'
21655 { (case "(($ac_try" in
21656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21657 *) ac_try_echo
=$ac_try;;
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_try") 2>&5
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); }; }; then
21664 ac_cv_member_struct_statfs_f_favail
=yes
21666 echo "$as_me: failed program was:" >&5
21667 sed 's/^/| /' conftest.
$ac_ext >&5
21669 cat >conftest.
$ac_ext <<_ACEOF
21672 cat confdefs.h
>>conftest.
$ac_ext
21673 cat >>conftest.
$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21675 #include <sys/types.h>
21676 #ifdef HAVE_SYS_PARAM_H
21677 # include <sys/param.h>
21679 #ifdef HAVE_SYS_MOUNT_H
21680 # include <sys/mount.h>
21682 #ifdef HAVE_SYS_VFS_H
21683 # include <sys/vfs.h>
21685 #ifdef HAVE_SYS_STATFS_H
21686 # include <sys/statfs.h>
21692 static struct statfs ac_aggr;
21693 if (sizeof ac_aggr.f_favail)
21699 rm -f conftest.
$ac_objext
21700 if { (ac_try
="$ac_compile"
21701 case "(($ac_try" in
21702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21703 *) ac_try_echo=$ac_try;;
21705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21706 (eval "$ac_compile") 2>conftest.er1
21708 grep -v '^ *+' conftest.er1 >conftest.err
21710 cat conftest.err >&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); } &&
21713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21714 { (case "(($ac_try" in
21715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21716 *) ac_try_echo
=$ac_try;;
21718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21719 (eval "$ac_try") 2>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; } &&
21723 { ac_try
='test -s conftest.$ac_objext'
21724 { (case "(($ac_try" in
21725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21726 *) ac_try_echo=$ac_try;;
21728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21729 (eval "$ac_try") 2>&5
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); }; }; then
21733 ac_cv_member_struct_statfs_f_favail=yes
21735 echo "$as_me: failed program was:" >&5
21736 sed 's/^/| /' conftest.$ac_ext >&5
21738 ac_cv_member_struct_statfs_f_favail=no
21741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21746 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21747 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21748 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21750 cat >>confdefs.h <<_ACEOF
21751 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21756 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21757 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21758 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21759 echo $ECHO_N "(cached) $ECHO_C" >&6
21761 cat >conftest.$ac_ext <<_ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 #include <sys/types.h>
21768 #ifdef HAVE_SYS_PARAM_H
21769 # include <sys/param.h>
21771 #ifdef HAVE_SYS_MOUNT_H
21772 # include <sys/mount.h>
21774 #ifdef HAVE_SYS_VFS_H
21775 # include <sys/vfs.h>
21777 #ifdef HAVE_SYS_STATFS_H
21778 # include <sys/statfs.h>
21784 static struct statfs ac_aggr;
21785 if (ac_aggr.f_namelen)
21791 rm -f conftest.$ac_objext
21792 if { (ac_try="$ac_compile"
21793 case "(($ac_try" in
21794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21795 *) ac_try_echo
=$ac_try;;
21797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21798 (eval "$ac_compile") 2>conftest.er1
21800 grep -v '^ *+' conftest.er1
>conftest.err
21802 cat conftest.err
>&5
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); } &&
21805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21806 { (case "(($ac_try" in
21807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21808 *) ac_try_echo=$ac_try;;
21810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21811 (eval "$ac_try") 2>&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); }; } &&
21815 { ac_try='test -s conftest.$ac_objext'
21816 { (case "(($ac_try" in
21817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21818 *) ac_try_echo
=$ac_try;;
21820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21821 (eval "$ac_try") 2>&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); }; }; then
21825 ac_cv_member_struct_statfs_f_namelen
=yes
21827 echo "$as_me: failed program was:" >&5
21828 sed 's/^/| /' conftest.
$ac_ext >&5
21830 cat >conftest.
$ac_ext <<_ACEOF
21833 cat confdefs.h
>>conftest.
$ac_ext
21834 cat >>conftest.
$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836 #include <sys/types.h>
21837 #ifdef HAVE_SYS_PARAM_H
21838 # include <sys/param.h>
21840 #ifdef HAVE_SYS_MOUNT_H
21841 # include <sys/mount.h>
21843 #ifdef HAVE_SYS_VFS_H
21844 # include <sys/vfs.h>
21846 #ifdef HAVE_SYS_STATFS_H
21847 # include <sys/statfs.h>
21853 static struct statfs ac_aggr;
21854 if (sizeof ac_aggr.f_namelen)
21860 rm -f conftest.
$ac_objext
21861 if { (ac_try
="$ac_compile"
21862 case "(($ac_try" in
21863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21864 *) ac_try_echo=$ac_try;;
21866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21867 (eval "$ac_compile") 2>conftest.er1
21869 grep -v '^ *+' conftest.er1 >conftest.err
21871 cat conftest.err >&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); } &&
21874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21875 { (case "(($ac_try" in
21876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21877 *) ac_try_echo
=$ac_try;;
21879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21880 (eval "$ac_try") 2>&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); }; } &&
21884 { ac_try
='test -s conftest.$ac_objext'
21885 { (case "(($ac_try" in
21886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21890 (eval "$ac_try") 2>&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); }; }; then
21894 ac_cv_member_struct_statfs_f_namelen=yes
21896 echo "$as_me: failed program was:" >&5
21897 sed 's/^/| /' conftest.$ac_ext >&5
21899 ac_cv_member_struct_statfs_f_namelen=no
21902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21907 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21908 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21909 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21911 cat >>confdefs.h <<_ACEOF
21912 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21919 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21920 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21921 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21922 echo $ECHO_N "(cached) $ECHO_C" >&6
21924 cat >conftest.$ac_ext <<_ACEOF
21927 cat confdefs.h >>conftest.$ac_ext
21928 cat >>conftest.$ac_ext <<_ACEOF
21929 /* end confdefs.h. */
21930 #ifdef HAVE_SYS_STATVFS_H
21931 #include <sys/statvfs.h>
21937 static struct statvfs ac_aggr;
21938 if (ac_aggr.f_blocks)
21944 rm -f conftest.$ac_objext
21945 if { (ac_try="$ac_compile"
21946 case "(($ac_try" in
21947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21948 *) ac_try_echo
=$ac_try;;
21950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21951 (eval "$ac_compile") 2>conftest.er1
21953 grep -v '^ *+' conftest.er1
>conftest.err
21955 cat conftest.err
>&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } &&
21958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21959 { (case "(($ac_try" in
21960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21961 *) ac_try_echo=$ac_try;;
21963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21964 (eval "$ac_try") 2>&5
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); }; } &&
21968 { ac_try='test -s conftest.$ac_objext'
21969 { (case "(($ac_try" in
21970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21971 *) ac_try_echo
=$ac_try;;
21973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21974 (eval "$ac_try") 2>&5
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); }; }; then
21978 ac_cv_member_struct_statvfs_f_blocks
=yes
21980 echo "$as_me: failed program was:" >&5
21981 sed 's/^/| /' conftest.
$ac_ext >&5
21983 cat >conftest.
$ac_ext <<_ACEOF
21986 cat confdefs.h
>>conftest.
$ac_ext
21987 cat >>conftest.
$ac_ext <<_ACEOF
21988 /* end confdefs.h. */
21989 #ifdef HAVE_SYS_STATVFS_H
21990 #include <sys/statvfs.h>
21996 static struct statvfs ac_aggr;
21997 if (sizeof ac_aggr.f_blocks)
22003 rm -f conftest.
$ac_objext
22004 if { (ac_try
="$ac_compile"
22005 case "(($ac_try" in
22006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_compile") 2>conftest.er1
22012 grep -v '^ *+' conftest.er1 >conftest.err
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } &&
22017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22018 { (case "(($ac_try" in
22019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22020 *) ac_try_echo
=$ac_try;;
22022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22023 (eval "$ac_try") 2>&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; } &&
22027 { ac_try
='test -s conftest.$ac_objext'
22028 { (case "(($ac_try" in
22029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_try") 2>&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; }; then
22037 ac_cv_member_struct_statvfs_f_blocks=yes
22039 echo "$as_me: failed program was:" >&5
22040 sed 's/^/| /' conftest.$ac_ext >&5
22042 ac_cv_member_struct_statvfs_f_blocks=no
22045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22050 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
22051 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
22052 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
22054 cat >>confdefs.h <<_ACEOF
22055 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
22062 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
22063 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
22064 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
22065 echo $ECHO_N "(cached) $ECHO_C" >&6
22067 cat >conftest.$ac_ext <<_ACEOF
22070 cat confdefs.h >>conftest.$ac_ext
22071 cat >>conftest.$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22073 #include <sys/types.h>
22074 #ifdef HAVE_SYS_SOCKET_H
22075 # include <sys/socket.h>
22077 #ifdef HAVE_SYS_UN_H
22078 # include <sys/un.h>
22084 static struct msghdr ac_aggr;
22085 if (ac_aggr.msg_accrights)
22091 rm -f conftest.$ac_objext
22092 if { (ac_try="$ac_compile"
22093 case "(($ac_try" in
22094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22095 *) ac_try_echo
=$ac_try;;
22097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22098 (eval "$ac_compile") 2>conftest.er1
22100 grep -v '^ *+' conftest.er1
>conftest.err
22102 cat conftest.err
>&5
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); } &&
22105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22106 { (case "(($ac_try" in
22107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22108 *) ac_try_echo=$ac_try;;
22110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22111 (eval "$ac_try") 2>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); }; } &&
22115 { ac_try='test -s conftest.$ac_objext'
22116 { (case "(($ac_try" in
22117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22118 *) ac_try_echo
=$ac_try;;
22120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22121 (eval "$ac_try") 2>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; }; then
22125 ac_cv_member_struct_msghdr_msg_accrights
=yes
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.
$ac_ext >&5
22130 cat >conftest.
$ac_ext <<_ACEOF
22133 cat confdefs.h
>>conftest.
$ac_ext
22134 cat >>conftest.
$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22136 #include <sys/types.h>
22137 #ifdef HAVE_SYS_SOCKET_H
22138 # include <sys/socket.h>
22140 #ifdef HAVE_SYS_UN_H
22141 # include <sys/un.h>
22147 static struct msghdr ac_aggr;
22148 if (sizeof ac_aggr.msg_accrights)
22154 rm -f conftest.
$ac_objext
22155 if { (ac_try
="$ac_compile"
22156 case "(($ac_try" in
22157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22158 *) ac_try_echo=$ac_try;;
22160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22161 (eval "$ac_compile") 2>conftest.er1
22163 grep -v '^ *+' conftest.er1 >conftest.err
22165 cat conftest.err >&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); } &&
22168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22169 { (case "(($ac_try" in
22170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22171 *) ac_try_echo
=$ac_try;;
22173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22174 (eval "$ac_try") 2>&5
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; } &&
22178 { ac_try
='test -s conftest.$ac_objext'
22179 { (case "(($ac_try" in
22180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22181 *) ac_try_echo=$ac_try;;
22183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22184 (eval "$ac_try") 2>&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); }; }; then
22188 ac_cv_member_struct_msghdr_msg_accrights=yes
22190 echo "$as_me: failed program was:" >&5
22191 sed 's/^/| /' conftest.$ac_ext >&5
22193 ac_cv_member_struct_msghdr_msg_accrights=no
22196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22201 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
22202 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
22203 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
22205 cat >>confdefs.h <<_ACEOF
22206 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
22211 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
22212 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
22213 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
22214 echo $ECHO_N "(cached) $ECHO_C" >&6
22216 cat >conftest.$ac_ext <<_ACEOF
22219 cat confdefs.h >>conftest.$ac_ext
22220 cat >>conftest.$ac_ext <<_ACEOF
22221 /* end confdefs.h. */
22222 #include <sys/types.h>
22223 #ifdef HAVE_SYS_SOCKET_H
22224 # include <sys/socket.h>
22226 #ifdef HAVE_SYS_UN_H
22227 # include <sys/un.h>
22233 static struct sockaddr ac_aggr;
22234 if (ac_aggr.sa_len)
22240 rm -f conftest.$ac_objext
22241 if { (ac_try="$ac_compile"
22242 case "(($ac_try" in
22243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22244 *) ac_try_echo
=$ac_try;;
22246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22247 (eval "$ac_compile") 2>conftest.er1
22249 grep -v '^ *+' conftest.er1
>conftest.err
22251 cat conftest.err
>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); } &&
22254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22255 { (case "(($ac_try" in
22256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22257 *) ac_try_echo=$ac_try;;
22259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22260 (eval "$ac_try") 2>&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); }; } &&
22264 { ac_try='test -s conftest.$ac_objext'
22265 { (case "(($ac_try" in
22266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22267 *) ac_try_echo
=$ac_try;;
22269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22270 (eval "$ac_try") 2>&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); }; }; then
22274 ac_cv_member_struct_sockaddr_sa_len
=yes
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.
$ac_ext >&5
22279 cat >conftest.
$ac_ext <<_ACEOF
22282 cat confdefs.h
>>conftest.
$ac_ext
22283 cat >>conftest.
$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22285 #include <sys/types.h>
22286 #ifdef HAVE_SYS_SOCKET_H
22287 # include <sys/socket.h>
22289 #ifdef HAVE_SYS_UN_H
22290 # include <sys/un.h>
22296 static struct sockaddr ac_aggr;
22297 if (sizeof ac_aggr.sa_len)
22303 rm -f conftest.
$ac_objext
22304 if { (ac_try
="$ac_compile"
22305 case "(($ac_try" in
22306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22307 *) ac_try_echo=$ac_try;;
22309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22310 (eval "$ac_compile") 2>conftest.er1
22312 grep -v '^ *+' conftest.er1 >conftest.err
22314 cat conftest.err >&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); } &&
22317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22318 { (case "(($ac_try" in
22319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22320 *) ac_try_echo
=$ac_try;;
22322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22323 (eval "$ac_try") 2>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; } &&
22327 { ac_try
='test -s conftest.$ac_objext'
22328 { (case "(($ac_try" in
22329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22330 *) ac_try_echo=$ac_try;;
22332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22333 (eval "$ac_try") 2>&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); }; }; then
22337 ac_cv_member_struct_sockaddr_sa_len=yes
22339 echo "$as_me: failed program was:" >&5
22340 sed 's/^/| /' conftest.$ac_ext >&5
22342 ac_cv_member_struct_sockaddr_sa_len=no
22345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22350 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22351 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22352 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22354 cat >>confdefs.h <<_ACEOF
22355 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
22360 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
22361 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
22362 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
22363 echo $ECHO_N "(cached) $ECHO_C" >&6
22365 cat >conftest.$ac_ext <<_ACEOF
22368 cat confdefs.h >>conftest.$ac_ext
22369 cat >>conftest.$ac_ext <<_ACEOF
22370 /* end confdefs.h. */
22371 #include <sys/types.h>
22372 #ifdef HAVE_SYS_SOCKET_H
22373 # include <sys/socket.h>
22375 #ifdef HAVE_SYS_UN_H
22376 # include <sys/un.h>
22382 static struct sockaddr_un ac_aggr;
22383 if (ac_aggr.sun_len)
22389 rm -f conftest.$ac_objext
22390 if { (ac_try="$ac_compile"
22391 case "(($ac_try" in
22392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22393 *) ac_try_echo
=$ac_try;;
22395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22396 (eval "$ac_compile") 2>conftest.er1
22398 grep -v '^ *+' conftest.er1
>conftest.err
22400 cat conftest.err
>&5
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); } &&
22403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22404 { (case "(($ac_try" in
22405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22406 *) ac_try_echo=$ac_try;;
22408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22409 (eval "$ac_try") 2>&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); }; } &&
22413 { ac_try='test -s conftest.$ac_objext'
22414 { (case "(($ac_try" in
22415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22416 *) ac_try_echo
=$ac_try;;
22418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22419 (eval "$ac_try") 2>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; }; then
22423 ac_cv_member_struct_sockaddr_un_sun_len
=yes
22425 echo "$as_me: failed program was:" >&5
22426 sed 's/^/| /' conftest.
$ac_ext >&5
22428 cat >conftest.
$ac_ext <<_ACEOF
22431 cat confdefs.h
>>conftest.
$ac_ext
22432 cat >>conftest.
$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22434 #include <sys/types.h>
22435 #ifdef HAVE_SYS_SOCKET_H
22436 # include <sys/socket.h>
22438 #ifdef HAVE_SYS_UN_H
22439 # include <sys/un.h>
22445 static struct sockaddr_un ac_aggr;
22446 if (sizeof ac_aggr.sun_len)
22452 rm -f conftest.
$ac_objext
22453 if { (ac_try
="$ac_compile"
22454 case "(($ac_try" in
22455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22456 *) ac_try_echo=$ac_try;;
22458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22459 (eval "$ac_compile") 2>conftest.er1
22461 grep -v '^ *+' conftest.er1 >conftest.err
22463 cat conftest.err >&5
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); } &&
22466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22467 { (case "(($ac_try" in
22468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22469 *) ac_try_echo
=$ac_try;;
22471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22472 (eval "$ac_try") 2>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; } &&
22476 { ac_try
='test -s conftest.$ac_objext'
22477 { (case "(($ac_try" in
22478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22479 *) ac_try_echo=$ac_try;;
22481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22482 (eval "$ac_try") 2>&5
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); }; }; then
22486 ac_cv_member_struct_sockaddr_un_sun_len=yes
22488 echo "$as_me: failed program was:" >&5
22489 sed 's/^/| /' conftest.$ac_ext >&5
22491 ac_cv_member_struct_sockaddr_un_sun_len=no
22494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22499 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22500 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22501 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22503 cat >>confdefs.h <<_ACEOF
22504 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22511 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22512 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22513 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22514 echo $ECHO_N "(cached) $ECHO_C" >&6
22516 cat >conftest.$ac_ext <<_ACEOF
22519 cat confdefs.h >>conftest.$ac_ext
22520 cat >>conftest.$ac_ext <<_ACEOF
22521 /* end confdefs.h. */
22522 #include <sys/types.h>
22523 #ifdef HAVE_SCSI_SG_H
22524 #include <scsi/sg.h>
22530 static scsireq_t ac_aggr;
22537 rm -f conftest.$ac_objext
22538 if { (ac_try="$ac_compile"
22539 case "(($ac_try" in
22540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22541 *) ac_try_echo
=$ac_try;;
22543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22544 (eval "$ac_compile") 2>conftest.er1
22546 grep -v '^ *+' conftest.er1
>conftest.err
22548 cat conftest.err
>&5
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); } &&
22551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22552 { (case "(($ac_try" in
22553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22554 *) ac_try_echo=$ac_try;;
22556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22557 (eval "$ac_try") 2>&5
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; } &&
22561 { ac_try='test -s conftest.$ac_objext'
22562 { (case "(($ac_try" in
22563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22564 *) ac_try_echo
=$ac_try;;
22566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22567 (eval "$ac_try") 2>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; }; then
22571 ac_cv_member_scsireq_t_cmd
=yes
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.
$ac_ext >&5
22576 cat >conftest.
$ac_ext <<_ACEOF
22579 cat confdefs.h
>>conftest.
$ac_ext
22580 cat >>conftest.
$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 #include <sys/types.h>
22583 #ifdef HAVE_SCSI_SG_H
22584 #include <scsi/sg.h>
22590 static scsireq_t ac_aggr;
22591 if (sizeof ac_aggr.cmd)
22597 rm -f conftest.
$ac_objext
22598 if { (ac_try
="$ac_compile"
22599 case "(($ac_try" in
22600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22601 *) ac_try_echo=$ac_try;;
22603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22604 (eval "$ac_compile") 2>conftest.er1
22606 grep -v '^ *+' conftest.er1 >conftest.err
22608 cat conftest.err >&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } &&
22611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22612 { (case "(($ac_try" in
22613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22614 *) ac_try_echo
=$ac_try;;
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_try") 2>&5
22619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620 (exit $ac_status); }; } &&
22621 { ac_try
='test -s conftest.$ac_objext'
22622 { (case "(($ac_try" in
22623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22624 *) ac_try_echo=$ac_try;;
22626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22627 (eval "$ac_try") 2>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; }; then
22631 ac_cv_member_scsireq_t_cmd=yes
22633 echo "$as_me: failed program was:" >&5
22634 sed 's/^/| /' conftest.$ac_ext >&5
22636 ac_cv_member_scsireq_t_cmd=no
22639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22644 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22645 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22646 if test $ac_cv_member_scsireq_t_cmd = yes; then
22648 cat >>confdefs.h <<_ACEOF
22649 #define HAVE_SCSIREQ_T_CMD 1
22654 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22655 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22656 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22657 echo $ECHO_N "(cached) $ECHO_C" >&6
22659 cat >conftest.$ac_ext <<_ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 #include <sys/types.h>
22666 #ifdef HAVE_SCSI_SG_H
22667 #include <scsi/sg.h>
22673 static sg_io_hdr_t ac_aggr;
22674 if (ac_aggr.interface_id)
22680 rm -f conftest.$ac_objext
22681 if { (ac_try="$ac_compile"
22682 case "(($ac_try" in
22683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22684 *) ac_try_echo
=$ac_try;;
22686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22687 (eval "$ac_compile") 2>conftest.er1
22689 grep -v '^ *+' conftest.er1
>conftest.err
22691 cat conftest.err
>&5
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); } &&
22694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22695 { (case "(($ac_try" in
22696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22697 *) ac_try_echo=$ac_try;;
22699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22700 (eval "$ac_try") 2>&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); }; } &&
22704 { ac_try='test -s conftest.$ac_objext'
22705 { (case "(($ac_try" in
22706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22707 *) ac_try_echo
=$ac_try;;
22709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22710 (eval "$ac_try") 2>&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); }; }; then
22714 ac_cv_member_sg_io_hdr_t_interface_id
=yes
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.
$ac_ext >&5
22719 cat >conftest.
$ac_ext <<_ACEOF
22722 cat confdefs.h
>>conftest.
$ac_ext
22723 cat >>conftest.
$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22725 #include <sys/types.h>
22726 #ifdef HAVE_SCSI_SG_H
22727 #include <scsi/sg.h>
22733 static sg_io_hdr_t ac_aggr;
22734 if (sizeof ac_aggr.interface_id)
22740 rm -f conftest.
$ac_objext
22741 if { (ac_try
="$ac_compile"
22742 case "(($ac_try" in
22743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22744 *) ac_try_echo=$ac_try;;
22746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22747 (eval "$ac_compile") 2>conftest.er1
22749 grep -v '^ *+' conftest.er1 >conftest.err
22751 cat conftest.err >&5
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); } &&
22754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22755 { (case "(($ac_try" in
22756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22757 *) ac_try_echo
=$ac_try;;
22759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22760 (eval "$ac_try") 2>&5
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; } &&
22764 { ac_try
='test -s conftest.$ac_objext'
22765 { (case "(($ac_try" in
22766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22767 *) ac_try_echo=$ac_try;;
22769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22770 (eval "$ac_try") 2>&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); }; }; then
22774 ac_cv_member_sg_io_hdr_t_interface_id=yes
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22779 ac_cv_member_sg_io_hdr_t_interface_id=no
22782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22787 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22788 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22789 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22791 cat >>confdefs.h <<_ACEOF
22792 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22799 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22800 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22801 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22802 echo $ECHO_N "(cached) $ECHO_C" >&6
22804 cat >conftest.$ac_ext <<_ACEOF
22807 cat confdefs.h >>conftest.$ac_ext
22808 cat >>conftest.$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22810 #include <signal.h>
22815 static siginfo_t ac_aggr;
22822 rm -f conftest.$ac_objext
22823 if { (ac_try="$ac_compile"
22824 case "(($ac_try" in
22825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22826 *) ac_try_echo
=$ac_try;;
22828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22829 (eval "$ac_compile") 2>conftest.er1
22831 grep -v '^ *+' conftest.er1
>conftest.err
22833 cat conftest.err
>&5
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); } &&
22836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22837 { (case "(($ac_try" in
22838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22839 *) ac_try_echo=$ac_try;;
22841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22842 (eval "$ac_try") 2>&5
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); }; } &&
22846 { ac_try='test -s conftest.$ac_objext'
22847 { (case "(($ac_try" in
22848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22849 *) ac_try_echo
=$ac_try;;
22851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22852 (eval "$ac_try") 2>&5
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); }; }; then
22856 ac_cv_member_siginfo_t_si_fd
=yes
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.
$ac_ext >&5
22861 cat >conftest.
$ac_ext <<_ACEOF
22864 cat confdefs.h
>>conftest.
$ac_ext
22865 cat >>conftest.
$ac_ext <<_ACEOF
22866 /* end confdefs.h. */
22867 #include <signal.h>
22872 static siginfo_t ac_aggr;
22873 if (sizeof ac_aggr.si_fd)
22879 rm -f conftest.
$ac_objext
22880 if { (ac_try
="$ac_compile"
22881 case "(($ac_try" in
22882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22883 *) ac_try_echo=$ac_try;;
22885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22886 (eval "$ac_compile") 2>conftest.er1
22888 grep -v '^ *+' conftest.er1 >conftest.err
22890 cat conftest.err >&5
22891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22892 (exit $ac_status); } &&
22893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22894 { (case "(($ac_try" in
22895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22896 *) ac_try_echo
=$ac_try;;
22898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22899 (eval "$ac_try") 2>&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; } &&
22903 { ac_try
='test -s conftest.$ac_objext'
22904 { (case "(($ac_try" in
22905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22906 *) ac_try_echo=$ac_try;;
22908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22909 (eval "$ac_try") 2>&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); }; }; then
22913 ac_cv_member_siginfo_t_si_fd=yes
22915 echo "$as_me: failed program was:" >&5
22916 sed 's/^/| /' conftest.$ac_ext >&5
22918 ac_cv_member_siginfo_t_si_fd=no
22921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22926 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22927 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22928 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22930 cat >>confdefs.h <<_ACEOF
22931 #define HAVE_SIGINFO_T_SI_FD 1
22938 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22939 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22940 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22941 echo $ECHO_N "(cached) $ECHO_C" >&6
22943 cat >conftest.$ac_ext <<_ACEOF
22946 cat confdefs.h >>conftest.$ac_ext
22947 cat >>conftest.$ac_ext <<_ACEOF
22948 /* end confdefs.h. */
22949 #include <sys/types.h>
22950 #ifdef HAVE_SYS_MTIO_H
22951 #include <sys/mtio.h>
22957 static struct mtget ac_aggr;
22958 if (ac_aggr.mt_blksiz)
22964 rm -f conftest.$ac_objext
22965 if { (ac_try="$ac_compile"
22966 case "(($ac_try" in
22967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22968 *) ac_try_echo
=$ac_try;;
22970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22971 (eval "$ac_compile") 2>conftest.er1
22973 grep -v '^ *+' conftest.er1
>conftest.err
22975 cat conftest.err
>&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } &&
22978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22979 { (case "(($ac_try" in
22980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22981 *) ac_try_echo=$ac_try;;
22983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22984 (eval "$ac_try") 2>&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); }; } &&
22988 { ac_try='test -s conftest.$ac_objext'
22989 { (case "(($ac_try" in
22990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22991 *) ac_try_echo
=$ac_try;;
22993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22994 (eval "$ac_try") 2>&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; }; then
22998 ac_cv_member_struct_mtget_mt_blksiz
=yes
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.
$ac_ext >&5
23003 cat >conftest.
$ac_ext <<_ACEOF
23006 cat confdefs.h
>>conftest.
$ac_ext
23007 cat >>conftest.
$ac_ext <<_ACEOF
23008 /* end confdefs.h. */
23009 #include <sys/types.h>
23010 #ifdef HAVE_SYS_MTIO_H
23011 #include <sys/mtio.h>
23017 static struct mtget ac_aggr;
23018 if (sizeof ac_aggr.mt_blksiz)
23024 rm -f conftest.
$ac_objext
23025 if { (ac_try
="$ac_compile"
23026 case "(($ac_try" in
23027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23028 *) ac_try_echo=$ac_try;;
23030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23031 (eval "$ac_compile") 2>conftest.er1
23033 grep -v '^ *+' conftest.er1 >conftest.err
23035 cat conftest.err >&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } &&
23038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23039 { (case "(($ac_try" in
23040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23041 *) ac_try_echo
=$ac_try;;
23043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23044 (eval "$ac_try") 2>&5
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); }; } &&
23048 { ac_try
='test -s conftest.$ac_objext'
23049 { (case "(($ac_try" in
23050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23051 *) ac_try_echo=$ac_try;;
23053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23054 (eval "$ac_try") 2>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; }; then
23058 ac_cv_member_struct_mtget_mt_blksiz=yes
23060 echo "$as_me: failed program was:" >&5
23061 sed 's/^/| /' conftest.$ac_ext >&5
23063 ac_cv_member_struct_mtget_mt_blksiz=no
23066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23071 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
23072 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
23073 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
23075 cat >>confdefs.h <<_ACEOF
23076 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
23081 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
23082 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
23083 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23086 cat >conftest.$ac_ext <<_ACEOF
23089 cat confdefs.h >>conftest.$ac_ext
23090 cat >>conftest.$ac_ext <<_ACEOF
23091 /* end confdefs.h. */
23092 #include <sys/types.h>
23093 #ifdef HAVE_SYS_MTIO_H
23094 #include <sys/mtio.h>
23100 static struct mtget ac_aggr;
23101 if (ac_aggr.mt_gstat)
23107 rm -f conftest.$ac_objext
23108 if { (ac_try="$ac_compile"
23109 case "(($ac_try" in
23110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23111 *) ac_try_echo
=$ac_try;;
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_compile") 2>conftest.er1
23116 grep -v '^ *+' conftest.er1
>conftest.err
23118 cat conftest.err
>&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } &&
23121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23122 { (case "(($ac_try" in
23123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23124 *) ac_try_echo=$ac_try;;
23126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23127 (eval "$ac_try") 2>&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); }; } &&
23131 { ac_try='test -s conftest.$ac_objext'
23132 { (case "(($ac_try" in
23133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23134 *) ac_try_echo
=$ac_try;;
23136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23137 (eval "$ac_try") 2>&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); }; }; then
23141 ac_cv_member_struct_mtget_mt_gstat
=yes
23143 echo "$as_me: failed program was:" >&5
23144 sed 's/^/| /' conftest.
$ac_ext >&5
23146 cat >conftest.
$ac_ext <<_ACEOF
23149 cat confdefs.h
>>conftest.
$ac_ext
23150 cat >>conftest.
$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #include <sys/types.h>
23153 #ifdef HAVE_SYS_MTIO_H
23154 #include <sys/mtio.h>
23160 static struct mtget ac_aggr;
23161 if (sizeof ac_aggr.mt_gstat)
23167 rm -f conftest.
$ac_objext
23168 if { (ac_try
="$ac_compile"
23169 case "(($ac_try" in
23170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23171 *) ac_try_echo=$ac_try;;
23173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23174 (eval "$ac_compile") 2>conftest.er1
23176 grep -v '^ *+' conftest.er1 >conftest.err
23178 cat conftest.err >&5
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); } &&
23181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23182 { (case "(($ac_try" in
23183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23184 *) ac_try_echo
=$ac_try;;
23186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23187 (eval "$ac_try") 2>&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); }; } &&
23191 { ac_try
='test -s conftest.$ac_objext'
23192 { (case "(($ac_try" in
23193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23194 *) ac_try_echo=$ac_try;;
23196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23197 (eval "$ac_try") 2>&5
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); }; }; then
23201 ac_cv_member_struct_mtget_mt_gstat=yes
23203 echo "$as_me: failed program was:" >&5
23204 sed 's/^/| /' conftest.$ac_ext >&5
23206 ac_cv_member_struct_mtget_mt_gstat=no
23209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23214 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
23215 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
23216 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
23218 cat >>confdefs.h <<_ACEOF
23219 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
23224 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
23225 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
23226 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
23227 echo $ECHO_N "(cached) $ECHO_C" >&6
23229 cat >conftest.$ac_ext <<_ACEOF
23232 cat confdefs.h >>conftest.$ac_ext
23233 cat >>conftest.$ac_ext <<_ACEOF
23234 /* end confdefs.h. */
23235 #include <sys/types.h>
23236 #ifdef HAVE_SYS_MTIO_H
23237 #include <sys/mtio.h>
23243 static struct mtget ac_aggr;
23244 if (ac_aggr.mt_blkno)
23250 rm -f conftest.$ac_objext
23251 if { (ac_try="$ac_compile"
23252 case "(($ac_try" in
23253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23254 *) ac_try_echo
=$ac_try;;
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_compile") 2>conftest.er1
23259 grep -v '^ *+' conftest.er1
>conftest.err
23261 cat conftest.err
>&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } &&
23264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23265 { (case "(($ac_try" in
23266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23267 *) ac_try_echo=$ac_try;;
23269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23270 (eval "$ac_try") 2>&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); }; } &&
23274 { ac_try='test -s conftest.$ac_objext'
23275 { (case "(($ac_try" in
23276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23277 *) ac_try_echo
=$ac_try;;
23279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280 (eval "$ac_try") 2>&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; }; then
23284 ac_cv_member_struct_mtget_mt_blkno
=yes
23286 echo "$as_me: failed program was:" >&5
23287 sed 's/^/| /' conftest.
$ac_ext >&5
23289 cat >conftest.
$ac_ext <<_ACEOF
23292 cat confdefs.h
>>conftest.
$ac_ext
23293 cat >>conftest.
$ac_ext <<_ACEOF
23294 /* end confdefs.h. */
23295 #include <sys/types.h>
23296 #ifdef HAVE_SYS_MTIO_H
23297 #include <sys/mtio.h>
23303 static struct mtget ac_aggr;
23304 if (sizeof ac_aggr.mt_blkno)
23310 rm -f conftest.
$ac_objext
23311 if { (ac_try
="$ac_compile"
23312 case "(($ac_try" in
23313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23314 *) ac_try_echo=$ac_try;;
23316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_compile") 2>conftest.er1
23319 grep -v '^ *+' conftest.er1 >conftest.err
23321 cat conftest.err >&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } &&
23324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23325 { (case "(($ac_try" in
23326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23327 *) ac_try_echo
=$ac_try;;
23329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23330 (eval "$ac_try") 2>&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); }; } &&
23334 { ac_try
='test -s conftest.$ac_objext'
23335 { (case "(($ac_try" in
23336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23337 *) ac_try_echo=$ac_try;;
23339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23340 (eval "$ac_try") 2>&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); }; }; then
23344 ac_cv_member_struct_mtget_mt_blkno=yes
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.$ac_ext >&5
23349 ac_cv_member_struct_mtget_mt_blkno=no
23352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23357 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
23358 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
23359 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
23361 cat >>confdefs.h <<_ACEOF
23362 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
23369 { echo "$as_me:$LINENO: checking for struct option.name" >&5
23370 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
23371 if test "${ac_cv_member_struct_option_name+set}" = set; then
23372 echo $ECHO_N "(cached) $ECHO_C" >&6
23374 cat >conftest.$ac_ext <<_ACEOF
23377 cat confdefs.h >>conftest.$ac_ext
23378 cat >>conftest.$ac_ext <<_ACEOF
23379 /* end confdefs.h. */
23380 #ifdef HAVE_GETOPT_H
23381 #include <getopt.h>
23387 static struct option ac_aggr;
23394 rm -f conftest.$ac_objext
23395 if { (ac_try="$ac_compile"
23396 case "(($ac_try" in
23397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23398 *) ac_try_echo
=$ac_try;;
23400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23401 (eval "$ac_compile") 2>conftest.er1
23403 grep -v '^ *+' conftest.er1
>conftest.err
23405 cat conftest.err
>&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } &&
23408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23409 { (case "(($ac_try" in
23410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23411 *) ac_try_echo=$ac_try;;
23413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23414 (eval "$ac_try") 2>&5
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); }; } &&
23418 { ac_try='test -s conftest.$ac_objext'
23419 { (case "(($ac_try" in
23420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23421 *) ac_try_echo
=$ac_try;;
23423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23424 (eval "$ac_try") 2>&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); }; }; then
23428 ac_cv_member_struct_option_name
=yes
23430 echo "$as_me: failed program was:" >&5
23431 sed 's/^/| /' conftest.
$ac_ext >&5
23433 cat >conftest.
$ac_ext <<_ACEOF
23436 cat confdefs.h
>>conftest.
$ac_ext
23437 cat >>conftest.
$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 #ifdef HAVE_GETOPT_H
23440 #include <getopt.h>
23446 static struct option ac_aggr;
23447 if (sizeof ac_aggr.name)
23453 rm -f conftest.
$ac_objext
23454 if { (ac_try
="$ac_compile"
23455 case "(($ac_try" in
23456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23457 *) ac_try_echo=$ac_try;;
23459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23460 (eval "$ac_compile") 2>conftest.er1
23462 grep -v '^ *+' conftest.er1 >conftest.err
23464 cat conftest.err >&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); } &&
23467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23468 { (case "(($ac_try" in
23469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23470 *) ac_try_echo
=$ac_try;;
23472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23473 (eval "$ac_try") 2>&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; } &&
23477 { ac_try
='test -s conftest.$ac_objext'
23478 { (case "(($ac_try" in
23479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23480 *) ac_try_echo=$ac_try;;
23482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23483 (eval "$ac_try") 2>&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); }; }; then
23487 ac_cv_member_struct_option_name=yes
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.$ac_ext >&5
23492 ac_cv_member_struct_option_name=no
23495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23500 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23501 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23502 if test $ac_cv_member_struct_option_name = yes; then
23504 cat >>confdefs.h <<_ACEOF
23505 #define HAVE_STRUCT_OPTION_NAME 1
23512 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23513 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23514 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23515 echo $ECHO_N "(cached) $ECHO_C" >&6
23517 cat >conftest.$ac_ext <<_ACEOF
23520 cat confdefs.h >>conftest.$ac_ext
23521 cat >>conftest.$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23523 $ac_includes_default
23527 static struct stat ac_aggr;
23528 if (ac_aggr.st_blocks)
23534 rm -f conftest.$ac_objext
23535 if { (ac_try="$ac_compile"
23536 case "(($ac_try" in
23537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23538 *) ac_try_echo
=$ac_try;;
23540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23541 (eval "$ac_compile") 2>conftest.er1
23543 grep -v '^ *+' conftest.er1
>conftest.err
23545 cat conftest.err
>&5
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); } &&
23548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23549 { (case "(($ac_try" in
23550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23551 *) ac_try_echo=$ac_try;;
23553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23554 (eval "$ac_try") 2>&5
23556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23557 (exit $ac_status); }; } &&
23558 { ac_try='test -s conftest.$ac_objext'
23559 { (case "(($ac_try" in
23560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23561 *) ac_try_echo
=$ac_try;;
23563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23564 (eval "$ac_try") 2>&5
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); }; }; then
23568 ac_cv_member_struct_stat_st_blocks
=yes
23570 echo "$as_me: failed program was:" >&5
23571 sed 's/^/| /' conftest.
$ac_ext >&5
23573 cat >conftest.
$ac_ext <<_ACEOF
23576 cat confdefs.h
>>conftest.
$ac_ext
23577 cat >>conftest.
$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23579 $ac_includes_default
23583 static struct stat ac_aggr;
23584 if (sizeof ac_aggr.st_blocks)
23590 rm -f conftest.
$ac_objext
23591 if { (ac_try
="$ac_compile"
23592 case "(($ac_try" in
23593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23594 *) ac_try_echo=$ac_try;;
23596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23597 (eval "$ac_compile") 2>conftest.er1
23599 grep -v '^ *+' conftest.er1 >conftest.err
23601 cat conftest.err >&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } &&
23604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23605 { (case "(($ac_try" in
23606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23607 *) ac_try_echo
=$ac_try;;
23609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23610 (eval "$ac_try") 2>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; } &&
23614 { ac_try
='test -s conftest.$ac_objext'
23615 { (case "(($ac_try" in
23616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23617 *) ac_try_echo=$ac_try;;
23619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23620 (eval "$ac_try") 2>&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); }; }; then
23624 ac_cv_member_struct_stat_st_blocks=yes
23626 echo "$as_me: failed program was:" >&5
23627 sed 's/^/| /' conftest.$ac_ext >&5
23629 ac_cv_member_struct_stat_st_blocks=no
23632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23637 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23638 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23639 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23641 cat >>confdefs.h <<_ACEOF
23642 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23649 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23650 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23651 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23652 echo $ECHO_N "(cached) $ECHO_C" >&6
23654 cat >conftest.$ac_ext <<_ACEOF
23657 cat confdefs.h >>conftest.$ac_ext
23658 cat >>conftest.$ac_ext <<_ACEOF
23659 /* end confdefs.h. */
23660 #ifdef HAVE_SYS_TYPES_H
23661 #include <sys/types.h>
23663 #ifdef HAVE_NETINET_IN_H
23664 #include <netinet/in.h>
23670 static struct sockaddr_in6 ac_aggr;
23671 if (ac_aggr.sin6_scope_id)
23677 rm -f conftest.$ac_objext
23678 if { (ac_try="$ac_compile"
23679 case "(($ac_try" in
23680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23681 *) ac_try_echo
=$ac_try;;
23683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23684 (eval "$ac_compile") 2>conftest.er1
23686 grep -v '^ *+' conftest.er1
>conftest.err
23688 cat conftest.err
>&5
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); } &&
23691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23692 { (case "(($ac_try" in
23693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23694 *) ac_try_echo=$ac_try;;
23696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23697 (eval "$ac_try") 2>&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; } &&
23701 { ac_try='test -s conftest.$ac_objext'
23702 { (case "(($ac_try" in
23703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23704 *) ac_try_echo
=$ac_try;;
23706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23707 (eval "$ac_try") 2>&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); }; }; then
23711 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
23713 echo "$as_me: failed program was:" >&5
23714 sed 's/^/| /' conftest.
$ac_ext >&5
23716 cat >conftest.
$ac_ext <<_ACEOF
23719 cat confdefs.h
>>conftest.
$ac_ext
23720 cat >>conftest.
$ac_ext <<_ACEOF
23721 /* end confdefs.h. */
23722 #ifdef HAVE_SYS_TYPES_H
23723 #include <sys/types.h>
23725 #ifdef HAVE_NETINET_IN_H
23726 #include <netinet/in.h>
23732 static struct sockaddr_in6 ac_aggr;
23733 if (sizeof ac_aggr.sin6_scope_id)
23739 rm -f conftest.
$ac_objext
23740 if { (ac_try
="$ac_compile"
23741 case "(($ac_try" in
23742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23743 *) ac_try_echo=$ac_try;;
23745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23746 (eval "$ac_compile") 2>conftest.er1
23748 grep -v '^ *+' conftest.er1 >conftest.err
23750 cat conftest.err >&5
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); } &&
23753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23754 { (case "(($ac_try" in
23755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23756 *) ac_try_echo
=$ac_try;;
23758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23759 (eval "$ac_try") 2>&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); }; } &&
23763 { ac_try
='test -s conftest.$ac_objext'
23764 { (case "(($ac_try" in
23765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23766 *) ac_try_echo=$ac_try;;
23768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23769 (eval "$ac_try") 2>&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; }; then
23773 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23775 echo "$as_me: failed program was:" >&5
23776 sed 's/^/| /' conftest.$ac_ext >&5
23778 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23786 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23787 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23788 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23790 cat >>confdefs.h <<_ACEOF
23791 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23798 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23799 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23800 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23801 echo $ECHO_N "(cached) $ECHO_C" >&6
23803 cat >conftest.$ac_ext <<_ACEOF
23806 cat confdefs.h >>conftest.$ac_ext
23807 cat >>conftest.$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23809 #ifdef HAVE_SYS_TYPES_H
23810 #include <sys/types.h>
23812 #ifdef HAVE_NETINET_IN_H
23813 # include <netinet/in.h>
23815 #ifdef HAVE_ARPA_NAMESER_H
23816 # include <arpa/nameser.h>
23822 static ns_msg ac_aggr;
23823 if (ac_aggr._msg_ptr)
23829 rm -f conftest.$ac_objext
23830 if { (ac_try="$ac_compile"
23831 case "(($ac_try" in
23832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23833 *) ac_try_echo
=$ac_try;;
23835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23836 (eval "$ac_compile") 2>conftest.er1
23838 grep -v '^ *+' conftest.er1
>conftest.err
23840 cat conftest.err
>&5
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); } &&
23843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23844 { (case "(($ac_try" in
23845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23846 *) ac_try_echo=$ac_try;;
23848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23849 (eval "$ac_try") 2>&5
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); }; } &&
23853 { ac_try='test -s conftest.$ac_objext'
23854 { (case "(($ac_try" in
23855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23856 *) ac_try_echo
=$ac_try;;
23858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23859 (eval "$ac_try") 2>&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); }; }; then
23863 ac_cv_member_ns_msg__msg_ptr
=yes
23865 echo "$as_me: failed program was:" >&5
23866 sed 's/^/| /' conftest.
$ac_ext >&5
23868 cat >conftest.
$ac_ext <<_ACEOF
23871 cat confdefs.h
>>conftest.
$ac_ext
23872 cat >>conftest.
$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23874 #ifdef HAVE_SYS_TYPES_H
23875 #include <sys/types.h>
23877 #ifdef HAVE_NETINET_IN_H
23878 # include <netinet/in.h>
23880 #ifdef HAVE_ARPA_NAMESER_H
23881 # include <arpa/nameser.h>
23887 static ns_msg ac_aggr;
23888 if (sizeof ac_aggr._msg_ptr)
23894 rm -f conftest.
$ac_objext
23895 if { (ac_try
="$ac_compile"
23896 case "(($ac_try" in
23897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23898 *) ac_try_echo=$ac_try;;
23900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23901 (eval "$ac_compile") 2>conftest.er1
23903 grep -v '^ *+' conftest.er1 >conftest.err
23905 cat conftest.err >&5
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); } &&
23908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23909 { (case "(($ac_try" in
23910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23911 *) ac_try_echo
=$ac_try;;
23913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23914 (eval "$ac_try") 2>&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); }; } &&
23918 { ac_try
='test -s conftest.$ac_objext'
23919 { (case "(($ac_try" in
23920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23921 *) ac_try_echo=$ac_try;;
23923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23924 (eval "$ac_try") 2>&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); }; }; then
23928 ac_cv_member_ns_msg__msg_ptr=yes
23930 echo "$as_me: failed program was:" >&5
23931 sed 's/^/| /' conftest.$ac_ext >&5
23933 ac_cv_member_ns_msg__msg_ptr=no
23936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23941 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23942 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23943 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23945 cat >>confdefs.h <<_ACEOF
23946 #define HAVE_NS_MSG__MSG_PTR 1
23953 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23954 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23955 if test "${ac_cv_have_timezone+set}" = set; then
23956 echo $ECHO_N "(cached) $ECHO_C" >&6
23958 cat >conftest.$ac_ext <<_ACEOF
23961 cat confdefs.h >>conftest.$ac_ext
23962 cat >>conftest.$ac_ext <<_ACEOF
23963 /* end confdefs.h. */
23973 rm -f conftest.$ac_objext conftest$ac_exeext
23974 if { (ac_try="$ac_link"
23975 case "(($ac_try" in
23976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23977 *) ac_try_echo
=$ac_try;;
23979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23980 (eval "$ac_link") 2>conftest.er1
23982 grep -v '^ *+' conftest.er1
>conftest.err
23984 cat conftest.err
>&5
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); } &&
23987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23988 { (case "(($ac_try" in
23989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23990 *) ac_try_echo=$ac_try;;
23992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23993 (eval "$ac_try") 2>&5
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); }; } &&
23997 { ac_try='test -s conftest$ac_exeext'
23998 { (case "(($ac_try" in
23999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24000 *) ac_try_echo
=$ac_try;;
24002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24003 (eval "$ac_try") 2>&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; }; then
24007 ac_cv_have_timezone
="yes"
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.
$ac_ext >&5
24012 ac_cv_have_timezone
="no"
24015 rm -f core conftest.err conftest.
$ac_objext \
24016 conftest
$ac_exeext conftest.
$ac_ext
24018 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
24019 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
24020 if test "$ac_cv_have_timezone" = "yes"
24023 cat >>confdefs.h
<<\_ACEOF
24024 #define HAVE_TIMEZONE 1
24028 { echo "$as_me:$LINENO: checking for daylight variable" >&5
24029 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
24030 if test "${ac_cv_have_daylight+set}" = set; then
24031 echo $ECHO_N "(cached) $ECHO_C" >&6
24033 cat >conftest.
$ac_ext <<_ACEOF
24036 cat confdefs.h
>>conftest.
$ac_ext
24037 cat >>conftest.
$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24048 rm -f conftest.
$ac_objext conftest
$ac_exeext
24049 if { (ac_try
="$ac_link"
24050 case "(($ac_try" in
24051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24052 *) ac_try_echo=$ac_try;;
24054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24055 (eval "$ac_link") 2>conftest.er1
24057 grep -v '^ *+' conftest.er1 >conftest.err
24059 cat conftest.err >&5
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); } &&
24062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24063 { (case "(($ac_try" in
24064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24065 *) ac_try_echo
=$ac_try;;
24067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24068 (eval "$ac_try") 2>&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); }; } &&
24072 { ac_try
='test -s conftest$ac_exeext'
24073 { (case "(($ac_try" in
24074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24075 *) ac_try_echo=$ac_try;;
24077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24078 (eval "$ac_try") 2>&5
24080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081 (exit $ac_status); }; }; then
24082 ac_cv_have_daylight="yes"
24084 echo "$as_me: failed program was:" >&5
24085 sed 's/^/| /' conftest.$ac_ext >&5
24087 ac_cv_have_daylight="no"
24090 rm -f core conftest.err conftest.$ac_objext \
24091 conftest$ac_exeext conftest.$ac_ext
24093 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
24094 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
24095 if test "$ac_cv_have_daylight" = "yes"
24098 cat >>confdefs.h <<\_ACEOF
24099 #define HAVE_DAYLIGHT 1
24106 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
24107 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
24108 if test "${ac_cv_cpp_def___i386__+set}" = set; then
24109 echo $ECHO_N "(cached) $ECHO_C" >&6
24111 cat >conftest.$ac_ext <<_ACEOF
24114 cat confdefs.h >>conftest.$ac_ext
24115 cat >>conftest.$ac_ext <<_ACEOF
24116 /* end confdefs.h. */
24121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24122 $EGREP "yes" >/dev/null 2>&1; then
24123 ac_cv_cpp_def___i386__=yes
24125 ac_cv_cpp_def___i386__=no
24130 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
24131 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
24132 if test $ac_cv_cpp_def___i386__ = yes; then
24133 CFLAGS="$CFLAGS -D__i386__"
24134 LINTFLAGS="$LINTFLAGS -D__i386__"
24137 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
24138 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
24139 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
24140 echo $ECHO_N "(cached) $ECHO_C" >&6
24142 cat >conftest.$ac_ext <<_ACEOF
24145 cat confdefs.h >>conftest.$ac_ext
24146 cat >>conftest.$ac_ext <<_ACEOF
24147 /* end confdefs.h. */
24152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24153 $EGREP "yes" >/dev/null 2>&1; then
24154 ac_cv_cpp_def___x86_64__=yes
24156 ac_cv_cpp_def___x86_64__=no
24161 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
24162 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
24163 if test $ac_cv_cpp_def___x86_64__ = yes; then
24164 CFLAGS="$CFLAGS -D__x86_64__"
24165 LINTFLAGS="$LINTFLAGS -D__x86_64__"
24168 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
24169 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
24170 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
24171 echo $ECHO_N "(cached) $ECHO_C" >&6
24173 cat >conftest.$ac_ext <<_ACEOF
24176 cat confdefs.h >>conftest.$ac_ext
24177 cat >>conftest.$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24184 $EGREP "yes" >/dev/null 2>&1; then
24185 ac_cv_cpp_def__WIN64=yes
24187 ac_cv_cpp_def__WIN64=no
24192 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
24193 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
24194 if test $ac_cv_cpp_def__WIN64 = yes; then
24195 CFLAGS="$CFLAGS -D_WIN64"
24196 LINTFLAGS="$LINTFLAGS -D_WIN64"
24199 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
24200 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
24201 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
24202 echo $ECHO_N "(cached) $ECHO_C" >&6
24204 cat >conftest.$ac_ext <<_ACEOF
24207 cat confdefs.h >>conftest.$ac_ext
24208 cat >>conftest.$ac_ext <<_ACEOF
24209 /* end confdefs.h. */
24214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24215 $EGREP "yes" >/dev/null 2>&1; then
24216 ac_cv_cpp_def___ALPHA__=yes
24218 ac_cv_cpp_def___ALPHA__=no
24223 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
24224 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
24225 if test $ac_cv_cpp_def___ALPHA__ = yes; then
24226 CFLAGS="$CFLAGS -D__ALPHA__"
24227 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
24230 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
24231 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
24232 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
24233 echo $ECHO_N "(cached) $ECHO_C" >&6
24235 cat >conftest.$ac_ext <<_ACEOF
24238 cat confdefs.h >>conftest.$ac_ext
24239 cat >>conftest.$ac_ext <<_ACEOF
24240 /* end confdefs.h. */
24245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24246 $EGREP "yes" >/dev/null 2>&1; then
24247 ac_cv_cpp_def___sparc__=yes
24249 ac_cv_cpp_def___sparc__=no
24254 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
24255 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
24256 if test $ac_cv_cpp_def___sparc__ = yes; then
24257 CFLAGS="$CFLAGS -D__sparc__"
24258 LINTFLAGS="$LINTFLAGS -D__sparc__"
24261 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
24262 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
24263 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
24264 echo $ECHO_N "(cached) $ECHO_C" >&6
24266 cat >conftest.$ac_ext <<_ACEOF
24269 cat confdefs.h >>conftest.$ac_ext
24270 cat >>conftest.$ac_ext <<_ACEOF
24271 /* end confdefs.h. */
24272 #ifndef __powerpc__
24276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24277 $EGREP "yes" >/dev/null 2>&1; then
24278 ac_cv_cpp_def___powerpc__=yes
24280 ac_cv_cpp_def___powerpc__=no
24285 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
24286 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
24287 if test $ac_cv_cpp_def___powerpc__ = yes; then
24288 CFLAGS="$CFLAGS -D__powerpc__"
24289 LINTFLAGS="$LINTFLAGS -D__powerpc__"
24294 case $host_vendor in
24295 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
24296 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
24297 if test "${ac_cv_cpp_def___sun__+set}" = set; then
24298 echo $ECHO_N "(cached) $ECHO_C" >&6
24300 cat >conftest.$ac_ext <<_ACEOF
24303 cat confdefs.h >>conftest.$ac_ext
24304 cat >>conftest.$ac_ext <<_ACEOF
24305 /* end confdefs.h. */
24310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24311 $EGREP "yes" >/dev/null 2>&1; then
24312 ac_cv_cpp_def___sun__=yes
24314 ac_cv_cpp_def___sun__=no
24319 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
24320 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
24321 if test $ac_cv_cpp_def___sun__ = yes; then
24322 CFLAGS="$CFLAGS -D__sun__"
24323 LINTFLAGS="$LINTFLAGS -D__sun__"
24332 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
24334 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
24336 ac_config_commands="$ac_config_commands dlls/kernel/messages"
24338 ac_config_commands="$ac_config_commands dlls/user/resources"
24340 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
24342 ac_config_commands="$ac_config_commands include/wine"
24345 MAKE_RULES=Make.rules
24348 MAKE_DLL_RULES=dlls/Makedll.rules
24351 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
24354 MAKE_TEST_RULES=dlls/Maketest.rules
24357 MAKE_LIB_RULES=libs/Makelib.rules
24360 MAKE_PROG_RULES=programs/Makeprog.rules
24363 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/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"
24366 cat >confcache <<\_ACEOF
24367 # This file is a shell script that caches the results of configure
24368 # tests run on this system so they can be shared between configure
24369 # scripts and configure runs, see configure's option --config-cache.
24370 # It is not useful on other systems. If it contains results you don't
24371 # want to keep, you may remove or edit it.
24373 # config.status only pays attention to the cache file if you give it
24374 # the --recheck option to rerun configure.
24376 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
24377 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24378 # following values.
24382 # The following way of writing the cache mishandles newlines in values,
24383 # but we know of no workaround that is simple, portable, and efficient.
24384 # So, we kill variables containing newlines.
24385 # Ultrix sh set writes to stderr and can't be redirected directly,
24386 # and sets the high bit in the cache file unless we assign to the vars.
24388 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24389 eval ac_val
=\$
$ac_var
24393 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24394 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24397 _ | IFS | as_nl
) ;; #(
24398 *) $as_unset $ac_var ;;
24404 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24405 *${as_nl}ac_space
=\
*)
24406 # `set' does not quote correctly, so add quotes (double-quote
24407 # substitution turns \\\\ into \\, and sed turns \\ into \).
24410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24413 # `set' quotes correctly as required by POSIX, so do not add quotes.
24414 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24425 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24427 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24428 if test -w "$cache_file"; then
24429 test "x$cache_file" != "x/dev/null" &&
24430 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24431 echo "$as_me: updating cache $cache_file" >&6;}
24432 cat confcache
>$cache_file
24434 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24435 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24440 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24441 # Let make expand exec_prefix.
24442 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24444 DEFS
=-DHAVE_CONFIG_H
24448 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24449 # 1. Remove the extension, and $U if already installed.
24450 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24451 ac_i
=`echo "$ac_i" | sed "$ac_script"`
24452 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24453 # will be set to the directory where LIBOBJS objects are built.
24454 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24455 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24457 LIBOBJS
=$ac_libobjs
24459 LTLIBOBJS
=$ac_ltlibobjs
24463 : ${CONFIG_STATUS=./config.status}
24464 ac_clean_files_save
=$ac_clean_files
24465 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24466 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24467 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24468 cat >$CONFIG_STATUS <<_ACEOF
24470 # Generated by $as_me.
24471 # Run this file to recreate the current configuration.
24472 # Compiler output produced by configure, useful for debugging
24473 # configure, is in config.log if it exists.
24476 ac_cs_recheck=false
24478 SHELL=\${CONFIG_SHELL-$SHELL}
24481 cat >>$CONFIG_STATUS <<\_ACEOF
24482 ## --------------------- ##
24483 ## M4sh Initialization. ##
24484 ## --------------------- ##
24486 # Be Bourne compatible
24487 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24490 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24491 # is contrary to our usage. Disable this feature.
24492 alias -g '${1+"$@"}'='"$@"'
24493 setopt NO_GLOB_SUBST
24495 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
24497 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
24498 DUALCASE
=1; export DUALCASE
# for MKS sh
24502 # Avoid depending upon Character Ranges.
24503 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24504 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24505 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24506 as_cr_digits
='0123456789'
24507 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24509 # The user is always right.
24510 if test "${PATH_SEPARATOR+set}" != set; then
24511 echo "#! /bin/sh" >conf$$.sh
24512 echo "exit 0" >>conf$$.sh
24514 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24522 # Support unset when possible.
24523 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
24531 # We need space, tab and new line, in precisely that order. Quoting is
24532 # there to prevent editors from complaining about space-tab.
24533 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24534 # splitting by setting IFS to empty value.)
24539 # Find who we are. Look in the path if we contain no directory separator.
24541 *[\\/]* ) as_myself
=$0 ;;
24542 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24543 for as_dir
in $PATH
24546 test -z "$as_dir" && as_dir
=.
24547 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24553 # We did not find ourselves, most probably we were run as `sh COMMAND'
24554 # in which case we are not to be found in the path.
24555 if test "x$as_myself" = x
; then
24558 if test ! -f "$as_myself"; then
24559 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24560 { (exit 1); exit 1; }
24563 # Work around bugs in pre-3.0 UWIN ksh.
24564 for as_var
in ENV MAIL MAILPATH
24565 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24573 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24574 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24575 LC_TELEPHONE LC_TIME
24577 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24578 eval $as_var=C
; export $as_var
24580 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24584 # Required to use basename.
24585 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24586 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24592 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24593 as_basename
=basename
24599 # Name of the executable.
24600 as_me
=`$as_basename -- "$0" ||
24601 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24602 X"$0" : 'X\(//\)$' \| \
24603 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24605 sed '/^.*\/\([^/][^/]*\)\/*$/{
24624 as_lineno_1
=$LINENO
24625 as_lineno_2
=$LINENO
24626 test "x$as_lineno_1" != "x$as_lineno_2" &&
24627 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
24629 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24630 # uniformly replaced by the line number. The first 'sed' inserts a
24631 # line-number line after each line using $LINENO; the second 'sed'
24632 # does the real work. The second script uses 'N' to pair each
24633 # line-number line with the line containing $LINENO, and appends
24634 # trailing '-' during substitution so that $LINENO is not a special
24635 # case at line end.
24636 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24637 # scripts with optimization help from Paolo Bonzini. Blame Lee
24638 # E. McMahon (1931-1989) for sed's syntax. :-)
24650 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24653 ' >$as_me.lineno
&&
24654 chmod +x
"$as_me.lineno" ||
24655 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24656 { (exit 1); exit 1; }; }
24658 # Don't try to exec as it changes $[0], causing all sort of problems
24659 # (the dirname of $[0] is not the place where we might find the
24660 # original and so on. Autoconf is especially sensitive to this).
24661 .
"./$as_me.lineno"
24662 # Exit status is that of the last command.
24667 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24673 ECHO_C
= ECHO_N
= ECHO_T
=
24674 case `echo -n x` in
24676 case `echo 'x\c'` in
24677 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24684 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24685 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24691 rm -f conf$$ conf$$.exe conf$$.
file
24692 if test -d conf$$.dir
; then
24693 rm -f conf$$.dir
/conf$$.
file
24699 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24701 # ... but there are two gotchas:
24702 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24703 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24704 # In both cases, we have to default to `cp -p'.
24705 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24707 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24712 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24713 rmdir conf$$.dir
2>/dev
/null
24715 if mkdir
-p .
2>/dev
/null
; then
24718 test -d .
/-p && rmdir .
/-p
24722 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24723 # systems may use methods other than mode bits to determine executability.
24724 cat >conf$$.
file <<_ASEOF
24728 chmod +x conf$$.
file
24729 if test -x conf$$.
file >/dev
/null
2>&1; then
24730 as_executable_p
="test -x"
24736 # Sed expression to map a string onto a valid CPP name.
24737 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24739 # Sed expression to map a string onto a valid variable name.
24740 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24745 # Save the log message, to keep $[0] and so on meaningful, and to
24746 # report actual input values of CONFIG_FILES etc. instead of their
24747 # values after options handling.
24749 This file was extended by Wine $as_me 0.9.17, which was
24750 generated by GNU Autoconf 2.60a. Invocation command line was
24752 CONFIG_FILES = $CONFIG_FILES
24753 CONFIG_HEADERS = $CONFIG_HEADERS
24754 CONFIG_LINKS = $CONFIG_LINKS
24755 CONFIG_COMMANDS = $CONFIG_COMMANDS
24758 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24763 cat >>$CONFIG_STATUS <<_ACEOF
24764 # Files that config.status was made for.
24765 config_files="$ac_config_files"
24766 config_headers="$ac_config_headers"
24767 config_commands="$ac_config_commands"
24771 cat >>$CONFIG_STATUS <<\_ACEOF
24773 \`$as_me' instantiates files from templates according to the
24774 current configuration.
24776 Usage: $0 [OPTIONS] [FILE]...
24778 -h, --help print this help, then exit
24779 -V, --version print version number, then exit
24780 -q, --quiet do not print progress messages
24781 -d, --debug don't remove temporary files
24782 --recheck update $as_me by reconfiguring in the same conditions
24783 --file=FILE[:TEMPLATE]
24784 instantiate the configuration file FILE
24785 --header=FILE[:TEMPLATE]
24786 instantiate the configuration header FILE
24788 Configuration files:
24791 Configuration headers:
24794 Configuration commands:
24797 Report bugs to <bug-autoconf@gnu.org>."
24800 cat >>$CONFIG_STATUS <<_ACEOF
24802 Wine config.status 0.9.17
24803 configured by $0, generated by GNU Autoconf 2.60a,
24804 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24806 Copyright (C) 2006 Free Software Foundation, Inc.
24807 This config.status script is free software; the Free Software Foundation
24808 gives unlimited permission to copy, distribute and modify it."
24815 cat >>$CONFIG_STATUS <<\_ACEOF
24816 # If no file are specified by the user, then we need to provide default
24817 # value. By we need to know if files were specified by the user.
24823 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24824 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24835 # Handling of the options.
24836 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24838 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24839 echo "$ac_cs_version"; exit ;;
24840 --debug |
--debu |
--deb |
--de |
--d |
-d )
24842 --file |
--fil |
--fi |
--f )
24844 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24845 ac_need_defaults
=false
;;
24846 --header |
--heade |
--head |
--hea )
24848 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24849 ac_need_defaults
=false
;;
24851 # Conflict between --help and --header
24852 { echo "$as_me: error: ambiguous option: $1
24853 Try \`$0 --help' for more information." >&2
24854 { (exit 1); exit 1; }; };;
24855 --help |
--hel |
-h )
24856 echo "$ac_cs_usage"; exit ;;
24857 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24858 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24861 # This is an error.
24862 -*) { echo "$as_me: error: unrecognized option: $1
24863 Try \`$0 --help' for more information." >&2
24864 { (exit 1); exit 1; }; } ;;
24866 *) ac_config_targets
="$ac_config_targets $1"
24867 ac_need_defaults
=false
;;
24873 ac_configure_extra_args
=
24875 if $ac_cs_silent; then
24877 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24881 cat >>$CONFIG_STATUS <<_ACEOF
24882 if \$ac_cs_recheck; then
24883 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24884 CONFIG_SHELL=$SHELL
24885 export CONFIG_SHELL
24886 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24890 cat >>$CONFIG_STATUS <<\_ACEOF
24894 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24895 ## Running $as_me. ##
24901 cat >>$CONFIG_STATUS <<_ACEOF
24904 cat >>$CONFIG_STATUS <<\_ACEOF
24906 # Handling of arguments.
24907 for ac_config_target
in $ac_config_targets
24909 case $ac_config_target in
24910 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24911 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24912 "dlls/gdi/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24913 "dlls/kernel/messages") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24914 "dlls/user/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
24915 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24916 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
24917 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
24918 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
24919 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24920 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
24921 "libs/Makelib.rules") CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
24922 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
24923 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24924 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
24925 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
24926 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24927 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24928 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
24929 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24930 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
24931 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
24932 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24933 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24934 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24935 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24936 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24937 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
24938 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24939 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
24940 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24941 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24942 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24943 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24944 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24945 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
24946 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24947 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24948 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24949 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24950 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24951 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24952 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24953 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24954 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24955 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24956 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24957 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24958 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24959 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24960 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24961 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24962 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24963 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24964 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
24965 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
24966 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24967 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24968 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
24969 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24970 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
24971 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24972 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24973 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24974 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24975 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24976 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24977 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24978 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24979 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
24980 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24981 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24982 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24983 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
24984 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24985 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
24986 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24987 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24988 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24989 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24990 "dlls/gdi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
24991 "dlls/gdi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24992 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
24993 "dlls/glut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
24994 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24995 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24996 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
24997 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24998 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
24999 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
25000 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
25001 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
25002 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
25003 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
25004 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
25005 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
25006 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
25007 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
25008 "dlls/kernel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
25009 "dlls/kernel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
25010 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
25011 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
25012 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
25013 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
25014 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
25015 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
25016 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
25017 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
25018 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
25019 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
25020 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
25021 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
25022 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
25023 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
25024 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
25025 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
25026 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
25027 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
25028 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
25029 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
25030 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
25031 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
25032 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
25033 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
25034 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
25035 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
25036 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
25037 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
25038 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
25039 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
25040 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
25041 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
25042 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
25043 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
25044 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
25045 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
25046 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
25047 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
25048 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
25049 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
25050 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
25051 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
25052 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
25053 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
25054 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
25055 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
25056 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
25057 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
25058 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
25059 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
25060 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
25061 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
25062 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
25063 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
25064 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
25065 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
25066 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
25067 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
25068 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
25069 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
25070 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
25071 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
25072 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
25073 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
25074 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
25075 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
25076 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
25077 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
25078 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
25079 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
25080 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
25081 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
25082 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
25083 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
25084 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
25085 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
25086 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
25087 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
25088 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
25089 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
25090 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
25091 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
25092 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
25093 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
25094 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
25095 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
25096 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
25097 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
25098 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
25099 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
25100 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
25101 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
25102 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
25103 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
25104 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
25105 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
25106 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
25107 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
25108 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
25109 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
25110 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
25111 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
25112 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
25113 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
25114 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
25115 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
25116 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
25117 "dlls/user/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
25118 "dlls/user/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
25119 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
25120 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
25121 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
25122 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
25123 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
25124 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
25125 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
25126 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
25127 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
25128 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
25129 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
25130 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
25131 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
25132 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
25133 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
25134 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
25135 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
25136 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
25137 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
25138 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
25139 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
25140 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
25141 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
25142 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
25143 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
25144 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
25145 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
25146 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
25147 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
25148 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
25149 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
25150 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
25151 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
25152 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
25153 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
25154 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
25155 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
25156 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
25157 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
25158 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
25159 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
25160 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
25161 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
25162 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
25163 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
25164 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
25165 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
25166 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
25167 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
25168 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
25169 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
25170 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
25171 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
25172 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
25173 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
25174 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
25175 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
25176 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
25177 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
25178 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
25179 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
25180 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
25181 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
25182 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
25183 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
25184 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
25185 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
25186 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
25187 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
25188 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
25189 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
25190 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
25191 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
25192 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
25193 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
25194 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
25195 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
25196 "programs/wcmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
25197 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
25198 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
25199 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
25200 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
25201 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
25202 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
25203 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
25204 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
25205 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
25206 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
25207 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
25208 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
25209 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
25210 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
25211 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
25212 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
25213 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
25214 "tools/winapi/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
25215 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
25216 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
25217 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
25218 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
25219 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
25221 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25222 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25223 { (exit 1); exit 1; }; };;
25228 # If the user did not use the arguments to specify the items to instantiate,
25229 # then the envvar interface is used. Set only those that are not.
25230 # We use the long form for the default assignment because of an extremely
25231 # bizarre bug on SunOS 4.1.3.
25232 if $ac_need_defaults; then
25233 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25234 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25235 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25238 # Have a temporary directory for convenience. Make it in the build tree
25239 # simply because there is no reason against having it here, and in addition,
25240 # creating and moving files from /tmp can sometimes cause problems.
25241 # Hook for its removal unless debugging.
25242 # Note that there is a small window in which the directory will not be cleaned:
25243 # after its creation but before its name has been assigned to `$tmp'.
25247 trap 'exit_status=$?
25248 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25250 trap '{ (exit 1); exit 1; }' 1 2 13 15
25252 # Create a (secure) tmp directory for tmp files.
25255 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25256 test -n "$tmp" && test -d "$tmp"
25259 tmp
=.
/conf$$
-$RANDOM
25260 (umask 077 && mkdir
"$tmp")
25263 echo "$me: cannot create a temporary directory in ." >&2
25264 { (exit 1); exit 1; }
25268 # Set up the sed scripts for CONFIG_FILES section.
25271 # No need to generate the scripts if there are no CONFIG_FILES.
25272 # This happens for instance when ./config.status config.h
25273 if test -n "$CONFIG_FILES"; then
25277 # Create sed commands to just substitute file output variables.
25279 # Remaining file output variables are in a fragment that also has non-file
25285 for ac_last_try
in false false false false false
:; do
25286 cat >conf$
$subs.
sed <<_ACEOF
25287 SHELL!$SHELL$ac_delim
25288 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25289 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25290 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25291 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25292 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25293 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25294 exec_prefix!$exec_prefix$ac_delim
25295 prefix!$prefix$ac_delim
25296 program_transform_name!$program_transform_name$ac_delim
25297 bindir!$bindir$ac_delim
25298 sbindir!$sbindir$ac_delim
25299 libexecdir!$libexecdir$ac_delim
25300 datarootdir!$datarootdir$ac_delim
25301 datadir!$datadir$ac_delim
25302 sysconfdir!$sysconfdir$ac_delim
25303 sharedstatedir!$sharedstatedir$ac_delim
25304 localstatedir!$localstatedir$ac_delim
25305 includedir!$includedir$ac_delim
25306 oldincludedir!$oldincludedir$ac_delim
25307 docdir!$docdir$ac_delim
25308 infodir!$infodir$ac_delim
25309 htmldir!$htmldir$ac_delim
25310 dvidir!$dvidir$ac_delim
25311 pdfdir!$pdfdir$ac_delim
25312 psdir!$psdir$ac_delim
25313 libdir!$libdir$ac_delim
25314 localedir!$localedir$ac_delim
25315 mandir!$mandir$ac_delim
25316 DEFS!$DEFS$ac_delim
25317 ECHO_C!$ECHO_C$ac_delim
25318 ECHO_N!$ECHO_N$ac_delim
25319 ECHO_T!$ECHO_T$ac_delim
25320 LIBS!$LIBS$ac_delim
25321 build_alias!$build_alias$ac_delim
25322 host_alias!$host_alias$ac_delim
25323 target_alias!$target_alias$ac_delim
25324 build!$build$ac_delim
25325 build_cpu!$build_cpu$ac_delim
25326 build_vendor!$build_vendor$ac_delim
25327 build_os!$build_os$ac_delim
25328 host!$host$ac_delim
25329 host_cpu!$host_cpu$ac_delim
25330 host_vendor!$host_vendor$ac_delim
25331 host_os!$host_os$ac_delim
25332 WIN16_FILES!$WIN16_FILES$ac_delim
25333 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
25334 SET_MAKE!$SET_MAKE$ac_delim
25336 CFLAGS!$CFLAGS$ac_delim
25337 LDFLAGS!$LDFLAGS$ac_delim
25338 CPPFLAGS!$CPPFLAGS$ac_delim
25339 ac_ct_CC!$ac_ct_CC$ac_delim
25340 EXEEXT!$EXEEXT$ac_delim
25341 OBJEXT!$OBJEXT$ac_delim
25343 CXXFLAGS!$CXXFLAGS$ac_delim
25344 ac_ct_CXX!$ac_ct_CXX$ac_delim
25345 CPPBIN!$CPPBIN$ac_delim
25346 TOOLSDIR!$TOOLSDIR$ac_delim
25347 XMKMF!$XMKMF$ac_delim
25349 X_CFLAGS!$X_CFLAGS$ac_delim
25350 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
25351 X_LIBS!$X_LIBS$ac_delim
25352 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
25354 LEXLIB!$LEXLIB$ac_delim
25355 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
25356 XLEX!$XLEX$ac_delim
25357 BISON!$BISON$ac_delim
25359 ac_ct_AS!$ac_ct_AS$ac_delim
25362 RANLIB!$RANLIB$ac_delim
25363 STRIP!$STRIP$ac_delim
25364 WINDRES!$WINDRES$ac_delim
25365 LN_S!$LN_S$ac_delim
25368 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
25370 elif $ac_last_try; then
25371 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25372 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25373 { (exit 1); exit 1; }; }
25375 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25379 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25380 if test -n "$ac_eof"; then
25381 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25382 ac_eof
=`expr $ac_eof + 1`
25385 cat >>$CONFIG_STATUS <<_ACEOF
25386 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25387 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25388 /^[ ]*@MAKE_RULES@[ ]*$/{
25392 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25396 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25397 r $MAKE_IMPLIB_RULES
25400 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25404 /^[ ]*@MAKE_LIB_RULES@[ ]*$/{
25408 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25414 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25415 s/^/s,@/; s/!/@,|#_!!_#|/
25418 s/'"$ac_delim"'$/,g/; t
25420 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25421 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25422 rm -f conf$
$subs.
sed
25423 cat >>$CONFIG_STATUS <<_ACEOF
25429 for ac_last_try
in false false false false false
:; do
25430 cat >conf$
$subs.
sed <<_ACEOF
25432 GREP!$GREP$ac_delim
25433 EGREP!$EGREP$ac_delim
25434 LDCONFIG!$LDCONFIG$ac_delim
25435 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25436 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25437 INSTALL_DATA!$INSTALL_DATA$ac_delim
25438 LINT!$LINT$ac_delim
25439 LINTFLAGS!$LINTFLAGS$ac_delim
25440 FONTFORGE!$FONTFORGE$ac_delim
25441 PKG_CONFIG!$PKG_CONFIG$ac_delim
25442 PRELINK!$PRELINK$ac_delim
25443 LIBPTHREAD!$LIBPTHREAD$ac_delim
25444 XLIB!$XLIB$ac_delim
25445 XFILES!$XFILES$ac_delim
25446 OPENGLFILES!$OPENGLFILES$ac_delim
25447 GLU32FILES!$GLU32FILES$ac_delim
25448 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25449 GLUT_LIBS!$GLUT_LIBS$ac_delim
25450 GLUT32FILES!$GLUT32FILES$ac_delim
25451 NASLIBS!$NASLIBS$ac_delim
25452 XML2LIBS!$XML2LIBS$ac_delim
25453 XML2INCL!$XML2INCL$ac_delim
25454 XSLTLIBS!$XSLTLIBS$ac_delim
25455 XSLTINCL!$XSLTINCL$ac_delim
25456 HALINCL!$HALINCL$ac_delim
25457 CURSESLIBS!$CURSESLIBS$ac_delim
25458 sane_devel!$sane_devel$ac_delim
25459 SANELIBS!$SANELIBS$ac_delim
25460 SANEINCL!$SANEINCL$ac_delim
25461 gphoto2_devel!$gphoto2_devel$ac_delim
25462 gphoto2port_devel!$gphoto2port_devel$ac_delim
25463 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25464 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25465 ICULIBS!$ICULIBS$ac_delim
25466 RESOLVLIBS!$RESOLVLIBS$ac_delim
25467 LCMSLIBS!$LCMSLIBS$ac_delim
25468 LDAPLIBS!$LDAPLIBS$ac_delim
25469 FREETYPELIBS!$FREETYPELIBS$ac_delim
25470 FREETYPEINCL!$FREETYPEINCL$ac_delim
25471 ft_devel!$ft_devel$ac_delim
25472 ft_devel2!$ft_devel2$ac_delim
25473 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25474 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25475 ARTSLIBS!$ARTSLIBS$ac_delim
25476 ARTSINCL!$ARTSINCL$ac_delim
25477 ESDCONFIG!$ESDCONFIG$ac_delim
25478 ESDLIBS!$ESDLIBS$ac_delim
25479 ESDINCL!$ESDINCL$ac_delim
25480 ALSALIBS!$ALSALIBS$ac_delim
25481 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25482 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25483 BUILTINFLAG!$BUILTINFLAG$ac_delim
25484 DLLEXT!$DLLEXT$ac_delim
25485 DLLFLAGS!$DLLFLAGS$ac_delim
25486 DLLIBS!$DLLIBS$ac_delim
25487 LDSHARED!$LDSHARED$ac_delim
25488 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25489 LIBEXT!$LIBEXT$ac_delim
25490 IMPLIBEXT!$IMPLIBEXT$ac_delim
25491 DLLTOOL!$DLLTOOL$ac_delim
25492 DLLWRAP!$DLLWRAP$ac_delim
25493 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25494 LDEXERPATH!$LDEXERPATH$ac_delim
25495 LDDLLRPATH!$LDDLLRPATH$ac_delim
25496 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25497 IOKITLIB!$IOKITLIB$ac_delim
25498 COREAUDIO!$COREAUDIO$ac_delim
25499 CROSSTEST!$CROSSTEST$ac_delim
25500 CROSSCC!$CROSSCC$ac_delim
25501 CROSSWINDRES!$CROSSWINDRES$ac_delim
25502 LDPATH!$LDPATH$ac_delim
25503 CRTLIBS!$CRTLIBS$ac_delim
25504 SOCKETLIBS!$SOCKETLIBS$ac_delim
25505 MAIN_BINARY!$MAIN_BINARY$ac_delim
25506 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25508 LIBOBJS!$LIBOBJS$ac_delim
25509 LTLIBOBJS!$LTLIBOBJS$ac_delim
25512 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
25514 elif $ac_last_try; then
25515 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25516 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25517 { (exit 1); exit 1; }; }
25519 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25523 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25524 if test -n "$ac_eof"; then
25525 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25526 ac_eof
=`expr $ac_eof + 1`
25529 cat >>$CONFIG_STATUS <<_ACEOF
25530 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25531 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25534 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25535 s/^/s,@/; s/!/@,|#_!!_#|/
25538 s/'"$ac_delim"'$/,g/; t
25540 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25541 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25542 rm -f conf$
$subs.
sed
25543 cat >>$CONFIG_STATUS <<_ACEOF
25550 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25551 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25552 # trailing colons and then remove the whole line if VPATH becomes empty
25553 # (actually we leave an empty line to preserve line numbers).
25554 if test "x$srcdir" = x.
; then
25555 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25556 s/:*\$(srcdir):*/:/
25557 s/:*\${srcdir}:*/:/
25559 s/^\([^=]*=[ ]*\):*/\1/
25565 cat >>$CONFIG_STATUS <<\_ACEOF
25566 fi # test -n "$CONFIG_FILES"
25569 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
25572 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25574 case $ac_mode$ac_tag in
25576 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25577 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25578 { (exit 1); exit 1; }; };;
25579 :[FH
]-) ac_tag
=-:-;;
25580 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25597 -) ac_f
="$tmp/stdin";;
25598 *) # Look for the file first in the build tree, then in the source tree
25599 # (if the path is not absolute). The absolute path cannot be DOS-style,
25600 # because $ac_f cannot contain `:'.
25604 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25606 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25607 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25608 { (exit 1); exit 1; }; };;
25610 ac_file_inputs
="$ac_file_inputs $ac_f"
25613 # Let's still pretend it is `configure' which instantiates (i.e., don't
25614 # use $as_me), people would be surprised to read:
25615 # /* config.h. Generated by config.status. */
25616 configure_input
="Generated from "`IFS=:
25617 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25618 if test x
"$ac_file" != x-
; then
25619 configure_input
="$ac_file. $configure_input"
25620 { echo "$as_me:$LINENO: creating $ac_file" >&5
25621 echo "$as_me: creating $ac_file" >&6;}
25625 *:-:* |
*:-) cat >"$tmp/stdin";;
25630 ac_dir
=`$as_dirname -- "$ac_file" ||
25631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25632 X"$ac_file" : 'X\(//\)[^/]' \| \
25633 X"$ac_file" : 'X\(//\)$' \| \
25634 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25640 /^X\(\/\/\)[^/].*/{
25655 -*) as_dir
=.
/$as_dir;;
25657 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25661 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25662 *) as_qdir
=$as_dir;;
25664 as_dirs
="'$as_qdir' $as_dirs"
25665 as_dir
=`$as_dirname -- "$as_dir" ||
25666 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25667 X"$as_dir" : 'X\(//\)[^/]' \| \
25668 X"$as_dir" : 'X\(//\)$' \| \
25669 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25675 /^X\(\/\/\)[^/].*/{
25688 test -d "$as_dir" && break
25690 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25691 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25692 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25693 { (exit 1); exit 1; }; }; }
25697 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25699 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25700 # A ".." for each directory in $ac_dir_suffix.
25701 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25702 case $ac_top_builddir_sub in
25703 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25704 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25707 ac_abs_top_builddir
=$ac_pwd
25708 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25709 # for backward compatibility:
25710 ac_top_builddir
=$ac_top_build_prefix
25713 .
) # We are building in place.
25715 ac_top_srcdir
=$ac_top_builddir_sub
25716 ac_abs_top_srcdir
=$ac_pwd ;;
25717 [\\/]* | ?
:[\\/]* ) # Absolute name.
25718 ac_srcdir
=$srcdir$ac_dir_suffix;
25719 ac_top_srcdir
=$srcdir
25720 ac_abs_top_srcdir
=$srcdir ;;
25721 *) # Relative name.
25722 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25723 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25724 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25726 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25736 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25737 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25741 cat >>$CONFIG_STATUS <<\_ACEOF
25742 # If the template does not know about datarootdir, expand it.
25743 # FIXME: This hack should be removed a few years after 2.60.
25744 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25746 case `sed -n '/datarootdir/ {
25755 ' $ac_file_inputs` in
25756 *datarootdir
*) ac_datarootdir_seen
=yes;;
25757 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25758 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25759 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25761 cat >>$CONFIG_STATUS <<_ACEOF
25762 ac_datarootdir_hack='
25763 s&@datadir@&$datadir&g
25764 s&@docdir@&$docdir&g
25765 s&@infodir@&$infodir&g
25766 s&@localedir@&$localedir&g
25767 s&@mandir@&$mandir&g
25768 s&\\\${datarootdir}&$datarootdir&g' ;;
25772 # Neutralize VPATH when `$srcdir' = `.'.
25773 # Shell code in configure.ac might set extrasub.
25774 # FIXME: do we really want to maintain this feature?
25775 cat >>$CONFIG_STATUS <<_ACEOF
25779 cat >>$CONFIG_STATUS <<\_ACEOF
25781 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25782 s
&@configure_input@
&$configure_input&;t t
25783 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25784 s
&@srcdir@
&$ac_srcdir&;t t
25785 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25786 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25787 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25788 s
&@builddir@
&$ac_builddir&;t t
25789 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25790 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25791 s
&@INSTALL@
&$ac_INSTALL&;t t
25792 $ac_datarootdir_hack
25793 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
25795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25796 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25797 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25798 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25799 which seems to be undefined. Please make sure it is defined." >&5
25800 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25801 which seems to be undefined. Please make sure it is defined." >&2;}
25805 -) cat "$tmp/out"; rm -f "$tmp/out";;
25806 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25815 # Transform confdefs.h into a sed script `conftest.defines', that
25816 # substitutes the proper values into config.h.in to produce config.h.
25817 rm -f conftest.defines conftest.
tail
25818 # First, append a space to every undef/define line, to ease matching.
25819 echo 's/$/ /' >conftest.defines
25820 # Then, protect against being on the right side of a sed subst, or in
25821 # an unquoted here document, in config.status. If some macros were
25822 # called several times there might be several #defines for the same
25823 # symbol, which is useless. But do not sort them, since the last
25824 # AC_DEFINE must be honored.
25825 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25826 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25827 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25828 # PARAMS is the parameter list in the macro definition--in most cases, it's
25829 # just an empty string.
25830 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25831 ac_dB
='\\)[ (].*,\\1define\\2'
25839 s/^[ ]*#[ ]*define[ ][ ]*//
25844 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25845 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25846 ' >>conftest.defines
25848 # Remove the space that was appended to ease matching.
25849 # Then replace #undef with comments. This is necessary, for
25850 # example, in the case of _POSIX_SOURCE, which is predefined and required
25851 # on some systems where configure will not decide to define it.
25852 # (The regexp can be short, since the line contains either #define or #undef.)
25854 s,^[ #]*u.*,/* & */,' >>conftest.defines
25856 # Break up conftest.defines:
25857 ac_max_sed_lines
=50
25859 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25860 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25861 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25863 ac_in
='$ac_file_inputs'
25864 ac_out
='"$tmp/out1"'
25865 ac_nxt
='"$tmp/out2"'
25869 # Write a here document:
25870 cat >>$CONFIG_STATUS <<_ACEOF
25871 # First, check the format of the line:
25872 cat >"\$tmp/defines.sed" <<\\CEOF
25873 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25874 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25878 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25880 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25881 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25882 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25883 grep . conftest.
tail >/dev
/null ||
break
25884 rm -f conftest.defines
25885 mv conftest.
tail conftest.defines
25887 rm -f conftest.defines conftest.
tail
25889 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25890 cat >>$CONFIG_STATUS <<\_ACEOF
25891 if test x
"$ac_file" != x-
; then
25892 echo "/* $configure_input */" >"$tmp/config.h"
25893 cat "$ac_result" >>"$tmp/config.h"
25894 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25895 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25896 echo "$as_me: $ac_file is unchanged" >&6;}
25899 mv "$tmp/config.h" $ac_file
25902 echo "/* $configure_input */"
25908 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25909 echo "$as_me: executing $ac_file commands" >&6;}
25914 case $ac_file$ac_mode in
25915 "dlls/gdi/enhmfdrv":C
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25916 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
25917 "dlls/gdi/mfdrv":C
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25918 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
25919 "dlls/kernel/messages":C
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25920 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
25921 "dlls/user/resources":C
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25922 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
25923 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25924 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
25925 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
25926 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
25932 { (exit 0); exit 0; }
25934 chmod +x
$CONFIG_STATUS
25935 ac_clean_files
=$ac_clean_files_save
25938 # configure is writing to config.log, and then calls config.status.
25939 # config.status does its own redirection, appending to config.log.
25940 # Unfortunately, on DOS this fails, as config.log is still kept open
25941 # by configure, so config.status won't be able to write to it; its
25942 # output is simply discarded. So we exec the FD to /dev/null,
25943 # effectively closing config.log, so it can be properly (re)opened and
25944 # appended to by config.status. When coming back to configure, we
25945 # need to make the FD available again.
25946 if test "$no_create" != yes; then
25948 ac_config_status_args
=
25949 test "$silent" = yes &&
25950 ac_config_status_args
="$ac_config_status_args --quiet"
25952 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25954 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25955 # would make configure fail if this is the last instruction.
25956 $ac_cs_success ||
{ (exit 1); exit 1; }
25960 if test "$have_x" = "no"
25963 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25964 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25965 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25966 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25967 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25968 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25969 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25970 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25973 if test "$wine_cv_opengl_version_OK" = "no"
25976 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25977 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
25978 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25979 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25982 if test "$wine_cv_msg_freetype" = "yes"
25985 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25986 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25987 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25988 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25989 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25990 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25991 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25992 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25995 if test -z "$FONTSSUBDIRS"
25998 if test "$FONTFORGE" = "false"
26000 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
26001 echo "$as_me: WARNING: FontForge is missing." >&2;}
26003 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
26004 echo "$as_me: WARNING: FreeType is missing." >&2;}
26006 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
26007 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
26010 if test -z "$ALSALIBS" -a \
26011 -z "$ARTSC_LIBS" -a \
26012 -z "$AUDIOIOLIBS" -a \
26014 -z "$ESD_LIBS" -a \
26015 -z "$ac_cv_lib_soname_jack" -a \
26016 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
26017 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
26018 "$ac_cv_header_soundcard_h" != "yes"
26021 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
26022 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
26023 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
26024 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
26025 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
26026 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
26030 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."