2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.21.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
561 PACKAGE_TARNAME
='wine'
562 PACKAGE_VERSION
='0.9.21'
563 PACKAGE_STRING
='Wine 0.9.21'
564 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
566 ac_unique_file
="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
571 # include <sys/types.h>
574 # include <sys/stat.h>
585 # if !STDC_HEADERS && HAVE_MEMORY_H
591 # include <strings.h>
594 # include <inttypes.h>
612 program_transform_name
762 ac_subst_files
='MAKE_RULES
767 ac_precious_vars
='build_alias
781 # Initialize some variables set by options.
783 ac_init_version
=false
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
793 program_transform_name
=s
,x
,x
,
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir
='${exec_prefix}/bin'
808 sbindir
='${exec_prefix}/sbin'
809 libexecdir
='${exec_prefix}/libexec'
810 datarootdir
='${prefix}/share'
811 datadir
='${datarootdir}'
812 sysconfdir
='${prefix}/etc'
813 sharedstatedir
='${prefix}/com'
814 localstatedir
='${prefix}/var'
815 includedir
='${prefix}/include'
816 oldincludedir
='/usr/include'
817 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir
='${datarootdir}/info'
823 libdir
='${exec_prefix}/lib'
824 localedir
='${datarootdir}/locale'
825 mandir
='${datarootdir}/man'
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\
$ac_option
839 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
843 # Accept the important Cygnus configure options, so we can diagnose typos.
845 case $ac_dashdash$ac_option in
849 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
851 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
854 -build |
--build |
--buil |
--bui |
--bu)
855 ac_prev
=build_alias
;;
856 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
857 build_alias
=$ac_optarg ;;
859 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
860 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
861 ac_prev
=cache_file
;;
862 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
863 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
864 cache_file
=$ac_optarg ;;
867 cache_file
=config.cache
;;
869 -datadir |
--datadir |
--datadi |
--datad)
871 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
872 datadir
=$ac_optarg ;;
874 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
875 |
--dataroo |
--dataro |
--datar)
876 ac_prev
=datarootdir
;;
877 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
878 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
879 datarootdir
=$ac_optarg ;;
881 -disable-* |
--disable-*)
882 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
885 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
886 { (exit 1); exit 1; }; }
887 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
888 eval enable_
$ac_feature=no
;;
890 -docdir |
--docdir |
--docdi |
--doc |
--do)
892 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
895 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
897 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
900 -enable-* |
--enable-*)
901 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
905 { (exit 1); exit 1; }; }
906 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
907 eval enable_
$ac_feature=\
$ac_optarg ;;
909 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
910 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
911 |
--exec |
--exe |
--ex)
912 ac_prev
=exec_prefix
;;
913 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
914 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
915 |
--exec=* |
--exe=* |
--ex=*)
916 exec_prefix
=$ac_optarg ;;
918 -gas |
--gas |
--ga |
--g)
919 # Obsolete; use --with-gas.
922 -help |
--help |
--hel |
--he |
-h)
924 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
925 ac_init_help
=recursive
;;
926 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
927 ac_init_help
=short
;;
929 -host |
--host |
--hos |
--ho)
930 ac_prev
=host_alias
;;
931 -host=* |
--host=* |
--hos=* |
--ho=*)
932 host_alias
=$ac_optarg ;;
934 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
936 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
938 htmldir
=$ac_optarg ;;
940 -includedir |
--includedir |
--includedi |
--included |
--include \
941 |
--includ |
--inclu |
--incl |
--inc)
942 ac_prev
=includedir
;;
943 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
944 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
945 includedir
=$ac_optarg ;;
947 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
949 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
950 infodir
=$ac_optarg ;;
952 -libdir |
--libdir |
--libdi |
--libd)
954 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
957 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
958 |
--libexe |
--libex |
--libe)
959 ac_prev
=libexecdir
;;
960 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
961 |
--libexe=* |
--libex=* |
--libe=*)
962 libexecdir
=$ac_optarg ;;
964 -localedir |
--localedir |
--localedi |
--localed |
--locale)
966 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
967 localedir
=$ac_optarg ;;
969 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
970 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
971 ac_prev
=localstatedir
;;
972 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
973 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
974 localstatedir
=$ac_optarg ;;
976 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
978 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
982 # Obsolete; use --without-fp.
985 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
986 |
--no-cr |
--no-c |
-n)
989 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
990 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
993 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
994 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
995 |
--oldin |
--oldi |
--old |
--ol |
--o)
996 ac_prev
=oldincludedir
;;
997 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
998 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
999 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1000 oldincludedir
=$ac_optarg ;;
1002 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1004 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1005 prefix
=$ac_optarg ;;
1007 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1008 |
--program-pre |
--program-pr |
--program-p)
1009 ac_prev
=program_prefix
;;
1010 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1011 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1012 program_prefix
=$ac_optarg ;;
1014 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1015 |
--program-suf |
--program-su |
--program-s)
1016 ac_prev
=program_suffix
;;
1017 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1018 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1019 program_suffix
=$ac_optarg ;;
1021 -program-transform-name |
--program-transform-name \
1022 |
--program-transform-nam |
--program-transform-na \
1023 |
--program-transform-n |
--program-transform- \
1024 |
--program-transform |
--program-transfor \
1025 |
--program-transfo |
--program-transf \
1026 |
--program-trans |
--program-tran \
1027 |
--progr-tra |
--program-tr |
--program-t)
1028 ac_prev
=program_transform_name
;;
1029 -program-transform-name=* |
--program-transform-name=* \
1030 |
--program-transform-nam=* |
--program-transform-na=* \
1031 |
--program-transform-n=* |
--program-transform-=* \
1032 |
--program-transform=* |
--program-transfor=* \
1033 |
--program-transfo=* |
--program-transf=* \
1034 |
--program-trans=* |
--program-tran=* \
1035 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1036 program_transform_name
=$ac_optarg ;;
1038 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1040 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1041 pdfdir
=$ac_optarg ;;
1043 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1045 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1049 |
-silent |
--silent |
--silen |
--sile |
--sil)
1052 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1054 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1056 sbindir
=$ac_optarg ;;
1058 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1059 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1060 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1062 ac_prev
=sharedstatedir
;;
1063 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1064 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1065 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1067 sharedstatedir
=$ac_optarg ;;
1069 -site |
--site |
--sit)
1071 -site=* |
--site=* |
--sit=*)
1074 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1076 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1077 srcdir
=$ac_optarg ;;
1079 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1080 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1081 ac_prev
=sysconfdir
;;
1082 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1083 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1084 sysconfdir
=$ac_optarg ;;
1086 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1087 ac_prev
=target_alias
;;
1088 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1089 target_alias
=$ac_optarg ;;
1091 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1094 -version |
--version |
--versio |
--versi |
--vers |
-V)
1095 ac_init_version
=: ;;
1098 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1101 { echo "$as_me: error: invalid package name: $ac_package" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1104 eval with_
$ac_package=\
$ac_optarg ;;
1106 -without-* |
--without-*)
1107 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1110 { echo "$as_me: error: invalid package name: $ac_package" >&2
1111 { (exit 1); exit 1; }; }
1112 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1113 eval with_
$ac_package=no
;;
1116 # Obsolete; use --with-x.
1119 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1120 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1121 ac_prev
=x_includes
;;
1122 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1123 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1124 x_includes
=$ac_optarg ;;
1126 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1127 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1128 ac_prev
=x_libraries
;;
1129 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1130 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1131 x_libraries
=$ac_optarg ;;
1133 -*) { echo "$as_me: error: unrecognized option: $ac_option
1134 Try \`$0 --help' for more information." >&2
1135 { (exit 1); exit 1; }; }
1139 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1142 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1143 { (exit 1); exit 1; }; }
1144 eval $ac_envvar=\
$ac_optarg
1145 export $ac_envvar ;;
1148 # FIXME: should be removed in autoconf 3.0.
1149 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1151 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1152 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158 if test -n "$ac_prev"; then
1159 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1160 { echo "$as_me: error: missing argument to $ac_option" >&2
1161 { (exit 1); exit 1; }; }
1164 # Be sure to have absolute directory names.
1165 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir
1170 eval ac_val
=\$
$ac_var
1172 [\\/$
]* | ?
:[\\/]* ) continue;;
1173 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1175 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1176 { (exit 1); exit 1; }; }
1179 # There might be people who depend on the old broken behavior: `$host'
1180 # used to hold the argument of --host etc.
1181 # FIXME: To remove some day.
1184 target
=$target_alias
1186 # FIXME: To remove some day.
1187 if test "x$host_alias" != x
; then
1188 if test "x$build_alias" = x
; then
1189 cross_compiling
=maybe
1190 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1191 If a cross compiler is detected then cross compile mode will be used." >&2
1192 elif test "x$build_alias" != "x$host_alias"; then
1198 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1200 test "$silent" = yes && exec 6>/dev
/null
1203 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1204 ac_ls_di
=`ls -di .` &&
1205 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1206 { echo "$as_me: error: Working directory cannot be determined" >&2
1207 { (exit 1); exit 1; }; }
1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 { echo "$as_me: error: pwd does not report name of working directory" >&2
1210 { (exit 1); exit 1; }; }
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted
=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir
=`$as_dirname -- "$0" ||
1218 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$0" : 'X\(//\)[^/]' \| \
1220 X"$0" : 'X\(//\)$' \| \
1221 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1245 ac_srcdir_defaulted
=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1249 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1250 { (exit 1); exit 1; }; }
1252 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1254 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1255 { (exit 1); exit 1; }; }
1257 # When building in place, set srcdir=.
1258 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 # Remove unnecessary trailing slashes from srcdir.
1262 # Double slashes in file names in object file debugging info
1263 # mess up M-x gdb in Emacs.
1265 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 for ac_var
in $ac_precious_vars; do
1268 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1269 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1270 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1271 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1275 # Report the --help message.
1277 if test "$ac_init_help" = "long"; then
1278 # Omit some internal or obsolete options to make the list less imposing.
1279 # This message is too long to be a string in the A/UX 3.1 sh.
1281 \`configure' configures Wine 0.9.21 to adapt to many kinds of systems.
1283 Usage: $0 [OPTION]... [VAR=VALUE]...
1285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286 VAR=VALUE. See below for descriptions of some of the useful variables.
1288 Defaults for the options are specified in brackets.
1291 -h, --help display this help and exit
1292 --help=short display options specific to this package
1293 --help=recursive display the short help of all the included packages
1294 -V, --version display version information and exit
1295 -q, --quiet, --silent do not print \`checking...' messages
1296 --cache-file=FILE cache test results in FILE [disabled]
1297 -C, --config-cache alias for \`--cache-file=config.cache'
1298 -n, --no-create do not create output files
1299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1301 Installation directories:
1302 --prefix=PREFIX install architecture-independent files in PREFIX
1303 [$ac_default_prefix]
1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 By default, \`make install' will install all the files in
1308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310 for instance \`--prefix=\$HOME'.
1312 For better control, use the options below.
1314 Fine tuning of the installation directories:
1315 --bindir=DIR user executables [EPREFIX/bin]
1316 --sbindir=DIR system admin executables [EPREFIX/sbin]
1317 --libexecdir=DIR program executables [EPREFIX/libexec]
1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1321 --libdir=DIR object code libraries [EPREFIX/lib]
1322 --includedir=DIR C header files [PREFIX/include]
1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1326 --infodir=DIR info documentation [DATAROOTDIR/info]
1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1328 --mandir=DIR man documentation [DATAROOTDIR/man]
1329 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1339 --x-includes=DIR X include files are
in DIR
1340 --x-libraries=DIR X library files are
in DIR
1343 --build=BUILD configure
for building on BUILD
[guessed
]
1344 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1348 if test -n "$ac_init_help"; then
1349 case $ac_init_help in
1350 short | recursive
) echo "Configuration of Wine 0.9.21:";;
1355 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1356 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1357 --disable-win16 do not include Win16 support
1358 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1364 --without-opengl do not use OpenGL
1365 --without-curses do not use curses
1366 --with-wine-tools=<dir> use Wine tools from directory <dir>
1367 --with-x use the X Window System
1369 Some influential environment variables:
1370 CC C compiler command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1373 nonstandard directory <lib dir>
1374 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1375 you have headers in a nonstandard directory <include dir>
1376 CXX C++ compiler command
1377 CXXFLAGS C++ compiler flags
1378 XMKMF Path to xmkmf, Makefile generator for X Window System
1381 Use these variables to override the choices made by `configure' or to
help
1382 it to
find libraries and programs with nonstandard names
/locations.
1384 Report bugs to
<wine-devel@winehq.org
>.
1389 if test "$ac_init_help" = "recursive"; then
1390 # If there are subdirs, report their specific --help.
1391 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1392 test -d "$ac_dir" ||
continue
1396 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1398 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1403 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1406 ac_abs_top_builddir
=$ac_pwd
1407 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir
=$ac_top_build_prefix
1412 .
) # We are building in place.
1414 ac_top_srcdir
=$ac_top_builddir_sub
1415 ac_abs_top_srcdir
=$ac_pwd ;;
1416 [\\/]* | ?
:[\\/]* ) # Absolute name.
1417 ac_srcdir
=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir
=$srcdir
1419 ac_abs_top_srcdir
=$srcdir ;;
1421 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1425 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1427 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1428 # Check for guested configure.
1429 if test -f "$ac_srcdir/configure.gnu"; then
1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1432 elif test -f "$ac_srcdir/configure"; then
1434 $SHELL "$ac_srcdir/configure" --help=recursive
1436 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1445 Wine configure
0.9.21
1446 generated by GNU Autoconf
2.60a
1448 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1449 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1450 This configure
script is free software
; the Free Software Foundation
1451 gives unlimited permission to copy
, distribute and modify it.
1455 cat >config.log
<<_ACEOF
1456 This file contains any messages produced by compilers while
1457 running configure, to aid debugging if configure makes a mistake.
1459 It was created by Wine $as_me 0.9.21, which was
1460 generated by GNU Autoconf 2.60a. Invocation command line was
1472 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1473 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1474 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1475 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1476 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1478 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1479 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1481 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1482 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1483 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1484 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1485 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1486 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1487 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1495 test -z "$as_dir" && as_dir
=.
1496 echo "PATH: $as_dir"
1512 # Keep a trace of the command line.
1513 # Strip out --no-create and --no-recursion so they do not pile up.
1514 # Strip out --silent because we don't want to record it for future runs.
1515 # Also quote any args containing shell meta-characters.
1516 # Make two passes to allow for proper duplicate-argument suppression.
1520 ac_must_keep_next
=false
1526 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1527 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1528 |
-silent |
--silent |
--silen |
--sile |
--sil)
1531 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1534 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1536 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1537 if test $ac_must_keep_next = true
; then
1538 ac_must_keep_next
=false
# Got value, back to normal.
1541 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1542 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1543 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1544 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1545 case "$ac_configure_args0 " in
1546 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 -* ) ac_must_keep_next
=true
;;
1552 ac_configure_args
="$ac_configure_args '$ac_arg'"
1557 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1558 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1560 # When interrupted or exit'd, cleanup temporary files, and complete
1561 # config.log. We remove comments because anyway the quotes in there
1562 # would cause problems or look ugly.
1563 # WARNING: Use '\'' to represent an apostrophe within the trap.
1564 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1565 trap 'exit_status=$?
1566 # Save into config.log some information that might help in debugging.
1571 ## ---------------- ##
1572 ## Cache variables. ##
1573 ## ---------------- ##
1576 # The following way of writing the cache mishandles newlines in values,
1578 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1579 eval ac_val=\$$ac_var
1583 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1584 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1587 _ | IFS | as_nl) ;; #(
1588 *) $as_unset $ac_var ;;
1593 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1594 *${as_nl}ac_space=\ *)
1596 "s/'\''/'\''\\\\'\'''\''/g;
1597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1608 ## ----------------- ##
1609 ## Output variables. ##
1610 ## ----------------- ##
1613 for ac_var in $ac_subst_vars
1615 eval ac_val=\$$ac_var
1617 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 echo "$ac_var='\''$ac_val'\''"
1623 if test -n "$ac_subst_files"; then
1625 ## ------------------- ##
1626 ## File substitutions. ##
1627 ## ------------------- ##
1630 for ac_var
in $ac_subst_files
1632 eval ac_val
=\$
$ac_var
1634 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1636 echo "$ac_var='\''$ac_val'\''"
1641 if test -s confdefs.h; then
1651 test "$ac_signal" != 0 &&
1652 echo "$as_me: caught signal $ac_signal"
1653 echo "$as_me: exit $exit_status"
1655 rm -f core *.core core.conftest.* &&
1656 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659 for ac_signal
in 1 2 13 15; do
1660 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1664 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1665 rm -f -r conftest
* confdefs.h
1667 # Predefined preprocessor variables.
1669 cat >>confdefs.h
<<_ACEOF
1670 #define PACKAGE_NAME "$PACKAGE_NAME"
1674 cat >>confdefs.h
<<_ACEOF
1675 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1679 cat >>confdefs.h
<<_ACEOF
1680 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1684 cat >>confdefs.h
<<_ACEOF
1685 #define PACKAGE_STRING "$PACKAGE_STRING"
1689 cat >>confdefs.h
<<_ACEOF
1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1694 # Let the site file select an alternate cache file if it wants to.
1695 # Prefer explicitly selected file to automatically selected ones.
1696 if test -n "$CONFIG_SITE"; then
1697 set x
"$CONFIG_SITE"
1698 elif test "x$prefix" != xNONE
; then
1699 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1701 set x
"$ac_default_prefix/share/config.site" \
1702 "$ac_default_prefix/etc/config.site"
1707 if test -r "$ac_site_file"; then
1708 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1709 echo "$as_me: loading site script $ac_site_file" >&6;}
1710 sed 's/^/| /' "$ac_site_file" >&5
1715 if test -r "$cache_file"; then
1716 # Some versions of bash will fail to source /dev/null (special
1717 # files actually), so we avoid doing that.
1718 if test -f "$cache_file"; then
1719 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1720 echo "$as_me: loading cache $cache_file" >&6;}
1722 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1723 *) .
"./$cache_file";;
1727 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1728 echo "$as_me: creating cache $cache_file" >&6;}
1732 # Check that the precious variables saved in the cache have kept the same
1734 ac_cache_corrupted
=false
1735 for ac_var
in $ac_precious_vars; do
1736 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1737 eval ac_new_set
=\
$ac_env_${ac_var}_set
1738 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1739 eval ac_new_val
=\
$ac_env_${ac_var}_value
1740 case $ac_old_set,$ac_new_set in
1742 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1743 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1744 ac_cache_corrupted
=: ;;
1746 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1747 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1748 ac_cache_corrupted
=: ;;
1751 if test "x$ac_old_val" != "x$ac_new_val"; then
1752 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1753 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1754 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1755 echo "$as_me: former value: $ac_old_val" >&2;}
1756 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1757 echo "$as_me: current value: $ac_new_val" >&2;}
1758 ac_cache_corrupted
=:
1761 # Pass precious variables to config.status.
1762 if test "$ac_new_set" = set; then
1764 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1765 *) ac_arg
=$ac_var=$ac_new_val ;;
1767 case " $ac_configure_args " in
1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1769 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1773 if $ac_cache_corrupted; then
1774 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1775 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1776 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1777 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1778 { (exit 1); exit 1; }; }
1806 ac_cpp
='$CPP $CPPFLAGS'
1807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1813 ac_config_headers
="$ac_config_headers include/config.h"
1816 for ac_dir
in tools
"$srcdir"/tools
; do
1817 if test -f "$ac_dir/install-sh"; then
1819 ac_install_sh
="$ac_aux_dir/install-sh -c"
1821 elif test -f "$ac_dir/install.sh"; then
1823 ac_install_sh
="$ac_aux_dir/install.sh -c"
1825 elif test -f "$ac_dir/shtool"; then
1827 ac_install_sh
="$ac_aux_dir/shtool install -c"
1831 if test -z "$ac_aux_dir"; then
1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1833 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1834 { (exit 1); exit 1; }; }
1837 # These three variables are undocumented and unsupported,
1838 # and are intended to be withdrawn in a future Autoconf release.
1839 # They can cause serious problems if a builder's source tree is in a directory
1840 # whose full name contains unusual characters.
1841 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1842 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1843 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1848 # Check whether --enable-win16 was given.
1849 if test "${enable_win16+set}" = set; then
1850 enableval
=$enable_win16;
1853 # Check whether --enable-win64 was given.
1854 if test "${enable_win64+set}" = set; then
1855 enableval
=$enable_win64;
1860 # Check whether --with-opengl was given.
1861 if test "${with_opengl+set}" = set; then
1862 withval
=$with_opengl;
1866 # Check whether --with-curses was given.
1867 if test "${with_curses+set}" = set; then
1868 withval
=$with_curses;
1872 # Check whether --with-wine-tools was given.
1873 if test "${with_wine_tools+set}" = set; then
1874 withval
=$with_wine_tools;
1878 # Make sure we can run config.sub.
1879 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1880 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1881 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1882 { (exit 1); exit 1; }; }
1884 { echo "$as_me:$LINENO: checking build system type" >&5
1885 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1886 if test "${ac_cv_build+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 ac_build_alias
=$build_alias
1890 test "x$ac_build_alias" = x
&&
1891 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1892 test "x$ac_build_alias" = x
&&
1893 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1894 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1895 { (exit 1); exit 1; }; }
1896 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1897 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1898 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1899 { (exit 1); exit 1; }; }
1902 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1903 echo "${ECHO_T}$ac_cv_build" >&6; }
1904 case $ac_cv_build in
1906 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1907 echo "$as_me: error: invalid value of canonical build" >&2;}
1908 { (exit 1); exit 1; }; };;
1911 ac_save_IFS
=$IFS; IFS
='-'
1917 # Remember, the first character of IFS is used to create $*,
1918 # except with old shells:
1921 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1924 { echo "$as_me:$LINENO: checking host system type" >&5
1925 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1926 if test "${ac_cv_host+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test "x$host_alias" = x
; then
1930 ac_cv_host
=$ac_cv_build
1932 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1933 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1934 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1935 { (exit 1); exit 1; }; }
1939 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1940 echo "${ECHO_T}$ac_cv_host" >&6; }
1943 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1944 echo "$as_me: error: invalid value of canonical host" >&2;}
1945 { (exit 1); exit 1; }; };;
1948 ac_save_IFS
=$IFS; IFS
='-'
1954 # Remember, the first character of IFS is used to create $*,
1955 # except with old shells:
1958 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1963 if test "x$enable_win64" != "xyes"
1965 test -n "$CC" || CC
="gcc -m32"
1966 test -n "$LD" || LD
="ld -m elf_i386"
1967 test -n "$AS" || AS
="as --32"
1975 if test "x$enable_win16" != "xno"
1982 WIN16_FILES
="\$(WIN16_FILES)"
1984 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1986 if test "x$enable_win16" != "xyes"
1993 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1994 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1995 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1996 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 cat >conftest.
make <<\_ACEOF
2002 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2005 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2007 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2009 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2013 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2014 { echo "$as_me:$LINENO: result: yes" >&5
2015 echo "${ECHO_T}yes" >&6; }
2018 { echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6; }
2020 SET_MAKE
="MAKE=${MAKE-make}"
2024 ac_cpp
='$CPP $CPPFLAGS'
2025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2028 if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2030 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2033 if test "${ac_cv_prog_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC
="$CC" # Let the user override the test.
2039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir
=.
2044 for ac_exec_ext
in '' $ac_executable_extensions; do
2045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2046 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 if test -n "$CC"; then
2058 { echo "$as_me:$LINENO: result: $CC" >&5
2059 echo "${ECHO_T}$CC" >&6; }
2061 { echo "$as_me:$LINENO: result: no" >&5
2062 echo "${ECHO_T}no" >&6; }
2067 if test -z "$ac_cv_prog_CC"; then
2069 # Extract the first word of "gcc", so it can be a program name with args.
2070 set dummy gcc
; ac_word
=$2
2071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2074 echo $ECHO_N "(cached) $ECHO_C" >&6
2076 if test -n "$ac_ct_CC"; then
2077 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir
=.
2084 for ac_exec_ext
in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_ac_ct_CC
="gcc"
2087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2097 if test -n "$ac_ct_CC"; then
2098 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2099 echo "${ECHO_T}$ac_ct_CC" >&6; }
2101 { echo "$as_me:$LINENO: result: no" >&5
2102 echo "${ECHO_T}no" >&6; }
2105 if test "x$ac_ct_CC" = x
; then
2108 case $cross_compiling:$ac_tool_warned in
2110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2111 whose name does not start with the host triplet. If you think this
2112 configuration is useful to you, please write to autoconf@gnu.org." >&5
2113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2114 whose name does not start with the host triplet. If you think this
2115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2116 ac_tool_warned
=yes ;;
2124 if test -z "$CC"; then
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2127 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2130 if test "${ac_cv_prog_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC
="$CC" # Let the user override the test.
2136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir
=.
2141 for ac_exec_ext
in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 if test -n "$CC"; then
2155 { echo "$as_me:$LINENO: result: $CC" >&5
2156 echo "${ECHO_T}$CC" >&6; }
2158 { echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6; }
2165 if test -z "$CC"; then
2166 # Extract the first word of "cc", so it can be a program name with args.
2167 set dummy cc
; ac_word
=$2
2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test -n "$CC"; then
2174 ac_cv_prog_CC
="$CC" # Let the user override the test.
2177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir
=.
2182 for ac_exec_ext
in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2185 ac_prog_rejected
=yes
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 if test $ac_prog_rejected = yes; then
2197 # We found a bogon in the path, so make sure we never use it.
2198 set dummy
$ac_cv_prog_CC
2200 if test $# != 0; then
2201 # We chose a different compiler from the bogus one.
2202 # However, it has the same basename, so the bogon will be chosen
2203 # first if we set CC to just the basename; use the full file name.
2205 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2211 if test -n "$CC"; then
2212 { echo "$as_me:$LINENO: result: $CC" >&5
2213 echo "${ECHO_T}$CC" >&6; }
2215 { echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6; }
2221 if test -z "$CC"; then
2222 if test -n "$ac_tool_prefix"; then
2223 for ac_prog
in cl.exe
2225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2226 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2229 if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC
="$CC" # Let the user override the test.
2235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir
=.
2240 for ac_exec_ext
in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 { echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6; }
2257 { echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6; }
2262 test -n "$CC" && break
2265 if test -z "$CC"; then
2267 for ac_prog
in cl.exe
2269 # Extract the first word of "$ac_prog", so it can be a program name with args.
2270 set dummy
$ac_prog; ac_word
=$2
2271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$ac_ct_CC"; then
2277 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir
=.
2284 for ac_exec_ext
in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_ac_ct_CC
="$ac_prog"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2297 if test -n "$ac_ct_CC"; then
2298 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2299 echo "${ECHO_T}$ac_ct_CC" >&6; }
2301 { echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6; }
2306 test -n "$ac_ct_CC" && break
2309 if test "x$ac_ct_CC" = x
; then
2312 case $cross_compiling:$ac_tool_warned in
2314 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2315 whose name does not start with the host triplet. If you think this
2316 configuration is useful to you, please write to autoconf@gnu.org." >&5
2317 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2318 whose name does not start with the host triplet. If you think this
2319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2320 ac_tool_warned
=yes ;;
2329 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2330 See \`config.log' for more details." >&5
2331 echo "$as_me: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&2;}
2333 { (exit 1); exit 1; }; }
2335 # Provide some information about the compiler.
2336 echo "$as_me:$LINENO: checking for C compiler version" >&5
2337 ac_compiler
=`set X $ac_compile; echo $2`
2338 { (ac_try
="$ac_compiler --version >&5"
2340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2344 (eval "$ac_compiler --version >&5") 2>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }
2348 { (ac_try="$ac_compiler -v >&5"
2350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2351 *) ac_try_echo
=$ac_try;;
2353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2354 (eval "$ac_compiler -v >&5") 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (ac_try
="$ac_compiler -V >&5"
2360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2364 (eval "$ac_compiler -V >&5") 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }
2369 cat >conftest.$ac_ext <<_ACEOF
2372 cat confdefs.h >>conftest.$ac_ext
2373 cat >>conftest.$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2384 ac_clean_files_save=$ac_clean_files
2385 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2386 # Try to create an executable without -o first, disregard a.out.
2387 # It will help us diagnose broken compilers, and finding out an intuition
2389 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2390 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2391 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2393 # List of possible output files, starting from the most likely.
2394 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2395 # only as a last resort. b.out is created by i960 compilers.
2396 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2398 # The IRIX 6 linker writes into existing files which may not be
2399 # executable, retaining their permissions. Remove them first so a
2400 # subsequent execution test works.
2402 for ac_file in $ac_files
2405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2406 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2411 if { (ac_try="$ac_link_default"
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2417 (eval "$ac_link_default") 2>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; then
2421 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2422 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2423 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2424 # so that the user can short-circuit this test for compilers unknown to
2426 for ac_file
in $ac_files ''
2428 test -f "$ac_file" ||
continue
2430 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2433 # We found the default executable, but exeext='' is most
2437 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2439 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2441 # We set ac_cv_exeext here because the later test for it is not
2442 # safe: cross compilers may not add the suffix if given an `-o'
2443 # argument, so we may need to know it at that point already.
2444 # Even if this section looks crufty: it has the advantage of
2451 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2457 { echo "$as_me:$LINENO: result: $ac_file" >&5
2458 echo "${ECHO_T}$ac_file" >&6; }
2459 if test -z "$ac_file"; then
2460 echo "$as_me: failed program was:" >&5
2461 sed 's/^/| /' conftest.
$ac_ext >&5
2463 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2464 See \`config.log' for more details." >&5
2465 echo "$as_me: error: C compiler cannot create executables
2466 See \`config.log' for more details." >&2;}
2467 { (exit 77); exit 77; }; }
2470 ac_exeext
=$ac_cv_exeext
2472 # Check that the compiler produces executables we can run. If not, either
2473 # the compiler is broken, or we cross compile.
2474 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2477 # If not cross compiling, check that we can run a simple program.
2478 if test "$cross_compiling" != yes; then
2479 if { ac_try
='./$ac_file'
2480 { (case "(($ac_try" in
2481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2482 *) ac_try_echo=$ac_try;;
2484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2485 (eval "$ac_try") 2>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; }; then
2491 if test "$cross_compiling" = maybe; then
2494 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2495 If you meant to cross compile, use \`--host'.
2496 See \`config.log' for more details.
" >&5
2497 echo "$as_me: error
: cannot run C compiled programs.
2498 If you meant to cross compile
, use \
`--host'.
2499 See \`config.log
' for more details." >&2;}
2500 { (exit 1); exit 1; }; }
2504 { echo "$as_me:$LINENO: result: yes" >&5
2505 echo "${ECHO_T}yes" >&6; }
2507 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2508 ac_clean_files=$ac_clean_files_save
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2512 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2513 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2514 echo "${ECHO_T}$cross_compiling" >&6; }
2516 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2517 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2518 if { (ac_try="$ac_link"
2520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2521 *) ac_try_echo=$ac_try;;
2523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2524 (eval "$ac_link") 2>&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; then
2528 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2529 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2530 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2532 for ac_file
in conftest.exe conftest conftest.
*; do
2533 test -f "$ac_file" ||
continue
2535 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2536 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2542 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2543 See \`config.log' for more details." >&5
2544 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2545 See \`config.log' for more details." >&2;}
2546 { (exit 1); exit 1; }; }
2549 rm -f conftest
$ac_cv_exeext
2550 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2551 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2553 rm -f conftest.
$ac_ext
2554 EXEEXT
=$ac_cv_exeext
2556 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2557 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2558 if test "${ac_cv_objext+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 cat >conftest.
$ac_ext <<_ACEOF
2564 cat confdefs.h
>>conftest.
$ac_ext
2565 cat >>conftest.
$ac_ext <<_ACEOF
2566 /* end confdefs.h. */
2576 rm -f conftest.o conftest.obj
2577 if { (ac_try
="$ac_compile"
2579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583 (eval "$ac_compile") 2>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; then
2587 for ac_file in conftest.o conftest.obj conftest.*; do
2588 test -f "$ac_file" || continue;
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2591 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2599 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2600 See \`config.log
' for more details." >&5
2601 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2602 See \`config.log' for more details.
" >&2;}
2603 { (exit 1); exit 1; }; }
2606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2608 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2609 echo "${ECHO_T}$ac_cv_objext" >&6; }
2610 OBJEXT=$ac_cv_objext
2612 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2613 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2614 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2615 echo $ECHO_N "(cached
) $ECHO_C" >&6
2617 cat >conftest.$ac_ext <<_ACEOF
2620 cat confdefs.h >>conftest.$ac_ext
2621 cat >>conftest.$ac_ext <<_ACEOF
2622 /* end confdefs.h. */
2635 rm -f conftest.$ac_objext
2636 if { (ac_try="$ac_compile"
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2642 (eval "$ac_compile") 2>conftest.er1
2644 grep -v '^ *+' conftest.er1 >conftest.err
2646 cat conftest.err >&5
2647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2648 (exit $ac_status); } &&
2649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2650 { (case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2655 (eval "$ac_try") 2>&5
2657 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2658 (exit $ac_status); }; } &&
2659 { ac_try='test -s conftest.$ac_objext'
2660 { (case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2664 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2665 (eval "$ac_try") 2>&5
2667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2668 (exit $ac_status); }; }; then
2671 echo "$as_me: failed program was
:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2681 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2687 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2688 if test "${ac_cv_prog_cc_g+set}" = set; then
2689 echo $ECHO_N "(cached
) $ECHO_C" >&6
2691 ac_save_c_werror_flag=$ac_c_werror_flag
2692 ac_c_werror_flag=yes
2695 cat >conftest.$ac_ext <<_ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2710 rm -f conftest.$ac_objext
2711 if { (ac_try="$ac_compile"
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2716 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2717 (eval "$ac_compile") 2>conftest.er1
2719 grep -v '^ *+' conftest.er1 >conftest.err
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2723 (exit $ac_status); } &&
2724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2725 { (case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2730 (eval "$ac_try") 2>&5
2732 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2733 (exit $ac_status); }; } &&
2734 { ac_try='test -s conftest.$ac_objext'
2735 { (case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2740 (eval "$ac_try") 2>&5
2742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2743 (exit $ac_status); }; }; then
2746 echo "$as_me: failed program was
:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2750 cat >conftest.$ac_ext <<_ACEOF
2753 cat confdefs.h >>conftest.$ac_ext
2754 cat >>conftest.$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2765 rm -f conftest.$ac_objext
2766 if { (ac_try="$ac_compile"
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2772 (eval "$ac_compile") 2>conftest.er1
2774 grep -v '^ *+' conftest.er1 >conftest.err
2776 cat conftest.err >&5
2777 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2778 (exit $ac_status); } &&
2779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2780 { (case "(($ac_try" in
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_try") 2>&5
2787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2788 (exit $ac_status); }; } &&
2789 { ac_try='test -s conftest.$ac_objext'
2790 { (case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_try") 2>&5
2797 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2798 (exit $ac_status); }; }; then
2801 echo "$as_me: failed program was
:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 ac_c_werror_flag=$ac_save_c_werror_flag
2806 cat >conftest.$ac_ext <<_ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 rm -f conftest.$ac_objext
2822 if { (ac_try="$ac_compile"
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2828 (eval "$ac_compile") 2>conftest.er1
2830 grep -v '^ *+' conftest.er1 >conftest.err
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2836 { (case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2840 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2841 (eval "$ac_try") 2>&5
2843 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2844 (exit $ac_status); }; } &&
2845 { ac_try='test -s conftest.$ac_objext'
2846 { (case "(($ac_try" in
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2850 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2851 (eval "$ac_try") 2>&5
2853 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2854 (exit $ac_status); }; }; then
2857 echo "$as_me: failed program was
:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 ac_c_werror_flag=$ac_save_c_werror_flag
2872 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2873 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2874 if test "$ac_test_CFLAGS" = set; then
2875 CFLAGS=$ac_save_CFLAGS
2876 elif test $ac_cv_prog_cc_g = yes; then
2877 if test "$GCC" = yes; then
2883 if test "$GCC" = yes; then
2889 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2890 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2891 if test "${ac_cv_prog_cc_c89+set}" = set; then
2892 echo $ECHO_N "(cached
) $ECHO_C" >&6
2894 ac_cv_prog_cc_c89=no
2896 cat >conftest.$ac_ext <<_ACEOF
2899 cat confdefs.h >>conftest.$ac_ext
2900 cat >>conftest.$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2904 #include <sys/types.h>
2905 #include <sys/stat.h>
2906 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2907 struct buf { int x; };
2908 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2909 static char *e (p, i)
2915 static char *f (char * (*g) (char **, int), char **p, ...)
2920 s = g (p, va_arg (v,int));
2925 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2926 function prototypes and stuff, but not '\xHH' hex character constants.
2927 These don't provoke an error unfortunately, instead are silently treated
2928 as 'x'. The following induces an error, until -std is added to get
2929 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2930 array size at least. It's necessary to write '\x00'==0 to get something
2931 that's true only with -std. */
2932 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2934 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2935 inside strings and character constants. */
2937 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2939 int test (int i, double x);
2940 struct s1 {int (*f) (int a);};
2941 struct s2 {int (*f) (double a);};
2942 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2948 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2953 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2954 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2956 CC="$ac_save_CC $ac_arg"
2957 rm -f conftest.$ac_objext
2958 if { (ac_try="$ac_compile"
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2963 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2964 (eval "$ac_compile") 2>conftest.er1
2966 grep -v '^ *+' conftest.er1 >conftest.err
2968 cat conftest.err >&5
2969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2970 (exit $ac_status); } &&
2971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2972 { (case "(($ac_try" in
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_try") 2>&5
2979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2980 (exit $ac_status); }; } &&
2981 { ac_try='test -s conftest.$ac_objext'
2982 { (case "(($ac_try" in
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_try") 2>&5
2989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2990 (exit $ac_status); }; }; then
2991 ac_cv_prog_cc_c89=$ac_arg
2993 echo "$as_me: failed program was
:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2999 rm -f core conftest.err conftest.$ac_objext
3000 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3002 rm -f conftest.$ac_ext
3007 case "x
$ac_cv_prog_cc_c89" in
3009 { echo "$as_me:$LINENO: result
: none needed
" >&5
3010 echo "${ECHO_T}none needed
" >&6; } ;;
3012 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3013 echo "${ECHO_T}unsupported
" >&6; } ;;
3015 CC="$CC $ac_cv_prog_cc_c89"
3016 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3017 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3022 ac_cpp='$CPP $CPPFLAGS'
3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3028 ac_cpp='$CXXCPP $CPPFLAGS'
3029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3032 if test -z "$CXX"; then
3033 if test -n "$CCC"; then
3036 if test -n "$ac_tool_prefix"; then
3037 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3039 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3040 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3041 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3042 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3043 if test "${ac_cv_prog_CXX+set}" = set; then
3044 echo $ECHO_N "(cached
) $ECHO_C" >&6
3046 if test -n "$CXX"; then
3047 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3056 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3057 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3067 if test -n "$CXX"; then
3068 { echo "$as_me:$LINENO: result
: $CXX" >&5
3069 echo "${ECHO_T}$CXX" >&6; }
3071 { echo "$as_me:$LINENO: result
: no
" >&5
3072 echo "${ECHO_T}no
" >&6; }
3076 test -n "$CXX" && break
3079 if test -z "$CXX"; then
3081 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3083 # Extract the first word of "$ac_prog", so it can be a program name with args.
3084 set dummy $ac_prog; ac_word=$2
3085 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3086 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3087 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3088 echo $ECHO_N "(cached
) $ECHO_C" >&6
3090 if test -n "$ac_ct_CXX"; then
3091 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 test -z "$as_dir" && as_dir=.
3098 for ac_exec_ext in '' $ac_executable_extensions; do
3099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3100 ac_cv_prog_ac_ct_CXX="$ac_prog"
3101 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3110 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3111 if test -n "$ac_ct_CXX"; then
3112 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3113 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3115 { echo "$as_me:$LINENO: result
: no
" >&5
3116 echo "${ECHO_T}no
" >&6; }
3120 test -n "$ac_ct_CXX" && break
3123 if test "x
$ac_ct_CXX" = x; then
3126 case $cross_compiling:$ac_tool_warned in
3128 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3129 whose name does not start with the
host triplet. If you think this
3130 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3131 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3132 whose name does not start with the
host triplet. If you think this
3133 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3134 ac_tool_warned=yes ;;
3142 # Provide some information about the compiler.
3143 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3144 ac_compiler=`set X $ac_compile; echo $2`
3145 { (ac_try="$ac_compiler --version >&5"
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3150 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3151 (eval "$ac_compiler --version >&5") 2>&5
3153 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3154 (exit $ac_status); }
3155 { (ac_try="$ac_compiler -v >&5"
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3161 (eval "$ac_compiler -v >&5") 2>&5
3163 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3164 (exit $ac_status); }
3165 { (ac_try="$ac_compiler -V >&5"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compiler -V >&5") 2>&5
3173 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3174 (exit $ac_status); }
3176 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3177 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3178 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3179 echo $ECHO_N "(cached
) $ECHO_C" >&6
3181 cat >conftest.$ac_ext <<_ACEOF
3184 cat confdefs.h >>conftest.$ac_ext
3185 cat >>conftest.$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3199 rm -f conftest.$ac_objext
3200 if { (ac_try="$ac_compile"
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3206 (eval "$ac_compile") 2>conftest.er1
3208 grep -v '^ *+' conftest.er1 >conftest.err
3210 cat conftest.err >&5
3211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3212 (exit $ac_status); } &&
3213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3214 { (case "(($ac_try" in
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3219 (eval "$ac_try") 2>&5
3221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3222 (exit $ac_status); }; } &&
3223 { ac_try='test -s conftest.$ac_objext'
3224 { (case "(($ac_try" in
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_try") 2>&5
3231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3232 (exit $ac_status); }; }; then
3235 echo "$as_me: failed program was
:" >&5
3236 sed 's/^/| /' conftest.$ac_ext >&5
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3245 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3246 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3247 GXX=`test $ac_compiler_gnu = yes && echo yes`
3248 ac_test_CXXFLAGS=${CXXFLAGS+set}
3249 ac_save_CXXFLAGS=$CXXFLAGS
3250 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3251 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3252 if test "${ac_cv_prog_cxx_g+set}" = set; then
3253 echo $ECHO_N "(cached
) $ECHO_C" >&6
3255 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3256 ac_cxx_werror_flag=yes
3259 cat >conftest.$ac_ext <<_ACEOF
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3274 rm -f conftest.$ac_objext
3275 if { (ac_try="$ac_compile"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3281 (eval "$ac_compile") 2>conftest.er1
3283 grep -v '^ *+' conftest.er1 >conftest.err
3285 cat conftest.err >&5
3286 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3287 (exit $ac_status); } &&
3288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3289 { (case "(($ac_try" in
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_try") 2>&5
3296 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3297 (exit $ac_status); }; } &&
3298 { ac_try='test -s conftest.$ac_objext'
3299 { (case "(($ac_try" in
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3304 (eval "$ac_try") 2>&5
3306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3307 (exit $ac_status); }; }; then
3308 ac_cv_prog_cxx_g=yes
3310 echo "$as_me: failed program was
:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3314 cat >conftest.$ac_ext <<_ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3329 rm -f conftest.$ac_objext
3330 if { (ac_try="$ac_compile"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compile") 2>conftest.er1
3338 grep -v '^ *+' conftest.er1 >conftest.err
3340 cat conftest.err >&5
3341 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3342 (exit $ac_status); } &&
3343 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3344 { (case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_try") 2>&5
3351 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3352 (exit $ac_status); }; } &&
3353 { ac_try='test -s conftest.$ac_objext'
3354 { (case "(($ac_try" in
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_try") 2>&5
3361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3362 (exit $ac_status); }; }; then
3365 echo "$as_me: failed program was
:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3368 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3370 cat >conftest.$ac_ext <<_ACEOF
3373 cat confdefs.h >>conftest.$ac_ext
3374 cat >>conftest.$ac_ext <<_ACEOF
3375 /* end confdefs.h. */
3385 rm -f conftest.$ac_objext
3386 if { (ac_try="$ac_compile"
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3392 (eval "$ac_compile") 2>conftest.er1
3394 grep -v '^ *+' conftest.er1 >conftest.err
3396 cat conftest.err >&5
3397 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3398 (exit $ac_status); } &&
3399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3400 { (case "(($ac_try" in
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3404 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3405 (eval "$ac_try") 2>&5
3407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try='test -s conftest.$ac_objext'
3410 { (case "(($ac_try" in
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3414 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3415 (eval "$ac_try") 2>&5
3417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 ac_cv_prog_cxx_g=yes
3421 echo "$as_me: failed program was
:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3436 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3437 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3438 if test "$ac_test_CXXFLAGS" = set; then
3439 CXXFLAGS=$ac_save_CXXFLAGS
3440 elif test $ac_cv_prog_cxx_g = yes; then
3441 if test "$GXX" = yes; then
3447 if test "$GXX" = yes; then
3454 ac_cpp='$CPP $CPPFLAGS'
3455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3459 if test -n "$ac_tool_prefix"; then
3460 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3461 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3462 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3463 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3464 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3465 echo $ECHO_N "(cached
) $ECHO_C" >&6
3467 if test -n "$CPPBIN"; then
3468 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474 test -z "$as_dir" && as_dir=.
3475 for ac_exec_ext in '' $ac_executable_extensions; do
3476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3477 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3478 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3487 CPPBIN=$ac_cv_prog_CPPBIN
3488 if test -n "$CPPBIN"; then
3489 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3490 echo "${ECHO_T}$CPPBIN" >&6; }
3492 { echo "$as_me:$LINENO: result
: no
" >&5
3493 echo "${ECHO_T}no
" >&6; }
3498 if test -z "$ac_cv_prog_CPPBIN"; then
3499 ac_ct_CPPBIN=$CPPBIN
3500 # Extract the first word of "cpp
", so it can be a program name with args.
3501 set dummy cpp; ac_word=$2
3502 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3503 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3504 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3505 echo $ECHO_N "(cached
) $ECHO_C" >&6
3507 if test -n "$ac_ct_CPPBIN"; then
3508 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514 test -z "$as_dir" && as_dir=.
3515 for ac_exec_ext in '' $ac_executable_extensions; do
3516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3517 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3518 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3527 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3528 if test -n "$ac_ct_CPPBIN"; then
3529 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3530 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3532 { echo "$as_me:$LINENO: result
: no
" >&5
3533 echo "${ECHO_T}no
" >&6; }
3536 if test "x
$ac_ct_CPPBIN" = x; then
3539 case $cross_compiling:$ac_tool_warned in
3541 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3542 whose name does not start with the
host triplet. If you think this
3543 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3544 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3545 whose name does not start with the
host triplet. If you think this
3546 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3547 ac_tool_warned=yes ;;
3549 CPPBIN=$ac_ct_CPPBIN
3552 CPPBIN="$ac_cv_prog_CPPBIN"
3556 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3557 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3558 if test "${wine_cv_toolsdir+set}" = set; then
3559 echo $ECHO_N "(cached
) $ECHO_C" >&6
3561 if test -z "$with_wine_tools"; then
3562 if test "$cross_compiling" = "yes"; then
3563 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3564 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3565 { (exit 1); exit 1; }; }
3567 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3569 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3570 case $with_wine_tools in
3571 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3572 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3575 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3576 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3577 { (exit 1); exit 1; }; }
3580 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3581 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3582 TOOLSDIR=$wine_cv_toolsdir
3587 ac_cpp='$CPP $CPPFLAGS'
3588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3591 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3592 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3593 # On Suns, sometimes $CPP names a directory.
3594 if test -n "$CPP" && test -d "$CPP"; then
3597 if test -z "$CPP"; then
3598 if test "${ac_cv_prog_CPP+set}" = set; then
3599 echo $ECHO_N "(cached
) $ECHO_C" >&6
3601 # Double quotes because CPP needs to be expanded
3602 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3605 for ac_c_preproc_warn_flag in '' yes
3607 # Use a header file that comes with gcc, so configuring glibc
3608 # with a fresh cross-compiler works.
3609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3610 # <limits.h> exists even on freestanding compilers.
3611 # On the NeXT, cc -E runs the code through the compiler's parser,
3612 # not just through cpp. "Syntax error
" is here to catch this case.
3613 cat >conftest.$ac_ext <<_ACEOF
3616 cat confdefs.h >>conftest.$ac_ext
3617 cat >>conftest.$ac_ext <<_ACEOF
3618 /* end confdefs.h. */
3620 # include <limits.h>
3622 # include <assert.h>
3626 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629 *) ac_try_echo=$ac_try;;
3631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3632 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3634 grep -v '^ *+' conftest.er1 >conftest.err
3636 cat conftest.err >&5
3637 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3638 (exit $ac_status); } >/dev/null; then
3639 if test -s conftest.err; then
3640 ac_cpp_err=$ac_c_preproc_warn_flag
3641 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3648 if test -z "$ac_cpp_err"; then
3651 echo "$as_me: failed program was
:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3654 # Broken: fails on valid input.
3658 rm -f conftest.err conftest.$ac_ext
3660 # OK, works on sane cases. Now check whether nonexistent headers
3661 # can be detected and how.
3662 cat >conftest.$ac_ext <<_ACEOF
3665 cat confdefs.h >>conftest.$ac_ext
3666 cat >>conftest.$ac_ext <<_ACEOF
3667 /* end confdefs.h. */
3668 #include <ac_nonexistent.h>
3670 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673 *) ac_try_echo=$ac_try;;
3675 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3676 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3678 grep -v '^ *+' conftest.er1 >conftest.err
3680 cat conftest.err >&5
3681 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3682 (exit $ac_status); } >/dev/null; then
3683 if test -s conftest.err; then
3684 ac_cpp_err=$ac_c_preproc_warn_flag
3685 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3692 if test -z "$ac_cpp_err"; then
3693 # Broken: success on invalid input.
3696 echo "$as_me: failed program was
:" >&5
3697 sed 's/^/| /' conftest.$ac_ext >&5
3699 # Passes both tests.
3704 rm -f conftest.err conftest.$ac_ext
3707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3708 rm -f conftest.err conftest.$ac_ext
3709 if $ac_preproc_ok; then
3721 { echo "$as_me:$LINENO: result
: $CPP" >&5
3722 echo "${ECHO_T}$CPP" >&6; }
3724 for ac_c_preproc_warn_flag in '' yes
3726 # Use a header file that comes with gcc, so configuring glibc
3727 # with a fresh cross-compiler works.
3728 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3729 # <limits.h> exists even on freestanding compilers.
3730 # On the NeXT, cc -E runs the code through the compiler's parser,
3731 # not just through cpp. "Syntax error
" is here to catch this case.
3732 cat >conftest.$ac_ext <<_ACEOF
3735 cat confdefs.h >>conftest.$ac_ext
3736 cat >>conftest.$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3739 # include <limits.h>
3741 # include <assert.h>
3745 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3751 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3753 grep -v '^ *+' conftest.er1 >conftest.err
3755 cat conftest.err >&5
3756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3757 (exit $ac_status); } >/dev/null; then
3758 if test -s conftest.err; then
3759 ac_cpp_err=$ac_c_preproc_warn_flag
3760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3767 if test -z "$ac_cpp_err"; then
3770 echo "$as_me: failed program was
:" >&5
3771 sed 's/^/| /' conftest.$ac_ext >&5
3773 # Broken: fails on valid input.
3777 rm -f conftest.err conftest.$ac_ext
3779 # OK, works on sane cases. Now check whether nonexistent headers
3780 # can be detected and how.
3781 cat >conftest.$ac_ext <<_ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <ac_nonexistent.h>
3789 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3797 grep -v '^ *+' conftest.er1 >conftest.err
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3801 (exit $ac_status); } >/dev/null; then
3802 if test -s conftest.err; then
3803 ac_cpp_err=$ac_c_preproc_warn_flag
3804 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3811 if test -z "$ac_cpp_err"; then
3812 # Broken: success on invalid input.
3815 echo "$as_me: failed program was
:" >&5
3816 sed 's/^/| /' conftest.$ac_ext >&5
3818 # Passes both tests.
3823 rm -f conftest.err conftest.$ac_ext
3826 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3827 rm -f conftest.err conftest.$ac_ext
3828 if $ac_preproc_ok; then
3831 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3832 See \
`config.log' for more details." >&5
3833 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3834 See \`config.log
' for more details." >&2;}
3835 { (exit 1); exit 1; }; }
3839 ac_cpp='$CPP $CPPFLAGS'
3840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3841 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845 { echo "$as_me:$LINENO: checking for X" >&5
3846 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3849 # Check whether --with-x was given.
3850 if test "${with_x+set}" = set; then
3854 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3855 if test "x$with_x" = xno; then
3856 # The user explicitly disabled X.
3859 case $x_includes,$x_libraries in #(
3860 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3861 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3862 { (exit 1); exit 1; }; };; #(
3863 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 # One or both of the vars are not set, and there is no cached value.
3867 ac_x_includes=no ac_x_libraries=no
3868 rm -f -r conftest.dir
3869 if mkdir conftest.dir; then
3871 cat >Imakefile <<'_ACEOF'
3873 @echo incroot='${INCROOT}'
3875 @echo usrlibdir='${USRLIBDIR}'
3877 @echo libdir='${LIBDIR}'
3879 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3880 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3881 for ac_var in incroot usrlibdir libdir; do
3882 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3884 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3885 for ac_extension in a so sl; do
3886 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3887 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3888 ac_im_usrlibdir=$ac_im_libdir; break
3891 # Screen out bogus values from the imake configuration. They are
3892 # bogus both because they are the default anyway, and because
3893 # using them would break gcc on systems where it needs fixed includes.
3894 case $ac_im_incroot in
3895 /usr/include) ac_x_includes= ;;
3896 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3898 case $ac_im_usrlibdir in
3900 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3904 rm -f -r conftest.dir
3907 # Standard set of common directories for X headers.
3908 # Check X11 before X11Rn because it is often a symlink to the current release.
3920 /usr
/local
/X11
/include
3921 /usr
/local
/X11R
6/include
3922 /usr
/local
/X11R
5/include
3923 /usr
/local
/X11R
4/include
3925 /usr
/local
/include
/X11
3926 /usr
/local
/include
/X11R6
3927 /usr
/local
/include
/X11R5
3928 /usr
/local
/include
/X11R4
3932 /usr
/XFree86
/include
/X11
3936 /usr
/unsupported
/include
3938 /usr
/local
/x11r
5/include
3939 /usr
/lpp
/Xamples
/include
3941 /usr
/openwin
/include
3942 /usr
/openwin
/share
/include
'
3944 if test "$ac_x_includes" = no; then
3945 # Guess where to find include files, by looking for Xlib.h.
3946 # First, try using that file with no special directory specified.
3947 cat >conftest.$ac_ext <<_ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3953 #include <X11/Xlib.h>
3955 if { (ac_try="$ac_cpp conftest.$ac_ext"
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3963 grep -v '^
*+' conftest.er1 >conftest.err
3965 cat conftest.err >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } >/dev/null; then
3968 if test -s conftest.err; then
3969 ac_cpp_err=$ac_c_preproc_warn_flag
3970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3977 if test -z "$ac_cpp_err"; then
3978 # We can compile using X headers with no special include directory.
3981 echo "$as_me: failed program was:" >&5
3982 sed 's
/^
/|
/' conftest.$ac_ext >&5
3984 for ac_dir in $ac_x_header_dirs; do
3985 if test -r "$ac_dir/X11/Xlib.h"; then
3986 ac_x_includes=$ac_dir
3992 rm -f conftest.err conftest.$ac_ext
3993 fi # $ac_x_includes = no
3995 if test "$ac_x_libraries" = no; then
3996 # Check for the libraries.
3997 # See if we find them without any special options.
3998 # Don't add to
$LIBS permanently.
4001 cat >conftest.
$ac_ext <<_ACEOF
4004 cat confdefs.h
>>conftest.
$ac_ext
4005 cat >>conftest.
$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4007 #include <X11/Xlib.h>
4016 rm -f conftest.
$ac_objext conftest
$ac_exeext
4017 if { (ac_try
="$ac_link"
4019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4023 (eval "$ac_link") 2>conftest.er1
4025 grep -v '^ *+' conftest.er1 >conftest.err
4027 cat conftest.err >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4031 { (case "(($ac_try" in
4032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4033 *) ac_try_echo
=$ac_try;;
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_try") 2>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; } &&
4040 { ac_try
='test -s conftest$ac_exeext'
4041 { (case "(($ac_try" in
4042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_try") 2>&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; }; then
4051 # We can link X programs with no special library path.
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4058 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4060 # Don't even attempt the hair of trying to link an X program!
4061 for ac_extension in a so sl; do
4062 if test -r "$ac_dir/libX11.$ac_extension"; then
4063 ac_x_libraries=$ac_dir
4070 rm -f core conftest.err conftest.$ac_objext \
4071 conftest$ac_exeext conftest.$ac_ext
4072 fi # $ac_x_libraries = no
4074 case $ac_x_includes,$ac_x_libraries in #(
4076 # Didn't find X, or a directory has "'" in its name.
4077 ac_cv_have_x="have_x=no";; #(
4079 # Record where we found X for the cache.
4080 ac_cv_have_x="have_x=yes\
4081 ac_x_includes='$ac_x_includes'\
4082 ac_x_libraries='$ac_x_libraries'"
4088 eval "$ac_cv_have_x"
4091 if test "$have_x" != yes; then
4092 { echo "$as_me:$LINENO: result: $have_x" >&5
4093 echo "${ECHO_T}$have_x" >&6; }
4096 # If each of the values was on the command line, it overrides each guess.
4097 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4098 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4099 # Update the cache value to reflect the command line values.
4100 ac_cv_have_x="have_x=yes\
4101 ac_x_includes='$x_includes'\
4102 ac_x_libraries='$x_libraries'"
4103 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4104 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4107 if test "$no_x" = yes; then
4108 # Not all programs may use this symbol, but it does not hurt to define it.
4110 cat >>confdefs.h <<\_ACEOF
4111 #define X_DISPLAY_MISSING 1
4114 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4116 if test -n "$x_includes"; then
4117 X_CFLAGS="$X_CFLAGS -I$x_includes"
4120 # It would also be nice to do this for all -L options, not just this one.
4121 if test -n "$x_libraries"; then
4122 X_LIBS="$X_LIBS -L$x_libraries"
4123 # For Solaris; some versions of Sun CC require a space after -R and
4124 # others require no space. Words are not sufficient . . . .
4125 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4126 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4127 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4128 ac_xsave_c_werror_flag=$ac_c_werror_flag
4129 ac_c_werror_flag=yes
4130 cat >conftest.$ac_ext <<_ACEOF
4133 cat confdefs.h >>conftest.$ac_ext
4134 cat >>conftest.$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4145 rm -f conftest.$ac_objext conftest$ac_exeext
4146 if { (ac_try="$ac_link"
4148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4149 *) ac_try_echo
=$ac_try;;
4151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4152 (eval "$ac_link") 2>conftest.er1
4154 grep -v '^ *+' conftest.er1
>conftest.err
4156 cat conftest.err
>&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } &&
4159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4160 { (case "(($ac_try" in
4161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4165 (eval "$ac_try") 2>&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); }; } &&
4169 { ac_try='test -s conftest$ac_exeext'
4170 { (case "(($ac_try" in
4171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4172 *) ac_try_echo
=$ac_try;;
4174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4175 (eval "$ac_try") 2>&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; }; then
4179 { echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6; }
4181 X_LIBS
="$X_LIBS -R$x_libraries"
4183 echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.
$ac_ext >&5
4186 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4187 cat >conftest.
$ac_ext <<_ACEOF
4190 cat confdefs.h
>>conftest.
$ac_ext
4191 cat >>conftest.
$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4202 rm -f conftest.
$ac_objext conftest
$ac_exeext
4203 if { (ac_try
="$ac_link"
4205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_link") 2>conftest.er1
4211 grep -v '^ *+' conftest.er1 >conftest.err
4213 cat conftest.err >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } &&
4216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4217 { (case "(($ac_try" in
4218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4219 *) ac_try_echo
=$ac_try;;
4221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4222 (eval "$ac_try") 2>&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); }; } &&
4226 { ac_try
='test -s conftest$ac_exeext'
4227 { (case "(($ac_try" in
4228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4232 (eval "$ac_try") 2>&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; }; then
4236 { echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6; }
4238 X_LIBS="$X_LIBS -R $x_libraries"
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4243 { echo "$as_me:$LINENO: result: neither works" >&5
4244 echo "${ECHO_T}neither works" >&6; }
4247 rm -f core conftest.err conftest.$ac_objext \
4248 conftest$ac_exeext conftest.$ac_ext
4251 rm -f core conftest.err conftest.$ac_objext \
4252 conftest$ac_exeext conftest.$ac_ext
4253 ac_c_werror_flag=$ac_xsave_c_werror_flag
4257 # Check for system-dependent libraries X programs must link with.
4258 # Do this before checking for the system-independent R6 libraries
4259 # (-lICE), since we may need -lsocket or whatever for X linking.
4261 if test "$ISC" = yes; then
4262 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4264 # Martyn Johnson says this is needed for Ultrix, if the X
4265 # libraries were built with DECnet support. And Karl Berry says
4266 # the Alpha needs dnet_stub (dnet does not exist).
4267 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4268 cat >conftest.$ac_ext <<_ACEOF
4271 cat confdefs.h >>conftest.$ac_ext
4272 cat >>conftest.$ac_ext <<_ACEOF
4273 /* end confdefs.h. */
4275 /* Override any GCC internal prototype to avoid an error.
4276 Use char because int might match the return type of a GCC
4277 builtin and then its argument prototype would still apply. */
4281 char XOpenDisplay ();
4285 return XOpenDisplay ();
4290 rm -f conftest.$ac_objext conftest$ac_exeext
4291 if { (ac_try="$ac_link"
4293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4294 *) ac_try_echo
=$ac_try;;
4296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4297 (eval "$ac_link") 2>conftest.er1
4299 grep -v '^ *+' conftest.er1
>conftest.err
4301 cat conftest.err
>&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); } &&
4304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4305 { (case "(($ac_try" in
4306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4307 *) ac_try_echo=$ac_try;;
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 (eval "$ac_try") 2>&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); }; } &&
4314 { ac_try='test -s conftest$ac_exeext'
4315 { (case "(($ac_try" in
4316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4317 *) ac_try_echo
=$ac_try;;
4319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4320 (eval "$ac_try") 2>&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); }; }; then
4326 echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.
$ac_ext >&5
4329 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4330 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4331 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 ac_check_lib_save_LIBS
=$LIBS
4336 cat >conftest.
$ac_ext <<_ACEOF
4339 cat confdefs.h
>>conftest.
$ac_ext
4340 cat >>conftest.
$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4343 /* Override any GCC internal prototype to avoid an error.
4344 Use char because int might match the return type of a GCC
4345 builtin and then its argument prototype would still apply. */
4353 return dnet_ntoa ();
4358 rm -f conftest.
$ac_objext conftest
$ac_exeext
4359 if { (ac_try
="$ac_link"
4361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4365 (eval "$ac_link") 2>conftest.er1
4367 grep -v '^ *+' conftest.er1 >conftest.err
4369 cat conftest.err >&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4373 { (case "(($ac_try" in
4374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4375 *) ac_try_echo
=$ac_try;;
4377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378 (eval "$ac_try") 2>&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; } &&
4382 { ac_try
='test -s conftest$ac_exeext'
4383 { (case "(($ac_try" in
4384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4388 (eval "$ac_try") 2>&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); }; }; then
4392 ac_cv_lib_dnet_dnet_ntoa=yes
4394 echo "$as_me: failed program was:" >&5
4395 sed 's/^/| /' conftest.$ac_ext >&5
4397 ac_cv_lib_dnet_dnet_ntoa=no
4400 rm -f core conftest.err conftest.$ac_objext \
4401 conftest$ac_exeext conftest.$ac_ext
4402 LIBS=$ac_check_lib_save_LIBS
4404 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4405 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4406 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4407 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4410 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4411 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4412 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4413 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4414 echo $ECHO_N "(cached) $ECHO_C" >&6
4416 ac_check_lib_save_LIBS=$LIBS
4417 LIBS="-ldnet_stub $LIBS"
4418 cat >conftest.$ac_ext <<_ACEOF
4421 cat confdefs.h >>conftest.$ac_ext
4422 cat >>conftest.$ac_ext <<_ACEOF
4423 /* end confdefs.h. */
4425 /* Override any GCC internal prototype to avoid an error.
4426 Use char because int might match the return type of a GCC
4427 builtin and then its argument prototype would still apply. */
4435 return dnet_ntoa ();
4440 rm -f conftest.$ac_objext conftest$ac_exeext
4441 if { (ac_try="$ac_link"
4443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4444 *) ac_try_echo
=$ac_try;;
4446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4447 (eval "$ac_link") 2>conftest.er1
4449 grep -v '^ *+' conftest.er1
>conftest.err
4451 cat conftest.err
>&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } &&
4454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4455 { (case "(($ac_try" in
4456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4460 (eval "$ac_try") 2>&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }; } &&
4464 { ac_try='test -s conftest$ac_exeext'
4465 { (case "(($ac_try" in
4466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4467 *) ac_try_echo
=$ac_try;;
4469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4470 (eval "$ac_try") 2>&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; }; then
4474 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4476 echo "$as_me: failed program was:" >&5
4477 sed 's/^/| /' conftest.
$ac_ext >&5
4479 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4482 rm -f core conftest.err conftest.
$ac_objext \
4483 conftest
$ac_exeext conftest.
$ac_ext
4484 LIBS
=$ac_check_lib_save_LIBS
4486 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4487 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4488 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4489 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4495 rm -f core conftest.err conftest.
$ac_objext \
4496 conftest
$ac_exeext conftest.
$ac_ext
4497 LIBS
="$ac_xsave_LIBS"
4499 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4500 # to get the SysV transport functions.
4501 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4503 # The nsl library prevents programs from opening the X display
4504 # on Irix 5.2, according to T.E. Dickey.
4505 # The functions gethostbyname, getservbyname, and inet_addr are
4506 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4507 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4508 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4509 if test "${ac_cv_func_gethostbyname+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 cat >conftest.
$ac_ext <<_ACEOF
4515 cat confdefs.h
>>conftest.
$ac_ext
4516 cat >>conftest.
$ac_ext <<_ACEOF
4517 /* end confdefs.h. */
4518 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4520 #define gethostbyname innocuous_gethostbyname
4522 /* System header to define __stub macros and hopefully few prototypes,
4523 which can conflict with char gethostbyname (); below.
4524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4525 <limits.h> exists even on freestanding compilers. */
4528 # include <limits.h>
4530 # include <assert.h>
4533 #undef gethostbyname
4535 /* Override any GCC internal prototype to avoid an error.
4536 Use char because int might match the return type of a GCC
4537 builtin and then its argument prototype would still apply. */
4541 char gethostbyname ();
4542 /* The GNU C library defines this for functions which it implements
4543 to always fail with ENOSYS. Some functions are actually named
4544 something starting with __ and the normal name is an alias. */
4545 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4552 return gethostbyname ();
4557 rm -f conftest.
$ac_objext conftest
$ac_exeext
4558 if { (ac_try
="$ac_link"
4560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4561 *) ac_try_echo=$ac_try;;
4563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4564 (eval "$ac_link") 2>conftest.er1
4566 grep -v '^ *+' conftest.er1 >conftest.err
4568 cat conftest.err >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } &&
4571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4572 { (case "(($ac_try" in
4573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4574 *) ac_try_echo
=$ac_try;;
4576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4577 (eval "$ac_try") 2>&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; } &&
4581 { ac_try
='test -s conftest$ac_exeext'
4582 { (case "(($ac_try" in
4583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4584 *) ac_try_echo=$ac_try;;
4586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4587 (eval "$ac_try") 2>&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; }; then
4591 ac_cv_func_gethostbyname=yes
4593 echo "$as_me: failed program was:" >&5
4594 sed 's/^/| /' conftest.$ac_ext >&5
4596 ac_cv_func_gethostbyname=no
4599 rm -f core conftest.err conftest.$ac_objext \
4600 conftest$ac_exeext conftest.$ac_ext
4602 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4603 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4605 if test $ac_cv_func_gethostbyname = no; then
4606 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4607 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4608 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 ac_check_lib_save_LIBS=$LIBS
4613 cat >conftest.$ac_ext <<_ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4620 /* Override any GCC internal prototype to avoid an error.
4621 Use char because int might match the return type of a GCC
4622 builtin and then its argument prototype would still apply. */
4626 char gethostbyname ();
4630 return gethostbyname ();
4635 rm -f conftest.$ac_objext conftest$ac_exeext
4636 if { (ac_try="$ac_link"
4638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4639 *) ac_try_echo
=$ac_try;;
4641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4642 (eval "$ac_link") 2>conftest.er1
4644 grep -v '^ *+' conftest.er1
>conftest.err
4646 cat conftest.err
>&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); } &&
4649 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4650 { (case "(($ac_try" in
4651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4652 *) ac_try_echo=$ac_try;;
4654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4655 (eval "$ac_try") 2>&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }; } &&
4659 { ac_try='test -s conftest$ac_exeext'
4660 { (case "(($ac_try" in
4661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4662 *) ac_try_echo
=$ac_try;;
4664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4665 (eval "$ac_try") 2>&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; }; then
4669 ac_cv_lib_nsl_gethostbyname
=yes
4671 echo "$as_me: failed program was:" >&5
4672 sed 's/^/| /' conftest.
$ac_ext >&5
4674 ac_cv_lib_nsl_gethostbyname
=no
4677 rm -f core conftest.err conftest.
$ac_objext \
4678 conftest
$ac_exeext conftest.
$ac_ext
4679 LIBS
=$ac_check_lib_save_LIBS
4681 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4682 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4683 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4684 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4687 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4688 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4689 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4690 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 ac_check_lib_save_LIBS
=$LIBS
4695 cat >conftest.
$ac_ext <<_ACEOF
4698 cat confdefs.h
>>conftest.
$ac_ext
4699 cat >>conftest.
$ac_ext <<_ACEOF
4700 /* end confdefs.h. */
4702 /* Override any GCC internal prototype to avoid an error.
4703 Use char because int might match the return type of a GCC
4704 builtin and then its argument prototype would still apply. */
4708 char gethostbyname ();
4712 return gethostbyname ();
4717 rm -f conftest.
$ac_objext conftest
$ac_exeext
4718 if { (ac_try
="$ac_link"
4720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4721 *) ac_try_echo=$ac_try;;
4723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4724 (eval "$ac_link") 2>conftest.er1
4726 grep -v '^ *+' conftest.er1 >conftest.err
4728 cat conftest.err >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } &&
4731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4732 { (case "(($ac_try" in
4733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4734 *) ac_try_echo
=$ac_try;;
4736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4737 (eval "$ac_try") 2>&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; } &&
4741 { ac_try
='test -s conftest$ac_exeext'
4742 { (case "(($ac_try" in
4743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4744 *) ac_try_echo=$ac_try;;
4746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4747 (eval "$ac_try") 2>&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then
4751 ac_cv_lib_bsd_gethostbyname=yes
4753 echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.$ac_ext >&5
4756 ac_cv_lib_bsd_gethostbyname=no
4759 rm -f core conftest.err conftest.$ac_objext \
4760 conftest$ac_exeext conftest.$ac_ext
4761 LIBS=$ac_check_lib_save_LIBS
4763 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4764 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4765 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4766 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4772 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4773 # socket/setsockopt and other routines are undefined under SCO ODT
4774 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4775 # on later versions), says Simon Leinen: it contains gethostby*
4776 # variants that don't use the name server (or something). -lsocket
4777 # must be given before -lnsl if both are needed. We assume that
4778 # if connect needs -lnsl, so does gethostbyname.
4779 { echo "$as_me:$LINENO: checking for connect" >&5
4780 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4781 if test "${ac_cv_func_connect+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 cat >conftest.$ac_ext <<_ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4790 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4792 #define connect innocuous_connect
4794 /* System header to define __stub macros and hopefully few prototypes,
4795 which can conflict with char connect (); below.
4796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4797 <limits.h> exists even on freestanding compilers. */
4800 # include <limits.h>
4802 # include <assert.h>
4807 /* Override any GCC internal prototype to avoid an error.
4808 Use char because int might match the return type of a GCC
4809 builtin and then its argument prototype would still apply. */
4814 /* The GNU C library defines this for functions which it implements
4815 to always fail with ENOSYS. Some functions are actually named
4816 something starting with __ and the normal name is an alias. */
4817 #if defined __stub_connect || defined __stub___connect
4829 rm -f conftest.$ac_objext conftest$ac_exeext
4830 if { (ac_try="$ac_link"
4832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4833 *) ac_try_echo
=$ac_try;;
4835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4836 (eval "$ac_link") 2>conftest.er1
4838 grep -v '^ *+' conftest.er1
>conftest.err
4840 cat conftest.err
>&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } &&
4843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4844 { (case "(($ac_try" in
4845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4846 *) ac_try_echo=$ac_try;;
4848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4849 (eval "$ac_try") 2>&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; } &&
4853 { ac_try='test -s conftest$ac_exeext'
4854 { (case "(($ac_try" in
4855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4856 *) ac_try_echo
=$ac_try;;
4858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4859 (eval "$ac_try") 2>&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); }; }; then
4863 ac_cv_func_connect
=yes
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.
$ac_ext >&5
4868 ac_cv_func_connect
=no
4871 rm -f core conftest.err conftest.
$ac_objext \
4872 conftest
$ac_exeext conftest.
$ac_ext
4874 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4875 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4877 if test $ac_cv_func_connect = no
; then
4878 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4879 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4880 if test "${ac_cv_lib_socket_connect+set}" = set; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 ac_check_lib_save_LIBS
=$LIBS
4884 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4885 cat >conftest.
$ac_ext <<_ACEOF
4888 cat confdefs.h
>>conftest.
$ac_ext
4889 cat >>conftest.
$ac_ext <<_ACEOF
4890 /* end confdefs.h. */
4892 /* Override any GCC internal prototype to avoid an error.
4893 Use char because int might match the return type of a GCC
4894 builtin and then its argument prototype would still apply. */
4907 rm -f conftest.
$ac_objext conftest
$ac_exeext
4908 if { (ac_try
="$ac_link"
4910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4911 *) ac_try_echo=$ac_try;;
4913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4914 (eval "$ac_link") 2>conftest.er1
4916 grep -v '^ *+' conftest.er1 >conftest.err
4918 cat conftest.err >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } &&
4921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4922 { (case "(($ac_try" in
4923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4924 *) ac_try_echo
=$ac_try;;
4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927 (eval "$ac_try") 2>&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); }; } &&
4931 { ac_try
='test -s conftest$ac_exeext'
4932 { (case "(($ac_try" in
4933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4937 (eval "$ac_try") 2>&5
4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); }; }; then
4941 ac_cv_lib_socket_connect=yes
4943 echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.$ac_ext >&5
4946 ac_cv_lib_socket_connect=no
4949 rm -f core conftest.err conftest.$ac_objext \
4950 conftest$ac_exeext conftest.$ac_ext
4951 LIBS=$ac_check_lib_save_LIBS
4953 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4954 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4955 if test $ac_cv_lib_socket_connect = yes; then
4956 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4961 # Guillermo Gomez says -lposix is necessary on A/UX.
4962 { echo "$as_me:$LINENO: checking for remove" >&5
4963 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4964 if test "${ac_cv_func_remove+set}" = set; then
4965 echo $ECHO_N "(cached) $ECHO_C" >&6
4967 cat >conftest.$ac_ext <<_ACEOF
4970 cat confdefs.h >>conftest.$ac_ext
4971 cat >>conftest.$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4973 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4975 #define remove innocuous_remove
4977 /* System header to define __stub macros and hopefully few prototypes,
4978 which can conflict with char remove (); below.
4979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4980 <limits.h> exists even on freestanding compilers. */
4983 # include <limits.h>
4985 # include <assert.h>
4990 /* Override any GCC internal prototype to avoid an error.
4991 Use char because int might match the return type of a GCC
4992 builtin and then its argument prototype would still apply. */
4997 /* The GNU C library defines this for functions which it implements
4998 to always fail with ENOSYS. Some functions are actually named
4999 something starting with __ and the normal name is an alias. */
5000 #if defined __stub_remove || defined __stub___remove
5012 rm -f conftest.$ac_objext conftest$ac_exeext
5013 if { (ac_try="$ac_link"
5015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5016 *) ac_try_echo
=$ac_try;;
5018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5019 (eval "$ac_link") 2>conftest.er1
5021 grep -v '^ *+' conftest.er1
>conftest.err
5023 cat conftest.err
>&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); } &&
5026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5027 { (case "(($ac_try" in
5028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5029 *) ac_try_echo=$ac_try;;
5031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5032 (eval "$ac_try") 2>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; } &&
5036 { ac_try='test -s conftest$ac_exeext'
5037 { (case "(($ac_try" in
5038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5039 *) ac_try_echo
=$ac_try;;
5041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5042 (eval "$ac_try") 2>&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; }; then
5046 ac_cv_func_remove
=yes
5048 echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.
$ac_ext >&5
5051 ac_cv_func_remove
=no
5054 rm -f core conftest.err conftest.
$ac_objext \
5055 conftest
$ac_exeext conftest.
$ac_ext
5057 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5058 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5060 if test $ac_cv_func_remove = no
; then
5061 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5062 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5063 if test "${ac_cv_lib_posix_remove+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5066 ac_check_lib_save_LIBS
=$LIBS
5067 LIBS
="-lposix $LIBS"
5068 cat >conftest.
$ac_ext <<_ACEOF
5071 cat confdefs.h
>>conftest.
$ac_ext
5072 cat >>conftest.
$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5075 /* Override any GCC internal prototype to avoid an error.
5076 Use char because int might match the return type of a GCC
5077 builtin and then its argument prototype would still apply. */
5090 rm -f conftest.
$ac_objext conftest
$ac_exeext
5091 if { (ac_try
="$ac_link"
5093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5097 (eval "$ac_link") 2>conftest.er1
5099 grep -v '^ *+' conftest.er1 >conftest.err
5101 cat conftest.err >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } &&
5104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5105 { (case "(($ac_try" in
5106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5107 *) ac_try_echo
=$ac_try;;
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110 (eval "$ac_try") 2>&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); }; } &&
5114 { ac_try
='test -s conftest$ac_exeext'
5115 { (case "(($ac_try" in
5116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5117 *) ac_try_echo=$ac_try;;
5119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5120 (eval "$ac_try") 2>&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; }; then
5124 ac_cv_lib_posix_remove=yes
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5129 ac_cv_lib_posix_remove=no
5132 rm -f core conftest.err conftest.$ac_objext \
5133 conftest$ac_exeext conftest.$ac_ext
5134 LIBS=$ac_check_lib_save_LIBS
5136 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5137 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5138 if test $ac_cv_lib_posix_remove = yes; then
5139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5144 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5145 { echo "$as_me:$LINENO: checking for shmat" >&5
5146 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5147 if test "${ac_cv_func_shmat+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 cat >conftest.$ac_ext <<_ACEOF
5153 cat confdefs.h >>conftest.$ac_ext
5154 cat >>conftest.$ac_ext <<_ACEOF
5155 /* end confdefs.h. */
5156 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5158 #define shmat innocuous_shmat
5160 /* System header to define __stub macros and hopefully few prototypes,
5161 which can conflict with char shmat (); below.
5162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5163 <limits.h> exists even on freestanding compilers. */
5166 # include <limits.h>
5168 # include <assert.h>
5173 /* Override any GCC internal prototype to avoid an error.
5174 Use char because int might match the return type of a GCC
5175 builtin and then its argument prototype would still apply. */
5180 /* The GNU C library defines this for functions which it implements
5181 to always fail with ENOSYS. Some functions are actually named
5182 something starting with __ and the normal name is an alias. */
5183 #if defined __stub_shmat || defined __stub___shmat
5195 rm -f conftest.$ac_objext conftest$ac_exeext
5196 if { (ac_try="$ac_link"
5198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5199 *) ac_try_echo
=$ac_try;;
5201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5202 (eval "$ac_link") 2>conftest.er1
5204 grep -v '^ *+' conftest.er1
>conftest.err
5206 cat conftest.err
>&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } &&
5209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5210 { (case "(($ac_try" in
5211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5212 *) ac_try_echo=$ac_try;;
5214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5215 (eval "$ac_try") 2>&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); }; } &&
5219 { ac_try='test -s conftest$ac_exeext'
5220 { (case "(($ac_try" in
5221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5222 *) ac_try_echo
=$ac_try;;
5224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5225 (eval "$ac_try") 2>&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }; }; then
5229 ac_cv_func_shmat
=yes
5231 echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.
$ac_ext >&5
5237 rm -f core conftest.err conftest.
$ac_objext \
5238 conftest
$ac_exeext conftest.
$ac_ext
5240 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5241 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5243 if test $ac_cv_func_shmat = no
; then
5244 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5245 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5246 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 ac_check_lib_save_LIBS
=$LIBS
5251 cat >conftest.
$ac_ext <<_ACEOF
5254 cat confdefs.h
>>conftest.
$ac_ext
5255 cat >>conftest.
$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5258 /* Override any GCC internal prototype to avoid an error.
5259 Use char because int might match the return type of a GCC
5260 builtin and then its argument prototype would still apply. */
5273 rm -f conftest.
$ac_objext conftest
$ac_exeext
5274 if { (ac_try
="$ac_link"
5276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5277 *) ac_try_echo=$ac_try;;
5279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5280 (eval "$ac_link") 2>conftest.er1
5282 grep -v '^ *+' conftest.er1 >conftest.err
5284 cat conftest.err >&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); } &&
5287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5288 { (case "(($ac_try" in
5289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5290 *) ac_try_echo
=$ac_try;;
5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293 (eval "$ac_try") 2>&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; } &&
5297 { ac_try
='test -s conftest$ac_exeext'
5298 { (case "(($ac_try" in
5299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5300 *) ac_try_echo=$ac_try;;
5302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5303 (eval "$ac_try") 2>&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); }; }; then
5307 ac_cv_lib_ipc_shmat=yes
5309 echo "$as_me: failed program was:" >&5
5310 sed 's/^/| /' conftest.$ac_ext >&5
5312 ac_cv_lib_ipc_shmat=no
5315 rm -f core conftest.err conftest.$ac_objext \
5316 conftest$ac_exeext conftest.$ac_ext
5317 LIBS=$ac_check_lib_save_LIBS
5319 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5320 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5321 if test $ac_cv_lib_ipc_shmat = yes; then
5322 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5328 # Check for libraries that X11R6 Xt/Xaw programs need.
5329 ac_save_LDFLAGS=$LDFLAGS
5330 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5331 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5332 # check for ICE first), but we must link in the order -lSM -lICE or
5333 # we get undefined symbols. So assume we have SM if we have ICE.
5334 # These have to be linked with before -lX11, unlike the other
5335 # libraries we check for below, so use a different variable.
5336 # John Interrante, Karl Berry
5337 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5338 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5339 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 ac_check_lib_save_LIBS=$LIBS
5343 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5344 cat >conftest.$ac_ext <<_ACEOF
5347 cat confdefs.h >>conftest.$ac_ext
5348 cat >>conftest.$ac_ext <<_ACEOF
5349 /* end confdefs.h. */
5351 /* Override any GCC internal prototype to avoid an error.
5352 Use char because int might match the return type of a GCC
5353 builtin and then its argument prototype would still apply. */
5357 char IceConnectionNumber ();
5361 return IceConnectionNumber ();
5366 rm -f conftest.$ac_objext conftest$ac_exeext
5367 if { (ac_try="$ac_link"
5369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5370 *) ac_try_echo
=$ac_try;;
5372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5373 (eval "$ac_link") 2>conftest.er1
5375 grep -v '^ *+' conftest.er1
>conftest.err
5377 cat conftest.err
>&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } &&
5380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5381 { (case "(($ac_try" in
5382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5383 *) ac_try_echo=$ac_try;;
5385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5386 (eval "$ac_try") 2>&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; } &&
5390 { ac_try='test -s conftest$ac_exeext'
5391 { (case "(($ac_try" in
5392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5393 *) ac_try_echo
=$ac_try;;
5395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5396 (eval "$ac_try") 2>&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }; }; then
5400 ac_cv_lib_ICE_IceConnectionNumber
=yes
5402 echo "$as_me: failed program was:" >&5
5403 sed 's/^/| /' conftest.
$ac_ext >&5
5405 ac_cv_lib_ICE_IceConnectionNumber
=no
5408 rm -f core conftest.err conftest.
$ac_objext \
5409 conftest
$ac_exeext conftest.
$ac_ext
5410 LIBS
=$ac_check_lib_save_LIBS
5412 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5413 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5414 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5415 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5418 LDFLAGS
=$ac_save_LDFLAGS
5422 for ac_prog
in flex
lex
5424 # Extract the first word of "$ac_prog", so it can be a program name with args.
5425 set dummy
$ac_prog; ac_word
=$2
5426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5428 if test "${ac_cv_prog_LEX+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 if test -n "$LEX"; then
5432 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir
=.
5439 for ac_exec_ext
in '' $ac_executable_extensions; do
5440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5441 ac_cv_prog_LEX
="$ac_prog"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 if test -n "$LEX"; then
5453 { echo "$as_me:$LINENO: result: $LEX" >&5
5454 echo "${ECHO_T}$LEX" >&6; }
5456 { echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6; }
5461 test -n "$LEX" && break
5463 test -n "$LEX" || LEX
=":"
5465 if test -z "$LEXLIB"
5467 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5468 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5469 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5470 echo $ECHO_N "(cached) $ECHO_C" >&6
5472 ac_check_lib_save_LIBS
=$LIBS
5474 cat >conftest.
$ac_ext <<_ACEOF
5477 cat confdefs.h
>>conftest.
$ac_ext
5478 cat >>conftest.
$ac_ext <<_ACEOF
5479 /* end confdefs.h. */
5481 /* Override any GCC internal prototype to avoid an error.
5482 Use char because int might match the return type of a GCC
5483 builtin and then its argument prototype would still apply. */
5496 rm -f conftest.
$ac_objext conftest
$ac_exeext
5497 if { (ac_try
="$ac_link"
5499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5500 *) ac_try_echo=$ac_try;;
5502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5503 (eval "$ac_link") 2>conftest.er1
5505 grep -v '^ *+' conftest.er1 >conftest.err
5507 cat conftest.err >&5
5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509 (exit $ac_status); } &&
5510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5511 { (case "(($ac_try" in
5512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5513 *) ac_try_echo
=$ac_try;;
5515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5516 (eval "$ac_try") 2>&5
5518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519 (exit $ac_status); }; } &&
5520 { ac_try
='test -s conftest$ac_exeext'
5521 { (case "(($ac_try" in
5522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5523 *) ac_try_echo=$ac_try;;
5525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5526 (eval "$ac_try") 2>&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); }; }; then
5530 ac_cv_lib_fl_yywrap=yes
5532 echo "$as_me: failed program was:" >&5
5533 sed 's/^/| /' conftest.$ac_ext >&5
5535 ac_cv_lib_fl_yywrap=no
5538 rm -f core conftest.err conftest.$ac_objext \
5539 conftest$ac_exeext conftest.$ac_ext
5540 LIBS=$ac_check_lib_save_LIBS
5542 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5543 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5544 if test $ac_cv_lib_fl_yywrap = yes; then
5547 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5548 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5549 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5550 echo $ECHO_N "(cached) $ECHO_C" >&6
5552 ac_check_lib_save_LIBS=$LIBS
5554 cat >conftest.$ac_ext <<_ACEOF
5557 cat confdefs.h >>conftest.$ac_ext
5558 cat >>conftest.$ac_ext <<_ACEOF
5559 /* end confdefs.h. */
5561 /* Override any GCC internal prototype to avoid an error.
5562 Use char because int might match the return type of a GCC
5563 builtin and then its argument prototype would still apply. */
5576 rm -f conftest.$ac_objext conftest$ac_exeext
5577 if { (ac_try="$ac_link"
5579 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5580 *) ac_try_echo
=$ac_try;;
5582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5583 (eval "$ac_link") 2>conftest.er1
5585 grep -v '^ *+' conftest.er1
>conftest.err
5587 cat conftest.err
>&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } &&
5590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5591 { (case "(($ac_try" in
5592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5593 *) ac_try_echo=$ac_try;;
5595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5596 (eval "$ac_try") 2>&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }; } &&
5600 { ac_try='test -s conftest$ac_exeext'
5601 { (case "(($ac_try" in
5602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5603 *) ac_try_echo
=$ac_try;;
5605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5606 (eval "$ac_try") 2>&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); }; }; then
5610 ac_cv_lib_l_yywrap
=yes
5612 echo "$as_me: failed program was:" >&5
5613 sed 's/^/| /' conftest.
$ac_ext >&5
5615 ac_cv_lib_l_yywrap
=no
5618 rm -f core conftest.err conftest.
$ac_objext \
5619 conftest
$ac_exeext conftest.
$ac_ext
5620 LIBS
=$ac_check_lib_save_LIBS
5622 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5623 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5624 if test $ac_cv_lib_l_yywrap = yes; then
5632 if test "x$LEX" != "x:"; then
5633 { echo "$as_me:$LINENO: checking lex output file root" >&5
5634 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5635 if test "${ac_cv_prog_lex_root+set}" = set; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5638 # The minimal lex program is just a single line: %%. But some broken lexes
5639 # (Solaris, I think it was) want two %% lines, so accommodate them.
5640 cat >conftest.l
<<_ACEOF
5644 { (ac_try
="$LEX conftest.l"
5646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5647 *) ac_try_echo=$ac_try;;
5649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5650 (eval "$LEX conftest.l") 2>&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); }
5654 if test -f lex.yy.c; then
5655 ac_cv_prog_lex_root=lex.yy
5656 elif test -f lexyy.c; then
5657 ac_cv_prog_lex_root=lexyy
5659 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5660 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5661 { (exit 1); exit 1; }; }
5664 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5665 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5667 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5669 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5670 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5671 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 # POSIX says lex can declare yytext either as a pointer or an array; the
5675 # default is implementation-dependent. Figure out which it is, since
5676 # not all implementations provide the %pointer and %array declarations.
5677 ac_cv_prog_lex_yytext_pointer=no
5678 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5680 LIBS="$LIBS $LEXLIB"
5681 cat >conftest.$ac_ext <<_ACEOF
5682 `cat $LEX_OUTPUT_ROOT.c
`
5684 rm -f conftest.$ac_objext conftest$ac_exeext
5685 if { (ac_try="$ac_link"
5687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5688 *) ac_try_echo
=$ac_try;;
5690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5691 (eval "$ac_link") 2>conftest.er1
5693 grep -v '^ *+' conftest.er1
>conftest.err
5695 cat conftest.err
>&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); } &&
5698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5699 { (case "(($ac_try" in
5700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5701 *) ac_try_echo=$ac_try;;
5703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5704 (eval "$ac_try") 2>&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; } &&
5708 { ac_try='test -s conftest$ac_exeext'
5709 { (case "(($ac_try" in
5710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5711 *) ac_try_echo
=$ac_try;;
5713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5714 (eval "$ac_try") 2>&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); }; }; then
5718 ac_cv_prog_lex_yytext_pointer
=yes
5720 echo "$as_me: failed program was:" >&5
5721 sed 's/^/| /' conftest.
$ac_ext >&5
5726 rm -f core conftest.err conftest.
$ac_objext \
5727 conftest
$ac_exeext conftest.
$ac_ext
5729 rm -f "${LEX_OUTPUT_ROOT}.c"
5732 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5733 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5734 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5736 cat >>confdefs.h
<<\_ACEOF
5737 #define YYTEXT_POINTER 1
5744 for ac_prog
in $LEX flex
lex
5746 # Extract the first word of "$ac_prog", so it can be a program name with args.
5747 set dummy
$ac_prog; ac_word
=$2
5748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5750 if test "${ac_cv_prog_XLEX+set}" = set; then
5751 echo $ECHO_N "(cached) $ECHO_C" >&6
5753 if test -n "$XLEX"; then
5754 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
5756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5760 test -z "$as_dir" && as_dir
=.
5761 for ac_exec_ext
in '' $ac_executable_extensions; do
5762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5763 ac_cv_prog_XLEX
="$ac_prog"
5764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 XLEX
=$ac_cv_prog_XLEX
5774 if test -n "$XLEX"; then
5775 { echo "$as_me:$LINENO: result: $XLEX" >&5
5776 echo "${ECHO_T}$XLEX" >&6; }
5778 { echo "$as_me:$LINENO: result: no" >&5
5779 echo "${ECHO_T}no" >&6; }
5783 test -n "$XLEX" && break
5785 test -n "$XLEX" || XLEX
="none"
5787 if test "$XLEX" = "none"
5789 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5790 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5791 { (exit 1); exit 1; }; }
5794 for ac_prog
in bison
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy
$ac_prog; ac_word
=$2
5798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5800 if test "${ac_cv_prog_BISON+set}" = set; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 if test -n "$BISON"; then
5804 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5810 test -z "$as_dir" && as_dir
=.
5811 for ac_exec_ext
in '' $ac_executable_extensions; do
5812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5813 ac_cv_prog_BISON
="$ac_prog"
5814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5823 BISON
=$ac_cv_prog_BISON
5824 if test -n "$BISON"; then
5825 { echo "$as_me:$LINENO: result: $BISON" >&5
5826 echo "${ECHO_T}$BISON" >&6; }
5828 { echo "$as_me:$LINENO: result: no" >&5
5829 echo "${ECHO_T}no" >&6; }
5833 test -n "$BISON" && break
5835 test -n "$BISON" || BISON
="none"
5837 if test "$BISON" = "none"
5839 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5840 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5841 { (exit 1); exit 1; }; }
5844 if test -n "$ac_tool_prefix"; then
5845 for ac_prog
in gas as
5847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5848 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5851 if test "${ac_cv_prog_AS+set}" = set; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5854 if test -n "$AS"; then
5855 ac_cv_prog_AS
="$AS" # Let the user override the test.
5857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5861 test -z "$as_dir" && as_dir
=.
5862 for ac_exec_ext
in '' $ac_executable_extensions; do
5863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5864 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 if test -n "$AS"; then
5876 { echo "$as_me:$LINENO: result: $AS" >&5
5877 echo "${ECHO_T}$AS" >&6; }
5879 { echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6; }
5884 test -n "$AS" && break
5887 if test -z "$AS"; then
5889 for ac_prog
in gas as
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy
$ac_prog; ac_word
=$2
5893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5895 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 if test -n "$ac_ct_AS"; then
5899 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5905 test -z "$as_dir" && as_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_prog_ac_ct_AS
="$ac_prog"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5919 if test -n "$ac_ct_AS"; then
5920 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5921 echo "${ECHO_T}$ac_ct_AS" >&6; }
5923 { echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6; }
5928 test -n "$ac_ct_AS" && break
5931 if test "x$ac_ct_AS" = x
; then
5934 case $cross_compiling:$ac_tool_warned in
5936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5937 whose name does not start with the host triplet. If you think this
5938 configuration is useful to you, please write to autoconf@gnu.org." >&5
5939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5940 whose name does not start with the host triplet. If you think this
5941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5942 ac_tool_warned
=yes ;;
5948 if test -n "$ac_tool_prefix"; then
5949 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5950 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5953 if test "${ac_cv_prog_LD+set}" = set; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 if test -n "$LD"; then
5957 ac_cv_prog_LD
="$LD" # Let the user override the test.
5959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5963 test -z "$as_dir" && as_dir
=.
5964 for ac_exec_ext
in '' $ac_executable_extensions; do
5965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5966 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 if test -n "$LD"; then
5978 { echo "$as_me:$LINENO: result: $LD" >&5
5979 echo "${ECHO_T}$LD" >&6; }
5981 { echo "$as_me:$LINENO: result: no" >&5
5982 echo "${ECHO_T}no" >&6; }
5987 if test -z "$ac_cv_prog_LD"; then
5989 # Extract the first word of "ld", so it can be a program name with args.
5990 set dummy ld
; ac_word
=$2
5991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5993 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 if test -n "$ac_ct_LD"; then
5997 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6003 test -z "$as_dir" && as_dir
=.
6004 for ac_exec_ext
in '' $ac_executable_extensions; do
6005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6006 ac_cv_prog_ac_ct_LD
="ld"
6007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6017 if test -n "$ac_ct_LD"; then
6018 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6019 echo "${ECHO_T}$ac_ct_LD" >&6; }
6021 { echo "$as_me:$LINENO: result: no" >&5
6022 echo "${ECHO_T}no" >&6; }
6025 if test "x$ac_ct_LD" = x
; then
6028 case $cross_compiling:$ac_tool_warned in
6030 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6031 whose name does not start with the host triplet. If you think this
6032 configuration is useful to you, please write to autoconf@gnu.org." >&5
6033 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6034 whose name does not start with the host triplet. If you think this
6035 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6036 ac_tool_warned
=yes ;;
6044 if test -n "$ac_tool_prefix"; then
6045 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6046 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_AR+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 if test -n "$AR"; then
6053 ac_cv_prog_AR
="$AR" # Let the user override the test.
6055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir
=.
6060 for ac_exec_ext
in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 if test -n "$AR"; then
6074 { echo "$as_me:$LINENO: result: $AR" >&5
6075 echo "${ECHO_T}$AR" >&6; }
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6083 if test -z "$ac_cv_prog_AR"; then
6085 # Extract the first word of "ar", so it can be a program name with args.
6086 set dummy
ar; ac_word
=$2
6087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6089 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6090 echo $ECHO_N "(cached) $ECHO_C" >&6
6092 if test -n "$ac_ct_AR"; then
6093 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir
=.
6100 for ac_exec_ext
in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_prog_ac_ct_AR
="ar"
6103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6113 if test -n "$ac_ct_AR"; then
6114 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6115 echo "${ECHO_T}$ac_ct_AR" >&6; }
6117 { echo "$as_me:$LINENO: result: no" >&5
6118 echo "${ECHO_T}no" >&6; }
6121 if test "x$ac_ct_AR" = x
; then
6124 case $cross_compiling:$ac_tool_warned in
6126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6127 whose name does not start with the host triplet. If you think this
6128 configuration is useful to you, please write to autoconf@gnu.org." >&5
6129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6130 whose name does not start with the host triplet. If you think this
6131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6132 ac_tool_warned
=yes ;;
6140 if test -n "$ac_tool_prefix"; then
6141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6142 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6145 if test "${ac_cv_prog_RANLIB+set}" = set; then
6146 echo $ECHO_N "(cached) $ECHO_C" >&6
6148 if test -n "$RANLIB"; then
6149 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6155 test -z "$as_dir" && as_dir
=.
6156 for ac_exec_ext
in '' $ac_executable_extensions; do
6157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6158 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6168 RANLIB
=$ac_cv_prog_RANLIB
6169 if test -n "$RANLIB"; then
6170 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6171 echo "${ECHO_T}$RANLIB" >&6; }
6173 { echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6; }
6179 if test -z "$ac_cv_prog_RANLIB"; then
6180 ac_ct_RANLIB
=$RANLIB
6181 # Extract the first word of "ranlib", so it can be a program name with args.
6182 set dummy ranlib
; ac_word
=$2
6183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6185 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 if test -n "$ac_ct_RANLIB"; then
6189 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6195 test -z "$as_dir" && as_dir
=.
6196 for ac_exec_ext
in '' $ac_executable_extensions; do
6197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6198 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6209 if test -n "$ac_ct_RANLIB"; then
6210 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6211 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6213 { echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6; }
6217 if test "x$ac_ct_RANLIB" = x
; then
6220 case $cross_compiling:$ac_tool_warned in
6222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6223 whose name does not start with the host triplet. If you think this
6224 configuration is useful to you, please write to autoconf@gnu.org." >&5
6225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6226 whose name does not start with the host triplet. If you think this
6227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6228 ac_tool_warned
=yes ;;
6230 RANLIB
=$ac_ct_RANLIB
6233 RANLIB
="$ac_cv_prog_RANLIB"
6236 if test -n "$ac_tool_prefix"; then
6237 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6238 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6241 if test "${ac_cv_prog_STRIP+set}" = set; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 if test -n "$STRIP"; then
6245 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6251 test -z "$as_dir" && as_dir
=.
6252 for ac_exec_ext
in '' $ac_executable_extensions; do
6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6264 STRIP
=$ac_cv_prog_STRIP
6265 if test -n "$STRIP"; then
6266 { echo "$as_me:$LINENO: result: $STRIP" >&5
6267 echo "${ECHO_T}$STRIP" >&6; }
6269 { echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6; }
6275 if test -z "$ac_cv_prog_STRIP"; then
6277 # Extract the first word of "strip", so it can be a program name with args.
6278 set dummy strip
; ac_word
=$2
6279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6281 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 if test -n "$ac_ct_STRIP"; then
6285 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6291 test -z "$as_dir" && as_dir
=.
6292 for ac_exec_ext
in '' $ac_executable_extensions; do
6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 ac_cv_prog_ac_ct_STRIP
="strip"
6295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6304 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6305 if test -n "$ac_ct_STRIP"; then
6306 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6307 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6309 { echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6; }
6313 if test "x$ac_ct_STRIP" = x
; then
6316 case $cross_compiling:$ac_tool_warned in
6318 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6319 whose name does not start with the host triplet. If you think this
6320 configuration is useful to you, please write to autoconf@gnu.org." >&5
6321 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6322 whose name does not start with the host triplet. If you think this
6323 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6324 ac_tool_warned
=yes ;;
6329 STRIP
="$ac_cv_prog_STRIP"
6332 if test -n "$ac_tool_prefix"; then
6333 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6334 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
6335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6337 if test "${ac_cv_prog_WINDRES+set}" = set; then
6338 echo $ECHO_N "(cached) $ECHO_C" >&6
6340 if test -n "$WINDRES"; then
6341 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
6343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6347 test -z "$as_dir" && as_dir
=.
6348 for ac_exec_ext
in '' $ac_executable_extensions; do
6349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6350 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
6351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6360 WINDRES
=$ac_cv_prog_WINDRES
6361 if test -n "$WINDRES"; then
6362 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6363 echo "${ECHO_T}$WINDRES" >&6; }
6365 { echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6; }
6371 if test -z "$ac_cv_prog_WINDRES"; then
6372 ac_ct_WINDRES
=$WINDRES
6373 # Extract the first word of "windres", so it can be a program name with args.
6374 set dummy windres
; ac_word
=$2
6375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6377 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6380 if test -n "$ac_ct_WINDRES"; then
6381 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir
=.
6388 for ac_exec_ext
in '' $ac_executable_extensions; do
6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6390 ac_cv_prog_ac_ct_WINDRES
="windres"
6391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6401 if test -n "$ac_ct_WINDRES"; then
6402 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6403 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6405 { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6409 if test "x$ac_ct_WINDRES" = x
; then
6412 case $cross_compiling:$ac_tool_warned in
6414 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6415 whose name does not start with the host triplet. If you think this
6416 configuration is useful to you, please write to autoconf@gnu.org." >&5
6417 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6418 whose name does not start with the host triplet. If you think this
6419 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6420 ac_tool_warned
=yes ;;
6422 WINDRES
=$ac_ct_WINDRES
6425 WINDRES
="$ac_cv_prog_WINDRES"
6428 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6429 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6431 if test "$LN_S" = "ln -s"; then
6432 { echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6; }
6435 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6436 echo "${ECHO_T}no, using $LN_S" >&6; }
6439 { echo "$as_me:$LINENO: checking whether ln works" >&5
6440 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6441 rm -f conf$$ conf$$.
file
6443 if ln conf$$.
file conf$$
2>/dev
/null
; then
6446 { echo "$as_me:$LINENO: result: yes" >&5
6447 echo "${ECHO_T}yes" >&6; }
6451 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6452 echo "${ECHO_T}no, using $LN" >&6; }
6454 rm -f conf$$ conf$$.
file
6455 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6456 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6457 if test "${ac_cv_path_GREP+set}" = set; then
6458 echo $ECHO_N "(cached) $ECHO_C" >&6
6460 # Extract the first word of "grep ggrep" to use in msg output
6461 if test -z "$GREP"; then
6462 set dummy
grep ggrep
; ac_prog_name
=$2
6463 if test "${ac_cv_path_GREP+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 ac_path_GREP_found
=false
6467 # Loop through the user's path and test for each of PROGNAME-LIST
6468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6469 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6472 test -z "$as_dir" && as_dir
=.
6473 for ac_prog
in grep ggrep
; do
6474 for ac_exec_ext
in '' $ac_executable_extensions; do
6475 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6476 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
6477 # Check for GNU ac_path_GREP and select it if it is found.
6478 # Check for GNU $ac_path_GREP
6479 case `"$ac_path_GREP" --version 2>&1` in
6481 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6484 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6487 cat "conftest.in" "conftest.in" >"conftest.tmp"
6488 mv "conftest.tmp" "conftest.in"
6489 cp "conftest.in" "conftest.nl"
6490 echo 'GREP' >> "conftest.nl"
6491 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6492 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6493 ac_count
=`expr $ac_count + 1`
6494 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6495 # Best one so far, save it but keep looking for a better one
6496 ac_cv_path_GREP
="$ac_path_GREP"
6497 ac_path_GREP_max
=$ac_count
6499 # 10*(2^10) chars as input seems more than enough
6500 test $ac_count -gt 10 && break
6502 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6506 $ac_path_GREP_found && break 3
6516 GREP
="$ac_cv_path_GREP"
6517 if test -z "$GREP"; then
6518 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6519 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6520 { (exit 1); exit 1; }; }
6524 ac_cv_path_GREP
=$GREP
6529 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6530 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6531 GREP
="$ac_cv_path_GREP"
6534 { echo "$as_me:$LINENO: checking for egrep" >&5
6535 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6536 if test "${ac_cv_path_EGREP+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6540 then ac_cv_path_EGREP
="$GREP -E"
6542 # Extract the first word of "egrep" to use in msg output
6543 if test -z "$EGREP"; then
6544 set dummy
egrep; ac_prog_name
=$2
6545 if test "${ac_cv_path_EGREP+set}" = set; then
6546 echo $ECHO_N "(cached) $ECHO_C" >&6
6548 ac_path_EGREP_found
=false
6549 # Loop through the user's path and test for each of PROGNAME-LIST
6550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6551 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6554 test -z "$as_dir" && as_dir
=.
6555 for ac_prog
in egrep; do
6556 for ac_exec_ext
in '' $ac_executable_extensions; do
6557 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6558 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
6559 # Check for GNU ac_path_EGREP and select it if it is found.
6560 # Check for GNU $ac_path_EGREP
6561 case `"$ac_path_EGREP" --version 2>&1` in
6563 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6566 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6569 cat "conftest.in" "conftest.in" >"conftest.tmp"
6570 mv "conftest.tmp" "conftest.in"
6571 cp "conftest.in" "conftest.nl"
6572 echo 'EGREP' >> "conftest.nl"
6573 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6574 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6575 ac_count
=`expr $ac_count + 1`
6576 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6577 # Best one so far, save it but keep looking for a better one
6578 ac_cv_path_EGREP
="$ac_path_EGREP"
6579 ac_path_EGREP_max
=$ac_count
6581 # 10*(2^10) chars as input seems more than enough
6582 test $ac_count -gt 10 && break
6584 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6588 $ac_path_EGREP_found && break 3
6598 EGREP
="$ac_cv_path_EGREP"
6599 if test -z "$EGREP"; then
6600 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6601 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6602 { (exit 1); exit 1; }; }
6606 ac_cv_path_EGREP
=$EGREP
6612 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6613 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6614 EGREP
="$ac_cv_path_EGREP"
6617 # Extract the first word of "ldconfig", so it can be a program name with args.
6618 set dummy ldconfig
; ac_word
=$2
6619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6621 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6622 echo $ECHO_N "(cached) $ECHO_C" >&6
6626 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6630 for as_dir
in /sbin
/usr
/sbin
$PATH
6633 test -z "$as_dir" && as_dir
=.
6634 for ac_exec_ext
in '' $ac_executable_extensions; do
6635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6636 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6648 LDCONFIG
=$ac_cv_path_LDCONFIG
6649 if test -n "$LDCONFIG"; then
6650 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6651 echo "${ECHO_T}$LDCONFIG" >&6; }
6653 { echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6; }
6658 # Find a good install program. We prefer a C program (faster),
6659 # so one script is as good as another. But avoid the broken or
6660 # incompatible versions:
6661 # SysV /etc/install, /usr/sbin/install
6662 # SunOS /usr/etc/install
6663 # IRIX /sbin/install
6665 # AmigaOS /C/install, which installs bootblocks on floppy discs
6666 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6667 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6668 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6669 # OS/2's system install, which has a completely different semantic
6670 # ./install, which can be erroneously created by make from ./install.sh.
6671 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6672 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6673 if test -z "$INSTALL"; then
6674 if test "${ac_cv_path_install+set}" = set; then
6675 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir
=.
6682 # Account for people who put trailing slashes in PATH elements.
6684 .
/ | .
// |
/cC
/* | \
6685 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6686 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6689 # OSF1 and SCO ODT 3.0 have their own names for install.
6690 # Don't use installbsd from OSF since it installs stuff as root
6692 for ac_prog
in ginstall scoinst
install; do
6693 for ac_exec_ext
in '' $ac_executable_extensions; do
6694 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6695 if test $ac_prog = install &&
6696 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6697 # AIX install. It has an incompatible calling convention.
6699 elif test $ac_prog = install &&
6700 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6701 # program-specific install script used by HP pwplus--don't use.
6704 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6717 if test "${ac_cv_path_install+set}" = set; then
6718 INSTALL
=$ac_cv_path_install
6720 # As a last resort, use the slow shell script. Don't cache a
6721 # value for INSTALL within a source directory, because that will
6722 # break other packages using the cache if that directory is
6723 # removed, or if the value is a relative name.
6724 INSTALL
=$ac_install_sh
6727 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6728 echo "${ECHO_T}$INSTALL" >&6; }
6730 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6731 # It thinks the first close brace ends the variable substitution.
6732 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6734 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6736 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6739 [\\/$
]* | ?
:[\\/]* ) ;;
6740 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6743 for ac_prog
in lclint lint
6745 # Extract the first word of "$ac_prog", so it can be a program name with args.
6746 set dummy
$ac_prog; ac_word
=$2
6747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6749 if test "${ac_cv_prog_LINT+set}" = set; then
6750 echo $ECHO_N "(cached) $ECHO_C" >&6
6752 if test -n "$LINT"; then
6753 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6759 test -z "$as_dir" && as_dir
=.
6760 for ac_exec_ext
in '' $ac_executable_extensions; do
6761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6762 ac_cv_prog_LINT
="$ac_prog"
6763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 LINT
=$ac_cv_prog_LINT
6773 if test -n "$LINT"; then
6774 { echo "$as_me:$LINENO: result: $LINT" >&5
6775 echo "${ECHO_T}$LINT" >&6; }
6777 { echo "$as_me:$LINENO: result: no" >&5
6778 echo "${ECHO_T}no" >&6; }
6782 test -n "$LINT" && break
6785 if test "$LINT" = "lint"
6787 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6792 for ac_prog
in fontforge
6794 # Extract the first word of "$ac_prog", so it can be a program name with args.
6795 set dummy
$ac_prog; ac_word
=$2
6796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6798 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6799 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 if test -n "$FONTFORGE"; then
6802 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6808 test -z "$as_dir" && as_dir
=.
6809 for ac_exec_ext
in '' $ac_executable_extensions; do
6810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6811 ac_cv_prog_FONTFORGE
="$ac_prog"
6812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6821 FONTFORGE
=$ac_cv_prog_FONTFORGE
6822 if test -n "$FONTFORGE"; then
6823 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6824 echo "${ECHO_T}$FONTFORGE" >&6; }
6826 { echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6; }
6831 test -n "$FONTFORGE" && break
6833 test -n "$FONTFORGE" || FONTFORGE
="false"
6835 for ac_prog
in pkg-config
6837 # Extract the first word of "$ac_prog", so it can be a program name with args.
6838 set dummy
$ac_prog; ac_word
=$2
6839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6841 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6844 if test -n "$PKG_CONFIG"; then
6845 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6851 test -z "$as_dir" && as_dir
=.
6852 for ac_exec_ext
in '' $ac_executable_extensions; do
6853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6854 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6864 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6865 if test -n "$PKG_CONFIG"; then
6866 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6867 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6869 { echo "$as_me:$LINENO: result: no" >&5
6870 echo "${ECHO_T}no" >&6; }
6874 test -n "$PKG_CONFIG" && break
6876 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6881 # Extract the first word of "prelink", so it can be a program name with args.
6882 set dummy prelink
; ac_word
=$2
6883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6885 if test "${ac_cv_path_PRELINK+set}" = set; then
6886 echo $ECHO_N "(cached) $ECHO_C" >&6
6890 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6894 for as_dir
in /sbin
/usr
/sbin
$PATH
6897 test -z "$as_dir" && as_dir
=.
6898 for ac_exec_ext
in '' $ac_executable_extensions; do
6899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6900 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6908 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6912 PRELINK
=$ac_cv_path_PRELINK
6913 if test -n "$PRELINK"; then
6914 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6915 echo "${ECHO_T}$PRELINK" >&6; }
6917 { echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6; }
6927 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6928 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6929 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6930 echo $ECHO_N "(cached) $ECHO_C" >&6
6932 ac_check_lib_save_LIBS
=$LIBS
6934 cat >conftest.
$ac_ext <<_ACEOF
6937 cat confdefs.h
>>conftest.
$ac_ext
6938 cat >>conftest.
$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6941 /* Override any GCC internal prototype to avoid an error.
6942 Use char because int might match the return type of a GCC
6943 builtin and then its argument prototype would still apply. */
6947 char i386_set_ldt ();
6951 return i386_set_ldt ();
6956 rm -f conftest.
$ac_objext conftest
$ac_exeext
6957 if { (ac_try
="$ac_link"
6959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6960 *) ac_try_echo=$ac_try;;
6962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6963 (eval "$ac_link") 2>conftest.er1
6965 grep -v '^ *+' conftest.er1 >conftest.err
6967 cat conftest.err >&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); } &&
6970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6971 { (case "(($ac_try" in
6972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6973 *) ac_try_echo
=$ac_try;;
6975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6976 (eval "$ac_try") 2>&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; } &&
6980 { ac_try
='test -s conftest$ac_exeext'
6981 { (case "(($ac_try" in
6982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6983 *) ac_try_echo=$ac_try;;
6985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6986 (eval "$ac_try") 2>&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; }; then
6990 ac_cv_lib_i386_i386_set_ldt=yes
6992 echo "$as_me: failed program was:" >&5
6993 sed 's/^/| /' conftest.$ac_ext >&5
6995 ac_cv_lib_i386_i386_set_ldt=no
6998 rm -f core conftest.err conftest.$ac_objext \
6999 conftest$ac_exeext conftest.$ac_ext
7000 LIBS=$ac_check_lib_save_LIBS
7002 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7003 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7004 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7005 cat >>confdefs.h <<_ACEOF
7006 #define HAVE_LIBI386 1
7014 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7015 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7016 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7017 echo $ECHO_N "(cached) $ECHO_C" >&6
7019 ac_check_lib_save_LIBS=$LIBS
7020 LIBS="-lossaudio $LIBS"
7021 cat >conftest.$ac_ext <<_ACEOF
7024 cat confdefs.h >>conftest.$ac_ext
7025 cat >>conftest.$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7028 /* Override any GCC internal prototype to avoid an error.
7029 Use char because int might match the return type of a GCC
7030 builtin and then its argument prototype would still apply. */
7038 return _oss_ioctl ();
7043 rm -f conftest.$ac_objext conftest$ac_exeext
7044 if { (ac_try="$ac_link"
7046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7047 *) ac_try_echo
=$ac_try;;
7049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7050 (eval "$ac_link") 2>conftest.er1
7052 grep -v '^ *+' conftest.er1
>conftest.err
7054 cat conftest.err
>&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); } &&
7057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7058 { (case "(($ac_try" in
7059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7060 *) ac_try_echo=$ac_try;;
7062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7063 (eval "$ac_try") 2>&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); }; } &&
7067 { ac_try='test -s conftest$ac_exeext'
7068 { (case "(($ac_try" in
7069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7070 *) ac_try_echo
=$ac_try;;
7072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7073 (eval "$ac_try") 2>&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; }; then
7077 ac_cv_lib_ossaudio__oss_ioctl
=yes
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.
$ac_ext >&5
7082 ac_cv_lib_ossaudio__oss_ioctl
=no
7085 rm -f core conftest.err conftest.
$ac_objext \
7086 conftest
$ac_exeext conftest.
$ac_ext
7087 LIBS
=$ac_check_lib_save_LIBS
7089 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7090 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7091 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7092 cat >>confdefs.h
<<_ACEOF
7093 #define HAVE_LIBOSSAUDIO 1
7096 LIBS
="-lossaudio $LIBS"
7101 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7102 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7103 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7104 echo $ECHO_N "(cached) $ECHO_C" >&6
7106 ac_check_lib_save_LIBS
=$LIBS
7108 cat >conftest.
$ac_ext <<_ACEOF
7111 cat confdefs.h
>>conftest.
$ac_ext
7112 cat >>conftest.
$ac_ext <<_ACEOF
7113 /* end confdefs.h. */
7115 /* Override any GCC internal prototype to avoid an error.
7116 Use char because int might match the return type of a GCC
7117 builtin and then its argument prototype would still apply. */
7121 char _xpg4_setrunelocale ();
7125 return _xpg4_setrunelocale ();
7130 rm -f conftest.
$ac_objext conftest
$ac_exeext
7131 if { (ac_try
="$ac_link"
7133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7134 *) ac_try_echo=$ac_try;;
7136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7137 (eval "$ac_link") 2>conftest.er1
7139 grep -v '^ *+' conftest.er1 >conftest.err
7141 cat conftest.err >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } &&
7144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7145 { (case "(($ac_try" in
7146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7147 *) ac_try_echo
=$ac_try;;
7149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7150 (eval "$ac_try") 2>&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); }; } &&
7154 { ac_try
='test -s conftest$ac_exeext'
7155 { (case "(($ac_try" in
7156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7157 *) ac_try_echo=$ac_try;;
7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7160 (eval "$ac_try") 2>&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); }; }; then
7164 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7166 echo "$as_me: failed program was:" >&5
7167 sed 's/^/| /' conftest.$ac_ext >&5
7169 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7172 rm -f core conftest.err conftest.$ac_objext \
7173 conftest$ac_exeext conftest.$ac_ext
7174 LIBS=$ac_check_lib_save_LIBS
7176 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7177 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7178 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7179 cat >>confdefs.h <<_ACEOF
7180 #define HAVE_LIBXPG4 1
7187 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7188 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7189 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7190 echo $ECHO_N "(cached) $ECHO_C" >&6
7192 ac_check_lib_save_LIBS=$LIBS
7193 LIBS="-lpthread $LIBS"
7194 cat >conftest.$ac_ext <<_ACEOF
7197 cat confdefs.h >>conftest.$ac_ext
7198 cat >>conftest.$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7201 /* Override any GCC internal prototype to avoid an error.
7202 Use char because int might match the return type of a GCC
7203 builtin and then its argument prototype would still apply. */
7207 char pthread_create ();
7211 return pthread_create ();
7216 rm -f conftest.$ac_objext conftest$ac_exeext
7217 if { (ac_try="$ac_link"
7219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7220 *) ac_try_echo
=$ac_try;;
7222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7223 (eval "$ac_link") 2>conftest.er1
7225 grep -v '^ *+' conftest.er1
>conftest.err
7227 cat conftest.err
>&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); } &&
7230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7231 { (case "(($ac_try" in
7232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7233 *) ac_try_echo=$ac_try;;
7235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7236 (eval "$ac_try") 2>&5
7238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); }; } &&
7240 { ac_try='test -s conftest$ac_exeext'
7241 { (case "(($ac_try" in
7242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7243 *) ac_try_echo
=$ac_try;;
7245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7246 (eval "$ac_try") 2>&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; }; then
7250 ac_cv_lib_pthread_pthread_create
=yes
7252 echo "$as_me: failed program was:" >&5
7253 sed 's/^/| /' conftest.
$ac_ext >&5
7255 ac_cv_lib_pthread_pthread_create
=no
7258 rm -f core conftest.err conftest.
$ac_objext \
7259 conftest
$ac_exeext conftest.
$ac_ext
7260 LIBS
=$ac_check_lib_save_LIBS
7262 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7263 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7264 if test $ac_cv_lib_pthread_pthread_create = yes; then
7265 LIBPTHREAD
="-lpthread"
7282 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7283 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7284 if test "${ac_cv_header_stdc+set}" = set; then
7285 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 cat >conftest.
$ac_ext <<_ACEOF
7290 cat confdefs.h
>>conftest.
$ac_ext
7291 cat >>conftest.
$ac_ext <<_ACEOF
7292 /* end confdefs.h. */
7306 rm -f conftest.
$ac_objext
7307 if { (ac_try
="$ac_compile"
7309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7310 *) ac_try_echo=$ac_try;;
7312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_compile") 2>conftest.er1
7315 grep -v '^ *+' conftest.er1 >conftest.err
7317 cat conftest.err >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } &&
7320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7321 { (case "(($ac_try" in
7322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7323 *) ac_try_echo
=$ac_try;;
7325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7326 (eval "$ac_try") 2>&5
7328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329 (exit $ac_status); }; } &&
7330 { ac_try
='test -s conftest.$ac_objext'
7331 { (case "(($ac_try" in
7332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7333 *) ac_try_echo=$ac_try;;
7335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7336 (eval "$ac_try") 2>&5
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; }; then
7340 ac_cv_header_stdc=yes
7342 echo "$as_me: failed program was:" >&5
7343 sed 's/^/| /' conftest.$ac_ext >&5
7345 ac_cv_header_stdc=no
7348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7350 if test $ac_cv_header_stdc = yes; then
7351 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7352 cat >conftest.$ac_ext <<_ACEOF
7355 cat confdefs.h >>conftest.$ac_ext
7356 cat >>conftest.$ac_ext <<_ACEOF
7357 /* end confdefs.h. */
7361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7362 $EGREP "memchr" >/dev/null 2>&1; then
7365 ac_cv_header_stdc=no
7371 if test $ac_cv_header_stdc = yes; then
7372 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7373 cat >conftest.$ac_ext <<_ACEOF
7376 cat confdefs.h >>conftest.$ac_ext
7377 cat >>conftest.$ac_ext <<_ACEOF
7378 /* end confdefs.h. */
7382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7383 $EGREP "free" >/dev/null 2>&1; then
7386 ac_cv_header_stdc=no
7392 if test $ac_cv_header_stdc = yes; then
7393 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7394 if test "$cross_compiling" = yes; then
7397 cat >conftest.$ac_ext <<_ACEOF
7400 cat confdefs.h >>conftest.$ac_ext
7401 cat >>conftest.$ac_ext <<_ACEOF
7402 /* end confdefs.h. */
7405 #if ((' ' & 0x0FF) == 0x020)
7406 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7407 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7409 # define ISLOWER(c) \
7410 (('a' <= (c) && (c) <= 'i') \
7411 || ('j' <= (c) && (c) <= 'r') \
7412 || ('s' <= (c) && (c) <= 'z'))
7413 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7416 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7421 for (i = 0; i < 256; i++)
7422 if (XOR (islower (i), ISLOWER (i))
7423 || toupper (i) != TOUPPER (i))
7428 rm -f conftest$ac_exeext
7429 if { (ac_try="$ac_link"
7431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7432 *) ac_try_echo
=$ac_try;;
7434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7435 (eval "$ac_link") 2>&5
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7439 { (case "(($ac_try" in
7440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7441 *) ac_try_echo=$ac_try;;
7443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7444 (eval "$ac_try") 2>&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; }; then
7450 echo "$as_me: program exited with status $ac_status" >&5
7451 echo "$as_me: failed program was:" >&5
7452 sed 's/^/| /' conftest.$ac_ext >&5
7455 ac_cv_header_stdc=no
7457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7463 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7464 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7465 if test $ac_cv_header_stdc = yes; then
7467 cat >>confdefs.h <<\_ACEOF
7468 #define STDC_HEADERS 1
7473 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7483 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7484 inttypes.h stdint.h unistd.h
7486 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7490 echo $ECHO_N "(cached) $ECHO_C" >&6
7492 cat >conftest.$ac_ext <<_ACEOF
7495 cat confdefs.h >>conftest.$ac_ext
7496 cat >>conftest.$ac_ext <<_ACEOF
7497 /* end confdefs.h. */
7498 $ac_includes_default
7500 #include <$ac_header>
7502 rm -f conftest.$ac_objext
7503 if { (ac_try="$ac_compile"
7505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7506 *) ac_try_echo
=$ac_try;;
7508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7509 (eval "$ac_compile") 2>conftest.er1
7511 grep -v '^ *+' conftest.er1
>conftest.err
7513 cat conftest.err
>&5
7514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 (exit $ac_status); } &&
7516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7517 { (case "(($ac_try" in
7518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7519 *) ac_try_echo=$ac_try;;
7521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7522 (eval "$ac_try") 2>&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); }; } &&
7526 { ac_try='test -s conftest.$ac_objext'
7527 { (case "(($ac_try" in
7528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7529 *) ac_try_echo
=$ac_try;;
7531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7532 (eval "$ac_try") 2>&5
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); }; }; then
7536 eval "$as_ac_Header=yes"
7538 echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.
$ac_ext >&5
7541 eval "$as_ac_Header=no"
7544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7546 ac_res
=`eval echo '${'$as_ac_Header'}'`
7547 { echo "$as_me:$LINENO: result: $ac_res" >&5
7548 echo "${ECHO_T}$ac_res" >&6; }
7549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7550 cat >>confdefs.h
<<_ACEOF
7551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7666 AudioUnit
/AudioUnit.h \
7667 CoreAudio
/CoreAudio.h \
7680 fontconfig
/fontconfig.h \
7705 machine
/soundcard.h \
7710 netinet
/in_systm.h \
7774 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7775 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7778 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7779 echo $ECHO_N "(cached) $ECHO_C" >&6
7781 ac_res
=`eval echo '${'$as_ac_Header'}'`
7782 { echo "$as_me:$LINENO: result: $ac_res" >&5
7783 echo "${ECHO_T}$ac_res" >&6; }
7785 # Is the header compilable?
7786 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7787 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7788 cat >conftest.
$ac_ext <<_ACEOF
7791 cat confdefs.h
>>conftest.
$ac_ext
7792 cat >>conftest.
$ac_ext <<_ACEOF
7793 /* end confdefs.h. */
7794 $ac_includes_default
7795 #include <$ac_header>
7797 rm -f conftest.
$ac_objext
7798 if { (ac_try
="$ac_compile"
7800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7801 *) ac_try_echo=$ac_try;;
7803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7804 (eval "$ac_compile") 2>conftest.er1
7806 grep -v '^ *+' conftest.er1 >conftest.err
7808 cat conftest.err >&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); } &&
7811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7812 { (case "(($ac_try" in
7813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7814 *) ac_try_echo
=$ac_try;;
7816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7817 (eval "$ac_try") 2>&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); }; } &&
7821 { ac_try
='test -s conftest.$ac_objext'
7822 { (case "(($ac_try" in
7823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7824 *) ac_try_echo=$ac_try;;
7826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7827 (eval "$ac_try") 2>&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; }; then
7831 ac_header_compiler=yes
7833 echo "$as_me: failed program was:" >&5
7834 sed 's/^/| /' conftest.$ac_ext >&5
7836 ac_header_compiler=no
7839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7840 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7841 echo "${ECHO_T}$ac_header_compiler" >&6; }
7843 # Is the header present?
7844 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7845 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7846 cat >conftest.$ac_ext <<_ACEOF
7849 cat confdefs.h >>conftest.$ac_ext
7850 cat >>conftest.$ac_ext <<_ACEOF
7851 /* end confdefs.h. */
7852 #include <$ac_header>
7854 if { (ac_try="$ac_cpp conftest.$ac_ext"
7856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7857 *) ac_try_echo
=$ac_try;;
7859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7860 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7862 grep -v '^ *+' conftest.er1
>conftest.err
7864 cat conftest.err
>&5
7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); } >/dev
/null
; then
7867 if test -s conftest.err
; then
7868 ac_cpp_err
=$ac_c_preproc_warn_flag
7869 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7876 if test -z "$ac_cpp_err"; then
7877 ac_header_preproc
=yes
7879 echo "$as_me: failed program was:" >&5
7880 sed 's/^/| /' conftest.
$ac_ext >&5
7882 ac_header_preproc
=no
7885 rm -f conftest.err conftest.
$ac_ext
7886 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7887 echo "${ECHO_T}$ac_header_preproc" >&6; }
7889 # So? What about this header?
7890 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7892 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7893 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7895 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7896 ac_header_preproc
=yes
7899 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7901 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7902 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7903 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7904 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7905 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7906 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7909 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7910 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7912 ## ------------------------------------ ##
7913 ## Report this to wine-devel@winehq.org ##
7914 ## ------------------------------------ ##
7916 ) |
sed "s/^/$as_me: WARNING: /" >&2
7919 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7921 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7922 echo $ECHO_N "(cached) $ECHO_C" >&6
7924 eval "$as_ac_Header=\$ac_header_preproc"
7926 ac_res
=`eval echo '${'$as_ac_Header'}'`
7927 { echo "$as_me:$LINENO: result: $ac_res" >&5
7928 echo "${ECHO_T}$ac_res" >&6; }
7931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7932 cat >>confdefs.h
<<_ACEOF
7933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7940 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7941 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7942 if test "${ac_cv_header_stat_broken+set}" = set; then
7943 echo $ECHO_N "(cached) $ECHO_C" >&6
7945 cat >conftest.
$ac_ext <<_ACEOF
7948 cat confdefs.h
>>conftest.
$ac_ext
7949 cat >>conftest.
$ac_ext <<_ACEOF
7950 /* end confdefs.h. */
7951 #include <sys/types.h>
7952 #include <sys/stat.h>
7954 #if defined S_ISBLK && defined S_IFDIR
7955 # if S_ISBLK (S_IFDIR)
7960 #if defined S_ISBLK && defined S_IFCHR
7961 # if S_ISBLK (S_IFCHR)
7966 #if defined S_ISLNK && defined S_IFREG
7967 # if S_ISLNK (S_IFREG)
7972 #if defined S_ISSOCK && defined S_IFREG
7973 # if S_ISSOCK (S_IFREG)
7979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7980 $EGREP "You lose" >/dev
/null
2>&1; then
7981 ac_cv_header_stat_broken
=yes
7983 ac_cv_header_stat_broken
=no
7988 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7989 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7990 if test $ac_cv_header_stat_broken = yes; then
7992 cat >>confdefs.h
<<\_ACEOF
7993 #define STAT_MACROS_BROKEN 1
8004 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
8006 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8009 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8010 echo $ECHO_N "(cached) $ECHO_C" >&6
8012 cat >conftest.
$ac_ext <<_ACEOF
8015 cat confdefs.h
>>conftest.
$ac_ext
8016 cat >>conftest.
$ac_ext <<_ACEOF
8017 /* end confdefs.h. */
8018 #include <sys/types.h>
8019 #if HAVE_SYS_PARAM_H
8020 # include <sys/param.h>
8023 #include <$ac_header>
8025 rm -f conftest.
$ac_objext
8026 if { (ac_try
="$ac_compile"
8028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8029 *) ac_try_echo=$ac_try;;
8031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8032 (eval "$ac_compile") 2>conftest.er1
8034 grep -v '^ *+' conftest.er1 >conftest.err
8036 cat conftest.err >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); } &&
8039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8040 { (case "(($ac_try" in
8041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8042 *) ac_try_echo
=$ac_try;;
8044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8045 (eval "$ac_try") 2>&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); }; } &&
8049 { ac_try
='test -s conftest.$ac_objext'
8050 { (case "(($ac_try" in
8051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8052 *) ac_try_echo=$ac_try;;
8054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8055 (eval "$ac_try") 2>&5
8057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 (exit $ac_status); }; }; then
8059 eval "$as_ac_Header=yes"
8061 echo "$as_me: failed program was:" >&5
8062 sed 's/^/| /' conftest.$ac_ext >&5
8064 eval "$as_ac_Header=no"
8067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8069 ac_res=`eval echo '${'$as_ac_Header'}'`
8070 { echo "$as_me:$LINENO: result: $ac_res" >&5
8071 echo "${ECHO_T}$ac_res" >&6; }
8072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8073 cat >>confdefs.h <<_ACEOF
8074 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8088 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
8090 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8091 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8094 echo $ECHO_N "(cached) $ECHO_C" >&6
8096 cat >conftest.$ac_ext <<_ACEOF
8099 cat confdefs.h >>conftest.$ac_ext
8100 cat >>conftest.$ac_ext <<_ACEOF
8101 /* end confdefs.h. */
8102 #include <sys/types.h>
8103 #if HAVE_SYS_SOCKET_H
8104 # include <sys/socket.h>
8107 #include <$ac_header>
8109 rm -f conftest.$ac_objext
8110 if { (ac_try="$ac_compile"
8112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8113 *) ac_try_echo
=$ac_try;;
8115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8116 (eval "$ac_compile") 2>conftest.er1
8118 grep -v '^ *+' conftest.er1
>conftest.err
8120 cat conftest.err
>&5
8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8122 (exit $ac_status); } &&
8123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8124 { (case "(($ac_try" in
8125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8126 *) ac_try_echo=$ac_try;;
8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8129 (eval "$ac_try") 2>&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); }; } &&
8133 { ac_try='test -s conftest.$ac_objext'
8134 { (case "(($ac_try" in
8135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8136 *) ac_try_echo
=$ac_try;;
8138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8139 (eval "$ac_try") 2>&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); }; }; then
8143 eval "$as_ac_Header=yes"
8145 echo "$as_me: failed program was:" >&5
8146 sed 's/^/| /' conftest.
$ac_ext >&5
8148 eval "$as_ac_Header=no"
8151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8153 ac_res
=`eval echo '${'$as_ac_Header'}'`
8154 { echo "$as_me:$LINENO: result: $ac_res" >&5
8155 echo "${ECHO_T}$ac_res" >&6; }
8156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8157 cat >>confdefs.h
<<_ACEOF
8158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8167 for ac_header
in linux
/ipx.h
8169 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8170 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8172 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8173 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 cat >conftest.
$ac_ext <<_ACEOF
8178 cat confdefs.h
>>conftest.
$ac_ext
8179 cat >>conftest.
$ac_ext <<_ACEOF
8180 /* end confdefs.h. */
8181 #include <sys/types.h>
8182 #ifdef HAVE_ASM_TYPES_H
8183 # include <asm/types.h>
8185 #if HAVE_SYS_SOCKET_H
8186 # include <sys/socket.h>
8189 #include <$ac_header>
8191 rm -f conftest.
$ac_objext
8192 if { (ac_try
="$ac_compile"
8194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8195 *) ac_try_echo=$ac_try;;
8197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 (eval "$ac_compile") 2>conftest.er1
8200 grep -v '^ *+' conftest.er1 >conftest.err
8202 cat conftest.err >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); } &&
8205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8206 { (case "(($ac_try" in
8207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8208 *) ac_try_echo
=$ac_try;;
8210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8211 (eval "$ac_try") 2>&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); }; } &&
8215 { ac_try
='test -s conftest.$ac_objext'
8216 { (case "(($ac_try" in
8217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8218 *) ac_try_echo=$ac_try;;
8220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8221 (eval "$ac_try") 2>&5
8223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); }; }; then
8225 eval "$as_ac_Header=yes"
8227 echo "$as_me: failed program was:" >&5
8228 sed 's/^/| /' conftest.$ac_ext >&5
8230 eval "$as_ac_Header=no"
8233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8235 ac_res=`eval echo '${'$as_ac_Header'}'`
8236 { echo "$as_me:$LINENO: result: $ac_res" >&5
8237 echo "${ECHO_T}$ac_res" >&6; }
8238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8239 cat >>confdefs.h <<_ACEOF
8240 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8249 for ac_header in resolv.h
8251 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8255 echo $ECHO_N "(cached) $ECHO_C" >&6
8257 cat >conftest.$ac_ext <<_ACEOF
8260 cat confdefs.h >>conftest.$ac_ext
8261 cat >>conftest.$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8263 #include <sys/types.h>
8264 #if HAVE_SYS_SOCKET_H
8265 # include <sys/socket.h>
8267 #if HAVE_NETINET_IN_H
8268 # include <netinet/in.h>
8270 #if HAVE_ARPA_NAMESER_H
8271 # include <arpa/nameser.h>
8274 #include <$ac_header>
8276 rm -f conftest.$ac_objext
8277 if { (ac_try="$ac_compile"
8279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8280 *) ac_try_echo
=$ac_try;;
8282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8283 (eval "$ac_compile") 2>conftest.er1
8285 grep -v '^ *+' conftest.er1
>conftest.err
8287 cat conftest.err
>&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 (exit $ac_status); } &&
8290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8291 { (case "(($ac_try" in
8292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8293 *) ac_try_echo=$ac_try;;
8295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8296 (eval "$ac_try") 2>&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); }; } &&
8300 { ac_try='test -s conftest.$ac_objext'
8301 { (case "(($ac_try" in
8302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8303 *) ac_try_echo
=$ac_try;;
8305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8306 (eval "$ac_try") 2>&5
8308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309 (exit $ac_status); }; }; then
8310 eval "$as_ac_Header=yes"
8312 echo "$as_me: failed program was:" >&5
8313 sed 's/^/| /' conftest.
$ac_ext >&5
8315 eval "$as_ac_Header=no"
8318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8320 ac_res
=`eval echo '${'$as_ac_Header'}'`
8321 { echo "$as_me:$LINENO: result: $ac_res" >&5
8322 echo "${ECHO_T}$ac_res" >&6; }
8323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8324 cat >>confdefs.h
<<_ACEOF
8325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8334 for ac_header
in ucontext.h
8336 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8337 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8339 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 cat >conftest.
$ac_ext <<_ACEOF
8345 cat confdefs.h
>>conftest.
$ac_ext
8346 cat >>conftest.
$ac_ext <<_ACEOF
8347 /* end confdefs.h. */
8350 #include <$ac_header>
8352 rm -f conftest.
$ac_objext
8353 if { (ac_try
="$ac_compile"
8355 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8356 *) ac_try_echo=$ac_try;;
8358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8359 (eval "$ac_compile") 2>conftest.er1
8361 grep -v '^ *+' conftest.er1 >conftest.err
8363 cat conftest.err >&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); } &&
8366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8367 { (case "(($ac_try" in
8368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8369 *) ac_try_echo
=$ac_try;;
8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_try") 2>&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; } &&
8376 { ac_try
='test -s conftest.$ac_objext'
8377 { (case "(($ac_try" in
8378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8379 *) ac_try_echo=$ac_try;;
8381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8382 (eval "$ac_try") 2>&5
8384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8385 (exit $ac_status); }; }; then
8386 eval "$as_ac_Header=yes"
8388 echo "$as_me: failed program was:" >&5
8389 sed 's/^/| /' conftest.$ac_ext >&5
8391 eval "$as_ac_Header=no"
8394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8396 ac_res=`eval echo '${'$as_ac_Header'}'`
8397 { echo "$as_me:$LINENO: result: $ac_res" >&5
8398 echo "${ECHO_T}$ac_res" >&6; }
8399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8400 cat >>confdefs.h <<_ACEOF
8401 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8410 for ac_header in pthread_np.h
8412 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8413 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8416 echo $ECHO_N "(cached) $ECHO_C" >&6
8418 cat >conftest.$ac_ext <<_ACEOF
8421 cat confdefs.h >>conftest.$ac_ext
8422 cat >>conftest.$ac_ext <<_ACEOF
8423 /* end confdefs.h. */
8424 #ifdef HAVE_PTHREAD_H
8425 #include <pthread.h>
8428 #include <$ac_header>
8430 rm -f conftest.$ac_objext
8431 if { (ac_try="$ac_compile"
8433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8434 *) ac_try_echo
=$ac_try;;
8436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8437 (eval "$ac_compile") 2>conftest.er1
8439 grep -v '^ *+' conftest.er1
>conftest.err
8441 cat conftest.err
>&5
8442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 (exit $ac_status); } &&
8444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8445 { (case "(($ac_try" in
8446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8447 *) ac_try_echo=$ac_try;;
8449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8450 (eval "$ac_try") 2>&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); }; } &&
8454 { ac_try='test -s conftest.$ac_objext'
8455 { (case "(($ac_try" in
8456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8457 *) ac_try_echo
=$ac_try;;
8459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8460 (eval "$ac_try") 2>&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); }; }; then
8464 eval "$as_ac_Header=yes"
8466 echo "$as_me: failed program was:" >&5
8467 sed 's/^/| /' conftest.
$ac_ext >&5
8469 eval "$as_ac_Header=no"
8472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8474 ac_res
=`eval echo '${'$as_ac_Header'}'`
8475 { echo "$as_me:$LINENO: result: $ac_res" >&5
8476 echo "${ECHO_T}$ac_res" >&6; }
8477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8478 cat >>confdefs.h
<<_ACEOF
8479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8488 for ac_header
in linux
/videodev.h
8490 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8491 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8493 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 cat >conftest.
$ac_ext <<_ACEOF
8499 cat confdefs.h
>>conftest.
$ac_ext
8500 cat >>conftest.
$ac_ext <<_ACEOF
8501 /* end confdefs.h. */
8502 #ifdef HAVE_SYS_TIME_H
8503 #include <sys/time.h>
8505 #include <sys/types.h>
8506 #ifdef HAVE_ASM_TYPES_H
8507 #include <asm/types.h>
8510 #include <$ac_header>
8512 rm -f conftest.
$ac_objext
8513 if { (ac_try
="$ac_compile"
8515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8516 *) ac_try_echo=$ac_try;;
8518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8519 (eval "$ac_compile") 2>conftest.er1
8521 grep -v '^ *+' conftest.er1 >conftest.err
8523 cat conftest.err >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } &&
8526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8527 { (case "(($ac_try" in
8528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8529 *) ac_try_echo
=$ac_try;;
8531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8532 (eval "$ac_try") 2>&5
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); }; } &&
8536 { ac_try
='test -s conftest.$ac_objext'
8537 { (case "(($ac_try" in
8538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8539 *) ac_try_echo=$ac_try;;
8541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8542 (eval "$ac_try") 2>&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); }; }; then
8546 eval "$as_ac_Header=yes"
8548 echo "$as_me: failed program was:" >&5
8549 sed 's/^/| /' conftest.$ac_ext >&5
8551 eval "$as_ac_Header=no"
8554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8556 ac_res=`eval echo '${'$as_ac_Header'}'`
8557 { echo "$as_me:$LINENO: result: $ac_res" >&5
8558 echo "${ECHO_T}$ac_res" >&6; }
8559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8560 cat >>confdefs.h <<_ACEOF
8561 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8570 for ac_header in linux/capi.h
8572 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8576 echo $ECHO_N "(cached) $ECHO_C" >&6
8578 cat >conftest.$ac_ext <<_ACEOF
8581 cat confdefs.h >>conftest.$ac_ext
8582 cat >>conftest.$ac_ext <<_ACEOF
8583 /* end confdefs.h. */
8586 #include <$ac_header>
8588 rm -f conftest.$ac_objext
8589 if { (ac_try="$ac_compile"
8591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8592 *) ac_try_echo
=$ac_try;;
8594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8595 (eval "$ac_compile") 2>conftest.er1
8597 grep -v '^ *+' conftest.er1
>conftest.err
8599 cat conftest.err
>&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } &&
8602 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8603 { (case "(($ac_try" in
8604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8605 *) ac_try_echo=$ac_try;;
8607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8608 (eval "$ac_try") 2>&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }; } &&
8612 { ac_try='test -s conftest.$ac_objext'
8613 { (case "(($ac_try" in
8614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8615 *) ac_try_echo
=$ac_try;;
8617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8618 (eval "$ac_try") 2>&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; }; then
8622 eval "$as_ac_Header=yes"
8624 echo "$as_me: failed program was:" >&5
8625 sed 's/^/| /' conftest.
$ac_ext >&5
8627 eval "$as_ac_Header=no"
8630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8632 ac_res
=`eval echo '${'$as_ac_Header'}'`
8633 { echo "$as_me:$LINENO: result: $ac_res" >&5
8634 echo "${ECHO_T}$ac_res" >&6; }
8635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8636 cat >>confdefs.h
<<_ACEOF
8637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8646 if test "$have_x" = "yes"
8649 ac_save_CPPFLAGS
="$CPPFLAGS"
8650 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8661 for ac_header
in X11
/Xlib.h \
8664 X11
/extensions
/shape.h \
8665 X11
/extensions
/XInput.h \
8666 X11
/extensions
/XShm.h \
8667 X11
/extensions
/Xrandr.h \
8668 X11
/extensions
/Xrender.h \
8669 X11
/extensions
/xf86vmode.h
8671 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8672 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8674 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8675 echo $ECHO_N "(cached) $ECHO_C" >&6
8677 cat >conftest.
$ac_ext <<_ACEOF
8680 cat confdefs.h
>>conftest.
$ac_ext
8681 cat >>conftest.
$ac_ext <<_ACEOF
8682 /* end confdefs.h. */
8683 #ifdef HAVE_X11_XLIB_H
8684 # include <X11/Xlib.h>
8686 #ifdef HAVE_X11_XUTIL_H
8687 # include <X11/Xutil.h>
8690 #include <$ac_header>
8692 rm -f conftest.
$ac_objext
8693 if { (ac_try
="$ac_compile"
8695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8696 *) ac_try_echo=$ac_try;;
8698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8699 (eval "$ac_compile") 2>conftest.er1
8701 grep -v '^ *+' conftest.er1 >conftest.err
8703 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } &&
8706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8707 { (case "(($ac_try" in
8708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8709 *) ac_try_echo
=$ac_try;;
8711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_try") 2>&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); }; } &&
8716 { ac_try
='test -s conftest.$ac_objext'
8717 { (case "(($ac_try" in
8718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8719 *) ac_try_echo=$ac_try;;
8721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8722 (eval "$ac_try") 2>&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); }; }; then
8726 eval "$as_ac_Header=yes"
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.$ac_ext >&5
8731 eval "$as_ac_Header=no"
8734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8736 ac_res=`eval echo '${'$as_ac_Header'}'`
8737 { echo "$as_me:$LINENO: result: $ac_res" >&5
8738 echo "${ECHO_T}$ac_res" >&6; }
8739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8740 cat >>confdefs.h <<_ACEOF
8741 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8749 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8751 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8752 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8753 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8754 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 ac_check_lib_save_LIBS=$LIBS
8757 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8758 cat >conftest.$ac_ext <<_ACEOF
8761 cat confdefs.h >>conftest.$ac_ext
8762 cat >>conftest.$ac_ext <<_ACEOF
8763 /* end confdefs.h. */
8765 /* Override any GCC internal prototype to avoid an error.
8766 Use char because int might match the return type of a GCC
8767 builtin and then its argument prototype would still apply. */
8771 char XkbQueryExtension ();
8775 return XkbQueryExtension ();
8780 rm -f conftest.$ac_objext conftest$ac_exeext
8781 if { (ac_try="$ac_link"
8783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8784 *) ac_try_echo
=$ac_try;;
8786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8787 (eval "$ac_link") 2>conftest.er1
8789 grep -v '^ *+' conftest.er1
>conftest.err
8791 cat conftest.err
>&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } &&
8794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8795 { (case "(($ac_try" in
8796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8797 *) ac_try_echo=$ac_try;;
8799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8800 (eval "$ac_try") 2>&5
8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803 (exit $ac_status); }; } &&
8804 { ac_try='test -s conftest$ac_exeext'
8805 { (case "(($ac_try" in
8806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8807 *) ac_try_echo
=$ac_try;;
8809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8810 (eval "$ac_try") 2>&5
8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813 (exit $ac_status); }; }; then
8814 ac_cv_lib_X11_XkbQueryExtension
=yes
8816 echo "$as_me: failed program was:" >&5
8817 sed 's/^/| /' conftest.
$ac_ext >&5
8819 ac_cv_lib_X11_XkbQueryExtension
=no
8822 rm -f core conftest.err conftest.
$ac_objext \
8823 conftest
$ac_exeext conftest.
$ac_ext
8824 LIBS
=$ac_check_lib_save_LIBS
8826 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8827 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8828 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8830 cat >>confdefs.h
<<\_ACEOF
8838 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8840 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8841 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8842 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8843 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 ac_check_lib_save_LIBS
=$LIBS
8846 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8847 cat >conftest.
$ac_ext <<_ACEOF
8850 cat confdefs.h
>>conftest.
$ac_ext
8851 cat >>conftest.
$ac_ext <<_ACEOF
8852 /* end confdefs.h. */
8854 /* Override any GCC internal prototype to avoid an error.
8855 Use char because int might match the return type of a GCC
8856 builtin and then its argument prototype would still apply. */
8860 char XShmQueryExtension ();
8864 return XShmQueryExtension ();
8869 rm -f conftest.
$ac_objext conftest
$ac_exeext
8870 if { (ac_try
="$ac_link"
8872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8873 *) ac_try_echo=$ac_try;;
8875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8876 (eval "$ac_link") 2>conftest.er1
8878 grep -v '^ *+' conftest.er1 >conftest.err
8880 cat conftest.err >&5
8881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882 (exit $ac_status); } &&
8883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8884 { (case "(($ac_try" in
8885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8886 *) ac_try_echo
=$ac_try;;
8888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8889 (eval "$ac_try") 2>&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); }; } &&
8893 { ac_try
='test -s conftest$ac_exeext'
8894 { (case "(($ac_try" in
8895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8896 *) ac_try_echo=$ac_try;;
8898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8899 (eval "$ac_try") 2>&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); }; }; then
8903 ac_cv_lib_Xext_XShmQueryExtension=yes
8905 echo "$as_me: failed program was:" >&5
8906 sed 's/^/| /' conftest.$ac_ext >&5
8908 ac_cv_lib_Xext_XShmQueryExtension=no
8911 rm -f core conftest.err conftest.$ac_objext \
8912 conftest$ac_exeext conftest.$ac_ext
8913 LIBS=$ac_check_lib_save_LIBS
8915 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8916 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8917 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8919 cat >>confdefs.h <<\_ACEOF
8920 #define HAVE_LIBXXSHM 1
8927 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8929 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8930 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8931 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8932 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 ac_check_lib_save_LIBS=$LIBS
8935 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8936 cat >conftest.$ac_ext <<_ACEOF
8939 cat confdefs.h >>conftest.$ac_ext
8940 cat >>conftest.$ac_ext <<_ACEOF
8941 /* end confdefs.h. */
8943 /* Override any GCC internal prototype to avoid an error.
8944 Use char because int might match the return type of a GCC
8945 builtin and then its argument prototype would still apply. */
8949 char XShapeQueryExtension ();
8953 return XShapeQueryExtension ();
8958 rm -f conftest.$ac_objext conftest$ac_exeext
8959 if { (ac_try="$ac_link"
8961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8962 *) ac_try_echo
=$ac_try;;
8964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8965 (eval "$ac_link") 2>conftest.er1
8967 grep -v '^ *+' conftest.er1
>conftest.err
8969 cat conftest.err
>&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); } &&
8972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8973 { (case "(($ac_try" in
8974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8975 *) ac_try_echo=$ac_try;;
8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8978 (eval "$ac_try") 2>&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; } &&
8982 { ac_try='test -s conftest$ac_exeext'
8983 { (case "(($ac_try" in
8984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8985 *) ac_try_echo
=$ac_try;;
8987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8988 (eval "$ac_try") 2>&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); }; }; then
8992 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8994 echo "$as_me: failed program was:" >&5
8995 sed 's/^/| /' conftest.
$ac_ext >&5
8997 ac_cv_lib_Xext_XShapeQueryExtension
=no
9000 rm -f core conftest.err conftest.
$ac_objext \
9001 conftest
$ac_exeext conftest.
$ac_ext
9002 LIBS
=$ac_check_lib_save_LIBS
9004 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9005 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9006 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9008 cat >>confdefs.h
<<\_ACEOF
9009 #define HAVE_LIBXSHAPE 1
9016 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9018 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9019 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9020 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9021 echo $ECHO_N "(cached) $ECHO_C" >&6
9023 ac_check_lib_save_LIBS
=$LIBS
9024 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9025 cat >conftest.
$ac_ext <<_ACEOF
9028 cat confdefs.h
>>conftest.
$ac_ext
9029 cat >>conftest.
$ac_ext <<_ACEOF
9030 /* end confdefs.h. */
9032 /* Override any GCC internal prototype to avoid an error.
9033 Use char because int might match the return type of a GCC
9034 builtin and then its argument prototype would still apply. */
9038 char XF86VidModeQueryExtension ();
9042 return XF86VidModeQueryExtension ();
9047 rm -f conftest.
$ac_objext conftest
$ac_exeext
9048 if { (ac_try
="$ac_link"
9050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9051 *) ac_try_echo=$ac_try;;
9053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9054 (eval "$ac_link") 2>conftest.er1
9056 grep -v '^ *+' conftest.er1 >conftest.err
9058 cat conftest.err >&5
9059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060 (exit $ac_status); } &&
9061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9062 { (case "(($ac_try" in
9063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9064 *) ac_try_echo
=$ac_try;;
9066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9067 (eval "$ac_try") 2>&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); }; } &&
9071 { ac_try
='test -s conftest$ac_exeext'
9072 { (case "(($ac_try" in
9073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9074 *) ac_try_echo=$ac_try;;
9076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9077 (eval "$ac_try") 2>&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; }; then
9081 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9083 echo "$as_me: failed program was:" >&5
9084 sed 's/^/| /' conftest.$ac_ext >&5
9086 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9089 rm -f core conftest.err conftest.$ac_objext \
9090 conftest$ac_exeext conftest.$ac_ext
9091 LIBS=$ac_check_lib_save_LIBS
9093 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9094 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9095 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9097 cat >>confdefs.h <<\_ACEOF
9098 #define HAVE_LIBXXF86VM 1
9101 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9107 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9109 cat >conftest.$ac_ext <<_ACEOF
9112 cat confdefs.h >>conftest.$ac_ext
9113 cat >>conftest.$ac_ext <<_ACEOF
9114 /* end confdefs.h. */
9115 #include <X11/Xlib.h>
9116 #include <X11/extensions/Xrandr.h>
9120 static typeof(XRRSetScreenConfigAndRate) * func;
9125 rm -f conftest.$ac_objext
9126 if { (ac_try="$ac_compile"
9128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9129 *) ac_try_echo
=$ac_try;;
9131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9132 (eval "$ac_compile") 2>conftest.er1
9134 grep -v '^ *+' conftest.er1
>conftest.err
9136 cat conftest.err
>&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } &&
9139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9140 { (case "(($ac_try" in
9141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9142 *) ac_try_echo=$ac_try;;
9144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9145 (eval "$ac_try") 2>&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); }; } &&
9149 { ac_try='test -s conftest.$ac_objext'
9150 { (case "(($ac_try" in
9151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9152 *) ac_try_echo
=$ac_try;;
9154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9155 (eval "$ac_try") 2>&5
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 (exit $ac_status); }; }; then
9160 cat >>confdefs.h
<<\_ACEOF
9161 #define HAVE_LIBXRANDR 1
9165 echo "$as_me: failed program was:" >&5
9166 sed 's/^/| /' conftest.
$ac_ext >&5
9171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9174 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9176 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9177 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9178 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 ac_check_lib_save_LIBS
=$LIBS
9182 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9183 cat >conftest.
$ac_ext <<_ACEOF
9186 cat confdefs.h
>>conftest.
$ac_ext
9187 cat >>conftest.
$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9196 char XRenderSetPictureTransform ();
9200 return XRenderSetPictureTransform ();
9205 rm -f conftest.
$ac_objext conftest
$ac_exeext
9206 if { (ac_try
="$ac_link"
9208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9209 *) ac_try_echo=$ac_try;;
9211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9212 (eval "$ac_link") 2>conftest.er1
9214 grep -v '^ *+' conftest.er1 >conftest.err
9216 cat conftest.err >&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); } &&
9219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9220 { (case "(($ac_try" in
9221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9222 *) ac_try_echo
=$ac_try;;
9224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9225 (eval "$ac_try") 2>&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); }; } &&
9229 { ac_try
='test -s conftest$ac_exeext'
9230 { (case "(($ac_try" in
9231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9232 *) ac_try_echo=$ac_try;;
9234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9235 (eval "$ac_try") 2>&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); }; }; then
9239 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9241 echo "$as_me: failed program was:" >&5
9242 sed 's/^/| /' conftest.$ac_ext >&5
9244 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9247 rm -f core conftest.err conftest.$ac_objext \
9248 conftest$ac_exeext conftest.$ac_ext
9249 LIBS=$ac_check_lib_save_LIBS
9251 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9252 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9253 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9255 cat >>confdefs.h <<\_ACEOF
9256 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9263 if test "x$with_opengl" != "xno"
9269 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9271 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9272 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9274 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9275 echo $ECHO_N "(cached) $ECHO_C" >&6
9277 cat >conftest.$ac_ext <<_ACEOF
9280 cat confdefs.h >>conftest.$ac_ext
9281 cat >>conftest.$ac_ext <<_ACEOF
9282 /* end confdefs.h. */
9283 #ifdef HAVE_GL_GLX_H
9284 # include <GL/glx.h>
9287 #include <$ac_header>
9289 rm -f conftest.$ac_objext
9290 if { (ac_try="$ac_compile"
9292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9293 *) ac_try_echo
=$ac_try;;
9295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9296 (eval "$ac_compile") 2>conftest.er1
9298 grep -v '^ *+' conftest.er1
>conftest.err
9300 cat conftest.err
>&5
9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 (exit $ac_status); } &&
9303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9304 { (case "(($ac_try" in
9305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9306 *) ac_try_echo=$ac_try;;
9308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9309 (eval "$ac_try") 2>&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; } &&
9313 { ac_try='test -s conftest.$ac_objext'
9314 { (case "(($ac_try" in
9315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9316 *) ac_try_echo
=$ac_try;;
9318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9319 (eval "$ac_try") 2>&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); }; }; then
9323 eval "$as_ac_Header=yes"
9325 echo "$as_me: failed program was:" >&5
9326 sed 's/^/| /' conftest.
$ac_ext >&5
9328 eval "$as_ac_Header=no"
9331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9333 ac_res
=`eval echo '${'$as_ac_Header'}'`
9334 { echo "$as_me:$LINENO: result: $ac_res" >&5
9335 echo "${ECHO_T}$ac_res" >&6; }
9336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9337 cat >>confdefs.h
<<_ACEOF
9338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9345 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9347 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9348 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9349 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 cat >conftest.
$ac_ext <<_ACEOF
9355 cat confdefs.h
>>conftest.
$ac_ext
9356 cat >>conftest.
$ac_ext <<_ACEOF
9357 /* end confdefs.h. */
9362 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9367 rm -f conftest.
$ac_objext
9368 if { (ac_try
="$ac_compile"
9370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9371 *) ac_try_echo=$ac_try;;
9373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9374 (eval "$ac_compile") 2>conftest.er1
9376 grep -v '^ *+' conftest.er1 >conftest.err
9378 cat conftest.err >&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); } &&
9381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9382 { (case "(($ac_try" in
9383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9384 *) ac_try_echo
=$ac_try;;
9386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9387 (eval "$ac_try") 2>&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; } &&
9391 { ac_try
='test -s conftest.$ac_objext'
9392 { (case "(($ac_try" in
9393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9394 *) ac_try_echo=$ac_try;;
9396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9397 (eval "$ac_try") 2>&5
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); }; }; then
9401 wine_cv_opengl_header_version_OK="yes"
9403 echo "$as_me: failed program was:" >&5
9404 sed 's/^/| /' conftest.$ac_ext >&5
9406 wine_cv_opengl_header_version_OK="no"
9410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9413 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9414 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9416 if test "$wine_cv_opengl_header_version_OK" = "yes"
9418 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9419 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9420 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9421 echo $ECHO_N "(cached) $ECHO_C" >&6
9423 ac_check_lib_save_LIBS=$LIBS
9424 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9425 cat >conftest.$ac_ext <<_ACEOF
9428 cat confdefs.h >>conftest.$ac_ext
9429 cat >>conftest.$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9432 /* Override any GCC internal prototype to avoid an error.
9433 Use char because int might match the return type of a GCC
9434 builtin and then its argument prototype would still apply. */
9438 char glXCreateContext ();
9442 return glXCreateContext ();
9447 rm -f conftest.$ac_objext conftest$ac_exeext
9448 if { (ac_try="$ac_link"
9450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9451 *) ac_try_echo
=$ac_try;;
9453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9454 (eval "$ac_link") 2>conftest.er1
9456 grep -v '^ *+' conftest.er1
>conftest.err
9458 cat conftest.err
>&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); } &&
9461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9462 { (case "(($ac_try" in
9463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9464 *) ac_try_echo=$ac_try;;
9466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9467 (eval "$ac_try") 2>&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); }; } &&
9471 { ac_try='test -s conftest$ac_exeext'
9472 { (case "(($ac_try" in
9473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9474 *) ac_try_echo
=$ac_try;;
9476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9477 (eval "$ac_try") 2>&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; }; then
9481 ac_cv_lib_GL_glXCreateContext
=yes
9483 echo "$as_me: failed program was:" >&5
9484 sed 's/^/| /' conftest.
$ac_ext >&5
9486 ac_cv_lib_GL_glXCreateContext
=no
9489 rm -f core conftest.err conftest.
$ac_objext \
9490 conftest
$ac_exeext conftest.
$ac_ext
9491 LIBS
=$ac_check_lib_save_LIBS
9493 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9494 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9495 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9501 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
9503 OPENGLFILES
='$(OPENGLFILES)'
9505 cat >>confdefs.h
<<\_ACEOF
9506 #define HAVE_OPENGL 1
9510 if test -f /usr
/X11R
6/lib
/libGL.a
9512 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
9513 This prevents linking to OpenGL. Delete the file and restart configure." >&5
9514 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
9515 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
9516 { (exit 1); exit 1; }; }
9518 wine_cv_opengl_libs_found
="no"
9522 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9523 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9524 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9525 echo $ECHO_N "(cached) $ECHO_C" >&6
9527 ac_check_lib_save_LIBS
=$LIBS
9528 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9530 cat >conftest.
$ac_ext <<_ACEOF
9533 cat confdefs.h
>>conftest.
$ac_ext
9534 cat >>conftest.
$ac_ext <<_ACEOF
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9547 return gluLookAt ();
9552 rm -f conftest.
$ac_objext conftest
$ac_exeext
9553 if { (ac_try
="$ac_link"
9555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9556 *) ac_try_echo=$ac_try;;
9558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9559 (eval "$ac_link") 2>conftest.er1
9561 grep -v '^ *+' conftest.er1 >conftest.err
9563 cat conftest.err >&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); } &&
9566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9567 { (case "(($ac_try" in
9568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9569 *) ac_try_echo
=$ac_try;;
9571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9572 (eval "$ac_try") 2>&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); }; } &&
9576 { ac_try
='test -s conftest$ac_exeext'
9577 { (case "(($ac_try" in
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_try") 2>&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); }; }; then
9586 ac_cv_lib_GLU_gluLookAt=yes
9588 echo "$as_me: failed program was:" >&5
9589 sed 's/^/| /' conftest.$ac_ext >&5
9591 ac_cv_lib_GLU_gluLookAt=no
9594 rm -f core conftest.err conftest.$ac_objext \
9595 conftest$ac_exeext conftest.$ac_ext
9596 LIBS=$ac_check_lib_save_LIBS
9598 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9599 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9600 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9601 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9602 GLU32FILES='$(GLU32FILES)'
9608 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9609 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9610 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9611 echo $ECHO_N "(cached) $ECHO_C" >&6
9613 ac_check_lib_save_LIBS=$LIBS
9614 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9615 cat >conftest.$ac_ext <<_ACEOF
9618 cat confdefs.h >>conftest.$ac_ext
9619 cat >>conftest.$ac_ext <<_ACEOF
9620 /* end confdefs.h. */
9622 /* Override any GCC internal prototype to avoid an error.
9623 Use char because int might match the return type of a GCC
9624 builtin and then its argument prototype would still apply. */
9628 char glutMainLoop ();
9632 return glutMainLoop ();
9637 rm -f conftest.$ac_objext conftest$ac_exeext
9638 if { (ac_try="$ac_link"
9640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9641 *) ac_try_echo
=$ac_try;;
9643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9644 (eval "$ac_link") 2>conftest.er1
9646 grep -v '^ *+' conftest.er1
>conftest.err
9648 cat conftest.err
>&5
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 (exit $ac_status); } &&
9651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9652 { (case "(($ac_try" in
9653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9654 *) ac_try_echo=$ac_try;;
9656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9657 (eval "$ac_try") 2>&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); }; } &&
9661 { ac_try='test -s conftest$ac_exeext'
9662 { (case "(($ac_try" in
9663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9664 *) ac_try_echo
=$ac_try;;
9666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9667 (eval "$ac_try") 2>&5
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 (exit $ac_status); }; }; then
9671 ac_cv_lib_glut_glutMainLoop
=yes
9673 echo "$as_me: failed program was:" >&5
9674 sed 's/^/| /' conftest.
$ac_ext >&5
9676 ac_cv_lib_glut_glutMainLoop
=no
9679 rm -f core conftest.err conftest.
$ac_objext \
9680 conftest
$ac_exeext conftest.
$ac_ext
9681 LIBS
=$ac_check_lib_save_LIBS
9683 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9684 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9685 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9686 GLUT_LIBS
="-lglut -lXmu -lXi"
9688 GLUT32FILES
='$(GLUT32FILES)'
9693 wine_cv_opengl_headers_found
="no"
9699 for ac_header
in audio
/audiolib.h
9701 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9702 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9703 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9705 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9706 echo $ECHO_N "(cached) $ECHO_C" >&6
9708 ac_res
=`eval echo '${'$as_ac_Header'}'`
9709 { echo "$as_me:$LINENO: result: $ac_res" >&5
9710 echo "${ECHO_T}$ac_res" >&6; }
9712 # Is the header compilable?
9713 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9714 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9715 cat >conftest.
$ac_ext <<_ACEOF
9718 cat confdefs.h
>>conftest.
$ac_ext
9719 cat >>conftest.
$ac_ext <<_ACEOF
9720 /* end confdefs.h. */
9721 $ac_includes_default
9722 #include <$ac_header>
9724 rm -f conftest.
$ac_objext
9725 if { (ac_try
="$ac_compile"
9727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9728 *) ac_try_echo=$ac_try;;
9730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9731 (eval "$ac_compile") 2>conftest.er1
9733 grep -v '^ *+' conftest.er1 >conftest.err
9735 cat conftest.err >&5
9736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9737 (exit $ac_status); } &&
9738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9739 { (case "(($ac_try" in
9740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9741 *) ac_try_echo
=$ac_try;;
9743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9744 (eval "$ac_try") 2>&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); }; } &&
9748 { ac_try
='test -s conftest.$ac_objext'
9749 { (case "(($ac_try" in
9750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9754 (eval "$ac_try") 2>&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); }; }; then
9758 ac_header_compiler=yes
9760 echo "$as_me: failed program was:" >&5
9761 sed 's/^/| /' conftest.$ac_ext >&5
9763 ac_header_compiler=no
9766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9767 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9768 echo "${ECHO_T}$ac_header_compiler" >&6; }
9770 # Is the header present?
9771 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9773 cat >conftest.$ac_ext <<_ACEOF
9776 cat confdefs.h >>conftest.$ac_ext
9777 cat >>conftest.$ac_ext <<_ACEOF
9778 /* end confdefs.h. */
9779 #include <$ac_header>
9781 if { (ac_try="$ac_cpp conftest.$ac_ext"
9783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9784 *) ac_try_echo
=$ac_try;;
9786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9789 grep -v '^ *+' conftest.er1
>conftest.err
9791 cat conftest.err
>&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); } >/dev
/null
; then
9794 if test -s conftest.err
; then
9795 ac_cpp_err
=$ac_c_preproc_warn_flag
9796 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9803 if test -z "$ac_cpp_err"; then
9804 ac_header_preproc
=yes
9806 echo "$as_me: failed program was:" >&5
9807 sed 's/^/| /' conftest.
$ac_ext >&5
9809 ac_header_preproc
=no
9812 rm -f conftest.err conftest.
$ac_ext
9813 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9814 echo "${ECHO_T}$ac_header_preproc" >&6; }
9816 # So? What about this header?
9817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9822 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9823 ac_header_preproc
=yes
9826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9827 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9829 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9830 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9831 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9832 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9833 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9836 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9837 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9839 ## ------------------------------------ ##
9840 ## Report this to wine-devel@winehq.org ##
9841 ## ------------------------------------ ##
9843 ) |
sed "s/^/$as_me: WARNING: /" >&2
9846 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9848 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9849 echo $ECHO_N "(cached) $ECHO_C" >&6
9851 eval "$as_ac_Header=\$ac_header_preproc"
9853 ac_res
=`eval echo '${'$as_ac_Header'}'`
9854 { echo "$as_me:$LINENO: result: $ac_res" >&5
9855 echo "${ECHO_T}$ac_res" >&6; }
9858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9859 cat >>confdefs.h
<<_ACEOF
9860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9863 for ac_header
in audio
/soundlib.h
9865 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9866 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9868 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9869 echo $ECHO_N "(cached) $ECHO_C" >&6
9871 cat >conftest.
$ac_ext <<_ACEOF
9874 cat confdefs.h
>>conftest.
$ac_ext
9875 cat >>conftest.
$ac_ext <<_ACEOF
9876 /* end confdefs.h. */
9877 #include <audio/audiolib.h>
9879 #include <$ac_header>
9881 rm -f conftest.
$ac_objext
9882 if { (ac_try
="$ac_compile"
9884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9885 *) ac_try_echo=$ac_try;;
9887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9888 (eval "$ac_compile") 2>conftest.er1
9890 grep -v '^ *+' conftest.er1 >conftest.err
9892 cat conftest.err >&5
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); } &&
9895 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9896 { (case "(($ac_try" in
9897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9898 *) ac_try_echo
=$ac_try;;
9900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9901 (eval "$ac_try") 2>&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); }; } &&
9905 { ac_try
='test -s conftest.$ac_objext'
9906 { (case "(($ac_try" in
9907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9908 *) ac_try_echo=$ac_try;;
9910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9911 (eval "$ac_try") 2>&5
9913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); }; }; then
9915 eval "$as_ac_Header=yes"
9917 echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.$ac_ext >&5
9920 eval "$as_ac_Header=no"
9923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9925 ac_res=`eval echo '${'$as_ac_Header'}'`
9926 { echo "$as_me:$LINENO: result: $ac_res" >&5
9927 echo "${ECHO_T}$ac_res" >&6; }
9928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9929 cat >>confdefs.h <<_ACEOF
9930 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9937 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9938 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9939 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9940 echo $ECHO_N "(cached) $ECHO_C" >&6
9942 ac_check_lib_save_LIBS=$LIBS
9943 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9944 cat >conftest.$ac_ext <<_ACEOF
9947 cat confdefs.h >>conftest.$ac_ext
9948 cat >>conftest.$ac_ext <<_ACEOF
9949 /* end confdefs.h. */
9951 /* Override any GCC internal prototype to avoid an error.
9952 Use char because int might match the return type of a GCC
9953 builtin and then its argument prototype would still apply. */
9957 char AuCreateFlow ();
9961 return AuCreateFlow ();
9966 rm -f conftest.$ac_objext conftest$ac_exeext
9967 if { (ac_try="$ac_link"
9969 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9970 *) ac_try_echo
=$ac_try;;
9972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9973 (eval "$ac_link") 2>conftest.er1
9975 grep -v '^ *+' conftest.er1
>conftest.err
9977 cat conftest.err
>&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); } &&
9980 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9981 { (case "(($ac_try" in
9982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9983 *) ac_try_echo=$ac_try;;
9985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9986 (eval "$ac_try") 2>&5
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 (exit $ac_status); }; } &&
9990 { ac_try='test -s conftest$ac_exeext'
9991 { (case "(($ac_try" in
9992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9993 *) ac_try_echo
=$ac_try;;
9995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9996 (eval "$ac_try") 2>&5
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); }; }; then
10000 ac_cv_lib_audio_AuCreateFlow
=yes
10002 echo "$as_me: failed program was:" >&5
10003 sed 's/^/| /' conftest.
$ac_ext >&5
10005 ac_cv_lib_audio_AuCreateFlow
=no
10008 rm -f core conftest.err conftest.
$ac_objext \
10009 conftest
$ac_exeext conftest.
$ac_ext
10010 LIBS
=$ac_check_lib_save_LIBS
10012 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10013 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10014 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10016 cat >>confdefs.h
<<\_ACEOF
10020 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10028 CPPFLAGS
="$ac_save_CPPFLAGS"
10045 if test "$PKG_CONFIG" != "false"
10047 ac_save_CPPFLAGS
="$CPPFLAGS"
10048 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10049 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10050 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
10052 for ac_header
in libxml
/parser.h
10054 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10055 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10056 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10058 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10059 echo $ECHO_N "(cached) $ECHO_C" >&6
10061 ac_res
=`eval echo '${'$as_ac_Header'}'`
10062 { echo "$as_me:$LINENO: result: $ac_res" >&5
10063 echo "${ECHO_T}$ac_res" >&6; }
10065 # Is the header compilable?
10066 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10067 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10068 cat >conftest.
$ac_ext <<_ACEOF
10071 cat confdefs.h
>>conftest.
$ac_ext
10072 cat >>conftest.
$ac_ext <<_ACEOF
10073 /* end confdefs.h. */
10074 $ac_includes_default
10075 #include <$ac_header>
10077 rm -f conftest.
$ac_objext
10078 if { (ac_try
="$ac_compile"
10079 case "(($ac_try" in
10080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10081 *) ac_try_echo=$ac_try;;
10083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10084 (eval "$ac_compile") 2>conftest.er1
10086 grep -v '^ *+' conftest.er1 >conftest.err
10088 cat conftest.err >&5
10089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090 (exit $ac_status); } &&
10091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10092 { (case "(($ac_try" in
10093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10094 *) ac_try_echo
=$ac_try;;
10096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10097 (eval "$ac_try") 2>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; } &&
10101 { ac_try
='test -s conftest.$ac_objext'
10102 { (case "(($ac_try" in
10103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10104 *) ac_try_echo=$ac_try;;
10106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10107 (eval "$ac_try") 2>&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); }; }; then
10111 ac_header_compiler=yes
10113 echo "$as_me: failed program was:" >&5
10114 sed 's/^/| /' conftest.$ac_ext >&5
10116 ac_header_compiler=no
10119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10120 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10121 echo "${ECHO_T}$ac_header_compiler" >&6; }
10123 # Is the header present?
10124 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10126 cat >conftest.$ac_ext <<_ACEOF
10129 cat confdefs.h >>conftest.$ac_ext
10130 cat >>conftest.$ac_ext <<_ACEOF
10131 /* end confdefs.h. */
10132 #include <$ac_header>
10134 if { (ac_try="$ac_cpp conftest.$ac_ext"
10135 case "(($ac_try" in
10136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10137 *) ac_try_echo
=$ac_try;;
10139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10142 grep -v '^ *+' conftest.er1
>conftest.err
10144 cat conftest.err
>&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); } >/dev
/null
; then
10147 if test -s conftest.err
; then
10148 ac_cpp_err
=$ac_c_preproc_warn_flag
10149 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10156 if test -z "$ac_cpp_err"; then
10157 ac_header_preproc
=yes
10159 echo "$as_me: failed program was:" >&5
10160 sed 's/^/| /' conftest.
$ac_ext >&5
10162 ac_header_preproc
=no
10165 rm -f conftest.err conftest.
$ac_ext
10166 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10167 echo "${ECHO_T}$ac_header_preproc" >&6; }
10169 # So? What about this header?
10170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10176 ac_header_preproc
=yes
10179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10192 ## ------------------------------------ ##
10193 ## Report this to wine-devel@winehq.org ##
10194 ## ------------------------------------ ##
10196 ) |
sed "s/^/$as_me: WARNING: /" >&2
10199 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10201 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10202 echo $ECHO_N "(cached) $ECHO_C" >&6
10204 eval "$as_ac_Header=\$ac_header_preproc"
10206 ac_res
=`eval echo '${'$as_ac_Header'}'`
10207 { echo "$as_me:$LINENO: result: $ac_res" >&5
10208 echo "${ECHO_T}$ac_res" >&6; }
10211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10212 cat >>confdefs.h
<<_ACEOF
10213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10215 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10216 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10217 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10218 echo $ECHO_N "(cached) $ECHO_C" >&6
10220 ac_check_lib_save_LIBS
=$LIBS
10221 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10222 cat >conftest.
$ac_ext <<_ACEOF
10225 cat confdefs.h
>>conftest.
$ac_ext
10226 cat >>conftest.
$ac_ext <<_ACEOF
10227 /* end confdefs.h. */
10229 /* Override any GCC internal prototype to avoid an error.
10230 Use char because int might match the return type of a GCC
10231 builtin and then its argument prototype would still apply. */
10235 char xmlParseMemory ();
10239 return xmlParseMemory ();
10244 rm -f conftest.
$ac_objext conftest
$ac_exeext
10245 if { (ac_try
="$ac_link"
10246 case "(($ac_try" in
10247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10248 *) ac_try_echo=$ac_try;;
10250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10251 (eval "$ac_link") 2>conftest.er1
10253 grep -v '^ *+' conftest.er1 >conftest.err
10255 cat conftest.err >&5
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); } &&
10258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10259 { (case "(($ac_try" in
10260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10261 *) ac_try_echo
=$ac_try;;
10263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10264 (eval "$ac_try") 2>&5
10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10267 (exit $ac_status); }; } &&
10268 { ac_try
='test -s conftest$ac_exeext'
10269 { (case "(($ac_try" in
10270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10271 *) ac_try_echo=$ac_try;;
10273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10274 (eval "$ac_try") 2>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; }; then
10278 ac_cv_lib_xml2_xmlParseMemory=yes
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.$ac_ext >&5
10283 ac_cv_lib_xml2_xmlParseMemory=no
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 LIBS=$ac_check_lib_save_LIBS
10290 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10291 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10292 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10294 cat >>confdefs.h <<\_ACEOF
10295 #define HAVE_LIBXML2 1
10298 XML2LIBS="$ac_xml_libs"
10299 XML2INCL="$ac_xml_cflags"
10302 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10303 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10304 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 ac_check_lib_save_LIBS=$LIBS
10308 LIBS="-lxml2 $ac_xml_libs $LIBS"
10309 cat >conftest.$ac_ext <<_ACEOF
10312 cat confdefs.h >>conftest.$ac_ext
10313 cat >>conftest.$ac_ext <<_ACEOF
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10322 char xmlReadMemory ();
10326 return xmlReadMemory ();
10331 rm -f conftest.$ac_objext conftest$ac_exeext
10332 if { (ac_try="$ac_link"
10333 case "(($ac_try" in
10334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10335 *) ac_try_echo
=$ac_try;;
10337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10338 (eval "$ac_link") 2>conftest.er1
10340 grep -v '^ *+' conftest.er1
>conftest.err
10342 cat conftest.err
>&5
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); } &&
10345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10346 { (case "(($ac_try" in
10347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10348 *) ac_try_echo=$ac_try;;
10350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10351 (eval "$ac_try") 2>&5
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); }; } &&
10355 { ac_try='test -s conftest$ac_exeext'
10356 { (case "(($ac_try" in
10357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10358 *) ac_try_echo
=$ac_try;;
10360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10361 (eval "$ac_try") 2>&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; }; then
10365 ac_cv_lib_xml2_xmlReadMemory
=yes
10367 echo "$as_me: failed program was:" >&5
10368 sed 's/^/| /' conftest.
$ac_ext >&5
10370 ac_cv_lib_xml2_xmlReadMemory
=no
10373 rm -f core conftest.err conftest.
$ac_objext \
10374 conftest
$ac_exeext conftest.
$ac_ext
10375 LIBS
=$ac_check_lib_save_LIBS
10377 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10378 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10379 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10381 cat >>confdefs.h
<<\_ACEOF
10382 #define HAVE_XMLREADMEMORY 1
10392 CPPFLAGS
="$ac_save_CPPFLAGS"
10393 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10394 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10395 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
10398 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10400 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10401 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10403 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 cat >conftest.
$ac_ext <<_ACEOF
10409 cat confdefs.h
>>conftest.
$ac_ext
10410 cat >>conftest.
$ac_ext <<_ACEOF
10411 /* end confdefs.h. */
10412 #ifdef HAVE_LIBXSLT_PATTERN_H
10413 # include <libxslt/pattern.h>
10416 #include <$ac_header>
10418 rm -f conftest.
$ac_objext
10419 if { (ac_try
="$ac_compile"
10420 case "(($ac_try" in
10421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10422 *) ac_try_echo=$ac_try;;
10424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10425 (eval "$ac_compile") 2>conftest.er1
10427 grep -v '^ *+' conftest.er1 >conftest.err
10429 cat conftest.err >&5
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); } &&
10432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10433 { (case "(($ac_try" in
10434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10435 *) ac_try_echo
=$ac_try;;
10437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10438 (eval "$ac_try") 2>&5
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; } &&
10442 { ac_try
='test -s conftest.$ac_objext'
10443 { (case "(($ac_try" in
10444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10445 *) ac_try_echo=$ac_try;;
10447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10448 (eval "$ac_try") 2>&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; }; then
10452 eval "$as_ac_Header=yes"
10454 echo "$as_me: failed program was:" >&5
10455 sed 's/^/| /' conftest.$ac_ext >&5
10457 eval "$as_ac_Header=no"
10460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10462 ac_res=`eval echo '${'$as_ac_Header'}'`
10463 { echo "$as_me:$LINENO: result: $ac_res" >&5
10464 echo "${ECHO_T}$ac_res" >&6; }
10465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10466 cat >>confdefs.h <<_ACEOF
10467 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10469 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10470 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10471 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10474 ac_check_lib_save_LIBS=$LIBS
10475 LIBS="-lxslt $ac_xslt_libs $LIBS"
10476 cat >conftest.$ac_ext <<_ACEOF
10479 cat confdefs.h >>conftest.$ac_ext
10480 cat >>conftest.$ac_ext <<_ACEOF
10481 /* end confdefs.h. */
10483 /* Override any GCC internal prototype to avoid an error.
10484 Use char because int might match the return type of a GCC
10485 builtin and then its argument prototype would still apply. */
10489 char xsltCompilePattern ();
10493 return xsltCompilePattern ();
10498 rm -f conftest.$ac_objext conftest$ac_exeext
10499 if { (ac_try="$ac_link"
10500 case "(($ac_try" in
10501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10502 *) ac_try_echo
=$ac_try;;
10504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10505 (eval "$ac_link") 2>conftest.er1
10507 grep -v '^ *+' conftest.er1
>conftest.err
10509 cat conftest.err
>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); } &&
10512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10513 { (case "(($ac_try" in
10514 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10515 *) ac_try_echo=$ac_try;;
10517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10518 (eval "$ac_try") 2>&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); }; } &&
10522 { ac_try='test -s conftest$ac_exeext'
10523 { (case "(($ac_try" in
10524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10525 *) ac_try_echo
=$ac_try;;
10527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10528 (eval "$ac_try") 2>&5
10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); }; }; then
10532 ac_cv_lib_xslt_xsltCompilePattern
=yes
10534 echo "$as_me: failed program was:" >&5
10535 sed 's/^/| /' conftest.
$ac_ext >&5
10537 ac_cv_lib_xslt_xsltCompilePattern
=no
10540 rm -f core conftest.err conftest.
$ac_objext \
10541 conftest
$ac_exeext conftest.
$ac_ext
10542 LIBS
=$ac_check_lib_save_LIBS
10544 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10545 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10546 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10548 cat >>confdefs.h
<<\_ACEOF
10549 #define HAVE_LIBXSLT 1
10552 XSLTLIBS
="$ac_xslt_libs"
10553 XSLTINCL
="$ac_xslt_cflags"
10561 CPPFLAGS
="$ac_save_CPPFLAGS"
10566 if test "$PKG_CONFIG" != "false"
10568 ac_save_CPPFLAGS
="$CPPFLAGS"
10569 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
10570 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10571 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
10574 for ac_header
in dbus
/dbus.h hal
/libhal.h
10576 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10577 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10578 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10580 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10581 echo $ECHO_N "(cached) $ECHO_C" >&6
10583 ac_res
=`eval echo '${'$as_ac_Header'}'`
10584 { echo "$as_me:$LINENO: result: $ac_res" >&5
10585 echo "${ECHO_T}$ac_res" >&6; }
10587 # Is the header compilable?
10588 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10589 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10590 cat >conftest.
$ac_ext <<_ACEOF
10593 cat confdefs.h
>>conftest.
$ac_ext
10594 cat >>conftest.
$ac_ext <<_ACEOF
10595 /* end confdefs.h. */
10596 $ac_includes_default
10597 #include <$ac_header>
10599 rm -f conftest.
$ac_objext
10600 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
10608 grep -v '^ *+' conftest.er1 >conftest.err
10610 cat conftest.err >&5
10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); } &&
10613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10614 { (case "(($ac_try" in
10615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10616 *) ac_try_echo
=$ac_try;;
10618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10619 (eval "$ac_try") 2>&5
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); }; } &&
10623 { ac_try
='test -s conftest.$ac_objext'
10624 { (case "(($ac_try" in
10625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10626 *) ac_try_echo=$ac_try;;
10628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10629 (eval "$ac_try") 2>&5
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; }; then
10633 ac_header_compiler=yes
10635 echo "$as_me: failed program was:" >&5
10636 sed 's/^/| /' conftest.$ac_ext >&5
10638 ac_header_compiler=no
10641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10642 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10643 echo "${ECHO_T}$ac_header_compiler" >&6; }
10645 # Is the header present?
10646 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10647 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10648 cat >conftest.$ac_ext <<_ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10654 #include <$ac_header>
10656 if { (ac_try="$ac_cpp conftest.$ac_ext"
10657 case "(($ac_try" in
10658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10659 *) ac_try_echo
=$ac_try;;
10661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10664 grep -v '^ *+' conftest.er1
>conftest.err
10666 cat conftest.err
>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } >/dev
/null
; then
10669 if test -s conftest.err
; then
10670 ac_cpp_err
=$ac_c_preproc_warn_flag
10671 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10678 if test -z "$ac_cpp_err"; then
10679 ac_header_preproc
=yes
10681 echo "$as_me: failed program was:" >&5
10682 sed 's/^/| /' conftest.
$ac_ext >&5
10684 ac_header_preproc
=no
10687 rm -f conftest.err conftest.
$ac_ext
10688 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10689 echo "${ECHO_T}$ac_header_preproc" >&6; }
10691 # So? What about this header?
10692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10698 ac_header_preproc
=yes
10701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10714 ## ------------------------------------ ##
10715 ## Report this to wine-devel@winehq.org ##
10716 ## ------------------------------------ ##
10718 ) |
sed "s/^/$as_me: WARNING: /" >&2
10721 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10723 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10724 echo $ECHO_N "(cached) $ECHO_C" >&6
10726 eval "$as_ac_Header=\$ac_header_preproc"
10728 ac_res
=`eval echo '${'$as_ac_Header'}'`
10729 { echo "$as_me:$LINENO: result: $ac_res" >&5
10730 echo "${ECHO_T}$ac_res" >&6; }
10733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10734 cat >>confdefs.h
<<_ACEOF
10735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10742 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10744 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10745 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10746 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10747 echo $ECHO_N "(cached) $ECHO_C" >&6
10749 ac_check_lib_save_LIBS
=$LIBS
10751 cat >conftest.
$ac_ext <<_ACEOF
10754 cat confdefs.h
>>conftest.
$ac_ext
10755 cat >>conftest.
$ac_ext <<_ACEOF
10756 /* end confdefs.h. */
10758 /* Override any GCC internal prototype to avoid an error.
10759 Use char because int might match the return type of a GCC
10760 builtin and then its argument prototype would still apply. */
10764 char libhal_ctx_new ();
10768 return libhal_ctx_new ();
10773 rm -f conftest.
$ac_objext conftest
$ac_exeext
10774 if { (ac_try
="$ac_link"
10775 case "(($ac_try" in
10776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10777 *) ac_try_echo=$ac_try;;
10779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10780 (eval "$ac_link") 2>conftest.er1
10782 grep -v '^ *+' conftest.er1 >conftest.err
10784 cat conftest.err >&5
10785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10786 (exit $ac_status); } &&
10787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10788 { (case "(($ac_try" in
10789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10790 *) ac_try_echo
=$ac_try;;
10792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10793 (eval "$ac_try") 2>&5
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); }; } &&
10797 { ac_try
='test -s conftest$ac_exeext'
10798 { (case "(($ac_try" in
10799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10800 *) ac_try_echo=$ac_try;;
10802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10803 (eval "$ac_try") 2>&5
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); }; }; then
10807 ac_cv_lib_hal_libhal_ctx_new=yes
10809 echo "$as_me: failed program was:" >&5
10810 sed 's/^/| /' conftest.$ac_ext >&5
10812 ac_cv_lib_hal_libhal_ctx_new=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10820 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10821 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10822 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10823 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10824 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10825 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 ac_check_lib_save_LIBS=$LIBS
10828 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10829 cat >conftest.$ac_ext <<_ACEOF
10832 cat confdefs.h >>conftest.$ac_ext
10833 cat >>conftest.$ac_ext <<_ACEOF
10834 /* end confdefs.h. */
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10842 char dbus_connection_close ();
10846 return dbus_connection_close ();
10851 rm -f conftest.$ac_objext conftest$ac_exeext
10852 if { (ac_try="$ac_link"
10853 case "(($ac_try" in
10854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10855 *) ac_try_echo
=$ac_try;;
10857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10858 (eval "$ac_link") 2>conftest.er1
10860 grep -v '^ *+' conftest.er1
>conftest.err
10862 cat conftest.err
>&5
10863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10864 (exit $ac_status); } &&
10865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10866 { (case "(($ac_try" in
10867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10868 *) ac_try_echo=$ac_try;;
10870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10871 (eval "$ac_try") 2>&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); }; } &&
10875 { ac_try='test -s conftest$ac_exeext'
10876 { (case "(($ac_try" in
10877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10878 *) ac_try_echo
=$ac_try;;
10880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10881 (eval "$ac_try") 2>&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); }; }; then
10885 ac_cv_lib_dbus_1_dbus_connection_close
=yes
10887 echo "$as_me: failed program was:" >&5
10888 sed 's/^/| /' conftest.
$ac_ext >&5
10890 ac_cv_lib_dbus_1_dbus_connection_close
=no
10893 rm -f core conftest.err conftest.
$ac_objext \
10894 conftest
$ac_exeext conftest.
$ac_ext
10895 LIBS
=$ac_check_lib_save_LIBS
10897 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10898 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10899 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10901 cat >>confdefs.h
<<\_ACEOF
10902 #define HAVE_LIBHAL 1
10905 HALINCL
="$ac_hal_cflags"
10911 CPPFLAGS
="$ac_save_CPPFLAGS"
10915 if test "x$with_curses" != "xno"
10917 if test "$ac_cv_header_ncurses_h" = "yes"
10919 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10920 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10921 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10922 echo $ECHO_N "(cached) $ECHO_C" >&6
10924 ac_check_lib_save_LIBS
=$LIBS
10925 LIBS
="-lncurses $LIBS"
10926 cat >conftest.
$ac_ext <<_ACEOF
10929 cat confdefs.h
>>conftest.
$ac_ext
10930 cat >>conftest.
$ac_ext <<_ACEOF
10931 /* end confdefs.h. */
10933 /* Override any GCC internal prototype to avoid an error.
10934 Use char because int might match the return type of a GCC
10935 builtin and then its argument prototype would still apply. */
10948 rm -f conftest.
$ac_objext conftest
$ac_exeext
10949 if { (ac_try
="$ac_link"
10950 case "(($ac_try" in
10951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10952 *) ac_try_echo=$ac_try;;
10954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10955 (eval "$ac_link") 2>conftest.er1
10957 grep -v '^ *+' conftest.er1 >conftest.err
10959 cat conftest.err >&5
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); } &&
10962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10963 { (case "(($ac_try" in
10964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10965 *) ac_try_echo
=$ac_try;;
10967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10968 (eval "$ac_try") 2>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); }; } &&
10972 { ac_try
='test -s conftest$ac_exeext'
10973 { (case "(($ac_try" in
10974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10975 *) ac_try_echo=$ac_try;;
10977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10978 (eval "$ac_try") 2>&5
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); }; }; then
10982 ac_cv_lib_ncurses_waddch=yes
10984 echo "$as_me: failed program was:" >&5
10985 sed 's/^/| /' conftest.$ac_ext >&5
10987 ac_cv_lib_ncurses_waddch=no
10990 rm -f core conftest.err conftest.$ac_objext \
10991 conftest$ac_exeext conftest.$ac_ext
10992 LIBS=$ac_check_lib_save_LIBS
10994 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10995 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10996 if test $ac_cv_lib_ncurses_waddch = yes; then
10998 cat >>confdefs.h <<\_ACEOF
10999 #define HAVE_LIBNCURSES 1
11002 CURSESLIBS="-lncurses"
11005 elif test "$ac_cv_header_curses_h" = "yes"
11007 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11008 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11009 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11010 echo $ECHO_N "(cached) $ECHO_C" >&6
11012 ac_check_lib_save_LIBS=$LIBS
11013 LIBS="-lcurses $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. */
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_curses_waddch
=yes
11072 echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.
$ac_ext >&5
11075 ac_cv_lib_curses_waddch
=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_curses_waddch" >&5
11083 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11084 if test $ac_cv_lib_curses_waddch = yes; then
11086 cat >>confdefs.h
<<\_ACEOF
11087 #define HAVE_LIBCURSES 1
11090 CURSESLIBS
="-lcurses"
11094 ac_save_LIBS
="$LIBS"
11095 LIBS
="$LIBS $CURSESLIBS"
11097 for ac_func
in mousemask
11099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11100 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11102 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11103 echo $ECHO_N "(cached) $ECHO_C" >&6
11105 cat >conftest.
$ac_ext <<_ACEOF
11108 cat confdefs.h
>>conftest.
$ac_ext
11109 cat >>conftest.
$ac_ext <<_ACEOF
11110 /* end confdefs.h. */
11111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11113 #define $ac_func innocuous_$ac_func
11115 /* System header to define __stub macros and hopefully few prototypes,
11116 which can conflict with char $ac_func (); below.
11117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11118 <limits.h> exists even on freestanding compilers. */
11121 # include <limits.h>
11123 # include <assert.h>
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11135 /* The GNU C library defines this for functions which it implements
11136 to always fail with ENOSYS. Some functions are actually named
11137 something starting with __ and the normal name is an alias. */
11138 #if defined __stub_$ac_func || defined __stub___$ac_func
11145 return $ac_func ();
11150 rm -f conftest.
$ac_objext conftest
$ac_exeext
11151 if { (ac_try
="$ac_link"
11152 case "(($ac_try" in
11153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11154 *) ac_try_echo=$ac_try;;
11156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11157 (eval "$ac_link") 2>conftest.er1
11159 grep -v '^ *+' conftest.er1 >conftest.err
11161 cat conftest.err >&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); } &&
11164 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11165 { (case "(($ac_try" in
11166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11167 *) ac_try_echo
=$ac_try;;
11169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11170 (eval "$ac_try") 2>&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); }; } &&
11174 { ac_try
='test -s conftest$ac_exeext'
11175 { (case "(($ac_try" in
11176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11177 *) ac_try_echo=$ac_try;;
11179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11180 (eval "$ac_try") 2>&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); }; }; then
11184 eval "$as_ac_var=yes"
11186 echo "$as_me: failed program was:" >&5
11187 sed 's/^/| /' conftest.$ac_ext >&5
11189 eval "$as_ac_var=no"
11192 rm -f core conftest.err conftest.$ac_objext \
11193 conftest$ac_exeext conftest.$ac_ext
11195 ac_res=`eval echo '${'$as_ac_var'}'`
11196 { echo "$as_me:$LINENO: result: $ac_res" >&5
11197 echo "${ECHO_T}$ac_res" >&6; }
11198 if test `eval echo '${'$as_ac_var'}'` = yes; then
11199 cat >>confdefs.h <<_ACEOF
11200 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11206 LIBS="$ac_save_LIBS"
11210 # Extract the first word of "sane-config", so it can be a program name with args.
11211 set dummy sane-config; ac_word=$2
11212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11214 if test "${ac_cv_prog_sane_devel+set}" = set; then
11215 echo $ECHO_N "(cached) $ECHO_C" >&6
11217 if test -n "$sane_devel"; then
11218 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11221 for as_dir in $PATH
11224 test -z "$as_dir" && as_dir=.
11225 for ac_exec_ext in '' $ac_executable_extensions; do
11226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11227 ac_cv_prog_sane_devel="sane-config"
11228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11235 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11238 sane_devel=$ac_cv_prog_sane_devel
11239 if test -n "$sane_devel"; then
11240 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11241 echo "${ECHO_T}$sane_devel" >&6; }
11243 { echo "$as_me:$LINENO: result: no" >&5
11244 echo "${ECHO_T}no" >&6; }
11252 if test "$sane_devel" != "no"
11254 SANELIBS="`$sane_devel --libs`"
11255 SANEINCL="`$sane_devel --cflags`"
11256 ac_save_CPPFLAGS="$CPPFLAGS"
11257 ac_save_LIBS="$LIBS"
11258 CPPFLAGS="$CPPFLAGS $SANEINCL"
11259 LIBS="$LIBS $SANELIBS"
11260 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11261 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11262 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11263 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11264 echo $ECHO_N "(cached) $ECHO_C" >&6
11266 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11267 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11269 # Is the header compilable?
11270 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11271 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11272 cat >conftest.$ac_ext <<_ACEOF
11275 cat confdefs.h >>conftest.$ac_ext
11276 cat >>conftest.$ac_ext <<_ACEOF
11277 /* end confdefs.h. */
11278 $ac_includes_default
11279 #include <sane/sane.h>
11281 rm -f conftest.$ac_objext
11282 if { (ac_try="$ac_compile"
11283 case "(($ac_try" in
11284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11285 *) ac_try_echo
=$ac_try;;
11287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11288 (eval "$ac_compile") 2>conftest.er1
11290 grep -v '^ *+' conftest.er1
>conftest.err
11292 cat conftest.err
>&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); } &&
11295 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11296 { (case "(($ac_try" in
11297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11298 *) ac_try_echo=$ac_try;;
11300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11301 (eval "$ac_try") 2>&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); }; } &&
11305 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); }; }; then
11315 ac_header_compiler
=yes
11317 echo "$as_me: failed program was:" >&5
11318 sed 's/^/| /' conftest.
$ac_ext >&5
11320 ac_header_compiler
=no
11323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11324 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11325 echo "${ECHO_T}$ac_header_compiler" >&6; }
11327 # Is the header present?
11328 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11329 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11330 cat >conftest.
$ac_ext <<_ACEOF
11333 cat confdefs.h
>>conftest.
$ac_ext
11334 cat >>conftest.
$ac_ext <<_ACEOF
11335 /* end confdefs.h. */
11336 #include <sane/sane.h>
11338 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11339 case "(($ac_try" in
11340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11341 *) ac_try_echo=$ac_try;;
11343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11344 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11346 grep -v '^ *+' conftest.er1 >conftest.err
11348 cat conftest.err >&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); } >/dev/null; then
11351 if test -s conftest.err; then
11352 ac_cpp_err=$ac_c_preproc_warn_flag
11353 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11360 if test -z "$ac_cpp_err"; then
11361 ac_header_preproc=yes
11363 echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.$ac_ext >&5
11366 ac_header_preproc=no
11369 rm -f conftest.err conftest.$ac_ext
11370 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11371 echo "${ECHO_T}$ac_header_preproc" >&6; }
11373 # So? What about this header?
11374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11376 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11377 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11378 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11379 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11380 ac_header_preproc=yes
11383 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11384 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11385 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11386 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11387 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11388 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11389 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11390 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11391 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11392 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11393 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11394 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11396 ## ------------------------------------ ##
11397 ## Report this to wine-devel@winehq.org ##
11398 ## ------------------------------------ ##
11400 ) | sed "s/^/$as_me: WARNING: /" >&2
11403 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11404 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11405 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11408 ac_cv_header_sane_sane_h=$ac_header_preproc
11410 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11411 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11414 if test $ac_cv_header_sane_sane_h = yes; then
11415 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11416 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11417 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11420 ac_check_lib_save_LIBS=$LIBS
11421 LIBS="-lsane $LIBS"
11422 cat >conftest.$ac_ext <<_ACEOF
11425 cat confdefs.h >>conftest.$ac_ext
11426 cat >>conftest.$ac_ext <<_ACEOF
11427 /* end confdefs.h. */
11429 /* Override any GCC internal prototype to avoid an error.
11430 Use char because int might match the return type of a GCC
11431 builtin and then its argument prototype would still apply. */
11439 return sane_open ();
11444 rm -f conftest.$ac_objext conftest$ac_exeext
11445 if { (ac_try="$ac_link"
11446 case "(($ac_try" in
11447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11448 *) ac_try_echo
=$ac_try;;
11450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11451 (eval "$ac_link") 2>conftest.er1
11453 grep -v '^ *+' conftest.er1
>conftest.err
11455 cat conftest.err
>&5
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } &&
11458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11459 { (case "(($ac_try" in
11460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11461 *) ac_try_echo=$ac_try;;
11463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11464 (eval "$ac_try") 2>&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }; } &&
11468 { ac_try='test -s conftest$ac_exeext'
11469 { (case "(($ac_try" in
11470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11471 *) ac_try_echo
=$ac_try;;
11473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11474 (eval "$ac_try") 2>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); }; }; then
11478 ac_cv_lib_sane_sane_open
=yes
11480 echo "$as_me: failed program was:" >&5
11481 sed 's/^/| /' conftest.
$ac_ext >&5
11483 ac_cv_lib_sane_sane_open
=no
11486 rm -f core conftest.err conftest.
$ac_objext \
11487 conftest
$ac_exeext conftest.
$ac_ext
11488 LIBS
=$ac_check_lib_save_LIBS
11490 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11491 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11492 if test $ac_cv_lib_sane_sane_open = yes; then
11494 cat >>confdefs.h
<<\_ACEOF
11495 #define HAVE_SANE 1
11509 LIBS
="$ac_save_LIBS"
11510 CPPFLAGS
="$ac_save_CPPFLAGS"
11513 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11514 set dummy gphoto2-config
; ac_word
=$2
11515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11517 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 if test -n "$gphoto2_devel"; then
11521 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
11523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11524 for as_dir
in $PATH
11527 test -z "$as_dir" && as_dir
=.
11528 for ac_exec_ext
in '' $ac_executable_extensions; do
11529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11530 ac_cv_prog_gphoto2_devel
="gphoto2-config"
11531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11538 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
11541 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
11542 if test -n "$gphoto2_devel"; then
11543 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11544 echo "${ECHO_T}$gphoto2_devel" >&6; }
11546 { echo "$as_me:$LINENO: result: no" >&5
11547 echo "${ECHO_T}no" >&6; }
11551 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11552 set dummy gphoto2-port-config
; ac_word
=$2
11553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11555 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 if test -n "$gphoto2port_devel"; then
11559 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
11561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11562 for as_dir
in $PATH
11565 test -z "$as_dir" && as_dir
=.
11566 for ac_exec_ext
in '' $ac_executable_extensions; do
11567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11568 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
11569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11576 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
11579 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
11580 if test -n "$gphoto2port_devel"; then
11581 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11582 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11584 { echo "$as_me:$LINENO: result: no" >&5
11585 echo "${ECHO_T}no" >&6; }
11593 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11595 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11597 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11600 -L/usr
/lib|
-L/usr
/lib64
) ;;
11601 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
11604 ac_save_CPPFLAGS
="$CPPFLAGS"
11605 ac_save_LIBS
="$LIBS"
11606 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
11607 LIBS
="$LIBS $GPHOTO2LIBS"
11608 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11609 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11610 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11611 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11615 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11617 # Is the header compilable?
11618 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11619 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11620 cat >conftest.
$ac_ext <<_ACEOF
11623 cat confdefs.h
>>conftest.
$ac_ext
11624 cat >>conftest.
$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11626 $ac_includes_default
11627 #include <gphoto2-camera.h>
11629 rm -f conftest.
$ac_objext
11630 if { (ac_try
="$ac_compile"
11631 case "(($ac_try" in
11632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11633 *) ac_try_echo=$ac_try;;
11635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11636 (eval "$ac_compile") 2>conftest.er1
11638 grep -v '^ *+' conftest.er1 >conftest.err
11640 cat conftest.err >&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } &&
11643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11644 { (case "(($ac_try" in
11645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11646 *) ac_try_echo
=$ac_try;;
11648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11649 (eval "$ac_try") 2>&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); }; } &&
11653 { ac_try
='test -s conftest.$ac_objext'
11654 { (case "(($ac_try" in
11655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11656 *) ac_try_echo=$ac_try;;
11658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11659 (eval "$ac_try") 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; }; then
11663 ac_header_compiler=yes
11665 echo "$as_me: failed program was:" >&5
11666 sed 's/^/| /' conftest.$ac_ext >&5
11668 ac_header_compiler=no
11671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11672 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11673 echo "${ECHO_T}$ac_header_compiler" >&6; }
11675 # Is the header present?
11676 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11677 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11678 cat >conftest.$ac_ext <<_ACEOF
11681 cat confdefs.h >>conftest.$ac_ext
11682 cat >>conftest.$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11684 #include <gphoto2-camera.h>
11686 if { (ac_try="$ac_cpp conftest.$ac_ext"
11687 case "(($ac_try" in
11688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11689 *) ac_try_echo
=$ac_try;;
11691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11694 grep -v '^ *+' conftest.er1
>conftest.err
11696 cat conftest.err
>&5
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); } >/dev
/null
; then
11699 if test -s conftest.err
; then
11700 ac_cpp_err
=$ac_c_preproc_warn_flag
11701 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11708 if test -z "$ac_cpp_err"; then
11709 ac_header_preproc
=yes
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.
$ac_ext >&5
11714 ac_header_preproc
=no
11717 rm -f conftest.err conftest.
$ac_ext
11718 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11719 echo "${ECHO_T}$ac_header_preproc" >&6; }
11721 # So? What about this header?
11722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11724 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11725 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11726 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11727 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11728 ac_header_preproc
=yes
11731 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11732 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11733 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11734 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11735 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11736 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11737 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11738 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11739 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11740 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11741 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11742 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11744 ## ------------------------------------ ##
11745 ## Report this to wine-devel@winehq.org ##
11746 ## ------------------------------------ ##
11748 ) |
sed "s/^/$as_me: WARNING: /" >&2
11751 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11752 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11753 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11754 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
11758 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11759 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11762 if test $ac_cv_header_gphoto2_camera_h = yes; then
11763 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11764 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11765 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11766 echo $ECHO_N "(cached) $ECHO_C" >&6
11768 ac_check_lib_save_LIBS
=$LIBS
11769 LIBS
="-lgphoto2 $LIBS"
11770 cat >conftest.
$ac_ext <<_ACEOF
11773 cat confdefs.h
>>conftest.
$ac_ext
11774 cat >>conftest.
$ac_ext <<_ACEOF
11775 /* end confdefs.h. */
11777 /* Override any GCC internal prototype to avoid an error.
11778 Use char because int might match the return type of a GCC
11779 builtin and then its argument prototype would still apply. */
11783 char gp_camera_new ();
11787 return gp_camera_new ();
11792 rm -f conftest.
$ac_objext conftest
$ac_exeext
11793 if { (ac_try
="$ac_link"
11794 case "(($ac_try" in
11795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11796 *) ac_try_echo=$ac_try;;
11798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11799 (eval "$ac_link") 2>conftest.er1
11801 grep -v '^ *+' conftest.er1 >conftest.err
11803 cat conftest.err >&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); } &&
11806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11807 { (case "(($ac_try" in
11808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11809 *) ac_try_echo
=$ac_try;;
11811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11812 (eval "$ac_try") 2>&5
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); }; } &&
11816 { ac_try
='test -s conftest$ac_exeext'
11817 { (case "(($ac_try" in
11818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11819 *) ac_try_echo=$ac_try;;
11821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11822 (eval "$ac_try") 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); }; }; then
11826 ac_cv_lib_gphoto2_gp_camera_new=yes
11828 echo "$as_me: failed program was:" >&5
11829 sed 's/^/| /' conftest.$ac_ext >&5
11831 ac_cv_lib_gphoto2_gp_camera_new=no
11834 rm -f core conftest.err conftest.$ac_objext \
11835 conftest$ac_exeext conftest.$ac_ext
11836 LIBS=$ac_check_lib_save_LIBS
11838 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11839 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11840 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11842 cat >>confdefs.h <<\_ACEOF
11843 #define HAVE_GPHOTO2 1
11857 LIBS="$ac_save_LIBS"
11858 CPPFLAGS="$ac_save_CPPFLAGS"
11861 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11864 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11866 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11867 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11868 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11869 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11870 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11871 cat >conftest.$ac_ext <<_ACEOF
11874 cat confdefs.h >>conftest.$ac_ext
11875 cat >>conftest.$ac_ext <<_ACEOF
11876 /* end confdefs.h. */
11877 #include <unicode/ubidi.h>
11886 rm -f conftest.$ac_objext conftest$ac_exeext
11887 if { (ac_try="$ac_link"
11888 case "(($ac_try" in
11889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11890 *) ac_try_echo
=$ac_try;;
11892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11893 (eval "$ac_link") 2>conftest.er1
11895 grep -v '^ *+' conftest.er1
>conftest.err
11897 cat conftest.err
>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); } &&
11900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11901 { (case "(($ac_try" in
11902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11903 *) ac_try_echo=$ac_try;;
11905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11906 (eval "$ac_try") 2>&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 (exit $ac_status); }; } &&
11910 { ac_try='test -s conftest$ac_exeext'
11911 { (case "(($ac_try" in
11912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11913 *) ac_try_echo
=$ac_try;;
11915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11916 (eval "$ac_try") 2>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); }; }; then
11921 cat >>confdefs.h
<<\_ACEOF
11925 ICULIBS
="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11927 { echo "$as_me:$LINENO: result: yes" >&5
11928 echo "${ECHO_T}yes" >&6; }
11930 echo "$as_me: failed program was:" >&5
11931 sed 's/^/| /' conftest.
$ac_ext >&5
11933 { echo "$as_me:$LINENO: result: no" >&5
11934 echo "${ECHO_T}no" >&6; }
11937 rm -f core conftest.err conftest.
$ac_objext \
11938 conftest
$ac_exeext conftest.
$ac_ext
11945 if test "$ac_cv_header_resolv_h" = "yes"
11947 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11948 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11949 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 ac_check_lib_save_LIBS
=$LIBS
11953 LIBS
="-lresolv $LIBS"
11954 cat >conftest.
$ac_ext <<_ACEOF
11957 cat confdefs.h
>>conftest.
$ac_ext
11958 cat >>conftest.
$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11961 /* Override any GCC internal prototype to avoid an error.
11962 Use char because int might match the return type of a GCC
11963 builtin and then its argument prototype would still apply. */
11971 return res_query ();
11976 rm -f conftest.
$ac_objext conftest
$ac_exeext
11977 if { (ac_try
="$ac_link"
11978 case "(($ac_try" in
11979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11980 *) ac_try_echo=$ac_try;;
11982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11983 (eval "$ac_link") 2>conftest.er1
11985 grep -v '^ *+' conftest.er1 >conftest.err
11987 cat conftest.err >&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } &&
11990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11991 { (case "(($ac_try" in
11992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11993 *) ac_try_echo
=$ac_try;;
11995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11996 (eval "$ac_try") 2>&5
11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); }; } &&
12000 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
12010 ac_cv_lib_resolv_res_query=yes
12012 echo "$as_me: failed program was:" >&5
12013 sed 's/^/| /' conftest.$ac_ext >&5
12015 ac_cv_lib_resolv_res_query=no
12018 rm -f core conftest.err conftest.$ac_objext \
12019 conftest$ac_exeext conftest.$ac_ext
12020 LIBS=$ac_check_lib_save_LIBS
12022 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12023 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12024 if test $ac_cv_lib_resolv_res_query = yes; then
12026 cat >>confdefs.h <<\_ACEOF
12027 #define HAVE_RESOLV 1
12030 RESOLVLIBS="-lresolv"
12037 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12039 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12040 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12041 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12042 echo $ECHO_N "(cached) $ECHO_C" >&6
12044 ac_check_lib_save_LIBS=$LIBS
12045 LIBS="-llcms $LIBS"
12046 cat >conftest.$ac_ext <<_ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12053 /* Override any GCC internal prototype to avoid an error.
12054 Use char because int might match the return type of a GCC
12055 builtin and then its argument prototype would still apply. */
12059 char cmsOpenProfileFromFile ();
12063 return cmsOpenProfileFromFile ();
12068 rm -f conftest.$ac_objext conftest$ac_exeext
12069 if { (ac_try="$ac_link"
12070 case "(($ac_try" in
12071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12072 *) ac_try_echo
=$ac_try;;
12074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12075 (eval "$ac_link") 2>conftest.er1
12077 grep -v '^ *+' conftest.er1
>conftest.err
12079 cat conftest.err
>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); } &&
12082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12083 { (case "(($ac_try" in
12084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12085 *) ac_try_echo=$ac_try;;
12087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12088 (eval "$ac_try") 2>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); }; } &&
12092 { ac_try='test -s conftest$ac_exeext'
12093 { (case "(($ac_try" in
12094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12095 *) ac_try_echo
=$ac_try;;
12097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12098 (eval "$ac_try") 2>&5
12100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12101 (exit $ac_status); }; }; then
12102 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
12104 echo "$as_me: failed program was:" >&5
12105 sed 's/^/| /' conftest.
$ac_ext >&5
12107 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
12110 rm -f core conftest.err conftest.
$ac_objext \
12111 conftest
$ac_exeext conftest.
$ac_ext
12112 LIBS
=$ac_check_lib_save_LIBS
12114 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12115 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12116 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12118 cat >>confdefs.h
<<\_ACEOF
12119 #define HAVE_LCMS 1
12129 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12131 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12132 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12133 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12134 echo $ECHO_N "(cached) $ECHO_C" >&6
12136 ac_check_lib_save_LIBS
=$LIBS
12137 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12138 cat >conftest.
$ac_ext <<_ACEOF
12141 cat confdefs.h
>>conftest.
$ac_ext
12142 cat >>conftest.
$ac_ext <<_ACEOF
12143 /* end confdefs.h. */
12145 /* Override any GCC internal prototype to avoid an error.
12146 Use char because int might match the return type of a GCC
12147 builtin and then its argument prototype would still apply. */
12151 char ldap_initialize ();
12155 return ldap_initialize ();
12160 rm -f conftest.
$ac_objext conftest
$ac_exeext
12161 if { (ac_try
="$ac_link"
12162 case "(($ac_try" in
12163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12164 *) ac_try_echo=$ac_try;;
12166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12167 (eval "$ac_link") 2>conftest.er1
12169 grep -v '^ *+' conftest.er1 >conftest.err
12171 cat conftest.err >&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); } &&
12174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12175 { (case "(($ac_try" in
12176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12177 *) ac_try_echo
=$ac_try;;
12179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12180 (eval "$ac_try") 2>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); }; } &&
12184 { ac_try
='test -s conftest$ac_exeext'
12185 { (case "(($ac_try" in
12186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12187 *) ac_try_echo=$ac_try;;
12189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12190 (eval "$ac_try") 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; }; then
12194 ac_cv_lib_ldap_r_ldap_initialize=yes
12196 echo "$as_me: failed program was:" >&5
12197 sed 's/^/| /' conftest.$ac_ext >&5
12199 ac_cv_lib_ldap_r_ldap_initialize=no
12202 rm -f core conftest.err conftest.$ac_objext \
12203 conftest$ac_exeext conftest.$ac_ext
12204 LIBS=$ac_check_lib_save_LIBS
12206 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12207 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12208 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12209 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12210 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12211 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12214 ac_check_lib_save_LIBS=$LIBS
12215 LIBS="-llber $LIBPTHREAD $LIBS"
12216 cat >conftest.$ac_ext <<_ACEOF
12219 cat confdefs.h >>conftest.$ac_ext
12220 cat >>conftest.$ac_ext <<_ACEOF
12221 /* end confdefs.h. */
12223 /* Override any GCC internal prototype to avoid an error.
12224 Use char because int might match the return type of a GCC
12225 builtin and then its argument prototype would still apply. */
12233 return ber_init ();
12238 rm -f conftest.$ac_objext conftest$ac_exeext
12239 if { (ac_try="$ac_link"
12240 case "(($ac_try" in
12241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12242 *) ac_try_echo
=$ac_try;;
12244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12245 (eval "$ac_link") 2>conftest.er1
12247 grep -v '^ *+' conftest.er1
>conftest.err
12249 cat conftest.err
>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); } &&
12252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12253 { (case "(($ac_try" in
12254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12255 *) ac_try_echo=$ac_try;;
12257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12258 (eval "$ac_try") 2>&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); }; } &&
12262 { ac_try='test -s conftest$ac_exeext'
12263 { (case "(($ac_try" in
12264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12265 *) ac_try_echo
=$ac_try;;
12267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12268 (eval "$ac_try") 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; }; then
12272 ac_cv_lib_lber_ber_init
=yes
12274 echo "$as_me: failed program was:" >&5
12275 sed 's/^/| /' conftest.
$ac_ext >&5
12277 ac_cv_lib_lber_ber_init
=no
12280 rm -f core conftest.err conftest.
$ac_objext \
12281 conftest
$ac_exeext conftest.
$ac_ext
12282 LIBS
=$ac_check_lib_save_LIBS
12284 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12285 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12286 if test $ac_cv_lib_lber_ber_init = yes; then
12288 cat >>confdefs.h
<<\_ACEOF
12289 #define HAVE_LDAP 1
12292 LDAPLIBS
="-lldap_r -llber"
12297 ac_wine_check_funcs_save_LIBS
="$LIBS"
12298 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12304 ldap_count_references \
12305 ldap_first_reference \
12306 ldap_next_reference \
12307 ldap_parse_reference
12309 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12310 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12312 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12315 cat >conftest.
$ac_ext <<_ACEOF
12318 cat confdefs.h
>>conftest.
$ac_ext
12319 cat >>conftest.
$ac_ext <<_ACEOF
12320 /* end confdefs.h. */
12321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12323 #define $ac_func innocuous_$ac_func
12325 /* System header to define __stub macros and hopefully few prototypes,
12326 which can conflict with char $ac_func (); below.
12327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12328 <limits.h> exists even on freestanding compilers. */
12331 # include <limits.h>
12333 # include <assert.h>
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12345 /* The GNU C library defines this for functions which it implements
12346 to always fail with ENOSYS. Some functions are actually named
12347 something starting with __ and the normal name is an alias. */
12348 #if defined __stub_$ac_func || defined __stub___$ac_func
12355 return $ac_func ();
12360 rm -f conftest.
$ac_objext conftest
$ac_exeext
12361 if { (ac_try
="$ac_link"
12362 case "(($ac_try" in
12363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12364 *) ac_try_echo=$ac_try;;
12366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12367 (eval "$ac_link") 2>conftest.er1
12369 grep -v '^ *+' conftest.er1 >conftest.err
12371 cat conftest.err >&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } &&
12374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12375 { (case "(($ac_try" in
12376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12377 *) ac_try_echo
=$ac_try;;
12379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12380 (eval "$ac_try") 2>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; } &&
12384 { ac_try
='test -s conftest$ac_exeext'
12385 { (case "(($ac_try" in
12386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12387 *) ac_try_echo=$ac_try;;
12389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12390 (eval "$ac_try") 2>&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); }; }; then
12394 eval "$as_ac_var=yes"
12396 echo "$as_me: failed program was:" >&5
12397 sed 's/^/| /' conftest.$ac_ext >&5
12399 eval "$as_ac_var=no"
12402 rm -f core conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12405 ac_res=`eval echo '${'$as_ac_var'}'`
12406 { echo "$as_me:$LINENO: result: $ac_res" >&5
12407 echo "${ECHO_T}$ac_res" >&6; }
12408 if test `eval echo '${'$as_ac_var'}'` = yes; then
12409 cat >>confdefs.h <<_ACEOF
12410 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12416 LIBS="$ac_wine_check_funcs_save_LIBS"
12423 # Extract the first word of "freetype-config", so it can be a program name with args.
12424 set dummy freetype-config; ac_word=$2
12425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12427 if test "${ac_cv_prog_ft_devel+set}" = set; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 if test -n "$ft_devel"; then
12431 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12434 for as_dir in $PATH
12437 test -z "$as_dir" && as_dir=.
12438 for ac_exec_ext in '' $ac_executable_extensions; do
12439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12440 ac_cv_prog_ft_devel="freetype-config"
12441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12448 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12451 ft_devel=$ac_cv_prog_ft_devel
12452 if test -n "$ft_devel"; then
12453 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12454 echo "${ECHO_T}$ft_devel" >&6; }
12456 { echo "$as_me:$LINENO: result: no" >&5
12457 echo "${ECHO_T}no" >&6; }
12461 if test "$ft_devel" = "no"
12463 # Extract the first word of "freetype2-config", so it can be a program name with args.
12464 set dummy freetype2-config; ac_word=$2
12465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12467 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12468 echo $ECHO_N "(cached) $ECHO_C" >&6
12470 if test -n "$ft_devel2"; then
12471 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12474 for as_dir in $PATH
12477 test -z "$as_dir" && as_dir=.
12478 for ac_exec_ext in '' $ac_executable_extensions; do
12479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12480 ac_cv_prog_ft_devel2="freetype2-config"
12481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12488 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12491 ft_devel2=$ac_cv_prog_ft_devel2
12492 if test -n "$ft_devel2"; then
12493 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12494 echo "${ECHO_T}$ft_devel2" >&6; }
12496 { echo "$as_me:$LINENO: result: no" >&5
12497 echo "${ECHO_T}no" >&6; }
12501 if test "$ft_devel2" = "freetype2-config"
12503 ft_devel=$ft_devel2
12507 if test "$ft_devel" = "no"
12509 wine_cv_msg_freetype=yes
12511 FREETYPELIBS=`$ft_devel --libs`
12512 FREETYPEINCL=`$ft_devel --cflags`
12513 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12514 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12515 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12516 echo $ECHO_N "(cached) $ECHO_C" >&6
12518 ac_check_lib_save_LIBS=$LIBS
12519 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12520 cat >conftest.$ac_ext <<_ACEOF
12523 cat confdefs.h >>conftest.$ac_ext
12524 cat >>conftest.$ac_ext <<_ACEOF
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12533 char FT_Init_FreeType ();
12537 return FT_Init_FreeType ();
12542 rm -f conftest.$ac_objext conftest$ac_exeext
12543 if { (ac_try="$ac_link"
12544 case "(($ac_try" in
12545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12546 *) ac_try_echo
=$ac_try;;
12548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12549 (eval "$ac_link") 2>conftest.er1
12551 grep -v '^ *+' conftest.er1
>conftest.err
12553 cat conftest.err
>&5
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); } &&
12556 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12557 { (case "(($ac_try" in
12558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12559 *) ac_try_echo=$ac_try;;
12561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12562 (eval "$ac_try") 2>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; } &&
12566 { ac_try='test -s conftest$ac_exeext'
12567 { (case "(($ac_try" in
12568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12569 *) ac_try_echo
=$ac_try;;
12571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12572 (eval "$ac_try") 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; }; then
12576 ac_cv_lib_freetype_FT_Init_FreeType
=yes
12578 echo "$as_me: failed program was:" >&5
12579 sed 's/^/| /' conftest.
$ac_ext >&5
12581 ac_cv_lib_freetype_FT_Init_FreeType
=no
12584 rm -f core conftest.err conftest.
$ac_objext \
12585 conftest
$ac_exeext conftest.
$ac_ext
12586 LIBS
=$ac_check_lib_save_LIBS
12588 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12589 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12590 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12596 if test "$ft_lib" = "no"
12598 wine_cv_msg_freetype
=yes
12602 ac_save_CPPFLAGS
="$CPPFLAGS"
12603 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
12615 for ac_header
in ft2build.h \
12616 freetype
/freetype.h \
12617 freetype
/ftglyph.h \
12618 freetype
/tttables.h \
12619 freetype
/ftnames.h \
12620 freetype
/ftsnames.h \
12621 freetype
/ttnameid.h \
12622 freetype
/ftoutln.h \
12623 freetype
/ftwinfnt.h \
12624 freetype
/ftmodapi.h \
12625 freetype
/internal
/sfnt.h
12627 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12630 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 cat >conftest.
$ac_ext <<_ACEOF
12636 cat confdefs.h
>>conftest.
$ac_ext
12637 cat >>conftest.
$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12639 #if HAVE_FT2BUILD_H
12640 #include <ft2build.h>
12643 #include <$ac_header>
12645 rm -f conftest.
$ac_objext
12646 if { (ac_try
="$ac_compile"
12647 case "(($ac_try" in
12648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12649 *) ac_try_echo=$ac_try;;
12651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12652 (eval "$ac_compile") 2>conftest.er1
12654 grep -v '^ *+' conftest.er1 >conftest.err
12656 cat conftest.err >&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); } &&
12659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12660 { (case "(($ac_try" in
12661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12662 *) ac_try_echo
=$ac_try;;
12664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12665 (eval "$ac_try") 2>&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); }; } &&
12669 { ac_try
='test -s conftest.$ac_objext'
12670 { (case "(($ac_try" in
12671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12672 *) ac_try_echo=$ac_try;;
12674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12675 (eval "$ac_try") 2>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; }; then
12679 eval "$as_ac_Header=yes"
12681 echo "$as_me: failed program was:" >&5
12682 sed 's/^/| /' conftest.$ac_ext >&5
12684 eval "$as_ac_Header=no"
12687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12689 ac_res=`eval echo '${'$as_ac_Header'}'`
12690 { echo "$as_me:$LINENO: result: $ac_res" >&5
12691 echo "${ECHO_T}$ac_res" >&6; }
12692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12693 cat >>confdefs.h <<_ACEOF
12694 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12701 cat >conftest.$ac_ext <<_ACEOF
12704 cat confdefs.h >>conftest.$ac_ext
12705 cat >>conftest.$ac_ext <<_ACEOF
12706 /* end confdefs.h. */
12707 #include <ft2build.h>
12708 #include <freetype/fttrigon.h>
12710 if { (ac_try="$ac_cpp conftest.$ac_ext"
12711 case "(($ac_try" in
12712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12713 *) ac_try_echo
=$ac_try;;
12715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12718 grep -v '^ *+' conftest.er1
>conftest.err
12720 cat conftest.err
>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); } >/dev
/null
; then
12723 if test -s conftest.err
; then
12724 ac_cpp_err
=$ac_c_preproc_warn_flag
12725 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12732 if test -z "$ac_cpp_err"; then
12734 cat >>confdefs.h
<<\_ACEOF
12735 #define HAVE_FREETYPE_FTTRIGON_H 1
12738 wine_cv_fttrigon
=yes
12740 echo "$as_me: failed program was:" >&5
12741 sed 's/^/| /' conftest.
$ac_ext >&5
12743 wine_cv_fttrigon
=no
12746 rm -f conftest.err conftest.
$ac_ext
12747 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12748 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12749 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12750 echo $ECHO_N "(cached) $ECHO_C" >&6
12752 cat >conftest.
$ac_ext <<_ACEOF
12755 cat confdefs.h
>>conftest.
$ac_ext
12756 cat >>conftest.
$ac_ext <<_ACEOF
12757 /* end confdefs.h. */
12758 #include <freetype/ftmodapi.h>
12760 typedef FT_TrueTypeEngineType ac__type_new_;
12764 if ((ac__type_new_ *) 0)
12766 if (sizeof (ac__type_new_))
12772 rm -f conftest.
$ac_objext
12773 if { (ac_try
="$ac_compile"
12774 case "(($ac_try" in
12775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12776 *) ac_try_echo=$ac_try;;
12778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12779 (eval "$ac_compile") 2>conftest.er1
12781 grep -v '^ *+' conftest.er1 >conftest.err
12783 cat conftest.err >&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } &&
12786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12787 { (case "(($ac_try" in
12788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12789 *) ac_try_echo
=$ac_try;;
12791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12792 (eval "$ac_try") 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; } &&
12796 { ac_try
='test -s conftest.$ac_objext'
12797 { (case "(($ac_try" in
12798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12799 *) ac_try_echo=$ac_try;;
12801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12802 (eval "$ac_try") 2>&5
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); }; }; then
12806 ac_cv_type_FT_TrueTypeEngineType=yes
12808 echo "$as_me: failed program was:" >&5
12809 sed 's/^/| /' conftest.$ac_ext >&5
12811 ac_cv_type_FT_TrueTypeEngineType=no
12814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12816 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12817 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12818 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12820 cat >>confdefs.h <<_ACEOF
12821 #define HAVE_FT_TRUETYPEENGINETYPE 1
12827 ac_save_CFLAGS="$CFLAGS"
12828 CFLAGS="$CFLAGS $FREETYPELIBS"
12830 for ac_func in FT_Load_Sfnt_Table
12832 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12833 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12835 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12836 echo $ECHO_N "(cached) $ECHO_C" >&6
12838 cat >conftest.$ac_ext <<_ACEOF
12841 cat confdefs.h >>conftest.$ac_ext
12842 cat >>conftest.$ac_ext <<_ACEOF
12843 /* end confdefs.h. */
12844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12846 #define $ac_func innocuous_$ac_func
12848 /* System header to define __stub macros and hopefully few prototypes,
12849 which can conflict with char $ac_func (); below.
12850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12851 <limits.h> exists even on freestanding compilers. */
12854 # include <limits.h>
12856 # include <assert.h>
12861 /* Override any GCC internal prototype to avoid an error.
12862 Use char because int might match the return type of a GCC
12863 builtin and then its argument prototype would still apply. */
12868 /* The GNU C library defines this for functions which it implements
12869 to always fail with ENOSYS. Some functions are actually named
12870 something starting with __ and the normal name is an alias. */
12871 #if defined __stub_$ac_func || defined __stub___$ac_func
12878 return $ac_func ();
12883 rm -f conftest.$ac_objext conftest$ac_exeext
12884 if { (ac_try="$ac_link"
12885 case "(($ac_try" in
12886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12887 *) ac_try_echo
=$ac_try;;
12889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12890 (eval "$ac_link") 2>conftest.er1
12892 grep -v '^ *+' conftest.er1
>conftest.err
12894 cat conftest.err
>&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); } &&
12897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12898 { (case "(($ac_try" in
12899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12900 *) ac_try_echo=$ac_try;;
12902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12903 (eval "$ac_try") 2>&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); }; } &&
12907 { ac_try='test -s conftest$ac_exeext'
12908 { (case "(($ac_try" in
12909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12910 *) ac_try_echo
=$ac_try;;
12912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12913 (eval "$ac_try") 2>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; }; then
12917 eval "$as_ac_var=yes"
12919 echo "$as_me: failed program was:" >&5
12920 sed 's/^/| /' conftest.
$ac_ext >&5
12922 eval "$as_ac_var=no"
12925 rm -f core conftest.err conftest.
$ac_objext \
12926 conftest
$ac_exeext conftest.
$ac_ext
12928 ac_res
=`eval echo '${'$as_ac_var'}'`
12929 { echo "$as_me:$LINENO: result: $ac_res" >&5
12930 echo "${ECHO_T}$ac_res" >&6; }
12931 if test `eval echo '${'$as_ac_var'}'` = yes; then
12932 cat >>confdefs.h
<<_ACEOF
12933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12939 CFLAGS
="$ac_save_CFLAGS"
12940 CPPFLAGS
="$ac_save_CPPFLAGS"
12941 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12944 cat >>confdefs.h
<<\_ACEOF
12945 #define HAVE_FREETYPE 1
12948 wine_cv_msg_freetype
=no
12952 wine_cv_msg_freetype
=yes
12957 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12959 FONTSSUBDIRS
="fonts"
12963 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12964 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12965 if test "${ac_cv_c_ppdev+set}" = set; then
12966 echo $ECHO_N "(cached) $ECHO_C" >&6
12968 cat >conftest.
$ac_ext <<_ACEOF
12971 cat confdefs.h
>>conftest.
$ac_ext
12972 cat >>conftest.
$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12974 #include <linux/ppdev.h>
12978 ioctl (1,PPCLAIM,0)
12983 rm -f conftest.
$ac_objext
12984 if { (ac_try
="$ac_compile"
12985 case "(($ac_try" in
12986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12987 *) ac_try_echo=$ac_try;;
12989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12990 (eval "$ac_compile") 2>conftest.er1
12992 grep -v '^ *+' conftest.er1 >conftest.err
12994 cat conftest.err >&5
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); } &&
12997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12998 { (case "(($ac_try" in
12999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13000 *) ac_try_echo
=$ac_try;;
13002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13003 (eval "$ac_try") 2>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; } &&
13007 { ac_try
='test -s conftest.$ac_objext'
13008 { (case "(($ac_try" in
13009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13010 *) ac_try_echo=$ac_try;;
13012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13013 (eval "$ac_try") 2>&5
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); }; }; then
13017 ac_cv_c_ppdev="yes"
13019 echo "$as_me: failed program was:" >&5
13020 sed 's/^/| /' conftest.$ac_ext >&5
13025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13028 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13029 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13030 if test "$ac_cv_c_ppdev" = "yes"
13033 cat >>confdefs.h <<\_ACEOF
13034 #define HAVE_PPDEV 1
13039 { echo "$as_me:$LINENO: checking for va_copy" >&5
13040 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13041 if test "${ac_cv_c_va_copy+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 cat >conftest.$ac_ext <<_ACEOF
13047 cat confdefs.h >>conftest.$ac_ext
13048 cat >>conftest.$ac_ext <<_ACEOF
13049 /* end confdefs.h. */
13050 #include <stdarg.h>
13061 rm -f conftest.$ac_objext conftest$ac_exeext
13062 if { (ac_try="$ac_link"
13063 case "(($ac_try" in
13064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13065 *) ac_try_echo
=$ac_try;;
13067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13068 (eval "$ac_link") 2>conftest.er1
13070 grep -v '^ *+' conftest.er1
>conftest.err
13072 cat conftest.err
>&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); } &&
13075 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13076 { (case "(($ac_try" in
13077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13078 *) ac_try_echo=$ac_try;;
13080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13081 (eval "$ac_try") 2>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; } &&
13085 { ac_try='test -s conftest$ac_exeext'
13086 { (case "(($ac_try" in
13087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13088 *) ac_try_echo
=$ac_try;;
13090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13091 (eval "$ac_try") 2>&5
13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13094 (exit $ac_status); }; }; then
13095 ac_cv_c_va_copy
="yes"
13097 echo "$as_me: failed program was:" >&5
13098 sed 's/^/| /' conftest.
$ac_ext >&5
13100 ac_cv_c_va_copy
="no"
13103 rm -f core conftest.err conftest.
$ac_objext \
13104 conftest
$ac_exeext conftest.
$ac_ext
13107 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13108 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13109 if test "$ac_cv_c_va_copy" = "yes"
13112 cat >>confdefs.h
<<\_ACEOF
13113 #define HAVE_VA_COPY 1
13117 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13118 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13119 if test "${ac_cv_c___va_copy+set}" = set; then
13120 echo $ECHO_N "(cached) $ECHO_C" >&6
13122 cat >conftest.
$ac_ext <<_ACEOF
13125 cat confdefs.h
>>conftest.
$ac_ext
13126 cat >>conftest.
$ac_ext <<_ACEOF
13127 /* end confdefs.h. */
13128 #include <stdarg.h>
13133 __va_copy(ap1,ap2);
13139 rm -f conftest.
$ac_objext conftest
$ac_exeext
13140 if { (ac_try
="$ac_link"
13141 case "(($ac_try" in
13142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13143 *) ac_try_echo=$ac_try;;
13145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13146 (eval "$ac_link") 2>conftest.er1
13148 grep -v '^ *+' conftest.er1 >conftest.err
13150 cat conftest.err >&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } &&
13153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13154 { (case "(($ac_try" in
13155 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13156 *) ac_try_echo
=$ac_try;;
13158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13159 (eval "$ac_try") 2>&5
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; } &&
13163 { ac_try
='test -s conftest$ac_exeext'
13164 { (case "(($ac_try" in
13165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13166 *) ac_try_echo=$ac_try;;
13168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13169 (eval "$ac_try") 2>&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); }; }; then
13173 ac_cv_c___va_copy="yes"
13175 echo "$as_me: failed program was:" >&5
13176 sed 's/^/| /' conftest.$ac_ext >&5
13178 ac_cv_c___va_copy="no"
13181 rm -f core conftest.err conftest.$ac_objext \
13182 conftest$ac_exeext conftest.$ac_ext
13185 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13186 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13187 if test "$ac_cv_c___va_copy" = "yes"
13190 cat >>confdefs.h <<\_ACEOF
13191 #define HAVE___VA_COPY 1
13196 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13197 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13198 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13199 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 cat >conftest.$ac_ext <<_ACEOF
13204 cat confdefs.h >>conftest.$ac_ext
13205 cat >>conftest.$ac_ext <<_ACEOF
13206 /* end confdefs.h. */
13207 #include <setjmp.h>
13212 sigsetjmp( buf, 1 );
13213 siglongjmp( buf, 1 );
13218 rm -f conftest.$ac_objext conftest$ac_exeext
13219 if { (ac_try="$ac_link"
13220 case "(($ac_try" in
13221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13222 *) ac_try_echo
=$ac_try;;
13224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13225 (eval "$ac_link") 2>conftest.er1
13227 grep -v '^ *+' conftest.er1
>conftest.err
13229 cat conftest.err
>&5
13230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13231 (exit $ac_status); } &&
13232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13233 { (case "(($ac_try" in
13234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13235 *) ac_try_echo=$ac_try;;
13237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13238 (eval "$ac_try") 2>&5
13240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241 (exit $ac_status); }; } &&
13242 { ac_try='test -s conftest$ac_exeext'
13243 { (case "(($ac_try" in
13244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13245 *) ac_try_echo
=$ac_try;;
13247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13248 (eval "$ac_try") 2>&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }; }; then
13252 ac_cv_c_sigsetjmp
="yes"
13254 echo "$as_me: failed program was:" >&5
13255 sed 's/^/| /' conftest.
$ac_ext >&5
13257 ac_cv_c_sigsetjmp
="no"
13260 rm -f core conftest.err conftest.
$ac_objext \
13261 conftest
$ac_exeext conftest.
$ac_ext
13264 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13265 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13266 if test "$ac_cv_c_sigsetjmp" = "yes"
13269 cat >>confdefs.h
<<\_ACEOF
13270 #define HAVE_SIGSETJMP 1
13275 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13276 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13277 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13278 echo $ECHO_N "(cached) $ECHO_C" >&6
13280 cat >conftest.
$ac_ext <<_ACEOF
13283 cat confdefs.h
>>conftest.
$ac_ext
13284 cat >>conftest.
$ac_ext <<_ACEOF
13285 /* end confdefs.h. */
13286 #define _GNU_SOURCE
13287 #include <pthread.h>
13289 typedef pthread_rwlock_t ac__type_new_;
13293 if ((ac__type_new_ *) 0)
13295 if (sizeof (ac__type_new_))
13301 rm -f conftest.
$ac_objext
13302 if { (ac_try
="$ac_compile"
13303 case "(($ac_try" in
13304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13305 *) ac_try_echo=$ac_try;;
13307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13308 (eval "$ac_compile") 2>conftest.er1
13310 grep -v '^ *+' conftest.er1 >conftest.err
13312 cat conftest.err >&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); } &&
13315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13316 { (case "(($ac_try" in
13317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13318 *) ac_try_echo
=$ac_try;;
13320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13321 (eval "$ac_try") 2>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; } &&
13325 { ac_try
='test -s conftest.$ac_objext'
13326 { (case "(($ac_try" in
13327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13328 *) ac_try_echo=$ac_try;;
13330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13331 (eval "$ac_try") 2>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; }; then
13335 ac_cv_type_pthread_rwlock_t=yes
13337 echo "$as_me: failed program was:" >&5
13338 sed 's/^/| /' conftest.$ac_ext >&5
13340 ac_cv_type_pthread_rwlock_t=no
13343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13345 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13346 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13347 if test $ac_cv_type_pthread_rwlock_t = yes; then
13349 cat >>confdefs.h <<_ACEOF
13350 #define HAVE_PTHREAD_RWLOCK_T 1
13355 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13356 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13357 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13358 echo $ECHO_N "(cached) $ECHO_C" >&6
13360 cat >conftest.$ac_ext <<_ACEOF
13363 cat confdefs.h >>conftest.$ac_ext
13364 cat >>conftest.$ac_ext <<_ACEOF
13365 /* end confdefs.h. */
13366 #define _GNU_SOURCE
13367 #include <pthread.h>
13369 typedef pthread_rwlockattr_t ac__type_new_;
13373 if ((ac__type_new_ *) 0)
13375 if (sizeof (ac__type_new_))
13381 rm -f conftest.$ac_objext
13382 if { (ac_try="$ac_compile"
13383 case "(($ac_try" in
13384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13385 *) ac_try_echo
=$ac_try;;
13387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13388 (eval "$ac_compile") 2>conftest.er1
13390 grep -v '^ *+' conftest.er1
>conftest.err
13392 cat conftest.err
>&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); } &&
13395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13396 { (case "(($ac_try" in
13397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13398 *) ac_try_echo=$ac_try;;
13400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13401 (eval "$ac_try") 2>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; } &&
13405 { ac_try='test -s conftest.$ac_objext'
13406 { (case "(($ac_try" in
13407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13408 *) ac_try_echo
=$ac_try;;
13410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13411 (eval "$ac_try") 2>&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); }; }; then
13415 ac_cv_type_pthread_rwlockattr_t
=yes
13417 echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.
$ac_ext >&5
13420 ac_cv_type_pthread_rwlockattr_t
=no
13423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13425 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13426 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13427 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13429 cat >>confdefs.h
<<_ACEOF
13430 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13437 ac_wine_check_funcs_save_LIBS
="$LIBS"
13438 LIBS
="$LIBS $LIBPTHREAD"
13444 pthread_attr_get_np \
13445 pthread_getattr_np \
13446 pthread_get_stackaddr_np \
13447 pthread_get_stacksize_np
13449 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13450 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13452 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13453 echo $ECHO_N "(cached) $ECHO_C" >&6
13455 cat >conftest.
$ac_ext <<_ACEOF
13458 cat confdefs.h
>>conftest.
$ac_ext
13459 cat >>conftest.
$ac_ext <<_ACEOF
13460 /* end confdefs.h. */
13461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13463 #define $ac_func innocuous_$ac_func
13465 /* System header to define __stub macros and hopefully few prototypes,
13466 which can conflict with char $ac_func (); below.
13467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13468 <limits.h> exists even on freestanding compilers. */
13471 # include <limits.h>
13473 # include <assert.h>
13478 /* Override any GCC internal prototype to avoid an error.
13479 Use char because int might match the return type of a GCC
13480 builtin and then its argument prototype would still apply. */
13485 /* The GNU C library defines this for functions which it implements
13486 to always fail with ENOSYS. Some functions are actually named
13487 something starting with __ and the normal name is an alias. */
13488 #if defined __stub_$ac_func || defined __stub___$ac_func
13495 return $ac_func ();
13500 rm -f conftest.
$ac_objext conftest
$ac_exeext
13501 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
13509 grep -v '^ *+' conftest.er1 >conftest.err
13511 cat conftest.err >&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } &&
13514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13515 { (case "(($ac_try" in
13516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13517 *) ac_try_echo
=$ac_try;;
13519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13520 (eval "$ac_try") 2>&5
13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523 (exit $ac_status); }; } &&
13524 { ac_try
='test -s conftest$ac_exeext'
13525 { (case "(($ac_try" in
13526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13527 *) ac_try_echo=$ac_try;;
13529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13530 (eval "$ac_try") 2>&5
13532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13533 (exit $ac_status); }; }; then
13534 eval "$as_ac_var=yes"
13536 echo "$as_me: failed program was:" >&5
13537 sed 's/^/| /' conftest.$ac_ext >&5
13539 eval "$as_ac_var=no"
13542 rm -f core conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13545 ac_res=`eval echo '${'$as_ac_var'}'`
13546 { echo "$as_me:$LINENO: result: $ac_res" >&5
13547 echo "${ECHO_T}$ac_res" >&6; }
13548 if test `eval echo '${'$as_ac_var'}'` = yes; then
13549 cat >>confdefs.h <<_ACEOF
13550 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13556 LIBS="$ac_wine_check_funcs_save_LIBS"
13558 # Extract the first word of "artsc-config", so it can be a program name with args.
13559 set dummy artsc-config; ac_word=$2
13560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13562 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13565 case $ARTSCCONFIG in
13567 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13571 for as_dir in $PATH
13574 test -z "$as_dir" && as_dir=.
13575 for ac_exec_ext in '' $ac_executable_extensions; do
13576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13577 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13588 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13589 if test -n "$ARTSCCONFIG"; then
13590 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13591 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13593 { echo "$as_me:$LINENO: result: no" >&5
13594 echo "${ECHO_T}no" >&6; }
13598 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13601 for i in `$ARTSCCONFIG --cflags`
13604 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13608 for i in `$ARTSCCONFIG --libs`
13611 -L/usr/lib|-L/usr/lib64) ;;
13612 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13615 save_CFLAGS="$CFLAGS"
13616 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13617 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13618 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13619 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13620 echo $ECHO_N "(cached) $ECHO_C" >&6
13622 ac_check_lib_save_LIBS=$LIBS
13623 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13624 cat >conftest.$ac_ext <<_ACEOF
13627 cat confdefs.h >>conftest.$ac_ext
13628 cat >>conftest.$ac_ext <<_ACEOF
13629 /* end confdefs.h. */
13631 /* Override any GCC internal prototype to avoid an error.
13632 Use char because int might match the return type of a GCC
13633 builtin and then its argument prototype would still apply. */
13641 return arts_init ();
13646 rm -f conftest.$ac_objext conftest$ac_exeext
13647 if { (ac_try="$ac_link"
13648 case "(($ac_try" in
13649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13650 *) ac_try_echo
=$ac_try;;
13652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13653 (eval "$ac_link") 2>conftest.er1
13655 grep -v '^ *+' conftest.er1
>conftest.err
13657 cat conftest.err
>&5
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); } &&
13660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13661 { (case "(($ac_try" in
13662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13663 *) ac_try_echo=$ac_try;;
13665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13666 (eval "$ac_try") 2>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); }; } &&
13670 { ac_try='test -s conftest$ac_exeext'
13671 { (case "(($ac_try" in
13672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13673 *) ac_try_echo
=$ac_try;;
13675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13676 (eval "$ac_try") 2>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); }; }; then
13680 ac_cv_lib_artsc_arts_init
=yes
13682 echo "$as_me: failed program was:" >&5
13683 sed 's/^/| /' conftest.
$ac_ext >&5
13685 ac_cv_lib_artsc_arts_init
=no
13688 rm -f core conftest.err conftest.
$ac_objext \
13689 conftest
$ac_exeext conftest.
$ac_ext
13690 LIBS
=$ac_check_lib_save_LIBS
13692 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13693 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13694 if test $ac_cv_lib_artsc_arts_init = yes; then
13695 cat >conftest.
$ac_ext <<_ACEOF
13698 cat confdefs.h
>>conftest.
$ac_ext
13699 cat >>conftest.
$ac_ext <<_ACEOF
13700 /* end confdefs.h. */
13705 arts_stream_t stream;
13710 rm -f conftest.
$ac_objext
13711 if { (ac_try
="$ac_compile"
13712 case "(($ac_try" in
13713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13714 *) ac_try_echo=$ac_try;;
13716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13717 (eval "$ac_compile") 2>conftest.er1
13719 grep -v '^ *+' conftest.er1 >conftest.err
13721 cat conftest.err >&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); } &&
13724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13725 { (case "(($ac_try" in
13726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13727 *) ac_try_echo
=$ac_try;;
13729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13730 (eval "$ac_try") 2>&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); }; } &&
13734 { ac_try
='test -s conftest.$ac_objext'
13735 { (case "(($ac_try" in
13736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13737 *) ac_try_echo=$ac_try;;
13739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13740 (eval "$ac_try") 2>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; }; then
13744 ARTSLIBS=$ARTSC_LIBS
13746 ARTSINCL=$ARTSC_CFLAGS
13749 cat >>confdefs.h <<\_ACEOF
13750 #define HAVE_ARTS 1
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.$ac_ext >&5
13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13763 CFLAGS="$save_CFLAGS"
13766 # Extract the first word of "esd-config", so it can be a program name with args.
13767 set dummy esd-config; ac_word=$2
13768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13770 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13771 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13779 for as_dir in $PATH
13782 test -z "$as_dir" && as_dir=.
13783 for ac_exec_ext in '' $ac_executable_extensions; do
13784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13785 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13796 ESDCONFIG=$ac_cv_path_ESDCONFIG
13797 if test -n "$ESDCONFIG"; then
13798 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13799 echo "${ECHO_T}$ESDCONFIG" >&6; }
13801 { echo "$as_me:$LINENO: result: no" >&5
13802 echo "${ECHO_T}no" >&6; }
13806 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13809 for i in `$ESDCONFIG --cflags`
13812 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13815 ESD_LIBS=`$ESDCONFIG --libs`
13816 save_CFLAGS="$CFLAGS"
13817 CFLAGS="$CFLAGS $ESD_CFLAGS"
13818 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13819 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13820 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13821 echo $ECHO_N "(cached) $ECHO_C" >&6
13823 ac_check_lib_save_LIBS=$LIBS
13825 cat >conftest.$ac_ext <<_ACEOF
13828 cat confdefs.h >>conftest.$ac_ext
13829 cat >>conftest.$ac_ext <<_ACEOF
13830 /* end confdefs.h. */
13832 /* Override any GCC internal prototype to avoid an error.
13833 Use char because int might match the return type of a GCC
13834 builtin and then its argument prototype would still apply. */
13838 char esd_open_sound ();
13842 return esd_open_sound ();
13847 rm -f conftest.$ac_objext conftest$ac_exeext
13848 if { (ac_try="$ac_link"
13849 case "(($ac_try" in
13850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13851 *) ac_try_echo
=$ac_try;;
13853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13854 (eval "$ac_link") 2>conftest.er1
13856 grep -v '^ *+' conftest.er1
>conftest.err
13858 cat conftest.err
>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); } &&
13861 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13862 { (case "(($ac_try" in
13863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13864 *) ac_try_echo=$ac_try;;
13866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13867 (eval "$ac_try") 2>&5
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); }; } &&
13871 { ac_try='test -s conftest$ac_exeext'
13872 { (case "(($ac_try" in
13873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13874 *) ac_try_echo
=$ac_try;;
13876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13877 (eval "$ac_try") 2>&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); }; }; then
13881 ac_cv_lib_esd_esd_open_sound
=yes
13883 echo "$as_me: failed program was:" >&5
13884 sed 's/^/| /' conftest.
$ac_ext >&5
13886 ac_cv_lib_esd_esd_open_sound
=no
13889 rm -f core conftest.err conftest.
$ac_objext \
13890 conftest
$ac_exeext conftest.
$ac_ext
13891 LIBS
=$ac_check_lib_save_LIBS
13893 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13894 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13895 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13898 ESDINCL
=$ESD_CFLAGS
13901 cat >>confdefs.h
<<\_ACEOF
13907 CFLAGS
="$save_CFLAGS"
13912 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13914 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13915 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13916 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13917 echo $ECHO_N "(cached) $ECHO_C" >&6
13919 ac_check_lib_save_LIBS
=$LIBS
13920 LIBS
="-lasound $LIBS"
13921 cat >conftest.
$ac_ext <<_ACEOF
13924 cat confdefs.h
>>conftest.
$ac_ext
13925 cat >>conftest.
$ac_ext <<_ACEOF
13926 /* end confdefs.h. */
13928 /* Override any GCC internal prototype to avoid an error.
13929 Use char because int might match the return type of a GCC
13930 builtin and then its argument prototype would still apply. */
13934 char snd_pcm_hw_params_get_access ();
13938 return snd_pcm_hw_params_get_access ();
13943 rm -f conftest.
$ac_objext conftest
$ac_exeext
13944 if { (ac_try
="$ac_link"
13945 case "(($ac_try" in
13946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13947 *) ac_try_echo=$ac_try;;
13949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13950 (eval "$ac_link") 2>conftest.er1
13952 grep -v '^ *+' conftest.er1 >conftest.err
13954 cat conftest.err >&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); } &&
13957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13958 { (case "(($ac_try" in
13959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13960 *) ac_try_echo
=$ac_try;;
13962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13963 (eval "$ac_try") 2>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; } &&
13967 { ac_try
='test -s conftest$ac_exeext'
13968 { (case "(($ac_try" in
13969 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13970 *) ac_try_echo=$ac_try;;
13972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13973 (eval "$ac_try") 2>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; }; then
13977 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.$ac_ext >&5
13982 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13985 rm -f core conftest.err conftest.$ac_objext \
13986 conftest$ac_exeext conftest.$ac_ext
13987 LIBS=$ac_check_lib_save_LIBS
13989 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13990 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13991 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13992 cat >conftest.$ac_ext <<_ACEOF
13995 cat confdefs.h >>conftest.$ac_ext
13996 cat >>conftest.$ac_ext <<_ACEOF
13997 /* end confdefs.h. */
13998 #ifdef HAVE_ALSA_ASOUNDLIB_H
13999 #include <alsa/asoundlib.h>
14000 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14001 #include <sys/asoundlib.h>
14006 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14011 rm -f conftest.$ac_objext
14012 if { (ac_try="$ac_compile"
14013 case "(($ac_try" in
14014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14015 *) ac_try_echo
=$ac_try;;
14017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14018 (eval "$ac_compile") 2>conftest.er1
14020 grep -v '^ *+' conftest.er1
>conftest.err
14022 cat conftest.err
>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } &&
14025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14026 { (case "(($ac_try" in
14027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14028 *) ac_try_echo=$ac_try;;
14030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14031 (eval "$ac_try") 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; } &&
14035 { ac_try='test -s conftest.$ac_objext'
14036 { (case "(($ac_try" in
14037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14038 *) ac_try_echo
=$ac_try;;
14040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14041 (eval "$ac_try") 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; }; then
14046 cat >>confdefs.h
<<\_ACEOF
14047 #define HAVE_ALSA 1
14050 ALSALIBS
="-lasound"
14052 echo "$as_me: failed program was:" >&5
14053 sed 's/^/| /' conftest.
$ac_ext >&5
14058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14066 if test "$ac_cv_header_libaudioio_h" = "yes"
14068 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14069 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14070 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14073 ac_check_lib_save_LIBS
=$LIBS
14074 LIBS
="-laudioio $LIBS"
14075 cat >conftest.
$ac_ext <<_ACEOF
14078 cat confdefs.h
>>conftest.
$ac_ext
14079 cat >>conftest.
$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14082 /* Override any GCC internal prototype to avoid an error.
14083 Use char because int might match the return type of a GCC
14084 builtin and then its argument prototype would still apply. */
14088 char AudioIOGetVersion ();
14092 return AudioIOGetVersion ();
14097 rm -f conftest.
$ac_objext conftest
$ac_exeext
14098 if { (ac_try
="$ac_link"
14099 case "(($ac_try" in
14100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14101 *) ac_try_echo=$ac_try;;
14103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14104 (eval "$ac_link") 2>conftest.er1
14106 grep -v '^ *+' conftest.er1 >conftest.err
14108 cat conftest.err >&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); } &&
14111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14112 { (case "(($ac_try" in
14113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14114 *) ac_try_echo
=$ac_try;;
14116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14117 (eval "$ac_try") 2>&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; } &&
14121 { ac_try
='test -s conftest$ac_exeext'
14122 { (case "(($ac_try" in
14123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14124 *) ac_try_echo=$ac_try;;
14126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14127 (eval "$ac_try") 2>&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; }; then
14131 ac_cv_lib_audioio_AudioIOGetVersion=yes
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.$ac_ext >&5
14136 ac_cv_lib_audioio_AudioIOGetVersion=no
14139 rm -f core conftest.err conftest.$ac_objext \
14140 conftest$ac_exeext conftest.$ac_ext
14141 LIBS=$ac_check_lib_save_LIBS
14143 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14144 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14145 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14146 AUDIOIOLIBS="-laudioio"
14148 cat >>confdefs.h <<\_ACEOF
14149 #define HAVE_LIBAUDIOIO 1
14157 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14159 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14160 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14161 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14162 echo $ECHO_N "(cached) $ECHO_C" >&6
14164 ac_check_lib_save_LIBS=$LIBS
14165 LIBS="-lcapi20 $LIBS"
14166 cat >conftest.$ac_ext <<_ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14173 /* Override any GCC internal prototype to avoid an error.
14174 Use char because int might match the return type of a GCC
14175 builtin and then its argument prototype would still apply. */
14179 char capi20_register ();
14183 return capi20_register ();
14188 rm -f conftest.$ac_objext conftest$ac_exeext
14189 if { (ac_try="$ac_link"
14190 case "(($ac_try" in
14191 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14192 *) ac_try_echo
=$ac_try;;
14194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14195 (eval "$ac_link") 2>conftest.er1
14197 grep -v '^ *+' conftest.er1
>conftest.err
14199 cat conftest.err
>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); } &&
14202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14203 { (case "(($ac_try" in
14204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14205 *) ac_try_echo=$ac_try;;
14207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14208 (eval "$ac_try") 2>&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); }; } &&
14212 { ac_try='test -s conftest$ac_exeext'
14213 { (case "(($ac_try" in
14214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14215 *) ac_try_echo
=$ac_try;;
14217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14218 (eval "$ac_try") 2>&5
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; }; then
14222 ac_cv_lib_capi20_capi20_register
=yes
14224 echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.
$ac_ext >&5
14227 ac_cv_lib_capi20_capi20_register
=no
14230 rm -f core conftest.err conftest.
$ac_objext \
14231 conftest
$ac_exeext conftest.
$ac_ext
14232 LIBS
=$ac_check_lib_save_LIBS
14234 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14235 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14236 if test $ac_cv_lib_capi20_capi20_register = yes; then
14238 cat >>confdefs.h
<<\_ACEOF
14239 #define HAVE_CAPI4LINUX 1
14249 if test "x${GCC}" = "xyes"
14251 EXTRACFLAGS
="-Wall -pipe"
14253 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14254 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14255 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14256 echo $ECHO_N "(cached) $ECHO_C" >&6
14258 if test "$cross_compiling" = yes; then
14259 ac_cv_c_gcc_strength_bug
="yes"
14261 cat >conftest.
$ac_ext <<_ACEOF
14264 cat confdefs.h
>>conftest.
$ac_ext
14265 cat >>conftest.
$ac_ext <<_ACEOF
14266 /* end confdefs.h. */
14268 int L[4] = {0,1,2,3};
14270 static int Array[3];
14271 unsigned int B = 3;
14273 for(i=0; i<B; i++) Array[i] = i - 3;
14274 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14277 exit( Array[1] != -2 || L[2] != 3);
14280 rm -f conftest
$ac_exeext
14281 if { (ac_try
="$ac_link"
14282 case "(($ac_try" in
14283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14284 *) ac_try_echo=$ac_try;;
14286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14287 (eval "$ac_link") 2>&5
14289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14290 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14291 { (case "(($ac_try" in
14292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14293 *) ac_try_echo
=$ac_try;;
14295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14296 (eval "$ac_try") 2>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); }; }; then
14300 ac_cv_c_gcc_strength_bug
="no"
14302 echo "$as_me: program exited with status $ac_status" >&5
14303 echo "$as_me: failed program was:" >&5
14304 sed 's/^/| /' conftest.
$ac_ext >&5
14306 ( exit $ac_status )
14307 ac_cv_c_gcc_strength_bug
="yes"
14309 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14314 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14315 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14316 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14318 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14322 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14323 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14324 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 ac_wine_try_cflags_saved
=$CFLAGS
14328 CFLAGS
="$CFLAGS -fshort-wchar"
14329 cat >conftest.
$ac_ext <<_ACEOF
14332 cat confdefs.h
>>conftest.
$ac_ext
14333 cat >>conftest.
$ac_ext <<_ACEOF
14334 /* end confdefs.h. */
14344 rm -f conftest.
$ac_objext conftest
$ac_exeext
14345 if { (ac_try
="$ac_link"
14346 case "(($ac_try" in
14347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14348 *) ac_try_echo=$ac_try;;
14350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14351 (eval "$ac_link") 2>conftest.er1
14353 grep -v '^ *+' conftest.er1 >conftest.err
14355 cat conftest.err >&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); } &&
14358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14359 { (case "(($ac_try" in
14360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14361 *) ac_try_echo
=$ac_try;;
14363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14364 (eval "$ac_try") 2>&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; } &&
14368 { ac_try
='test -s conftest$ac_exeext'
14369 { (case "(($ac_try" in
14370 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14371 *) ac_try_echo=$ac_try;;
14373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14374 (eval "$ac_try") 2>&5
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; }; then
14378 ac_cv_cflags__fshort_wchar=yes
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.$ac_ext >&5
14383 ac_cv_cflags__fshort_wchar=no
14386 rm -f core conftest.err conftest.$ac_objext \
14387 conftest$ac_exeext conftest.$ac_ext
14388 CFLAGS=$ac_wine_try_cflags_saved
14390 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14391 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14392 if test $ac_cv_cflags__fshort_wchar = yes; then
14394 cat >>confdefs.h <<\_ACEOF
14395 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14400 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14401 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14402 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14405 ac_wine_try_cflags_saved=$CFLAGS
14406 CFLAGS="$CFLAGS -fno-strict-aliasing"
14407 cat >conftest.$ac_ext <<_ACEOF
14410 cat confdefs.h >>conftest.$ac_ext
14411 cat >>conftest.$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14422 rm -f conftest.$ac_objext conftest$ac_exeext
14423 if { (ac_try="$ac_link"
14424 case "(($ac_try" in
14425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14426 *) ac_try_echo
=$ac_try;;
14428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14429 (eval "$ac_link") 2>conftest.er1
14431 grep -v '^ *+' conftest.er1
>conftest.err
14433 cat conftest.err
>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); } &&
14436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14437 { (case "(($ac_try" in
14438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14439 *) ac_try_echo=$ac_try;;
14441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14442 (eval "$ac_try") 2>&5
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); }; } &&
14446 { ac_try='test -s conftest$ac_exeext'
14447 { (case "(($ac_try" in
14448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14449 *) ac_try_echo
=$ac_try;;
14451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14452 (eval "$ac_try") 2>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; }; then
14456 ac_cv_cflags__fno_strict_aliasing
=yes
14458 echo "$as_me: failed program was:" >&5
14459 sed 's/^/| /' conftest.
$ac_ext >&5
14461 ac_cv_cflags__fno_strict_aliasing
=no
14464 rm -f core conftest.err conftest.
$ac_objext \
14465 conftest
$ac_exeext conftest.
$ac_ext
14466 CFLAGS
=$ac_wine_try_cflags_saved
14468 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14469 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14470 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14471 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14474 { echo "$as_me:$LINENO: checking whether the compiler supports -gstabs+" >&5
14475 echo $ECHO_N "checking whether the compiler supports -gstabs+... $ECHO_C" >&6; }
14476 if test "${ac_cv_cflags__gstabsp+set}" = set; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 ac_wine_try_cflags_saved
=$CFLAGS
14480 CFLAGS
="$CFLAGS -gstabs+"
14481 cat >conftest.
$ac_ext <<_ACEOF
14484 cat confdefs.h
>>conftest.
$ac_ext
14485 cat >>conftest.
$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14496 rm -f conftest.
$ac_objext conftest
$ac_exeext
14497 if { (ac_try
="$ac_link"
14498 case "(($ac_try" in
14499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_link") 2>conftest.er1
14505 grep -v '^ *+' conftest.er1 >conftest.err
14507 cat conftest.err >&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); } &&
14510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14511 { (case "(($ac_try" in
14512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14513 *) ac_try_echo
=$ac_try;;
14515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14516 (eval "$ac_try") 2>&5
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); }; } &&
14520 { ac_try
='test -s conftest$ac_exeext'
14521 { (case "(($ac_try" in
14522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14523 *) ac_try_echo=$ac_try;;
14525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14526 (eval "$ac_try") 2>&5
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; }; then
14530 ac_cv_cflags__gstabsp=yes
14532 echo "$as_me: failed program was:" >&5
14533 sed 's/^/| /' conftest.$ac_ext >&5
14535 ac_cv_cflags__gstabsp=no
14538 rm -f core conftest.err conftest.$ac_objext \
14539 conftest$ac_exeext conftest.$ac_ext
14540 CFLAGS=$ac_wine_try_cflags_saved
14542 { echo "$as_me:$LINENO: result: $ac_cv_cflags__gstabsp" >&5
14543 echo "${ECHO_T}$ac_cv_cflags__gstabsp" >&6; }
14544 if test $ac_cv_cflags__gstabsp = yes; then
14545 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
14548 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14549 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14550 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 ac_wine_try_cflags_saved=$CFLAGS
14554 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14555 cat >conftest.$ac_ext <<_ACEOF
14558 cat confdefs.h >>conftest.$ac_ext
14559 cat >>conftest.$ac_ext <<_ACEOF
14560 /* end confdefs.h. */
14570 rm -f conftest.$ac_objext conftest$ac_exeext
14571 if { (ac_try="$ac_link"
14572 case "(($ac_try" in
14573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14574 *) ac_try_echo
=$ac_try;;
14576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14577 (eval "$ac_link") 2>conftest.er1
14579 grep -v '^ *+' conftest.er1
>conftest.err
14581 cat conftest.err
>&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); } &&
14584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14585 { (case "(($ac_try" in
14586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14587 *) ac_try_echo=$ac_try;;
14589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14590 (eval "$ac_try") 2>&5
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; } &&
14594 { ac_try='test -s conftest$ac_exeext'
14595 { (case "(($ac_try" in
14596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14597 *) ac_try_echo
=$ac_try;;
14599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14600 (eval "$ac_try") 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 ac_cv_cflags__Wdeclaration_after_statement
=yes
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.
$ac_ext >&5
14609 ac_cv_cflags__Wdeclaration_after_statement
=no
14612 rm -f core conftest.err conftest.
$ac_objext \
14613 conftest
$ac_exeext conftest.
$ac_ext
14614 CFLAGS
=$ac_wine_try_cflags_saved
14616 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14617 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14618 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14619 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14622 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14623 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14624 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14625 echo $ECHO_N "(cached) $ECHO_C" >&6
14627 ac_wine_try_cflags_saved
=$CFLAGS
14628 CFLAGS
="$CFLAGS -Wwrite-strings"
14629 cat >conftest.
$ac_ext <<_ACEOF
14632 cat confdefs.h
>>conftest.
$ac_ext
14633 cat >>conftest.
$ac_ext <<_ACEOF
14634 /* end confdefs.h. */
14644 rm -f conftest.
$ac_objext conftest
$ac_exeext
14645 if { (ac_try
="$ac_link"
14646 case "(($ac_try" in
14647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14648 *) ac_try_echo=$ac_try;;
14650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14651 (eval "$ac_link") 2>conftest.er1
14653 grep -v '^ *+' conftest.er1 >conftest.err
14655 cat conftest.err >&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14659 { (case "(($ac_try" in
14660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14661 *) ac_try_echo
=$ac_try;;
14663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14664 (eval "$ac_try") 2>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); }; } &&
14668 { ac_try
='test -s conftest$ac_exeext'
14669 { (case "(($ac_try" in
14670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14671 *) ac_try_echo=$ac_try;;
14673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14674 (eval "$ac_try") 2>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); }; }; then
14678 ac_cv_cflags__Wwrite_strings=yes
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14683 ac_cv_cflags__Wwrite_strings=no
14686 rm -f core conftest.err conftest.$ac_objext \
14687 conftest$ac_exeext conftest.$ac_ext
14688 CFLAGS=$ac_wine_try_cflags_saved
14690 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14691 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14692 if test $ac_cv_cflags__Wwrite_strings = yes; then
14693 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14697 saved_CFLAGS="$CFLAGS"
14698 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14699 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14700 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14701 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14702 echo $ECHO_N "(cached) $ECHO_C" >&6
14704 cat >conftest.$ac_ext <<_ACEOF
14707 cat confdefs.h >>conftest.$ac_ext
14708 cat >>conftest.$ac_ext <<_ACEOF
14709 /* end confdefs.h. */
14710 #include <string.h>
14719 rm -f conftest.$ac_objext
14720 if { (ac_try="$ac_compile"
14721 case "(($ac_try" in
14722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14723 *) ac_try_echo
=$ac_try;;
14725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14726 (eval "$ac_compile") 2>conftest.er1
14728 grep -v '^ *+' conftest.er1
>conftest.err
14730 cat conftest.err
>&5
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } &&
14733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14734 { (case "(($ac_try" in
14735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14736 *) ac_try_echo=$ac_try;;
14738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14739 (eval "$ac_try") 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; } &&
14743 { ac_try='test -s conftest.$ac_objext'
14744 { (case "(($ac_try" in
14745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14746 *) ac_try_echo
=$ac_try;;
14748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14749 (eval "$ac_try") 2>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; }; then
14753 ac_cv_c_string_h_warnings
=no
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.
$ac_ext >&5
14758 ac_cv_c_string_h_warnings
=yes
14761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14763 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14764 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14765 CFLAGS
="$saved_CFLAGS"
14766 if test "$ac_cv_c_string_h_warnings" = "no"
14768 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14773 saved_CFLAGS
="$CFLAGS"
14774 CFLAGS
="$CFLAGS -Werror"
14775 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14776 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14777 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 cat >conftest.
$ac_ext <<_ACEOF
14783 cat confdefs.h
>>conftest.
$ac_ext
14784 cat >>conftest.
$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14790 int iswlower(unsigned short);
14795 rm -f conftest.
$ac_objext
14796 if { (ac_try
="$ac_compile"
14797 case "(($ac_try" in
14798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14799 *) ac_try_echo=$ac_try;;
14801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14802 (eval "$ac_compile") 2>conftest.er1
14804 grep -v '^ *+' conftest.er1 >conftest.err
14806 cat conftest.err >&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } &&
14809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14810 { (case "(($ac_try" in
14811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14812 *) ac_try_echo
=$ac_try;;
14814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14815 (eval "$ac_try") 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; } &&
14819 { ac_try
='test -s conftest.$ac_objext'
14820 { (case "(($ac_try" in
14821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14822 *) ac_try_echo=$ac_try;;
14824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14825 (eval "$ac_try") 2>&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 ac_cv_c_builtin_wchar_ctype=no
14831 echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.$ac_ext >&5
14834 ac_cv_c_builtin_wchar_ctype=yes
14837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14839 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14840 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14841 CFLAGS="$saved_CFLAGS"
14842 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14844 BUILTINFLAG="-fno-builtin"
14849 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14850 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14851 if test "${ac_cv_asm_func_def+set}" = set; then
14852 echo $ECHO_N "(cached) $ECHO_C" >&6
14854 cat >conftest.$ac_ext <<_ACEOF
14857 cat confdefs.h >>conftest.$ac_ext
14858 cat >>conftest.$ac_ext <<_ACEOF
14859 /* end confdefs.h. */
14860 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"); }
14870 rm -f conftest.$ac_objext conftest$ac_exeext
14871 if { (ac_try="$ac_link"
14872 case "(($ac_try" in
14873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14874 *) ac_try_echo
=$ac_try;;
14876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14877 (eval "$ac_link") 2>conftest.er1
14879 grep -v '^ *+' conftest.er1
>conftest.err
14881 cat conftest.err
>&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } &&
14884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14885 { (case "(($ac_try" in
14886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14887 *) ac_try_echo=$ac_try;;
14889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14890 (eval "$ac_try") 2>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; } &&
14894 { ac_try='test -s conftest$ac_exeext'
14895 { (case "(($ac_try" in
14896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14897 *) ac_try_echo
=$ac_try;;
14899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14900 (eval "$ac_try") 2>&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }; }; then
14904 ac_cv_asm_func_def
=".def"
14906 echo "$as_me: failed program was:" >&5
14907 sed 's/^/| /' conftest.
$ac_ext >&5
14909 cat >conftest.
$ac_ext <<_ACEOF
14912 cat confdefs.h
>>conftest.
$ac_ext
14913 cat >>conftest.
$ac_ext <<_ACEOF
14914 /* end confdefs.h. */
14915 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14925 rm -f conftest.
$ac_objext conftest
$ac_exeext
14926 if { (ac_try
="$ac_link"
14927 case "(($ac_try" in
14928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14929 *) ac_try_echo=$ac_try;;
14931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14932 (eval "$ac_link") 2>conftest.er1
14934 grep -v '^ *+' conftest.er1 >conftest.err
14936 cat conftest.err >&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14940 { (case "(($ac_try" in
14941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14942 *) ac_try_echo
=$ac_try;;
14944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14945 (eval "$ac_try") 2>&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; } &&
14949 { ac_try
='test -s conftest$ac_exeext'
14950 { (case "(($ac_try" in
14951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14952 *) ac_try_echo=$ac_try;;
14954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14955 (eval "$ac_try") 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }; }; then
14959 ac_cv_asm_func_def=".type @function"
14961 echo "$as_me: failed program was:" >&5
14962 sed 's/^/| /' conftest.$ac_ext >&5
14964 cat >conftest.$ac_ext <<_ACEOF
14967 cat confdefs.h >>conftest.$ac_ext
14968 cat >>conftest.$ac_ext <<_ACEOF
14969 /* end confdefs.h. */
14970 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14980 rm -f conftest.$ac_objext conftest$ac_exeext
14981 if { (ac_try="$ac_link"
14982 case "(($ac_try" in
14983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14984 *) ac_try_echo
=$ac_try;;
14986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14987 (eval "$ac_link") 2>conftest.er1
14989 grep -v '^ *+' conftest.er1
>conftest.err
14991 cat conftest.err
>&5
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); } &&
14994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14995 { (case "(($ac_try" in
14996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14997 *) ac_try_echo=$ac_try;;
14999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15000 (eval "$ac_try") 2>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; } &&
15004 { ac_try='test -s conftest$ac_exeext'
15005 { (case "(($ac_try" in
15006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15007 *) ac_try_echo
=$ac_try;;
15009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15010 (eval "$ac_try") 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; }; then
15014 ac_cv_asm_func_def
=".type 2"
15016 echo "$as_me: failed program was:" >&5
15017 sed 's/^/| /' conftest.
$ac_ext >&5
15019 ac_cv_asm_func_def
="unknown"
15022 rm -f core conftest.err conftest.
$ac_objext \
15023 conftest
$ac_exeext conftest.
$ac_ext
15026 rm -f core conftest.err conftest.
$ac_objext \
15027 conftest
$ac_exeext conftest.
$ac_ext
15030 rm -f core conftest.err conftest.
$ac_objext \
15031 conftest
$ac_exeext conftest.
$ac_ext
15033 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15034 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15038 case "$ac_cv_asm_func_def" in
15040 cat >>confdefs.h
<<\_ACEOF
15041 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15045 cat >>confdefs.h
<<\_ACEOF
15046 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15050 cat >>confdefs.h
<<\_ACEOF
15051 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15055 cat >>confdefs.h
<<\_ACEOF
15056 #define __ASM_FUNC(name) ""
15062 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15063 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15064 if test "${ac_cv_c_extern_prefix+set}" = set; then
15065 echo $ECHO_N "(cached) $ECHO_C" >&6
15067 cat >conftest.
$ac_ext <<_ACEOF
15070 cat confdefs.h
>>conftest.
$ac_ext
15071 cat >>conftest.
$ac_ext <<_ACEOF
15072 /* end confdefs.h. */
15073 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15074 extern int ac_test;
15078 if (ac_test) return 1
15083 rm -f conftest.
$ac_objext conftest
$ac_exeext
15084 if { (ac_try
="$ac_link"
15085 case "(($ac_try" in
15086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15087 *) ac_try_echo=$ac_try;;
15089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15090 (eval "$ac_link") 2>conftest.er1
15092 grep -v '^ *+' conftest.er1 >conftest.err
15094 cat conftest.err >&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); } &&
15097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15098 { (case "(($ac_try" in
15099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15100 *) ac_try_echo
=$ac_try;;
15102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15103 (eval "$ac_try") 2>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); }; } &&
15107 { ac_try
='test -s conftest$ac_exeext'
15108 { (case "(($ac_try" in
15109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15110 *) ac_try_echo=$ac_try;;
15112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15113 (eval "$ac_try") 2>&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); }; }; then
15117 ac_cv_c_extern_prefix="yes"
15119 echo "$as_me: failed program was:" >&5
15120 sed 's/^/| /' conftest.$ac_ext >&5
15122 ac_cv_c_extern_prefix="no"
15125 rm -f core conftest.err conftest.$ac_objext \
15126 conftest$ac_exeext conftest.$ac_ext
15128 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15129 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15133 if test "$ac_cv_c_extern_prefix" = "yes"
15135 cat >>confdefs.h <<\_ACEOF
15136 #define __ASM_NAME(name) "_" name
15140 cat >>confdefs.h <<\_ACEOF
15141 #define __ASM_NAME(name) name
15149 DLLFLAGS="-D_REENTRANT"
15164 if test -n "$ac_tool_prefix"; then
15165 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15166 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15169 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15170 echo $ECHO_N "(cached) $ECHO_C" >&6
15172 if test -n "$DLLTOOL"; then
15173 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15176 for as_dir in $PATH
15179 test -z "$as_dir" && as_dir=.
15180 for ac_exec_ext in '' $ac_executable_extensions; do
15181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15182 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15192 DLLTOOL=$ac_cv_prog_DLLTOOL
15193 if test -n "$DLLTOOL"; then
15194 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15195 echo "${ECHO_T}$DLLTOOL" >&6; }
15197 { echo "$as_me:$LINENO: result: no" >&5
15198 echo "${ECHO_T}no" >&6; }
15203 if test -z "$ac_cv_prog_DLLTOOL"; then
15204 ac_ct_DLLTOOL=$DLLTOOL
15205 # Extract the first word of "dlltool", so it can be a program name with args.
15206 set dummy dlltool; ac_word=$2
15207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15209 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15210 echo $ECHO_N "(cached) $ECHO_C" >&6
15212 if test -n "$ac_ct_DLLTOOL"; then
15213 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15216 for as_dir in $PATH
15219 test -z "$as_dir" && as_dir=.
15220 for ac_exec_ext in '' $ac_executable_extensions; do
15221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15222 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15232 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15233 if test -n "$ac_ct_DLLTOOL"; then
15234 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15235 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15237 { echo "$as_me:$LINENO: result: no" >&5
15238 echo "${ECHO_T}no" >&6; }
15241 if test "x$ac_ct_DLLTOOL" = x; then
15244 case $cross_compiling:$ac_tool_warned in
15246 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15247 whose name does not start with the host triplet. If you think this
15248 configuration is useful to you, please write to autoconf@gnu.org." >&5
15249 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15250 whose name does not start with the host triplet. If you think this
15251 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15252 ac_tool_warned=yes ;;
15254 DLLTOOL=$ac_ct_DLLTOOL
15257 DLLTOOL="$ac_cv_prog_DLLTOOL"
15260 if test -n "$ac_tool_prefix"; then
15261 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15262 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15265 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 if test -n "$DLLWRAP"; then
15269 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15272 for as_dir in $PATH
15275 test -z "$as_dir" && as_dir=.
15276 for ac_exec_ext in '' $ac_executable_extensions; do
15277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15278 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15288 DLLWRAP=$ac_cv_prog_DLLWRAP
15289 if test -n "$DLLWRAP"; then
15290 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15291 echo "${ECHO_T}$DLLWRAP" >&6; }
15293 { echo "$as_me:$LINENO: result: no" >&5
15294 echo "${ECHO_T}no" >&6; }
15299 if test -z "$ac_cv_prog_DLLWRAP"; then
15300 ac_ct_DLLWRAP=$DLLWRAP
15301 # Extract the first word of "dllwrap", so it can be a program name with args.
15302 set dummy dllwrap; ac_word=$2
15303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15305 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15306 echo $ECHO_N "(cached) $ECHO_C" >&6
15308 if test -n "$ac_ct_DLLWRAP"; then
15309 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15312 for as_dir in $PATH
15315 test -z "$as_dir" && as_dir=.
15316 for ac_exec_ext in '' $ac_executable_extensions; do
15317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15318 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15328 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15329 if test -n "$ac_ct_DLLWRAP"; then
15330 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15331 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15333 { echo "$as_me:$LINENO: result: no" >&5
15334 echo "${ECHO_T}no" >&6; }
15337 if test "x$ac_ct_DLLWRAP" = x; then
15340 case $cross_compiling:$ac_tool_warned in
15342 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15343 whose name does not start with the host triplet. If you think this
15344 configuration is useful to you, please write to autoconf@gnu.org." >&5
15345 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15346 whose name does not start with the host triplet. If you think this
15347 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15348 ac_tool_warned=yes ;;
15350 DLLWRAP=$ac_ct_DLLWRAP
15353 DLLWRAP="$ac_cv_prog_DLLWRAP"
15356 if test "$DLLWRAP" = "false"; then
15368 DLLFLAGS="$DLLFLAGS -fPIC"
15369 LDDLLFLAGS="-bundle -multiply_defined suppress"
15370 LIBWINE_LDFLAGS="-multiply_defined suppress"
15371 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/\$(DYNAME)"
15372 STRIP="$STRIP -u -r"
15373 COREFOUNDATIONLIB="-framework CoreFoundation"
15375 IOKITLIB="-framework IOKit -framework CoreFoundation"
15377 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15379 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15381 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15386 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15390 DLLFLAGS="$DLLFLAGS -fPIC"
15392 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15393 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15394 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15395 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 ac_wine_try_cflags_saved=$CFLAGS
15398 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15399 cat >conftest.$ac_ext <<_ACEOF
15402 rm -f conftest.$ac_objext conftest$ac_exeext
15403 if { (ac_try="$ac_link"
15404 case "(($ac_try" in
15405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15406 *) ac_try_echo
=$ac_try;;
15408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15409 (eval "$ac_link") 2>conftest.er1
15411 grep -v '^ *+' conftest.er1
>conftest.err
15413 cat conftest.err
>&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); } &&
15416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15417 { (case "(($ac_try" in
15418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15419 *) ac_try_echo=$ac_try;;
15421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15422 (eval "$ac_try") 2>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; } &&
15426 { ac_try='test -s conftest$ac_exeext'
15427 { (case "(($ac_try" in
15428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15429 *) ac_try_echo
=$ac_try;;
15431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15432 (eval "$ac_try") 2>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; }; then
15436 ac_cv_c_dll_gnuelf
="yes"
15438 echo "$as_me: failed program was:" >&5
15439 sed 's/^/| /' conftest.
$ac_ext >&5
15441 ac_cv_c_dll_gnuelf
="no"
15444 rm -f core conftest.err conftest.
$ac_objext \
15445 conftest
$ac_exeext conftest.
$ac_ext
15446 CFLAGS
=$ac_wine_try_cflags_saved
15448 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15449 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15450 if test "$ac_cv_c_dll_gnuelf" = "yes"
15452 LDSHARED
="\$(CC) -shared"
15453 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
15454 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15455 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15456 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15457 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 ac_wine_try_cflags_saved
=$CFLAGS
15460 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15461 cat >conftest.
$ac_ext <<_ACEOF
15464 cat confdefs.h
>>conftest.
$ac_ext
15465 cat >>conftest.
$ac_ext <<_ACEOF
15466 /* end confdefs.h. */
15476 rm -f conftest.
$ac_objext conftest
$ac_exeext
15477 if { (ac_try
="$ac_link"
15478 case "(($ac_try" in
15479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15480 *) ac_try_echo=$ac_try;;
15482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15483 (eval "$ac_link") 2>conftest.er1
15485 grep -v '^ *+' conftest.er1 >conftest.err
15487 cat conftest.err >&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); } &&
15490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15491 { (case "(($ac_try" in
15492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15493 *) ac_try_echo
=$ac_try;;
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_try") 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; } &&
15500 { ac_try
='test -s conftest$ac_exeext'
15501 { (case "(($ac_try" in
15502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15503 *) ac_try_echo=$ac_try;;
15505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15506 (eval "$ac_try") 2>&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; }; then
15510 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15512 echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.$ac_ext >&5
15515 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15518 rm -f core conftest.err conftest.$ac_objext \
15519 conftest$ac_exeext conftest.$ac_ext
15520 CFLAGS=$ac_wine_try_cflags_saved
15522 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15523 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15524 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15525 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15527 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15528 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15529 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15530 echo $ECHO_N "(cached) $ECHO_C" >&6
15532 ac_wine_try_cflags_saved=$CFLAGS
15533 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15534 cat >conftest.$ac_ext <<_ACEOF
15537 cat confdefs.h >>conftest.$ac_ext
15538 cat >>conftest.$ac_ext <<_ACEOF
15539 /* end confdefs.h. */
15549 rm -f conftest.$ac_objext conftest$ac_exeext
15550 if { (ac_try="$ac_link"
15551 case "(($ac_try" in
15552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15553 *) ac_try_echo
=$ac_try;;
15555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15556 (eval "$ac_link") 2>conftest.er1
15558 grep -v '^ *+' conftest.er1
>conftest.err
15560 cat conftest.err
>&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); } &&
15563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15564 { (case "(($ac_try" in
15565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15566 *) ac_try_echo=$ac_try;;
15568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15569 (eval "$ac_try") 2>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; } &&
15573 { ac_try='test -s conftest$ac_exeext'
15574 { (case "(($ac_try" in
15575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15576 *) ac_try_echo
=$ac_try;;
15578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15579 (eval "$ac_try") 2>&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); }; }; then
15583 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
15585 echo "$as_me: failed program was:" >&5
15586 sed 's/^/| /' conftest.
$ac_ext >&5
15588 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
15591 rm -f core conftest.err conftest.
$ac_objext \
15592 conftest
$ac_exeext conftest.
$ac_ext
15593 CFLAGS
=$ac_wine_try_cflags_saved
15595 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15596 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15597 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15598 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15604 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15605 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15606 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15607 echo $ECHO_N "(cached) $ECHO_C" >&6
15609 ac_wine_try_cflags_saved
=$CFLAGS
15610 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15611 cat >conftest.
$ac_ext <<_ACEOF
15614 cat confdefs.h
>>conftest.
$ac_ext
15615 cat >>conftest.
$ac_ext <<_ACEOF
15616 /* end confdefs.h. */
15626 rm -f conftest.
$ac_objext conftest
$ac_exeext
15627 if { (ac_try
="$ac_link"
15628 case "(($ac_try" in
15629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15630 *) ac_try_echo=$ac_try;;
15632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15633 (eval "$ac_link") 2>conftest.er1
15635 grep -v '^ *+' conftest.er1 >conftest.err
15637 cat conftest.err >&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } &&
15640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15641 { (case "(($ac_try" in
15642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15643 *) ac_try_echo
=$ac_try;;
15645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15646 (eval "$ac_try") 2>&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); }; } &&
15650 { ac_try
='test -s conftest$ac_exeext'
15651 { (case "(($ac_try" in
15652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15653 *) ac_try_echo=$ac_try;;
15655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15656 (eval "$ac_try") 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; }; then
15660 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15662 echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.$ac_ext >&5
15665 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15668 rm -f core conftest.err conftest.$ac_objext \
15669 conftest$ac_exeext conftest.$ac_ext
15670 CFLAGS=$ac_wine_try_cflags_saved
15672 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15673 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15674 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15675 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15679 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15680 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15681 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15682 echo $ECHO_N "(cached) $ECHO_C" >&6
15684 ac_wine_try_cflags_saved=$CFLAGS
15685 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15686 cat >conftest.$ac_ext <<_ACEOF
15689 cat confdefs.h >>conftest.$ac_ext
15690 cat >>conftest.$ac_ext <<_ACEOF
15691 /* end confdefs.h. */
15701 rm -f conftest.$ac_objext conftest$ac_exeext
15702 if { (ac_try="$ac_link"
15703 case "(($ac_try" in
15704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15705 *) ac_try_echo
=$ac_try;;
15707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15708 (eval "$ac_link") 2>conftest.er1
15710 grep -v '^ *+' conftest.er1
>conftest.err
15712 cat conftest.err
>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); } &&
15715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; } &&
15725 { ac_try='test -s conftest$ac_exeext'
15726 { (case "(($ac_try" in
15727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15728 *) ac_try_echo
=$ac_try;;
15730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15731 (eval "$ac_try") 2>&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); }; }; then
15735 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
15737 echo "$as_me: failed program was:" >&5
15738 sed 's/^/| /' conftest.
$ac_ext >&5
15740 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
15743 rm -f core conftest.err conftest.
$ac_objext \
15744 conftest
$ac_exeext conftest.
$ac_ext
15745 CFLAGS
=$ac_wine_try_cflags_saved
15747 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15748 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15749 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15750 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15754 echo '{ global: *; };' >conftest.map
15755 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15756 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15757 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15758 echo $ECHO_N "(cached) $ECHO_C" >&6
15760 ac_wine_try_cflags_saved
=$CFLAGS
15761 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15762 cat >conftest.
$ac_ext <<_ACEOF
15765 cat confdefs.h
>>conftest.
$ac_ext
15766 cat >>conftest.
$ac_ext <<_ACEOF
15767 /* end confdefs.h. */
15777 rm -f conftest.
$ac_objext conftest
$ac_exeext
15778 if { (ac_try
="$ac_link"
15779 case "(($ac_try" in
15780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15781 *) ac_try_echo=$ac_try;;
15783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15784 (eval "$ac_link") 2>conftest.er1
15786 grep -v '^ *+' conftest.er1 >conftest.err
15788 cat conftest.err >&5
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); } &&
15791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15792 { (case "(($ac_try" in
15793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15794 *) ac_try_echo
=$ac_try;;
15796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15797 (eval "$ac_try") 2>&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); }; } &&
15801 { ac_try
='test -s conftest$ac_exeext'
15802 { (case "(($ac_try" in
15803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15804 *) ac_try_echo=$ac_try;;
15806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15807 (eval "$ac_try") 2>&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); }; }; then
15811 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.$ac_ext >&5
15816 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15819 rm -f core conftest.err conftest.$ac_objext \
15820 conftest$ac_exeext conftest.$ac_ext
15821 CFLAGS=$ac_wine_try_cflags_saved
15823 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15824 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15825 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15826 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15831 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15832 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15833 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15834 echo $ECHO_N "(cached) $ECHO_C" >&6
15836 ac_wine_try_cflags_saved=$CFLAGS
15837 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15838 cat >conftest.$ac_ext <<_ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15853 rm -f conftest.$ac_objext conftest$ac_exeext
15854 if { (ac_try="$ac_link"
15855 case "(($ac_try" in
15856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15857 *) ac_try_echo
=$ac_try;;
15859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15860 (eval "$ac_link") 2>conftest.er1
15862 grep -v '^ *+' conftest.er1
>conftest.err
15864 cat conftest.err
>&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); } &&
15867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15868 { (case "(($ac_try" in
15869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15870 *) ac_try_echo=$ac_try;;
15872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873 (eval "$ac_try") 2>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; } &&
15877 { ac_try='test -s conftest$ac_exeext'
15878 { (case "(($ac_try" in
15879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15880 *) ac_try_echo
=$ac_try;;
15882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15883 (eval "$ac_try") 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15887 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
15889 echo "$as_me: failed program was:" >&5
15890 sed 's/^/| /' conftest.
$ac_ext >&5
15892 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
15895 rm -f core conftest.err conftest.
$ac_objext \
15896 conftest
$ac_exeext conftest.
$ac_ext
15897 CFLAGS
=$ac_wine_try_cflags_saved
15899 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15900 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15901 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15902 LDEXECFLAGS
="-Wl,--export-dynamic"
15907 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15908 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15909 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15910 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15911 echo $ECHO_N "(cached) $ECHO_C" >&6
15913 ac_wine_try_cflags_saved
=$CFLAGS
15914 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15915 cat >conftest.
$ac_ext <<_ACEOF
15918 cat confdefs.h
>>conftest.
$ac_ext
15919 cat >>conftest.
$ac_ext <<_ACEOF
15920 /* end confdefs.h. */
15930 rm -f conftest.
$ac_objext conftest
$ac_exeext
15931 if { (ac_try
="$ac_link"
15932 case "(($ac_try" in
15933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15934 *) ac_try_echo=$ac_try;;
15936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15937 (eval "$ac_link") 2>conftest.er1
15939 grep -v '^ *+' conftest.er1 >conftest.err
15941 cat conftest.err >&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); } &&
15944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15945 { (case "(($ac_try" in
15946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15947 *) ac_try_echo
=$ac_try;;
15949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15950 (eval "$ac_try") 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; } &&
15954 { ac_try
='test -s conftest$ac_exeext'
15955 { (case "(($ac_try" in
15956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15957 *) ac_try_echo=$ac_try;;
15959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15960 (eval "$ac_try") 2>&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; }; then
15964 eval "$as_ac_var=yes"
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.$ac_ext >&5
15969 eval "$as_ac_var=no"
15972 rm -f core conftest.err conftest.$ac_objext \
15973 conftest$ac_exeext conftest.$ac_ext
15974 CFLAGS=$ac_wine_try_cflags_saved
15976 ac_res=`eval echo '${'$as_ac_var'}'`
15977 { echo "$as_me:$LINENO: result: $ac_res" >&5
15978 echo "${ECHO_T}$ac_res" >&6; }
15979 if test `eval echo '${'$as_ac_var'}'` = yes; then
15980 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
15985 *i[3456789]86* | x86_64)
15986 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15987 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15988 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 ac_wine_try_cflags_saved=$CFLAGS
15992 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15993 cat >conftest.$ac_ext <<_ACEOF
15996 cat confdefs.h >>conftest.$ac_ext
15997 cat >>conftest.$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
16008 rm -f conftest.$ac_objext conftest$ac_exeext
16009 if { (ac_try="$ac_link"
16010 case "(($ac_try" in
16011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16012 *) ac_try_echo
=$ac_try;;
16014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16015 (eval "$ac_link") 2>conftest.er1
16017 grep -v '^ *+' conftest.er1
>conftest.err
16019 cat conftest.err
>&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); } &&
16022 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16023 { (case "(($ac_try" in
16024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16025 *) ac_try_echo=$ac_try;;
16027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16028 (eval "$ac_try") 2>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; } &&
16032 { ac_try='test -s conftest$ac_exeext'
16033 { (case "(($ac_try" in
16034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16035 *) ac_try_echo
=$ac_try;;
16037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16038 (eval "$ac_try") 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; }; then
16042 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.
$ac_ext >&5
16047 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
16050 rm -f core conftest.err conftest.
$ac_objext \
16051 conftest
$ac_exeext conftest.
$ac_ext
16052 CFLAGS
=$ac_wine_try_cflags_saved
16054 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
16055 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
16056 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
16057 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16064 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16065 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16066 if test "${ac_cv_c_dll_unixware+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16069 ac_wine_try_cflags_saved
=$CFLAGS
16070 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16071 cat >conftest.
$ac_ext <<_ACEOF
16074 rm -f conftest.
$ac_objext conftest
$ac_exeext
16075 if { (ac_try
="$ac_link"
16076 case "(($ac_try" in
16077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16078 *) ac_try_echo=$ac_try;;
16080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16081 (eval "$ac_link") 2>conftest.er1
16083 grep -v '^ *+' conftest.er1 >conftest.err
16085 cat conftest.err >&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); } &&
16088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16089 { (case "(($ac_try" in
16090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16091 *) ac_try_echo
=$ac_try;;
16093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16094 (eval "$ac_try") 2>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; } &&
16098 { ac_try
='test -s conftest$ac_exeext'
16099 { (case "(($ac_try" in
16100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16101 *) ac_try_echo=$ac_try;;
16103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16104 (eval "$ac_try") 2>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16108 ac_cv_c_dll_unixware="yes"
16110 echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.$ac_ext >&5
16113 ac_cv_c_dll_unixware="no"
16116 rm -f core conftest.err conftest.$ac_objext \
16117 conftest$ac_exeext conftest.$ac_ext
16118 CFLAGS=$ac_wine_try_cflags_saved
16120 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16121 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16122 if test "$ac_cv_c_dll_unixware" = "yes"
16124 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16125 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16128 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16129 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16130 if test "${ac_cv_c_dll_hpux+set}" = set; then
16131 echo $ECHO_N "(cached) $ECHO_C" >&6
16133 ac_wine_try_cflags_saved=$CFLAGS
16134 CFLAGS="$CFLAGS -shared"
16135 cat >conftest.$ac_ext <<_ACEOF
16138 rm -f conftest.$ac_objext conftest$ac_exeext
16139 if { (ac_try="$ac_link"
16140 case "(($ac_try" in
16141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16142 *) ac_try_echo
=$ac_try;;
16144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16145 (eval "$ac_link") 2>conftest.er1
16147 grep -v '^ *+' conftest.er1
>conftest.err
16149 cat conftest.err
>&5
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); } &&
16152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16153 { (case "(($ac_try" in
16154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16155 *) ac_try_echo=$ac_try;;
16157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16158 (eval "$ac_try") 2>&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); }; } &&
16162 { ac_try='test -s conftest$ac_exeext'
16163 { (case "(($ac_try" in
16164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16165 *) ac_try_echo
=$ac_try;;
16167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16168 (eval "$ac_try") 2>&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); }; }; then
16172 ac_cv_c_dll_hpux
="yes"
16174 echo "$as_me: failed program was:" >&5
16175 sed 's/^/| /' conftest.
$ac_ext >&5
16177 ac_cv_c_dll_hpux
="no"
16180 rm -f core conftest.err conftest.
$ac_objext \
16181 conftest
$ac_exeext conftest.
$ac_ext
16182 CFLAGS
=$ac_wine_try_cflags_saved
16184 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16185 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16186 if test "$ac_cv_c_dll_hpux" = "yes"
16190 LDDLLFLAGS
="-shared -fPIC"
16191 LDSHARED
="\$(CC) -shared"
16198 if test "$cross_compiling" = "no"
16200 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
16202 # Extract the first word of "$ac_prog", so it can be a program name with args.
16203 set dummy
$ac_prog; ac_word
=$2
16204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16206 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 if test -n "$CROSSCC"; then
16210 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
16212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16213 for as_dir
in $PATH
16216 test -z "$as_dir" && as_dir
=.
16217 for ac_exec_ext
in '' $ac_executable_extensions; do
16218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16219 ac_cv_prog_CROSSCC
="$ac_prog"
16220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16229 CROSSCC
=$ac_cv_prog_CROSSCC
16230 if test -n "$CROSSCC"; then
16231 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16232 echo "${ECHO_T}$CROSSCC" >&6; }
16234 { echo "$as_me:$LINENO: result: no" >&5
16235 echo "${ECHO_T}no" >&6; }
16239 test -n "$CROSSCC" && break
16241 test -n "$CROSSCC" || CROSSCC
="false"
16243 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
16245 # Extract the first word of "$ac_prog", so it can be a program name with args.
16246 set dummy
$ac_prog; ac_word
=$2
16247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16249 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16250 echo $ECHO_N "(cached) $ECHO_C" >&6
16252 if test -n "$DLLTOOL"; then
16253 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16256 for as_dir
in $PATH
16259 test -z "$as_dir" && as_dir
=.
16260 for ac_exec_ext
in '' $ac_executable_extensions; do
16261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16262 ac_cv_prog_DLLTOOL
="$ac_prog"
16263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16272 DLLTOOL
=$ac_cv_prog_DLLTOOL
16273 if test -n "$DLLTOOL"; then
16274 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16275 echo "${ECHO_T}$DLLTOOL" >&6; }
16277 { echo "$as_me:$LINENO: result: no" >&5
16278 echo "${ECHO_T}no" >&6; }
16282 test -n "$DLLTOOL" && break
16284 test -n "$DLLTOOL" || DLLTOOL
="false"
16286 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
16288 # Extract the first word of "$ac_prog", so it can be a program name with args.
16289 set dummy
$ac_prog; ac_word
=$2
16290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16292 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16293 echo $ECHO_N "(cached) $ECHO_C" >&6
16295 if test -n "$CROSSWINDRES"; then
16296 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
16298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16299 for as_dir
in $PATH
16302 test -z "$as_dir" && as_dir
=.
16303 for ac_exec_ext
in '' $ac_executable_extensions; do
16304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16305 ac_cv_prog_CROSSWINDRES
="$ac_prog"
16306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16315 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
16316 if test -n "$CROSSWINDRES"; then
16317 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16318 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16320 { echo "$as_me:$LINENO: result: no" >&5
16321 echo "${ECHO_T}no" >&6; }
16325 test -n "$CROSSWINDRES" && break
16327 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
16329 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
16334 if test "$LIBEXT" = "a"; then
16335 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16336 It is currently not possible to build Wine without shared library
16337 (.so) support to allow transparent switch between .so and .dll files.
16338 If you are using Linux, you will need a newer binutils.
16340 echo "$as_me: error: could not find a way to build shared libraries.
16341 It is currently not possible to build Wine without shared library
16342 (.so) support to allow transparent switch between .so and .dll files.
16343 If you are using Linux, you will need a newer binutils.
16345 { (exit 1); exit 1; }; }
16350 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16353 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16356 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16364 SOCKETLIBS
="-lws2_32"
16369 MAIN_BINARY
="wine-pthread"
16373 linux
* | k
*bsd
*-gnu)
16374 MAIN_BINARY
="wine-glibc"
16376 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
16383 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16385 # Extract the first word of "ldd", so it can be a program name with args.
16386 set dummy ldd
; ac_word
=$2
16387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16389 if test "${ac_cv_path_LDD+set}" = set; then
16390 echo $ECHO_N "(cached) $ECHO_C" >&6
16394 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
16397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16398 as_dummy
="/sbin:/usr/sbin:$PATH"
16399 for as_dir
in $as_dummy
16402 test -z "$as_dir" && as_dir
=.
16403 for ac_exec_ext
in '' $ac_executable_extensions; do
16404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16405 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
16406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16413 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
16417 LDD
=$ac_cv_path_LDD
16418 if test -n "$LDD"; then
16419 { echo "$as_me:$LINENO: result: $LDD" >&5
16420 echo "${ECHO_T}$LDD" >&6; }
16422 { echo "$as_me:$LINENO: result: no" >&5
16423 echo "${ECHO_T}no" >&6; }
16427 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16428 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16429 if test "${ac_cv_lib_soname_X11+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16432 ac_get_soname_save_LIBS
=$LIBS
16433 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16434 cat >conftest.
$ac_ext <<_ACEOF
16437 cat confdefs.h
>>conftest.
$ac_ext
16438 cat >>conftest.
$ac_ext <<_ACEOF
16439 /* end confdefs.h. */
16441 /* Override any GCC internal prototype to avoid an error.
16442 Use char because int might match the return type of a GCC
16443 builtin and then its argument prototype would still apply. */
16447 char XCreateWindow ();
16451 return XCreateWindow ();
16456 rm -f conftest.
$ac_objext conftest
$ac_exeext
16457 if { (ac_try
="$ac_link"
16458 case "(($ac_try" in
16459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16460 *) ac_try_echo=$ac_try;;
16462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16463 (eval "$ac_link") 2>conftest.er1
16465 grep -v '^ *+' conftest.er1 >conftest.err
16467 cat conftest.err >&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } &&
16470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16471 { (case "(($ac_try" in
16472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16473 *) ac_try_echo
=$ac_try;;
16475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16476 (eval "$ac_try") 2>&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); }; } &&
16480 { ac_try
='test -s conftest$ac_exeext'
16481 { (case "(($ac_try" in
16482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16483 *) ac_try_echo=$ac_try;;
16485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16486 (eval "$ac_try") 2>&5
16488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16489 (exit $ac_status); }; }; then
16491 dylib) ac_cv_lib_soname_X11=`otool
-L conftest
$ac_exeext |
grep libX11
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16492 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libX11
\\.so |
sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16494 if test "x$ac_cv_lib_soname_X11" = "x"
16496 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.$ac_ext >&5
16502 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16505 rm -f core conftest.err conftest.$ac_objext \
16506 conftest$ac_exeext conftest.$ac_ext
16507 LIBS=$ac_get_soname_save_LIBS
16509 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16510 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16511 if test "${ac_cv_lib_soname_X11+set}" = set; then
16513 cat >>confdefs.h <<_ACEOF
16514 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16519 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16520 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16521 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16522 echo $ECHO_N "(cached) $ECHO_C" >&6
16524 ac_get_soname_save_LIBS=$LIBS
16525 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16526 cat >conftest.$ac_ext <<_ACEOF
16529 cat confdefs.h >>conftest.$ac_ext
16530 cat >>conftest.$ac_ext <<_ACEOF
16531 /* end confdefs.h. */
16533 /* Override any GCC internal prototype to avoid an error.
16534 Use char because int might match the return type of a GCC
16535 builtin and then its argument prototype would still apply. */
16539 char XextCreateExtension ();
16543 return XextCreateExtension ();
16548 rm -f conftest.$ac_objext conftest$ac_exeext
16549 if { (ac_try="$ac_link"
16550 case "(($ac_try" in
16551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16552 *) ac_try_echo
=$ac_try;;
16554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16555 (eval "$ac_link") 2>conftest.er1
16557 grep -v '^ *+' conftest.er1
>conftest.err
16559 cat conftest.err
>&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } &&
16562 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16563 { (case "(($ac_try" in
16564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16565 *) ac_try_echo=$ac_try;;
16567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16568 (eval "$ac_try") 2>&5
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; } &&
16572 { ac_try='test -s conftest$ac_exeext'
16573 { (case "(($ac_try" in
16574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16575 *) ac_try_echo
=$ac_try;;
16577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16578 (eval "$ac_try") 2>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; }; then
16583 dylib
) ac_cv_lib_soname_Xext
=`otool -L conftest$ac_exeext | grep libXext\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16584 so
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16586 if test "x$ac_cv_lib_soname_Xext" = "x"
16588 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.
$ac_ext >&5
16594 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
16597 rm -f core conftest.err conftest.
$ac_objext \
16598 conftest
$ac_exeext conftest.
$ac_ext
16599 LIBS
=$ac_get_soname_save_LIBS
16601 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16602 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16603 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16605 cat >>confdefs.h
<<_ACEOF
16606 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16611 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16612 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16613 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 ac_get_soname_save_LIBS
=$LIBS
16617 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16618 cat >conftest.
$ac_ext <<_ACEOF
16621 cat confdefs.h
>>conftest.
$ac_ext
16622 cat >>conftest.
$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16625 /* Override any GCC internal prototype to avoid an error.
16626 Use char because int might match the return type of a GCC
16627 builtin and then its argument prototype would still apply. */
16631 char XOpenDevice ();
16635 return XOpenDevice ();
16640 rm -f conftest.
$ac_objext conftest
$ac_exeext
16641 if { (ac_try
="$ac_link"
16642 case "(($ac_try" in
16643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16644 *) ac_try_echo=$ac_try;;
16646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16647 (eval "$ac_link") 2>conftest.er1
16649 grep -v '^ *+' conftest.er1 >conftest.err
16651 cat conftest.err >&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } &&
16654 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16655 { (case "(($ac_try" in
16656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16657 *) ac_try_echo
=$ac_try;;
16659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16660 (eval "$ac_try") 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; } &&
16664 { ac_try
='test -s conftest$ac_exeext'
16665 { (case "(($ac_try" in
16666 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16667 *) ac_try_echo=$ac_try;;
16669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16670 (eval "$ac_try") 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; }; then
16675 dylib) ac_cv_lib_soname_Xi=`otool
-L conftest
$ac_exeext |
grep libXi
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16676 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXi
\\.so |
sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16678 if test "x$ac_cv_lib_soname_Xi" = "x"
16680 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16686 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16689 rm -f core conftest.err conftest.$ac_objext \
16690 conftest$ac_exeext conftest.$ac_ext
16691 LIBS=$ac_get_soname_save_LIBS
16693 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16694 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16695 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16697 cat >>confdefs.h <<_ACEOF
16698 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16703 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16704 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16705 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16706 echo $ECHO_N "(cached) $ECHO_C" >&6
16708 ac_get_soname_save_LIBS=$LIBS
16709 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16710 cat >conftest.$ac_ext <<_ACEOF
16713 cat confdefs.h >>conftest.$ac_ext
16714 cat >>conftest.$ac_ext <<_ACEOF
16715 /* end confdefs.h. */
16717 /* Override any GCC internal prototype to avoid an error.
16718 Use char because int might match the return type of a GCC
16719 builtin and then its argument prototype would still apply. */
16723 char XRenderQueryExtension ();
16727 return XRenderQueryExtension ();
16732 rm -f conftest.$ac_objext conftest$ac_exeext
16733 if { (ac_try="$ac_link"
16734 case "(($ac_try" in
16735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16736 *) ac_try_echo
=$ac_try;;
16738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16739 (eval "$ac_link") 2>conftest.er1
16741 grep -v '^ *+' conftest.er1
>conftest.err
16743 cat conftest.err
>&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } &&
16746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16747 { (case "(($ac_try" in
16748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16749 *) ac_try_echo=$ac_try;;
16751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16752 (eval "$ac_try") 2>&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); }; } &&
16756 { ac_try='test -s conftest$ac_exeext'
16757 { (case "(($ac_try" in
16758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16759 *) ac_try_echo
=$ac_try;;
16761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16762 (eval "$ac_try") 2>&5
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); }; }; then
16767 dylib
) ac_cv_lib_soname_Xrender
=`otool -L conftest$ac_exeext | grep libXrender\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16768 so
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16770 if test "x$ac_cv_lib_soname_Xrender" = "x"
16772 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
16775 echo "$as_me: failed program was:" >&5
16776 sed 's/^/| /' conftest.
$ac_ext >&5
16778 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
16781 rm -f core conftest.err conftest.
$ac_objext \
16782 conftest
$ac_exeext conftest.
$ac_ext
16783 LIBS
=$ac_get_soname_save_LIBS
16785 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16786 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16787 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16789 cat >>confdefs.h
<<_ACEOF
16790 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16795 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16796 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16797 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16798 echo $ECHO_N "(cached) $ECHO_C" >&6
16800 ac_get_soname_save_LIBS
=$LIBS
16801 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16802 cat >conftest.
$ac_ext <<_ACEOF
16805 cat confdefs.h
>>conftest.
$ac_ext
16806 cat >>conftest.
$ac_ext <<_ACEOF
16807 /* end confdefs.h. */
16809 /* Override any GCC internal prototype to avoid an error.
16810 Use char because int might match the return type of a GCC
16811 builtin and then its argument prototype would still apply. */
16815 char XRRQueryExtension ();
16819 return XRRQueryExtension ();
16824 rm -f conftest.
$ac_objext conftest
$ac_exeext
16825 if { (ac_try
="$ac_link"
16826 case "(($ac_try" in
16827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16828 *) ac_try_echo=$ac_try;;
16830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16831 (eval "$ac_link") 2>conftest.er1
16833 grep -v '^ *+' conftest.er1 >conftest.err
16835 cat conftest.err >&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } &&
16838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16839 { (case "(($ac_try" in
16840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16841 *) ac_try_echo
=$ac_try;;
16843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16844 (eval "$ac_try") 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; } &&
16848 { ac_try
='test -s conftest$ac_exeext'
16849 { (case "(($ac_try" in
16850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16851 *) ac_try_echo=$ac_try;;
16853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16854 (eval "$ac_try") 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16859 dylib) ac_cv_lib_soname_Xrandr=`otool
-L conftest
$ac_exeext |
grep libXrandr
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16860 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrandr
\\.so |
sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16862 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16864 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16867 echo "$as_me: failed program was:" >&5
16868 sed 's/^/| /' conftest.$ac_ext >&5
16870 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16873 rm -f core conftest.err conftest.$ac_objext \
16874 conftest$ac_exeext conftest.$ac_ext
16875 LIBS=$ac_get_soname_save_LIBS
16877 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16878 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16879 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16881 cat >>confdefs.h <<_ACEOF
16882 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16887 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16888 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16889 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16890 echo $ECHO_N "(cached) $ECHO_C" >&6
16892 ac_get_soname_save_LIBS=$LIBS
16893 LIBS="-lfreetype $X_LIBS $LIBS"
16894 cat >conftest.$ac_ext <<_ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16901 /* Override any GCC internal prototype to avoid an error.
16902 Use char because int might match the return type of a GCC
16903 builtin and then its argument prototype would still apply. */
16907 char FT_Init_FreeType ();
16911 return FT_Init_FreeType ();
16916 rm -f conftest.$ac_objext conftest$ac_exeext
16917 if { (ac_try="$ac_link"
16918 case "(($ac_try" in
16919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16920 *) ac_try_echo
=$ac_try;;
16922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16923 (eval "$ac_link") 2>conftest.er1
16925 grep -v '^ *+' conftest.er1
>conftest.err
16927 cat conftest.err
>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); } &&
16930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16931 { (case "(($ac_try" in
16932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16933 *) ac_try_echo=$ac_try;;
16935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16936 (eval "$ac_try") 2>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; } &&
16940 { ac_try='test -s conftest$ac_exeext'
16941 { (case "(($ac_try" in
16942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16943 *) ac_try_echo
=$ac_try;;
16945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16946 (eval "$ac_try") 2>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }; }; then
16951 dylib
) ac_cv_lib_soname_freetype
=`otool -L conftest$ac_exeext | grep libfreetype\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16952 so
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16954 if test "x$ac_cv_lib_soname_freetype" = "x"
16956 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.
$ac_ext >&5
16962 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
16965 rm -f core conftest.err conftest.
$ac_objext \
16966 conftest
$ac_exeext conftest.
$ac_ext
16967 LIBS
=$ac_get_soname_save_LIBS
16969 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
16970 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
16971 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16973 cat >>confdefs.h
<<_ACEOF
16974 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
16979 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
16980 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
16981 if test "${ac_cv_lib_soname_GL+set}" = set; then
16982 echo $ECHO_N "(cached) $ECHO_C" >&6
16984 ac_get_soname_save_LIBS
=$LIBS
16985 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
16986 cat >conftest.
$ac_ext <<_ACEOF
16989 cat confdefs.h
>>conftest.
$ac_ext
16990 cat >>conftest.
$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16993 /* Override any GCC internal prototype to avoid an error.
16994 Use char because int might match the return type of a GCC
16995 builtin and then its argument prototype would still apply. */
16999 char glXQueryExtension ();
17003 return glXQueryExtension ();
17008 rm -f conftest.
$ac_objext conftest
$ac_exeext
17009 if { (ac_try
="$ac_link"
17010 case "(($ac_try" in
17011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17012 *) ac_try_echo=$ac_try;;
17014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17015 (eval "$ac_link") 2>conftest.er1
17017 grep -v '^ *+' conftest.er1 >conftest.err
17019 cat conftest.err >&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } &&
17022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17023 { (case "(($ac_try" in
17024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17025 *) ac_try_echo
=$ac_try;;
17027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17028 (eval "$ac_try") 2>&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; } &&
17032 { ac_try
='test -s conftest$ac_exeext'
17033 { (case "(($ac_try" in
17034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17035 *) ac_try_echo=$ac_try;;
17037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17038 (eval "$ac_try") 2>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; }; then
17043 dylib) ac_cv_lib_soname_GL=`otool
-L conftest
$ac_exeext |
grep libGL
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17044 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libGL
\\.so |
sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17046 if test "x$ac_cv_lib_soname_GL" = "x"
17048 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17051 echo "$as_me: failed program was:" >&5
17052 sed 's/^/| /' conftest.$ac_ext >&5
17054 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17057 rm -f core conftest.err conftest.$ac_objext \
17058 conftest$ac_exeext conftest.$ac_ext
17059 LIBS=$ac_get_soname_save_LIBS
17061 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17062 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17063 if test "${ac_cv_lib_soname_GL+set}" = set; then
17065 cat >>confdefs.h <<_ACEOF
17066 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17071 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
17072 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
17073 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17074 echo $ECHO_N "(cached) $ECHO_C" >&6
17076 ac_get_soname_save_LIBS=$LIBS
17077 LIBS="-ldbus-1 $LIBS"
17078 cat >conftest.$ac_ext <<_ACEOF
17081 cat confdefs.h >>conftest.$ac_ext
17082 cat >>conftest.$ac_ext <<_ACEOF
17083 /* end confdefs.h. */
17085 /* Override any GCC internal prototype to avoid an error.
17086 Use char because int might match the return type of a GCC
17087 builtin and then its argument prototype would still apply. */
17091 char dbus_error_init ();
17095 return dbus_error_init ();
17100 rm -f conftest.$ac_objext conftest$ac_exeext
17101 if { (ac_try="$ac_link"
17102 case "(($ac_try" in
17103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17104 *) ac_try_echo
=$ac_try;;
17106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17107 (eval "$ac_link") 2>conftest.er1
17109 grep -v '^ *+' conftest.er1
>conftest.err
17111 cat conftest.err
>&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } &&
17114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17115 { (case "(($ac_try" in
17116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17117 *) ac_try_echo=$ac_try;;
17119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17120 (eval "$ac_try") 2>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; } &&
17124 { ac_try='test -s conftest$ac_exeext'
17125 { (case "(($ac_try" in
17126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17127 *) ac_try_echo
=$ac_try;;
17129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 (eval "$ac_try") 2>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); }; }; then
17135 dylib
) ac_cv_lib_soname_dbus_1
=`otool -L conftest$ac_exeext | grep libdbus-1\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17136 so
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest$ac_exeext | grep libdbus-1\\.so | sed -e "s/^.*\(libdbus-1\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17138 if test "x$ac_cv_lib_soname_dbus_1" = "x"
17140 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
17143 echo "$as_me: failed program was:" >&5
17144 sed 's/^/| /' conftest.
$ac_ext >&5
17146 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
17149 rm -f core conftest.err conftest.
$ac_objext \
17150 conftest
$ac_exeext conftest.
$ac_ext
17151 LIBS
=$ac_get_soname_save_LIBS
17153 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
17154 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
17155 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17157 cat >>confdefs.h
<<_ACEOF
17158 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
17163 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17164 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17165 if test "${ac_cv_lib_soname_hal+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17168 ac_get_soname_save_LIBS
=$LIBS
17170 cat >conftest.
$ac_ext <<_ACEOF
17173 cat confdefs.h
>>conftest.
$ac_ext
17174 cat >>conftest.
$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17177 /* Override any GCC internal prototype to avoid an error.
17178 Use char because int might match the return type of a GCC
17179 builtin and then its argument prototype would still apply. */
17183 char libhal_ctx_new ();
17187 return libhal_ctx_new ();
17192 rm -f conftest.
$ac_objext conftest
$ac_exeext
17193 if { (ac_try
="$ac_link"
17194 case "(($ac_try" in
17195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17196 *) ac_try_echo=$ac_try;;
17198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17199 (eval "$ac_link") 2>conftest.er1
17201 grep -v '^ *+' conftest.er1 >conftest.err
17203 cat conftest.err >&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); } &&
17206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17207 { (case "(($ac_try" in
17208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17209 *) ac_try_echo
=$ac_try;;
17211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17212 (eval "$ac_try") 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; } &&
17216 { ac_try
='test -s conftest$ac_exeext'
17217 { (case "(($ac_try" in
17218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17219 *) ac_try_echo=$ac_try;;
17221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17222 (eval "$ac_try") 2>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; }; then
17227 dylib) ac_cv_lib_soname_hal=`otool
-L conftest
$ac_exeext |
grep libhal
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17228 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.so |
sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17230 if test "x$ac_cv_lib_soname_hal" = "x"
17232 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17238 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17241 rm -f core conftest.err conftest.$ac_objext \
17242 conftest$ac_exeext conftest.$ac_ext
17243 LIBS=$ac_get_soname_save_LIBS
17245 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17246 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17247 if test "${ac_cv_lib_soname_hal+set}" = set; then
17249 cat >>confdefs.h <<_ACEOF
17250 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17255 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17256 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17257 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17258 echo $ECHO_N "(cached) $ECHO_C" >&6
17260 ac_get_soname_save_LIBS=$LIBS
17261 LIBS="-ltxc_dxtn $LIBS"
17262 cat >conftest.$ac_ext <<_ACEOF
17265 cat confdefs.h >>conftest.$ac_ext
17266 cat >>conftest.$ac_ext <<_ACEOF
17267 /* end confdefs.h. */
17269 /* Override any GCC internal prototype to avoid an error.
17270 Use char because int might match the return type of a GCC
17271 builtin and then its argument prototype would still apply. */
17275 char fetch_2d_texel_rgba_dxt1 ();
17279 return fetch_2d_texel_rgba_dxt1 ();
17284 rm -f conftest.$ac_objext conftest$ac_exeext
17285 if { (ac_try="$ac_link"
17286 case "(($ac_try" in
17287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17288 *) ac_try_echo
=$ac_try;;
17290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17291 (eval "$ac_link") 2>conftest.er1
17293 grep -v '^ *+' conftest.er1
>conftest.err
17295 cat conftest.err
>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } &&
17298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17299 { (case "(($ac_try" in
17300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17301 *) ac_try_echo=$ac_try;;
17303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17304 (eval "$ac_try") 2>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; } &&
17308 { ac_try='test -s conftest$ac_exeext'
17309 { (case "(($ac_try" in
17310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17311 *) ac_try_echo
=$ac_try;;
17313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17314 (eval "$ac_try") 2>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); }; }; then
17319 dylib
) ac_cv_lib_soname_txc_dxtn
=`otool -L conftest$ac_exeext | grep libtxc_dxtn\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17320 so
) ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.so | sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17322 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17324 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
17327 echo "$as_me: failed program was:" >&5
17328 sed 's/^/| /' conftest.
$ac_ext >&5
17330 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
17333 rm -f core conftest.err conftest.
$ac_objext \
17334 conftest
$ac_exeext conftest.
$ac_ext
17335 LIBS
=$ac_get_soname_save_LIBS
17337 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17338 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17339 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17341 cat >>confdefs.h
<<_ACEOF
17342 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17347 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17348 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17349 if test "${ac_cv_lib_soname_cups+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 ac_get_soname_save_LIBS
=$LIBS
17353 LIBS
="-lcups $LIBS"
17354 cat >conftest.
$ac_ext <<_ACEOF
17357 cat confdefs.h
>>conftest.
$ac_ext
17358 cat >>conftest.
$ac_ext <<_ACEOF
17359 /* end confdefs.h. */
17361 /* Override any GCC internal prototype to avoid an error.
17362 Use char because int might match the return type of a GCC
17363 builtin and then its argument prototype would still apply. */
17367 char cupsGetDefault ();
17371 return cupsGetDefault ();
17376 rm -f conftest.
$ac_objext conftest
$ac_exeext
17377 if { (ac_try
="$ac_link"
17378 case "(($ac_try" in
17379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17380 *) ac_try_echo=$ac_try;;
17382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17383 (eval "$ac_link") 2>conftest.er1
17385 grep -v '^ *+' conftest.er1 >conftest.err
17387 cat conftest.err >&5
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); } &&
17390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17391 { (case "(($ac_try" in
17392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17393 *) ac_try_echo
=$ac_try;;
17395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17396 (eval "$ac_try") 2>&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; } &&
17400 { ac_try
='test -s conftest$ac_exeext'
17401 { (case "(($ac_try" in
17402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17403 *) ac_try_echo=$ac_try;;
17405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17406 (eval "$ac_try") 2>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; }; then
17411 dylib) ac_cv_lib_soname_cups=`otool
-L conftest
$ac_exeext |
grep libcups
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17412 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.so |
sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17414 if test "x$ac_cv_lib_soname_cups" = "x"
17416 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17419 echo "$as_me: failed program was:" >&5
17420 sed 's/^/| /' conftest.$ac_ext >&5
17422 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17425 rm -f core conftest.err conftest.$ac_objext \
17426 conftest$ac_exeext conftest.$ac_ext
17427 LIBS=$ac_get_soname_save_LIBS
17429 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17430 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17431 if test "${ac_cv_lib_soname_cups+set}" = set; then
17433 cat >>confdefs.h <<_ACEOF
17434 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17439 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17440 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17441 if test "${ac_cv_lib_soname_jack+set}" = set; then
17442 echo $ECHO_N "(cached) $ECHO_C" >&6
17444 ac_get_soname_save_LIBS=$LIBS
17445 LIBS="-ljack $LIBS"
17446 cat >conftest.$ac_ext <<_ACEOF
17449 cat confdefs.h >>conftest.$ac_ext
17450 cat >>conftest.$ac_ext <<_ACEOF
17451 /* end confdefs.h. */
17453 /* Override any GCC internal prototype to avoid an error.
17454 Use char because int might match the return type of a GCC
17455 builtin and then its argument prototype would still apply. */
17459 char jack_client_new ();
17463 return jack_client_new ();
17468 rm -f conftest.$ac_objext conftest$ac_exeext
17469 if { (ac_try="$ac_link"
17470 case "(($ac_try" in
17471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17472 *) ac_try_echo
=$ac_try;;
17474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17475 (eval "$ac_link") 2>conftest.er1
17477 grep -v '^ *+' conftest.er1
>conftest.err
17479 cat conftest.err
>&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } &&
17482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17483 { (case "(($ac_try" in
17484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17485 *) ac_try_echo=$ac_try;;
17487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17488 (eval "$ac_try") 2>&5
17490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491 (exit $ac_status); }; } &&
17492 { ac_try='test -s conftest$ac_exeext'
17493 { (case "(($ac_try" in
17494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17495 *) ac_try_echo
=$ac_try;;
17497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17498 (eval "$ac_try") 2>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; }; then
17503 dylib
) ac_cv_lib_soname_jack
=`otool -L conftest$ac_exeext | grep libjack\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17504 so
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17506 if test "x$ac_cv_lib_soname_jack" = "x"
17508 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
17511 echo "$as_me: failed program was:" >&5
17512 sed 's/^/| /' conftest.
$ac_ext >&5
17514 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
17517 rm -f core conftest.err conftest.
$ac_objext \
17518 conftest
$ac_exeext conftest.
$ac_ext
17519 LIBS
=$ac_get_soname_save_LIBS
17521 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17522 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17523 if test "${ac_cv_lib_soname_jack+set}" = set; then
17525 cat >>confdefs.h
<<_ACEOF
17526 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17531 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17532 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17533 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17534 echo $ECHO_N "(cached) $ECHO_C" >&6
17536 ac_get_soname_save_LIBS
=$LIBS
17537 LIBS
="-lfontconfig $LIBS"
17538 cat >conftest.
$ac_ext <<_ACEOF
17541 cat confdefs.h
>>conftest.
$ac_ext
17542 cat >>conftest.
$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17545 /* Override any GCC internal prototype to avoid an error.
17546 Use char because int might match the return type of a GCC
17547 builtin and then its argument prototype would still apply. */
17560 rm -f conftest.
$ac_objext conftest
$ac_exeext
17561 if { (ac_try
="$ac_link"
17562 case "(($ac_try" in
17563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17564 *) ac_try_echo=$ac_try;;
17566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17567 (eval "$ac_link") 2>conftest.er1
17569 grep -v '^ *+' conftest.er1 >conftest.err
17571 cat conftest.err >&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17575 { (case "(($ac_try" in
17576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17577 *) ac_try_echo
=$ac_try;;
17579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_try") 2>&5
17582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 (exit $ac_status); }; } &&
17584 { ac_try
='test -s conftest$ac_exeext'
17585 { (case "(($ac_try" in
17586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17587 *) ac_try_echo=$ac_try;;
17589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17590 (eval "$ac_try") 2>&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); }; }; then
17595 dylib) ac_cv_lib_soname_fontconfig=`otool
-L conftest
$ac_exeext |
grep libfontconfig
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17596 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.so |
sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17598 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17600 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17603 echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.$ac_ext >&5
17606 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17609 rm -f core conftest.err conftest.$ac_objext \
17610 conftest$ac_exeext conftest.$ac_ext
17611 LIBS=$ac_get_soname_save_LIBS
17613 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17614 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17615 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17617 cat >>confdefs.h <<_ACEOF
17618 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17623 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17624 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17625 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17628 ac_get_soname_save_LIBS=$LIBS
17630 cat >conftest.$ac_ext <<_ACEOF
17633 cat confdefs.h >>conftest.$ac_ext
17634 cat >>conftest.$ac_ext <<_ACEOF
17635 /* end confdefs.h. */
17637 /* Override any GCC internal prototype to avoid an error.
17638 Use char because int might match the return type of a GCC
17639 builtin and then its argument prototype would still apply. */
17643 char SSL_library_init ();
17647 return SSL_library_init ();
17652 rm -f conftest.$ac_objext conftest$ac_exeext
17653 if { (ac_try="$ac_link"
17654 case "(($ac_try" in
17655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17656 *) ac_try_echo
=$ac_try;;
17658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17659 (eval "$ac_link") 2>conftest.er1
17661 grep -v '^ *+' conftest.er1
>conftest.err
17663 cat conftest.err
>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } &&
17666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17667 { (case "(($ac_try" in
17668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17669 *) ac_try_echo=$ac_try;;
17671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17672 (eval "$ac_try") 2>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; } &&
17676 { ac_try='test -s conftest$ac_exeext'
17677 { (case "(($ac_try" in
17678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17679 *) ac_try_echo
=$ac_try;;
17681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17682 (eval "$ac_try") 2>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; }; then
17687 dylib
) ac_cv_lib_soname_ssl
=`otool -L conftest$ac_exeext | grep libssl\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17688 so
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17690 if test "x$ac_cv_lib_soname_ssl" = "x"
17692 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
17695 echo "$as_me: failed program was:" >&5
17696 sed 's/^/| /' conftest.
$ac_ext >&5
17698 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
17701 rm -f core conftest.err conftest.
$ac_objext \
17702 conftest
$ac_exeext conftest.
$ac_ext
17703 LIBS
=$ac_get_soname_save_LIBS
17705 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17706 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17707 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17709 cat >>confdefs.h
<<_ACEOF
17710 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17715 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17716 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17717 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17718 echo $ECHO_N "(cached) $ECHO_C" >&6
17720 ac_get_soname_save_LIBS
=$LIBS
17721 LIBS
="-lcrypto $LIBS"
17722 cat >conftest.
$ac_ext <<_ACEOF
17725 cat confdefs.h
>>conftest.
$ac_ext
17726 cat >>conftest.
$ac_ext <<_ACEOF
17727 /* end confdefs.h. */
17729 /* Override any GCC internal prototype to avoid an error.
17730 Use char because int might match the return type of a GCC
17731 builtin and then its argument prototype would still apply. */
17735 char BIO_new_socket ();
17739 return BIO_new_socket ();
17744 rm -f conftest.
$ac_objext conftest
$ac_exeext
17745 if { (ac_try
="$ac_link"
17746 case "(($ac_try" in
17747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17748 *) ac_try_echo=$ac_try;;
17750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17751 (eval "$ac_link") 2>conftest.er1
17753 grep -v '^ *+' conftest.er1 >conftest.err
17755 cat conftest.err >&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); } &&
17758 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17759 { (case "(($ac_try" in
17760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17761 *) ac_try_echo
=$ac_try;;
17763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17764 (eval "$ac_try") 2>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; } &&
17768 { ac_try
='test -s conftest$ac_exeext'
17769 { (case "(($ac_try" in
17770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17771 *) ac_try_echo=$ac_try;;
17773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17774 (eval "$ac_try") 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; }; then
17779 dylib) ac_cv_lib_soname_crypto=`otool
-L conftest
$ac_exeext |
grep libcrypto
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17780 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.so |
sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17782 if test "x$ac_cv_lib_soname_crypto" = "x"
17784 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.$ac_ext >&5
17790 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17793 rm -f core conftest.err conftest.$ac_objext \
17794 conftest$ac_exeext conftest.$ac_ext
17795 LIBS=$ac_get_soname_save_LIBS
17797 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17798 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17799 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17801 cat >>confdefs.h <<_ACEOF
17802 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17807 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17808 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17809 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17810 echo $ECHO_N "(cached) $ECHO_C" >&6
17812 ac_get_soname_save_LIBS=$LIBS
17813 LIBS="-lncurses $LIBS"
17814 cat >conftest.$ac_ext <<_ACEOF
17817 cat confdefs.h >>conftest.$ac_ext
17818 cat >>conftest.$ac_ext <<_ACEOF
17819 /* end confdefs.h. */
17821 /* Override any GCC internal prototype to avoid an error.
17822 Use char because int might match the return type of a GCC
17823 builtin and then its argument prototype would still apply. */
17836 rm -f conftest.$ac_objext conftest$ac_exeext
17837 if { (ac_try="$ac_link"
17838 case "(($ac_try" in
17839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17840 *) ac_try_echo
=$ac_try;;
17842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17843 (eval "$ac_link") 2>conftest.er1
17845 grep -v '^ *+' conftest.er1
>conftest.err
17847 cat conftest.err
>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17851 { (case "(($ac_try" in
17852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17853 *) ac_try_echo=$ac_try;;
17855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17856 (eval "$ac_try") 2>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; } &&
17860 { ac_try='test -s conftest$ac_exeext'
17861 { (case "(($ac_try" in
17862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17863 *) ac_try_echo
=$ac_try;;
17865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17866 (eval "$ac_try") 2>&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; }; then
17871 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep libncurses\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17872 so
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17874 if test "x$ac_cv_lib_soname_ncurses" = "x"
17876 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.
$ac_ext >&5
17882 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
17885 rm -f core conftest.err conftest.
$ac_objext \
17886 conftest
$ac_exeext conftest.
$ac_ext
17887 LIBS
=$ac_get_soname_save_LIBS
17889 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17890 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17891 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17893 cat >>confdefs.h
<<_ACEOF
17894 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17899 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17900 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17901 if test "${ac_cv_lib_soname_curses+set}" = set; then
17902 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 ac_get_soname_save_LIBS
=$LIBS
17905 LIBS
="-lcurses $LIBS"
17906 cat >conftest.
$ac_ext <<_ACEOF
17909 cat confdefs.h
>>conftest.
$ac_ext
17910 cat >>conftest.
$ac_ext <<_ACEOF
17911 /* end confdefs.h. */
17913 /* Override any GCC internal prototype to avoid an error.
17914 Use char because int might match the return type of a GCC
17915 builtin and then its argument prototype would still apply. */
17928 rm -f conftest.
$ac_objext conftest
$ac_exeext
17929 if { (ac_try
="$ac_link"
17930 case "(($ac_try" in
17931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17932 *) ac_try_echo=$ac_try;;
17934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17935 (eval "$ac_link") 2>conftest.er1
17937 grep -v '^ *+' conftest.er1 >conftest.err
17939 cat conftest.err >&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } &&
17942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17943 { (case "(($ac_try" in
17944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17945 *) ac_try_echo
=$ac_try;;
17947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17948 (eval "$ac_try") 2>&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; } &&
17952 { ac_try
='test -s conftest$ac_exeext'
17953 { (case "(($ac_try" in
17954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17955 *) ac_try_echo=$ac_try;;
17957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17958 (eval "$ac_try") 2>&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); }; }; then
17963 dylib) ac_cv_lib_soname_curses=`otool
-L conftest
$ac_exeext |
grep libcurses
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17964 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.so |
sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17966 if test "x$ac_cv_lib_soname_curses" = "x"
17968 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17974 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17977 rm -f core conftest.err conftest.$ac_objext \
17978 conftest$ac_exeext conftest.$ac_ext
17979 LIBS=$ac_get_soname_save_LIBS
17981 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17982 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17983 if test "${ac_cv_lib_soname_curses+set}" = set; then
17985 cat >>confdefs.h <<_ACEOF
17986 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17991 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17992 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17993 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17994 echo $ECHO_N "(cached) $ECHO_C" >&6
17996 ac_get_soname_save_LIBS=$LIBS
17997 LIBS="-ljpeg $LIBS"
17998 cat >conftest.$ac_ext <<_ACEOF
18001 cat confdefs.h >>conftest.$ac_ext
18002 cat >>conftest.$ac_ext <<_ACEOF
18003 /* end confdefs.h. */
18005 /* Override any GCC internal prototype to avoid an error.
18006 Use char because int might match the return type of a GCC
18007 builtin and then its argument prototype would still apply. */
18011 char jpeg_start_decompress ();
18015 return jpeg_start_decompress ();
18020 rm -f conftest.$ac_objext conftest$ac_exeext
18021 if { (ac_try="$ac_link"
18022 case "(($ac_try" in
18023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18024 *) ac_try_echo
=$ac_try;;
18026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18027 (eval "$ac_link") 2>conftest.er1
18029 grep -v '^ *+' conftest.er1
>conftest.err
18031 cat conftest.err
>&5
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); } &&
18034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18035 { (case "(($ac_try" in
18036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18037 *) ac_try_echo=$ac_try;;
18039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18040 (eval "$ac_try") 2>&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); }; } &&
18044 { ac_try='test -s conftest$ac_exeext'
18045 { (case "(($ac_try" in
18046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18047 *) ac_try_echo
=$ac_try;;
18049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18050 (eval "$ac_try") 2>&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); }; }; then
18055 dylib
) ac_cv_lib_soname_jpeg
=`otool -L conftest$ac_exeext | grep libjpeg\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18056 so
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18058 if test "x$ac_cv_lib_soname_jpeg" = "x"
18060 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.
$ac_ext >&5
18066 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
18069 rm -f core conftest.err conftest.
$ac_objext \
18070 conftest
$ac_exeext conftest.
$ac_ext
18071 LIBS
=$ac_get_soname_save_LIBS
18073 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18074 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18075 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18077 cat >>confdefs.h
<<_ACEOF
18078 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18083 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18084 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18085 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18086 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 ac_get_soname_save_LIBS
=$LIBS
18089 LIBS
="-lcapi20 $LIBS"
18090 cat >conftest.
$ac_ext <<_ACEOF
18093 cat confdefs.h
>>conftest.
$ac_ext
18094 cat >>conftest.
$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18097 /* Override any GCC internal prototype to avoid an error.
18098 Use char because int might match the return type of a GCC
18099 builtin and then its argument prototype would still apply. */
18103 char capi20_isinstalled ();
18107 return capi20_isinstalled ();
18112 rm -f conftest.
$ac_objext conftest
$ac_exeext
18113 if { (ac_try
="$ac_link"
18114 case "(($ac_try" in
18115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_link") 2>conftest.er1
18121 grep -v '^ *+' conftest.er1 >conftest.err
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } &&
18126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18127 { (case "(($ac_try" in
18128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18129 *) ac_try_echo
=$ac_try;;
18131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18132 (eval "$ac_try") 2>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; } &&
18136 { ac_try
='test -s conftest$ac_exeext'
18137 { (case "(($ac_try" in
18138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18139 *) ac_try_echo=$ac_try;;
18141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18142 (eval "$ac_try") 2>&5
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); }; }; then
18147 dylib) ac_cv_lib_soname_capi20=`otool
-L conftest
$ac_exeext |
grep libcapi20
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18148 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.so |
sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18150 if test "x$ac_cv_lib_soname_capi20" = "x"
18152 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18158 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18161 rm -f core conftest.err conftest.$ac_objext \
18162 conftest$ac_exeext conftest.$ac_ext
18163 LIBS=$ac_get_soname_save_LIBS
18165 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18166 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18167 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18169 cat >>confdefs.h <<_ACEOF
18170 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18320 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18321 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18323 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18324 echo $ECHO_N "(cached) $ECHO_C" >&6
18326 cat >conftest.$ac_ext <<_ACEOF
18329 cat confdefs.h >>conftest.$ac_ext
18330 cat >>conftest.$ac_ext <<_ACEOF
18331 /* end confdefs.h. */
18332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18334 #define $ac_func innocuous_$ac_func
18336 /* System header to define __stub macros and hopefully few prototypes,
18337 which can conflict with char $ac_func (); below.
18338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18339 <limits.h> exists even on freestanding compilers. */
18342 # include <limits.h>
18344 # include <assert.h>
18349 /* Override any GCC internal prototype to avoid an error.
18350 Use char because int might match the return type of a GCC
18351 builtin and then its argument prototype would still apply. */
18356 /* The GNU C library defines this for functions which it implements
18357 to always fail with ENOSYS. Some functions are actually named
18358 something starting with __ and the normal name is an alias. */
18359 #if defined __stub_$ac_func || defined __stub___$ac_func
18366 return $ac_func ();
18371 rm -f conftest.$ac_objext conftest$ac_exeext
18372 if { (ac_try="$ac_link"
18373 case "(($ac_try" in
18374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18375 *) ac_try_echo
=$ac_try;;
18377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18378 (eval "$ac_link") 2>conftest.er1
18380 grep -v '^ *+' conftest.er1
>conftest.err
18382 cat conftest.err
>&5
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } &&
18385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18386 { (case "(($ac_try" in
18387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18388 *) ac_try_echo=$ac_try;;
18390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18391 (eval "$ac_try") 2>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; } &&
18395 { ac_try='test -s conftest$ac_exeext'
18396 { (case "(($ac_try" in
18397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18398 *) ac_try_echo
=$ac_try;;
18400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18401 (eval "$ac_try") 2>&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); }; }; then
18405 eval "$as_ac_var=yes"
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.
$ac_ext >&5
18410 eval "$as_ac_var=no"
18413 rm -f core conftest.err conftest.
$ac_objext \
18414 conftest
$ac_exeext conftest.
$ac_ext
18416 ac_res
=`eval echo '${'$as_ac_var'}'`
18417 { echo "$as_me:$LINENO: result: $ac_res" >&5
18418 echo "${ECHO_T}$ac_res" >&6; }
18419 if test `eval echo '${'$as_ac_var'}'` = yes; then
18420 cat >>confdefs.h
<<_ACEOF
18421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18428 if test "$ac_cv_func_dlopen" = no
18430 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18431 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18432 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18433 echo $ECHO_N "(cached) $ECHO_C" >&6
18435 ac_check_lib_save_LIBS
=$LIBS
18437 cat >conftest.
$ac_ext <<_ACEOF
18440 cat confdefs.h
>>conftest.
$ac_ext
18441 cat >>conftest.
$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18444 /* Override any GCC internal prototype to avoid an error.
18445 Use char because int might match the return type of a GCC
18446 builtin and then its argument prototype would still apply. */
18459 rm -f conftest.
$ac_objext conftest
$ac_exeext
18460 if { (ac_try
="$ac_link"
18461 case "(($ac_try" in
18462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18463 *) ac_try_echo=$ac_try;;
18465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18466 (eval "$ac_link") 2>conftest.er1
18468 grep -v '^ *+' conftest.er1 >conftest.err
18470 cat conftest.err >&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); } &&
18473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18474 { (case "(($ac_try" in
18475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18476 *) ac_try_echo
=$ac_try;;
18478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18479 (eval "$ac_try") 2>&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); }; } &&
18483 { ac_try
='test -s conftest$ac_exeext'
18484 { (case "(($ac_try" in
18485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18486 *) ac_try_echo=$ac_try;;
18488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18489 (eval "$ac_try") 2>&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); }; }; then
18493 ac_cv_lib_dl_dlopen=yes
18495 echo "$as_me: failed program was:" >&5
18496 sed 's/^/| /' conftest.$ac_ext >&5
18498 ac_cv_lib_dl_dlopen=no
18501 rm -f core conftest.err conftest.$ac_objext \
18502 conftest$ac_exeext conftest.$ac_ext
18503 LIBS=$ac_check_lib_save_LIBS
18505 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18506 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18507 if test $ac_cv_lib_dl_dlopen = yes; then
18508 cat >>confdefs.h <<\_ACEOF
18509 #define HAVE_DLOPEN 1
18516 ac_wine_check_funcs_save_LIBS="$LIBS"
18517 LIBS="$LIBS $LIBDL"
18519 for ac_func in dladdr
18521 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18522 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18524 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18527 cat >conftest.$ac_ext <<_ACEOF
18530 cat confdefs.h >>conftest.$ac_ext
18531 cat >>conftest.$ac_ext <<_ACEOF
18532 /* end confdefs.h. */
18533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18535 #define $ac_func innocuous_$ac_func
18537 /* System header to define __stub macros and hopefully few prototypes,
18538 which can conflict with char $ac_func (); below.
18539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18540 <limits.h> exists even on freestanding compilers. */
18543 # include <limits.h>
18545 # include <assert.h>
18550 /* Override any GCC internal prototype to avoid an error.
18551 Use char because int might match the return type of a GCC
18552 builtin and then its argument prototype would still apply. */
18557 /* The GNU C library defines this for functions which it implements
18558 to always fail with ENOSYS. Some functions are actually named
18559 something starting with __ and the normal name is an alias. */
18560 #if defined __stub_$ac_func || defined __stub___$ac_func
18567 return $ac_func ();
18572 rm -f conftest.$ac_objext conftest$ac_exeext
18573 if { (ac_try="$ac_link"
18574 case "(($ac_try" in
18575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18576 *) ac_try_echo
=$ac_try;;
18578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18579 (eval "$ac_link") 2>conftest.er1
18581 grep -v '^ *+' conftest.er1
>conftest.err
18583 cat conftest.err
>&5
18584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18585 (exit $ac_status); } &&
18586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18587 { (case "(($ac_try" in
18588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18589 *) ac_try_echo=$ac_try;;
18591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18592 (eval "$ac_try") 2>&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); }; } &&
18596 { ac_try='test -s conftest$ac_exeext'
18597 { (case "(($ac_try" in
18598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18599 *) ac_try_echo
=$ac_try;;
18601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18602 (eval "$ac_try") 2>&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); }; }; then
18606 eval "$as_ac_var=yes"
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.
$ac_ext >&5
18611 eval "$as_ac_var=no"
18614 rm -f core conftest.err conftest.
$ac_objext \
18615 conftest
$ac_exeext conftest.
$ac_ext
18617 ac_res
=`eval echo '${'$as_ac_var'}'`
18618 { echo "$as_me:$LINENO: result: $ac_res" >&5
18619 echo "${ECHO_T}$ac_res" >&6; }
18620 if test `eval echo '${'$as_ac_var'}'` = yes; then
18621 cat >>confdefs.h
<<_ACEOF
18622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18628 LIBS
="$ac_wine_check_funcs_save_LIBS"
18630 if test "$ac_cv_func_poll" = no
18632 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18633 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18634 if test "${ac_cv_lib_poll_poll+set}" = set; then
18635 echo $ECHO_N "(cached) $ECHO_C" >&6
18637 ac_check_lib_save_LIBS
=$LIBS
18638 LIBS
="-lpoll $LIBS"
18639 cat >conftest.
$ac_ext <<_ACEOF
18642 cat confdefs.h
>>conftest.
$ac_ext
18643 cat >>conftest.
$ac_ext <<_ACEOF
18644 /* end confdefs.h. */
18646 /* Override any GCC internal prototype to avoid an error.
18647 Use char because int might match the return type of a GCC
18648 builtin and then its argument prototype would still apply. */
18661 rm -f conftest.
$ac_objext conftest
$ac_exeext
18662 if { (ac_try
="$ac_link"
18663 case "(($ac_try" in
18664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18665 *) ac_try_echo=$ac_try;;
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_link") 2>conftest.er1
18670 grep -v '^ *+' conftest.er1 >conftest.err
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } &&
18675 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18676 { (case "(($ac_try" in
18677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18678 *) ac_try_echo
=$ac_try;;
18680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18681 (eval "$ac_try") 2>&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); }; } &&
18685 { ac_try
='test -s conftest$ac_exeext'
18686 { (case "(($ac_try" in
18687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18688 *) ac_try_echo=$ac_try;;
18690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18691 (eval "$ac_try") 2>&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; }; then
18695 ac_cv_lib_poll_poll=yes
18697 echo "$as_me: failed program was:" >&5
18698 sed 's/^/| /' conftest.$ac_ext >&5
18700 ac_cv_lib_poll_poll=no
18703 rm -f core conftest.err conftest.$ac_objext \
18704 conftest$ac_exeext conftest.$ac_ext
18705 LIBS=$ac_check_lib_save_LIBS
18707 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18708 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18709 if test $ac_cv_lib_poll_poll = yes; then
18710 cat >>confdefs.h <<\_ACEOF
18711 #define HAVE_POLL 1
18719 if test "$ac_cv_func_gethostbyname" = no
18722 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18723 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18724 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18725 echo $ECHO_N "(cached) $ECHO_C" >&6
18727 ac_check_lib_save_LIBS=$LIBS
18729 cat >conftest.$ac_ext <<_ACEOF
18732 cat confdefs.h >>conftest.$ac_ext
18733 cat >>conftest.$ac_ext <<_ACEOF
18734 /* end confdefs.h. */
18736 /* Override any GCC internal prototype to avoid an error.
18737 Use char because int might match the return type of a GCC
18738 builtin and then its argument prototype would still apply. */
18742 char gethostbyname ();
18746 return gethostbyname ();
18751 rm -f conftest.$ac_objext conftest$ac_exeext
18752 if { (ac_try="$ac_link"
18753 case "(($ac_try" in
18754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18755 *) ac_try_echo
=$ac_try;;
18757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18758 (eval "$ac_link") 2>conftest.er1
18760 grep -v '^ *+' conftest.er1
>conftest.err
18762 cat conftest.err
>&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } &&
18765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18766 { (case "(($ac_try" in
18767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18768 *) ac_try_echo=$ac_try;;
18770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18771 (eval "$ac_try") 2>&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); }; } &&
18775 { ac_try='test -s conftest$ac_exeext'
18776 { (case "(($ac_try" in
18777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18778 *) ac_try_echo
=$ac_try;;
18780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18781 (eval "$ac_try") 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; }; then
18785 ac_cv_lib_nsl_gethostbyname
=yes
18787 echo "$as_me: failed program was:" >&5
18788 sed 's/^/| /' conftest.
$ac_ext >&5
18790 ac_cv_lib_nsl_gethostbyname
=no
18793 rm -f core conftest.err conftest.
$ac_objext \
18794 conftest
$ac_exeext conftest.
$ac_ext
18795 LIBS
=$ac_check_lib_save_LIBS
18797 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18798 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18799 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18800 cat >>confdefs.h
<<_ACEOF
18801 #define HAVE_LIBNSL 1
18810 if test "$ac_cv_func_connect" = no
18813 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18814 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18815 if test "${ac_cv_lib_socket_connect+set}" = set; then
18816 echo $ECHO_N "(cached) $ECHO_C" >&6
18818 ac_check_lib_save_LIBS
=$LIBS
18819 LIBS
="-lsocket $LIBS"
18820 cat >conftest.
$ac_ext <<_ACEOF
18823 cat confdefs.h
>>conftest.
$ac_ext
18824 cat >>conftest.
$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18827 /* Override any GCC internal prototype to avoid an error.
18828 Use char because int might match the return type of a GCC
18829 builtin and then its argument prototype would still apply. */
18842 rm -f conftest.
$ac_objext conftest
$ac_exeext
18843 if { (ac_try
="$ac_link"
18844 case "(($ac_try" in
18845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18846 *) ac_try_echo=$ac_try;;
18848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18849 (eval "$ac_link") 2>conftest.er1
18851 grep -v '^ *+' conftest.er1 >conftest.err
18853 cat conftest.err >&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); } &&
18856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18857 { (case "(($ac_try" in
18858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18859 *) ac_try_echo
=$ac_try;;
18861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18862 (eval "$ac_try") 2>&5
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; } &&
18866 { ac_try
='test -s conftest$ac_exeext'
18867 { (case "(($ac_try" in
18868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18869 *) ac_try_echo=$ac_try;;
18871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18872 (eval "$ac_try") 2>&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); }; }; then
18876 ac_cv_lib_socket_connect=yes
18878 echo "$as_me: failed program was:" >&5
18879 sed 's/^/| /' conftest.$ac_ext >&5
18881 ac_cv_lib_socket_connect=no
18884 rm -f core conftest.err conftest.$ac_objext \
18885 conftest$ac_exeext conftest.$ac_ext
18886 LIBS=$ac_check_lib_save_LIBS
18888 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18889 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18890 if test $ac_cv_lib_socket_connect = yes; then
18891 cat >>confdefs.h <<_ACEOF
18892 #define HAVE_LIBSOCKET 1
18895 LIBS="-lsocket $LIBS"
18901 if test "$ac_cv_func_inet_aton" = no
18904 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18905 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18906 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18907 echo $ECHO_N "(cached) $ECHO_C" >&6
18909 ac_check_lib_save_LIBS=$LIBS
18910 LIBS="-lresolv $LIBS"
18911 cat >conftest.$ac_ext <<_ACEOF
18914 cat confdefs.h >>conftest.$ac_ext
18915 cat >>conftest.$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18918 /* Override any GCC internal prototype to avoid an error.
18919 Use char because int might match the return type of a GCC
18920 builtin and then its argument prototype would still apply. */
18928 return inet_aton ();
18933 rm -f conftest.$ac_objext conftest$ac_exeext
18934 if { (ac_try="$ac_link"
18935 case "(($ac_try" in
18936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18937 *) ac_try_echo
=$ac_try;;
18939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18940 (eval "$ac_link") 2>conftest.er1
18942 grep -v '^ *+' conftest.er1
>conftest.err
18944 cat conftest.err
>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); } &&
18947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18948 { (case "(($ac_try" in
18949 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18950 *) ac_try_echo=$ac_try;;
18952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18953 (eval "$ac_try") 2>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; } &&
18957 { ac_try='test -s conftest$ac_exeext'
18958 { (case "(($ac_try" in
18959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18960 *) ac_try_echo
=$ac_try;;
18962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18963 (eval "$ac_try") 2>&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; }; then
18967 ac_cv_lib_resolv_inet_aton
=yes
18969 echo "$as_me: failed program was:" >&5
18970 sed 's/^/| /' conftest.
$ac_ext >&5
18972 ac_cv_lib_resolv_inet_aton
=no
18975 rm -f core conftest.err conftest.
$ac_objext \
18976 conftest
$ac_exeext conftest.
$ac_ext
18977 LIBS
=$ac_check_lib_save_LIBS
18979 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18980 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18981 if test $ac_cv_lib_resolv_inet_aton = yes; then
18982 cat >>confdefs.h
<<_ACEOF
18983 #define HAVE_LIBRESOLV 1
18986 LIBS
="-lresolv $LIBS"
18993 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18994 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18995 if test "${ac_cv_c_const+set}" = set; then
18996 echo $ECHO_N "(cached) $ECHO_C" >&6
18998 cat >conftest.
$ac_ext <<_ACEOF
19001 cat confdefs.h
>>conftest.
$ac_ext
19002 cat >>conftest.
$ac_ext <<_ACEOF
19003 /* end confdefs.h. */
19008 /* FIXME: Include the comments suggested by Paul. */
19009 #ifndef __cplusplus
19010 /* Ultrix mips cc rejects this. */
19011 typedef int charset[2];
19013 /* SunOS 4.1.1 cc rejects this. */
19014 char const *const *ccp;
19016 /* NEC SVR4.0.2 mips cc rejects this. */
19017 struct point {int x, y;};
19018 static struct point const zero = {0,0};
19019 /* AIX XL C 1.02.0.0 rejects this.
19020 It does not let you subtract one const X* pointer from another in
19021 an arm of an if-expression whose if-part is not a constant
19023 const char *g = "string";
19024 ccp = &g + (g ? g-g : 0);
19025 /* HPUX 7.0 cc rejects these. */
19028 ccp = (char const *const *) p;
19029 { /* SCO 3.2v4 cc rejects this. */
19031 char const *s = 0 ? (char *) 0 : (char const *) 0;
19036 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19037 int x[] = {25, 17};
19038 const int *foo = &x[0];
19041 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19042 typedef const int *iptr;
19046 { /* AIX XL C 1.02.0.0 rejects this saying
19047 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19048 struct s { int j; const int *ap[3]; };
19049 struct s *b; b->j = 5;
19051 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19052 const int foo = 10;
19053 if (!foo) return 0;
19055 return !x[0] && !zero.x;
19062 rm -f conftest.
$ac_objext
19063 if { (ac_try
="$ac_compile"
19064 case "(($ac_try" in
19065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19066 *) ac_try_echo=$ac_try;;
19068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19069 (eval "$ac_compile") 2>conftest.er1
19071 grep -v '^ *+' conftest.er1 >conftest.err
19073 cat conftest.err >&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); } &&
19076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19077 { (case "(($ac_try" in
19078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19079 *) ac_try_echo
=$ac_try;;
19081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19082 (eval "$ac_try") 2>&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; } &&
19086 { ac_try
='test -s conftest.$ac_objext'
19087 { (case "(($ac_try" in
19088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19089 *) ac_try_echo=$ac_try;;
19091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19092 (eval "$ac_try") 2>&5
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); }; }; then
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.$ac_ext >&5
19104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19106 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19107 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19108 if test $ac_cv_c_const = no; then
19110 cat >>confdefs.h <<\_ACEOF
19116 { echo "$as_me:$LINENO: checking for inline" >&5
19117 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19118 if test "${ac_cv_c_inline+set}" = set; then
19119 echo $ECHO_N "(cached) $ECHO_C" >&6
19122 for ac_kw in inline __inline__ __inline; do
19123 cat >conftest.$ac_ext <<_ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 #ifndef __cplusplus
19131 static $ac_kw foo_t static_foo () {return 0; }
19132 $ac_kw foo_t foo () {return 0; }
19136 rm -f conftest.$ac_objext
19137 if { (ac_try="$ac_compile"
19138 case "(($ac_try" in
19139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19140 *) ac_try_echo
=$ac_try;;
19142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_compile") 2>conftest.er1
19145 grep -v '^ *+' conftest.er1
>conftest.err
19147 cat conftest.err
>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } &&
19150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19151 { (case "(($ac_try" in
19152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19153 *) ac_try_echo=$ac_try;;
19155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19156 (eval "$ac_try") 2>&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); }; } &&
19160 { ac_try='test -s conftest.$ac_objext'
19161 { (case "(($ac_try" in
19162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19163 *) ac_try_echo
=$ac_try;;
19165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19166 (eval "$ac_try") 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; }; then
19170 ac_cv_c_inline
=$ac_kw
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.
$ac_ext >&5
19178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19179 test "$ac_cv_c_inline" != no
&& break
19183 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19184 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19187 case $ac_cv_c_inline in
19190 case $ac_cv_c_inline in
19192 *) ac_val
=$ac_cv_c_inline;;
19194 cat >>confdefs.h
<<_ACEOF
19195 #ifndef __cplusplus
19196 #define inline $ac_val
19202 { echo "$as_me:$LINENO: checking for mode_t" >&5
19203 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19204 if test "${ac_cv_type_mode_t+set}" = set; then
19205 echo $ECHO_N "(cached) $ECHO_C" >&6
19207 cat >conftest.
$ac_ext <<_ACEOF
19210 cat confdefs.h
>>conftest.
$ac_ext
19211 cat >>conftest.
$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213 $ac_includes_default
19214 typedef mode_t ac__type_new_;
19218 if ((ac__type_new_ *) 0)
19220 if (sizeof (ac__type_new_))
19226 rm -f conftest.
$ac_objext
19227 if { (ac_try
="$ac_compile"
19228 case "(($ac_try" in
19229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19230 *) ac_try_echo=$ac_try;;
19232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19233 (eval "$ac_compile") 2>conftest.er1
19235 grep -v '^ *+' conftest.er1 >conftest.err
19237 cat conftest.err >&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19241 { (case "(($ac_try" in
19242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19243 *) ac_try_echo
=$ac_try;;
19245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19246 (eval "$ac_try") 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; } &&
19250 { ac_try
='test -s conftest.$ac_objext'
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_try") 2>&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; }; then
19260 ac_cv_type_mode_t=yes
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19265 ac_cv_type_mode_t=no
19268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19271 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19272 if test $ac_cv_type_mode_t = yes; then
19274 cat >>confdefs.h <<_ACEOF
19275 #define HAVE_MODE_T 1
19280 { echo "$as_me:$LINENO: checking for off_t" >&5
19281 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19282 if test "${ac_cv_type_off_t+set}" = set; then
19283 echo $ECHO_N "(cached) $ECHO_C" >&6
19285 cat >conftest.$ac_ext <<_ACEOF
19288 cat confdefs.h >>conftest.$ac_ext
19289 cat >>conftest.$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19291 $ac_includes_default
19292 typedef off_t ac__type_new_;
19296 if ((ac__type_new_ *) 0)
19298 if (sizeof (ac__type_new_))
19304 rm -f conftest.$ac_objext
19305 if { (ac_try="$ac_compile"
19306 case "(($ac_try" in
19307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19308 *) ac_try_echo
=$ac_try;;
19310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19311 (eval "$ac_compile") 2>conftest.er1
19313 grep -v '^ *+' conftest.er1
>conftest.err
19315 cat conftest.err
>&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); } &&
19318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19319 { (case "(($ac_try" in
19320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_try") 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try='test -s conftest.$ac_objext'
19329 { (case "(($ac_try" in
19330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19331 *) ac_try_echo
=$ac_try;;
19333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19334 (eval "$ac_try") 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; }; then
19338 ac_cv_type_off_t
=yes
19340 echo "$as_me: failed program was:" >&5
19341 sed 's/^/| /' conftest.
$ac_ext >&5
19343 ac_cv_type_off_t
=no
19346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19348 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19349 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19350 if test $ac_cv_type_off_t = yes; then
19352 cat >>confdefs.h
<<_ACEOF
19353 #define HAVE_OFF_T 1
19358 { echo "$as_me:$LINENO: checking for pid_t" >&5
19359 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19360 if test "${ac_cv_type_pid_t+set}" = set; then
19361 echo $ECHO_N "(cached) $ECHO_C" >&6
19363 cat >conftest.
$ac_ext <<_ACEOF
19366 cat confdefs.h
>>conftest.
$ac_ext
19367 cat >>conftest.
$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 $ac_includes_default
19370 typedef pid_t ac__type_new_;
19374 if ((ac__type_new_ *) 0)
19376 if (sizeof (ac__type_new_))
19382 rm -f conftest.
$ac_objext
19383 if { (ac_try
="$ac_compile"
19384 case "(($ac_try" in
19385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19386 *) ac_try_echo=$ac_try;;
19388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19389 (eval "$ac_compile") 2>conftest.er1
19391 grep -v '^ *+' conftest.er1 >conftest.err
19393 cat conftest.err >&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } &&
19396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19397 { (case "(($ac_try" in
19398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19399 *) ac_try_echo
=$ac_try;;
19401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19402 (eval "$ac_try") 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); }; } &&
19406 { ac_try
='test -s conftest.$ac_objext'
19407 { (case "(($ac_try" in
19408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19409 *) ac_try_echo=$ac_try;;
19411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19412 (eval "$ac_try") 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19416 ac_cv_type_pid_t=yes
19418 echo "$as_me: failed program was:" >&5
19419 sed 's/^/| /' conftest.$ac_ext >&5
19421 ac_cv_type_pid_t=no
19424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19426 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19427 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19428 if test $ac_cv_type_pid_t = yes; then
19430 cat >>confdefs.h <<_ACEOF
19431 #define HAVE_PID_T 1
19436 { echo "$as_me:$LINENO: checking for size_t" >&5
19437 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19438 if test "${ac_cv_type_size_t+set}" = set; then
19439 echo $ECHO_N "(cached) $ECHO_C" >&6
19441 cat >conftest.$ac_ext <<_ACEOF
19444 cat confdefs.h >>conftest.$ac_ext
19445 cat >>conftest.$ac_ext <<_ACEOF
19446 /* end confdefs.h. */
19447 $ac_includes_default
19448 typedef size_t ac__type_new_;
19452 if ((ac__type_new_ *) 0)
19454 if (sizeof (ac__type_new_))
19460 rm -f conftest.$ac_objext
19461 if { (ac_try="$ac_compile"
19462 case "(($ac_try" in
19463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19464 *) ac_try_echo
=$ac_try;;
19466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19467 (eval "$ac_compile") 2>conftest.er1
19469 grep -v '^ *+' conftest.er1
>conftest.err
19471 cat conftest.err
>&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } &&
19474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19475 { (case "(($ac_try" in
19476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19477 *) ac_try_echo=$ac_try;;
19479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19480 (eval "$ac_try") 2>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; } &&
19484 { ac_try='test -s conftest.$ac_objext'
19485 { (case "(($ac_try" in
19486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19487 *) ac_try_echo
=$ac_try;;
19489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19490 (eval "$ac_try") 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; }; then
19494 ac_cv_type_size_t
=yes
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.
$ac_ext >&5
19499 ac_cv_type_size_t
=no
19502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19504 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19505 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19506 if test $ac_cv_type_size_t = yes; then
19508 cat >>confdefs.h
<<_ACEOF
19509 #define HAVE_SIZE_T 1
19514 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19515 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19516 if test "${ac_cv_type_ssize_t+set}" = set; then
19517 echo $ECHO_N "(cached) $ECHO_C" >&6
19519 cat >conftest.
$ac_ext <<_ACEOF
19522 cat confdefs.h
>>conftest.
$ac_ext
19523 cat >>conftest.
$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 $ac_includes_default
19526 typedef ssize_t ac__type_new_;
19530 if ((ac__type_new_ *) 0)
19532 if (sizeof (ac__type_new_))
19538 rm -f conftest.
$ac_objext
19539 if { (ac_try
="$ac_compile"
19540 case "(($ac_try" in
19541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19542 *) ac_try_echo=$ac_try;;
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19545 (eval "$ac_compile") 2>conftest.er1
19547 grep -v '^ *+' conftest.er1 >conftest.err
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } &&
19552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19553 { (case "(($ac_try" in
19554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19555 *) ac_try_echo
=$ac_try;;
19557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19558 (eval "$ac_try") 2>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; } &&
19562 { ac_try
='test -s conftest.$ac_objext'
19563 { (case "(($ac_try" in
19564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19565 *) ac_try_echo=$ac_try;;
19567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_try") 2>&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; }; then
19572 ac_cv_type_ssize_t=yes
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.$ac_ext >&5
19577 ac_cv_type_ssize_t=no
19580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19582 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19583 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19584 if test $ac_cv_type_ssize_t = yes; then
19586 cat >>confdefs.h <<_ACEOF
19587 #define HAVE_SSIZE_T 1
19592 { echo "$as_me:$LINENO: checking for long long" >&5
19593 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19594 if test "${ac_cv_type_long_long+set}" = set; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19597 cat >conftest.$ac_ext <<_ACEOF
19600 cat confdefs.h >>conftest.$ac_ext
19601 cat >>conftest.$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 $ac_includes_default
19604 typedef long long ac__type_new_;
19608 if ((ac__type_new_ *) 0)
19610 if (sizeof (ac__type_new_))
19616 rm -f conftest.$ac_objext
19617 if { (ac_try="$ac_compile"
19618 case "(($ac_try" in
19619 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19620 *) ac_try_echo
=$ac_try;;
19622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19623 (eval "$ac_compile") 2>conftest.er1
19625 grep -v '^ *+' conftest.er1
>conftest.err
19627 cat conftest.err
>&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } &&
19630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19631 { (case "(($ac_try" in
19632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19633 *) ac_try_echo=$ac_try;;
19635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19636 (eval "$ac_try") 2>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); }; } &&
19640 { ac_try='test -s conftest.$ac_objext'
19641 { (case "(($ac_try" in
19642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19643 *) ac_try_echo
=$ac_try;;
19645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19646 (eval "$ac_try") 2>&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); }; }; then
19650 ac_cv_type_long_long
=yes
19652 echo "$as_me: failed program was:" >&5
19653 sed 's/^/| /' conftest.
$ac_ext >&5
19655 ac_cv_type_long_long
=no
19658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19660 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19661 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19662 if test $ac_cv_type_long_long = yes; then
19664 cat >>confdefs.h
<<_ACEOF
19665 #define HAVE_LONG_LONG 1
19670 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19671 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19672 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19675 cat >conftest.
$ac_ext <<_ACEOF
19678 cat confdefs.h
>>conftest.
$ac_ext
19679 cat >>conftest.
$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19682 typedef fsblkcnt_t ac__type_new_;
19686 if ((ac__type_new_ *) 0)
19688 if (sizeof (ac__type_new_))
19694 rm -f conftest.
$ac_objext
19695 if { (ac_try
="$ac_compile"
19696 case "(($ac_try" in
19697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19698 *) ac_try_echo=$ac_try;;
19700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19701 (eval "$ac_compile") 2>conftest.er1
19703 grep -v '^ *+' conftest.er1 >conftest.err
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } &&
19708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19709 { (case "(($ac_try" in
19710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19711 *) ac_try_echo
=$ac_try;;
19713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19714 (eval "$ac_try") 2>&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); }; } &&
19718 { ac_try
='test -s conftest.$ac_objext'
19719 { (case "(($ac_try" in
19720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19721 *) ac_try_echo=$ac_try;;
19723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19724 (eval "$ac_try") 2>&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); }; }; then
19728 ac_cv_type_fsblkcnt_t=yes
19730 echo "$as_me: failed program was:" >&5
19731 sed 's/^/| /' conftest.$ac_ext >&5
19733 ac_cv_type_fsblkcnt_t=no
19736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19738 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19739 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19740 if test $ac_cv_type_fsblkcnt_t = yes; then
19742 cat >>confdefs.h <<_ACEOF
19743 #define HAVE_FSBLKCNT_T 1
19748 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19749 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19750 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19751 echo $ECHO_N "(cached) $ECHO_C" >&6
19753 cat >conftest.$ac_ext <<_ACEOF
19756 cat confdefs.h >>conftest.$ac_ext
19757 cat >>conftest.$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 $ac_includes_default
19760 typedef fsfilcnt_t ac__type_new_;
19764 if ((ac__type_new_ *) 0)
19766 if (sizeof (ac__type_new_))
19772 rm -f conftest.$ac_objext
19773 if { (ac_try="$ac_compile"
19774 case "(($ac_try" in
19775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19776 *) ac_try_echo
=$ac_try;;
19778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19779 (eval "$ac_compile") 2>conftest.er1
19781 grep -v '^ *+' conftest.er1
>conftest.err
19783 cat conftest.err
>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); } &&
19786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19787 { (case "(($ac_try" in
19788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_try") 2>&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); }; } &&
19796 { ac_try='test -s conftest.$ac_objext'
19797 { (case "(($ac_try" in
19798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19799 *) ac_try_echo
=$ac_try;;
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_try") 2>&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); }; }; then
19806 ac_cv_type_fsfilcnt_t
=yes
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.
$ac_ext >&5
19811 ac_cv_type_fsfilcnt_t
=no
19814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19816 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19817 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19818 if test $ac_cv_type_fsfilcnt_t = yes; then
19820 cat >>confdefs.h
<<_ACEOF
19821 #define HAVE_FSFILCNT_T 1
19827 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19828 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19829 if test "${ac_cv_type_sigset_t+set}" = set; then
19830 echo $ECHO_N "(cached) $ECHO_C" >&6
19832 cat >conftest.
$ac_ext <<_ACEOF
19835 cat confdefs.h
>>conftest.
$ac_ext
19836 cat >>conftest.
$ac_ext <<_ACEOF
19837 /* end confdefs.h. */
19838 #include <signal.h>
19840 typedef sigset_t ac__type_new_;
19844 if ((ac__type_new_ *) 0)
19846 if (sizeof (ac__type_new_))
19852 rm -f conftest.
$ac_objext
19853 if { (ac_try
="$ac_compile"
19854 case "(($ac_try" in
19855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19856 *) ac_try_echo=$ac_try;;
19858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19859 (eval "$ac_compile") 2>conftest.er1
19861 grep -v '^ *+' conftest.er1 >conftest.err
19863 cat conftest.err >&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); } &&
19866 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19867 { (case "(($ac_try" in
19868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19869 *) ac_try_echo
=$ac_try;;
19871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19872 (eval "$ac_try") 2>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; } &&
19876 { ac_try
='test -s conftest.$ac_objext'
19877 { (case "(($ac_try" in
19878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_try") 2>&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); }; }; then
19886 ac_cv_type_sigset_t=yes
19888 echo "$as_me: failed program was:" >&5
19889 sed 's/^/| /' conftest.$ac_ext >&5
19891 ac_cv_type_sigset_t=no
19894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19896 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19897 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19898 if test $ac_cv_type_sigset_t = yes; then
19900 cat >>confdefs.h <<_ACEOF
19901 #define HAVE_SIGSET_T 1
19907 { echo "$as_me:$LINENO: checking for request_sense" >&5
19908 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19909 if test "${ac_cv_type_request_sense+set}" = set; then
19910 echo $ECHO_N "(cached) $ECHO_C" >&6
19912 cat >conftest.$ac_ext <<_ACEOF
19915 cat confdefs.h >>conftest.$ac_ext
19916 cat >>conftest.$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 #include <linux/cdrom.h>
19920 typedef request_sense ac__type_new_;
19924 if ((ac__type_new_ *) 0)
19926 if (sizeof (ac__type_new_))
19932 rm -f conftest.$ac_objext
19933 if { (ac_try="$ac_compile"
19934 case "(($ac_try" in
19935 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19936 *) ac_try_echo
=$ac_try;;
19938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19939 (eval "$ac_compile") 2>conftest.er1
19941 grep -v '^ *+' conftest.er1
>conftest.err
19943 cat conftest.err
>&5
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); } &&
19946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); }; } &&
19956 { ac_try='test -s conftest.$ac_objext'
19957 { (case "(($ac_try" in
19958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19959 *) ac_try_echo
=$ac_try;;
19961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19962 (eval "$ac_try") 2>&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); }; }; then
19966 ac_cv_type_request_sense
=yes
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.
$ac_ext >&5
19971 ac_cv_type_request_sense
=no
19974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19976 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19977 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19978 if test $ac_cv_type_request_sense = yes; then
19980 cat >>confdefs.h
<<_ACEOF
19981 #define HAVE_REQUEST_SENSE 1
19988 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19989 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19990 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19991 echo $ECHO_N "(cached) $ECHO_C" >&6
19993 cat >conftest.
$ac_ext <<_ACEOF
19996 cat confdefs.h
>>conftest.
$ac_ext
19997 cat >>conftest.
$ac_ext <<_ACEOF
19998 /* end confdefs.h. */
19999 #ifdef HAVE_LINUX_INPUT_H
20000 #include <linux/input.h>
20006 static struct ff_effect ac_aggr;
20007 if (ac_aggr.direction)
20013 rm -f conftest.
$ac_objext
20014 if { (ac_try
="$ac_compile"
20015 case "(($ac_try" in
20016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20017 *) ac_try_echo=$ac_try;;
20019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20020 (eval "$ac_compile") 2>conftest.er1
20022 grep -v '^ *+' conftest.er1 >conftest.err
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20028 { (case "(($ac_try" in
20029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20030 *) ac_try_echo
=$ac_try;;
20032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_try") 2>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; } &&
20037 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
20047 ac_cv_member_struct_ff_effect_direction=yes
20049 echo "$as_me: failed program was:" >&5
20050 sed 's/^/| /' conftest.$ac_ext >&5
20052 cat >conftest.$ac_ext <<_ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20058 #ifdef HAVE_LINUX_INPUT_H
20059 #include <linux/input.h>
20065 static struct ff_effect ac_aggr;
20066 if (sizeof ac_aggr.direction)
20072 rm -f conftest.$ac_objext
20073 if { (ac_try="$ac_compile"
20074 case "(($ac_try" in
20075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20076 *) ac_try_echo
=$ac_try;;
20078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20079 (eval "$ac_compile") 2>conftest.er1
20081 grep -v '^ *+' conftest.er1
>conftest.err
20083 cat conftest.err
>&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } &&
20086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20087 { (case "(($ac_try" in
20088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20089 *) ac_try_echo=$ac_try;;
20091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20092 (eval "$ac_try") 2>&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; } &&
20096 { ac_try='test -s conftest.$ac_objext'
20097 { (case "(($ac_try" in
20098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20099 *) ac_try_echo
=$ac_try;;
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_try") 2>&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); }; }; then
20106 ac_cv_member_struct_ff_effect_direction
=yes
20108 echo "$as_me: failed program was:" >&5
20109 sed 's/^/| /' conftest.
$ac_ext >&5
20111 ac_cv_member_struct_ff_effect_direction
=no
20114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20119 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20120 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20121 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20123 cat >>confdefs.h
<<_ACEOF
20124 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20131 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20132 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20133 if test "${wine_cv_have_sigaddset+set}" = set; then
20134 echo $ECHO_N "(cached) $ECHO_C" >&6
20136 cat >conftest.
$ac_ext <<_ACEOF
20139 cat confdefs.h
>>conftest.
$ac_ext
20140 cat >>conftest.
$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 #include <signal.h>
20146 sigset_t set; sigaddset(&set,SIGTERM);
20151 rm -f conftest.
$ac_objext conftest
$ac_exeext
20152 if { (ac_try
="$ac_link"
20153 case "(($ac_try" in
20154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20155 *) ac_try_echo=$ac_try;;
20157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20158 (eval "$ac_link") 2>conftest.er1
20160 grep -v '^ *+' conftest.er1 >conftest.err
20162 cat conftest.err >&5
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); } &&
20165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20166 { (case "(($ac_try" in
20167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20168 *) ac_try_echo
=$ac_try;;
20170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20171 (eval "$ac_try") 2>&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); }; } &&
20175 { ac_try
='test -s conftest$ac_exeext'
20176 { (case "(($ac_try" in
20177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20178 *) ac_try_echo=$ac_try;;
20180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20181 (eval "$ac_try") 2>&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); }; }; then
20185 wine_cv_have_sigaddset=yes
20187 echo "$as_me: failed program was:" >&5
20188 sed 's/^/| /' conftest.$ac_ext >&5
20190 wine_cv_have_sigaddset=no
20193 rm -f core conftest.err conftest.$ac_objext \
20194 conftest$ac_exeext conftest.$ac_ext
20196 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20197 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20198 if test "$wine_cv_have_sigaddset" = "yes"
20201 cat >>confdefs.h <<\_ACEOF
20202 #define HAVE_SIGADDSET 1
20208 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20209 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20210 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20211 echo $ECHO_N "(cached) $ECHO_C" >&6
20213 cat >conftest.$ac_ext <<_ACEOF
20216 cat confdefs.h >>conftest.$ac_ext
20217 cat >>conftest.$ac_ext <<_ACEOF
20218 /* end confdefs.h. */
20228 struct hostent *result;
20235 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20236 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20242 rm -f conftest.$ac_objext conftest$ac_exeext
20243 if { (ac_try="$ac_link"
20244 case "(($ac_try" in
20245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20246 *) ac_try_echo
=$ac_try;;
20248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20249 (eval "$ac_link") 2>conftest.er1
20251 grep -v '^ *+' conftest.er1
>conftest.err
20253 cat conftest.err
>&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } &&
20256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20257 { (case "(($ac_try" in
20258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20259 *) ac_try_echo=$ac_try;;
20261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20262 (eval "$ac_try") 2>&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); }; } &&
20266 { ac_try='test -s conftest$ac_exeext'
20267 { (case "(($ac_try" in
20268 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20269 *) ac_try_echo
=$ac_try;;
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272 (eval "$ac_try") 2>&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); }; }; then
20276 wine_cv_linux_gethostbyname_r_6
=yes
20278 echo "$as_me: failed program was:" >&5
20279 sed 's/^/| /' conftest.
$ac_ext >&5
20281 wine_cv_linux_gethostbyname_r_6
=no
20285 rm -f core conftest.err conftest.
$ac_objext \
20286 conftest
$ac_exeext conftest.
$ac_ext
20289 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20290 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20291 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20294 cat >>confdefs.h
<<\_ACEOF
20295 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20300 if test "$ac_cv_header_linux_joystick_h" = "yes"
20302 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20303 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20304 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20305 echo $ECHO_N "(cached) $ECHO_C" >&6
20307 cat >conftest.
$ac_ext <<_ACEOF
20310 cat confdefs.h
>>conftest.
$ac_ext
20311 cat >>conftest.
$ac_ext <<_ACEOF
20312 /* end confdefs.h. */
20314 #include <sys/ioctl.h>
20315 #include <linux/joystick.h>
20317 struct js_event blub;
20318 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20319 #error "no 2.2 header"
20330 rm -f conftest.
$ac_objext
20331 if { (ac_try
="$ac_compile"
20332 case "(($ac_try" in
20333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20334 *) ac_try_echo=$ac_try;;
20336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20337 (eval "$ac_compile") 2>conftest.er1
20339 grep -v '^ *+' conftest.er1 >conftest.err
20341 cat conftest.err >&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } &&
20344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20345 { (case "(($ac_try" in
20346 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20347 *) ac_try_echo
=$ac_try;;
20349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20350 (eval "$ac_try") 2>&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); }; } &&
20354 { ac_try
='test -s conftest.$ac_objext'
20355 { (case "(($ac_try" in
20356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20357 *) ac_try_echo=$ac_try;;
20359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20360 (eval "$ac_try") 2>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; }; then
20364 wine_cv_linux_joystick_22_api=yes
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.$ac_ext >&5
20369 wine_cv_linux_joystick_22_api=no
20372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20375 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20376 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20377 if test "$wine_cv_linux_joystick_22_api" = "yes"
20380 cat >>confdefs.h <<\_ACEOF
20381 #define HAVE_LINUX_22_JOYSTICK_API 1
20388 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20389 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20390 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 cat >conftest.$ac_ext <<_ACEOF
20396 cat confdefs.h >>conftest.$ac_ext
20397 cat >>conftest.$ac_ext <<_ACEOF
20398 /* end confdefs.h. */
20399 #include <sys/types.h>
20400 #ifdef HAVE_SYS_PARAM_H
20401 # include <sys/param.h>
20403 #ifdef HAVE_SYS_MOUNT_H
20404 # include <sys/mount.h>
20406 #ifdef HAVE_SYS_VFS_H
20407 # include <sys/vfs.h>
20409 #ifdef HAVE_SYS_STATFS_H
20410 # include <sys/statfs.h>
20416 static struct statfs ac_aggr;
20417 if (ac_aggr.f_bfree)
20423 rm -f conftest.$ac_objext
20424 if { (ac_try="$ac_compile"
20425 case "(($ac_try" in
20426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20427 *) ac_try_echo
=$ac_try;;
20429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20430 (eval "$ac_compile") 2>conftest.er1
20432 grep -v '^ *+' conftest.er1
>conftest.err
20434 cat conftest.err
>&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } &&
20437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20438 { (case "(($ac_try" in
20439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20440 *) ac_try_echo=$ac_try;;
20442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20443 (eval "$ac_try") 2>&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; } &&
20447 { ac_try='test -s conftest.$ac_objext'
20448 { (case "(($ac_try" in
20449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20450 *) ac_try_echo
=$ac_try;;
20452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20453 (eval "$ac_try") 2>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; }; then
20457 ac_cv_member_struct_statfs_f_bfree
=yes
20459 echo "$as_me: failed program was:" >&5
20460 sed 's/^/| /' conftest.
$ac_ext >&5
20462 cat >conftest.
$ac_ext <<_ACEOF
20465 cat confdefs.h
>>conftest.
$ac_ext
20466 cat >>conftest.
$ac_ext <<_ACEOF
20467 /* end confdefs.h. */
20468 #include <sys/types.h>
20469 #ifdef HAVE_SYS_PARAM_H
20470 # include <sys/param.h>
20472 #ifdef HAVE_SYS_MOUNT_H
20473 # include <sys/mount.h>
20475 #ifdef HAVE_SYS_VFS_H
20476 # include <sys/vfs.h>
20478 #ifdef HAVE_SYS_STATFS_H
20479 # include <sys/statfs.h>
20485 static struct statfs ac_aggr;
20486 if (sizeof ac_aggr.f_bfree)
20492 rm -f conftest.
$ac_objext
20493 if { (ac_try
="$ac_compile"
20494 case "(($ac_try" in
20495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20496 *) ac_try_echo=$ac_try;;
20498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20499 (eval "$ac_compile") 2>conftest.er1
20501 grep -v '^ *+' conftest.er1 >conftest.err
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } &&
20506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20507 { (case "(($ac_try" in
20508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20509 *) ac_try_echo
=$ac_try;;
20511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20512 (eval "$ac_try") 2>&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); }; } &&
20516 { ac_try
='test -s conftest.$ac_objext'
20517 { (case "(($ac_try" in
20518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20519 *) ac_try_echo=$ac_try;;
20521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20522 (eval "$ac_try") 2>&5
20524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20525 (exit $ac_status); }; }; then
20526 ac_cv_member_struct_statfs_f_bfree=yes
20528 echo "$as_me: failed program was:" >&5
20529 sed 's/^/| /' conftest.$ac_ext >&5
20531 ac_cv_member_struct_statfs_f_bfree=no
20534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20539 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20540 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20541 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20543 cat >>confdefs.h <<_ACEOF
20544 #define HAVE_STRUCT_STATFS_F_BFREE 1
20549 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20550 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20551 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20552 echo $ECHO_N "(cached) $ECHO_C" >&6
20554 cat >conftest.$ac_ext <<_ACEOF
20557 cat confdefs.h >>conftest.$ac_ext
20558 cat >>conftest.$ac_ext <<_ACEOF
20559 /* end confdefs.h. */
20560 #include <sys/types.h>
20561 #ifdef HAVE_SYS_PARAM_H
20562 # include <sys/param.h>
20564 #ifdef HAVE_SYS_MOUNT_H
20565 # include <sys/mount.h>
20567 #ifdef HAVE_SYS_VFS_H
20568 # include <sys/vfs.h>
20570 #ifdef HAVE_SYS_STATFS_H
20571 # include <sys/statfs.h>
20577 static struct statfs ac_aggr;
20578 if (ac_aggr.f_bavail)
20584 rm -f conftest.$ac_objext
20585 if { (ac_try="$ac_compile"
20586 case "(($ac_try" in
20587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20588 *) ac_try_echo
=$ac_try;;
20590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20591 (eval "$ac_compile") 2>conftest.er1
20593 grep -v '^ *+' conftest.er1
>conftest.err
20595 cat conftest.err
>&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); } &&
20598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20599 { (case "(($ac_try" in
20600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20601 *) ac_try_echo=$ac_try;;
20603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20604 (eval "$ac_try") 2>&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); }; } &&
20608 { ac_try='test -s conftest.$ac_objext'
20609 { (case "(($ac_try" in
20610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20611 *) ac_try_echo
=$ac_try;;
20613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20614 (eval "$ac_try") 2>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; }; then
20618 ac_cv_member_struct_statfs_f_bavail
=yes
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.
$ac_ext >&5
20623 cat >conftest.
$ac_ext <<_ACEOF
20626 cat confdefs.h
>>conftest.
$ac_ext
20627 cat >>conftest.
$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 #include <sys/types.h>
20630 #ifdef HAVE_SYS_PARAM_H
20631 # include <sys/param.h>
20633 #ifdef HAVE_SYS_MOUNT_H
20634 # include <sys/mount.h>
20636 #ifdef HAVE_SYS_VFS_H
20637 # include <sys/vfs.h>
20639 #ifdef HAVE_SYS_STATFS_H
20640 # include <sys/statfs.h>
20646 static struct statfs ac_aggr;
20647 if (sizeof ac_aggr.f_bavail)
20653 rm -f conftest.
$ac_objext
20654 if { (ac_try
="$ac_compile"
20655 case "(($ac_try" in
20656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20657 *) ac_try_echo=$ac_try;;
20659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 (eval "$ac_compile") 2>conftest.er1
20662 grep -v '^ *+' conftest.er1 >conftest.err
20664 cat conftest.err >&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } &&
20667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20668 { (case "(($ac_try" in
20669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20670 *) ac_try_echo
=$ac_try;;
20672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20673 (eval "$ac_try") 2>&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); }; } &&
20677 { ac_try
='test -s conftest.$ac_objext'
20678 { (case "(($ac_try" in
20679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20680 *) ac_try_echo=$ac_try;;
20682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20683 (eval "$ac_try") 2>&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); }; }; then
20687 ac_cv_member_struct_statfs_f_bavail=yes
20689 echo "$as_me: failed program was:" >&5
20690 sed 's/^/| /' conftest.$ac_ext >&5
20692 ac_cv_member_struct_statfs_f_bavail=no
20695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20700 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20701 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20702 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20704 cat >>confdefs.h <<_ACEOF
20705 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20710 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20711 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20712 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20713 echo $ECHO_N "(cached) $ECHO_C" >&6
20715 cat >conftest.$ac_ext <<_ACEOF
20718 cat confdefs.h >>conftest.$ac_ext
20719 cat >>conftest.$ac_ext <<_ACEOF
20720 /* end confdefs.h. */
20721 #include <sys/types.h>
20722 #ifdef HAVE_SYS_PARAM_H
20723 # include <sys/param.h>
20725 #ifdef HAVE_SYS_MOUNT_H
20726 # include <sys/mount.h>
20728 #ifdef HAVE_SYS_VFS_H
20729 # include <sys/vfs.h>
20731 #ifdef HAVE_SYS_STATFS_H
20732 # include <sys/statfs.h>
20738 static struct statfs ac_aggr;
20739 if (ac_aggr.f_frsize)
20745 rm -f conftest.$ac_objext
20746 if { (ac_try="$ac_compile"
20747 case "(($ac_try" in
20748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20749 *) ac_try_echo
=$ac_try;;
20751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20752 (eval "$ac_compile") 2>conftest.er1
20754 grep -v '^ *+' conftest.er1
>conftest.err
20756 cat conftest.err
>&5
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); } &&
20759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20760 { (case "(($ac_try" in
20761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20762 *) ac_try_echo=$ac_try;;
20764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20765 (eval "$ac_try") 2>&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); }; } &&
20769 { ac_try='test -s conftest.$ac_objext'
20770 { (case "(($ac_try" in
20771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20772 *) ac_try_echo
=$ac_try;;
20774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20775 (eval "$ac_try") 2>&5
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; }; then
20779 ac_cv_member_struct_statfs_f_frsize
=yes
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.
$ac_ext >&5
20784 cat >conftest.
$ac_ext <<_ACEOF
20787 cat confdefs.h
>>conftest.
$ac_ext
20788 cat >>conftest.
$ac_ext <<_ACEOF
20789 /* end confdefs.h. */
20790 #include <sys/types.h>
20791 #ifdef HAVE_SYS_PARAM_H
20792 # include <sys/param.h>
20794 #ifdef HAVE_SYS_MOUNT_H
20795 # include <sys/mount.h>
20797 #ifdef HAVE_SYS_VFS_H
20798 # include <sys/vfs.h>
20800 #ifdef HAVE_SYS_STATFS_H
20801 # include <sys/statfs.h>
20807 static struct statfs ac_aggr;
20808 if (sizeof ac_aggr.f_frsize)
20814 rm -f conftest.
$ac_objext
20815 if { (ac_try
="$ac_compile"
20816 case "(($ac_try" in
20817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20818 *) ac_try_echo=$ac_try;;
20820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20821 (eval "$ac_compile") 2>conftest.er1
20823 grep -v '^ *+' conftest.er1 >conftest.err
20825 cat conftest.err >&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } &&
20828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20829 { (case "(($ac_try" in
20830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20831 *) ac_try_echo
=$ac_try;;
20833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20834 (eval "$ac_try") 2>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; } &&
20838 { ac_try
='test -s conftest.$ac_objext'
20839 { (case "(($ac_try" in
20840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20841 *) ac_try_echo=$ac_try;;
20843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20844 (eval "$ac_try") 2>&5
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); }; }; then
20848 ac_cv_member_struct_statfs_f_frsize=yes
20850 echo "$as_me: failed program was:" >&5
20851 sed 's/^/| /' conftest.$ac_ext >&5
20853 ac_cv_member_struct_statfs_f_frsize=no
20856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20861 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20862 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20863 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20865 cat >>confdefs.h <<_ACEOF
20866 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20871 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20872 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20873 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20874 echo $ECHO_N "(cached) $ECHO_C" >&6
20876 cat >conftest.$ac_ext <<_ACEOF
20879 cat confdefs.h >>conftest.$ac_ext
20880 cat >>conftest.$ac_ext <<_ACEOF
20881 /* end confdefs.h. */
20882 #include <sys/types.h>
20883 #ifdef HAVE_SYS_PARAM_H
20884 # include <sys/param.h>
20886 #ifdef HAVE_SYS_MOUNT_H
20887 # include <sys/mount.h>
20889 #ifdef HAVE_SYS_VFS_H
20890 # include <sys/vfs.h>
20892 #ifdef HAVE_SYS_STATFS_H
20893 # include <sys/statfs.h>
20899 static struct statfs ac_aggr;
20900 if (ac_aggr.f_ffree)
20906 rm -f conftest.$ac_objext
20907 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20915 grep -v '^ *+' conftest.er1
>conftest.err
20917 cat conftest.err
>&5
20918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20919 (exit $ac_status); } &&
20920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20921 { (case "(($ac_try" in
20922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20923 *) ac_try_echo=$ac_try;;
20925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20926 (eval "$ac_try") 2>&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); }; } &&
20930 { ac_try='test -s conftest.$ac_objext'
20931 { (case "(($ac_try" in
20932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20933 *) ac_try_echo
=$ac_try;;
20935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20936 (eval "$ac_try") 2>&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); }; }; then
20940 ac_cv_member_struct_statfs_f_ffree
=yes
20942 echo "$as_me: failed program was:" >&5
20943 sed 's/^/| /' conftest.
$ac_ext >&5
20945 cat >conftest.
$ac_ext <<_ACEOF
20948 cat confdefs.h
>>conftest.
$ac_ext
20949 cat >>conftest.
$ac_ext <<_ACEOF
20950 /* end confdefs.h. */
20951 #include <sys/types.h>
20952 #ifdef HAVE_SYS_PARAM_H
20953 # include <sys/param.h>
20955 #ifdef HAVE_SYS_MOUNT_H
20956 # include <sys/mount.h>
20958 #ifdef HAVE_SYS_VFS_H
20959 # include <sys/vfs.h>
20961 #ifdef HAVE_SYS_STATFS_H
20962 # include <sys/statfs.h>
20968 static struct statfs ac_aggr;
20969 if (sizeof ac_aggr.f_ffree)
20975 rm -f conftest.
$ac_objext
20976 if { (ac_try
="$ac_compile"
20977 case "(($ac_try" in
20978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20979 *) ac_try_echo=$ac_try;;
20981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20982 (eval "$ac_compile") 2>conftest.er1
20984 grep -v '^ *+' conftest.er1 >conftest.err
20986 cat conftest.err >&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); } &&
20989 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20990 { (case "(($ac_try" in
20991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20992 *) ac_try_echo
=$ac_try;;
20994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20995 (eval "$ac_try") 2>&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); }; } &&
20999 { ac_try
='test -s conftest.$ac_objext'
21000 { (case "(($ac_try" in
21001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21002 *) ac_try_echo=$ac_try;;
21004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21005 (eval "$ac_try") 2>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; }; then
21009 ac_cv_member_struct_statfs_f_ffree=yes
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21014 ac_cv_member_struct_statfs_f_ffree=no
21017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21022 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21023 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21024 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21026 cat >>confdefs.h <<_ACEOF
21027 #define HAVE_STRUCT_STATFS_F_FFREE 1
21032 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21033 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21034 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21035 echo $ECHO_N "(cached) $ECHO_C" >&6
21037 cat >conftest.$ac_ext <<_ACEOF
21040 cat confdefs.h >>conftest.$ac_ext
21041 cat >>conftest.$ac_ext <<_ACEOF
21042 /* end confdefs.h. */
21043 #include <sys/types.h>
21044 #ifdef HAVE_SYS_PARAM_H
21045 # include <sys/param.h>
21047 #ifdef HAVE_SYS_MOUNT_H
21048 # include <sys/mount.h>
21050 #ifdef HAVE_SYS_VFS_H
21051 # include <sys/vfs.h>
21053 #ifdef HAVE_SYS_STATFS_H
21054 # include <sys/statfs.h>
21060 static struct statfs ac_aggr;
21061 if (ac_aggr.f_favail)
21067 rm -f conftest.$ac_objext
21068 if { (ac_try="$ac_compile"
21069 case "(($ac_try" in
21070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21071 *) ac_try_echo
=$ac_try;;
21073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21074 (eval "$ac_compile") 2>conftest.er1
21076 grep -v '^ *+' conftest.er1
>conftest.err
21078 cat conftest.err
>&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); } &&
21081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21082 { (case "(($ac_try" in
21083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21084 *) ac_try_echo=$ac_try;;
21086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21087 (eval "$ac_try") 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; } &&
21091 { ac_try='test -s conftest.$ac_objext'
21092 { (case "(($ac_try" in
21093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21094 *) ac_try_echo
=$ac_try;;
21096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_try") 2>&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); }; }; then
21101 ac_cv_member_struct_statfs_f_favail
=yes
21103 echo "$as_me: failed program was:" >&5
21104 sed 's/^/| /' conftest.
$ac_ext >&5
21106 cat >conftest.
$ac_ext <<_ACEOF
21109 cat confdefs.h
>>conftest.
$ac_ext
21110 cat >>conftest.
$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21112 #include <sys/types.h>
21113 #ifdef HAVE_SYS_PARAM_H
21114 # include <sys/param.h>
21116 #ifdef HAVE_SYS_MOUNT_H
21117 # include <sys/mount.h>
21119 #ifdef HAVE_SYS_VFS_H
21120 # include <sys/vfs.h>
21122 #ifdef HAVE_SYS_STATFS_H
21123 # include <sys/statfs.h>
21129 static struct statfs ac_aggr;
21130 if (sizeof ac_aggr.f_favail)
21136 rm -f conftest.
$ac_objext
21137 if { (ac_try
="$ac_compile"
21138 case "(($ac_try" in
21139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21140 *) ac_try_echo=$ac_try;;
21142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21143 (eval "$ac_compile") 2>conftest.er1
21145 grep -v '^ *+' conftest.er1 >conftest.err
21147 cat conftest.err >&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); } &&
21150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21151 { (case "(($ac_try" in
21152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21153 *) ac_try_echo
=$ac_try;;
21155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21156 (eval "$ac_try") 2>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; } &&
21160 { ac_try
='test -s conftest.$ac_objext'
21161 { (case "(($ac_try" in
21162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21166 (eval "$ac_try") 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 ac_cv_member_struct_statfs_f_favail=yes
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.$ac_ext >&5
21175 ac_cv_member_struct_statfs_f_favail=no
21178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21183 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21184 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21185 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21187 cat >>confdefs.h <<_ACEOF
21188 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21193 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21194 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21195 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21196 echo $ECHO_N "(cached) $ECHO_C" >&6
21198 cat >conftest.$ac_ext <<_ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 #include <sys/types.h>
21205 #ifdef HAVE_SYS_PARAM_H
21206 # include <sys/param.h>
21208 #ifdef HAVE_SYS_MOUNT_H
21209 # include <sys/mount.h>
21211 #ifdef HAVE_SYS_VFS_H
21212 # include <sys/vfs.h>
21214 #ifdef HAVE_SYS_STATFS_H
21215 # include <sys/statfs.h>
21221 static struct statfs ac_aggr;
21222 if (ac_aggr.f_namelen)
21228 rm -f conftest.$ac_objext
21229 if { (ac_try="$ac_compile"
21230 case "(($ac_try" in
21231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21232 *) ac_try_echo
=$ac_try;;
21234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21235 (eval "$ac_compile") 2>conftest.er1
21237 grep -v '^ *+' conftest.er1
>conftest.err
21239 cat conftest.err
>&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } &&
21242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21243 { (case "(($ac_try" in
21244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21245 *) ac_try_echo=$ac_try;;
21247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21248 (eval "$ac_try") 2>&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); }; } &&
21252 { ac_try='test -s conftest.$ac_objext'
21253 { (case "(($ac_try" in
21254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21255 *) ac_try_echo
=$ac_try;;
21257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21258 (eval "$ac_try") 2>&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 ac_cv_member_struct_statfs_f_namelen
=yes
21264 echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.
$ac_ext >&5
21267 cat >conftest.
$ac_ext <<_ACEOF
21270 cat confdefs.h
>>conftest.
$ac_ext
21271 cat >>conftest.
$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 #include <sys/types.h>
21274 #ifdef HAVE_SYS_PARAM_H
21275 # include <sys/param.h>
21277 #ifdef HAVE_SYS_MOUNT_H
21278 # include <sys/mount.h>
21280 #ifdef HAVE_SYS_VFS_H
21281 # include <sys/vfs.h>
21283 #ifdef HAVE_SYS_STATFS_H
21284 # include <sys/statfs.h>
21290 static struct statfs ac_aggr;
21291 if (sizeof ac_aggr.f_namelen)
21297 rm -f conftest.
$ac_objext
21298 if { (ac_try
="$ac_compile"
21299 case "(($ac_try" in
21300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21301 *) ac_try_echo=$ac_try;;
21303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21304 (eval "$ac_compile") 2>conftest.er1
21306 grep -v '^ *+' conftest.er1 >conftest.err
21308 cat conftest.err >&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } &&
21311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21312 { (case "(($ac_try" in
21313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21314 *) ac_try_echo
=$ac_try;;
21316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_try") 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; } &&
21321 { ac_try
='test -s conftest.$ac_objext'
21322 { (case "(($ac_try" in
21323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21324 *) ac_try_echo=$ac_try;;
21326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21327 (eval "$ac_try") 2>&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); }; }; then
21331 ac_cv_member_struct_statfs_f_namelen=yes
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21336 ac_cv_member_struct_statfs_f_namelen=no
21339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21344 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21345 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21346 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21348 cat >>confdefs.h <<_ACEOF
21349 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21356 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21357 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21358 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21359 echo $ECHO_N "(cached) $ECHO_C" >&6
21361 cat >conftest.$ac_ext <<_ACEOF
21364 cat confdefs.h >>conftest.$ac_ext
21365 cat >>conftest.$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21367 #ifdef HAVE_SYS_STATVFS_H
21368 #include <sys/statvfs.h>
21374 static struct statvfs ac_aggr;
21375 if (ac_aggr.f_blocks)
21381 rm -f conftest.$ac_objext
21382 if { (ac_try="$ac_compile"
21383 case "(($ac_try" in
21384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21385 *) ac_try_echo
=$ac_try;;
21387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21388 (eval "$ac_compile") 2>conftest.er1
21390 grep -v '^ *+' conftest.er1
>conftest.err
21392 cat conftest.err
>&5
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); } &&
21395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21396 { (case "(($ac_try" in
21397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21398 *) ac_try_echo=$ac_try;;
21400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21401 (eval "$ac_try") 2>&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); }; } &&
21405 { ac_try='test -s conftest.$ac_objext'
21406 { (case "(($ac_try" in
21407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21408 *) ac_try_echo
=$ac_try;;
21410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21411 (eval "$ac_try") 2>&5
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); }; }; then
21415 ac_cv_member_struct_statvfs_f_blocks
=yes
21417 echo "$as_me: failed program was:" >&5
21418 sed 's/^/| /' conftest.
$ac_ext >&5
21420 cat >conftest.
$ac_ext <<_ACEOF
21423 cat confdefs.h
>>conftest.
$ac_ext
21424 cat >>conftest.
$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21426 #ifdef HAVE_SYS_STATVFS_H
21427 #include <sys/statvfs.h>
21433 static struct statvfs ac_aggr;
21434 if (sizeof ac_aggr.f_blocks)
21440 rm -f conftest.
$ac_objext
21441 if { (ac_try
="$ac_compile"
21442 case "(($ac_try" in
21443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21444 *) ac_try_echo=$ac_try;;
21446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21447 (eval "$ac_compile") 2>conftest.er1
21449 grep -v '^ *+' conftest.er1 >conftest.err
21451 cat conftest.err >&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); } &&
21454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21455 { (case "(($ac_try" in
21456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21457 *) ac_try_echo
=$ac_try;;
21459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21460 (eval "$ac_try") 2>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); }; } &&
21464 { ac_try
='test -s conftest.$ac_objext'
21465 { (case "(($ac_try" in
21466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21467 *) ac_try_echo=$ac_try;;
21469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21470 (eval "$ac_try") 2>&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); }; }; then
21474 ac_cv_member_struct_statvfs_f_blocks=yes
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21479 ac_cv_member_struct_statvfs_f_blocks=no
21482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21487 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21488 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21489 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21491 cat >>confdefs.h <<_ACEOF
21492 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21499 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21500 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21501 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21502 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 cat >conftest.$ac_ext <<_ACEOF
21507 cat confdefs.h >>conftest.$ac_ext
21508 cat >>conftest.$ac_ext <<_ACEOF
21509 /* end confdefs.h. */
21510 #include <sys/types.h>
21511 #ifdef HAVE_SYS_SOCKET_H
21512 # include <sys/socket.h>
21514 #ifdef HAVE_SYS_UN_H
21515 # include <sys/un.h>
21521 static struct msghdr ac_aggr;
21522 if (ac_aggr.msg_accrights)
21528 rm -f conftest.$ac_objext
21529 if { (ac_try="$ac_compile"
21530 case "(($ac_try" in
21531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21532 *) ac_try_echo
=$ac_try;;
21534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21535 (eval "$ac_compile") 2>conftest.er1
21537 grep -v '^ *+' conftest.er1
>conftest.err
21539 cat conftest.err
>&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } &&
21542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21543 { (case "(($ac_try" in
21544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21545 *) ac_try_echo=$ac_try;;
21547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21548 (eval "$ac_try") 2>&5
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); }; } &&
21552 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21562 ac_cv_member_struct_msghdr_msg_accrights
=yes
21564 echo "$as_me: failed program was:" >&5
21565 sed 's/^/| /' conftest.
$ac_ext >&5
21567 cat >conftest.
$ac_ext <<_ACEOF
21570 cat confdefs.h
>>conftest.
$ac_ext
21571 cat >>conftest.
$ac_ext <<_ACEOF
21572 /* end confdefs.h. */
21573 #include <sys/types.h>
21574 #ifdef HAVE_SYS_SOCKET_H
21575 # include <sys/socket.h>
21577 #ifdef HAVE_SYS_UN_H
21578 # include <sys/un.h>
21584 static struct msghdr ac_aggr;
21585 if (sizeof ac_aggr.msg_accrights)
21591 rm -f conftest.
$ac_objext
21592 if { (ac_try
="$ac_compile"
21593 case "(($ac_try" in
21594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21595 *) ac_try_echo=$ac_try;;
21597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21598 (eval "$ac_compile") 2>conftest.er1
21600 grep -v '^ *+' conftest.er1 >conftest.err
21602 cat conftest.err >&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21606 { (case "(($ac_try" in
21607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21608 *) ac_try_echo
=$ac_try;;
21610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21611 (eval "$ac_try") 2>&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); }; } &&
21615 { ac_try
='test -s conftest.$ac_objext'
21616 { (case "(($ac_try" in
21617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21618 *) ac_try_echo=$ac_try;;
21620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21621 (eval "$ac_try") 2>&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); }; }; then
21625 ac_cv_member_struct_msghdr_msg_accrights=yes
21627 echo "$as_me: failed program was:" >&5
21628 sed 's/^/| /' conftest.$ac_ext >&5
21630 ac_cv_member_struct_msghdr_msg_accrights=no
21633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21638 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21639 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21640 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21642 cat >>confdefs.h <<_ACEOF
21643 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21648 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21649 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21650 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 cat >conftest.$ac_ext <<_ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21659 #include <sys/types.h>
21660 #ifdef HAVE_SYS_SOCKET_H
21661 # include <sys/socket.h>
21663 #ifdef HAVE_SYS_UN_H
21664 # include <sys/un.h>
21670 static struct sockaddr ac_aggr;
21671 if (ac_aggr.sa_len)
21677 rm -f conftest.$ac_objext
21678 if { (ac_try="$ac_compile"
21679 case "(($ac_try" in
21680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21681 *) ac_try_echo
=$ac_try;;
21683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21684 (eval "$ac_compile") 2>conftest.er1
21686 grep -v '^ *+' conftest.er1
>conftest.err
21688 cat conftest.err
>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); } &&
21691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21692 { (case "(($ac_try" in
21693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21694 *) ac_try_echo=$ac_try;;
21696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21697 (eval "$ac_try") 2>&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); }; } &&
21701 { ac_try='test -s conftest.$ac_objext'
21702 { (case "(($ac_try" in
21703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21704 *) ac_try_echo
=$ac_try;;
21706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21707 (eval "$ac_try") 2>&5
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); }; }; then
21711 ac_cv_member_struct_sockaddr_sa_len
=yes
21713 echo "$as_me: failed program was:" >&5
21714 sed 's/^/| /' conftest.
$ac_ext >&5
21716 cat >conftest.
$ac_ext <<_ACEOF
21719 cat confdefs.h
>>conftest.
$ac_ext
21720 cat >>conftest.
$ac_ext <<_ACEOF
21721 /* end confdefs.h. */
21722 #include <sys/types.h>
21723 #ifdef HAVE_SYS_SOCKET_H
21724 # include <sys/socket.h>
21726 #ifdef HAVE_SYS_UN_H
21727 # include <sys/un.h>
21733 static struct sockaddr ac_aggr;
21734 if (sizeof ac_aggr.sa_len)
21740 rm -f conftest.
$ac_objext
21741 if { (ac_try
="$ac_compile"
21742 case "(($ac_try" in
21743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21744 *) ac_try_echo=$ac_try;;
21746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21747 (eval "$ac_compile") 2>conftest.er1
21749 grep -v '^ *+' conftest.er1 >conftest.err
21751 cat conftest.err >&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } &&
21754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21755 { (case "(($ac_try" in
21756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21757 *) ac_try_echo
=$ac_try;;
21759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21760 (eval "$ac_try") 2>&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); }; } &&
21764 { ac_try
='test -s conftest.$ac_objext'
21765 { (case "(($ac_try" in
21766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21767 *) ac_try_echo=$ac_try;;
21769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21770 (eval "$ac_try") 2>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); }; }; then
21774 ac_cv_member_struct_sockaddr_sa_len=yes
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21779 ac_cv_member_struct_sockaddr_sa_len=no
21782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21788 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21789 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21791 cat >>confdefs.h <<_ACEOF
21792 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21797 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21798 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21799 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21800 echo $ECHO_N "(cached) $ECHO_C" >&6
21802 cat >conftest.$ac_ext <<_ACEOF
21805 cat confdefs.h >>conftest.$ac_ext
21806 cat >>conftest.$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 #include <sys/types.h>
21809 #ifdef HAVE_SYS_SOCKET_H
21810 # include <sys/socket.h>
21812 #ifdef HAVE_SYS_UN_H
21813 # include <sys/un.h>
21819 static struct sockaddr_un ac_aggr;
21820 if (ac_aggr.sun_len)
21826 rm -f conftest.$ac_objext
21827 if { (ac_try="$ac_compile"
21828 case "(($ac_try" in
21829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21830 *) ac_try_echo
=$ac_try;;
21832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21833 (eval "$ac_compile") 2>conftest.er1
21835 grep -v '^ *+' conftest.er1
>conftest.err
21837 cat conftest.err
>&5
21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21839 (exit $ac_status); } &&
21840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21841 { (case "(($ac_try" in
21842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21843 *) ac_try_echo=$ac_try;;
21845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21846 (eval "$ac_try") 2>&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); }; } &&
21850 { ac_try='test -s conftest.$ac_objext'
21851 { (case "(($ac_try" in
21852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21853 *) ac_try_echo
=$ac_try;;
21855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21856 (eval "$ac_try") 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21860 ac_cv_member_struct_sockaddr_un_sun_len
=yes
21862 echo "$as_me: failed program was:" >&5
21863 sed 's/^/| /' conftest.
$ac_ext >&5
21865 cat >conftest.
$ac_ext <<_ACEOF
21868 cat confdefs.h
>>conftest.
$ac_ext
21869 cat >>conftest.
$ac_ext <<_ACEOF
21870 /* end confdefs.h. */
21871 #include <sys/types.h>
21872 #ifdef HAVE_SYS_SOCKET_H
21873 # include <sys/socket.h>
21875 #ifdef HAVE_SYS_UN_H
21876 # include <sys/un.h>
21882 static struct sockaddr_un ac_aggr;
21883 if (sizeof ac_aggr.sun_len)
21889 rm -f conftest.
$ac_objext
21890 if { (ac_try
="$ac_compile"
21891 case "(($ac_try" in
21892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21893 *) ac_try_echo=$ac_try;;
21895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21896 (eval "$ac_compile") 2>conftest.er1
21898 grep -v '^ *+' conftest.er1 >conftest.err
21900 cat conftest.err >&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } &&
21903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21904 { (case "(($ac_try" in
21905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21906 *) ac_try_echo
=$ac_try;;
21908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21909 (eval "$ac_try") 2>&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); }; } &&
21913 { ac_try
='test -s conftest.$ac_objext'
21914 { (case "(($ac_try" in
21915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21916 *) ac_try_echo=$ac_try;;
21918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21919 (eval "$ac_try") 2>&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); }; }; then
21923 ac_cv_member_struct_sockaddr_un_sun_len=yes
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.$ac_ext >&5
21928 ac_cv_member_struct_sockaddr_un_sun_len=no
21931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21936 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21937 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21938 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21940 cat >>confdefs.h <<_ACEOF
21941 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21948 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21949 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21950 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21951 echo $ECHO_N "(cached) $ECHO_C" >&6
21953 cat >conftest.$ac_ext <<_ACEOF
21956 cat confdefs.h >>conftest.$ac_ext
21957 cat >>conftest.$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 #include <sys/types.h>
21960 #ifdef HAVE_SCSI_SG_H
21961 #include <scsi/sg.h>
21967 static scsireq_t ac_aggr;
21974 rm -f conftest.$ac_objext
21975 if { (ac_try="$ac_compile"
21976 case "(($ac_try" in
21977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21978 *) ac_try_echo
=$ac_try;;
21980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21981 (eval "$ac_compile") 2>conftest.er1
21983 grep -v '^ *+' conftest.er1
>conftest.err
21985 cat conftest.err
>&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); } &&
21988 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21989 { (case "(($ac_try" in
21990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21991 *) ac_try_echo=$ac_try;;
21993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21994 (eval "$ac_try") 2>&5
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); }; } &&
21998 { ac_try='test -s conftest.$ac_objext'
21999 { (case "(($ac_try" in
22000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22001 *) ac_try_echo
=$ac_try;;
22003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22004 (eval "$ac_try") 2>&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; }; then
22008 ac_cv_member_scsireq_t_cmd
=yes
22010 echo "$as_me: failed program was:" >&5
22011 sed 's/^/| /' conftest.
$ac_ext >&5
22013 cat >conftest.
$ac_ext <<_ACEOF
22016 cat confdefs.h
>>conftest.
$ac_ext
22017 cat >>conftest.
$ac_ext <<_ACEOF
22018 /* end confdefs.h. */
22019 #include <sys/types.h>
22020 #ifdef HAVE_SCSI_SG_H
22021 #include <scsi/sg.h>
22027 static scsireq_t ac_aggr;
22028 if (sizeof ac_aggr.cmd)
22034 rm -f conftest.
$ac_objext
22035 if { (ac_try
="$ac_compile"
22036 case "(($ac_try" in
22037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22038 *) ac_try_echo=$ac_try;;
22040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22041 (eval "$ac_compile") 2>conftest.er1
22043 grep -v '^ *+' conftest.er1 >conftest.err
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } &&
22048 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22049 { (case "(($ac_try" in
22050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22051 *) ac_try_echo
=$ac_try;;
22053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22054 (eval "$ac_try") 2>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; } &&
22058 { ac_try
='test -s conftest.$ac_objext'
22059 { (case "(($ac_try" in
22060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_try") 2>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); }; }; then
22068 ac_cv_member_scsireq_t_cmd=yes
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.$ac_ext >&5
22073 ac_cv_member_scsireq_t_cmd=no
22076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22081 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22082 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22083 if test $ac_cv_member_scsireq_t_cmd = yes; then
22085 cat >>confdefs.h <<_ACEOF
22086 #define HAVE_SCSIREQ_T_CMD 1
22091 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22092 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22093 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22094 echo $ECHO_N "(cached) $ECHO_C" >&6
22096 cat >conftest.$ac_ext <<_ACEOF
22099 cat confdefs.h >>conftest.$ac_ext
22100 cat >>conftest.$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22102 #include <sys/types.h>
22103 #ifdef HAVE_SCSI_SG_H
22104 #include <scsi/sg.h>
22110 static sg_io_hdr_t ac_aggr;
22111 if (ac_aggr.interface_id)
22117 rm -f conftest.$ac_objext
22118 if { (ac_try="$ac_compile"
22119 case "(($ac_try" in
22120 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22121 *) ac_try_echo
=$ac_try;;
22123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22124 (eval "$ac_compile") 2>conftest.er1
22126 grep -v '^ *+' conftest.er1
>conftest.err
22128 cat conftest.err
>&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } &&
22131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22132 { (case "(($ac_try" in
22133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22134 *) ac_try_echo=$ac_try;;
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_try") 2>&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); }; } &&
22141 { ac_try='test -s conftest.$ac_objext'
22142 { (case "(($ac_try" in
22143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22144 *) ac_try_echo
=$ac_try;;
22146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22147 (eval "$ac_try") 2>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; }; then
22151 ac_cv_member_sg_io_hdr_t_interface_id
=yes
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.
$ac_ext >&5
22156 cat >conftest.
$ac_ext <<_ACEOF
22159 cat confdefs.h
>>conftest.
$ac_ext
22160 cat >>conftest.
$ac_ext <<_ACEOF
22161 /* end confdefs.h. */
22162 #include <sys/types.h>
22163 #ifdef HAVE_SCSI_SG_H
22164 #include <scsi/sg.h>
22170 static sg_io_hdr_t ac_aggr;
22171 if (sizeof ac_aggr.interface_id)
22177 rm -f conftest.
$ac_objext
22178 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
22186 grep -v '^ *+' conftest.er1 >conftest.err
22188 cat conftest.err >&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } &&
22191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22192 { (case "(($ac_try" in
22193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22194 *) ac_try_echo
=$ac_try;;
22196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22197 (eval "$ac_try") 2>&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); }; } &&
22201 { ac_try
='test -s conftest.$ac_objext'
22202 { (case "(($ac_try" in
22203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22204 *) ac_try_echo=$ac_try;;
22206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22207 (eval "$ac_try") 2>&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; }; then
22211 ac_cv_member_sg_io_hdr_t_interface_id=yes
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.$ac_ext >&5
22216 ac_cv_member_sg_io_hdr_t_interface_id=no
22219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22224 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22225 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22226 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22228 cat >>confdefs.h <<_ACEOF
22229 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22236 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22237 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22238 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22239 echo $ECHO_N "(cached) $ECHO_C" >&6
22241 cat >conftest.$ac_ext <<_ACEOF
22244 cat confdefs.h >>conftest.$ac_ext
22245 cat >>conftest.$ac_ext <<_ACEOF
22246 /* end confdefs.h. */
22247 #include <signal.h>
22252 static siginfo_t ac_aggr;
22259 rm -f conftest.$ac_objext
22260 if { (ac_try="$ac_compile"
22261 case "(($ac_try" in
22262 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22263 *) ac_try_echo
=$ac_try;;
22265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22266 (eval "$ac_compile") 2>conftest.er1
22268 grep -v '^ *+' conftest.er1
>conftest.err
22270 cat conftest.err
>&5
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); } &&
22273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22274 { (case "(($ac_try" in
22275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22276 *) ac_try_echo=$ac_try;;
22278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22279 (eval "$ac_try") 2>&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); }; } &&
22283 { ac_try='test -s conftest.$ac_objext'
22284 { (case "(($ac_try" in
22285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22286 *) ac_try_echo
=$ac_try;;
22288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22289 (eval "$ac_try") 2>&5
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); }; }; then
22293 ac_cv_member_siginfo_t_si_fd
=yes
22295 echo "$as_me: failed program was:" >&5
22296 sed 's/^/| /' conftest.
$ac_ext >&5
22298 cat >conftest.
$ac_ext <<_ACEOF
22301 cat confdefs.h
>>conftest.
$ac_ext
22302 cat >>conftest.
$ac_ext <<_ACEOF
22303 /* end confdefs.h. */
22304 #include <signal.h>
22309 static siginfo_t ac_aggr;
22310 if (sizeof ac_aggr.si_fd)
22316 rm -f conftest.
$ac_objext
22317 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
22325 grep -v '^ *+' conftest.er1 >conftest.err
22327 cat conftest.err >&5
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } &&
22330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22331 { (case "(($ac_try" in
22332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22333 *) ac_try_echo
=$ac_try;;
22335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22336 (eval "$ac_try") 2>&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); }; } &&
22340 { ac_try
='test -s conftest.$ac_objext'
22341 { (case "(($ac_try" in
22342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22343 *) ac_try_echo=$ac_try;;
22345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22346 (eval "$ac_try") 2>&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); }; }; then
22350 ac_cv_member_siginfo_t_si_fd=yes
22352 echo "$as_me: failed program was:" >&5
22353 sed 's/^/| /' conftest.$ac_ext >&5
22355 ac_cv_member_siginfo_t_si_fd=no
22358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22363 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22364 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22365 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22367 cat >>confdefs.h <<_ACEOF
22368 #define HAVE_SIGINFO_T_SI_FD 1
22375 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22376 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22377 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22378 echo $ECHO_N "(cached) $ECHO_C" >&6
22380 cat >conftest.$ac_ext <<_ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 #include <sys/types.h>
22387 #ifdef HAVE_SYS_MTIO_H
22388 #include <sys/mtio.h>
22394 static struct mtget ac_aggr;
22395 if (ac_aggr.mt_blksiz)
22401 rm -f conftest.$ac_objext
22402 if { (ac_try="$ac_compile"
22403 case "(($ac_try" in
22404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22405 *) ac_try_echo
=$ac_try;;
22407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22408 (eval "$ac_compile") 2>conftest.er1
22410 grep -v '^ *+' conftest.er1
>conftest.err
22412 cat conftest.err
>&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); } &&
22415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22416 { (case "(($ac_try" in
22417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22418 *) ac_try_echo=$ac_try;;
22420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22421 (eval "$ac_try") 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; } &&
22425 { ac_try='test -s conftest.$ac_objext'
22426 { (case "(($ac_try" in
22427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22428 *) ac_try_echo
=$ac_try;;
22430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22431 (eval "$ac_try") 2>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 ac_cv_member_struct_mtget_mt_blksiz
=yes
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.
$ac_ext >&5
22440 cat >conftest.
$ac_ext <<_ACEOF
22443 cat confdefs.h
>>conftest.
$ac_ext
22444 cat >>conftest.
$ac_ext <<_ACEOF
22445 /* end confdefs.h. */
22446 #include <sys/types.h>
22447 #ifdef HAVE_SYS_MTIO_H
22448 #include <sys/mtio.h>
22454 static struct mtget ac_aggr;
22455 if (sizeof ac_aggr.mt_blksiz)
22461 rm -f conftest.
$ac_objext
22462 if { (ac_try
="$ac_compile"
22463 case "(($ac_try" in
22464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22465 *) ac_try_echo=$ac_try;;
22467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22468 (eval "$ac_compile") 2>conftest.er1
22470 grep -v '^ *+' conftest.er1 >conftest.err
22472 cat conftest.err >&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } &&
22475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22476 { (case "(($ac_try" in
22477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22478 *) ac_try_echo
=$ac_try;;
22480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22481 (eval "$ac_try") 2>&5
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); }; } &&
22485 { ac_try
='test -s conftest.$ac_objext'
22486 { (case "(($ac_try" in
22487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_try") 2>&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); }; }; then
22495 ac_cv_member_struct_mtget_mt_blksiz=yes
22497 echo "$as_me: failed program was:" >&5
22498 sed 's/^/| /' conftest.$ac_ext >&5
22500 ac_cv_member_struct_mtget_mt_blksiz=no
22503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22508 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22509 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22510 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22512 cat >>confdefs.h <<_ACEOF
22513 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22518 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22519 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22520 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22521 echo $ECHO_N "(cached) $ECHO_C" >&6
22523 cat >conftest.$ac_ext <<_ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 #include <sys/types.h>
22530 #ifdef HAVE_SYS_MTIO_H
22531 #include <sys/mtio.h>
22537 static struct mtget ac_aggr;
22538 if (ac_aggr.mt_gstat)
22544 rm -f conftest.$ac_objext
22545 if { (ac_try="$ac_compile"
22546 case "(($ac_try" in
22547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22548 *) ac_try_echo
=$ac_try;;
22550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22551 (eval "$ac_compile") 2>conftest.er1
22553 grep -v '^ *+' conftest.er1
>conftest.err
22555 cat conftest.err
>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22559 { (case "(($ac_try" in
22560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_try") 2>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); }; } &&
22568 { ac_try='test -s conftest.$ac_objext'
22569 { (case "(($ac_try" in
22570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22571 *) ac_try_echo
=$ac_try;;
22573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_try") 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22578 ac_cv_member_struct_mtget_mt_gstat
=yes
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.
$ac_ext >&5
22583 cat >conftest.
$ac_ext <<_ACEOF
22586 cat confdefs.h
>>conftest.
$ac_ext
22587 cat >>conftest.
$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589 #include <sys/types.h>
22590 #ifdef HAVE_SYS_MTIO_H
22591 #include <sys/mtio.h>
22597 static struct mtget ac_aggr;
22598 if (sizeof ac_aggr.mt_gstat)
22604 rm -f conftest.
$ac_objext
22605 if { (ac_try
="$ac_compile"
22606 case "(($ac_try" in
22607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22608 *) ac_try_echo=$ac_try;;
22610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22611 (eval "$ac_compile") 2>conftest.er1
22613 grep -v '^ *+' conftest.er1 >conftest.err
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } &&
22618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22619 { (case "(($ac_try" in
22620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22621 *) ac_try_echo
=$ac_try;;
22623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22624 (eval "$ac_try") 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; } &&
22628 { ac_try
='test -s conftest.$ac_objext'
22629 { (case "(($ac_try" in
22630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_try") 2>&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; }; then
22638 ac_cv_member_struct_mtget_mt_gstat=yes
22640 echo "$as_me: failed program was:" >&5
22641 sed 's/^/| /' conftest.$ac_ext >&5
22643 ac_cv_member_struct_mtget_mt_gstat=no
22646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22651 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22652 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22653 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22655 cat >>confdefs.h <<_ACEOF
22656 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22661 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22662 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22663 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22664 echo $ECHO_N "(cached) $ECHO_C" >&6
22666 cat >conftest.$ac_ext <<_ACEOF
22669 cat confdefs.h >>conftest.$ac_ext
22670 cat >>conftest.$ac_ext <<_ACEOF
22671 /* end confdefs.h. */
22672 #include <sys/types.h>
22673 #ifdef HAVE_SYS_MTIO_H
22674 #include <sys/mtio.h>
22680 static struct mtget ac_aggr;
22681 if (ac_aggr.mt_blkno)
22687 rm -f conftest.$ac_objext
22688 if { (ac_try="$ac_compile"
22689 case "(($ac_try" in
22690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22691 *) ac_try_echo
=$ac_try;;
22693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_compile") 2>conftest.er1
22696 grep -v '^ *+' conftest.er1
>conftest.err
22698 cat conftest.err
>&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } &&
22701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22702 { (case "(($ac_try" in
22703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_try") 2>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; } &&
22711 { ac_try='test -s conftest.$ac_objext'
22712 { (case "(($ac_try" in
22713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22714 *) ac_try_echo
=$ac_try;;
22716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22717 (eval "$ac_try") 2>&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22721 ac_cv_member_struct_mtget_mt_blkno
=yes
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.
$ac_ext >&5
22726 cat >conftest.
$ac_ext <<_ACEOF
22729 cat confdefs.h
>>conftest.
$ac_ext
22730 cat >>conftest.
$ac_ext <<_ACEOF
22731 /* end confdefs.h. */
22732 #include <sys/types.h>
22733 #ifdef HAVE_SYS_MTIO_H
22734 #include <sys/mtio.h>
22740 static struct mtget ac_aggr;
22741 if (sizeof ac_aggr.mt_blkno)
22747 rm -f conftest.
$ac_objext
22748 if { (ac_try
="$ac_compile"
22749 case "(($ac_try" in
22750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22751 *) ac_try_echo=$ac_try;;
22753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22754 (eval "$ac_compile") 2>conftest.er1
22756 grep -v '^ *+' conftest.er1 >conftest.err
22758 cat conftest.err >&5
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); } &&
22761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22762 { (case "(($ac_try" in
22763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22764 *) ac_try_echo
=$ac_try;;
22766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22767 (eval "$ac_try") 2>&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; } &&
22771 { ac_try
='test -s conftest.$ac_objext'
22772 { (case "(($ac_try" in
22773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22774 *) ac_try_echo=$ac_try;;
22776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22777 (eval "$ac_try") 2>&5
22779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22780 (exit $ac_status); }; }; then
22781 ac_cv_member_struct_mtget_mt_blkno=yes
22783 echo "$as_me: failed program was:" >&5
22784 sed 's/^/| /' conftest.$ac_ext >&5
22786 ac_cv_member_struct_mtget_mt_blkno=no
22789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22794 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22795 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22796 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22798 cat >>confdefs.h <<_ACEOF
22799 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22806 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22807 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22808 if test "${ac_cv_member_struct_option_name+set}" = set; then
22809 echo $ECHO_N "(cached) $ECHO_C" >&6
22811 cat >conftest.$ac_ext <<_ACEOF
22814 cat confdefs.h >>conftest.$ac_ext
22815 cat >>conftest.$ac_ext <<_ACEOF
22816 /* end confdefs.h. */
22817 #ifdef HAVE_GETOPT_H
22818 #include <getopt.h>
22824 static struct option ac_aggr;
22831 rm -f conftest.$ac_objext
22832 if { (ac_try="$ac_compile"
22833 case "(($ac_try" in
22834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22835 *) ac_try_echo
=$ac_try;;
22837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22838 (eval "$ac_compile") 2>conftest.er1
22840 grep -v '^ *+' conftest.er1
>conftest.err
22842 cat conftest.err
>&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); } &&
22845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22846 { (case "(($ac_try" in
22847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22848 *) ac_try_echo=$ac_try;;
22850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22851 (eval "$ac_try") 2>&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); }; } &&
22855 { ac_try='test -s conftest.$ac_objext'
22856 { (case "(($ac_try" in
22857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22858 *) ac_try_echo
=$ac_try;;
22860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22861 (eval "$ac_try") 2>&5
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); }; }; then
22865 ac_cv_member_struct_option_name
=yes
22867 echo "$as_me: failed program was:" >&5
22868 sed 's/^/| /' conftest.
$ac_ext >&5
22870 cat >conftest.
$ac_ext <<_ACEOF
22873 cat confdefs.h
>>conftest.
$ac_ext
22874 cat >>conftest.
$ac_ext <<_ACEOF
22875 /* end confdefs.h. */
22876 #ifdef HAVE_GETOPT_H
22877 #include <getopt.h>
22883 static struct option ac_aggr;
22884 if (sizeof ac_aggr.name)
22890 rm -f conftest.
$ac_objext
22891 if { (ac_try
="$ac_compile"
22892 case "(($ac_try" in
22893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22894 *) ac_try_echo=$ac_try;;
22896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22897 (eval "$ac_compile") 2>conftest.er1
22899 grep -v '^ *+' conftest.er1 >conftest.err
22901 cat conftest.err >&5
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); } &&
22904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22905 { (case "(($ac_try" in
22906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22907 *) ac_try_echo
=$ac_try;;
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_try") 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; } &&
22914 { ac_try
='test -s conftest.$ac_objext'
22915 { (case "(($ac_try" in
22916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22917 *) ac_try_echo=$ac_try;;
22919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22920 (eval "$ac_try") 2>&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); }; }; then
22924 ac_cv_member_struct_option_name=yes
22926 echo "$as_me: failed program was:" >&5
22927 sed 's/^/| /' conftest.$ac_ext >&5
22929 ac_cv_member_struct_option_name=no
22932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22937 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22938 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22939 if test $ac_cv_member_struct_option_name = yes; then
22941 cat >>confdefs.h <<_ACEOF
22942 #define HAVE_STRUCT_OPTION_NAME 1
22949 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22950 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22951 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22952 echo $ECHO_N "(cached) $ECHO_C" >&6
22954 cat >conftest.$ac_ext <<_ACEOF
22957 cat confdefs.h >>conftest.$ac_ext
22958 cat >>conftest.$ac_ext <<_ACEOF
22959 /* end confdefs.h. */
22960 $ac_includes_default
22964 static struct stat ac_aggr;
22965 if (ac_aggr.st_blocks)
22971 rm -f conftest.$ac_objext
22972 if { (ac_try="$ac_compile"
22973 case "(($ac_try" in
22974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22975 *) ac_try_echo
=$ac_try;;
22977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22978 (eval "$ac_compile") 2>conftest.er1
22980 grep -v '^ *+' conftest.er1
>conftest.err
22982 cat conftest.err
>&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } &&
22985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22986 { (case "(($ac_try" in
22987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22988 *) ac_try_echo=$ac_try;;
22990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22991 (eval "$ac_try") 2>&5
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } &&
22995 { ac_try='test -s conftest.$ac_objext'
22996 { (case "(($ac_try" in
22997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22998 *) ac_try_echo
=$ac_try;;
23000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23001 (eval "$ac_try") 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23005 ac_cv_member_struct_stat_st_blocks
=yes
23007 echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.
$ac_ext >&5
23010 cat >conftest.
$ac_ext <<_ACEOF
23013 cat confdefs.h
>>conftest.
$ac_ext
23014 cat >>conftest.
$ac_ext <<_ACEOF
23015 /* end confdefs.h. */
23016 $ac_includes_default
23020 static struct stat ac_aggr;
23021 if (sizeof ac_aggr.st_blocks)
23027 rm -f conftest.
$ac_objext
23028 if { (ac_try
="$ac_compile"
23029 case "(($ac_try" in
23030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23031 *) ac_try_echo=$ac_try;;
23033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23034 (eval "$ac_compile") 2>conftest.er1
23036 grep -v '^ *+' conftest.er1 >conftest.err
23038 cat conftest.err >&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } &&
23041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23042 { (case "(($ac_try" in
23043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23044 *) ac_try_echo
=$ac_try;;
23046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23047 (eval "$ac_try") 2>&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; } &&
23051 { ac_try
='test -s conftest.$ac_objext'
23052 { (case "(($ac_try" in
23053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23054 *) ac_try_echo=$ac_try;;
23056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23057 (eval "$ac_try") 2>&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); }; }; then
23061 ac_cv_member_struct_stat_st_blocks=yes
23063 echo "$as_me: failed program was:" >&5
23064 sed 's/^/| /' conftest.$ac_ext >&5
23066 ac_cv_member_struct_stat_st_blocks=no
23069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23074 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23075 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23076 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23078 cat >>confdefs.h <<_ACEOF
23079 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23086 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23087 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23088 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23089 echo $ECHO_N "(cached) $ECHO_C" >&6
23091 cat >conftest.$ac_ext <<_ACEOF
23094 cat confdefs.h >>conftest.$ac_ext
23095 cat >>conftest.$ac_ext <<_ACEOF
23096 /* end confdefs.h. */
23097 #ifdef HAVE_SYS_TYPES_H
23098 #include <sys/types.h>
23100 #ifdef HAVE_NETINET_IN_H
23101 #include <netinet/in.h>
23107 static struct sockaddr_in6 ac_aggr;
23108 if (ac_aggr.sin6_scope_id)
23114 rm -f conftest.$ac_objext
23115 if { (ac_try="$ac_compile"
23116 case "(($ac_try" in
23117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23118 *) ac_try_echo
=$ac_try;;
23120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23121 (eval "$ac_compile") 2>conftest.er1
23123 grep -v '^ *+' conftest.er1
>conftest.err
23125 cat conftest.err
>&5
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); } &&
23128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23129 { (case "(($ac_try" in
23130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23131 *) ac_try_echo=$ac_try;;
23133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23134 (eval "$ac_try") 2>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; } &&
23138 { ac_try='test -s conftest.$ac_objext'
23139 { (case "(($ac_try" in
23140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23141 *) ac_try_echo
=$ac_try;;
23143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23144 (eval "$ac_try") 2>&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; }; then
23148 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
23150 echo "$as_me: failed program was:" >&5
23151 sed 's/^/| /' conftest.
$ac_ext >&5
23153 cat >conftest.
$ac_ext <<_ACEOF
23156 cat confdefs.h
>>conftest.
$ac_ext
23157 cat >>conftest.
$ac_ext <<_ACEOF
23158 /* end confdefs.h. */
23159 #ifdef HAVE_SYS_TYPES_H
23160 #include <sys/types.h>
23162 #ifdef HAVE_NETINET_IN_H
23163 #include <netinet/in.h>
23169 static struct sockaddr_in6 ac_aggr;
23170 if (sizeof ac_aggr.sin6_scope_id)
23176 rm -f conftest.
$ac_objext
23177 if { (ac_try
="$ac_compile"
23178 case "(($ac_try" in
23179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23180 *) ac_try_echo=$ac_try;;
23182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23183 (eval "$ac_compile") 2>conftest.er1
23185 grep -v '^ *+' conftest.er1 >conftest.err
23187 cat conftest.err >&5
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); } &&
23190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23191 { (case "(($ac_try" in
23192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23193 *) ac_try_echo
=$ac_try;;
23195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23196 (eval "$ac_try") 2>&5
23198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199 (exit $ac_status); }; } &&
23200 { ac_try
='test -s conftest.$ac_objext'
23201 { (case "(($ac_try" in
23202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23203 *) ac_try_echo=$ac_try;;
23205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23206 (eval "$ac_try") 2>&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; }; then
23210 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23212 echo "$as_me: failed program was:" >&5
23213 sed 's/^/| /' conftest.$ac_ext >&5
23215 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23223 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23224 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23225 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23227 cat >>confdefs.h <<_ACEOF
23228 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23235 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23236 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23237 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23238 echo $ECHO_N "(cached) $ECHO_C" >&6
23240 cat >conftest.$ac_ext <<_ACEOF
23243 cat confdefs.h >>conftest.$ac_ext
23244 cat >>conftest.$ac_ext <<_ACEOF
23245 /* end confdefs.h. */
23246 #ifdef HAVE_SYS_TYPES_H
23247 #include <sys/types.h>
23249 #ifdef HAVE_NETINET_IN_H
23250 # include <netinet/in.h>
23252 #ifdef HAVE_ARPA_NAMESER_H
23253 # include <arpa/nameser.h>
23259 static ns_msg ac_aggr;
23260 if (ac_aggr._msg_ptr)
23266 rm -f conftest.$ac_objext
23267 if { (ac_try="$ac_compile"
23268 case "(($ac_try" in
23269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23270 *) ac_try_echo
=$ac_try;;
23272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23273 (eval "$ac_compile") 2>conftest.er1
23275 grep -v '^ *+' conftest.er1
>conftest.err
23277 cat conftest.err
>&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); } &&
23280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23281 { (case "(($ac_try" in
23282 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23283 *) ac_try_echo=$ac_try;;
23285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23286 (eval "$ac_try") 2>&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; } &&
23290 { ac_try='test -s conftest.$ac_objext'
23291 { (case "(($ac_try" in
23292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23293 *) ac_try_echo
=$ac_try;;
23295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23296 (eval "$ac_try") 2>&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; }; then
23300 ac_cv_member_ns_msg__msg_ptr
=yes
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.
$ac_ext >&5
23305 cat >conftest.
$ac_ext <<_ACEOF
23308 cat confdefs.h
>>conftest.
$ac_ext
23309 cat >>conftest.
$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23311 #ifdef HAVE_SYS_TYPES_H
23312 #include <sys/types.h>
23314 #ifdef HAVE_NETINET_IN_H
23315 # include <netinet/in.h>
23317 #ifdef HAVE_ARPA_NAMESER_H
23318 # include <arpa/nameser.h>
23324 static ns_msg ac_aggr;
23325 if (sizeof ac_aggr._msg_ptr)
23331 rm -f conftest.
$ac_objext
23332 if { (ac_try
="$ac_compile"
23333 case "(($ac_try" in
23334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23335 *) ac_try_echo=$ac_try;;
23337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23338 (eval "$ac_compile") 2>conftest.er1
23340 grep -v '^ *+' conftest.er1 >conftest.err
23342 cat conftest.err >&5
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); } &&
23345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23346 { (case "(($ac_try" in
23347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23348 *) ac_try_echo
=$ac_try;;
23350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23351 (eval "$ac_try") 2>&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); }; } &&
23355 { ac_try
='test -s conftest.$ac_objext'
23356 { (case "(($ac_try" in
23357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23358 *) ac_try_echo=$ac_try;;
23360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23361 (eval "$ac_try") 2>&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); }; }; then
23365 ac_cv_member_ns_msg__msg_ptr=yes
23367 echo "$as_me: failed program was:" >&5
23368 sed 's/^/| /' conftest.$ac_ext >&5
23370 ac_cv_member_ns_msg__msg_ptr=no
23373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23378 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23379 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23380 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23382 cat >>confdefs.h <<_ACEOF
23383 #define HAVE_NS_MSG__MSG_PTR 1
23390 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23391 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23392 if test "${ac_cv_have_timezone+set}" = set; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6
23395 cat >conftest.$ac_ext <<_ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23410 rm -f conftest.$ac_objext conftest$ac_exeext
23411 if { (ac_try="$ac_link"
23412 case "(($ac_try" in
23413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23414 *) ac_try_echo
=$ac_try;;
23416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23417 (eval "$ac_link") 2>conftest.er1
23419 grep -v '^ *+' conftest.er1
>conftest.err
23421 cat conftest.err
>&5
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); } &&
23424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23425 { (case "(($ac_try" in
23426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23427 *) ac_try_echo=$ac_try;;
23429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23430 (eval "$ac_try") 2>&5
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); }; } &&
23434 { ac_try='test -s conftest$ac_exeext'
23435 { (case "(($ac_try" in
23436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23437 *) ac_try_echo
=$ac_try;;
23439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23440 (eval "$ac_try") 2>&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; }; then
23444 ac_cv_have_timezone
="yes"
23446 echo "$as_me: failed program was:" >&5
23447 sed 's/^/| /' conftest.
$ac_ext >&5
23449 ac_cv_have_timezone
="no"
23452 rm -f core conftest.err conftest.
$ac_objext \
23453 conftest
$ac_exeext conftest.
$ac_ext
23455 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23456 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23457 if test "$ac_cv_have_timezone" = "yes"
23460 cat >>confdefs.h
<<\_ACEOF
23461 #define HAVE_TIMEZONE 1
23465 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23466 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23467 if test "${ac_cv_have_daylight+set}" = set; then
23468 echo $ECHO_N "(cached) $ECHO_C" >&6
23470 cat >conftest.
$ac_ext <<_ACEOF
23473 cat confdefs.h
>>conftest.
$ac_ext
23474 cat >>conftest.
$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23485 rm -f conftest.
$ac_objext conftest
$ac_exeext
23486 if { (ac_try
="$ac_link"
23487 case "(($ac_try" in
23488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_link") 2>conftest.er1
23494 grep -v '^ *+' conftest.er1 >conftest.err
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } &&
23499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23500 { (case "(($ac_try" in
23501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23502 *) ac_try_echo
=$ac_try;;
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_try") 2>&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; } &&
23509 { ac_try
='test -s conftest$ac_exeext'
23510 { (case "(($ac_try" in
23511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23512 *) ac_try_echo=$ac_try;;
23514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23515 (eval "$ac_try") 2>&5
23517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23518 (exit $ac_status); }; }; then
23519 ac_cv_have_daylight="yes"
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.$ac_ext >&5
23524 ac_cv_have_daylight="no"
23527 rm -f core conftest.err conftest.$ac_objext \
23528 conftest$ac_exeext conftest.$ac_ext
23530 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23531 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23532 if test "$ac_cv_have_daylight" = "yes"
23535 cat >>confdefs.h <<\_ACEOF
23536 #define HAVE_DAYLIGHT 1
23543 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23544 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23545 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23546 echo $ECHO_N "(cached) $ECHO_C" >&6
23548 cat >conftest.$ac_ext <<_ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23559 $EGREP "yes" >/dev/null 2>&1; then
23560 ac_cv_cpp_def___i386__=yes
23562 ac_cv_cpp_def___i386__=no
23567 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23568 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23569 if test $ac_cv_cpp_def___i386__ = yes; then
23570 CFLAGS="$CFLAGS -D__i386__"
23571 LINTFLAGS="$LINTFLAGS -D__i386__"
23574 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23575 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23576 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23577 echo $ECHO_N "(cached) $ECHO_C" >&6
23579 cat >conftest.$ac_ext <<_ACEOF
23582 cat confdefs.h >>conftest.$ac_ext
23583 cat >>conftest.$ac_ext <<_ACEOF
23584 /* end confdefs.h. */
23589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23590 $EGREP "yes" >/dev/null 2>&1; then
23591 ac_cv_cpp_def___x86_64__=yes
23593 ac_cv_cpp_def___x86_64__=no
23598 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23599 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23600 if test $ac_cv_cpp_def___x86_64__ = yes; then
23601 CFLAGS="$CFLAGS -D__x86_64__"
23602 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23605 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
23606 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
23607 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
23608 echo $ECHO_N "(cached) $ECHO_C" >&6
23610 cat >conftest.$ac_ext <<_ACEOF
23613 cat confdefs.h >>conftest.$ac_ext
23614 cat >>conftest.$ac_ext <<_ACEOF
23615 /* end confdefs.h. */
23620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23621 $EGREP "yes" >/dev/null 2>&1; then
23622 ac_cv_cpp_def__WIN64=yes
23624 ac_cv_cpp_def__WIN64=no
23629 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
23630 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
23631 if test $ac_cv_cpp_def__WIN64 = yes; then
23632 CFLAGS="$CFLAGS -D_WIN64"
23633 LINTFLAGS="$LINTFLAGS -D_WIN64"
23636 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23637 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23638 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23639 echo $ECHO_N "(cached) $ECHO_C" >&6
23641 cat >conftest.$ac_ext <<_ACEOF
23644 cat confdefs.h >>conftest.$ac_ext
23645 cat >>conftest.$ac_ext <<_ACEOF
23646 /* end confdefs.h. */
23651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23652 $EGREP "yes" >/dev/null 2>&1; then
23653 ac_cv_cpp_def___ALPHA__=yes
23655 ac_cv_cpp_def___ALPHA__=no
23660 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23661 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23662 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23663 CFLAGS="$CFLAGS -D__ALPHA__"
23664 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23667 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23668 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23669 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23670 echo $ECHO_N "(cached) $ECHO_C" >&6
23672 cat >conftest.$ac_ext <<_ACEOF
23675 cat confdefs.h >>conftest.$ac_ext
23676 cat >>conftest.$ac_ext <<_ACEOF
23677 /* end confdefs.h. */
23682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23683 $EGREP "yes" >/dev/null 2>&1; then
23684 ac_cv_cpp_def___sparc__=yes
23686 ac_cv_cpp_def___sparc__=no
23691 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23692 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23693 if test $ac_cv_cpp_def___sparc__ = yes; then
23694 CFLAGS="$CFLAGS -D__sparc__"
23695 LINTFLAGS="$LINTFLAGS -D__sparc__"
23698 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23699 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23700 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23701 echo $ECHO_N "(cached) $ECHO_C" >&6
23703 cat >conftest.$ac_ext <<_ACEOF
23706 cat confdefs.h >>conftest.$ac_ext
23707 cat >>conftest.$ac_ext <<_ACEOF
23708 /* end confdefs.h. */
23709 #ifndef __powerpc__
23713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23714 $EGREP "yes" >/dev/null 2>&1; then
23715 ac_cv_cpp_def___powerpc__=yes
23717 ac_cv_cpp_def___powerpc__=no
23722 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23723 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23724 if test $ac_cv_cpp_def___powerpc__ = yes; then
23725 CFLAGS="$CFLAGS -D__powerpc__"
23726 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23731 case $host_vendor in
23732 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23733 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23734 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23735 echo $ECHO_N "(cached) $ECHO_C" >&6
23737 cat >conftest.$ac_ext <<_ACEOF
23740 cat confdefs.h >>conftest.$ac_ext
23741 cat >>conftest.$ac_ext <<_ACEOF
23742 /* end confdefs.h. */
23747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23748 $EGREP "yes" >/dev/null 2>&1; then
23749 ac_cv_cpp_def___sun__=yes
23751 ac_cv_cpp_def___sun__=no
23756 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23757 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23758 if test $ac_cv_cpp_def___sun__ = yes; then
23759 CFLAGS="$CFLAGS -D__sun__"
23760 LINTFLAGS="$LINTFLAGS -D__sun__"
23766 DEPENDENCIES="### Dependencies:
23771 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23773 \$(ALL_OBJS): \$(IDL_SRCS:.idl=.h)
23774 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23775 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23781 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
23783 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
23785 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23787 ac_config_commands="$ac_config_commands dlls/user/resources"
23789 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23791 ac_config_commands="$ac_config_commands include/wine"
23794 MAKE_RULES=Make.rules
23797 MAKE_DLL_RULES=dlls/Makedll.rules
23800 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23803 MAKE_TEST_RULES=dlls/Maketest.rules
23806 MAKE_PROG_RULES=programs/Makeprog.rules
23809 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
23812 cat >confcache <<\_ACEOF
23813 # This file is a shell script that caches the results of configure
23814 # tests run on this system so they can be shared between configure
23815 # scripts and configure runs, see configure's option --config-cache.
23816 # It is not useful on other systems. If it contains results you don't
23817 # want to keep, you may remove or edit it.
23819 # config.status only pays attention to the cache file if you give it
23820 # the --recheck option to rerun configure.
23822 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
23823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23824 # following values.
23828 # The following way of writing the cache mishandles newlines in values,
23829 # but we know of no workaround that is simple, portable, and efficient.
23830 # So, we kill variables containing newlines.
23831 # Ultrix sh set writes to stderr and can't be redirected directly,
23832 # and sets the high bit in the cache file unless we assign to the vars.
23834 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23835 eval ac_val
=\$
$ac_var
23839 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23840 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23843 _ | IFS | as_nl
) ;; #(
23844 *) $as_unset $ac_var ;;
23850 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23851 *${as_nl}ac_space
=\
*)
23852 # `set' does not quote correctly, so add quotes (double-quote
23853 # substitution turns \\\\ into \\, and sed turns \\ into \).
23856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23859 # `set' quotes correctly as required by POSIX, so do not add quotes.
23860 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23871 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23873 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23874 if test -w "$cache_file"; then
23875 test "x$cache_file" != "x/dev/null" &&
23876 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23877 echo "$as_me: updating cache $cache_file" >&6;}
23878 cat confcache
>$cache_file
23880 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23881 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23886 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23887 # Let make expand exec_prefix.
23888 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23890 DEFS
=-DHAVE_CONFIG_H
23894 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23895 # 1. Remove the extension, and $U if already installed.
23896 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23897 ac_i
=`echo "$ac_i" | sed "$ac_script"`
23898 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23899 # will be set to the directory where LIBOBJS objects are built.
23900 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23901 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23903 LIBOBJS
=$ac_libobjs
23905 LTLIBOBJS
=$ac_ltlibobjs
23909 : ${CONFIG_STATUS=./config.status}
23910 ac_clean_files_save
=$ac_clean_files
23911 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23912 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23913 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23914 cat >$CONFIG_STATUS <<_ACEOF
23916 # Generated by $as_me.
23917 # Run this file to recreate the current configuration.
23918 # Compiler output produced by configure, useful for debugging
23919 # configure, is in config.log if it exists.
23922 ac_cs_recheck=false
23924 SHELL=\${CONFIG_SHELL-$SHELL}
23927 cat >>$CONFIG_STATUS <<\_ACEOF
23928 ## --------------------- ##
23929 ## M4sh Initialization. ##
23930 ## --------------------- ##
23932 # Be Bourne compatible
23933 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23936 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23937 # is contrary to our usage. Disable this feature.
23938 alias -g '${1+"$@"}'='"$@"'
23939 setopt NO_GLOB_SUBST
23941 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
23943 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
23944 DUALCASE
=1; export DUALCASE
# for MKS sh
23948 # Avoid depending upon Character Ranges.
23949 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23950 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23951 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23952 as_cr_digits
='0123456789'
23953 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23955 # The user is always right.
23956 if test "${PATH_SEPARATOR+set}" != set; then
23957 echo "#! /bin/sh" >conf$$.sh
23958 echo "exit 0" >>conf$$.sh
23960 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23968 # Support unset when possible.
23969 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23977 # We need space, tab and new line, in precisely that order. Quoting is
23978 # there to prevent editors from complaining about space-tab.
23979 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23980 # splitting by setting IFS to empty value.)
23985 # Find who we are. Look in the path if we contain no directory separator.
23987 *[\\/]* ) as_myself
=$0 ;;
23988 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23989 for as_dir
in $PATH
23992 test -z "$as_dir" && as_dir
=.
23993 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23999 # We did not find ourselves, most probably we were run as `sh COMMAND'
24000 # in which case we are not to be found in the path.
24001 if test "x$as_myself" = x
; then
24004 if test ! -f "$as_myself"; then
24005 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24006 { (exit 1); exit 1; }
24009 # Work around bugs in pre-3.0 UWIN ksh.
24010 for as_var
in ENV MAIL MAILPATH
24011 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24019 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24020 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24021 LC_TELEPHONE LC_TIME
24023 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24024 eval $as_var=C
; export $as_var
24026 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24030 # Required to use basename.
24031 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24032 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24038 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24039 as_basename
=basename
24045 # Name of the executable.
24046 as_me
=`$as_basename -- "$0" ||
24047 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24048 X"$0" : 'X\(//\)$' \| \
24049 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24051 sed '/^.*\/\([^/][^/]*\)\/*$/{
24070 as_lineno_1
=$LINENO
24071 as_lineno_2
=$LINENO
24072 test "x$as_lineno_1" != "x$as_lineno_2" &&
24073 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
24075 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24076 # uniformly replaced by the line number. The first 'sed' inserts a
24077 # line-number line after each line using $LINENO; the second 'sed'
24078 # does the real work. The second script uses 'N' to pair each
24079 # line-number line with the line containing $LINENO, and appends
24080 # trailing '-' during substitution so that $LINENO is not a special
24081 # case at line end.
24082 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24083 # scripts with optimization help from Paolo Bonzini. Blame Lee
24084 # E. McMahon (1931-1989) for sed's syntax. :-)
24096 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24099 ' >$as_me.lineno
&&
24100 chmod +x
"$as_me.lineno" ||
24101 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24102 { (exit 1); exit 1; }; }
24104 # Don't try to exec as it changes $[0], causing all sort of problems
24105 # (the dirname of $[0] is not the place where we might find the
24106 # original and so on. Autoconf is especially sensitive to this).
24107 .
"./$as_me.lineno"
24108 # Exit status is that of the last command.
24113 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24119 ECHO_C
= ECHO_N
= ECHO_T
=
24120 case `echo -n x` in
24122 case `echo 'x\c'` in
24123 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24130 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24131 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24137 rm -f conf$$ conf$$.exe conf$$.
file
24138 if test -d conf$$.dir
; then
24139 rm -f conf$$.dir
/conf$$.
file
24145 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24147 # ... but there are two gotchas:
24148 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24149 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24150 # In both cases, we have to default to `cp -p'.
24151 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24153 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24158 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24159 rmdir conf$$.dir
2>/dev
/null
24161 if mkdir
-p .
2>/dev
/null
; then
24164 test -d .
/-p && rmdir .
/-p
24168 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24169 # systems may use methods other than mode bits to determine executability.
24170 cat >conf$$.
file <<_ASEOF
24174 chmod +x conf$$.
file
24175 if test -x conf$$.
file >/dev
/null
2>&1; then
24176 as_executable_p
="test -x"
24182 # Sed expression to map a string onto a valid CPP name.
24183 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24185 # Sed expression to map a string onto a valid variable name.
24186 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24191 # Save the log message, to keep $[0] and so on meaningful, and to
24192 # report actual input values of CONFIG_FILES etc. instead of their
24193 # values after options handling.
24195 This file was extended by Wine $as_me 0.9.21, which was
24196 generated by GNU Autoconf 2.60a. Invocation command line was
24198 CONFIG_FILES = $CONFIG_FILES
24199 CONFIG_HEADERS = $CONFIG_HEADERS
24200 CONFIG_LINKS = $CONFIG_LINKS
24201 CONFIG_COMMANDS = $CONFIG_COMMANDS
24204 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24209 cat >>$CONFIG_STATUS <<_ACEOF
24210 # Files that config.status was made for.
24211 config_files="$ac_config_files"
24212 config_headers="$ac_config_headers"
24213 config_commands="$ac_config_commands"
24217 cat >>$CONFIG_STATUS <<\_ACEOF
24219 \`$as_me' instantiates files from templates according to the
24220 current configuration.
24222 Usage: $0 [OPTIONS] [FILE]...
24224 -h, --help print this help, then exit
24225 -V, --version print version number and configuration settings, then exit
24226 -q, --quiet do not print progress messages
24227 -d, --debug don't remove temporary files
24228 --recheck update $as_me by reconfiguring in the same conditions
24229 --file=FILE[:TEMPLATE]
24230 instantiate the configuration file FILE
24231 --header=FILE[:TEMPLATE]
24232 instantiate the configuration header FILE
24234 Configuration files:
24237 Configuration headers:
24240 Configuration commands:
24243 Report bugs to <bug-autoconf@gnu.org>."
24246 cat >>$CONFIG_STATUS <<_ACEOF
24248 Wine config.status 0.9.21
24249 configured by $0, generated by GNU Autoconf 2.60a,
24250 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24252 Copyright (C) 2006 Free Software Foundation, Inc.
24253 This config.status script is free software; the Free Software Foundation
24254 gives unlimited permission to copy, distribute and modify it."
24261 cat >>$CONFIG_STATUS <<\_ACEOF
24262 # If no file are specified by the user, then we need to provide default
24263 # value. By we need to know if files were specified by the user.
24269 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24270 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24281 # Handling of the options.
24282 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24284 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24285 echo "$ac_cs_version"; exit ;;
24286 --debug |
--debu |
--deb |
--de |
--d |
-d )
24288 --file |
--fil |
--fi |
--f )
24290 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24291 ac_need_defaults
=false
;;
24292 --header |
--heade |
--head |
--hea )
24294 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24295 ac_need_defaults
=false
;;
24297 # Conflict between --help and --header
24298 { echo "$as_me: error: ambiguous option: $1
24299 Try \`$0 --help' for more information." >&2
24300 { (exit 1); exit 1; }; };;
24301 --help |
--hel |
-h )
24302 echo "$ac_cs_usage"; exit ;;
24303 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24304 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24307 # This is an error.
24308 -*) { echo "$as_me: error: unrecognized option: $1
24309 Try \`$0 --help' for more information." >&2
24310 { (exit 1); exit 1; }; } ;;
24312 *) ac_config_targets
="$ac_config_targets $1"
24313 ac_need_defaults
=false
;;
24319 ac_configure_extra_args
=
24321 if $ac_cs_silent; then
24323 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24327 cat >>$CONFIG_STATUS <<_ACEOF
24328 if \$ac_cs_recheck; then
24329 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24330 CONFIG_SHELL=$SHELL
24331 export CONFIG_SHELL
24332 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24336 cat >>$CONFIG_STATUS <<\_ACEOF
24340 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24341 ## Running $as_me. ##
24347 cat >>$CONFIG_STATUS <<_ACEOF
24350 cat >>$CONFIG_STATUS <<\_ACEOF
24352 # Handling of arguments.
24353 for ac_config_target
in $ac_config_targets
24355 case $ac_config_target in
24356 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24357 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24358 "dlls/gdi/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24359 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24360 "dlls/user/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
24361 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24362 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
24363 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
24364 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
24365 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24366 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
24367 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
24368 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24369 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
24370 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
24371 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24372 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24373 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
24374 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24375 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
24376 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
24377 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24378 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24379 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24380 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24381 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24382 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
24383 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24384 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
24385 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24386 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24387 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24388 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24389 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24390 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
24391 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24392 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24393 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24394 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24395 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24396 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24397 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24398 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24399 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24400 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24401 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24402 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24403 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24404 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24405 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24406 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24407 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24408 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24409 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
24410 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
24411 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24412 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24413 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
24414 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24415 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
24416 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24417 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24418 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24419 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24420 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24421 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24422 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24423 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24424 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
24425 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24426 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24427 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24428 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
24429 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24430 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
24431 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24432 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24433 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24434 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24435 "dlls/gdi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
24436 "dlls/gdi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24437 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
24438 "dlls/glut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
24439 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24440 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24441 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
24442 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
24443 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24444 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24445 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
24446 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24447 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24448 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24449 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
24450 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24451 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24452 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
24453 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24454 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24455 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
24456 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24457 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24458 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
24459 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
24460 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24461 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24462 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24463 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24464 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24465 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24466 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24467 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
24468 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
24469 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24470 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24471 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24472 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
24473 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24474 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24475 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24476 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24477 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24478 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
24479 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24480 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24481 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24482 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24483 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24484 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24485 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
24486 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24487 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24488 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24489 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24490 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24491 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24492 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24493 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24494 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24495 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24496 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24497 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24498 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24499 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24500 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24501 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24502 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24503 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24504 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
24505 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24506 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24507 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24508 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
24509 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24510 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24511 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
24512 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24513 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24514 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24515 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24516 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24517 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24518 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24519 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24520 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24521 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24522 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
24523 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24524 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24525 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
24526 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
24527 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24528 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
24529 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24530 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
24531 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24532 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
24533 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24534 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24535 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24536 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24537 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24538 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24539 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24540 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
24541 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24542 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
24543 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24544 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
24545 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24546 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24547 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
24548 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24549 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24550 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
24551 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24552 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24553 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24554 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24555 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24556 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24557 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24558 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24559 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
24560 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24561 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24562 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24563 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24564 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
24565 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
24566 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24567 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24568 "dlls/user/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
24569 "dlls/user/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24570 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
24571 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
24572 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24573 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
24574 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24575 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24576 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24577 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24578 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
24579 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24580 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24581 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24582 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24583 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24584 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24585 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24586 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24587 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24588 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
24589 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24590 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24591 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24592 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
24593 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24594 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
24595 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24596 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24597 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24598 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24599 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24600 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24601 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24602 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24603 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24604 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24605 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24606 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24607 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24608 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24609 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24610 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24611 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24612 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24613 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
24614 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24615 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24616 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24617 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24618 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
24619 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
24620 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
24621 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
24622 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
24623 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
24624 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
24625 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
24626 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
24627 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
24628 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
24629 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24630 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
24631 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
24632 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
24633 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
24634 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
24635 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
24636 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
24637 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
24638 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
24639 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
24640 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
24641 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
24642 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24643 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
24644 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
24645 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
24646 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24647 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24648 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
24649 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
24650 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24651 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
24652 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24653 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
24654 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
24655 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24656 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
24657 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
24658 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
24659 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
24660 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
24661 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
24662 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
24663 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
24664 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
24665 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
24666 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
24667 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
24668 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
24669 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
24670 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
24672 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24673 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24674 { (exit 1); exit 1; }; };;
24679 # If the user did not use the arguments to specify the items to instantiate,
24680 # then the envvar interface is used. Set only those that are not.
24681 # We use the long form for the default assignment because of an extremely
24682 # bizarre bug on SunOS 4.1.3.
24683 if $ac_need_defaults; then
24684 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24685 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24686 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24689 # Have a temporary directory for convenience. Make it in the build tree
24690 # simply because there is no reason against having it here, and in addition,
24691 # creating and moving files from /tmp can sometimes cause problems.
24692 # Hook for its removal unless debugging.
24693 # Note that there is a small window in which the directory will not be cleaned:
24694 # after its creation but before its name has been assigned to `$tmp'.
24698 trap 'exit_status=$?
24699 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24701 trap '{ (exit 1); exit 1; }' 1 2 13 15
24703 # Create a (secure) tmp directory for tmp files.
24706 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24707 test -n "$tmp" && test -d "$tmp"
24710 tmp
=.
/conf$$
-$RANDOM
24711 (umask 077 && mkdir
"$tmp")
24714 echo "$me: cannot create a temporary directory in ." >&2
24715 { (exit 1); exit 1; }
24719 # Set up the sed scripts for CONFIG_FILES section.
24722 # No need to generate the scripts if there are no CONFIG_FILES.
24723 # This happens for instance when ./config.status config.h
24724 if test -n "$CONFIG_FILES"; then
24728 # Create sed commands to just substitute file output variables.
24730 # Remaining file output variables are in a fragment that also has non-file
24736 for ac_last_try
in false false false false false
:; do
24737 cat >conf$
$subs.
sed <<_ACEOF
24738 SHELL!$SHELL$ac_delim
24739 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24740 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24741 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24742 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24743 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24744 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24745 exec_prefix!$exec_prefix$ac_delim
24746 prefix!$prefix$ac_delim
24747 program_transform_name!$program_transform_name$ac_delim
24748 bindir!$bindir$ac_delim
24749 sbindir!$sbindir$ac_delim
24750 libexecdir!$libexecdir$ac_delim
24751 datarootdir!$datarootdir$ac_delim
24752 datadir!$datadir$ac_delim
24753 sysconfdir!$sysconfdir$ac_delim
24754 sharedstatedir!$sharedstatedir$ac_delim
24755 localstatedir!$localstatedir$ac_delim
24756 includedir!$includedir$ac_delim
24757 oldincludedir!$oldincludedir$ac_delim
24758 docdir!$docdir$ac_delim
24759 infodir!$infodir$ac_delim
24760 htmldir!$htmldir$ac_delim
24761 dvidir!$dvidir$ac_delim
24762 pdfdir!$pdfdir$ac_delim
24763 psdir!$psdir$ac_delim
24764 libdir!$libdir$ac_delim
24765 localedir!$localedir$ac_delim
24766 mandir!$mandir$ac_delim
24767 DEFS!$DEFS$ac_delim
24768 ECHO_C!$ECHO_C$ac_delim
24769 ECHO_N!$ECHO_N$ac_delim
24770 ECHO_T!$ECHO_T$ac_delim
24771 LIBS!$LIBS$ac_delim
24772 build_alias!$build_alias$ac_delim
24773 host_alias!$host_alias$ac_delim
24774 target_alias!$target_alias$ac_delim
24775 build!$build$ac_delim
24776 build_cpu!$build_cpu$ac_delim
24777 build_vendor!$build_vendor$ac_delim
24778 build_os!$build_os$ac_delim
24779 host!$host$ac_delim
24780 host_cpu!$host_cpu$ac_delim
24781 host_vendor!$host_vendor$ac_delim
24782 host_os!$host_os$ac_delim
24783 WIN16_FILES!$WIN16_FILES$ac_delim
24784 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24785 SET_MAKE!$SET_MAKE$ac_delim
24787 CFLAGS!$CFLAGS$ac_delim
24788 LDFLAGS!$LDFLAGS$ac_delim
24789 CPPFLAGS!$CPPFLAGS$ac_delim
24790 ac_ct_CC!$ac_ct_CC$ac_delim
24791 EXEEXT!$EXEEXT$ac_delim
24792 OBJEXT!$OBJEXT$ac_delim
24794 CXXFLAGS!$CXXFLAGS$ac_delim
24795 ac_ct_CXX!$ac_ct_CXX$ac_delim
24796 CPPBIN!$CPPBIN$ac_delim
24797 TOOLSDIR!$TOOLSDIR$ac_delim
24798 XMKMF!$XMKMF$ac_delim
24800 X_CFLAGS!$X_CFLAGS$ac_delim
24801 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24802 X_LIBS!$X_LIBS$ac_delim
24803 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24805 LEXLIB!$LEXLIB$ac_delim
24806 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24807 XLEX!$XLEX$ac_delim
24808 BISON!$BISON$ac_delim
24810 ac_ct_AS!$ac_ct_AS$ac_delim
24813 RANLIB!$RANLIB$ac_delim
24814 STRIP!$STRIP$ac_delim
24815 WINDRES!$WINDRES$ac_delim
24816 LN_S!$LN_S$ac_delim
24818 GREP!$GREP$ac_delim
24819 EGREP!$EGREP$ac_delim
24822 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24824 elif $ac_last_try; then
24825 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24826 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24827 { (exit 1); exit 1; }; }
24829 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24833 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24834 if test -n "$ac_eof"; then
24835 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24836 ac_eof
=`expr $ac_eof + 1`
24839 cat >>$CONFIG_STATUS <<_ACEOF
24840 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24842 /^[ ]*@MAKE_RULES@[ ]*$/{
24846 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24850 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24851 r $MAKE_IMPLIB_RULES
24854 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24858 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24864 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24865 s/^/s,@/; s/!/@,|#_!!_#|/
24868 s/'"$ac_delim"'$/,g/; t
24870 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24871 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24872 rm -f conf$
$subs.
sed
24873 cat >>$CONFIG_STATUS <<_ACEOF
24879 for ac_last_try
in false false false false false
:; do
24880 cat >conf$
$subs.
sed <<_ACEOF
24881 LDCONFIG!$LDCONFIG$ac_delim
24882 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24883 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24884 INSTALL_DATA!$INSTALL_DATA$ac_delim
24885 LINT!$LINT$ac_delim
24886 LINTFLAGS!$LINTFLAGS$ac_delim
24887 FONTFORGE!$FONTFORGE$ac_delim
24888 PKG_CONFIG!$PKG_CONFIG$ac_delim
24889 PRELINK!$PRELINK$ac_delim
24890 LIBPTHREAD!$LIBPTHREAD$ac_delim
24891 XLIB!$XLIB$ac_delim
24892 XFILES!$XFILES$ac_delim
24893 OPENGLFILES!$OPENGLFILES$ac_delim
24894 GLU32FILES!$GLU32FILES$ac_delim
24895 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24896 GLUT_LIBS!$GLUT_LIBS$ac_delim
24897 GLUT32FILES!$GLUT32FILES$ac_delim
24898 NASLIBS!$NASLIBS$ac_delim
24899 XML2LIBS!$XML2LIBS$ac_delim
24900 XML2INCL!$XML2INCL$ac_delim
24901 XSLTLIBS!$XSLTLIBS$ac_delim
24902 XSLTINCL!$XSLTINCL$ac_delim
24903 HALINCL!$HALINCL$ac_delim
24904 CURSESLIBS!$CURSESLIBS$ac_delim
24905 sane_devel!$sane_devel$ac_delim
24906 SANELIBS!$SANELIBS$ac_delim
24907 SANEINCL!$SANEINCL$ac_delim
24908 gphoto2_devel!$gphoto2_devel$ac_delim
24909 gphoto2port_devel!$gphoto2port_devel$ac_delim
24910 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24911 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24912 ICULIBS!$ICULIBS$ac_delim
24913 RESOLVLIBS!$RESOLVLIBS$ac_delim
24914 LCMSLIBS!$LCMSLIBS$ac_delim
24915 LDAPLIBS!$LDAPLIBS$ac_delim
24916 FREETYPELIBS!$FREETYPELIBS$ac_delim
24917 FREETYPEINCL!$FREETYPEINCL$ac_delim
24918 ft_devel!$ft_devel$ac_delim
24919 ft_devel2!$ft_devel2$ac_delim
24920 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24921 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24922 ARTSLIBS!$ARTSLIBS$ac_delim
24923 ARTSINCL!$ARTSINCL$ac_delim
24924 ESDCONFIG!$ESDCONFIG$ac_delim
24925 ESDLIBS!$ESDLIBS$ac_delim
24926 ESDINCL!$ESDINCL$ac_delim
24927 ALSALIBS!$ALSALIBS$ac_delim
24928 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24929 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24930 BUILTINFLAG!$BUILTINFLAG$ac_delim
24931 DLLEXT!$DLLEXT$ac_delim
24932 DLLFLAGS!$DLLFLAGS$ac_delim
24933 LDSHARED!$LDSHARED$ac_delim
24934 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24935 LIBEXT!$LIBEXT$ac_delim
24936 IMPLIBEXT!$IMPLIBEXT$ac_delim
24937 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24938 DLLTOOL!$DLLTOOL$ac_delim
24939 DLLWRAP!$DLLWRAP$ac_delim
24940 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24941 IOKITLIB!$IOKITLIB$ac_delim
24942 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24943 COREAUDIO!$COREAUDIO$ac_delim
24944 CROSSTEST!$CROSSTEST$ac_delim
24945 CROSSCC!$CROSSCC$ac_delim
24946 CROSSWINDRES!$CROSSWINDRES$ac_delim
24947 LDPATH!$LDPATH$ac_delim
24948 CRTLIBS!$CRTLIBS$ac_delim
24949 SOCKETLIBS!$SOCKETLIBS$ac_delim
24950 MAIN_BINARY!$MAIN_BINARY$ac_delim
24951 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24953 LIBDL!$LIBDL$ac_delim
24954 LIBPOLL!$LIBPOLL$ac_delim
24955 DEPENDENCIES!$DEPENDENCIES$ac_delim
24956 LIBOBJS!$LIBOBJS$ac_delim
24957 LTLIBOBJS!$LTLIBOBJS$ac_delim
24960 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
24962 elif $ac_last_try; then
24963 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24964 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24965 { (exit 1); exit 1; }; }
24967 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24971 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24972 if test -n "$ac_eof"; then
24973 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24974 ac_eof
=`expr $ac_eof + 1`
24977 cat >>$CONFIG_STATUS <<_ACEOF
24978 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24979 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24982 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24983 s/^/s,@/; s/!/@,|#_!!_#|/
24986 s/'"$ac_delim"'$/,g/; t
24988 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24989 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24990 rm -f conf$
$subs.
sed
24991 cat >>$CONFIG_STATUS <<_ACEOF
24998 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24999 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25000 # trailing colons and then remove the whole line if VPATH becomes empty
25001 # (actually we leave an empty line to preserve line numbers).
25002 if test "x$srcdir" = x.
; then
25003 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25004 s/:*\$(srcdir):*/:/
25005 s/:*\${srcdir}:*/:/
25007 s/^\([^=]*=[ ]*\):*/\1/
25013 cat >>$CONFIG_STATUS <<\_ACEOF
25014 fi # test -n "$CONFIG_FILES"
25017 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
25020 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25022 case $ac_mode$ac_tag in
25024 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25025 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25026 { (exit 1); exit 1; }; };;
25027 :[FH
]-) ac_tag
=-:-;;
25028 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25045 -) ac_f
="$tmp/stdin";;
25046 *) # Look for the file first in the build tree, then in the source tree
25047 # (if the path is not absolute). The absolute path cannot be DOS-style,
25048 # because $ac_f cannot contain `:'.
25052 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25054 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25055 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25056 { (exit 1); exit 1; }; };;
25058 ac_file_inputs
="$ac_file_inputs $ac_f"
25061 # Let's still pretend it is `configure' which instantiates (i.e., don't
25062 # use $as_me), people would be surprised to read:
25063 # /* config.h. Generated by config.status. */
25064 configure_input
="Generated from "`IFS=:
25065 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25066 if test x
"$ac_file" != x-
; then
25067 configure_input
="$ac_file. $configure_input"
25068 { echo "$as_me:$LINENO: creating $ac_file" >&5
25069 echo "$as_me: creating $ac_file" >&6;}
25073 *:-:* |
*:-) cat >"$tmp/stdin";;
25078 ac_dir
=`$as_dirname -- "$ac_file" ||
25079 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25080 X"$ac_file" : 'X\(//\)[^/]' \| \
25081 X"$ac_file" : 'X\(//\)$' \| \
25082 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25088 /^X\(\/\/\)[^/].*/{
25103 -*) as_dir
=.
/$as_dir;;
25105 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25109 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25110 *) as_qdir
=$as_dir;;
25112 as_dirs
="'$as_qdir' $as_dirs"
25113 as_dir
=`$as_dirname -- "$as_dir" ||
25114 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25115 X"$as_dir" : 'X\(//\)[^/]' \| \
25116 X"$as_dir" : 'X\(//\)$' \| \
25117 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25123 /^X\(\/\/\)[^/].*/{
25136 test -d "$as_dir" && break
25138 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25139 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25140 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25141 { (exit 1); exit 1; }; }; }
25145 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25147 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25148 # A ".." for each directory in $ac_dir_suffix.
25149 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25150 case $ac_top_builddir_sub in
25151 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25152 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25155 ac_abs_top_builddir
=$ac_pwd
25156 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25157 # for backward compatibility:
25158 ac_top_builddir
=$ac_top_build_prefix
25161 .
) # We are building in place.
25163 ac_top_srcdir
=$ac_top_builddir_sub
25164 ac_abs_top_srcdir
=$ac_pwd ;;
25165 [\\/]* | ?
:[\\/]* ) # Absolute name.
25166 ac_srcdir
=$srcdir$ac_dir_suffix;
25167 ac_top_srcdir
=$srcdir
25168 ac_abs_top_srcdir
=$srcdir ;;
25169 *) # Relative name.
25170 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25171 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25172 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25174 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25184 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25185 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25189 cat >>$CONFIG_STATUS <<\_ACEOF
25190 # If the template does not know about datarootdir, expand it.
25191 # FIXME: This hack should be removed a few years after 2.60.
25192 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25194 case `sed -n '/datarootdir/ {
25203 ' $ac_file_inputs` in
25204 *datarootdir
*) ac_datarootdir_seen
=yes;;
25205 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25206 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25207 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25209 cat >>$CONFIG_STATUS <<_ACEOF
25210 ac_datarootdir_hack='
25211 s&@datadir@&$datadir&g
25212 s&@docdir@&$docdir&g
25213 s&@infodir@&$infodir&g
25214 s&@localedir@&$localedir&g
25215 s&@mandir@&$mandir&g
25216 s&\\\${datarootdir}&$datarootdir&g' ;;
25220 # Neutralize VPATH when `$srcdir' = `.'.
25221 # Shell code in configure.ac might set extrasub.
25222 # FIXME: do we really want to maintain this feature?
25223 cat >>$CONFIG_STATUS <<_ACEOF
25227 cat >>$CONFIG_STATUS <<\_ACEOF
25229 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25230 s
&@configure_input@
&$configure_input&;t t
25231 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25232 s
&@srcdir@
&$ac_srcdir&;t t
25233 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25234 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25235 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25236 s
&@builddir@
&$ac_builddir&;t t
25237 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25238 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25239 s
&@INSTALL@
&$ac_INSTALL&;t t
25240 $ac_datarootdir_hack
25241 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
25243 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25244 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25245 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25246 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25247 which seems to be undefined. Please make sure it is defined." >&5
25248 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25249 which seems to be undefined. Please make sure it is defined." >&2;}
25253 -) cat "$tmp/out"; rm -f "$tmp/out";;
25254 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25263 # Transform confdefs.h into a sed script `conftest.defines', that
25264 # substitutes the proper values into config.h.in to produce config.h.
25265 rm -f conftest.defines conftest.
tail
25266 # First, append a space to every undef/define line, to ease matching.
25267 echo 's/$/ /' >conftest.defines
25268 # Then, protect against being on the right side of a sed subst, or in
25269 # an unquoted here document, in config.status. If some macros were
25270 # called several times there might be several #defines for the same
25271 # symbol, which is useless. But do not sort them, since the last
25272 # AC_DEFINE must be honored.
25273 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25274 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25275 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25276 # PARAMS is the parameter list in the macro definition--in most cases, it's
25277 # just an empty string.
25278 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25279 ac_dB
='\\)[ (].*,\\1define\\2'
25287 s/^[ ]*#[ ]*define[ ][ ]*//
25292 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25293 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25294 ' >>conftest.defines
25296 # Remove the space that was appended to ease matching.
25297 # Then replace #undef with comments. This is necessary, for
25298 # example, in the case of _POSIX_SOURCE, which is predefined and required
25299 # on some systems where configure will not decide to define it.
25300 # (The regexp can be short, since the line contains either #define or #undef.)
25302 s,^[ #]*u.*,/* & */,' >>conftest.defines
25304 # Break up conftest.defines:
25305 ac_max_sed_lines
=50
25307 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25308 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25309 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25311 ac_in
='$ac_file_inputs'
25312 ac_out
='"$tmp/out1"'
25313 ac_nxt
='"$tmp/out2"'
25317 # Write a here document:
25318 cat >>$CONFIG_STATUS <<_ACEOF
25319 # First, check the format of the line:
25320 cat >"\$tmp/defines.sed" <<\\CEOF
25321 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25322 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25326 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25328 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25329 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25330 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25331 grep . conftest.
tail >/dev
/null ||
break
25332 rm -f conftest.defines
25333 mv conftest.
tail conftest.defines
25335 rm -f conftest.defines conftest.
tail
25337 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25338 cat >>$CONFIG_STATUS <<\_ACEOF
25339 if test x
"$ac_file" != x-
; then
25340 echo "/* $configure_input */" >"$tmp/config.h"
25341 cat "$ac_result" >>"$tmp/config.h"
25342 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25343 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25344 echo "$as_me: $ac_file is unchanged" >&6;}
25347 mv "$tmp/config.h" $ac_file
25350 echo "/* $configure_input */"
25356 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25357 echo "$as_me: executing $ac_file commands" >&6;}
25362 case $ac_file$ac_mode in
25363 "dlls/gdi/enhmfdrv":C
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25364 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
25365 "dlls/gdi/mfdrv":C
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25366 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
25367 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25368 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
25369 "dlls/user/resources":C
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25370 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
25371 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25372 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
25373 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
25374 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
25380 { (exit 0); exit 0; }
25382 chmod +x
$CONFIG_STATUS
25383 ac_clean_files
=$ac_clean_files_save
25386 # configure is writing to config.log, and then calls config.status.
25387 # config.status does its own redirection, appending to config.log.
25388 # Unfortunately, on DOS this fails, as config.log is still kept open
25389 # by configure, so config.status won't be able to write to it; its
25390 # output is simply discarded. So we exec the FD to /dev/null,
25391 # effectively closing config.log, so it can be properly (re)opened and
25392 # appended to by config.status. When coming back to configure, we
25393 # need to make the FD available again.
25394 if test "$no_create" != yes; then
25396 ac_config_status_args
=
25397 test "$silent" = yes &&
25398 ac_config_status_args
="$ac_config_status_args --quiet"
25400 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25402 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25403 # would make configure fail if this is the last instruction.
25404 $ac_cs_success ||
{ (exit 1); exit 1; }
25409 if test "$verbose" = "yes"
25411 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25414 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25415 echo "$as_me: libcapi20 development files not found." >&6;}
25416 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25417 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25420 if test "$ac_cv_header_cups_cups_h" != "yes"
25423 { echo "$as_me:$LINENO: libcups development files not found." >&5
25424 echo "$as_me: libcups development files not found." >&6;}
25425 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25426 echo "$as_me: Wine will be built without CUPS support." >&6;}
25430 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25433 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25434 echo "$as_me: libgphoto2 development files not found." >&6;}
25435 if test "$ac_cv_header_sane_sane_h" = "yes"
25437 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25438 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25440 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25441 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25445 if test "$ac_cv_header_hal_libhal_h" != "yes"
25448 { echo "$as_me:$LINENO: libhal development files not found." >&5
25449 echo "$as_me: libhal development files not found." >&6;}
25450 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25451 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25454 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25457 { echo "$as_me:$LINENO: libicu development files not found." >&5
25458 echo "$as_me: libicu development files not found." >&6;}
25459 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25460 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25463 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25466 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25467 echo "$as_me: liblcms development files not found." >&6;}
25468 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25469 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25472 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25475 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25476 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25477 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25478 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25481 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25484 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25485 echo "$as_me: lib(n)curses development files not found." >&6;}
25486 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25487 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25490 if test "$ac_cv_header_sane_sane_h" != "yes"
25493 { echo "$as_me:$LINENO: libsane development files not found." >&5
25494 echo "$as_me: libsane development files not found." >&6;}
25495 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25496 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25499 if test "$have_x" = "yes"
25501 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25504 { echo "$as_me:$LINENO: libxext development files not found." >&5
25505 echo "$as_me: libxext development files not found." >&6;}
25506 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25507 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25510 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25513 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25514 echo "$as_me: libXrandr development files not found." >&6;}
25515 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25516 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25519 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25522 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25523 echo "$as_me: libXrender development files not found." >&6;}
25524 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25525 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25528 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25531 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25532 echo "$as_me: libXxf86vm development files not found." >&6;}
25533 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25534 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25538 if test "$ac_cv_header_libxml_parser_h" != "yes"
25541 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25542 echo "$as_me: libxml2 development files not found." >&6;}
25543 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25544 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25547 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25550 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25551 echo "$as_me: libxslt development files not found." >&6;}
25552 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25553 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25558 if test "$have_x" = "no"
25561 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25562 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25563 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25564 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25565 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25566 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25567 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25568 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25571 if test "$wine_cv_opengl_headers_found" = "no" -o "$wine_cv_opengl_header_version_OK" = "no" -o "$wine_cv_opengl_libs_found" = "no"
25574 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25575 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25576 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25577 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25578 if test "$wine_cv_opengl_headers_found" = "no"
25580 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25581 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25583 if test "$wine_cv_opengl_header_version_OK" = "no"
25585 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25586 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25588 if test "$wine_cv_opengl_libs_found" = "no"
25590 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25591 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25595 if test "$wine_cv_msg_freetype" = "yes"
25598 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25599 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25600 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25601 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25602 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25603 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25604 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25605 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25608 if test -z "$FONTSSUBDIRS"
25611 if test "$FONTFORGE" = "false"
25613 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25614 echo "$as_me: WARNING: FontForge is missing." >&2;}
25616 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25617 echo "$as_me: WARNING: FreeType is missing." >&2;}
25619 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25620 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25623 if test -z "$ALSALIBS" -a \
25624 -z "$ARTSC_LIBS" -a \
25625 -z "$AUDIOIOLIBS" -a \
25627 -z "$ESD_LIBS" -a \
25628 -z "$ac_cv_lib_soname_jack" -a \
25629 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25630 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25631 "$ac_cv_header_soundcard_h" != "yes"
25634 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25635 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25636 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25637 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25638 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25639 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25643 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."