2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.23.
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.23'
563 PACKAGE_STRING
='Wine 0.9.23'
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
763 ac_subst_files
='MAKE_RULES
768 ac_precious_vars
='build_alias
782 # Initialize some variables set by options.
784 ac_init_version
=false
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
794 program_transform_name
=s
,x
,x
,
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir
='${exec_prefix}/bin'
809 sbindir
='${exec_prefix}/sbin'
810 libexecdir
='${exec_prefix}/libexec'
811 datarootdir
='${prefix}/share'
812 datadir
='${datarootdir}'
813 sysconfdir
='${prefix}/etc'
814 sharedstatedir
='${prefix}/com'
815 localstatedir
='${prefix}/var'
816 includedir
='${prefix}/include'
817 oldincludedir
='/usr/include'
818 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir
='${datarootdir}/info'
824 libdir
='${exec_prefix}/lib'
825 localedir
='${datarootdir}/locale'
826 mandir
='${datarootdir}/man'
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\
$ac_option
840 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
850 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
852 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
855 -build |
--build |
--buil |
--bui |
--bu)
856 ac_prev
=build_alias
;;
857 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
858 build_alias
=$ac_optarg ;;
860 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
861 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
862 ac_prev
=cache_file
;;
863 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
864 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
865 cache_file
=$ac_optarg ;;
868 cache_file
=config.cache
;;
870 -datadir |
--datadir |
--datadi |
--datad)
872 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
873 datadir
=$ac_optarg ;;
875 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
876 |
--dataroo |
--dataro |
--datar)
877 ac_prev
=datarootdir
;;
878 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
879 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
880 datarootdir
=$ac_optarg ;;
882 -disable-* |
--disable-*)
883 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
886 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
887 { (exit 1); exit 1; }; }
888 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
889 eval enable_
$ac_feature=no
;;
891 -docdir |
--docdir |
--docdi |
--doc |
--do)
893 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
896 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
898 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
901 -enable-* |
--enable-*)
902 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
905 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
906 { (exit 1); exit 1; }; }
907 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
908 eval enable_
$ac_feature=\
$ac_optarg ;;
910 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
911 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
912 |
--exec |
--exe |
--ex)
913 ac_prev
=exec_prefix
;;
914 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
915 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
916 |
--exec=* |
--exe=* |
--ex=*)
917 exec_prefix
=$ac_optarg ;;
919 -gas |
--gas |
--ga |
--g)
920 # Obsolete; use --with-gas.
923 -help |
--help |
--hel |
--he |
-h)
925 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
926 ac_init_help
=recursive
;;
927 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
928 ac_init_help
=short
;;
930 -host |
--host |
--hos |
--ho)
931 ac_prev
=host_alias
;;
932 -host=* |
--host=* |
--hos=* |
--ho=*)
933 host_alias
=$ac_optarg ;;
935 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
937 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
939 htmldir
=$ac_optarg ;;
941 -includedir |
--includedir |
--includedi |
--included |
--include \
942 |
--includ |
--inclu |
--incl |
--inc)
943 ac_prev
=includedir
;;
944 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
945 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
946 includedir
=$ac_optarg ;;
948 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
950 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
951 infodir
=$ac_optarg ;;
953 -libdir |
--libdir |
--libdi |
--libd)
955 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
958 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
959 |
--libexe |
--libex |
--libe)
960 ac_prev
=libexecdir
;;
961 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
962 |
--libexe=* |
--libex=* |
--libe=*)
963 libexecdir
=$ac_optarg ;;
965 -localedir |
--localedir |
--localedi |
--localed |
--locale)
967 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
968 localedir
=$ac_optarg ;;
970 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
971 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
972 ac_prev
=localstatedir
;;
973 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
974 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
975 localstatedir
=$ac_optarg ;;
977 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
979 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
983 # Obsolete; use --without-fp.
986 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
987 |
--no-cr |
--no-c |
-n)
990 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
991 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
994 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
995 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
996 |
--oldin |
--oldi |
--old |
--ol |
--o)
997 ac_prev
=oldincludedir
;;
998 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
999 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1000 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1001 oldincludedir
=$ac_optarg ;;
1003 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1005 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1006 prefix
=$ac_optarg ;;
1008 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1009 |
--program-pre |
--program-pr |
--program-p)
1010 ac_prev
=program_prefix
;;
1011 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1012 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1013 program_prefix
=$ac_optarg ;;
1015 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1016 |
--program-suf |
--program-su |
--program-s)
1017 ac_prev
=program_suffix
;;
1018 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1019 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1020 program_suffix
=$ac_optarg ;;
1022 -program-transform-name |
--program-transform-name \
1023 |
--program-transform-nam |
--program-transform-na \
1024 |
--program-transform-n |
--program-transform- \
1025 |
--program-transform |
--program-transfor \
1026 |
--program-transfo |
--program-transf \
1027 |
--program-trans |
--program-tran \
1028 |
--progr-tra |
--program-tr |
--program-t)
1029 ac_prev
=program_transform_name
;;
1030 -program-transform-name=* |
--program-transform-name=* \
1031 |
--program-transform-nam=* |
--program-transform-na=* \
1032 |
--program-transform-n=* |
--program-transform-=* \
1033 |
--program-transform=* |
--program-transfor=* \
1034 |
--program-transfo=* |
--program-transf=* \
1035 |
--program-trans=* |
--program-tran=* \
1036 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1037 program_transform_name
=$ac_optarg ;;
1039 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1041 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1042 pdfdir
=$ac_optarg ;;
1044 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1046 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1049 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1050 |
-silent |
--silent |
--silen |
--sile |
--sil)
1053 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1055 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1057 sbindir
=$ac_optarg ;;
1059 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1060 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1061 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1063 ac_prev
=sharedstatedir
;;
1064 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1065 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1066 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1068 sharedstatedir
=$ac_optarg ;;
1070 -site |
--site |
--sit)
1072 -site=* |
--site=* |
--sit=*)
1075 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1077 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1078 srcdir
=$ac_optarg ;;
1080 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1081 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1082 ac_prev
=sysconfdir
;;
1083 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1084 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1085 sysconfdir
=$ac_optarg ;;
1087 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1088 ac_prev
=target_alias
;;
1089 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1090 target_alias
=$ac_optarg ;;
1092 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1095 -version |
--version |
--versio |
--versi |
--vers |
-V)
1096 ac_init_version
=: ;;
1099 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1102 { echo "$as_me: error: invalid package name: $ac_package" >&2
1103 { (exit 1); exit 1; }; }
1104 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1105 eval with_
$ac_package=\
$ac_optarg ;;
1107 -without-* |
--without-*)
1108 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1114 eval with_
$ac_package=no
;;
1117 # Obsolete; use --with-x.
1120 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1121 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1122 ac_prev
=x_includes
;;
1123 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1124 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1125 x_includes
=$ac_optarg ;;
1127 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1128 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1129 ac_prev
=x_libraries
;;
1130 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1131 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1132 x_libraries
=$ac_optarg ;;
1134 -*) { echo "$as_me: error: unrecognized option: $ac_option
1135 Try \`$0 --help' for more information." >&2
1136 { (exit 1); exit 1; }; }
1140 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1143 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1144 { (exit 1); exit 1; }; }
1145 eval $ac_envvar=\
$ac_optarg
1146 export $ac_envvar ;;
1149 # FIXME: should be removed in autoconf 3.0.
1150 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1152 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1159 if test -n "$ac_prev"; then
1160 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1161 { echo "$as_me: error: missing argument to $ac_option" >&2
1162 { (exit 1); exit 1; }; }
1165 # Be sure to have absolute directory names.
1166 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir
1171 eval ac_val
=\$
$ac_var
1173 [\\/$
]* | ?
:[\\/]* ) continue;;
1174 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1176 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1177 { (exit 1); exit 1; }; }
1180 # There might be people who depend on the old broken behavior: `$host'
1181 # used to hold the argument of --host etc.
1182 # FIXME: To remove some day.
1185 target
=$target_alias
1187 # FIXME: To remove some day.
1188 if test "x$host_alias" != x
; then
1189 if test "x$build_alias" = x
; then
1190 cross_compiling
=maybe
1191 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used." >&2
1193 elif test "x$build_alias" != "x$host_alias"; then
1199 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1201 test "$silent" = yes && exec 6>/dev
/null
1204 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1205 ac_ls_di
=`ls -di .` &&
1206 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1207 { echo "$as_me: error: Working directory cannot be determined" >&2
1208 { (exit 1); exit 1; }; }
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 { echo "$as_me: error: pwd does not report name of working directory" >&2
1211 { (exit 1); exit 1; }; }
1214 # Find the source files, if location was not specified.
1215 if test -z "$srcdir"; then
1216 ac_srcdir_defaulted
=yes
1217 # Try the directory containing this script, then the parent directory.
1218 ac_confdir
=`$as_dirname -- "$0" ||
1219 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1220 X"$0" : 'X\(//\)[^/]' \| \
1221 X"$0" : 'X\(//\)$' \| \
1222 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1242 if test ! -r "$srcdir/$ac_unique_file"; then
1246 ac_srcdir_defaulted
=no
1248 if test ! -r "$srcdir/$ac_unique_file"; then
1249 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1250 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1251 { (exit 1); exit 1; }; }
1253 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1255 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1256 { (exit 1); exit 1; }; }
1258 # When building in place, set srcdir=.
1259 if test "$ac_abs_confdir" = "$ac_pwd"; then
1262 # Remove unnecessary trailing slashes from srcdir.
1263 # Double slashes in file names in object file debugging info
1264 # mess up M-x gdb in Emacs.
1266 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1268 for ac_var
in $ac_precious_vars; do
1269 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1270 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1271 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1272 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1276 # Report the --help message.
1278 if test "$ac_init_help" = "long"; then
1279 # Omit some internal or obsolete options to make the list less imposing.
1280 # This message is too long to be a string in the A/UX 3.1 sh.
1282 \`configure' configures Wine 0.9.23 to adapt to many kinds of systems.
1284 Usage: $0 [OPTION]... [VAR=VALUE]...
1286 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1287 VAR=VALUE. See below for descriptions of some of the useful variables.
1289 Defaults for the options are specified in brackets.
1292 -h, --help display this help and exit
1293 --help=short display options specific to this package
1294 --help=recursive display the short help of all the included packages
1295 -V, --version display version information and exit
1296 -q, --quiet, --silent do not print \`checking...' messages
1297 --cache-file=FILE cache test results in FILE [disabled]
1298 -C, --config-cache alias for \`--cache-file=config.cache'
1299 -n, --no-create do not create output files
1300 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1302 Installation directories:
1303 --prefix=PREFIX install architecture-independent files in PREFIX
1304 [$ac_default_prefix]
1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1308 By default, \`make install' will install all the files in
1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1311 for instance \`--prefix=\$HOME'.
1313 For better control, use the options below.
1315 Fine tuning of the installation directories:
1316 --bindir=DIR user executables [EPREFIX/bin]
1317 --sbindir=DIR system admin executables [EPREFIX/sbin]
1318 --libexecdir=DIR program executables [EPREFIX/libexec]
1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1322 --libdir=DIR object code libraries [EPREFIX/lib]
1323 --includedir=DIR C header files [PREFIX/include]
1324 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1325 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1326 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1327 --infodir=DIR info documentation [DATAROOTDIR/info]
1328 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1329 --mandir=DIR man documentation [DATAROOTDIR/man]
1330 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1331 --htmldir=DIR html documentation [DOCDIR]
1332 --dvidir=DIR dvi documentation [DOCDIR]
1333 --pdfdir=DIR pdf documentation [DOCDIR]
1334 --psdir=DIR ps documentation [DOCDIR]
1340 --x-includes=DIR X include files are
in DIR
1341 --x-libraries=DIR X library files are
in DIR
1344 --build=BUILD configure
for building on BUILD
[guessed
]
1345 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1349 if test -n "$ac_init_help"; then
1350 case $ac_init_help in
1351 short | recursive
) echo "Configuration of Wine 0.9.23:";;
1356 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1357 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1358 --disable-win16 do not include Win16 support
1359 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1363 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1364 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1365 --without-opengl do not use OpenGL
1366 --without-curses do not use curses
1367 --with-wine-tools=<dir> use Wine tools from directory <dir>
1368 --with-x use the X Window System
1370 Some influential environment variables:
1371 CC C compiler command
1372 CFLAGS C compiler flags
1373 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1374 nonstandard directory <lib dir>
1375 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1376 you have headers in a nonstandard directory <include dir>
1377 CXX C++ compiler command
1378 CXXFLAGS C++ compiler flags
1379 XMKMF Path to xmkmf, Makefile generator for X Window System
1382 Use these variables to override the choices made by `configure' or to
help
1383 it to
find libraries and programs with nonstandard names
/locations.
1385 Report bugs to
<wine-devel@winehq.org
>.
1390 if test "$ac_init_help" = "recursive"; then
1391 # If there are subdirs, report their specific --help.
1392 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1393 test -d "$ac_dir" ||
continue
1397 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1399 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1400 # A ".." for each directory in $ac_dir_suffix.
1401 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1402 case $ac_top_builddir_sub in
1403 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1404 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1407 ac_abs_top_builddir
=$ac_pwd
1408 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1409 # for backward compatibility:
1410 ac_top_builddir
=$ac_top_build_prefix
1413 .
) # We are building in place.
1415 ac_top_srcdir
=$ac_top_builddir_sub
1416 ac_abs_top_srcdir
=$ac_pwd ;;
1417 [\\/]* | ?
:[\\/]* ) # Absolute name.
1418 ac_srcdir
=$srcdir$ac_dir_suffix;
1419 ac_top_srcdir
=$srcdir
1420 ac_abs_top_srcdir
=$srcdir ;;
1422 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1423 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1424 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1426 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1428 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1429 # Check for guested configure.
1430 if test -f "$ac_srcdir/configure.gnu"; then
1432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1433 elif test -f "$ac_srcdir/configure"; then
1435 $SHELL "$ac_srcdir/configure" --help=recursive
1437 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1439 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1443 test -n "$ac_init_help" && exit $ac_status
1444 if $ac_init_version; then
1446 Wine configure
0.9.23
1447 generated by GNU Autoconf
2.60a
1449 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1450 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1451 This configure
script is free software
; the Free Software Foundation
1452 gives unlimited permission to copy
, distribute and modify it.
1456 cat >config.log
<<_ACEOF
1457 This file contains any messages produced by compilers while
1458 running configure, to aid debugging if configure makes a mistake.
1460 It was created by Wine $as_me 0.9.23, which was
1461 generated by GNU Autoconf 2.60a. Invocation command line was
1473 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1474 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1475 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1476 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1477 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1479 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1480 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1482 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1483 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1484 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1485 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1486 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1487 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1488 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1496 test -z "$as_dir" && as_dir
=.
1497 echo "PATH: $as_dir"
1513 # Keep a trace of the command line.
1514 # Strip out --no-create and --no-recursion so they do not pile up.
1515 # Strip out --silent because we don't want to record it for future runs.
1516 # Also quote any args containing shell meta-characters.
1517 # Make two passes to allow for proper duplicate-argument suppression.
1521 ac_must_keep_next
=false
1527 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1528 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1529 |
-silent |
--silent |
--silen |
--sile |
--sil)
1532 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1535 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1537 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1538 if test $ac_must_keep_next = true
; then
1539 ac_must_keep_next
=false
# Got value, back to normal.
1542 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1543 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1544 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1545 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1546 case "$ac_configure_args0 " in
1547 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1550 -* ) ac_must_keep_next
=true
;;
1553 ac_configure_args
="$ac_configure_args '$ac_arg'"
1558 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1559 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1561 # When interrupted or exit'd, cleanup temporary files, and complete
1562 # config.log. We remove comments because anyway the quotes in there
1563 # would cause problems or look ugly.
1564 # WARNING: Use '\'' to represent an apostrophe within the trap.
1565 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1566 trap 'exit_status=$?
1567 # Save into config.log some information that might help in debugging.
1572 ## ---------------- ##
1573 ## Cache variables. ##
1574 ## ---------------- ##
1577 # The following way of writing the cache mishandles newlines in values,
1579 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1580 eval ac_val=\$$ac_var
1584 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1585 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1588 _ | IFS | as_nl) ;; #(
1589 *) $as_unset $ac_var ;;
1594 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1595 *${as_nl}ac_space=\ *)
1597 "s/'\''/'\''\\\\'\'''\''/g;
1598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1609 ## ----------------- ##
1610 ## Output variables. ##
1611 ## ----------------- ##
1614 for ac_var in $ac_subst_vars
1616 eval ac_val=\$$ac_var
1618 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1620 echo "$ac_var='\''$ac_val'\''"
1624 if test -n "$ac_subst_files"; then
1626 ## ------------------- ##
1627 ## File substitutions. ##
1628 ## ------------------- ##
1631 for ac_var
in $ac_subst_files
1633 eval ac_val
=\$
$ac_var
1635 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1637 echo "$ac_var='\''$ac_val'\''"
1642 if test -s confdefs.h; then
1652 test "$ac_signal" != 0 &&
1653 echo "$as_me: caught signal $ac_signal"
1654 echo "$as_me: exit $exit_status"
1656 rm -f core *.core core.conftest.* &&
1657 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1660 for ac_signal
in 1 2 13 15; do
1661 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1665 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1666 rm -f -r conftest
* confdefs.h
1668 # Predefined preprocessor variables.
1670 cat >>confdefs.h
<<_ACEOF
1671 #define PACKAGE_NAME "$PACKAGE_NAME"
1675 cat >>confdefs.h
<<_ACEOF
1676 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1680 cat >>confdefs.h
<<_ACEOF
1681 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1685 cat >>confdefs.h
<<_ACEOF
1686 #define PACKAGE_STRING "$PACKAGE_STRING"
1690 cat >>confdefs.h
<<_ACEOF
1691 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1695 # Let the site file select an alternate cache file if it wants to.
1696 # Prefer explicitly selected file to automatically selected ones.
1697 if test -n "$CONFIG_SITE"; then
1698 set x
"$CONFIG_SITE"
1699 elif test "x$prefix" != xNONE
; then
1700 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1702 set x
"$ac_default_prefix/share/config.site" \
1703 "$ac_default_prefix/etc/config.site"
1708 if test -r "$ac_site_file"; then
1709 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1710 echo "$as_me: loading site script $ac_site_file" >&6;}
1711 sed 's/^/| /' "$ac_site_file" >&5
1716 if test -r "$cache_file"; then
1717 # Some versions of bash will fail to source /dev/null (special
1718 # files actually), so we avoid doing that.
1719 if test -f "$cache_file"; then
1720 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1721 echo "$as_me: loading cache $cache_file" >&6;}
1723 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1724 *) .
"./$cache_file";;
1728 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1729 echo "$as_me: creating cache $cache_file" >&6;}
1733 # Check that the precious variables saved in the cache have kept the same
1735 ac_cache_corrupted
=false
1736 for ac_var
in $ac_precious_vars; do
1737 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1738 eval ac_new_set
=\
$ac_env_${ac_var}_set
1739 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1740 eval ac_new_val
=\
$ac_env_${ac_var}_value
1741 case $ac_old_set,$ac_new_set in
1743 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1744 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1745 ac_cache_corrupted
=: ;;
1747 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1748 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1749 ac_cache_corrupted
=: ;;
1752 if test "x$ac_old_val" != "x$ac_new_val"; then
1753 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1754 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1755 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1756 echo "$as_me: former value: $ac_old_val" >&2;}
1757 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1758 echo "$as_me: current value: $ac_new_val" >&2;}
1759 ac_cache_corrupted
=:
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1765 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 *) ac_arg
=$ac_var=$ac_new_val ;;
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1774 if $ac_cache_corrupted; then
1775 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1776 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1777 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1778 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1779 { (exit 1); exit 1; }; }
1807 ac_cpp
='$CPP $CPPFLAGS'
1808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1814 ac_config_headers
="$ac_config_headers include/config.h"
1817 for ac_dir
in tools
"$srcdir"/tools
; do
1818 if test -f "$ac_dir/install-sh"; then
1820 ac_install_sh
="$ac_aux_dir/install-sh -c"
1822 elif test -f "$ac_dir/install.sh"; then
1824 ac_install_sh
="$ac_aux_dir/install.sh -c"
1826 elif test -f "$ac_dir/shtool"; then
1828 ac_install_sh
="$ac_aux_dir/shtool install -c"
1832 if test -z "$ac_aux_dir"; then
1833 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1834 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1835 { (exit 1); exit 1; }; }
1838 # These three variables are undocumented and unsupported,
1839 # and are intended to be withdrawn in a future Autoconf release.
1840 # They can cause serious problems if a builder's source tree is in a directory
1841 # whose full name contains unusual characters.
1842 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1843 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1844 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1849 # Check whether --enable-win16 was given.
1850 if test "${enable_win16+set}" = set; then
1851 enableval
=$enable_win16;
1854 # Check whether --enable-win64 was given.
1855 if test "${enable_win64+set}" = set; then
1856 enableval
=$enable_win64;
1861 # Check whether --with-opengl was given.
1862 if test "${with_opengl+set}" = set; then
1863 withval
=$with_opengl;
1867 # Check whether --with-curses was given.
1868 if test "${with_curses+set}" = set; then
1869 withval
=$with_curses;
1873 # Check whether --with-wine-tools was given.
1874 if test "${with_wine_tools+set}" = set; then
1875 withval
=$with_wine_tools;
1879 # Make sure we can run config.sub.
1880 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1881 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1882 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1883 { (exit 1); exit 1; }; }
1885 { echo "$as_me:$LINENO: checking build system type" >&5
1886 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1887 if test "${ac_cv_build+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 ac_build_alias
=$build_alias
1891 test "x$ac_build_alias" = x
&&
1892 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1893 test "x$ac_build_alias" = x
&&
1894 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1895 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1896 { (exit 1); exit 1; }; }
1897 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1898 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1899 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1900 { (exit 1); exit 1; }; }
1903 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1904 echo "${ECHO_T}$ac_cv_build" >&6; }
1905 case $ac_cv_build in
1907 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1908 echo "$as_me: error: invalid value of canonical build" >&2;}
1909 { (exit 1); exit 1; }; };;
1912 ac_save_IFS
=$IFS; IFS
='-'
1918 # Remember, the first character of IFS is used to create $*,
1919 # except with old shells:
1922 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1925 { echo "$as_me:$LINENO: checking host system type" >&5
1926 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1927 if test "${ac_cv_host+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1930 if test "x$host_alias" = x
; then
1931 ac_cv_host
=$ac_cv_build
1933 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1934 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1935 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1936 { (exit 1); exit 1; }; }
1940 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1941 echo "${ECHO_T}$ac_cv_host" >&6; }
1944 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1945 echo "$as_me: error: invalid value of canonical host" >&2;}
1946 { (exit 1); exit 1; }; };;
1949 ac_save_IFS
=$IFS; IFS
='-'
1955 # Remember, the first character of IFS is used to create $*,
1956 # except with old shells:
1959 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1964 if test "x$enable_win64" != "xyes"
1966 test -n "$CC" || CC
="gcc -m32"
1967 test -n "$LD" || LD
="ld -m elf_i386"
1968 test -n "$AS" || AS
="as --32"
1976 if test "x$enable_win16" != "xno"
1983 WIN16_FILES
="\$(WIN16_FILES)"
1985 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1987 if test "x$enable_win16" != "xyes"
1994 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1995 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1996 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1997 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 cat >conftest.
make <<\_ACEOF
2003 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2005 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2006 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2008 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2010 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2014 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2015 { echo "$as_me:$LINENO: result: yes" >&5
2016 echo "${ECHO_T}yes" >&6; }
2019 { echo "$as_me:$LINENO: result: no" >&5
2020 echo "${ECHO_T}no" >&6; }
2021 SET_MAKE
="MAKE=${MAKE-make}"
2025 ac_cpp
='$CPP $CPPFLAGS'
2026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2029 if test -n "$ac_tool_prefix"; then
2030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2031 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2034 if test "${ac_cv_prog_CC+set}" = set; then
2035 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 if test -n "$CC"; then
2038 ac_cv_prog_CC
="$CC" # Let the user override the test.
2040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2044 test -z "$as_dir" && as_dir
=.
2045 for ac_exec_ext
in '' $ac_executable_extensions; do
2046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2047 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 if test -n "$CC"; then
2059 { echo "$as_me:$LINENO: result: $CC" >&5
2060 echo "${ECHO_T}$CC" >&6; }
2062 { echo "$as_me:$LINENO: result: no" >&5
2063 echo "${ECHO_T}no" >&6; }
2068 if test -z "$ac_cv_prog_CC"; then
2070 # Extract the first word of "gcc", so it can be a program name with args.
2071 set dummy gcc
; ac_word
=$2
2072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2074 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2075 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 if test -n "$ac_ct_CC"; then
2078 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2084 test -z "$as_dir" && as_dir
=.
2085 for ac_exec_ext
in '' $ac_executable_extensions; do
2086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2087 ac_cv_prog_ac_ct_CC
="gcc"
2088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2098 if test -n "$ac_ct_CC"; then
2099 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2100 echo "${ECHO_T}$ac_ct_CC" >&6; }
2102 { echo "$as_me:$LINENO: result: no" >&5
2103 echo "${ECHO_T}no" >&6; }
2106 if test "x$ac_ct_CC" = x
; then
2109 case $cross_compiling:$ac_tool_warned in
2111 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2112 whose name does not start with the host triplet. If you think this
2113 configuration is useful to you, please write to autoconf@gnu.org." >&5
2114 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2115 whose name does not start with the host triplet. If you think this
2116 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2117 ac_tool_warned
=yes ;;
2125 if test -z "$CC"; then
2126 if test -n "$ac_tool_prefix"; then
2127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2128 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2131 if test "${ac_cv_prog_CC+set}" = set; then
2132 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 if test -n "$CC"; then
2135 ac_cv_prog_CC
="$CC" # Let the user override the test.
2137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir
=.
2142 for ac_exec_ext
in '' $ac_executable_extensions; do
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2144 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 if test -n "$CC"; then
2156 { echo "$as_me:$LINENO: result: $CC" >&5
2157 echo "${ECHO_T}$CC" >&6; }
2159 { echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6; }
2166 if test -z "$CC"; then
2167 # Extract the first word of "cc", so it can be a program name with args.
2168 set dummy cc
; ac_word
=$2
2169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2171 if test "${ac_cv_prog_CC+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 if test -n "$CC"; then
2175 ac_cv_prog_CC
="$CC" # Let the user override the test.
2178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir
=.
2183 for ac_exec_ext
in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2186 ac_prog_rejected
=yes
2190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2197 if test $ac_prog_rejected = yes; then
2198 # We found a bogon in the path, so make sure we never use it.
2199 set dummy
$ac_cv_prog_CC
2201 if test $# != 0; then
2202 # We chose a different compiler from the bogus one.
2203 # However, it has the same basename, so the bogon will be chosen
2204 # first if we set CC to just the basename; use the full file name.
2206 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2212 if test -n "$CC"; then
2213 { echo "$as_me:$LINENO: result: $CC" >&5
2214 echo "${ECHO_T}$CC" >&6; }
2216 { echo "$as_me:$LINENO: result: no" >&5
2217 echo "${ECHO_T}no" >&6; }
2222 if test -z "$CC"; then
2223 if test -n "$ac_tool_prefix"; then
2224 for ac_prog
in cl.exe
2226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2227 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC
="$CC" # Let the user override the test.
2236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir
=.
2241 for ac_exec_ext
in '' $ac_executable_extensions; do
2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2243 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 if test -n "$CC"; then
2255 { echo "$as_me:$LINENO: result: $CC" >&5
2256 echo "${ECHO_T}$CC" >&6; }
2258 { echo "$as_me:$LINENO: result: no" >&5
2259 echo "${ECHO_T}no" >&6; }
2263 test -n "$CC" && break
2266 if test -z "$CC"; then
2268 for ac_prog
in cl.exe
2270 # Extract the first word of "$ac_prog", so it can be a program name with args.
2271 set dummy
$ac_prog; ac_word
=$2
2272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 if test -n "$ac_ct_CC"; then
2278 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2284 test -z "$as_dir" && as_dir
=.
2285 for ac_exec_ext
in '' $ac_executable_extensions; do
2286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2287 ac_cv_prog_ac_ct_CC
="$ac_prog"
2288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2298 if test -n "$ac_ct_CC"; then
2299 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2300 echo "${ECHO_T}$ac_ct_CC" >&6; }
2302 { echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6; }
2307 test -n "$ac_ct_CC" && break
2310 if test "x$ac_ct_CC" = x
; then
2313 case $cross_compiling:$ac_tool_warned in
2315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2316 whose name does not start with the host triplet. If you think this
2317 configuration is useful to you, please write to autoconf@gnu.org." >&5
2318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2319 whose name does not start with the host triplet. If you think this
2320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2321 ac_tool_warned
=yes ;;
2330 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2331 See \`config.log' for more details." >&5
2332 echo "$as_me: error: no acceptable C compiler found in \$PATH
2333 See \`config.log' for more details." >&2;}
2334 { (exit 1); exit 1; }; }
2336 # Provide some information about the compiler.
2337 echo "$as_me:$LINENO: checking for C compiler version" >&5
2338 ac_compiler
=`set X $ac_compile; echo $2`
2339 { (ac_try
="$ac_compiler --version >&5"
2341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2342 *) ac_try_echo=$ac_try;;
2344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2345 (eval "$ac_compiler --version >&5") 2>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }
2349 { (ac_try="$ac_compiler -v >&5"
2351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2352 *) ac_try_echo
=$ac_try;;
2354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2355 (eval "$ac_compiler -v >&5") 2>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }
2359 { (ac_try
="$ac_compiler -V >&5"
2361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2362 *) ac_try_echo=$ac_try;;
2364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2365 (eval "$ac_compiler -V >&5") 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }
2370 cat >conftest.$ac_ext <<_ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2385 ac_clean_files_save=$ac_clean_files
2386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2387 # Try to create an executable without -o first, disregard a.out.
2388 # It will help us diagnose broken compilers, and finding out an intuition
2390 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2391 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2392 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2394 # List of possible output files, starting from the most likely.
2395 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2396 # only as a last resort. b.out is created by i960 compilers.
2397 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2399 # The IRIX 6 linker writes into existing files which may not be
2400 # executable, retaining their permissions. Remove them first so a
2401 # subsequent execution test works.
2403 for ac_file in $ac_files
2406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2407 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2412 if { (ac_try="$ac_link_default"
2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415 *) ac_try_echo=$ac_try;;
2417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2418 (eval "$ac_link_default") 2>&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }; then
2422 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2424 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2425 # so that the user can short-circuit this test for compilers unknown to
2427 for ac_file
in $ac_files ''
2429 test -f "$ac_file" ||
continue
2431 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2434 # We found the default executable, but exeext='' is most
2438 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2440 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2442 # We set ac_cv_exeext here because the later test for it is not
2443 # safe: cross compilers may not add the suffix if given an `-o'
2444 # argument, so we may need to know it at that point already.
2445 # Even if this section looks crufty: it has the advantage of
2452 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2458 { echo "$as_me:$LINENO: result: $ac_file" >&5
2459 echo "${ECHO_T}$ac_file" >&6; }
2460 if test -z "$ac_file"; then
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.
$ac_ext >&5
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468 { (exit 77); exit 77; }; }
2471 ac_exeext
=$ac_cv_exeext
2473 # Check that the compiler produces executables we can run. If not, either
2474 # the compiler is broken, or we cross compile.
2475 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2476 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2477 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2478 # If not cross compiling, check that we can run a simple program.
2479 if test "$cross_compiling" != yes; then
2480 if { ac_try
='./$ac_file'
2481 { (case "(($ac_try" in
2482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2483 *) ac_try_echo=$ac_try;;
2485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2486 (eval "$ac_try") 2>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; }; then
2492 if test "$cross_compiling" = maybe; then
2495 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2496 If you meant to cross compile, use \`--host'.
2497 See \`config.log' for more details.
" >&5
2498 echo "$as_me: error
: cannot run C compiled programs.
2499 If you meant to cross compile
, use \
`--host'.
2500 See \`config.log
' for more details." >&2;}
2501 { (exit 1); exit 1; }; }
2505 { echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6; }
2508 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2509 ac_clean_files=$ac_clean_files_save
2510 # Check that the compiler produces executables we can run. If not, either
2511 # the compiler is broken, or we cross compile.
2512 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2513 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2514 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2515 echo "${ECHO_T}$cross_compiling" >&6; }
2517 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2518 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2519 if { (ac_try="$ac_link"
2521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2522 *) ac_try_echo=$ac_try;;
2524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2525 (eval "$ac_link") 2>&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); }; then
2529 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2530 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2531 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2533 for ac_file
in conftest.exe conftest conftest.
*; do
2534 test -f "$ac_file" ||
continue
2536 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2537 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2543 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2544 See \`config.log' for more details." >&5
2545 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2546 See \`config.log' for more details." >&2;}
2547 { (exit 1); exit 1; }; }
2550 rm -f conftest
$ac_cv_exeext
2551 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2552 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2554 rm -f conftest.
$ac_ext
2555 EXEEXT
=$ac_cv_exeext
2557 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2558 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2559 if test "${ac_cv_objext+set}" = set; then
2560 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 cat >conftest.
$ac_ext <<_ACEOF
2565 cat confdefs.h
>>conftest.
$ac_ext
2566 cat >>conftest.
$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2577 rm -f conftest.o conftest.obj
2578 if { (ac_try
="$ac_compile"
2580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2584 (eval "$ac_compile") 2>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; then
2588 for ac_file in conftest.o conftest.obj conftest.*; do
2589 test -f "$ac_file" || continue;
2591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2597 echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2600 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2601 See \`config.log
' for more details." >&5
2602 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2603 See \`config.log' for more details.
" >&2;}
2604 { (exit 1); exit 1; }; }
2607 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2609 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2610 echo "${ECHO_T}$ac_cv_objext" >&6; }
2611 OBJEXT=$ac_cv_objext
2613 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2614 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2615 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2616 echo $ECHO_N "(cached
) $ECHO_C" >&6
2618 cat >conftest.$ac_ext <<_ACEOF
2621 cat confdefs.h >>conftest.$ac_ext
2622 cat >>conftest.$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2636 rm -f conftest.$ac_objext
2637 if { (ac_try="$ac_compile"
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2642 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2643 (eval "$ac_compile") 2>conftest.er1
2645 grep -v '^ *+' conftest.er1 >conftest.err
2647 cat conftest.err >&5
2648 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2651 { (case "(($ac_try" in
2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653 *) ac_try_echo=$ac_try;;
2655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2656 (eval "$ac_try") 2>&5
2658 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2659 (exit $ac_status); }; } &&
2660 { ac_try='test -s conftest.$ac_objext'
2661 { (case "(($ac_try" in
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2665 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2666 (eval "$ac_try") 2>&5
2668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2669 (exit $ac_status); }; }; then
2672 echo "$as_me: failed program was
:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2684 GCC=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS=${CFLAGS+set}
2686 ac_save_CFLAGS=$CFLAGS
2687 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2688 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached
) $ECHO_C" >&6
2692 ac_save_c_werror_flag=$ac_c_werror_flag
2693 ac_c_werror_flag=yes
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2711 rm -f conftest.$ac_objext
2712 if { (ac_try="$ac_compile"
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compile") 2>conftest.er1
2720 grep -v '^ *+' conftest.er1 >conftest.err
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2724 (exit $ac_status); } &&
2725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2726 { (case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2731 (eval "$ac_try") 2>&5
2733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2734 (exit $ac_status); }; } &&
2735 { ac_try='test -s conftest.$ac_objext'
2736 { (case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2740 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2741 (eval "$ac_try") 2>&5
2743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2744 (exit $ac_status); }; }; then
2747 echo "$as_me: failed program was
:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2751 cat >conftest.$ac_ext <<_ACEOF
2754 cat confdefs.h >>conftest.$ac_ext
2755 cat >>conftest.$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2766 rm -f conftest.$ac_objext
2767 if { (ac_try="$ac_compile"
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2772 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_compile") 2>conftest.er1
2775 grep -v '^ *+' conftest.er1 >conftest.err
2777 cat conftest.err >&5
2778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2781 { (case "(($ac_try" in
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2786 (eval "$ac_try") 2>&5
2788 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2789 (exit $ac_status); }; } &&
2790 { ac_try='test -s conftest.$ac_objext'
2791 { (case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2796 (eval "$ac_try") 2>&5
2798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2799 (exit $ac_status); }; }; then
2802 echo "$as_me: failed program was
:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 ac_c_werror_flag=$ac_save_c_werror_flag
2807 cat >conftest.$ac_ext <<_ACEOF
2810 cat confdefs.h >>conftest.$ac_ext
2811 cat >>conftest.$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2822 rm -f conftest.$ac_objext
2823 if { (ac_try="$ac_compile"
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2828 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2829 (eval "$ac_compile") 2>conftest.er1
2831 grep -v '^ *+' conftest.er1 >conftest.err
2833 cat conftest.err >&5
2834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2835 (exit $ac_status); } &&
2836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2837 { (case "(($ac_try" in
2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2841 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2842 (eval "$ac_try") 2>&5
2844 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2845 (exit $ac_status); }; } &&
2846 { ac_try='test -s conftest.$ac_objext'
2847 { (case "(($ac_try" in
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2851 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2852 (eval "$ac_try") 2>&5
2854 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2855 (exit $ac_status); }; }; then
2858 echo "$as_me: failed program was
:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 ac_c_werror_flag=$ac_save_c_werror_flag
2873 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2874 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2875 if test "$ac_test_CFLAGS" = set; then
2876 CFLAGS=$ac_save_CFLAGS
2877 elif test $ac_cv_prog_cc_g = yes; then
2878 if test "$GCC" = yes; then
2884 if test "$GCC" = yes; then
2890 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2891 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2892 if test "${ac_cv_prog_cc_c89+set}" = set; then
2893 echo $ECHO_N "(cached
) $ECHO_C" >&6
2895 ac_cv_prog_cc_c89=no
2897 cat >conftest.$ac_ext <<_ACEOF
2900 cat confdefs.h >>conftest.$ac_ext
2901 cat >>conftest.$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2905 #include <sys/types.h>
2906 #include <sys/stat.h>
2907 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2908 struct buf { int x; };
2909 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2910 static char *e (p, i)
2916 static char *f (char * (*g) (char **, int), char **p, ...)
2921 s = g (p, va_arg (v,int));
2926 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2927 function prototypes and stuff, but not '\xHH' hex character constants.
2928 These don't provoke an error unfortunately, instead are silently treated
2929 as 'x'. The following induces an error, until -std is added to get
2930 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2931 array size at least. It's necessary to write '\x00'==0 to get something
2932 that's true only with -std. */
2933 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2935 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2936 inside strings and character constants. */
2938 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2940 int test (int i, double x);
2941 struct s1 {int (*f) (int a);};
2942 struct s2 {int (*f) (double a);};
2943 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2949 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2954 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2955 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2957 CC="$ac_save_CC $ac_arg"
2958 rm -f conftest.$ac_objext
2959 if { (ac_try="$ac_compile"
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2964 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2965 (eval "$ac_compile") 2>conftest.er1
2967 grep -v '^ *+' conftest.er1 >conftest.err
2969 cat conftest.err >&5
2970 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2971 (exit $ac_status); } &&
2972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2973 { (case "(($ac_try" in
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2978 (eval "$ac_try") 2>&5
2980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2981 (exit $ac_status); }; } &&
2982 { ac_try='test -s conftest.$ac_objext'
2983 { (case "(($ac_try" in
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2987 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2988 (eval "$ac_try") 2>&5
2990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2991 (exit $ac_status); }; }; then
2992 ac_cv_prog_cc_c89=$ac_arg
2994 echo "$as_me: failed program was
:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
3000 rm -f core conftest.err conftest.$ac_objext
3001 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3003 rm -f conftest.$ac_ext
3008 case "x
$ac_cv_prog_cc_c89" in
3010 { echo "$as_me:$LINENO: result
: none needed
" >&5
3011 echo "${ECHO_T}none needed
" >&6; } ;;
3013 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3014 echo "${ECHO_T}unsupported
" >&6; } ;;
3016 CC="$CC $ac_cv_prog_cc_c89"
3017 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3018 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3023 ac_cpp='$CPP $CPPFLAGS'
3024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3029 ac_cpp='$CXXCPP $CPPFLAGS'
3030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3033 if test -z "$CXX"; then
3034 if test -n "$CCC"; then
3037 if test -n "$ac_tool_prefix"; then
3038 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3042 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3043 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3044 if test "${ac_cv_prog_CXX+set}" = set; then
3045 echo $ECHO_N "(cached
) $ECHO_C" >&6
3047 if test -n "$CXX"; then
3048 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054 test -z "$as_dir" && as_dir=.
3055 for ac_exec_ext in '' $ac_executable_extensions; do
3056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3057 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3058 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3068 if test -n "$CXX"; then
3069 { echo "$as_me:$LINENO: result
: $CXX" >&5
3070 echo "${ECHO_T}$CXX" >&6; }
3072 { echo "$as_me:$LINENO: result
: no
" >&5
3073 echo "${ECHO_T}no
" >&6; }
3077 test -n "$CXX" && break
3080 if test -z "$CXX"; then
3082 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3084 # Extract the first word of "$ac_prog", so it can be a program name with args.
3085 set dummy $ac_prog; ac_word=$2
3086 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3087 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3088 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3089 echo $ECHO_N "(cached
) $ECHO_C" >&6
3091 if test -n "$ac_ct_CXX"; then
3092 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir=.
3099 for ac_exec_ext in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3101 ac_cv_prog_ac_ct_CXX="$ac_prog"
3102 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3111 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3112 if test -n "$ac_ct_CXX"; then
3113 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3114 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3116 { echo "$as_me:$LINENO: result
: no
" >&5
3117 echo "${ECHO_T}no
" >&6; }
3121 test -n "$ac_ct_CXX" && break
3124 if test "x
$ac_ct_CXX" = x; then
3127 case $cross_compiling:$ac_tool_warned in
3129 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3130 whose name does not start with the
host triplet. If you think this
3131 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3132 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3133 whose name does not start with the
host triplet. If you think this
3134 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3135 ac_tool_warned=yes ;;
3143 # Provide some information about the compiler.
3144 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3145 ac_compiler=`set X $ac_compile; echo $2`
3146 { (ac_try="$ac_compiler --version >&5"
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3151 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_compiler --version >&5") 2>&5
3154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3155 (exit $ac_status); }
3156 { (ac_try="$ac_compiler -v >&5"
3158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159 *) ac_try_echo=$ac_try;;
3161 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3162 (eval "$ac_compiler -v >&5") 2>&5
3164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3165 (exit $ac_status); }
3166 { (ac_try="$ac_compiler -V >&5"
3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3171 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3172 (eval "$ac_compiler -V >&5") 2>&5
3174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3175 (exit $ac_status); }
3177 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3178 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3179 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3180 echo $ECHO_N "(cached
) $ECHO_C" >&6
3182 cat >conftest.$ac_ext <<_ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3200 rm -f conftest.$ac_objext
3201 if { (ac_try="$ac_compile"
3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204 *) ac_try_echo=$ac_try;;
3206 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3207 (eval "$ac_compile") 2>conftest.er1
3209 grep -v '^ *+' conftest.er1 >conftest.err
3211 cat conftest.err >&5
3212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3213 (exit $ac_status); } &&
3214 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3215 { (case "(($ac_try" in
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3220 (eval "$ac_try") 2>&5
3222 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3223 (exit $ac_status); }; } &&
3224 { ac_try='test -s conftest.$ac_objext'
3225 { (case "(($ac_try" in
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3230 (eval "$ac_try") 2>&5
3232 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3233 (exit $ac_status); }; }; then
3236 echo "$as_me: failed program was
:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3246 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3247 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3248 GXX=`test $ac_compiler_gnu = yes && echo yes`
3249 ac_test_CXXFLAGS=${CXXFLAGS+set}
3250 ac_save_CXXFLAGS=$CXXFLAGS
3251 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3252 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3253 if test "${ac_cv_prog_cxx_g+set}" = set; then
3254 echo $ECHO_N "(cached
) $ECHO_C" >&6
3256 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3257 ac_cxx_werror_flag=yes
3260 cat >conftest.$ac_ext <<_ACEOF
3263 cat confdefs.h >>conftest.$ac_ext
3264 cat >>conftest.$ac_ext <<_ACEOF
3265 /* end confdefs.h. */
3275 rm -f conftest.$ac_objext
3276 if { (ac_try="$ac_compile"
3278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279 *) ac_try_echo=$ac_try;;
3281 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3282 (eval "$ac_compile") 2>conftest.er1
3284 grep -v '^ *+' conftest.er1 >conftest.err
3286 cat conftest.err >&5
3287 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3288 (exit $ac_status); } &&
3289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3290 { (case "(($ac_try" in
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3294 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3295 (eval "$ac_try") 2>&5
3297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3298 (exit $ac_status); }; } &&
3299 { ac_try='test -s conftest.$ac_objext'
3300 { (case "(($ac_try" in
3301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302 *) ac_try_echo=$ac_try;;
3304 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3305 (eval "$ac_try") 2>&5
3307 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3308 (exit $ac_status); }; }; then
3309 ac_cv_prog_cxx_g=yes
3311 echo "$as_me: failed program was
:" >&5
3312 sed 's/^/| /' conftest.$ac_ext >&5
3315 cat >conftest.$ac_ext <<_ACEOF
3318 cat confdefs.h >>conftest.$ac_ext
3319 cat >>conftest.$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3330 rm -f conftest.$ac_objext
3331 if { (ac_try="$ac_compile"
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compile") 2>conftest.er1
3339 grep -v '^ *+' conftest.er1 >conftest.err
3341 cat conftest.err >&5
3342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3343 (exit $ac_status); } &&
3344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3345 { (case "(($ac_try" in
3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3349 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3350 (eval "$ac_try") 2>&5
3352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3353 (exit $ac_status); }; } &&
3354 { ac_try='test -s conftest.$ac_objext'
3355 { (case "(($ac_try" in
3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3357 *) ac_try_echo=$ac_try;;
3359 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3360 (eval "$ac_try") 2>&5
3362 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3363 (exit $ac_status); }; }; then
3366 echo "$as_me: failed program was
:" >&5
3367 sed 's/^/| /' conftest.$ac_ext >&5
3369 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3371 cat >conftest.$ac_ext <<_ACEOF
3374 cat confdefs.h >>conftest.$ac_ext
3375 cat >>conftest.$ac_ext <<_ACEOF
3376 /* end confdefs.h. */
3386 rm -f conftest.$ac_objext
3387 if { (ac_try="$ac_compile"
3389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3390 *) ac_try_echo=$ac_try;;
3392 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3393 (eval "$ac_compile") 2>conftest.er1
3395 grep -v '^ *+' conftest.er1 >conftest.err
3397 cat conftest.err >&5
3398 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3399 (exit $ac_status); } &&
3400 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3401 { (case "(($ac_try" in
3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3403 *) ac_try_echo=$ac_try;;
3405 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3406 (eval "$ac_try") 2>&5
3408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3409 (exit $ac_status); }; } &&
3410 { ac_try='test -s conftest.$ac_objext'
3411 { (case "(($ac_try" in
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3415 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3416 (eval "$ac_try") 2>&5
3418 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3419 (exit $ac_status); }; }; then
3420 ac_cv_prog_cxx_g=yes
3422 echo "$as_me: failed program was
:" >&5
3423 sed 's/^/| /' conftest.$ac_ext >&5
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3437 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3438 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3439 if test "$ac_test_CXXFLAGS" = set; then
3440 CXXFLAGS=$ac_save_CXXFLAGS
3441 elif test $ac_cv_prog_cxx_g = yes; then
3442 if test "$GXX" = yes; then
3448 if test "$GXX" = yes; then
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 if test -n "$ac_tool_prefix"; then
3461 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3462 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3463 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3464 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3465 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3466 echo $ECHO_N "(cached
) $ECHO_C" >&6
3468 if test -n "$CPPBIN"; then
3469 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 test -z "$as_dir" && as_dir=.
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3478 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3479 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3488 CPPBIN=$ac_cv_prog_CPPBIN
3489 if test -n "$CPPBIN"; then
3490 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3491 echo "${ECHO_T}$CPPBIN" >&6; }
3493 { echo "$as_me:$LINENO: result
: no
" >&5
3494 echo "${ECHO_T}no
" >&6; }
3499 if test -z "$ac_cv_prog_CPPBIN"; then
3500 ac_ct_CPPBIN=$CPPBIN
3501 # Extract the first word of "cpp
", so it can be a program name with args.
3502 set dummy cpp; ac_word=$2
3503 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3504 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3505 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3506 echo $ECHO_N "(cached
) $ECHO_C" >&6
3508 if test -n "$ac_ct_CPPBIN"; then
3509 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3515 test -z "$as_dir" && as_dir=.
3516 for ac_exec_ext in '' $ac_executable_extensions; do
3517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3518 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3519 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3528 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3529 if test -n "$ac_ct_CPPBIN"; then
3530 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3531 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3533 { echo "$as_me:$LINENO: result
: no
" >&5
3534 echo "${ECHO_T}no
" >&6; }
3537 if test "x
$ac_ct_CPPBIN" = x; then
3540 case $cross_compiling:$ac_tool_warned in
3542 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3543 whose name does not start with the
host triplet. If you think this
3544 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3545 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3546 whose name does not start with the
host triplet. If you think this
3547 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3548 ac_tool_warned=yes ;;
3550 CPPBIN=$ac_ct_CPPBIN
3553 CPPBIN="$ac_cv_prog_CPPBIN"
3557 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3558 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3559 if test "${wine_cv_toolsdir+set}" = set; then
3560 echo $ECHO_N "(cached
) $ECHO_C" >&6
3562 if test -z "$with_wine_tools"; then
3563 if test "$cross_compiling" = "yes"; then
3564 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3565 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3566 { (exit 1); exit 1; }; }
3568 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3570 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3571 case $with_wine_tools in
3572 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3573 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3576 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3577 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3578 { (exit 1); exit 1; }; }
3581 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3582 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3583 TOOLSDIR=$wine_cv_toolsdir
3588 ac_cpp='$CPP $CPPFLAGS'
3589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3592 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3593 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3594 # On Suns, sometimes $CPP names a directory.
3595 if test -n "$CPP" && test -d "$CPP"; then
3598 if test -z "$CPP"; then
3599 if test "${ac_cv_prog_CPP+set}" = set; then
3600 echo $ECHO_N "(cached
) $ECHO_C" >&6
3602 # Double quotes because CPP needs to be expanded
3603 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3606 for ac_c_preproc_warn_flag in '' yes
3608 # Use a header file that comes with gcc, so configuring glibc
3609 # with a fresh cross-compiler works.
3610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3611 # <limits.h> exists even on freestanding compilers.
3612 # On the NeXT, cc -E runs the code through the compiler's parser,
3613 # not just through cpp. "Syntax error
" is here to catch this case.
3614 cat >conftest.$ac_ext <<_ACEOF
3617 cat confdefs.h >>conftest.$ac_ext
3618 cat >>conftest.$ac_ext <<_ACEOF
3619 /* end confdefs.h. */
3621 # include <limits.h>
3623 # include <assert.h>
3627 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3630 *) ac_try_echo=$ac_try;;
3632 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3633 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3635 grep -v '^ *+' conftest.er1 >conftest.err
3637 cat conftest.err >&5
3638 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3639 (exit $ac_status); } >/dev/null; then
3640 if test -s conftest.err; then
3641 ac_cpp_err=$ac_c_preproc_warn_flag
3642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3649 if test -z "$ac_cpp_err"; then
3652 echo "$as_me: failed program was
:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5
3655 # Broken: fails on valid input.
3659 rm -f conftest.err conftest.$ac_ext
3661 # OK, works on sane cases. Now check whether nonexistent headers
3662 # can be detected and how.
3663 cat >conftest.$ac_ext <<_ACEOF
3666 cat confdefs.h >>conftest.$ac_ext
3667 cat >>conftest.$ac_ext <<_ACEOF
3668 /* end confdefs.h. */
3669 #include <ac_nonexistent.h>
3671 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674 *) ac_try_echo=$ac_try;;
3676 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3677 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3679 grep -v '^ *+' conftest.er1 >conftest.err
3681 cat conftest.err >&5
3682 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3683 (exit $ac_status); } >/dev/null; then
3684 if test -s conftest.err; then
3685 ac_cpp_err=$ac_c_preproc_warn_flag
3686 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3693 if test -z "$ac_cpp_err"; then
3694 # Broken: success on invalid input.
3697 echo "$as_me: failed program was
:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 # Passes both tests.
3705 rm -f conftest.err conftest.$ac_ext
3708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3709 rm -f conftest.err conftest.$ac_ext
3710 if $ac_preproc_ok; then
3722 { echo "$as_me:$LINENO: result
: $CPP" >&5
3723 echo "${ECHO_T}$CPP" >&6; }
3725 for ac_c_preproc_warn_flag in '' yes
3727 # Use a header file that comes with gcc, so configuring glibc
3728 # with a fresh cross-compiler works.
3729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3730 # <limits.h> exists even on freestanding compilers.
3731 # On the NeXT, cc -E runs the code through the compiler's parser,
3732 # not just through cpp. "Syntax error
" is here to catch this case.
3733 cat >conftest.$ac_ext <<_ACEOF
3736 cat confdefs.h >>conftest.$ac_ext
3737 cat >>conftest.$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3740 # include <limits.h>
3742 # include <assert.h>
3746 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749 *) ac_try_echo=$ac_try;;
3751 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3752 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3754 grep -v '^ *+' conftest.er1 >conftest.err
3756 cat conftest.err >&5
3757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3758 (exit $ac_status); } >/dev/null; then
3759 if test -s conftest.err; then
3760 ac_cpp_err=$ac_c_preproc_warn_flag
3761 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3768 if test -z "$ac_cpp_err"; then
3771 echo "$as_me: failed program was
:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 # Broken: fails on valid input.
3778 rm -f conftest.err conftest.$ac_ext
3780 # OK, works on sane cases. Now check whether nonexistent headers
3781 # can be detected and how.
3782 cat >conftest.$ac_ext <<_ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <ac_nonexistent.h>
3790 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3798 grep -v '^ *+' conftest.er1 >conftest.err
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3802 (exit $ac_status); } >/dev/null; then
3803 if test -s conftest.err; then
3804 ac_cpp_err=$ac_c_preproc_warn_flag
3805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3812 if test -z "$ac_cpp_err"; then
3813 # Broken: success on invalid input.
3816 echo "$as_me: failed program was
:" >&5
3817 sed 's/^/| /' conftest.$ac_ext >&5
3819 # Passes both tests.
3824 rm -f conftest.err conftest.$ac_ext
3827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3828 rm -f conftest.err conftest.$ac_ext
3829 if $ac_preproc_ok; then
3832 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3833 See \
`config.log' for more details." >&5
3834 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3835 See \`config.log
' for more details." >&2;}
3836 { (exit 1); exit 1; }; }
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3842 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3846 { echo "$as_me:$LINENO: checking for X" >&5
3847 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3850 # Check whether --with-x was given.
3851 if test "${with_x+set}" = set; then
3855 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3856 if test "x$with_x" = xno; then
3857 # The user explicitly disabled X.
3860 case $x_includes,$x_libraries in #(
3861 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3862 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3863 { (exit 1); exit 1; }; };; #(
3864 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 # One or both of the vars are not set, and there is no cached value.
3868 ac_x_includes=no ac_x_libraries=no
3869 rm -f -r conftest.dir
3870 if mkdir conftest.dir; then
3872 cat >Imakefile <<'_ACEOF'
3874 @echo incroot='${INCROOT}'
3876 @echo usrlibdir='${USRLIBDIR}'
3878 @echo libdir='${LIBDIR}'
3880 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3881 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3882 for ac_var in incroot usrlibdir libdir; do
3883 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3885 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3886 for ac_extension in a so sl; do
3887 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3888 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3889 ac_im_usrlibdir=$ac_im_libdir; break
3892 # Screen out bogus values from the imake configuration. They are
3893 # bogus both because they are the default anyway, and because
3894 # using them would break gcc on systems where it needs fixed includes.
3895 case $ac_im_incroot in
3896 /usr/include) ac_x_includes= ;;
3897 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3899 case $ac_im_usrlibdir in
3901 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3905 rm -f -r conftest.dir
3908 # Standard set of common directories for X headers.
3909 # Check X11 before X11Rn because it is often a symlink to the current release.
3921 /usr
/local
/X11
/include
3922 /usr
/local
/X11R
6/include
3923 /usr
/local
/X11R
5/include
3924 /usr
/local
/X11R
4/include
3926 /usr
/local
/include
/X11
3927 /usr
/local
/include
/X11R6
3928 /usr
/local
/include
/X11R5
3929 /usr
/local
/include
/X11R4
3933 /usr
/XFree86
/include
/X11
3937 /usr
/unsupported
/include
3939 /usr
/local
/x11r
5/include
3940 /usr
/lpp
/Xamples
/include
3942 /usr
/openwin
/include
3943 /usr
/openwin
/share
/include
'
3945 if test "$ac_x_includes" = no; then
3946 # Guess where to find include files, by looking for Xlib.h.
3947 # First, try using that file with no special directory specified.
3948 cat >conftest.$ac_ext <<_ACEOF
3951 cat confdefs.h >>conftest.$ac_ext
3952 cat >>conftest.$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3954 #include <X11/Xlib.h>
3956 if { (ac_try="$ac_cpp conftest.$ac_ext"
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3964 grep -v '^
*+' conftest.er1 >conftest.err
3966 cat conftest.err >&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); } >/dev/null; then
3969 if test -s conftest.err; then
3970 ac_cpp_err=$ac_c_preproc_warn_flag
3971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3978 if test -z "$ac_cpp_err"; then
3979 # We can compile using X headers with no special include directory.
3982 echo "$as_me: failed program was:" >&5
3983 sed 's
/^
/|
/' conftest.$ac_ext >&5
3985 for ac_dir in $ac_x_header_dirs; do
3986 if test -r "$ac_dir/X11/Xlib.h"; then
3987 ac_x_includes=$ac_dir
3993 rm -f conftest.err conftest.$ac_ext
3994 fi # $ac_x_includes = no
3996 if test "$ac_x_libraries" = no; then
3997 # Check for the libraries.
3998 # See if we find them without any special options.
3999 # Don't add to
$LIBS permanently.
4002 cat >conftest.
$ac_ext <<_ACEOF
4005 cat confdefs.h
>>conftest.
$ac_ext
4006 cat >>conftest.
$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4008 #include <X11/Xlib.h>
4017 rm -f conftest.
$ac_objext conftest
$ac_exeext
4018 if { (ac_try
="$ac_link"
4020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4024 (eval "$ac_link") 2>conftest.er1
4026 grep -v '^ *+' conftest.er1 >conftest.err
4028 cat conftest.err >&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } &&
4031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4032 { (case "(($ac_try" in
4033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4034 *) ac_try_echo
=$ac_try;;
4036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4037 (eval "$ac_try") 2>&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; } &&
4041 { ac_try
='test -s conftest$ac_exeext'
4042 { (case "(($ac_try" in
4043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4044 *) ac_try_echo=$ac_try;;
4046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4047 (eval "$ac_try") 2>&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); }; }; then
4052 # We can link X programs with no special library path.
4055 echo "$as_me: failed program was:" >&5
4056 sed 's/^/| /' conftest.$ac_ext >&5
4059 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4061 # Don't even attempt the hair of trying to link an X program!
4062 for ac_extension in a so sl; do
4063 if test -r "$ac_dir/libX11.$ac_extension"; then
4064 ac_x_libraries=$ac_dir
4071 rm -f core conftest.err conftest.$ac_objext \
4072 conftest$ac_exeext conftest.$ac_ext
4073 fi # $ac_x_libraries = no
4075 case $ac_x_includes,$ac_x_libraries in #(
4077 # Didn't find X, or a directory has "'" in its name.
4078 ac_cv_have_x="have_x=no";; #(
4080 # Record where we found X for the cache.
4081 ac_cv_have_x="have_x=yes\
4082 ac_x_includes='$ac_x_includes'\
4083 ac_x_libraries='$ac_x_libraries'"
4089 eval "$ac_cv_have_x"
4092 if test "$have_x" != yes; then
4093 { echo "$as_me:$LINENO: result: $have_x" >&5
4094 echo "${ECHO_T}$have_x" >&6; }
4097 # If each of the values was on the command line, it overrides each guess.
4098 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4099 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4100 # Update the cache value to reflect the command line values.
4101 ac_cv_have_x="have_x=yes\
4102 ac_x_includes='$x_includes'\
4103 ac_x_libraries='$x_libraries'"
4104 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4105 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4108 if test "$no_x" = yes; then
4109 # Not all programs may use this symbol, but it does not hurt to define it.
4111 cat >>confdefs.h <<\_ACEOF
4112 #define X_DISPLAY_MISSING 1
4115 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4117 if test -n "$x_includes"; then
4118 X_CFLAGS="$X_CFLAGS -I$x_includes"
4121 # It would also be nice to do this for all -L options, not just this one.
4122 if test -n "$x_libraries"; then
4123 X_LIBS="$X_LIBS -L$x_libraries"
4124 # For Solaris; some versions of Sun CC require a space after -R and
4125 # others require no space. Words are not sufficient . . . .
4126 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4127 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4128 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4129 ac_xsave_c_werror_flag=$ac_c_werror_flag
4130 ac_c_werror_flag=yes
4131 cat >conftest.$ac_ext <<_ACEOF
4134 cat confdefs.h >>conftest.$ac_ext
4135 cat >>conftest.$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4146 rm -f conftest.$ac_objext conftest$ac_exeext
4147 if { (ac_try="$ac_link"
4149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4150 *) ac_try_echo
=$ac_try;;
4152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4153 (eval "$ac_link") 2>conftest.er1
4155 grep -v '^ *+' conftest.er1
>conftest.err
4157 cat conftest.err
>&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } &&
4160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4161 { (case "(($ac_try" in
4162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4163 *) ac_try_echo=$ac_try;;
4165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4166 (eval "$ac_try") 2>&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; } &&
4170 { ac_try='test -s conftest$ac_exeext'
4171 { (case "(($ac_try" in
4172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4173 *) ac_try_echo
=$ac_try;;
4175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4176 (eval "$ac_try") 2>&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; }; then
4180 { echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6; }
4182 X_LIBS
="$X_LIBS -R$x_libraries"
4184 echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.
$ac_ext >&5
4187 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4188 cat >conftest.
$ac_ext <<_ACEOF
4191 cat confdefs.h
>>conftest.
$ac_ext
4192 cat >>conftest.
$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4203 rm -f conftest.
$ac_objext conftest
$ac_exeext
4204 if { (ac_try
="$ac_link"
4206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4207 *) ac_try_echo=$ac_try;;
4209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4210 (eval "$ac_link") 2>conftest.er1
4212 grep -v '^ *+' conftest.er1 >conftest.err
4214 cat conftest.err >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } &&
4217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4218 { (case "(($ac_try" in
4219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4220 *) ac_try_echo
=$ac_try;;
4222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4223 (eval "$ac_try") 2>&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); }; } &&
4227 { ac_try
='test -s conftest$ac_exeext'
4228 { (case "(($ac_try" in
4229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4233 (eval "$ac_try") 2>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); }; }; then
4237 { echo "$as_me:$LINENO: result: yes" >&5
4238 echo "${ECHO_T}yes" >&6; }
4239 X_LIBS="$X_LIBS -R $x_libraries"
4241 echo "$as_me: failed program was:" >&5
4242 sed 's/^/| /' conftest.$ac_ext >&5
4244 { echo "$as_me:$LINENO: result: neither works" >&5
4245 echo "${ECHO_T}neither works" >&6; }
4248 rm -f core conftest.err conftest.$ac_objext \
4249 conftest$ac_exeext conftest.$ac_ext
4252 rm -f core conftest.err conftest.$ac_objext \
4253 conftest$ac_exeext conftest.$ac_ext
4254 ac_c_werror_flag=$ac_xsave_c_werror_flag
4258 # Check for system-dependent libraries X programs must link with.
4259 # Do this before checking for the system-independent R6 libraries
4260 # (-lICE), since we may need -lsocket or whatever for X linking.
4262 if test "$ISC" = yes; then
4263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4265 # Martyn Johnson says this is needed for Ultrix, if the X
4266 # libraries were built with DECnet support. And Karl Berry says
4267 # the Alpha needs dnet_stub (dnet does not exist).
4268 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4269 cat >conftest.$ac_ext <<_ACEOF
4272 cat confdefs.h >>conftest.$ac_ext
4273 cat >>conftest.$ac_ext <<_ACEOF
4274 /* end confdefs.h. */
4276 /* Override any GCC internal prototype to avoid an error.
4277 Use char because int might match the return type of a GCC
4278 builtin and then its argument prototype would still apply. */
4282 char XOpenDisplay ();
4286 return XOpenDisplay ();
4291 rm -f conftest.$ac_objext conftest$ac_exeext
4292 if { (ac_try="$ac_link"
4294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4295 *) ac_try_echo
=$ac_try;;
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_link") 2>conftest.er1
4300 grep -v '^ *+' conftest.er1
>conftest.err
4302 cat conftest.err
>&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } &&
4305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4306 { (case "(($ac_try" in
4307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_try") 2>&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); }; } &&
4315 { ac_try='test -s conftest$ac_exeext'
4316 { (case "(($ac_try" in
4317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4318 *) ac_try_echo
=$ac_try;;
4320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321 (eval "$ac_try") 2>&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.
$ac_ext >&5
4330 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4331 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4332 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4333 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 ac_check_lib_save_LIBS
=$LIBS
4337 cat >conftest.
$ac_ext <<_ACEOF
4340 cat confdefs.h
>>conftest.
$ac_ext
4341 cat >>conftest.
$ac_ext <<_ACEOF
4342 /* end confdefs.h. */
4344 /* Override any GCC internal prototype to avoid an error.
4345 Use char because int might match the return type of a GCC
4346 builtin and then its argument prototype would still apply. */
4354 return dnet_ntoa ();
4359 rm -f conftest.
$ac_objext conftest
$ac_exeext
4360 if { (ac_try
="$ac_link"
4362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4363 *) ac_try_echo=$ac_try;;
4365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366 (eval "$ac_link") 2>conftest.er1
4368 grep -v '^ *+' conftest.er1 >conftest.err
4370 cat conftest.err >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } &&
4373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4374 { (case "(($ac_try" in
4375 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4376 *) ac_try_echo
=$ac_try;;
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_try") 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; } &&
4383 { ac_try
='test -s conftest$ac_exeext'
4384 { (case "(($ac_try" in
4385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4386 *) ac_try_echo=$ac_try;;
4388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4389 (eval "$ac_try") 2>&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; }; then
4393 ac_cv_lib_dnet_dnet_ntoa=yes
4395 echo "$as_me: failed program was:" >&5
4396 sed 's/^/| /' conftest.$ac_ext >&5
4398 ac_cv_lib_dnet_dnet_ntoa=no
4401 rm -f core conftest.err conftest.$ac_objext \
4402 conftest$ac_exeext conftest.$ac_ext
4403 LIBS=$ac_check_lib_save_LIBS
4405 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4406 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4407 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4408 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4411 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4412 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4413 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4414 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 ac_check_lib_save_LIBS=$LIBS
4418 LIBS="-ldnet_stub $LIBS"
4419 cat >conftest.$ac_ext <<_ACEOF
4422 cat confdefs.h >>conftest.$ac_ext
4423 cat >>conftest.$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4426 /* Override any GCC internal prototype to avoid an error.
4427 Use char because int might match the return type of a GCC
4428 builtin and then its argument prototype would still apply. */
4436 return dnet_ntoa ();
4441 rm -f conftest.$ac_objext conftest$ac_exeext
4442 if { (ac_try="$ac_link"
4444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4445 *) ac_try_echo
=$ac_try;;
4447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4448 (eval "$ac_link") 2>conftest.er1
4450 grep -v '^ *+' conftest.er1
>conftest.err
4452 cat conftest.err
>&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } &&
4455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4456 { (case "(($ac_try" in
4457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4461 (eval "$ac_try") 2>&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; } &&
4465 { ac_try='test -s conftest$ac_exeext'
4466 { (case "(($ac_try" in
4467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4468 *) ac_try_echo
=$ac_try;;
4470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4471 (eval "$ac_try") 2>&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; }; then
4475 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4477 echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.
$ac_ext >&5
4480 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4483 rm -f core conftest.err conftest.
$ac_objext \
4484 conftest
$ac_exeext conftest.
$ac_ext
4485 LIBS
=$ac_check_lib_save_LIBS
4487 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4488 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4489 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4490 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4496 rm -f core conftest.err conftest.
$ac_objext \
4497 conftest
$ac_exeext conftest.
$ac_ext
4498 LIBS
="$ac_xsave_LIBS"
4500 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4501 # to get the SysV transport functions.
4502 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4504 # The nsl library prevents programs from opening the X display
4505 # on Irix 5.2, according to T.E. Dickey.
4506 # The functions gethostbyname, getservbyname, and inet_addr are
4507 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4508 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4509 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4510 if test "${ac_cv_func_gethostbyname+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 cat >conftest.
$ac_ext <<_ACEOF
4516 cat confdefs.h
>>conftest.
$ac_ext
4517 cat >>conftest.
$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4519 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4521 #define gethostbyname innocuous_gethostbyname
4523 /* System header to define __stub macros and hopefully few prototypes,
4524 which can conflict with char gethostbyname (); below.
4525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4526 <limits.h> exists even on freestanding compilers. */
4529 # include <limits.h>
4531 # include <assert.h>
4534 #undef gethostbyname
4536 /* Override any GCC internal prototype to avoid an error.
4537 Use char because int might match the return type of a GCC
4538 builtin and then its argument prototype would still apply. */
4542 char gethostbyname ();
4543 /* The GNU C library defines this for functions which it implements
4544 to always fail with ENOSYS. Some functions are actually named
4545 something starting with __ and the normal name is an alias. */
4546 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4553 return gethostbyname ();
4558 rm -f conftest.
$ac_objext conftest
$ac_exeext
4559 if { (ac_try
="$ac_link"
4561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4562 *) ac_try_echo=$ac_try;;
4564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 (eval "$ac_link") 2>conftest.er1
4567 grep -v '^ *+' conftest.er1 >conftest.err
4569 cat conftest.err >&5
4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); } &&
4572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4573 { (case "(($ac_try" in
4574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4575 *) ac_try_echo
=$ac_try;;
4577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4578 (eval "$ac_try") 2>&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; } &&
4582 { ac_try
='test -s conftest$ac_exeext'
4583 { (case "(($ac_try" in
4584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4585 *) ac_try_echo=$ac_try;;
4587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4588 (eval "$ac_try") 2>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 ac_cv_func_gethostbyname=yes
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_func_gethostbyname=no
4600 rm -f core conftest.err conftest.$ac_objext \
4601 conftest$ac_exeext conftest.$ac_ext
4603 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4604 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4606 if test $ac_cv_func_gethostbyname = no; then
4607 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4608 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4609 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 ac_check_lib_save_LIBS=$LIBS
4614 cat >conftest.$ac_ext <<_ACEOF
4617 cat confdefs.h >>conftest.$ac_ext
4618 cat >>conftest.$ac_ext <<_ACEOF
4619 /* end confdefs.h. */
4621 /* Override any GCC internal prototype to avoid an error.
4622 Use char because int might match the return type of a GCC
4623 builtin and then its argument prototype would still apply. */
4627 char gethostbyname ();
4631 return gethostbyname ();
4636 rm -f conftest.$ac_objext conftest$ac_exeext
4637 if { (ac_try="$ac_link"
4639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4640 *) ac_try_echo
=$ac_try;;
4642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4643 (eval "$ac_link") 2>conftest.er1
4645 grep -v '^ *+' conftest.er1
>conftest.err
4647 cat conftest.err
>&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4651 { (case "(($ac_try" in
4652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4656 (eval "$ac_try") 2>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; } &&
4660 { ac_try='test -s conftest$ac_exeext'
4661 { (case "(($ac_try" in
4662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4663 *) ac_try_echo
=$ac_try;;
4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666 (eval "$ac_try") 2>&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_lib_nsl_gethostbyname
=yes
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.
$ac_ext >&5
4675 ac_cv_lib_nsl_gethostbyname
=no
4678 rm -f core conftest.err conftest.
$ac_objext \
4679 conftest
$ac_exeext conftest.
$ac_ext
4680 LIBS
=$ac_check_lib_save_LIBS
4682 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4683 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4684 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4685 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4688 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4689 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4690 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4691 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 ac_check_lib_save_LIBS
=$LIBS
4696 cat >conftest.
$ac_ext <<_ACEOF
4699 cat confdefs.h
>>conftest.
$ac_ext
4700 cat >>conftest.
$ac_ext <<_ACEOF
4701 /* end confdefs.h. */
4703 /* Override any GCC internal prototype to avoid an error.
4704 Use char because int might match the return type of a GCC
4705 builtin and then its argument prototype would still apply. */
4709 char gethostbyname ();
4713 return gethostbyname ();
4718 rm -f conftest.
$ac_objext conftest
$ac_exeext
4719 if { (ac_try
="$ac_link"
4721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4725 (eval "$ac_link") 2>conftest.er1
4727 grep -v '^ *+' conftest.er1 >conftest.err
4729 cat conftest.err >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } &&
4732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4733 { (case "(($ac_try" in
4734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4735 *) ac_try_echo
=$ac_try;;
4737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738 (eval "$ac_try") 2>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; } &&
4742 { ac_try
='test -s conftest$ac_exeext'
4743 { (case "(($ac_try" in
4744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4745 *) ac_try_echo=$ac_try;;
4747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4748 (eval "$ac_try") 2>&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 ac_cv_lib_bsd_gethostbyname=yes
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 ac_cv_lib_bsd_gethostbyname=no
4760 rm -f core conftest.err conftest.$ac_objext \
4761 conftest$ac_exeext conftest.$ac_ext
4762 LIBS=$ac_check_lib_save_LIBS
4764 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4765 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4766 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4773 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4774 # socket/setsockopt and other routines are undefined under SCO ODT
4775 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4776 # on later versions), says Simon Leinen: it contains gethostby*
4777 # variants that don't use the name server (or something). -lsocket
4778 # must be given before -lnsl if both are needed. We assume that
4779 # if connect needs -lnsl, so does gethostbyname.
4780 { echo "$as_me:$LINENO: checking for connect" >&5
4781 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4782 if test "${ac_cv_func_connect+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 cat >conftest.$ac_ext <<_ACEOF
4788 cat confdefs.h >>conftest.$ac_ext
4789 cat >>conftest.$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4793 #define connect innocuous_connect
4795 /* System header to define __stub macros and hopefully few prototypes,
4796 which can conflict with char connect (); below.
4797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4798 <limits.h> exists even on freestanding compilers. */
4801 # include <limits.h>
4803 # include <assert.h>
4808 /* Override any GCC internal prototype to avoid an error.
4809 Use char because int might match the return type of a GCC
4810 builtin and then its argument prototype would still apply. */
4815 /* The GNU C library defines this for functions which it implements
4816 to always fail with ENOSYS. Some functions are actually named
4817 something starting with __ and the normal name is an alias. */
4818 #if defined __stub_connect || defined __stub___connect
4830 rm -f conftest.$ac_objext conftest$ac_exeext
4831 if { (ac_try="$ac_link"
4833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4834 *) ac_try_echo
=$ac_try;;
4836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4837 (eval "$ac_link") 2>conftest.er1
4839 grep -v '^ *+' conftest.er1
>conftest.err
4841 cat conftest.err
>&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4845 { (case "(($ac_try" in
4846 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4847 *) ac_try_echo=$ac_try;;
4849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4850 (eval "$ac_try") 2>&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; } &&
4854 { ac_try='test -s conftest$ac_exeext'
4855 { (case "(($ac_try" in
4856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4857 *) ac_try_echo
=$ac_try;;
4859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4860 (eval "$ac_try") 2>&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; }; then
4864 ac_cv_func_connect
=yes
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.
$ac_ext >&5
4869 ac_cv_func_connect
=no
4872 rm -f core conftest.err conftest.
$ac_objext \
4873 conftest
$ac_exeext conftest.
$ac_ext
4875 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4876 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4878 if test $ac_cv_func_connect = no
; then
4879 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4880 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4881 if test "${ac_cv_lib_socket_connect+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 ac_check_lib_save_LIBS
=$LIBS
4885 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4886 cat >conftest.
$ac_ext <<_ACEOF
4889 cat confdefs.h
>>conftest.
$ac_ext
4890 cat >>conftest.
$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4893 /* Override any GCC internal prototype to avoid an error.
4894 Use char because int might match the return type of a GCC
4895 builtin and then its argument prototype would still apply. */
4908 rm -f conftest.
$ac_objext conftest
$ac_exeext
4909 if { (ac_try
="$ac_link"
4911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4912 *) ac_try_echo=$ac_try;;
4914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4915 (eval "$ac_link") 2>conftest.er1
4917 grep -v '^ *+' conftest.er1 >conftest.err
4919 cat conftest.err >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); } &&
4922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4923 { (case "(($ac_try" in
4924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4925 *) ac_try_echo
=$ac_try;;
4927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4928 (eval "$ac_try") 2>&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); }; } &&
4932 { ac_try
='test -s conftest$ac_exeext'
4933 { (case "(($ac_try" in
4934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4935 *) ac_try_echo=$ac_try;;
4937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4938 (eval "$ac_try") 2>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; }; then
4942 ac_cv_lib_socket_connect=yes
4944 echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.$ac_ext >&5
4947 ac_cv_lib_socket_connect=no
4950 rm -f core conftest.err conftest.$ac_objext \
4951 conftest$ac_exeext conftest.$ac_ext
4952 LIBS=$ac_check_lib_save_LIBS
4954 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4955 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4956 if test $ac_cv_lib_socket_connect = yes; then
4957 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4962 # Guillermo Gomez says -lposix is necessary on A/UX.
4963 { echo "$as_me:$LINENO: checking for remove" >&5
4964 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4965 if test "${ac_cv_func_remove+set}" = set; then
4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 cat >conftest.$ac_ext <<_ACEOF
4971 cat confdefs.h >>conftest.$ac_ext
4972 cat >>conftest.$ac_ext <<_ACEOF
4973 /* end confdefs.h. */
4974 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4976 #define remove innocuous_remove
4978 /* System header to define __stub macros and hopefully few prototypes,
4979 which can conflict with char remove (); below.
4980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4981 <limits.h> exists even on freestanding compilers. */
4984 # include <limits.h>
4986 # include <assert.h>
4991 /* Override any GCC internal prototype to avoid an error.
4992 Use char because int might match the return type of a GCC
4993 builtin and then its argument prototype would still apply. */
4998 /* The GNU C library defines this for functions which it implements
4999 to always fail with ENOSYS. Some functions are actually named
5000 something starting with __ and the normal name is an alias. */
5001 #if defined __stub_remove || defined __stub___remove
5013 rm -f conftest.$ac_objext conftest$ac_exeext
5014 if { (ac_try="$ac_link"
5016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5017 *) ac_try_echo
=$ac_try;;
5019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5020 (eval "$ac_link") 2>conftest.er1
5022 grep -v '^ *+' conftest.er1
>conftest.err
5024 cat conftest.err
>&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } &&
5027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5028 { (case "(($ac_try" in
5029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5030 *) ac_try_echo=$ac_try;;
5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5033 (eval "$ac_try") 2>&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; } &&
5037 { ac_try='test -s conftest$ac_exeext'
5038 { (case "(($ac_try" in
5039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5040 *) ac_try_echo
=$ac_try;;
5042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5043 (eval "$ac_try") 2>&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; }; then
5047 ac_cv_func_remove
=yes
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.
$ac_ext >&5
5052 ac_cv_func_remove
=no
5055 rm -f core conftest.err conftest.
$ac_objext \
5056 conftest
$ac_exeext conftest.
$ac_ext
5058 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5059 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5061 if test $ac_cv_func_remove = no
; then
5062 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5063 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5064 if test "${ac_cv_lib_posix_remove+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 ac_check_lib_save_LIBS
=$LIBS
5068 LIBS
="-lposix $LIBS"
5069 cat >conftest.
$ac_ext <<_ACEOF
5072 cat confdefs.h
>>conftest.
$ac_ext
5073 cat >>conftest.
$ac_ext <<_ACEOF
5074 /* end confdefs.h. */
5076 /* Override any GCC internal prototype to avoid an error.
5077 Use char because int might match the return type of a GCC
5078 builtin and then its argument prototype would still apply. */
5091 rm -f conftest.
$ac_objext conftest
$ac_exeext
5092 if { (ac_try
="$ac_link"
5094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098 (eval "$ac_link") 2>conftest.er1
5100 grep -v '^ *+' conftest.er1 >conftest.err
5102 cat conftest.err >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } &&
5105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5106 { (case "(($ac_try" in
5107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5108 *) ac_try_echo
=$ac_try;;
5110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5111 (eval "$ac_try") 2>&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; } &&
5115 { ac_try
='test -s conftest$ac_exeext'
5116 { (case "(($ac_try" in
5117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5118 *) ac_try_echo=$ac_try;;
5120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5121 (eval "$ac_try") 2>&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; }; then
5125 ac_cv_lib_posix_remove=yes
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5130 ac_cv_lib_posix_remove=no
5133 rm -f core conftest.err conftest.$ac_objext \
5134 conftest$ac_exeext conftest.$ac_ext
5135 LIBS=$ac_check_lib_save_LIBS
5137 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5138 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5139 if test $ac_cv_lib_posix_remove = yes; then
5140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5145 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5146 { echo "$as_me:$LINENO: checking for shmat" >&5
5147 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5148 if test "${ac_cv_func_shmat+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 cat >conftest.$ac_ext <<_ACEOF
5154 cat confdefs.h >>conftest.$ac_ext
5155 cat >>conftest.$ac_ext <<_ACEOF
5156 /* end confdefs.h. */
5157 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5159 #define shmat innocuous_shmat
5161 /* System header to define __stub macros and hopefully few prototypes,
5162 which can conflict with char shmat (); below.
5163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5164 <limits.h> exists even on freestanding compilers. */
5167 # include <limits.h>
5169 # include <assert.h>
5174 /* Override any GCC internal prototype to avoid an error.
5175 Use char because int might match the return type of a GCC
5176 builtin and then its argument prototype would still apply. */
5181 /* The GNU C library defines this for functions which it implements
5182 to always fail with ENOSYS. Some functions are actually named
5183 something starting with __ and the normal name is an alias. */
5184 #if defined __stub_shmat || defined __stub___shmat
5196 rm -f conftest.$ac_objext conftest$ac_exeext
5197 if { (ac_try="$ac_link"
5199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5200 *) ac_try_echo
=$ac_try;;
5202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5203 (eval "$ac_link") 2>conftest.er1
5205 grep -v '^ *+' conftest.er1
>conftest.err
5207 cat conftest.err
>&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } &&
5210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5211 { (case "(($ac_try" in
5212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5213 *) ac_try_echo=$ac_try;;
5215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5216 (eval "$ac_try") 2>&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; } &&
5220 { ac_try='test -s conftest$ac_exeext'
5221 { (case "(($ac_try" in
5222 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5223 *) ac_try_echo
=$ac_try;;
5225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_try") 2>&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); }; }; then
5230 ac_cv_func_shmat
=yes
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.
$ac_ext >&5
5238 rm -f core conftest.err conftest.
$ac_objext \
5239 conftest
$ac_exeext conftest.
$ac_ext
5241 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5242 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5244 if test $ac_cv_func_shmat = no
; then
5245 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5246 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5247 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 ac_check_lib_save_LIBS
=$LIBS
5252 cat >conftest.
$ac_ext <<_ACEOF
5255 cat confdefs.h
>>conftest.
$ac_ext
5256 cat >>conftest.
$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5259 /* Override any GCC internal prototype to avoid an error.
5260 Use char because int might match the return type of a GCC
5261 builtin and then its argument prototype would still apply. */
5274 rm -f conftest.
$ac_objext conftest
$ac_exeext
5275 if { (ac_try
="$ac_link"
5277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5281 (eval "$ac_link") 2>conftest.er1
5283 grep -v '^ *+' conftest.er1 >conftest.err
5285 cat conftest.err >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); } &&
5288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5289 { (case "(($ac_try" in
5290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5291 *) ac_try_echo
=$ac_try;;
5293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5294 (eval "$ac_try") 2>&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); }; } &&
5298 { ac_try
='test -s conftest$ac_exeext'
5299 { (case "(($ac_try" in
5300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5301 *) ac_try_echo=$ac_try;;
5303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5304 (eval "$ac_try") 2>&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); }; }; then
5308 ac_cv_lib_ipc_shmat=yes
5310 echo "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.$ac_ext >&5
5313 ac_cv_lib_ipc_shmat=no
5316 rm -f core conftest.err conftest.$ac_objext \
5317 conftest$ac_exeext conftest.$ac_ext
5318 LIBS=$ac_check_lib_save_LIBS
5320 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5321 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5322 if test $ac_cv_lib_ipc_shmat = yes; then
5323 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5329 # Check for libraries that X11R6 Xt/Xaw programs need.
5330 ac_save_LDFLAGS=$LDFLAGS
5331 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5332 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5333 # check for ICE first), but we must link in the order -lSM -lICE or
5334 # we get undefined symbols. So assume we have SM if we have ICE.
5335 # These have to be linked with before -lX11, unlike the other
5336 # libraries we check for below, so use a different variable.
5337 # John Interrante, Karl Berry
5338 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5339 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5340 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 ac_check_lib_save_LIBS=$LIBS
5344 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5345 cat >conftest.$ac_ext <<_ACEOF
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5352 /* Override any GCC internal prototype to avoid an error.
5353 Use char because int might match the return type of a GCC
5354 builtin and then its argument prototype would still apply. */
5358 char IceConnectionNumber ();
5362 return IceConnectionNumber ();
5367 rm -f conftest.$ac_objext conftest$ac_exeext
5368 if { (ac_try="$ac_link"
5370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5371 *) ac_try_echo
=$ac_try;;
5373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5374 (eval "$ac_link") 2>conftest.er1
5376 grep -v '^ *+' conftest.er1
>conftest.err
5378 cat conftest.err
>&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } &&
5381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5382 { (case "(($ac_try" in
5383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5384 *) ac_try_echo=$ac_try;;
5386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5387 (eval "$ac_try") 2>&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }; } &&
5391 { ac_try='test -s conftest$ac_exeext'
5392 { (case "(($ac_try" in
5393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5394 *) ac_try_echo
=$ac_try;;
5396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5397 (eval "$ac_try") 2>&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; }; then
5401 ac_cv_lib_ICE_IceConnectionNumber
=yes
5403 echo "$as_me: failed program was:" >&5
5404 sed 's/^/| /' conftest.
$ac_ext >&5
5406 ac_cv_lib_ICE_IceConnectionNumber
=no
5409 rm -f core conftest.err conftest.
$ac_objext \
5410 conftest
$ac_exeext conftest.
$ac_ext
5411 LIBS
=$ac_check_lib_save_LIBS
5413 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5414 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5415 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5416 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5419 LDFLAGS
=$ac_save_LDFLAGS
5423 for ac_prog
in flex
lex
5425 # Extract the first word of "$ac_prog", so it can be a program name with args.
5426 set dummy
$ac_prog; ac_word
=$2
5427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5429 if test "${ac_cv_prog_LEX+set}" = set; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 if test -n "$LEX"; then
5433 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_LEX
="$ac_prog"
5443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 if test -n "$LEX"; then
5454 { echo "$as_me:$LINENO: result: $LEX" >&5
5455 echo "${ECHO_T}$LEX" >&6; }
5457 { echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6; }
5462 test -n "$LEX" && break
5464 test -n "$LEX" || LEX
=":"
5466 if test -z "$LEXLIB"
5468 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5469 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5470 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 ac_check_lib_save_LIBS
=$LIBS
5475 cat >conftest.
$ac_ext <<_ACEOF
5478 cat confdefs.h
>>conftest.
$ac_ext
5479 cat >>conftest.
$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5482 /* Override any GCC internal prototype to avoid an error.
5483 Use char because int might match the return type of a GCC
5484 builtin and then its argument prototype would still apply. */
5497 rm -f conftest.
$ac_objext conftest
$ac_exeext
5498 if { (ac_try
="$ac_link"
5500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5501 *) ac_try_echo=$ac_try;;
5503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5504 (eval "$ac_link") 2>conftest.er1
5506 grep -v '^ *+' conftest.er1 >conftest.err
5508 cat conftest.err >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); } &&
5511 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5512 { (case "(($ac_try" in
5513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5514 *) ac_try_echo
=$ac_try;;
5516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5517 (eval "$ac_try") 2>&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; } &&
5521 { ac_try
='test -s conftest$ac_exeext'
5522 { (case "(($ac_try" in
5523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5524 *) ac_try_echo=$ac_try;;
5526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5527 (eval "$ac_try") 2>&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); }; }; then
5531 ac_cv_lib_fl_yywrap=yes
5533 echo "$as_me: failed program was:" >&5
5534 sed 's/^/| /' conftest.$ac_ext >&5
5536 ac_cv_lib_fl_yywrap=no
5539 rm -f core conftest.err conftest.$ac_objext \
5540 conftest$ac_exeext conftest.$ac_ext
5541 LIBS=$ac_check_lib_save_LIBS
5543 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5544 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5545 if test $ac_cv_lib_fl_yywrap = yes; then
5548 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5549 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5550 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 ac_check_lib_save_LIBS=$LIBS
5555 cat >conftest.$ac_ext <<_ACEOF
5558 cat confdefs.h >>conftest.$ac_ext
5559 cat >>conftest.$ac_ext <<_ACEOF
5560 /* end confdefs.h. */
5562 /* Override any GCC internal prototype to avoid an error.
5563 Use char because int might match the return type of a GCC
5564 builtin and then its argument prototype would still apply. */
5577 rm -f conftest.$ac_objext conftest$ac_exeext
5578 if { (ac_try="$ac_link"
5580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5581 *) ac_try_echo
=$ac_try;;
5583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5584 (eval "$ac_link") 2>conftest.er1
5586 grep -v '^ *+' conftest.er1
>conftest.err
5588 cat conftest.err
>&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } &&
5591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5592 { (case "(($ac_try" in
5593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5594 *) ac_try_echo=$ac_try;;
5596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5597 (eval "$ac_try") 2>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; } &&
5601 { ac_try='test -s conftest$ac_exeext'
5602 { (case "(($ac_try" in
5603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5604 *) ac_try_echo
=$ac_try;;
5606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5607 (eval "$ac_try") 2>&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); }; }; then
5611 ac_cv_lib_l_yywrap
=yes
5613 echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.
$ac_ext >&5
5616 ac_cv_lib_l_yywrap
=no
5619 rm -f core conftest.err conftest.
$ac_objext \
5620 conftest
$ac_exeext conftest.
$ac_ext
5621 LIBS
=$ac_check_lib_save_LIBS
5623 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5624 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5625 if test $ac_cv_lib_l_yywrap = yes; then
5633 if test "x$LEX" != "x:"; then
5634 { echo "$as_me:$LINENO: checking lex output file root" >&5
5635 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5636 if test "${ac_cv_prog_lex_root+set}" = set; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 # The minimal lex program is just a single line: %%. But some broken lexes
5640 # (Solaris, I think it was) want two %% lines, so accommodate them.
5641 cat >conftest.l
<<_ACEOF
5645 { (ac_try
="$LEX conftest.l"
5647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5648 *) ac_try_echo=$ac_try;;
5650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5651 (eval "$LEX conftest.l") 2>&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }
5655 if test -f lex.yy.c; then
5656 ac_cv_prog_lex_root=lex.yy
5657 elif test -f lexyy.c; then
5658 ac_cv_prog_lex_root=lexyy
5660 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5661 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5662 { (exit 1); exit 1; }; }
5665 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5666 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5668 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5670 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5671 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5672 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5675 # POSIX says lex can declare yytext either as a pointer or an array; the
5676 # default is implementation-dependent. Figure out which it is, since
5677 # not all implementations provide the %pointer and %array declarations.
5678 ac_cv_prog_lex_yytext_pointer=no
5679 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5681 LIBS="$LIBS $LEXLIB"
5682 cat >conftest.$ac_ext <<_ACEOF
5683 `cat $LEX_OUTPUT_ROOT.c
`
5685 rm -f conftest.$ac_objext conftest$ac_exeext
5686 if { (ac_try="$ac_link"
5688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5689 *) ac_try_echo
=$ac_try;;
5691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5692 (eval "$ac_link") 2>conftest.er1
5694 grep -v '^ *+' conftest.er1
>conftest.err
5696 cat conftest.err
>&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } &&
5699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5700 { (case "(($ac_try" in
5701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5702 *) ac_try_echo=$ac_try;;
5704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705 (eval "$ac_try") 2>&5
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; } &&
5709 { ac_try='test -s conftest$ac_exeext'
5710 { (case "(($ac_try" in
5711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5712 *) ac_try_echo
=$ac_try;;
5714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5715 (eval "$ac_try") 2>&5
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); }; }; then
5719 ac_cv_prog_lex_yytext_pointer
=yes
5721 echo "$as_me: failed program was:" >&5
5722 sed 's/^/| /' conftest.
$ac_ext >&5
5727 rm -f core conftest.err conftest.
$ac_objext \
5728 conftest
$ac_exeext conftest.
$ac_ext
5730 rm -f "${LEX_OUTPUT_ROOT}.c"
5733 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5734 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5735 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5737 cat >>confdefs.h
<<\_ACEOF
5738 #define YYTEXT_POINTER 1
5745 for ac_prog
in $LEX flex
lex
5747 # Extract the first word of "$ac_prog", so it can be a program name with args.
5748 set dummy
$ac_prog; ac_word
=$2
5749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5751 if test "${ac_cv_prog_XLEX+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5754 if test -n "$XLEX"; then
5755 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
5757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5761 test -z "$as_dir" && as_dir
=.
5762 for ac_exec_ext
in '' $ac_executable_extensions; do
5763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5764 ac_cv_prog_XLEX
="$ac_prog"
5765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5774 XLEX
=$ac_cv_prog_XLEX
5775 if test -n "$XLEX"; then
5776 { echo "$as_me:$LINENO: result: $XLEX" >&5
5777 echo "${ECHO_T}$XLEX" >&6; }
5779 { echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6; }
5784 test -n "$XLEX" && break
5786 test -n "$XLEX" || XLEX
="none"
5788 if test "$XLEX" = "none"
5790 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5791 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5792 { (exit 1); exit 1; }; }
5795 for ac_prog
in bison
5797 # Extract the first word of "$ac_prog", so it can be a program name with args.
5798 set dummy
$ac_prog; ac_word
=$2
5799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5801 if test "${ac_cv_prog_BISON+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 if test -n "$BISON"; then
5805 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5811 test -z "$as_dir" && as_dir
=.
5812 for ac_exec_ext
in '' $ac_executable_extensions; do
5813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5814 ac_cv_prog_BISON
="$ac_prog"
5815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 BISON
=$ac_cv_prog_BISON
5825 if test -n "$BISON"; then
5826 { echo "$as_me:$LINENO: result: $BISON" >&5
5827 echo "${ECHO_T}$BISON" >&6; }
5829 { echo "$as_me:$LINENO: result: no" >&5
5830 echo "${ECHO_T}no" >&6; }
5834 test -n "$BISON" && break
5836 test -n "$BISON" || BISON
="none"
5838 if test "$BISON" = "none"
5840 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5841 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5842 { (exit 1); exit 1; }; }
5845 if test -n "$ac_tool_prefix"; then
5846 for ac_prog
in gas as
5848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5849 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5852 if test "${ac_cv_prog_AS+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5855 if test -n "$AS"; then
5856 ac_cv_prog_AS
="$AS" # Let the user override the test.
5858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir
=.
5863 for ac_exec_ext
in '' $ac_executable_extensions; do
5864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5865 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 if test -n "$AS"; then
5877 { echo "$as_me:$LINENO: result: $AS" >&5
5878 echo "${ECHO_T}$AS" >&6; }
5880 { echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6; }
5885 test -n "$AS" && break
5888 if test -z "$AS"; then
5890 for ac_prog
in gas as
5892 # Extract the first word of "$ac_prog", so it can be a program name with args.
5893 set dummy
$ac_prog; ac_word
=$2
5894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5896 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5897 echo $ECHO_N "(cached) $ECHO_C" >&6
5899 if test -n "$ac_ct_AS"; then
5900 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir
=.
5907 for ac_exec_ext
in '' $ac_executable_extensions; do
5908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5909 ac_cv_prog_ac_ct_AS
="$ac_prog"
5910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5920 if test -n "$ac_ct_AS"; then
5921 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5922 echo "${ECHO_T}$ac_ct_AS" >&6; }
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5929 test -n "$ac_ct_AS" && break
5932 if test "x$ac_ct_AS" = x
; then
5935 case $cross_compiling:$ac_tool_warned in
5937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5938 whose name does not start with the host triplet. If you think this
5939 configuration is useful to you, please write to autoconf@gnu.org." >&5
5940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5941 whose name does not start with the host triplet. If you think this
5942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5943 ac_tool_warned
=yes ;;
5949 if test -n "$ac_tool_prefix"; then
5950 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5951 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5954 if test "${ac_cv_prog_LD+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 if test -n "$LD"; then
5958 ac_cv_prog_LD
="$LD" # Let the user override the test.
5960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5964 test -z "$as_dir" && as_dir
=.
5965 for ac_exec_ext
in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5967 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 if test -n "$LD"; then
5979 { echo "$as_me:$LINENO: result: $LD" >&5
5980 echo "${ECHO_T}$LD" >&6; }
5982 { echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6; }
5988 if test -z "$ac_cv_prog_LD"; then
5990 # Extract the first word of "ld", so it can be a program name with args.
5991 set dummy ld
; ac_word
=$2
5992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5994 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 if test -n "$ac_ct_LD"; then
5998 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6004 test -z "$as_dir" && as_dir
=.
6005 for ac_exec_ext
in '' $ac_executable_extensions; do
6006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6007 ac_cv_prog_ac_ct_LD
="ld"
6008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6018 if test -n "$ac_ct_LD"; then
6019 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6020 echo "${ECHO_T}$ac_ct_LD" >&6; }
6022 { echo "$as_me:$LINENO: result: no" >&5
6023 echo "${ECHO_T}no" >&6; }
6026 if test "x$ac_ct_LD" = x
; then
6029 case $cross_compiling:$ac_tool_warned in
6031 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6032 whose name does not start with the host triplet. If you think this
6033 configuration is useful to you, please write to autoconf@gnu.org." >&5
6034 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6035 whose name does not start with the host triplet. If you think this
6036 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6037 ac_tool_warned
=yes ;;
6045 if test -n "$ac_tool_prefix"; then
6046 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6047 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6050 if test "${ac_cv_prog_AR+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 if test -n "$AR"; then
6054 ac_cv_prog_AR
="$AR" # Let the user override the test.
6056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6060 test -z "$as_dir" && as_dir
=.
6061 for ac_exec_ext
in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 if test -n "$AR"; then
6075 { echo "$as_me:$LINENO: result: $AR" >&5
6076 echo "${ECHO_T}$AR" >&6; }
6078 { echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6; }
6084 if test -z "$ac_cv_prog_AR"; then
6086 # Extract the first word of "ar", so it can be a program name with args.
6087 set dummy
ar; ac_word
=$2
6088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6090 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 if test -n "$ac_ct_AR"; then
6094 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6100 test -z "$as_dir" && as_dir
=.
6101 for ac_exec_ext
in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_ac_ct_AR
="ar"
6104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6114 if test -n "$ac_ct_AR"; then
6115 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6116 echo "${ECHO_T}$ac_ct_AR" >&6; }
6118 { echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6; }
6122 if test "x$ac_ct_AR" = x
; then
6125 case $cross_compiling:$ac_tool_warned in
6127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6128 whose name does not start with the host triplet. If you think this
6129 configuration is useful to you, please write to autoconf@gnu.org." >&5
6130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6131 whose name does not start with the host triplet. If you think this
6132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6133 ac_tool_warned
=yes ;;
6141 if test -n "$ac_tool_prefix"; then
6142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6143 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6146 if test "${ac_cv_prog_RANLIB+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 if test -n "$RANLIB"; then
6150 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir
=.
6157 for ac_exec_ext
in '' $ac_executable_extensions; do
6158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6159 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 RANLIB
=$ac_cv_prog_RANLIB
6170 if test -n "$RANLIB"; then
6171 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6172 echo "${ECHO_T}$RANLIB" >&6; }
6174 { echo "$as_me:$LINENO: result: no" >&5
6175 echo "${ECHO_T}no" >&6; }
6180 if test -z "$ac_cv_prog_RANLIB"; then
6181 ac_ct_RANLIB
=$RANLIB
6182 # Extract the first word of "ranlib", so it can be a program name with args.
6183 set dummy ranlib
; ac_word
=$2
6184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6186 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6187 echo $ECHO_N "(cached) $ECHO_C" >&6
6189 if test -n "$ac_ct_RANLIB"; then
6190 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6196 test -z "$as_dir" && as_dir
=.
6197 for ac_exec_ext
in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6209 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6210 if test -n "$ac_ct_RANLIB"; then
6211 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6212 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6214 { echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6; }
6218 if test "x$ac_ct_RANLIB" = x
; then
6221 case $cross_compiling:$ac_tool_warned in
6223 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6224 whose name does not start with the host triplet. If you think this
6225 configuration is useful to you, please write to autoconf@gnu.org." >&5
6226 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6227 whose name does not start with the host triplet. If you think this
6228 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6229 ac_tool_warned
=yes ;;
6231 RANLIB
=$ac_ct_RANLIB
6234 RANLIB
="$ac_cv_prog_RANLIB"
6237 if test -n "$ac_tool_prefix"; then
6238 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6239 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6242 if test "${ac_cv_prog_STRIP+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 if test -n "$STRIP"; then
6246 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6252 test -z "$as_dir" && as_dir
=.
6253 for ac_exec_ext
in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 STRIP
=$ac_cv_prog_STRIP
6266 if test -n "$STRIP"; then
6267 { echo "$as_me:$LINENO: result: $STRIP" >&5
6268 echo "${ECHO_T}$STRIP" >&6; }
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6276 if test -z "$ac_cv_prog_STRIP"; then
6278 # Extract the first word of "strip", so it can be a program name with args.
6279 set dummy strip
; ac_word
=$2
6280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6282 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 if test -n "$ac_ct_STRIP"; then
6286 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir
=.
6293 for ac_exec_ext
in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_ac_ct_STRIP
="strip"
6296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6306 if test -n "$ac_ct_STRIP"; then
6307 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6308 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6310 { echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6; }
6314 if test "x$ac_ct_STRIP" = x
; then
6317 case $cross_compiling:$ac_tool_warned in
6319 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6320 whose name does not start with the host triplet. If you think this
6321 configuration is useful to you, please write to autoconf@gnu.org." >&5
6322 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6323 whose name does not start with the host triplet. If you think this
6324 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6325 ac_tool_warned
=yes ;;
6330 STRIP
="$ac_cv_prog_STRIP"
6333 if test -n "$ac_tool_prefix"; then
6334 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6335 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
6336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6338 if test "${ac_cv_prog_WINDRES+set}" = set; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 if test -n "$WINDRES"; then
6342 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
6344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6348 test -z "$as_dir" && as_dir
=.
6349 for ac_exec_ext
in '' $ac_executable_extensions; do
6350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6351 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
6352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6361 WINDRES
=$ac_cv_prog_WINDRES
6362 if test -n "$WINDRES"; then
6363 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6364 echo "${ECHO_T}$WINDRES" >&6; }
6366 { echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6; }
6372 if test -z "$ac_cv_prog_WINDRES"; then
6373 ac_ct_WINDRES
=$WINDRES
6374 # Extract the first word of "windres", so it can be a program name with args.
6375 set dummy windres
; ac_word
=$2
6376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6378 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 if test -n "$ac_ct_WINDRES"; then
6382 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6388 test -z "$as_dir" && as_dir
=.
6389 for ac_exec_ext
in '' $ac_executable_extensions; do
6390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6391 ac_cv_prog_ac_ct_WINDRES
="windres"
6392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6401 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6402 if test -n "$ac_ct_WINDRES"; then
6403 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6404 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6406 { echo "$as_me:$LINENO: result: no" >&5
6407 echo "${ECHO_T}no" >&6; }
6410 if test "x$ac_ct_WINDRES" = x
; then
6413 case $cross_compiling:$ac_tool_warned in
6415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6416 whose name does not start with the host triplet. If you think this
6417 configuration is useful to you, please write to autoconf@gnu.org." >&5
6418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6419 whose name does not start with the host triplet. If you think this
6420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6421 ac_tool_warned
=yes ;;
6423 WINDRES
=$ac_ct_WINDRES
6426 WINDRES
="$ac_cv_prog_WINDRES"
6429 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6430 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6432 if test "$LN_S" = "ln -s"; then
6433 { echo "$as_me:$LINENO: result: yes" >&5
6434 echo "${ECHO_T}yes" >&6; }
6436 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6437 echo "${ECHO_T}no, using $LN_S" >&6; }
6440 { echo "$as_me:$LINENO: checking whether ln works" >&5
6441 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6442 rm -f conf$$ conf$$.
file
6444 if ln conf$$.
file conf$$
2>/dev
/null
; then
6447 { echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6; }
6452 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6453 echo "${ECHO_T}no, using $LN" >&6; }
6455 rm -f conf$$ conf$$.
file
6456 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6457 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6458 if test "${ac_cv_path_GREP+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 # Extract the first word of "grep ggrep" to use in msg output
6462 if test -z "$GREP"; then
6463 set dummy
grep ggrep
; ac_prog_name
=$2
6464 if test "${ac_cv_path_GREP+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 ac_path_GREP_found
=false
6468 # Loop through the user's path and test for each of PROGNAME-LIST
6469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6470 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6473 test -z "$as_dir" && as_dir
=.
6474 for ac_prog
in grep ggrep
; do
6475 for ac_exec_ext
in '' $ac_executable_extensions; do
6476 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6477 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
6478 # Check for GNU ac_path_GREP and select it if it is found.
6479 # Check for GNU $ac_path_GREP
6480 case `"$ac_path_GREP" --version 2>&1` in
6482 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6485 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6488 cat "conftest.in" "conftest.in" >"conftest.tmp"
6489 mv "conftest.tmp" "conftest.in"
6490 cp "conftest.in" "conftest.nl"
6491 echo 'GREP' >> "conftest.nl"
6492 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6493 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6494 ac_count
=`expr $ac_count + 1`
6495 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6496 # Best one so far, save it but keep looking for a better one
6497 ac_cv_path_GREP
="$ac_path_GREP"
6498 ac_path_GREP_max
=$ac_count
6500 # 10*(2^10) chars as input seems more than enough
6501 test $ac_count -gt 10 && break
6503 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6507 $ac_path_GREP_found && break 3
6517 GREP
="$ac_cv_path_GREP"
6518 if test -z "$GREP"; then
6519 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6520 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6521 { (exit 1); exit 1; }; }
6525 ac_cv_path_GREP
=$GREP
6530 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6531 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6532 GREP
="$ac_cv_path_GREP"
6535 { echo "$as_me:$LINENO: checking for egrep" >&5
6536 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6537 if test "${ac_cv_path_EGREP+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6541 then ac_cv_path_EGREP
="$GREP -E"
6543 # Extract the first word of "egrep" to use in msg output
6544 if test -z "$EGREP"; then
6545 set dummy
egrep; ac_prog_name
=$2
6546 if test "${ac_cv_path_EGREP+set}" = set; then
6547 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 ac_path_EGREP_found
=false
6550 # Loop through the user's path and test for each of PROGNAME-LIST
6551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6552 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6555 test -z "$as_dir" && as_dir
=.
6556 for ac_prog
in egrep; do
6557 for ac_exec_ext
in '' $ac_executable_extensions; do
6558 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6559 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
6560 # Check for GNU ac_path_EGREP and select it if it is found.
6561 # Check for GNU $ac_path_EGREP
6562 case `"$ac_path_EGREP" --version 2>&1` in
6564 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6567 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6570 cat "conftest.in" "conftest.in" >"conftest.tmp"
6571 mv "conftest.tmp" "conftest.in"
6572 cp "conftest.in" "conftest.nl"
6573 echo 'EGREP' >> "conftest.nl"
6574 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6575 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6576 ac_count
=`expr $ac_count + 1`
6577 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6578 # Best one so far, save it but keep looking for a better one
6579 ac_cv_path_EGREP
="$ac_path_EGREP"
6580 ac_path_EGREP_max
=$ac_count
6582 # 10*(2^10) chars as input seems more than enough
6583 test $ac_count -gt 10 && break
6585 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6589 $ac_path_EGREP_found && break 3
6599 EGREP
="$ac_cv_path_EGREP"
6600 if test -z "$EGREP"; then
6601 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6602 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6603 { (exit 1); exit 1; }; }
6607 ac_cv_path_EGREP
=$EGREP
6613 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6614 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6615 EGREP
="$ac_cv_path_EGREP"
6618 # Extract the first word of "ldconfig", so it can be a program name with args.
6619 set dummy ldconfig
; ac_word
=$2
6620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6622 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6623 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6631 for as_dir
in /sbin
/usr
/sbin
$PATH
6634 test -z "$as_dir" && as_dir
=.
6635 for ac_exec_ext
in '' $ac_executable_extensions; do
6636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6637 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6649 LDCONFIG
=$ac_cv_path_LDCONFIG
6650 if test -n "$LDCONFIG"; then
6651 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6652 echo "${ECHO_T}$LDCONFIG" >&6; }
6654 { echo "$as_me:$LINENO: result: no" >&5
6655 echo "${ECHO_T}no" >&6; }
6659 # Find a good install program. We prefer a C program (faster),
6660 # so one script is as good as another. But avoid the broken or
6661 # incompatible versions:
6662 # SysV /etc/install, /usr/sbin/install
6663 # SunOS /usr/etc/install
6664 # IRIX /sbin/install
6666 # AmigaOS /C/install, which installs bootblocks on floppy discs
6667 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6668 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6669 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6670 # OS/2's system install, which has a completely different semantic
6671 # ./install, which can be erroneously created by make from ./install.sh.
6672 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6673 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6674 if test -z "$INSTALL"; then
6675 if test "${ac_cv_path_install+set}" = set; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir
=.
6683 # Account for people who put trailing slashes in PATH elements.
6685 .
/ | .
// |
/cC
/* | \
6686 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6687 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6690 # OSF1 and SCO ODT 3.0 have their own names for install.
6691 # Don't use installbsd from OSF since it installs stuff as root
6693 for ac_prog
in ginstall scoinst
install; do
6694 for ac_exec_ext
in '' $ac_executable_extensions; do
6695 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6696 if test $ac_prog = install &&
6697 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6698 # AIX install. It has an incompatible calling convention.
6700 elif test $ac_prog = install &&
6701 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6702 # program-specific install script used by HP pwplus--don't use.
6705 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6718 if test "${ac_cv_path_install+set}" = set; then
6719 INSTALL
=$ac_cv_path_install
6721 # As a last resort, use the slow shell script. Don't cache a
6722 # value for INSTALL within a source directory, because that will
6723 # break other packages using the cache if that directory is
6724 # removed, or if the value is a relative name.
6725 INSTALL
=$ac_install_sh
6728 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6729 echo "${ECHO_T}$INSTALL" >&6; }
6731 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6732 # It thinks the first close brace ends the variable substitution.
6733 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6735 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6737 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6740 [\\/$
]* | ?
:[\\/]* ) ;;
6741 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6744 for ac_prog
in lclint lint
6746 # Extract the first word of "$ac_prog", so it can be a program name with args.
6747 set dummy
$ac_prog; ac_word
=$2
6748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6750 if test "${ac_cv_prog_LINT+set}" = set; then
6751 echo $ECHO_N "(cached) $ECHO_C" >&6
6753 if test -n "$LINT"; then
6754 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6760 test -z "$as_dir" && as_dir
=.
6761 for ac_exec_ext
in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_LINT
="$ac_prog"
6764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 LINT
=$ac_cv_prog_LINT
6774 if test -n "$LINT"; then
6775 { echo "$as_me:$LINENO: result: $LINT" >&5
6776 echo "${ECHO_T}$LINT" >&6; }
6778 { echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6; }
6783 test -n "$LINT" && break
6786 if test "$LINT" = "lint"
6788 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6793 for ac_prog
in fontforge
6795 # Extract the first word of "$ac_prog", so it can be a program name with args.
6796 set dummy
$ac_prog; ac_word
=$2
6797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6799 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 if test -n "$FONTFORGE"; then
6803 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir
=.
6810 for ac_exec_ext
in '' $ac_executable_extensions; do
6811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6812 ac_cv_prog_FONTFORGE
="$ac_prog"
6813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6822 FONTFORGE
=$ac_cv_prog_FONTFORGE
6823 if test -n "$FONTFORGE"; then
6824 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6825 echo "${ECHO_T}$FONTFORGE" >&6; }
6827 { echo "$as_me:$LINENO: result: no" >&5
6828 echo "${ECHO_T}no" >&6; }
6832 test -n "$FONTFORGE" && break
6834 test -n "$FONTFORGE" || FONTFORGE
="false"
6836 for ac_prog
in pkg-config
6838 # Extract the first word of "$ac_prog", so it can be a program name with args.
6839 set dummy
$ac_prog; ac_word
=$2
6840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6842 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6845 if test -n "$PKG_CONFIG"; then
6846 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6852 test -z "$as_dir" && as_dir
=.
6853 for ac_exec_ext
in '' $ac_executable_extensions; do
6854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6855 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6865 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6866 if test -n "$PKG_CONFIG"; then
6867 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6868 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6870 { echo "$as_me:$LINENO: result: no" >&5
6871 echo "${ECHO_T}no" >&6; }
6875 test -n "$PKG_CONFIG" && break
6877 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6882 # Extract the first word of "prelink", so it can be a program name with args.
6883 set dummy prelink
; ac_word
=$2
6884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6886 if test "${ac_cv_path_PRELINK+set}" = set; then
6887 echo $ECHO_N "(cached) $ECHO_C" >&6
6891 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6895 for as_dir
in /sbin
/usr
/sbin
$PATH
6898 test -z "$as_dir" && as_dir
=.
6899 for ac_exec_ext
in '' $ac_executable_extensions; do
6900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6901 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6909 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6913 PRELINK
=$ac_cv_path_PRELINK
6914 if test -n "$PRELINK"; then
6915 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6916 echo "${ECHO_T}$PRELINK" >&6; }
6918 { echo "$as_me:$LINENO: result: no" >&5
6919 echo "${ECHO_T}no" >&6; }
6928 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6929 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6930 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6931 echo $ECHO_N "(cached) $ECHO_C" >&6
6933 ac_check_lib_save_LIBS
=$LIBS
6935 cat >conftest.
$ac_ext <<_ACEOF
6938 cat confdefs.h
>>conftest.
$ac_ext
6939 cat >>conftest.
$ac_ext <<_ACEOF
6940 /* end confdefs.h. */
6942 /* Override any GCC internal prototype to avoid an error.
6943 Use char because int might match the return type of a GCC
6944 builtin and then its argument prototype would still apply. */
6948 char i386_set_ldt ();
6952 return i386_set_ldt ();
6957 rm -f conftest.
$ac_objext conftest
$ac_exeext
6958 if { (ac_try
="$ac_link"
6960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6961 *) ac_try_echo=$ac_try;;
6963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6964 (eval "$ac_link") 2>conftest.er1
6966 grep -v '^ *+' conftest.er1 >conftest.err
6968 cat conftest.err >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } &&
6971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6972 { (case "(($ac_try" in
6973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6974 *) ac_try_echo
=$ac_try;;
6976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6977 (eval "$ac_try") 2>&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; } &&
6981 { ac_try
='test -s conftest$ac_exeext'
6982 { (case "(($ac_try" in
6983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6984 *) ac_try_echo=$ac_try;;
6986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6987 (eval "$ac_try") 2>&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; }; then
6991 ac_cv_lib_i386_i386_set_ldt=yes
6993 echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.$ac_ext >&5
6996 ac_cv_lib_i386_i386_set_ldt=no
6999 rm -f core conftest.err conftest.$ac_objext \
7000 conftest$ac_exeext conftest.$ac_ext
7001 LIBS=$ac_check_lib_save_LIBS
7003 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7004 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7005 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7006 cat >>confdefs.h <<_ACEOF
7007 #define HAVE_LIBI386 1
7015 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7016 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7017 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7018 echo $ECHO_N "(cached) $ECHO_C" >&6
7020 ac_check_lib_save_LIBS=$LIBS
7021 LIBS="-lossaudio $LIBS"
7022 cat >conftest.$ac_ext <<_ACEOF
7025 cat confdefs.h >>conftest.$ac_ext
7026 cat >>conftest.$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7029 /* Override any GCC internal prototype to avoid an error.
7030 Use char because int might match the return type of a GCC
7031 builtin and then its argument prototype would still apply. */
7039 return _oss_ioctl ();
7044 rm -f conftest.$ac_objext conftest$ac_exeext
7045 if { (ac_try="$ac_link"
7047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7048 *) ac_try_echo
=$ac_try;;
7050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7051 (eval "$ac_link") 2>conftest.er1
7053 grep -v '^ *+' conftest.er1
>conftest.err
7055 cat conftest.err
>&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); } &&
7058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7059 { (case "(($ac_try" in
7060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7061 *) ac_try_echo=$ac_try;;
7063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7064 (eval "$ac_try") 2>&5
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); }; } &&
7068 { ac_try='test -s conftest$ac_exeext'
7069 { (case "(($ac_try" in
7070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7071 *) ac_try_echo
=$ac_try;;
7073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7074 (eval "$ac_try") 2>&5
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 (exit $ac_status); }; }; then
7078 ac_cv_lib_ossaudio__oss_ioctl
=yes
7080 echo "$as_me: failed program was:" >&5
7081 sed 's/^/| /' conftest.
$ac_ext >&5
7083 ac_cv_lib_ossaudio__oss_ioctl
=no
7086 rm -f core conftest.err conftest.
$ac_objext \
7087 conftest
$ac_exeext conftest.
$ac_ext
7088 LIBS
=$ac_check_lib_save_LIBS
7090 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7091 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7092 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7093 cat >>confdefs.h
<<_ACEOF
7094 #define HAVE_LIBOSSAUDIO 1
7097 LIBS
="-lossaudio $LIBS"
7102 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7103 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7104 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 ac_check_lib_save_LIBS
=$LIBS
7109 cat >conftest.
$ac_ext <<_ACEOF
7112 cat confdefs.h
>>conftest.
$ac_ext
7113 cat >>conftest.
$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7116 /* Override any GCC internal prototype to avoid an error.
7117 Use char because int might match the return type of a GCC
7118 builtin and then its argument prototype would still apply. */
7122 char _xpg4_setrunelocale ();
7126 return _xpg4_setrunelocale ();
7131 rm -f conftest.
$ac_objext conftest
$ac_exeext
7132 if { (ac_try
="$ac_link"
7134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7135 *) ac_try_echo=$ac_try;;
7137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7138 (eval "$ac_link") 2>conftest.er1
7140 grep -v '^ *+' conftest.er1 >conftest.err
7142 cat conftest.err >&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); } &&
7145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7146 { (case "(($ac_try" in
7147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7148 *) ac_try_echo
=$ac_try;;
7150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7151 (eval "$ac_try") 2>&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try
='test -s conftest$ac_exeext'
7156 { (case "(($ac_try" in
7157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7158 *) ac_try_echo=$ac_try;;
7160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7161 (eval "$ac_try") 2>&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; }; then
7165 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7167 echo "$as_me: failed program was:" >&5
7168 sed 's/^/| /' conftest.$ac_ext >&5
7170 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7173 rm -f core conftest.err conftest.$ac_objext \
7174 conftest$ac_exeext conftest.$ac_ext
7175 LIBS=$ac_check_lib_save_LIBS
7177 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7178 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7179 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7180 cat >>confdefs.h <<_ACEOF
7181 #define HAVE_LIBXPG4 1
7188 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7189 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7190 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7193 ac_check_lib_save_LIBS=$LIBS
7194 LIBS="-lpthread $LIBS"
7195 cat >conftest.$ac_ext <<_ACEOF
7198 cat confdefs.h >>conftest.$ac_ext
7199 cat >>conftest.$ac_ext <<_ACEOF
7200 /* end confdefs.h. */
7202 /* Override any GCC internal prototype to avoid an error.
7203 Use char because int might match the return type of a GCC
7204 builtin and then its argument prototype would still apply. */
7208 char pthread_create ();
7212 return pthread_create ();
7217 rm -f conftest.$ac_objext conftest$ac_exeext
7218 if { (ac_try="$ac_link"
7220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7221 *) ac_try_echo
=$ac_try;;
7223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7224 (eval "$ac_link") 2>conftest.er1
7226 grep -v '^ *+' conftest.er1
>conftest.err
7228 cat conftest.err
>&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); } &&
7231 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7232 { (case "(($ac_try" in
7233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7234 *) ac_try_echo=$ac_try;;
7236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7237 (eval "$ac_try") 2>&5
7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240 (exit $ac_status); }; } &&
7241 { ac_try='test -s conftest$ac_exeext'
7242 { (case "(($ac_try" in
7243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7244 *) ac_try_echo
=$ac_try;;
7246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7247 (eval "$ac_try") 2>&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); }; }; then
7251 ac_cv_lib_pthread_pthread_create
=yes
7253 echo "$as_me: failed program was:" >&5
7254 sed 's/^/| /' conftest.
$ac_ext >&5
7256 ac_cv_lib_pthread_pthread_create
=no
7259 rm -f core conftest.err conftest.
$ac_objext \
7260 conftest
$ac_exeext conftest.
$ac_ext
7261 LIBS
=$ac_check_lib_save_LIBS
7263 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7264 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7265 if test $ac_cv_lib_pthread_pthread_create = yes; then
7266 LIBPTHREAD
="-lpthread"
7283 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7284 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7285 if test "${ac_cv_header_stdc+set}" = set; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7288 cat >conftest.
$ac_ext <<_ACEOF
7291 cat confdefs.h
>>conftest.
$ac_ext
7292 cat >>conftest.
$ac_ext <<_ACEOF
7293 /* end confdefs.h. */
7307 rm -f conftest.
$ac_objext
7308 if { (ac_try
="$ac_compile"
7310 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7311 *) ac_try_echo=$ac_try;;
7313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7314 (eval "$ac_compile") 2>conftest.er1
7316 grep -v '^ *+' conftest.er1 >conftest.err
7318 cat conftest.err >&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } &&
7321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7322 { (case "(($ac_try" in
7323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7324 *) ac_try_echo
=$ac_try;;
7326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7327 (eval "$ac_try") 2>&5
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); }; } &&
7331 { ac_try
='test -s conftest.$ac_objext'
7332 { (case "(($ac_try" in
7333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7334 *) ac_try_echo=$ac_try;;
7336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7337 (eval "$ac_try") 2>&5
7339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); }; }; then
7341 ac_cv_header_stdc=yes
7343 echo "$as_me: failed program was:" >&5
7344 sed 's/^/| /' conftest.$ac_ext >&5
7346 ac_cv_header_stdc=no
7349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7351 if test $ac_cv_header_stdc = yes; then
7352 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7353 cat >conftest.$ac_ext <<_ACEOF
7356 cat confdefs.h >>conftest.$ac_ext
7357 cat >>conftest.$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7363 $EGREP "memchr" >/dev/null 2>&1; then
7366 ac_cv_header_stdc=no
7372 if test $ac_cv_header_stdc = yes; then
7373 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7374 cat >conftest.$ac_ext <<_ACEOF
7377 cat confdefs.h >>conftest.$ac_ext
7378 cat >>conftest.$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7384 $EGREP "free" >/dev/null 2>&1; then
7387 ac_cv_header_stdc=no
7393 if test $ac_cv_header_stdc = yes; then
7394 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7395 if test "$cross_compiling" = yes; then
7398 cat >conftest.$ac_ext <<_ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h. */
7406 #if ((' ' & 0x0FF) == 0x020)
7407 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7408 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7410 # define ISLOWER(c) \
7411 (('a' <= (c) && (c) <= 'i') \
7412 || ('j' <= (c) && (c) <= 'r') \
7413 || ('s' <= (c) && (c) <= 'z'))
7414 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7417 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7422 for (i = 0; i < 256; i++)
7423 if (XOR (islower (i), ISLOWER (i))
7424 || toupper (i) != TOUPPER (i))
7429 rm -f conftest$ac_exeext
7430 if { (ac_try="$ac_link"
7432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7433 *) ac_try_echo
=$ac_try;;
7435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7436 (eval "$ac_link") 2>&5
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7440 { (case "(($ac_try" in
7441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7442 *) ac_try_echo=$ac_try;;
7444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7445 (eval "$ac_try") 2>&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; }; then
7451 echo "$as_me: program exited with status $ac_status" >&5
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7456 ac_cv_header_stdc=no
7458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7464 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7465 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7466 if test $ac_cv_header_stdc = yes; then
7468 cat >>confdefs.h <<\_ACEOF
7469 #define STDC_HEADERS 1
7474 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7484 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7485 inttypes.h stdint.h unistd.h
7487 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 cat >conftest.$ac_ext <<_ACEOF
7496 cat confdefs.h >>conftest.$ac_ext
7497 cat >>conftest.$ac_ext <<_ACEOF
7498 /* end confdefs.h. */
7499 $ac_includes_default
7501 #include <$ac_header>
7503 rm -f conftest.$ac_objext
7504 if { (ac_try="$ac_compile"
7506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7507 *) ac_try_echo
=$ac_try;;
7509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7510 (eval "$ac_compile") 2>conftest.er1
7512 grep -v '^ *+' conftest.er1
>conftest.err
7514 cat conftest.err
>&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); } &&
7517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7518 { (case "(($ac_try" in
7519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7520 *) ac_try_echo=$ac_try;;
7522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7523 (eval "$ac_try") 2>&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; } &&
7527 { ac_try='test -s conftest.$ac_objext'
7528 { (case "(($ac_try" in
7529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7530 *) ac_try_echo
=$ac_try;;
7532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7533 (eval "$ac_try") 2>&5
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 (exit $ac_status); }; }; then
7537 eval "$as_ac_Header=yes"
7539 echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.
$ac_ext >&5
7542 eval "$as_ac_Header=no"
7545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7547 ac_res
=`eval echo '${'$as_ac_Header'}'`
7548 { echo "$as_me:$LINENO: result: $ac_res" >&5
7549 echo "${ECHO_T}$ac_res" >&6; }
7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7551 cat >>confdefs.h
<<_ACEOF
7552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7667 AudioUnit
/AudioUnit.h \
7668 CoreAudio
/CoreAudio.h \
7681 fontconfig
/fontconfig.h \
7706 machine
/soundcard.h \
7711 netinet
/in_systm.h \
7775 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7776 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7777 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7779 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 ac_res
=`eval echo '${'$as_ac_Header'}'`
7783 { echo "$as_me:$LINENO: result: $ac_res" >&5
7784 echo "${ECHO_T}$ac_res" >&6; }
7786 # Is the header compilable?
7787 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7789 cat >conftest.
$ac_ext <<_ACEOF
7792 cat confdefs.h
>>conftest.
$ac_ext
7793 cat >>conftest.
$ac_ext <<_ACEOF
7794 /* end confdefs.h. */
7795 $ac_includes_default
7796 #include <$ac_header>
7798 rm -f conftest.
$ac_objext
7799 if { (ac_try
="$ac_compile"
7801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7802 *) ac_try_echo=$ac_try;;
7804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7805 (eval "$ac_compile") 2>conftest.er1
7807 grep -v '^ *+' conftest.er1 >conftest.err
7809 cat conftest.err >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } &&
7812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7813 { (case "(($ac_try" in
7814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7815 *) ac_try_echo
=$ac_try;;
7817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7818 (eval "$ac_try") 2>&5
7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821 (exit $ac_status); }; } &&
7822 { ac_try
='test -s conftest.$ac_objext'
7823 { (case "(($ac_try" in
7824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7825 *) ac_try_echo=$ac_try;;
7827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7828 (eval "$ac_try") 2>&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); }; }; then
7832 ac_header_compiler=yes
7834 echo "$as_me: failed program was:" >&5
7835 sed 's/^/| /' conftest.$ac_ext >&5
7837 ac_header_compiler=no
7840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7841 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7842 echo "${ECHO_T}$ac_header_compiler" >&6; }
7844 # Is the header present?
7845 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7847 cat >conftest.$ac_ext <<_ACEOF
7850 cat confdefs.h >>conftest.$ac_ext
7851 cat >>conftest.$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7853 #include <$ac_header>
7855 if { (ac_try="$ac_cpp conftest.$ac_ext"
7857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7858 *) ac_try_echo
=$ac_try;;
7860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7863 grep -v '^ *+' conftest.er1
>conftest.err
7865 cat conftest.err
>&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); } >/dev
/null
; then
7868 if test -s conftest.err
; then
7869 ac_cpp_err
=$ac_c_preproc_warn_flag
7870 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7877 if test -z "$ac_cpp_err"; then
7878 ac_header_preproc
=yes
7880 echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.
$ac_ext >&5
7883 ac_header_preproc
=no
7886 rm -f conftest.err conftest.
$ac_ext
7887 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7888 echo "${ECHO_T}$ac_header_preproc" >&6; }
7890 # So? What about this header?
7891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7897 ac_header_preproc
=yes
7900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7913 ## ------------------------------------ ##
7914 ## Report this to wine-devel@winehq.org ##
7915 ## ------------------------------------ ##
7917 ) |
sed "s/^/$as_me: WARNING: /" >&2
7920 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7922 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7925 eval "$as_ac_Header=\$ac_header_preproc"
7927 ac_res
=`eval echo '${'$as_ac_Header'}'`
7928 { echo "$as_me:$LINENO: result: $ac_res" >&5
7929 echo "${ECHO_T}$ac_res" >&6; }
7932 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7933 cat >>confdefs.h
<<_ACEOF
7934 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7941 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7942 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7943 if test "${ac_cv_header_stat_broken+set}" = set; then
7944 echo $ECHO_N "(cached) $ECHO_C" >&6
7946 cat >conftest.
$ac_ext <<_ACEOF
7949 cat confdefs.h
>>conftest.
$ac_ext
7950 cat >>conftest.
$ac_ext <<_ACEOF
7951 /* end confdefs.h. */
7952 #include <sys/types.h>
7953 #include <sys/stat.h>
7955 #if defined S_ISBLK && defined S_IFDIR
7956 # if S_ISBLK (S_IFDIR)
7961 #if defined S_ISBLK && defined S_IFCHR
7962 # if S_ISBLK (S_IFCHR)
7967 #if defined S_ISLNK && defined S_IFREG
7968 # if S_ISLNK (S_IFREG)
7973 #if defined S_ISSOCK && defined S_IFREG
7974 # if S_ISSOCK (S_IFREG)
7980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7981 $EGREP "You lose" >/dev
/null
2>&1; then
7982 ac_cv_header_stat_broken
=yes
7984 ac_cv_header_stat_broken
=no
7989 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7990 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7991 if test $ac_cv_header_stat_broken = yes; then
7993 cat >>confdefs.h
<<\_ACEOF
7994 #define STAT_MACROS_BROKEN 1
8005 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
8007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8010 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 cat >conftest.
$ac_ext <<_ACEOF
8016 cat confdefs.h
>>conftest.
$ac_ext
8017 cat >>conftest.
$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8019 #include <sys/types.h>
8020 #if HAVE_SYS_PARAM_H
8021 # include <sys/param.h>
8024 #include <$ac_header>
8026 rm -f conftest.
$ac_objext
8027 if { (ac_try
="$ac_compile"
8029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8030 *) ac_try_echo=$ac_try;;
8032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8033 (eval "$ac_compile") 2>conftest.er1
8035 grep -v '^ *+' conftest.er1 >conftest.err
8037 cat conftest.err >&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } &&
8040 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8041 { (case "(($ac_try" in
8042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8043 *) ac_try_echo
=$ac_try;;
8045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8046 (eval "$ac_try") 2>&5
8048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049 (exit $ac_status); }; } &&
8050 { ac_try
='test -s conftest.$ac_objext'
8051 { (case "(($ac_try" in
8052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8053 *) ac_try_echo=$ac_try;;
8055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8056 (eval "$ac_try") 2>&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); }; }; then
8060 eval "$as_ac_Header=yes"
8062 echo "$as_me: failed program was:" >&5
8063 sed 's/^/| /' conftest.$ac_ext >&5
8065 eval "$as_ac_Header=no"
8068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8070 ac_res=`eval echo '${'$as_ac_Header'}'`
8071 { echo "$as_me:$LINENO: result: $ac_res" >&5
8072 echo "${ECHO_T}$ac_res" >&6; }
8073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8074 cat >>confdefs.h <<_ACEOF
8075 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8089 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
8091 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8092 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 cat >conftest.$ac_ext <<_ACEOF
8100 cat confdefs.h >>conftest.$ac_ext
8101 cat >>conftest.$ac_ext <<_ACEOF
8102 /* end confdefs.h. */
8103 #include <sys/types.h>
8104 #if HAVE_SYS_SOCKET_H
8105 # include <sys/socket.h>
8108 #include <$ac_header>
8110 rm -f conftest.$ac_objext
8111 if { (ac_try="$ac_compile"
8113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8114 *) ac_try_echo
=$ac_try;;
8116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8117 (eval "$ac_compile") 2>conftest.er1
8119 grep -v '^ *+' conftest.er1
>conftest.err
8121 cat conftest.err
>&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); } &&
8124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8125 { (case "(($ac_try" in
8126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8127 *) ac_try_echo=$ac_try;;
8129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130 (eval "$ac_try") 2>&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; } &&
8134 { ac_try='test -s conftest.$ac_objext'
8135 { (case "(($ac_try" in
8136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8137 *) ac_try_echo
=$ac_try;;
8139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8140 (eval "$ac_try") 2>&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; }; then
8144 eval "$as_ac_Header=yes"
8146 echo "$as_me: failed program was:" >&5
8147 sed 's/^/| /' conftest.
$ac_ext >&5
8149 eval "$as_ac_Header=no"
8152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8154 ac_res
=`eval echo '${'$as_ac_Header'}'`
8155 { echo "$as_me:$LINENO: result: $ac_res" >&5
8156 echo "${ECHO_T}$ac_res" >&6; }
8157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8158 cat >>confdefs.h
<<_ACEOF
8159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8168 for ac_header
in linux
/ipx.h
8170 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8173 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8176 cat >conftest.
$ac_ext <<_ACEOF
8179 cat confdefs.h
>>conftest.
$ac_ext
8180 cat >>conftest.
$ac_ext <<_ACEOF
8181 /* end confdefs.h. */
8182 #include <sys/types.h>
8183 #ifdef HAVE_ASM_TYPES_H
8184 # include <asm/types.h>
8186 #if HAVE_SYS_SOCKET_H
8187 # include <sys/socket.h>
8190 #include <$ac_header>
8192 rm -f conftest.
$ac_objext
8193 if { (ac_try
="$ac_compile"
8195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8196 *) ac_try_echo=$ac_try;;
8198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8199 (eval "$ac_compile") 2>conftest.er1
8201 grep -v '^ *+' conftest.er1 >conftest.err
8203 cat conftest.err >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); } &&
8206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8207 { (case "(($ac_try" in
8208 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8209 *) ac_try_echo
=$ac_try;;
8211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8212 (eval "$ac_try") 2>&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); }; } &&
8216 { ac_try
='test -s conftest.$ac_objext'
8217 { (case "(($ac_try" in
8218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8219 *) ac_try_echo=$ac_try;;
8221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8222 (eval "$ac_try") 2>&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); }; }; then
8226 eval "$as_ac_Header=yes"
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.$ac_ext >&5
8231 eval "$as_ac_Header=no"
8234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8236 ac_res=`eval echo '${'$as_ac_Header'}'`
8237 { echo "$as_me:$LINENO: result: $ac_res" >&5
8238 echo "${ECHO_T}$ac_res" >&6; }
8239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8240 cat >>confdefs.h <<_ACEOF
8241 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8250 for ac_header in resolv.h
8252 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8258 cat >conftest.$ac_ext <<_ACEOF
8261 cat confdefs.h >>conftest.$ac_ext
8262 cat >>conftest.$ac_ext <<_ACEOF
8263 /* end confdefs.h. */
8264 #include <sys/types.h>
8265 #if HAVE_SYS_SOCKET_H
8266 # include <sys/socket.h>
8268 #if HAVE_NETINET_IN_H
8269 # include <netinet/in.h>
8271 #if HAVE_ARPA_NAMESER_H
8272 # include <arpa/nameser.h>
8275 #include <$ac_header>
8277 rm -f conftest.$ac_objext
8278 if { (ac_try="$ac_compile"
8280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8281 *) ac_try_echo
=$ac_try;;
8283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8284 (eval "$ac_compile") 2>conftest.er1
8286 grep -v '^ *+' conftest.er1
>conftest.err
8288 cat conftest.err
>&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8292 { (case "(($ac_try" in
8293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8294 *) ac_try_echo=$ac_try;;
8296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8297 (eval "$ac_try") 2>&5
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; } &&
8301 { ac_try='test -s conftest.$ac_objext'
8302 { (case "(($ac_try" in
8303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8304 *) ac_try_echo
=$ac_try;;
8306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8307 (eval "$ac_try") 2>&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); }; }; then
8311 eval "$as_ac_Header=yes"
8313 echo "$as_me: failed program was:" >&5
8314 sed 's/^/| /' conftest.
$ac_ext >&5
8316 eval "$as_ac_Header=no"
8319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8321 ac_res
=`eval echo '${'$as_ac_Header'}'`
8322 { echo "$as_me:$LINENO: result: $ac_res" >&5
8323 echo "${ECHO_T}$ac_res" >&6; }
8324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8325 cat >>confdefs.h
<<_ACEOF
8326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8335 for ac_header
in ucontext.h
8337 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8338 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8340 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 cat >conftest.
$ac_ext <<_ACEOF
8346 cat confdefs.h
>>conftest.
$ac_ext
8347 cat >>conftest.
$ac_ext <<_ACEOF
8348 /* end confdefs.h. */
8351 #include <$ac_header>
8353 rm -f conftest.
$ac_objext
8354 if { (ac_try
="$ac_compile"
8356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8357 *) ac_try_echo=$ac_try;;
8359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8360 (eval "$ac_compile") 2>conftest.er1
8362 grep -v '^ *+' conftest.er1 >conftest.err
8364 cat conftest.err >&5
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); } &&
8367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8368 { (case "(($ac_try" in
8369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8370 *) ac_try_echo
=$ac_try;;
8372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8373 (eval "$ac_try") 2>&5
8375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); }; } &&
8377 { ac_try
='test -s conftest.$ac_objext'
8378 { (case "(($ac_try" in
8379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8380 *) ac_try_echo=$ac_try;;
8382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8383 (eval "$ac_try") 2>&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); }; }; then
8387 eval "$as_ac_Header=yes"
8389 echo "$as_me: failed program was:" >&5
8390 sed 's/^/| /' conftest.$ac_ext >&5
8392 eval "$as_ac_Header=no"
8395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8397 ac_res=`eval echo '${'$as_ac_Header'}'`
8398 { echo "$as_me:$LINENO: result: $ac_res" >&5
8399 echo "${ECHO_T}$ac_res" >&6; }
8400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8401 cat >>confdefs.h <<_ACEOF
8402 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8411 for ac_header in pthread_np.h
8413 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8414 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8417 echo $ECHO_N "(cached) $ECHO_C" >&6
8419 cat >conftest.$ac_ext <<_ACEOF
8422 cat confdefs.h >>conftest.$ac_ext
8423 cat >>conftest.$ac_ext <<_ACEOF
8424 /* end confdefs.h. */
8425 #ifdef HAVE_PTHREAD_H
8426 #include <pthread.h>
8429 #include <$ac_header>
8431 rm -f conftest.$ac_objext
8432 if { (ac_try="$ac_compile"
8434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8435 *) ac_try_echo
=$ac_try;;
8437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8438 (eval "$ac_compile") 2>conftest.er1
8440 grep -v '^ *+' conftest.er1
>conftest.err
8442 cat conftest.err
>&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); } &&
8445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8446 { (case "(($ac_try" in
8447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8448 *) ac_try_echo=$ac_try;;
8450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8451 (eval "$ac_try") 2>&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; } &&
8455 { ac_try='test -s conftest.$ac_objext'
8456 { (case "(($ac_try" in
8457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8458 *) ac_try_echo
=$ac_try;;
8460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8461 (eval "$ac_try") 2>&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); }; }; then
8465 eval "$as_ac_Header=yes"
8467 echo "$as_me: failed program was:" >&5
8468 sed 's/^/| /' conftest.
$ac_ext >&5
8470 eval "$as_ac_Header=no"
8473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8475 ac_res
=`eval echo '${'$as_ac_Header'}'`
8476 { echo "$as_me:$LINENO: result: $ac_res" >&5
8477 echo "${ECHO_T}$ac_res" >&6; }
8478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8479 cat >>confdefs.h
<<_ACEOF
8480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8489 for ac_header
in linux
/videodev.h
8491 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8494 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8495 echo $ECHO_N "(cached) $ECHO_C" >&6
8497 cat >conftest.
$ac_ext <<_ACEOF
8500 cat confdefs.h
>>conftest.
$ac_ext
8501 cat >>conftest.
$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8503 #ifdef HAVE_SYS_TIME_H
8504 #include <sys/time.h>
8506 #include <sys/types.h>
8507 #ifdef HAVE_ASM_TYPES_H
8508 #include <asm/types.h>
8511 #include <$ac_header>
8513 rm -f conftest.
$ac_objext
8514 if { (ac_try
="$ac_compile"
8516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8517 *) ac_try_echo=$ac_try;;
8519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8520 (eval "$ac_compile") 2>conftest.er1
8522 grep -v '^ *+' conftest.er1 >conftest.err
8524 cat conftest.err >&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } &&
8527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8528 { (case "(($ac_try" in
8529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8530 *) ac_try_echo
=$ac_try;;
8532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8533 (eval "$ac_try") 2>&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; } &&
8537 { ac_try
='test -s conftest.$ac_objext'
8538 { (case "(($ac_try" in
8539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8540 *) ac_try_echo=$ac_try;;
8542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8543 (eval "$ac_try") 2>&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; }; then
8547 eval "$as_ac_Header=yes"
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.$ac_ext >&5
8552 eval "$as_ac_Header=no"
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 ac_res=`eval echo '${'$as_ac_Header'}'`
8558 { echo "$as_me:$LINENO: result: $ac_res" >&5
8559 echo "${ECHO_T}$ac_res" >&6; }
8560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8561 cat >>confdefs.h <<_ACEOF
8562 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8571 for ac_header in linux/capi.h
8573 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8574 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8577 echo $ECHO_N "(cached) $ECHO_C" >&6
8579 cat >conftest.$ac_ext <<_ACEOF
8582 cat confdefs.h >>conftest.$ac_ext
8583 cat >>conftest.$ac_ext <<_ACEOF
8584 /* end confdefs.h. */
8587 #include <$ac_header>
8589 rm -f conftest.$ac_objext
8590 if { (ac_try="$ac_compile"
8592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8593 *) ac_try_echo
=$ac_try;;
8595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8596 (eval "$ac_compile") 2>conftest.er1
8598 grep -v '^ *+' conftest.er1
>conftest.err
8600 cat conftest.err
>&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } &&
8603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8604 { (case "(($ac_try" in
8605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8606 *) ac_try_echo=$ac_try;;
8608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8609 (eval "$ac_try") 2>&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; } &&
8613 { ac_try='test -s conftest.$ac_objext'
8614 { (case "(($ac_try" in
8615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8616 *) ac_try_echo
=$ac_try;;
8618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8619 (eval "$ac_try") 2>&5
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); }; }; then
8623 eval "$as_ac_Header=yes"
8625 echo "$as_me: failed program was:" >&5
8626 sed 's/^/| /' conftest.
$ac_ext >&5
8628 eval "$as_ac_Header=no"
8631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8633 ac_res
=`eval echo '${'$as_ac_Header'}'`
8634 { echo "$as_me:$LINENO: result: $ac_res" >&5
8635 echo "${ECHO_T}$ac_res" >&6; }
8636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8637 cat >>confdefs.h
<<_ACEOF
8638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8647 if test "$have_x" = "yes"
8650 ac_save_CPPFLAGS
="$CPPFLAGS"
8651 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8663 for ac_header
in X11
/Xlib.h \
8666 X11
/extensions
/shape.h \
8667 X11
/extensions
/XInput.h \
8668 X11
/extensions
/XShm.h \
8669 X11
/extensions
/Xinerama.h \
8670 X11
/extensions
/Xrandr.h \
8671 X11
/extensions
/Xrender.h \
8672 X11
/extensions
/xf86vmode.h
8674 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8675 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8677 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8678 echo $ECHO_N "(cached) $ECHO_C" >&6
8680 cat >conftest.
$ac_ext <<_ACEOF
8683 cat confdefs.h
>>conftest.
$ac_ext
8684 cat >>conftest.
$ac_ext <<_ACEOF
8685 /* end confdefs.h. */
8686 #ifdef HAVE_X11_XLIB_H
8687 # include <X11/Xlib.h>
8689 #ifdef HAVE_X11_XUTIL_H
8690 # include <X11/Xutil.h>
8693 #include <$ac_header>
8695 rm -f conftest.
$ac_objext
8696 if { (ac_try
="$ac_compile"
8698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8699 *) ac_try_echo=$ac_try;;
8701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8702 (eval "$ac_compile") 2>conftest.er1
8704 grep -v '^ *+' conftest.er1 >conftest.err
8706 cat conftest.err >&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); } &&
8709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8710 { (case "(($ac_try" in
8711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8712 *) ac_try_echo
=$ac_try;;
8714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8715 (eval "$ac_try") 2>&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); }; } &&
8719 { ac_try
='test -s conftest.$ac_objext'
8720 { (case "(($ac_try" in
8721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8722 *) ac_try_echo=$ac_try;;
8724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8725 (eval "$ac_try") 2>&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; }; then
8729 eval "$as_ac_Header=yes"
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5
8734 eval "$as_ac_Header=no"
8737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8739 ac_res=`eval echo '${'$as_ac_Header'}'`
8740 { echo "$as_me:$LINENO: result: $ac_res" >&5
8741 echo "${ECHO_T}$ac_res" >&6; }
8742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8743 cat >>confdefs.h <<_ACEOF
8744 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8752 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8754 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8755 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8756 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8757 echo $ECHO_N "(cached) $ECHO_C" >&6
8759 ac_check_lib_save_LIBS=$LIBS
8760 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8761 cat >conftest.$ac_ext <<_ACEOF
8764 cat confdefs.h >>conftest.$ac_ext
8765 cat >>conftest.$ac_ext <<_ACEOF
8766 /* end confdefs.h. */
8768 /* Override any GCC internal prototype to avoid an error.
8769 Use char because int might match the return type of a GCC
8770 builtin and then its argument prototype would still apply. */
8774 char XkbQueryExtension ();
8778 return XkbQueryExtension ();
8783 rm -f conftest.$ac_objext conftest$ac_exeext
8784 if { (ac_try="$ac_link"
8786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8787 *) ac_try_echo
=$ac_try;;
8789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8790 (eval "$ac_link") 2>conftest.er1
8792 grep -v '^ *+' conftest.er1
>conftest.err
8794 cat conftest.err
>&5
8795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796 (exit $ac_status); } &&
8797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8798 { (case "(($ac_try" in
8799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8800 *) ac_try_echo=$ac_try;;
8802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8803 (eval "$ac_try") 2>&5
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 (exit $ac_status); }; } &&
8807 { ac_try='test -s conftest$ac_exeext'
8808 { (case "(($ac_try" in
8809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8810 *) ac_try_echo
=$ac_try;;
8812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8813 (eval "$ac_try") 2>&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); }; }; then
8817 ac_cv_lib_X11_XkbQueryExtension
=yes
8819 echo "$as_me: failed program was:" >&5
8820 sed 's/^/| /' conftest.
$ac_ext >&5
8822 ac_cv_lib_X11_XkbQueryExtension
=no
8825 rm -f core conftest.err conftest.
$ac_objext \
8826 conftest
$ac_exeext conftest.
$ac_ext
8827 LIBS
=$ac_check_lib_save_LIBS
8829 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8830 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8831 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8833 cat >>confdefs.h
<<\_ACEOF
8841 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8843 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8844 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8845 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8846 echo $ECHO_N "(cached) $ECHO_C" >&6
8848 ac_check_lib_save_LIBS
=$LIBS
8849 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8850 cat >conftest.
$ac_ext <<_ACEOF
8853 cat confdefs.h
>>conftest.
$ac_ext
8854 cat >>conftest.
$ac_ext <<_ACEOF
8855 /* end confdefs.h. */
8857 /* Override any GCC internal prototype to avoid an error.
8858 Use char because int might match the return type of a GCC
8859 builtin and then its argument prototype would still apply. */
8863 char XShmQueryExtension ();
8867 return XShmQueryExtension ();
8872 rm -f conftest.
$ac_objext conftest
$ac_exeext
8873 if { (ac_try
="$ac_link"
8875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8876 *) ac_try_echo=$ac_try;;
8878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8879 (eval "$ac_link") 2>conftest.er1
8881 grep -v '^ *+' conftest.er1 >conftest.err
8883 cat conftest.err >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } &&
8886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8887 { (case "(($ac_try" in
8888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8889 *) ac_try_echo
=$ac_try;;
8891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8892 (eval "$ac_try") 2>&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); }; } &&
8896 { ac_try
='test -s conftest$ac_exeext'
8897 { (case "(($ac_try" in
8898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8899 *) ac_try_echo=$ac_try;;
8901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8902 (eval "$ac_try") 2>&5
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 (exit $ac_status); }; }; then
8906 ac_cv_lib_Xext_XShmQueryExtension=yes
8908 echo "$as_me: failed program was:" >&5
8909 sed 's/^/| /' conftest.$ac_ext >&5
8911 ac_cv_lib_Xext_XShmQueryExtension=no
8914 rm -f core conftest.err conftest.$ac_objext \
8915 conftest$ac_exeext conftest.$ac_ext
8916 LIBS=$ac_check_lib_save_LIBS
8918 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8919 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8920 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8922 cat >>confdefs.h <<\_ACEOF
8923 #define HAVE_LIBXXSHM 1
8930 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8932 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8933 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8934 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8935 echo $ECHO_N "(cached) $ECHO_C" >&6
8937 ac_check_lib_save_LIBS=$LIBS
8938 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8939 cat >conftest.$ac_ext <<_ACEOF
8942 cat confdefs.h >>conftest.$ac_ext
8943 cat >>conftest.$ac_ext <<_ACEOF
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8952 char XShapeQueryExtension ();
8956 return XShapeQueryExtension ();
8961 rm -f conftest.$ac_objext conftest$ac_exeext
8962 if { (ac_try="$ac_link"
8964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8965 *) ac_try_echo
=$ac_try;;
8967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8968 (eval "$ac_link") 2>conftest.er1
8970 grep -v '^ *+' conftest.er1
>conftest.err
8972 cat conftest.err
>&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } &&
8975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8976 { (case "(($ac_try" in
8977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8978 *) ac_try_echo=$ac_try;;
8980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8981 (eval "$ac_try") 2>&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; } &&
8985 { ac_try='test -s conftest$ac_exeext'
8986 { (case "(($ac_try" in
8987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8988 *) ac_try_echo
=$ac_try;;
8990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8991 (eval "$ac_try") 2>&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); }; }; then
8995 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8997 echo "$as_me: failed program was:" >&5
8998 sed 's/^/| /' conftest.
$ac_ext >&5
9000 ac_cv_lib_Xext_XShapeQueryExtension
=no
9003 rm -f core conftest.err conftest.
$ac_objext \
9004 conftest
$ac_exeext conftest.
$ac_ext
9005 LIBS
=$ac_check_lib_save_LIBS
9007 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9008 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9009 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9011 cat >>confdefs.h
<<\_ACEOF
9012 #define HAVE_LIBXSHAPE 1
9019 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9021 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9022 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9023 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 ac_check_lib_save_LIBS
=$LIBS
9027 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9028 cat >conftest.
$ac_ext <<_ACEOF
9031 cat confdefs.h
>>conftest.
$ac_ext
9032 cat >>conftest.
$ac_ext <<_ACEOF
9033 /* end confdefs.h. */
9035 /* Override any GCC internal prototype to avoid an error.
9036 Use char because int might match the return type of a GCC
9037 builtin and then its argument prototype would still apply. */
9041 char XF86VidModeQueryExtension ();
9045 return XF86VidModeQueryExtension ();
9050 rm -f conftest.
$ac_objext conftest
$ac_exeext
9051 if { (ac_try
="$ac_link"
9053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9054 *) ac_try_echo=$ac_try;;
9056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9057 (eval "$ac_link") 2>conftest.er1
9059 grep -v '^ *+' conftest.er1 >conftest.err
9061 cat conftest.err >&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); } &&
9064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9065 { (case "(($ac_try" in
9066 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9067 *) ac_try_echo
=$ac_try;;
9069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9070 (eval "$ac_try") 2>&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); }; } &&
9074 { ac_try
='test -s conftest$ac_exeext'
9075 { (case "(($ac_try" in
9076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9077 *) ac_try_echo=$ac_try;;
9079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9080 (eval "$ac_try") 2>&5
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); }; }; then
9084 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9086 echo "$as_me: failed program was:" >&5
9087 sed 's/^/| /' conftest.$ac_ext >&5
9089 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9092 rm -f core conftest.err conftest.$ac_objext \
9093 conftest$ac_exeext conftest.$ac_ext
9094 LIBS=$ac_check_lib_save_LIBS
9096 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9097 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9098 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9100 cat >>confdefs.h <<\_ACEOF
9101 #define HAVE_LIBXXF86VM 1
9104 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9110 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9112 cat >conftest.$ac_ext <<_ACEOF
9115 cat confdefs.h >>conftest.$ac_ext
9116 cat >>conftest.$ac_ext <<_ACEOF
9117 /* end confdefs.h. */
9118 #include <X11/Xlib.h>
9119 #include <X11/extensions/Xrandr.h>
9123 static typeof(XRRSetScreenConfigAndRate) * func;
9128 rm -f conftest.$ac_objext
9129 if { (ac_try="$ac_compile"
9131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9132 *) ac_try_echo
=$ac_try;;
9134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9135 (eval "$ac_compile") 2>conftest.er1
9137 grep -v '^ *+' conftest.er1
>conftest.err
9139 cat conftest.err
>&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } &&
9142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9143 { (case "(($ac_try" in
9144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9145 *) ac_try_echo=$ac_try;;
9147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9148 (eval "$ac_try") 2>&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); }; } &&
9152 { ac_try='test -s conftest.$ac_objext'
9153 { (case "(($ac_try" in
9154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9155 *) ac_try_echo
=$ac_try;;
9157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9158 (eval "$ac_try") 2>&5
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); }; }; then
9163 cat >>confdefs.h
<<\_ACEOF
9164 #define HAVE_LIBXRANDR 1
9168 echo "$as_me: failed program was:" >&5
9169 sed 's/^/| /' conftest.
$ac_ext >&5
9174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9177 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9179 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9180 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9181 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9182 echo $ECHO_N "(cached) $ECHO_C" >&6
9184 ac_check_lib_save_LIBS
=$LIBS
9185 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9186 cat >conftest.
$ac_ext <<_ACEOF
9189 cat confdefs.h
>>conftest.
$ac_ext
9190 cat >>conftest.
$ac_ext <<_ACEOF
9191 /* end confdefs.h. */
9193 /* Override any GCC internal prototype to avoid an error.
9194 Use char because int might match the return type of a GCC
9195 builtin and then its argument prototype would still apply. */
9199 char XRenderSetPictureTransform ();
9203 return XRenderSetPictureTransform ();
9208 rm -f conftest.
$ac_objext conftest
$ac_exeext
9209 if { (ac_try
="$ac_link"
9211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9212 *) ac_try_echo=$ac_try;;
9214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9215 (eval "$ac_link") 2>conftest.er1
9217 grep -v '^ *+' conftest.er1 >conftest.err
9219 cat conftest.err >&5
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); } &&
9222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9223 { (case "(($ac_try" in
9224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9225 *) ac_try_echo
=$ac_try;;
9227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9228 (eval "$ac_try") 2>&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); }; } &&
9232 { ac_try
='test -s conftest$ac_exeext'
9233 { (case "(($ac_try" in
9234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9235 *) ac_try_echo=$ac_try;;
9237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9238 (eval "$ac_try") 2>&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); }; }; then
9242 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9244 echo "$as_me: failed program was:" >&5
9245 sed 's/^/| /' conftest.$ac_ext >&5
9247 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9250 rm -f core conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
9252 LIBS=$ac_check_lib_save_LIBS
9254 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9255 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9256 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9258 cat >>confdefs.h <<\_ACEOF
9259 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9266 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9268 cat >conftest.$ac_ext <<_ACEOF
9271 cat confdefs.h >>conftest.$ac_ext
9272 cat >>conftest.$ac_ext <<_ACEOF
9273 /* end confdefs.h. */
9274 #include <X11/Xlib.h>
9275 #include <X11/extensions/Xinerama.h>
9279 static typeof(XineramaQueryScreens) * func;
9284 rm -f conftest.$ac_objext
9285 if { (ac_try="$ac_compile"
9287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9288 *) ac_try_echo
=$ac_try;;
9290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9291 (eval "$ac_compile") 2>conftest.er1
9293 grep -v '^ *+' conftest.er1
>conftest.err
9295 cat conftest.err
>&5
9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297 (exit $ac_status); } &&
9298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9299 { (case "(($ac_try" in
9300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9301 *) ac_try_echo=$ac_try;;
9303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9304 (eval "$ac_try") 2>&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); }; } &&
9308 { ac_try='test -s conftest.$ac_objext'
9309 { (case "(($ac_try" in
9310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9311 *) ac_try_echo
=$ac_try;;
9313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9314 (eval "$ac_try") 2>&5
9316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9317 (exit $ac_status); }; }; then
9319 cat >>confdefs.h
<<\_ACEOF
9320 #define HAVE_LIBXINERAMA 1
9324 echo "$as_me: failed program was:" >&5
9325 sed 's/^/| /' conftest.
$ac_ext >&5
9330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9334 if test "x$with_opengl" != "xno"
9340 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
9342 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9343 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9345 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9346 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 cat >conftest.
$ac_ext <<_ACEOF
9351 cat confdefs.h
>>conftest.
$ac_ext
9352 cat >>conftest.
$ac_ext <<_ACEOF
9353 /* end confdefs.h. */
9354 #ifdef HAVE_GL_GLX_H
9355 # include <GL/glx.h>
9358 #include <$ac_header>
9360 rm -f conftest.
$ac_objext
9361 if { (ac_try
="$ac_compile"
9363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9364 *) ac_try_echo=$ac_try;;
9366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9367 (eval "$ac_compile") 2>conftest.er1
9369 grep -v '^ *+' conftest.er1 >conftest.err
9371 cat conftest.err >&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); } &&
9374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9375 { (case "(($ac_try" in
9376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9377 *) ac_try_echo
=$ac_try;;
9379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9380 (eval "$ac_try") 2>&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); }; } &&
9384 { ac_try
='test -s conftest.$ac_objext'
9385 { (case "(($ac_try" in
9386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9387 *) ac_try_echo=$ac_try;;
9389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9390 (eval "$ac_try") 2>&5
9392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9393 (exit $ac_status); }; }; then
9394 eval "$as_ac_Header=yes"
9396 echo "$as_me: failed program was:" >&5
9397 sed 's/^/| /' conftest.$ac_ext >&5
9399 eval "$as_ac_Header=no"
9402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9404 ac_res=`eval echo '${'$as_ac_Header'}'`
9405 { echo "$as_me:$LINENO: result: $ac_res" >&5
9406 echo "${ECHO_T}$ac_res" >&6; }
9407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9408 cat >>confdefs.h <<_ACEOF
9409 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9416 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9418 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9419 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9420 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9421 echo $ECHO_N "(cached) $ECHO_C" >&6
9423 cat >conftest.$ac_ext <<_ACEOF
9426 cat confdefs.h >>conftest.$ac_ext
9427 cat >>conftest.$ac_ext <<_ACEOF
9428 /* end confdefs.h. */
9433 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9438 rm -f conftest.$ac_objext
9439 if { (ac_try="$ac_compile"
9441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9442 *) ac_try_echo
=$ac_try;;
9444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9445 (eval "$ac_compile") 2>conftest.er1
9447 grep -v '^ *+' conftest.er1
>conftest.err
9449 cat conftest.err
>&5
9450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 (exit $ac_status); } &&
9452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9453 { (case "(($ac_try" in
9454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9455 *) ac_try_echo=$ac_try;;
9457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9458 (eval "$ac_try") 2>&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; } &&
9462 { ac_try='test -s conftest.$ac_objext'
9463 { (case "(($ac_try" in
9464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9465 *) ac_try_echo
=$ac_try;;
9467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9468 (eval "$ac_try") 2>&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); }; }; then
9472 wine_cv_opengl_header_version_OK
="yes"
9474 echo "$as_me: failed program was:" >&5
9475 sed 's/^/| /' conftest.
$ac_ext >&5
9477 wine_cv_opengl_header_version_OK
="no"
9481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9484 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9485 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9487 if test "$wine_cv_opengl_header_version_OK" = "yes"
9489 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9490 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9491 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9492 echo $ECHO_N "(cached) $ECHO_C" >&6
9494 ac_check_lib_save_LIBS
=$LIBS
9495 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9496 cat >conftest.
$ac_ext <<_ACEOF
9499 cat confdefs.h
>>conftest.
$ac_ext
9500 cat >>conftest.
$ac_ext <<_ACEOF
9501 /* end confdefs.h. */
9503 /* Override any GCC internal prototype to avoid an error.
9504 Use char because int might match the return type of a GCC
9505 builtin and then its argument prototype would still apply. */
9509 char glXCreateContext ();
9513 return glXCreateContext ();
9518 rm -f conftest.
$ac_objext conftest
$ac_exeext
9519 if { (ac_try
="$ac_link"
9521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9522 *) ac_try_echo=$ac_try;;
9524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9525 (eval "$ac_link") 2>conftest.er1
9527 grep -v '^ *+' conftest.er1 >conftest.err
9529 cat conftest.err >&5
9530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531 (exit $ac_status); } &&
9532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9533 { (case "(($ac_try" in
9534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9535 *) ac_try_echo
=$ac_try;;
9537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9538 (eval "$ac_try") 2>&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; } &&
9542 { ac_try
='test -s conftest$ac_exeext'
9543 { (case "(($ac_try" in
9544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9545 *) ac_try_echo=$ac_try;;
9547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9548 (eval "$ac_try") 2>&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); }; }; then
9552 ac_cv_lib_GL_glXCreateContext=yes
9554 echo "$as_me: failed program was:" >&5
9555 sed 's/^/| /' conftest.$ac_ext >&5
9557 ac_cv_lib_GL_glXCreateContext=no
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS=$ac_check_lib_save_LIBS
9564 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9565 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9566 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9568 OPENGLFILES='$(OPENGLFILES)'
9570 cat >>confdefs.h <<\_ACEOF
9571 #define HAVE_OPENGL 1
9578 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9579 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9580 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9583 ac_check_lib_save_LIBS=$LIBS
9584 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9586 cat >conftest.$ac_ext <<_ACEOF
9589 cat confdefs.h >>conftest.$ac_ext
9590 cat >>conftest.$ac_ext <<_ACEOF
9591 /* end confdefs.h. */
9593 /* Override any GCC internal prototype to avoid an error.
9594 Use char because int might match the return type of a GCC
9595 builtin and then its argument prototype would still apply. */
9603 return gluLookAt ();
9608 rm -f conftest.$ac_objext conftest$ac_exeext
9609 if { (ac_try="$ac_link"
9611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9612 *) ac_try_echo
=$ac_try;;
9614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9615 (eval "$ac_link") 2>conftest.er1
9617 grep -v '^ *+' conftest.er1
>conftest.err
9619 cat conftest.err
>&5
9620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621 (exit $ac_status); } &&
9622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9623 { (case "(($ac_try" in
9624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9625 *) ac_try_echo=$ac_try;;
9627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9628 (eval "$ac_try") 2>&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); }; } &&
9632 { ac_try='test -s conftest$ac_exeext'
9633 { (case "(($ac_try" in
9634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9635 *) ac_try_echo
=$ac_try;;
9637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9638 (eval "$ac_try") 2>&5
9640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641 (exit $ac_status); }; }; then
9642 ac_cv_lib_GLU_gluLookAt
=yes
9644 echo "$as_me: failed program was:" >&5
9645 sed 's/^/| /' conftest.
$ac_ext >&5
9647 ac_cv_lib_GLU_gluLookAt
=no
9650 rm -f core conftest.err conftest.
$ac_objext \
9651 conftest
$ac_exeext conftest.
$ac_ext
9652 LIBS
=$ac_check_lib_save_LIBS
9654 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9655 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9656 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9657 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
9658 GLU32FILES
='$(GLU32FILES)'
9664 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9665 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9666 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9667 echo $ECHO_N "(cached) $ECHO_C" >&6
9669 ac_check_lib_save_LIBS
=$LIBS
9670 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9671 cat >conftest.
$ac_ext <<_ACEOF
9674 cat confdefs.h
>>conftest.
$ac_ext
9675 cat >>conftest.
$ac_ext <<_ACEOF
9676 /* end confdefs.h. */
9678 /* Override any GCC internal prototype to avoid an error.
9679 Use char because int might match the return type of a GCC
9680 builtin and then its argument prototype would still apply. */
9684 char glutMainLoop ();
9688 return glutMainLoop ();
9693 rm -f conftest.
$ac_objext conftest
$ac_exeext
9694 if { (ac_try
="$ac_link"
9696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9697 *) ac_try_echo=$ac_try;;
9699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9700 (eval "$ac_link") 2>conftest.er1
9702 grep -v '^ *+' conftest.er1 >conftest.err
9704 cat conftest.err >&5
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); } &&
9707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9708 { (case "(($ac_try" in
9709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9710 *) ac_try_echo
=$ac_try;;
9712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9713 (eval "$ac_try") 2>&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); }; } &&
9717 { ac_try
='test -s conftest$ac_exeext'
9718 { (case "(($ac_try" in
9719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9720 *) ac_try_echo=$ac_try;;
9722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9723 (eval "$ac_try") 2>&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); }; }; then
9727 ac_cv_lib_glut_glutMainLoop=yes
9729 echo "$as_me: failed program was:" >&5
9730 sed 's/^/| /' conftest.$ac_ext >&5
9732 ac_cv_lib_glut_glutMainLoop=no
9735 rm -f core conftest.err conftest.$ac_objext \
9736 conftest$ac_exeext conftest.$ac_ext
9737 LIBS=$ac_check_lib_save_LIBS
9739 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9740 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9741 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9742 GLUT_LIBS="-lglut -lXmu -lXi"
9744 GLUT32FILES='$(GLUT32FILES)'
9749 wine_cv_opengl_headers_found="no"
9755 for ac_header in audio/audiolib.h
9757 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9759 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9762 echo $ECHO_N "(cached) $ECHO_C" >&6
9764 ac_res=`eval echo '${'$as_ac_Header'}'`
9765 { echo "$as_me:$LINENO: result: $ac_res" >&5
9766 echo "${ECHO_T}$ac_res" >&6; }
9768 # Is the header compilable?
9769 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9770 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9771 cat >conftest.$ac_ext <<_ACEOF
9774 cat confdefs.h >>conftest.$ac_ext
9775 cat >>conftest.$ac_ext <<_ACEOF
9776 /* end confdefs.h. */
9777 $ac_includes_default
9778 #include <$ac_header>
9780 rm -f conftest.$ac_objext
9781 if { (ac_try="$ac_compile"
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_compile") 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); } &&
9794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9795 { (case "(($ac_try" in
9796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9797 *) ac_try_echo=$ac_try;;
9799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9800 (eval "$ac_try") 2>&5
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); }; } &&
9804 { ac_try='test -s conftest.$ac_objext'
9805 { (case "(($ac_try" in
9806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9807 *) ac_try_echo
=$ac_try;;
9809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9810 (eval "$ac_try") 2>&5
9812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813 (exit $ac_status); }; }; then
9814 ac_header_compiler
=yes
9816 echo "$as_me: failed program was:" >&5
9817 sed 's/^/| /' conftest.
$ac_ext >&5
9819 ac_header_compiler
=no
9822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9823 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9824 echo "${ECHO_T}$ac_header_compiler" >&6; }
9826 # Is the header present?
9827 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9828 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9829 cat >conftest.
$ac_ext <<_ACEOF
9832 cat confdefs.h
>>conftest.
$ac_ext
9833 cat >>conftest.
$ac_ext <<_ACEOF
9834 /* end confdefs.h. */
9835 #include <$ac_header>
9837 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9840 *) ac_try_echo=$ac_try;;
9842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9843 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9845 grep -v '^ *+' conftest.er1 >conftest.err
9847 cat conftest.err >&5
9848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849 (exit $ac_status); } >/dev/null; then
9850 if test -s conftest.err; then
9851 ac_cpp_err=$ac_c_preproc_warn_flag
9852 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9859 if test -z "$ac_cpp_err"; then
9860 ac_header_preproc=yes
9862 echo "$as_me: failed program was:" >&5
9863 sed 's/^/| /' conftest.$ac_ext >&5
9865 ac_header_preproc=no
9868 rm -f conftest.err conftest.$ac_ext
9869 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9870 echo "${ECHO_T}$ac_header_preproc" >&6; }
9872 # So? What about this header?
9873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9879 ac_header_preproc=yes
9882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9895 ## ------------------------------------ ##
9896 ## Report this to wine-devel@winehq.org ##
9897 ## ------------------------------------ ##
9899 ) | sed "s/^/$as_me: WARNING: /" >&2
9902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9907 eval "$as_ac_Header=\$ac_header_preproc"
9909 ac_res=`eval echo '${'$as_ac_Header'}'`
9910 { echo "$as_me:$LINENO: result: $ac_res" >&5
9911 echo "${ECHO_T}$ac_res" >&6; }
9914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9915 cat >>confdefs.h <<_ACEOF
9916 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9919 for ac_header in audio/soundlib.h
9921 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9922 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9924 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9925 echo $ECHO_N "(cached) $ECHO_C" >&6
9927 cat >conftest.$ac_ext <<_ACEOF
9930 cat confdefs.h >>conftest.$ac_ext
9931 cat >>conftest.$ac_ext <<_ACEOF
9932 /* end confdefs.h. */
9933 #include <audio/audiolib.h>
9935 #include <$ac_header>
9937 rm -f conftest.$ac_objext
9938 if { (ac_try="$ac_compile"
9940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9941 *) ac_try_echo
=$ac_try;;
9943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9944 (eval "$ac_compile") 2>conftest.er1
9946 grep -v '^ *+' conftest.er1
>conftest.err
9948 cat conftest.err
>&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); } &&
9951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9952 { (case "(($ac_try" in
9953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9954 *) ac_try_echo=$ac_try;;
9956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9957 (eval "$ac_try") 2>&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); }; } &&
9961 { ac_try='test -s conftest.$ac_objext'
9962 { (case "(($ac_try" in
9963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9964 *) ac_try_echo
=$ac_try;;
9966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9967 (eval "$ac_try") 2>&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); }; }; then
9971 eval "$as_ac_Header=yes"
9973 echo "$as_me: failed program was:" >&5
9974 sed 's/^/| /' conftest.
$ac_ext >&5
9976 eval "$as_ac_Header=no"
9979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9981 ac_res
=`eval echo '${'$as_ac_Header'}'`
9982 { echo "$as_me:$LINENO: result: $ac_res" >&5
9983 echo "${ECHO_T}$ac_res" >&6; }
9984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9985 cat >>confdefs.h
<<_ACEOF
9986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9993 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9994 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9995 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9996 echo $ECHO_N "(cached) $ECHO_C" >&6
9998 ac_check_lib_save_LIBS
=$LIBS
9999 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10000 cat >conftest.
$ac_ext <<_ACEOF
10003 cat confdefs.h
>>conftest.
$ac_ext
10004 cat >>conftest.
$ac_ext <<_ACEOF
10005 /* end confdefs.h. */
10007 /* Override any GCC internal prototype to avoid an error.
10008 Use char because int might match the return type of a GCC
10009 builtin and then its argument prototype would still apply. */
10013 char AuCreateFlow ();
10017 return AuCreateFlow ();
10022 rm -f conftest.
$ac_objext conftest
$ac_exeext
10023 if { (ac_try
="$ac_link"
10024 case "(($ac_try" in
10025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10026 *) ac_try_echo=$ac_try;;
10028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10029 (eval "$ac_link") 2>conftest.er1
10031 grep -v '^ *+' conftest.er1 >conftest.err
10033 cat conftest.err >&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); } &&
10036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10037 { (case "(($ac_try" in
10038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10039 *) ac_try_echo
=$ac_try;;
10041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10042 (eval "$ac_try") 2>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; } &&
10046 { ac_try
='test -s conftest$ac_exeext'
10047 { (case "(($ac_try" in
10048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10049 *) ac_try_echo=$ac_try;;
10051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10052 (eval "$ac_try") 2>&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); }; }; then
10056 ac_cv_lib_audio_AuCreateFlow=yes
10058 echo "$as_me: failed program was:" >&5
10059 sed 's/^/| /' conftest.$ac_ext >&5
10061 ac_cv_lib_audio_AuCreateFlow=no
10064 rm -f core conftest.err conftest.$ac_objext \
10065 conftest$ac_exeext conftest.$ac_ext
10066 LIBS=$ac_check_lib_save_LIBS
10068 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10069 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10070 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10072 cat >>confdefs.h <<\_ACEOF
10076 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10084 CPPFLAGS="$ac_save_CPPFLAGS"
10101 if test "$PKG_CONFIG" != "false"
10103 ac_save_CPPFLAGS="$CPPFLAGS"
10104 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
10105 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
10106 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10108 for ac_header in libxml/parser.h
10110 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10115 echo $ECHO_N "(cached) $ECHO_C" >&6
10117 ac_res=`eval echo '${'$as_ac_Header'}'`
10118 { echo "$as_me:$LINENO: result: $ac_res" >&5
10119 echo "${ECHO_T}$ac_res" >&6; }
10121 # Is the header compilable?
10122 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10124 cat >conftest.$ac_ext <<_ACEOF
10127 cat confdefs.h >>conftest.$ac_ext
10128 cat >>conftest.$ac_ext <<_ACEOF
10129 /* end confdefs.h. */
10130 $ac_includes_default
10131 #include <$ac_header>
10133 rm -f conftest.$ac_objext
10134 if { (ac_try="$ac_compile"
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_compile") 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); } &&
10147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10148 { (case "(($ac_try" in
10149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10150 *) ac_try_echo=$ac_try;;
10152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10153 (eval "$ac_try") 2>&5
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 (exit $ac_status); }; } &&
10157 { ac_try='test -s conftest.$ac_objext'
10158 { (case "(($ac_try" in
10159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10160 *) ac_try_echo
=$ac_try;;
10162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10163 (eval "$ac_try") 2>&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); }; }; then
10167 ac_header_compiler
=yes
10169 echo "$as_me: failed program was:" >&5
10170 sed 's/^/| /' conftest.
$ac_ext >&5
10172 ac_header_compiler
=no
10175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10176 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10177 echo "${ECHO_T}$ac_header_compiler" >&6; }
10179 # Is the header present?
10180 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10181 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10182 cat >conftest.
$ac_ext <<_ACEOF
10185 cat confdefs.h
>>conftest.
$ac_ext
10186 cat >>conftest.
$ac_ext <<_ACEOF
10187 /* end confdefs.h. */
10188 #include <$ac_header>
10190 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10191 case "(($ac_try" in
10192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10193 *) ac_try_echo=$ac_try;;
10195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10196 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10198 grep -v '^ *+' conftest.er1 >conftest.err
10200 cat conftest.err >&5
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); } >/dev/null; then
10203 if test -s conftest.err; then
10204 ac_cpp_err=$ac_c_preproc_warn_flag
10205 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10212 if test -z "$ac_cpp_err"; then
10213 ac_header_preproc=yes
10215 echo "$as_me: failed program was:" >&5
10216 sed 's/^/| /' conftest.$ac_ext >&5
10218 ac_header_preproc=no
10221 rm -f conftest.err conftest.$ac_ext
10222 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10223 echo "${ECHO_T}$ac_header_preproc" >&6; }
10225 # So? What about this header?
10226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10232 ac_header_preproc=yes
10235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10248 ## ------------------------------------ ##
10249 ## Report this to wine-devel@winehq.org ##
10250 ## ------------------------------------ ##
10252 ) | sed "s/^/$as_me: WARNING: /" >&2
10255 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10258 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 eval "$as_ac_Header=\$ac_header_preproc"
10262 ac_res=`eval echo '${'$as_ac_Header'}'`
10263 { echo "$as_me:$LINENO: result: $ac_res" >&5
10264 echo "${ECHO_T}$ac_res" >&6; }
10267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10268 cat >>confdefs.h <<_ACEOF
10269 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10271 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10272 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10273 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10274 echo $ECHO_N "(cached) $ECHO_C" >&6
10276 ac_check_lib_save_LIBS=$LIBS
10277 LIBS="-lxml2 $ac_xml_libs $LIBS"
10278 cat >conftest.$ac_ext <<_ACEOF
10281 cat confdefs.h >>conftest.$ac_ext
10282 cat >>conftest.$ac_ext <<_ACEOF
10283 /* end confdefs.h. */
10285 /* Override any GCC internal prototype to avoid an error.
10286 Use char because int might match the return type of a GCC
10287 builtin and then its argument prototype would still apply. */
10291 char xmlParseMemory ();
10295 return xmlParseMemory ();
10300 rm -f conftest.$ac_objext conftest$ac_exeext
10301 if { (ac_try="$ac_link"
10302 case "(($ac_try" in
10303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10304 *) ac_try_echo
=$ac_try;;
10306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10307 (eval "$ac_link") 2>conftest.er1
10309 grep -v '^ *+' conftest.er1
>conftest.err
10311 cat conftest.err
>&5
10312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); } &&
10314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10315 { (case "(($ac_try" in
10316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10317 *) ac_try_echo=$ac_try;;
10319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10320 (eval "$ac_try") 2>&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; } &&
10324 { ac_try='test -s conftest$ac_exeext'
10325 { (case "(($ac_try" in
10326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10327 *) ac_try_echo
=$ac_try;;
10329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10330 (eval "$ac_try") 2>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); }; }; then
10334 ac_cv_lib_xml2_xmlParseMemory
=yes
10336 echo "$as_me: failed program was:" >&5
10337 sed 's/^/| /' conftest.
$ac_ext >&5
10339 ac_cv_lib_xml2_xmlParseMemory
=no
10342 rm -f core conftest.err conftest.
$ac_objext \
10343 conftest
$ac_exeext conftest.
$ac_ext
10344 LIBS
=$ac_check_lib_save_LIBS
10346 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10347 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10348 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10350 cat >>confdefs.h
<<\_ACEOF
10351 #define HAVE_LIBXML2 1
10354 XML2LIBS
="$ac_xml_libs"
10355 XML2INCL
="$ac_xml_cflags"
10358 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10359 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10360 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10361 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 ac_check_lib_save_LIBS
=$LIBS
10364 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10365 cat >conftest.
$ac_ext <<_ACEOF
10368 cat confdefs.h
>>conftest.
$ac_ext
10369 cat >>conftest.
$ac_ext <<_ACEOF
10370 /* end confdefs.h. */
10372 /* Override any GCC internal prototype to avoid an error.
10373 Use char because int might match the return type of a GCC
10374 builtin and then its argument prototype would still apply. */
10378 char xmlReadMemory ();
10382 return xmlReadMemory ();
10387 rm -f conftest.
$ac_objext conftest
$ac_exeext
10388 if { (ac_try
="$ac_link"
10389 case "(($ac_try" in
10390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10391 *) ac_try_echo=$ac_try;;
10393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10394 (eval "$ac_link") 2>conftest.er1
10396 grep -v '^ *+' conftest.er1 >conftest.err
10398 cat conftest.err >&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); } &&
10401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10402 { (case "(($ac_try" in
10403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10404 *) ac_try_echo
=$ac_try;;
10406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10407 (eval "$ac_try") 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; } &&
10411 { ac_try
='test -s conftest$ac_exeext'
10412 { (case "(($ac_try" in
10413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10414 *) ac_try_echo=$ac_try;;
10416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10417 (eval "$ac_try") 2>&5
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); }; }; then
10421 ac_cv_lib_xml2_xmlReadMemory=yes
10423 echo "$as_me: failed program was:" >&5
10424 sed 's/^/| /' conftest.$ac_ext >&5
10426 ac_cv_lib_xml2_xmlReadMemory=no
10429 rm -f core conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10431 LIBS=$ac_check_lib_save_LIBS
10433 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10434 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10435 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10437 cat >>confdefs.h <<\_ACEOF
10438 #define HAVE_XMLREADMEMORY 1
10448 CPPFLAGS="$ac_save_CPPFLAGS"
10449 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
10450 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
10451 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10454 for ac_header in libxslt/pattern.h libxslt/transform.h
10456 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10457 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10460 echo $ECHO_N "(cached) $ECHO_C" >&6
10462 cat >conftest.$ac_ext <<_ACEOF
10465 cat confdefs.h >>conftest.$ac_ext
10466 cat >>conftest.$ac_ext <<_ACEOF
10467 /* end confdefs.h. */
10468 #ifdef HAVE_LIBXSLT_PATTERN_H
10469 # include <libxslt/pattern.h>
10472 #include <$ac_header>
10474 rm -f conftest.$ac_objext
10475 if { (ac_try="$ac_compile"
10476 case "(($ac_try" in
10477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10478 *) ac_try_echo
=$ac_try;;
10480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10481 (eval "$ac_compile") 2>conftest.er1
10483 grep -v '^ *+' conftest.er1
>conftest.err
10485 cat conftest.err
>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } &&
10488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10489 { (case "(($ac_try" in
10490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10491 *) ac_try_echo=$ac_try;;
10493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10494 (eval "$ac_try") 2>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; } &&
10498 { ac_try='test -s conftest.$ac_objext'
10499 { (case "(($ac_try" in
10500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10501 *) ac_try_echo
=$ac_try;;
10503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10504 (eval "$ac_try") 2>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); }; }; then
10508 eval "$as_ac_Header=yes"
10510 echo "$as_me: failed program was:" >&5
10511 sed 's/^/| /' conftest.
$ac_ext >&5
10513 eval "$as_ac_Header=no"
10516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10518 ac_res
=`eval echo '${'$as_ac_Header'}'`
10519 { echo "$as_me:$LINENO: result: $ac_res" >&5
10520 echo "${ECHO_T}$ac_res" >&6; }
10521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10522 cat >>confdefs.h
<<_ACEOF
10523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10525 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10526 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10527 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10528 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 ac_check_lib_save_LIBS
=$LIBS
10531 LIBS
="-lxslt $ac_xslt_libs $LIBS"
10532 cat >conftest.
$ac_ext <<_ACEOF
10535 cat confdefs.h
>>conftest.
$ac_ext
10536 cat >>conftest.
$ac_ext <<_ACEOF
10537 /* end confdefs.h. */
10539 /* Override any GCC internal prototype to avoid an error.
10540 Use char because int might match the return type of a GCC
10541 builtin and then its argument prototype would still apply. */
10545 char xsltCompilePattern ();
10549 return xsltCompilePattern ();
10554 rm -f conftest.
$ac_objext conftest
$ac_exeext
10555 if { (ac_try
="$ac_link"
10556 case "(($ac_try" in
10557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10558 *) ac_try_echo=$ac_try;;
10560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10561 (eval "$ac_link") 2>conftest.er1
10563 grep -v '^ *+' conftest.er1 >conftest.err
10565 cat conftest.err >&5
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10567 (exit $ac_status); } &&
10568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10569 { (case "(($ac_try" in
10570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10571 *) ac_try_echo
=$ac_try;;
10573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10574 (eval "$ac_try") 2>&5
10576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 (exit $ac_status); }; } &&
10578 { ac_try
='test -s conftest$ac_exeext'
10579 { (case "(($ac_try" in
10580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10581 *) ac_try_echo=$ac_try;;
10583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10584 (eval "$ac_try") 2>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; }; then
10588 ac_cv_lib_xslt_xsltCompilePattern=yes
10590 echo "$as_me: failed program was:" >&5
10591 sed 's/^/| /' conftest.$ac_ext >&5
10593 ac_cv_lib_xslt_xsltCompilePattern=no
10596 rm -f core conftest.err conftest.$ac_objext \
10597 conftest$ac_exeext conftest.$ac_ext
10598 LIBS=$ac_check_lib_save_LIBS
10600 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10601 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10602 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10604 cat >>confdefs.h <<\_ACEOF
10605 #define HAVE_LIBXSLT 1
10608 XSLTLIBS="$ac_xslt_libs"
10609 XSLTINCL="$ac_xslt_cflags"
10617 CPPFLAGS="$ac_save_CPPFLAGS"
10622 if test "$PKG_CONFIG" != "false"
10624 ac_save_CPPFLAGS="$CPPFLAGS"
10625 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
10626 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
10627 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10630 for ac_header in dbus/dbus.h hal/libhal.h
10632 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10633 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10634 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10636 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10637 echo $ECHO_N "(cached) $ECHO_C" >&6
10639 ac_res=`eval echo '${'$as_ac_Header'}'`
10640 { echo "$as_me:$LINENO: result: $ac_res" >&5
10641 echo "${ECHO_T}$ac_res" >&6; }
10643 # Is the header compilable?
10644 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10645 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10646 cat >conftest.$ac_ext <<_ACEOF
10649 cat confdefs.h >>conftest.$ac_ext
10650 cat >>conftest.$ac_ext <<_ACEOF
10651 /* end confdefs.h. */
10652 $ac_includes_default
10653 #include <$ac_header>
10655 rm -f conftest.$ac_objext
10656 if { (ac_try="$ac_compile"
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_compile") 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); } &&
10669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10670 { (case "(($ac_try" in
10671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10672 *) ac_try_echo=$ac_try;;
10674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10675 (eval "$ac_try") 2>&5
10677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); }; } &&
10679 { ac_try='test -s conftest.$ac_objext'
10680 { (case "(($ac_try" in
10681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10682 *) ac_try_echo
=$ac_try;;
10684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10685 (eval "$ac_try") 2>&5
10687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688 (exit $ac_status); }; }; then
10689 ac_header_compiler
=yes
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.
$ac_ext >&5
10694 ac_header_compiler
=no
10697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10698 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10699 echo "${ECHO_T}$ac_header_compiler" >&6; }
10701 # Is the header present?
10702 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10704 cat >conftest.
$ac_ext <<_ACEOF
10707 cat confdefs.h
>>conftest.
$ac_ext
10708 cat >>conftest.
$ac_ext <<_ACEOF
10709 /* end confdefs.h. */
10710 #include <$ac_header>
10712 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10713 case "(($ac_try" in
10714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10715 *) ac_try_echo=$ac_try;;
10717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10718 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10720 grep -v '^ *+' conftest.er1 >conftest.err
10722 cat conftest.err >&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); } >/dev/null; then
10725 if test -s conftest.err; then
10726 ac_cpp_err=$ac_c_preproc_warn_flag
10727 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10734 if test -z "$ac_cpp_err"; then
10735 ac_header_preproc=yes
10737 echo "$as_me: failed program was:" >&5
10738 sed 's/^/| /' conftest.$ac_ext >&5
10740 ac_header_preproc=no
10743 rm -f conftest.err conftest.$ac_ext
10744 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10745 echo "${ECHO_T}$ac_header_preproc" >&6; }
10747 # So? What about this header?
10748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10754 ac_header_preproc=yes
10757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10761 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10763 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10764 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10767 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10770 ## ------------------------------------ ##
10771 ## Report this to wine-devel@winehq.org ##
10772 ## ------------------------------------ ##
10774 ) | sed "s/^/$as_me: WARNING: /" >&2
10777 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10780 echo $ECHO_N "(cached) $ECHO_C" >&6
10782 eval "$as_ac_Header=\$ac_header_preproc"
10784 ac_res=`eval echo '${'$as_ac_Header'}'`
10785 { echo "$as_me:$LINENO: result: $ac_res" >&5
10786 echo "${ECHO_T}$ac_res" >&6; }
10789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10790 cat >>confdefs.h <<_ACEOF
10791 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10798 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10800 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10801 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10802 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10803 echo $ECHO_N "(cached) $ECHO_C" >&6
10805 ac_check_lib_save_LIBS=$LIBS
10807 cat >conftest.$ac_ext <<_ACEOF
10810 cat confdefs.h >>conftest.$ac_ext
10811 cat >>conftest.$ac_ext <<_ACEOF
10812 /* end confdefs.h. */
10814 /* Override any GCC internal prototype to avoid an error.
10815 Use char because int might match the return type of a GCC
10816 builtin and then its argument prototype would still apply. */
10820 char libhal_ctx_new ();
10824 return libhal_ctx_new ();
10829 rm -f conftest.$ac_objext conftest$ac_exeext
10830 if { (ac_try="$ac_link"
10831 case "(($ac_try" in
10832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10833 *) ac_try_echo
=$ac_try;;
10835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10836 (eval "$ac_link") 2>conftest.er1
10838 grep -v '^ *+' conftest.er1
>conftest.err
10840 cat conftest.err
>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } &&
10843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10844 { (case "(($ac_try" in
10845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10846 *) ac_try_echo=$ac_try;;
10848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10849 (eval "$ac_try") 2>&5
10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852 (exit $ac_status); }; } &&
10853 { ac_try='test -s conftest$ac_exeext'
10854 { (case "(($ac_try" in
10855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10856 *) ac_try_echo
=$ac_try;;
10858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10859 (eval "$ac_try") 2>&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); }; }; then
10863 ac_cv_lib_hal_libhal_ctx_new
=yes
10865 echo "$as_me: failed program was:" >&5
10866 sed 's/^/| /' conftest.
$ac_ext >&5
10868 ac_cv_lib_hal_libhal_ctx_new
=no
10871 rm -f core conftest.err conftest.
$ac_objext \
10872 conftest
$ac_exeext conftest.
$ac_ext
10873 LIBS
=$ac_check_lib_save_LIBS
10875 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10876 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10877 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10878 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10879 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10880 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 ac_check_lib_save_LIBS
=$LIBS
10884 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
10885 cat >conftest.
$ac_ext <<_ACEOF
10888 cat confdefs.h
>>conftest.
$ac_ext
10889 cat >>conftest.
$ac_ext <<_ACEOF
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10898 char dbus_connection_close ();
10902 return dbus_connection_close ();
10907 rm -f conftest.
$ac_objext conftest
$ac_exeext
10908 if { (ac_try
="$ac_link"
10909 case "(($ac_try" in
10910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10911 *) ac_try_echo=$ac_try;;
10913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10914 (eval "$ac_link") 2>conftest.er1
10916 grep -v '^ *+' conftest.er1 >conftest.err
10918 cat conftest.err >&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } &&
10921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10922 { (case "(($ac_try" in
10923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10924 *) ac_try_echo
=$ac_try;;
10926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10927 (eval "$ac_try") 2>&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); }; } &&
10931 { ac_try
='test -s conftest$ac_exeext'
10932 { (case "(($ac_try" in
10933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10934 *) ac_try_echo=$ac_try;;
10936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10937 (eval "$ac_try") 2>&5
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); }; }; then
10941 ac_cv_lib_dbus_1_dbus_connection_close=yes
10943 echo "$as_me: failed program was:" >&5
10944 sed 's/^/| /' conftest.$ac_ext >&5
10946 ac_cv_lib_dbus_1_dbus_connection_close=no
10949 rm -f core conftest.err conftest.$ac_objext \
10950 conftest$ac_exeext conftest.$ac_ext
10951 LIBS=$ac_check_lib_save_LIBS
10953 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10954 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10955 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10957 cat >>confdefs.h <<\_ACEOF
10958 #define HAVE_LIBHAL 1
10961 HALINCL="$ac_hal_cflags"
10967 CPPFLAGS="$ac_save_CPPFLAGS"
10971 if test "x$with_curses" != "xno"
10973 if test "$ac_cv_header_ncurses_h" = "yes"
10975 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10976 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10977 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10978 echo $ECHO_N "(cached) $ECHO_C" >&6
10980 ac_check_lib_save_LIBS=$LIBS
10981 LIBS="-lncurses $LIBS"
10982 cat >conftest.$ac_ext <<_ACEOF
10985 cat confdefs.h >>conftest.$ac_ext
10986 cat >>conftest.$ac_ext <<_ACEOF
10987 /* end confdefs.h. */
10989 /* Override any GCC internal prototype to avoid an error.
10990 Use char because int might match the return type of a GCC
10991 builtin and then its argument prototype would still apply. */
11004 rm -f conftest.$ac_objext conftest$ac_exeext
11005 if { (ac_try="$ac_link"
11006 case "(($ac_try" in
11007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11008 *) ac_try_echo
=$ac_try;;
11010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11011 (eval "$ac_link") 2>conftest.er1
11013 grep -v '^ *+' conftest.er1
>conftest.err
11015 cat conftest.err
>&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); } &&
11018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11019 { (case "(($ac_try" in
11020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11021 *) ac_try_echo=$ac_try;;
11023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11024 (eval "$ac_try") 2>&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); }; } &&
11028 { ac_try='test -s conftest$ac_exeext'
11029 { (case "(($ac_try" in
11030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11031 *) ac_try_echo
=$ac_try;;
11033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11034 (eval "$ac_try") 2>&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; }; then
11038 ac_cv_lib_ncurses_waddch
=yes
11040 echo "$as_me: failed program was:" >&5
11041 sed 's/^/| /' conftest.
$ac_ext >&5
11043 ac_cv_lib_ncurses_waddch
=no
11046 rm -f core conftest.err conftest.
$ac_objext \
11047 conftest
$ac_exeext conftest.
$ac_ext
11048 LIBS
=$ac_check_lib_save_LIBS
11050 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11051 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11052 if test $ac_cv_lib_ncurses_waddch = yes; then
11054 cat >>confdefs.h
<<\_ACEOF
11055 #define HAVE_LIBNCURSES 1
11058 CURSESLIBS
="-lncurses"
11061 elif test "$ac_cv_header_curses_h" = "yes"
11063 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11064 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11065 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11066 echo $ECHO_N "(cached) $ECHO_C" >&6
11068 ac_check_lib_save_LIBS
=$LIBS
11069 LIBS
="-lcurses $LIBS"
11070 cat >conftest.
$ac_ext <<_ACEOF
11073 cat confdefs.h
>>conftest.
$ac_ext
11074 cat >>conftest.
$ac_ext <<_ACEOF
11075 /* end confdefs.h. */
11077 /* Override any GCC internal prototype to avoid an error.
11078 Use char because int might match the return type of a GCC
11079 builtin and then its argument prototype would still apply. */
11092 rm -f conftest.
$ac_objext conftest
$ac_exeext
11093 if { (ac_try
="$ac_link"
11094 case "(($ac_try" in
11095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11096 *) ac_try_echo=$ac_try;;
11098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11099 (eval "$ac_link") 2>conftest.er1
11101 grep -v '^ *+' conftest.er1 >conftest.err
11103 cat conftest.err >&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); } &&
11106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11107 { (case "(($ac_try" in
11108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11109 *) ac_try_echo
=$ac_try;;
11111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11112 (eval "$ac_try") 2>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; } &&
11116 { ac_try
='test -s conftest$ac_exeext'
11117 { (case "(($ac_try" in
11118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11119 *) ac_try_echo=$ac_try;;
11121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11122 (eval "$ac_try") 2>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; }; then
11126 ac_cv_lib_curses_waddch=yes
11128 echo "$as_me: failed program was:" >&5
11129 sed 's/^/| /' conftest.$ac_ext >&5
11131 ac_cv_lib_curses_waddch=no
11134 rm -f core conftest.err conftest.$ac_objext \
11135 conftest$ac_exeext conftest.$ac_ext
11136 LIBS=$ac_check_lib_save_LIBS
11138 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11139 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11140 if test $ac_cv_lib_curses_waddch = yes; then
11142 cat >>confdefs.h <<\_ACEOF
11143 #define HAVE_LIBCURSES 1
11146 CURSESLIBS="-lcurses"
11150 ac_save_LIBS="$LIBS"
11151 LIBS="$LIBS $CURSESLIBS"
11153 for ac_func in mousemask
11155 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11156 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11158 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11159 echo $ECHO_N "(cached) $ECHO_C" >&6
11161 cat >conftest.$ac_ext <<_ACEOF
11164 cat confdefs.h >>conftest.$ac_ext
11165 cat >>conftest.$ac_ext <<_ACEOF
11166 /* end confdefs.h. */
11167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11169 #define $ac_func innocuous_$ac_func
11171 /* System header to define __stub macros and hopefully few prototypes,
11172 which can conflict with char $ac_func (); below.
11173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11174 <limits.h> exists even on freestanding compilers. */
11177 # include <limits.h>
11179 # include <assert.h>
11184 /* Override any GCC internal prototype to avoid an error.
11185 Use char because int might match the return type of a GCC
11186 builtin and then its argument prototype would still apply. */
11191 /* The GNU C library defines this for functions which it implements
11192 to always fail with ENOSYS. Some functions are actually named
11193 something starting with __ and the normal name is an alias. */
11194 #if defined __stub_$ac_func || defined __stub___$ac_func
11201 return $ac_func ();
11206 rm -f conftest.$ac_objext conftest$ac_exeext
11207 if { (ac_try="$ac_link"
11208 case "(($ac_try" in
11209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11210 *) ac_try_echo
=$ac_try;;
11212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11213 (eval "$ac_link") 2>conftest.er1
11215 grep -v '^ *+' conftest.er1
>conftest.err
11217 cat conftest.err
>&5
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); } &&
11220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11221 { (case "(($ac_try" in
11222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11223 *) ac_try_echo=$ac_try;;
11225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11226 (eval "$ac_try") 2>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); }; } &&
11230 { ac_try='test -s conftest$ac_exeext'
11231 { (case "(($ac_try" in
11232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11233 *) ac_try_echo
=$ac_try;;
11235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11236 (eval "$ac_try") 2>&5
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; }; then
11240 eval "$as_ac_var=yes"
11242 echo "$as_me: failed program was:" >&5
11243 sed 's/^/| /' conftest.
$ac_ext >&5
11245 eval "$as_ac_var=no"
11248 rm -f core conftest.err conftest.
$ac_objext \
11249 conftest
$ac_exeext conftest.
$ac_ext
11251 ac_res
=`eval echo '${'$as_ac_var'}'`
11252 { echo "$as_me:$LINENO: result: $ac_res" >&5
11253 echo "${ECHO_T}$ac_res" >&6; }
11254 if test `eval echo '${'$as_ac_var'}'` = yes; then
11255 cat >>confdefs.h
<<_ACEOF
11256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11262 LIBS
="$ac_save_LIBS"
11266 # Extract the first word of "sane-config", so it can be a program name with args.
11267 set dummy sane-config
; ac_word
=$2
11268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11270 if test "${ac_cv_prog_sane_devel+set}" = set; then
11271 echo $ECHO_N "(cached) $ECHO_C" >&6
11273 if test -n "$sane_devel"; then
11274 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
11276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11277 for as_dir
in $PATH
11280 test -z "$as_dir" && as_dir
=.
11281 for ac_exec_ext
in '' $ac_executable_extensions; do
11282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11283 ac_cv_prog_sane_devel
="sane-config"
11284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11291 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
11294 sane_devel
=$ac_cv_prog_sane_devel
11295 if test -n "$sane_devel"; then
11296 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11297 echo "${ECHO_T}$sane_devel" >&6; }
11299 { echo "$as_me:$LINENO: result: no" >&5
11300 echo "${ECHO_T}no" >&6; }
11308 if test "$sane_devel" != "no"
11310 SANELIBS
="`$sane_devel --libs`"
11311 SANEINCL
="`$sane_devel --cflags`"
11312 ac_save_CPPFLAGS
="$CPPFLAGS"
11313 ac_save_LIBS
="$LIBS"
11314 CPPFLAGS
="$CPPFLAGS $SANEINCL"
11315 LIBS
="$LIBS $SANELIBS"
11316 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11317 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11318 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11319 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11320 echo $ECHO_N "(cached) $ECHO_C" >&6
11322 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11323 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11325 # Is the header compilable?
11326 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11327 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11328 cat >conftest.
$ac_ext <<_ACEOF
11331 cat confdefs.h
>>conftest.
$ac_ext
11332 cat >>conftest.
$ac_ext <<_ACEOF
11333 /* end confdefs.h. */
11334 $ac_includes_default
11335 #include <sane/sane.h>
11337 rm -f conftest.
$ac_objext
11338 if { (ac_try
="$ac_compile"
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_compile") 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); } &&
11351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11352 { (case "(($ac_try" in
11353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11354 *) ac_try_echo
=$ac_try;;
11356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11357 (eval "$ac_try") 2>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; } &&
11361 { ac_try
='test -s conftest.$ac_objext'
11362 { (case "(($ac_try" in
11363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11364 *) ac_try_echo=$ac_try;;
11366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11367 (eval "$ac_try") 2>&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); }; }; then
11371 ac_header_compiler=yes
11373 echo "$as_me: failed program was:" >&5
11374 sed 's/^/| /' conftest.$ac_ext >&5
11376 ac_header_compiler=no
11379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11380 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11381 echo "${ECHO_T}$ac_header_compiler" >&6; }
11383 # Is the header present?
11384 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11385 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11386 cat >conftest.$ac_ext <<_ACEOF
11389 cat confdefs.h >>conftest.$ac_ext
11390 cat >>conftest.$ac_ext <<_ACEOF
11391 /* end confdefs.h. */
11392 #include <sane/sane.h>
11394 if { (ac_try="$ac_cpp conftest.$ac_ext"
11395 case "(($ac_try" in
11396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11397 *) ac_try_echo
=$ac_try;;
11399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11402 grep -v '^ *+' conftest.er1
>conftest.err
11404 cat conftest.err
>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); } >/dev
/null
; then
11407 if test -s conftest.err
; then
11408 ac_cpp_err
=$ac_c_preproc_warn_flag
11409 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11416 if test -z "$ac_cpp_err"; then
11417 ac_header_preproc
=yes
11419 echo "$as_me: failed program was:" >&5
11420 sed 's/^/| /' conftest.
$ac_ext >&5
11422 ac_header_preproc
=no
11425 rm -f conftest.err conftest.
$ac_ext
11426 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11427 echo "${ECHO_T}$ac_header_preproc" >&6; }
11429 # So? What about this header?
11430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11432 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11433 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11434 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11435 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11436 ac_header_preproc
=yes
11439 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11440 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11441 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11442 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11443 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11444 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11445 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11446 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11447 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11448 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11449 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11450 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11452 ## ------------------------------------ ##
11453 ## Report this to wine-devel@winehq.org ##
11454 ## ------------------------------------ ##
11456 ) |
sed "s/^/$as_me: WARNING: /" >&2
11459 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11460 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11461 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11462 echo $ECHO_N "(cached) $ECHO_C" >&6
11464 ac_cv_header_sane_sane_h
=$ac_header_preproc
11466 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11467 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11470 if test $ac_cv_header_sane_sane_h = yes; then
11471 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11472 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11473 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6
11476 ac_check_lib_save_LIBS
=$LIBS
11477 LIBS
="-lsane $LIBS"
11478 cat >conftest.
$ac_ext <<_ACEOF
11481 cat confdefs.h
>>conftest.
$ac_ext
11482 cat >>conftest.
$ac_ext <<_ACEOF
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11495 return sane_open ();
11500 rm -f conftest.
$ac_objext conftest
$ac_exeext
11501 if { (ac_try
="$ac_link"
11502 case "(($ac_try" in
11503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11504 *) ac_try_echo=$ac_try;;
11506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11507 (eval "$ac_link") 2>conftest.er1
11509 grep -v '^ *+' conftest.er1 >conftest.err
11511 cat conftest.err >&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } &&
11514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11515 { (case "(($ac_try" in
11516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11517 *) ac_try_echo
=$ac_try;;
11519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11520 (eval "$ac_try") 2>&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); }; } &&
11524 { ac_try
='test -s conftest$ac_exeext'
11525 { (case "(($ac_try" in
11526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11527 *) ac_try_echo=$ac_try;;
11529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11530 (eval "$ac_try") 2>&5
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11533 (exit $ac_status); }; }; then
11534 ac_cv_lib_sane_sane_open=yes
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.$ac_ext >&5
11539 ac_cv_lib_sane_sane_open=no
11542 rm -f core conftest.err conftest.$ac_objext \
11543 conftest$ac_exeext conftest.$ac_ext
11544 LIBS=$ac_check_lib_save_LIBS
11546 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11547 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11548 if test $ac_cv_lib_sane_sane_open = yes; then
11550 cat >>confdefs.h <<\_ACEOF
11551 #define HAVE_SANE 1
11565 LIBS="$ac_save_LIBS"
11566 CPPFLAGS="$ac_save_CPPFLAGS"
11569 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11570 set dummy gphoto2-config; ac_word=$2
11571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11573 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 if test -n "$gphoto2_devel"; then
11577 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11580 for as_dir in $PATH
11583 test -z "$as_dir" && as_dir=.
11584 for ac_exec_ext in '' $ac_executable_extensions; do
11585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11586 ac_cv_prog_gphoto2_devel="gphoto2-config"
11587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11594 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11597 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11598 if test -n "$gphoto2_devel"; then
11599 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11600 echo "${ECHO_T}$gphoto2_devel" >&6; }
11602 { echo "$as_me:$LINENO: result: no" >&5
11603 echo "${ECHO_T}no" >&6; }
11607 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11608 set dummy gphoto2-port-config; ac_word=$2
11609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11611 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 if test -n "$gphoto2port_devel"; then
11615 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11618 for as_dir in $PATH
11621 test -z "$as_dir" && as_dir=.
11622 for ac_exec_ext in '' $ac_executable_extensions; do
11623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11624 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11632 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11635 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11636 if test -n "$gphoto2port_devel"; then
11637 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11638 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11640 { echo "$as_me:$LINENO: result: no" >&5
11641 echo "${ECHO_T}no" >&6; }
11649 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11651 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11653 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11656 -L/usr/lib|-L/usr/lib64) ;;
11657 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11660 ac_save_CPPFLAGS="$CPPFLAGS"
11661 ac_save_LIBS="$LIBS"
11662 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11663 LIBS="$LIBS $GPHOTO2LIBS"
11664 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11665 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11666 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11667 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11668 echo $ECHO_N "(cached) $ECHO_C" >&6
11670 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11671 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11673 # Is the header compilable?
11674 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11675 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11676 cat >conftest.$ac_ext <<_ACEOF
11679 cat confdefs.h >>conftest.$ac_ext
11680 cat >>conftest.$ac_ext <<_ACEOF
11681 /* end confdefs.h. */
11682 $ac_includes_default
11683 #include <gphoto2-camera.h>
11685 rm -f conftest.$ac_objext
11686 if { (ac_try="$ac_compile"
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_compile") 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); } &&
11699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11700 { (case "(($ac_try" in
11701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11702 *) ac_try_echo=$ac_try;;
11704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11705 (eval "$ac_try") 2>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; } &&
11709 { ac_try='test -s conftest.$ac_objext'
11710 { (case "(($ac_try" in
11711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11712 *) ac_try_echo
=$ac_try;;
11714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11715 (eval "$ac_try") 2>&5
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); }; }; then
11719 ac_header_compiler
=yes
11721 echo "$as_me: failed program was:" >&5
11722 sed 's/^/| /' conftest.
$ac_ext >&5
11724 ac_header_compiler
=no
11727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11728 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11729 echo "${ECHO_T}$ac_header_compiler" >&6; }
11731 # Is the header present?
11732 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11733 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11734 cat >conftest.
$ac_ext <<_ACEOF
11737 cat confdefs.h
>>conftest.
$ac_ext
11738 cat >>conftest.
$ac_ext <<_ACEOF
11739 /* end confdefs.h. */
11740 #include <gphoto2-camera.h>
11742 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11743 case "(($ac_try" in
11744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11745 *) ac_try_echo=$ac_try;;
11747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11750 grep -v '^ *+' conftest.er1 >conftest.err
11752 cat conftest.err >&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } >/dev/null; then
11755 if test -s conftest.err; then
11756 ac_cpp_err=$ac_c_preproc_warn_flag
11757 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11764 if test -z "$ac_cpp_err"; then
11765 ac_header_preproc=yes
11767 echo "$as_me: failed program was:" >&5
11768 sed 's/^/| /' conftest.$ac_ext >&5
11770 ac_header_preproc=no
11773 rm -f conftest.err conftest.$ac_ext
11774 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11775 echo "${ECHO_T}$ac_header_preproc" >&6; }
11777 # So? What about this header?
11778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11780 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11781 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11782 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11783 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11784 ac_header_preproc=yes
11787 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11788 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11789 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11790 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11791 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11792 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11793 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11794 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11795 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11796 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11797 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11798 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11800 ## ------------------------------------ ##
11801 ## Report this to wine-devel@winehq.org ##
11802 ## ------------------------------------ ##
11804 ) | sed "s/^/$as_me: WARNING: /" >&2
11807 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11808 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11809 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11810 echo $ECHO_N "(cached) $ECHO_C" >&6
11812 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11814 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11815 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11818 if test $ac_cv_header_gphoto2_camera_h = yes; then
11819 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11820 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11821 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11824 ac_check_lib_save_LIBS=$LIBS
11825 LIBS="-lgphoto2 $LIBS"
11826 cat >conftest.$ac_ext <<_ACEOF
11829 cat confdefs.h >>conftest.$ac_ext
11830 cat >>conftest.$ac_ext <<_ACEOF
11831 /* end confdefs.h. */
11833 /* Override any GCC internal prototype to avoid an error.
11834 Use char because int might match the return type of a GCC
11835 builtin and then its argument prototype would still apply. */
11839 char gp_camera_new ();
11843 return gp_camera_new ();
11848 rm -f conftest.$ac_objext conftest$ac_exeext
11849 if { (ac_try="$ac_link"
11850 case "(($ac_try" in
11851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11852 *) ac_try_echo
=$ac_try;;
11854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11855 (eval "$ac_link") 2>conftest.er1
11857 grep -v '^ *+' conftest.er1
>conftest.err
11859 cat conftest.err
>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } &&
11862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11863 { (case "(($ac_try" in
11864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11865 *) ac_try_echo=$ac_try;;
11867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11868 (eval "$ac_try") 2>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; } &&
11872 { ac_try='test -s conftest$ac_exeext'
11873 { (case "(($ac_try" in
11874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11875 *) ac_try_echo
=$ac_try;;
11877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11878 (eval "$ac_try") 2>&5
11880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 (exit $ac_status); }; }; then
11882 ac_cv_lib_gphoto2_gp_camera_new
=yes
11884 echo "$as_me: failed program was:" >&5
11885 sed 's/^/| /' conftest.
$ac_ext >&5
11887 ac_cv_lib_gphoto2_gp_camera_new
=no
11890 rm -f core conftest.err conftest.
$ac_objext \
11891 conftest
$ac_exeext conftest.
$ac_ext
11892 LIBS
=$ac_check_lib_save_LIBS
11894 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11895 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11896 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11898 cat >>confdefs.h
<<\_ACEOF
11899 #define HAVE_GPHOTO2 1
11913 LIBS
="$ac_save_LIBS"
11914 CPPFLAGS
="$ac_save_CPPFLAGS"
11917 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11920 for i
in ${ICU_LIB_DIR-/usr/lib}/libsicu
${ICU_LIB_DIR-/usr/lib}/libicu
11922 TEST_ICUUC_LIB
="${ICUUC_LIB-${i}uc.a}"
11923 TEST_ICUDATA_LIB
="${ICUDATA_LIB-${i}data.a}"
11924 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11925 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11926 LIBS
="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11927 cat >conftest.
$ac_ext <<_ACEOF
11930 cat confdefs.h
>>conftest.
$ac_ext
11931 cat >>conftest.
$ac_ext <<_ACEOF
11932 /* end confdefs.h. */
11933 #include <unicode/ubidi.h>
11942 rm -f conftest.
$ac_objext conftest
$ac_exeext
11943 if { (ac_try
="$ac_link"
11944 case "(($ac_try" in
11945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11946 *) ac_try_echo=$ac_try;;
11948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11949 (eval "$ac_link") 2>conftest.er1
11951 grep -v '^ *+' conftest.er1 >conftest.err
11953 cat conftest.err >&5
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); } &&
11956 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11957 { (case "(($ac_try" in
11958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11959 *) ac_try_echo
=$ac_try;;
11961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11962 (eval "$ac_try") 2>&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; } &&
11966 { ac_try
='test -s conftest$ac_exeext'
11967 { (case "(($ac_try" in
11968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11969 *) ac_try_echo=$ac_try;;
11971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11972 (eval "$ac_try") 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; }; then
11977 cat >>confdefs.h <<\_ACEOF
11981 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11983 { echo "$as_me:$LINENO: result: yes" >&5
11984 echo "${ECHO_T}yes" >&6; }
11986 echo "$as_me: failed program was:" >&5
11987 sed 's/^/| /' conftest.$ac_ext >&5
11989 { echo "$as_me:$LINENO: result: no" >&5
11990 echo "${ECHO_T}no" >&6; }
11993 rm -f core conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
12001 if test "$ac_cv_header_resolv_h" = "yes"
12003 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12004 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12005 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12008 ac_check_lib_save_LIBS=$LIBS
12009 LIBS="-lresolv $LIBS"
12010 cat >conftest.$ac_ext <<_ACEOF
12013 cat confdefs.h >>conftest.$ac_ext
12014 cat >>conftest.$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12017 /* Override any GCC internal prototype to avoid an error.
12018 Use char because int might match the return type of a GCC
12019 builtin and then its argument prototype would still apply. */
12027 return res_query ();
12032 rm -f conftest.$ac_objext conftest$ac_exeext
12033 if { (ac_try="$ac_link"
12034 case "(($ac_try" in
12035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12036 *) ac_try_echo
=$ac_try;;
12038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12039 (eval "$ac_link") 2>conftest.er1
12041 grep -v '^ *+' conftest.er1
>conftest.err
12043 cat conftest.err
>&5
12044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045 (exit $ac_status); } &&
12046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12047 { (case "(($ac_try" in
12048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12049 *) ac_try_echo=$ac_try;;
12051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12052 (eval "$ac_try") 2>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; } &&
12056 { ac_try='test -s conftest$ac_exeext'
12057 { (case "(($ac_try" in
12058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12059 *) ac_try_echo
=$ac_try;;
12061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12062 (eval "$ac_try") 2>&5
12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065 (exit $ac_status); }; }; then
12066 ac_cv_lib_resolv_res_query
=yes
12068 echo "$as_me: failed program was:" >&5
12069 sed 's/^/| /' conftest.
$ac_ext >&5
12071 ac_cv_lib_resolv_res_query
=no
12074 rm -f core conftest.err conftest.
$ac_objext \
12075 conftest
$ac_exeext conftest.
$ac_ext
12076 LIBS
=$ac_check_lib_save_LIBS
12078 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12079 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12080 if test $ac_cv_lib_resolv_res_query = yes; then
12082 cat >>confdefs.h
<<\_ACEOF
12083 #define HAVE_RESOLV 1
12086 RESOLVLIBS
="-lresolv"
12093 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12095 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12096 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12097 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12098 echo $ECHO_N "(cached) $ECHO_C" >&6
12100 ac_check_lib_save_LIBS
=$LIBS
12101 LIBS
="-llcms $LIBS"
12102 cat >conftest.
$ac_ext <<_ACEOF
12105 cat confdefs.h
>>conftest.
$ac_ext
12106 cat >>conftest.
$ac_ext <<_ACEOF
12107 /* end confdefs.h. */
12109 /* Override any GCC internal prototype to avoid an error.
12110 Use char because int might match the return type of a GCC
12111 builtin and then its argument prototype would still apply. */
12115 char cmsOpenProfileFromFile ();
12119 return cmsOpenProfileFromFile ();
12124 rm -f conftest.
$ac_objext conftest
$ac_exeext
12125 if { (ac_try
="$ac_link"
12126 case "(($ac_try" in
12127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12128 *) ac_try_echo=$ac_try;;
12130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12131 (eval "$ac_link") 2>conftest.er1
12133 grep -v '^ *+' conftest.er1 >conftest.err
12135 cat conftest.err >&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); } &&
12138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12139 { (case "(($ac_try" in
12140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12141 *) ac_try_echo
=$ac_try;;
12143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12144 (eval "$ac_try") 2>&5
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); }; } &&
12148 { ac_try
='test -s conftest$ac_exeext'
12149 { (case "(($ac_try" in
12150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12151 *) ac_try_echo=$ac_try;;
12153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12154 (eval "$ac_try") 2>&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); }; }; then
12158 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12160 echo "$as_me: failed program was:" >&5
12161 sed 's/^/| /' conftest.$ac_ext >&5
12163 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12166 rm -f core conftest.err conftest.$ac_objext \
12167 conftest$ac_exeext conftest.$ac_ext
12168 LIBS=$ac_check_lib_save_LIBS
12170 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12171 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12172 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12174 cat >>confdefs.h <<\_ACEOF
12175 #define HAVE_LCMS 1
12185 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12187 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12188 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12189 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 ac_check_lib_save_LIBS=$LIBS
12193 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12194 cat >conftest.$ac_ext <<_ACEOF
12197 cat confdefs.h >>conftest.$ac_ext
12198 cat >>conftest.$ac_ext <<_ACEOF
12199 /* end confdefs.h. */
12201 /* Override any GCC internal prototype to avoid an error.
12202 Use char because int might match the return type of a GCC
12203 builtin and then its argument prototype would still apply. */
12207 char ldap_initialize ();
12211 return ldap_initialize ();
12216 rm -f conftest.$ac_objext conftest$ac_exeext
12217 if { (ac_try="$ac_link"
12218 case "(($ac_try" in
12219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12220 *) ac_try_echo
=$ac_try;;
12222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12223 (eval "$ac_link") 2>conftest.er1
12225 grep -v '^ *+' conftest.er1
>conftest.err
12227 cat conftest.err
>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } &&
12230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12231 { (case "(($ac_try" in
12232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12233 *) ac_try_echo=$ac_try;;
12235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12236 (eval "$ac_try") 2>&5
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); }; } &&
12240 { ac_try='test -s conftest$ac_exeext'
12241 { (case "(($ac_try" in
12242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12243 *) ac_try_echo
=$ac_try;;
12245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12246 (eval "$ac_try") 2>&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; }; then
12250 ac_cv_lib_ldap_r_ldap_initialize
=yes
12252 echo "$as_me: failed program was:" >&5
12253 sed 's/^/| /' conftest.
$ac_ext >&5
12255 ac_cv_lib_ldap_r_ldap_initialize
=no
12258 rm -f core conftest.err conftest.
$ac_objext \
12259 conftest
$ac_exeext conftest.
$ac_ext
12260 LIBS
=$ac_check_lib_save_LIBS
12262 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12263 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12264 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12265 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12266 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12267 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12268 echo $ECHO_N "(cached) $ECHO_C" >&6
12270 ac_check_lib_save_LIBS
=$LIBS
12271 LIBS
="-llber $LIBPTHREAD $LIBS"
12272 cat >conftest.
$ac_ext <<_ACEOF
12275 cat confdefs.h
>>conftest.
$ac_ext
12276 cat >>conftest.
$ac_ext <<_ACEOF
12277 /* end confdefs.h. */
12279 /* Override any GCC internal prototype to avoid an error.
12280 Use char because int might match the return type of a GCC
12281 builtin and then its argument prototype would still apply. */
12289 return ber_init ();
12294 rm -f conftest.
$ac_objext conftest
$ac_exeext
12295 if { (ac_try
="$ac_link"
12296 case "(($ac_try" in
12297 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12298 *) ac_try_echo=$ac_try;;
12300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12301 (eval "$ac_link") 2>conftest.er1
12303 grep -v '^ *+' conftest.er1 >conftest.err
12305 cat conftest.err >&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); } &&
12308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12309 { (case "(($ac_try" in
12310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12311 *) ac_try_echo
=$ac_try;;
12313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12314 (eval "$ac_try") 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; } &&
12318 { ac_try
='test -s conftest$ac_exeext'
12319 { (case "(($ac_try" in
12320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12321 *) ac_try_echo=$ac_try;;
12323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12324 (eval "$ac_try") 2>&5
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); }; }; then
12328 ac_cv_lib_lber_ber_init=yes
12330 echo "$as_me: failed program was:" >&5
12331 sed 's/^/| /' conftest.$ac_ext >&5
12333 ac_cv_lib_lber_ber_init=no
12336 rm -f core conftest.err conftest.$ac_objext \
12337 conftest$ac_exeext conftest.$ac_ext
12338 LIBS=$ac_check_lib_save_LIBS
12340 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12341 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12342 if test $ac_cv_lib_lber_ber_init = yes; then
12344 cat >>confdefs.h <<\_ACEOF
12345 #define HAVE_LDAP 1
12348 LDAPLIBS="-lldap_r -llber"
12353 ac_wine_check_funcs_save_LIBS="$LIBS"
12354 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12360 ldap_count_references \
12361 ldap_first_reference \
12362 ldap_next_reference \
12363 ldap_parse_reference
12365 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12369 echo $ECHO_N "(cached) $ECHO_C" >&6
12371 cat >conftest.$ac_ext <<_ACEOF
12374 cat confdefs.h >>conftest.$ac_ext
12375 cat >>conftest.$ac_ext <<_ACEOF
12376 /* end confdefs.h. */
12377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12379 #define $ac_func innocuous_$ac_func
12381 /* System header to define __stub macros and hopefully few prototypes,
12382 which can conflict with char $ac_func (); below.
12383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12384 <limits.h> exists even on freestanding compilers. */
12387 # include <limits.h>
12389 # include <assert.h>
12394 /* Override any GCC internal prototype to avoid an error.
12395 Use char because int might match the return type of a GCC
12396 builtin and then its argument prototype would still apply. */
12401 /* The GNU C library defines this for functions which it implements
12402 to always fail with ENOSYS. Some functions are actually named
12403 something starting with __ and the normal name is an alias. */
12404 #if defined __stub_$ac_func || defined __stub___$ac_func
12411 return $ac_func ();
12416 rm -f conftest.$ac_objext conftest$ac_exeext
12417 if { (ac_try="$ac_link"
12418 case "(($ac_try" in
12419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12420 *) ac_try_echo
=$ac_try;;
12422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12423 (eval "$ac_link") 2>conftest.er1
12425 grep -v '^ *+' conftest.er1
>conftest.err
12427 cat conftest.err
>&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); } &&
12430 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12431 { (case "(($ac_try" in
12432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12433 *) ac_try_echo=$ac_try;;
12435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12436 (eval "$ac_try") 2>&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; } &&
12440 { ac_try='test -s conftest$ac_exeext'
12441 { (case "(($ac_try" in
12442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12443 *) ac_try_echo
=$ac_try;;
12445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12446 (eval "$ac_try") 2>&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); }; }; then
12450 eval "$as_ac_var=yes"
12452 echo "$as_me: failed program was:" >&5
12453 sed 's/^/| /' conftest.
$ac_ext >&5
12455 eval "$as_ac_var=no"
12458 rm -f core conftest.err conftest.
$ac_objext \
12459 conftest
$ac_exeext conftest.
$ac_ext
12461 ac_res
=`eval echo '${'$as_ac_var'}'`
12462 { echo "$as_me:$LINENO: result: $ac_res" >&5
12463 echo "${ECHO_T}$ac_res" >&6; }
12464 if test `eval echo '${'$as_ac_var'}'` = yes; then
12465 cat >>confdefs.h
<<_ACEOF
12466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12472 LIBS
="$ac_wine_check_funcs_save_LIBS"
12479 # Extract the first word of "freetype-config", so it can be a program name with args.
12480 set dummy freetype-config
; ac_word
=$2
12481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12483 if test "${ac_cv_prog_ft_devel+set}" = set; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 if test -n "$ft_devel"; then
12487 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
12489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12490 for as_dir
in $PATH
12493 test -z "$as_dir" && as_dir
=.
12494 for ac_exec_ext
in '' $ac_executable_extensions; do
12495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12496 ac_cv_prog_ft_devel
="freetype-config"
12497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12504 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
12507 ft_devel
=$ac_cv_prog_ft_devel
12508 if test -n "$ft_devel"; then
12509 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12510 echo "${ECHO_T}$ft_devel" >&6; }
12512 { echo "$as_me:$LINENO: result: no" >&5
12513 echo "${ECHO_T}no" >&6; }
12517 if test "$ft_devel" = "no"
12519 # Extract the first word of "freetype2-config", so it can be a program name with args.
12520 set dummy freetype2-config
; ac_word
=$2
12521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12523 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 if test -n "$ft_devel2"; then
12527 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
12529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12530 for as_dir
in $PATH
12533 test -z "$as_dir" && as_dir
=.
12534 for ac_exec_ext
in '' $ac_executable_extensions; do
12535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12536 ac_cv_prog_ft_devel2
="freetype2-config"
12537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12544 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
12547 ft_devel2
=$ac_cv_prog_ft_devel2
12548 if test -n "$ft_devel2"; then
12549 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12550 echo "${ECHO_T}$ft_devel2" >&6; }
12552 { echo "$as_me:$LINENO: result: no" >&5
12553 echo "${ECHO_T}no" >&6; }
12557 if test "$ft_devel2" = "freetype2-config"
12559 ft_devel
=$ft_devel2
12563 if test "$ft_devel" = "no"
12565 wine_cv_msg_freetype
=yes
12567 FREETYPELIBS
=`$ft_devel --libs`
12568 FREETYPEINCL
=`$ft_devel --cflags`
12569 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12570 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12571 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12572 echo $ECHO_N "(cached) $ECHO_C" >&6
12574 ac_check_lib_save_LIBS
=$LIBS
12575 LIBS
="-lfreetype $FREETYPELIBS $LIBS"
12576 cat >conftest.
$ac_ext <<_ACEOF
12579 cat confdefs.h
>>conftest.
$ac_ext
12580 cat >>conftest.
$ac_ext <<_ACEOF
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12589 char FT_Init_FreeType ();
12593 return FT_Init_FreeType ();
12598 rm -f conftest.
$ac_objext conftest
$ac_exeext
12599 if { (ac_try
="$ac_link"
12600 case "(($ac_try" in
12601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12602 *) ac_try_echo=$ac_try;;
12604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12605 (eval "$ac_link") 2>conftest.er1
12607 grep -v '^ *+' conftest.er1 >conftest.err
12609 cat conftest.err >&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); } &&
12612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12613 { (case "(($ac_try" in
12614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12615 *) ac_try_echo
=$ac_try;;
12617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12618 (eval "$ac_try") 2>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; } &&
12622 { ac_try
='test -s conftest$ac_exeext'
12623 { (case "(($ac_try" in
12624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12625 *) ac_try_echo=$ac_try;;
12627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12628 (eval "$ac_try") 2>&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); }; }; then
12632 ac_cv_lib_freetype_FT_Init_FreeType=yes
12634 echo "$as_me: failed program was:" >&5
12635 sed 's/^/| /' conftest.$ac_ext >&5
12637 ac_cv_lib_freetype_FT_Init_FreeType=no
12640 rm -f core conftest.err conftest.$ac_objext \
12641 conftest$ac_exeext conftest.$ac_ext
12642 LIBS=$ac_check_lib_save_LIBS
12644 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12645 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12646 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12652 if test "$ft_lib" = "no"
12654 wine_cv_msg_freetype=yes
12658 ac_save_CPPFLAGS="$CPPFLAGS"
12659 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12671 for ac_header in ft2build.h \
12672 freetype/freetype.h \
12673 freetype/ftglyph.h \
12674 freetype/tttables.h \
12675 freetype/ftnames.h \
12676 freetype/ftsnames.h \
12677 freetype/ttnameid.h \
12678 freetype/ftoutln.h \
12679 freetype/ftwinfnt.h \
12680 freetype/ftmodapi.h \
12681 freetype/internal/sfnt.h
12683 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12684 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12687 echo $ECHO_N "(cached) $ECHO_C" >&6
12689 cat >conftest.$ac_ext <<_ACEOF
12692 cat confdefs.h >>conftest.$ac_ext
12693 cat >>conftest.$ac_ext <<_ACEOF
12694 /* end confdefs.h. */
12695 #if HAVE_FT2BUILD_H
12696 #include <ft2build.h>
12699 #include <$ac_header>
12701 rm -f conftest.$ac_objext
12702 if { (ac_try="$ac_compile"
12703 case "(($ac_try" in
12704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12705 *) ac_try_echo
=$ac_try;;
12707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12708 (eval "$ac_compile") 2>conftest.er1
12710 grep -v '^ *+' conftest.er1
>conftest.err
12712 cat conftest.err
>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); } &&
12715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12716 { (case "(($ac_try" in
12717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12718 *) ac_try_echo=$ac_try;;
12720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12721 (eval "$ac_try") 2>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; } &&
12725 { ac_try='test -s conftest.$ac_objext'
12726 { (case "(($ac_try" in
12727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12728 *) ac_try_echo
=$ac_try;;
12730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12731 (eval "$ac_try") 2>&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); }; }; then
12735 eval "$as_ac_Header=yes"
12737 echo "$as_me: failed program was:" >&5
12738 sed 's/^/| /' conftest.
$ac_ext >&5
12740 eval "$as_ac_Header=no"
12743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12745 ac_res
=`eval echo '${'$as_ac_Header'}'`
12746 { echo "$as_me:$LINENO: result: $ac_res" >&5
12747 echo "${ECHO_T}$ac_res" >&6; }
12748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12749 cat >>confdefs.h
<<_ACEOF
12750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12757 cat >conftest.
$ac_ext <<_ACEOF
12760 cat confdefs.h
>>conftest.
$ac_ext
12761 cat >>conftest.
$ac_ext <<_ACEOF
12762 /* end confdefs.h. */
12763 #include <ft2build.h>
12764 #include <freetype/fttrigon.h>
12766 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12767 case "(($ac_try" in
12768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12769 *) ac_try_echo=$ac_try;;
12771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12774 grep -v '^ *+' conftest.er1 >conftest.err
12776 cat conftest.err >&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } >/dev/null; then
12779 if test -s conftest.err; then
12780 ac_cpp_err=$ac_c_preproc_warn_flag
12781 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12788 if test -z "$ac_cpp_err"; then
12790 cat >>confdefs.h <<\_ACEOF
12791 #define HAVE_FREETYPE_FTTRIGON_H 1
12794 wine_cv_fttrigon=yes
12796 echo "$as_me: failed program was:" >&5
12797 sed 's/^/| /' conftest.$ac_ext >&5
12799 wine_cv_fttrigon=no
12802 rm -f conftest.err conftest.$ac_ext
12803 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12804 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12805 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6
12808 cat >conftest.$ac_ext <<_ACEOF
12811 cat confdefs.h >>conftest.$ac_ext
12812 cat >>conftest.$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12814 #include <freetype/ftmodapi.h>
12816 typedef FT_TrueTypeEngineType ac__type_new_;
12820 if ((ac__type_new_ *) 0)
12822 if (sizeof (ac__type_new_))
12828 rm -f conftest.$ac_objext
12829 if { (ac_try="$ac_compile"
12830 case "(($ac_try" in
12831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12832 *) ac_try_echo
=$ac_try;;
12834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12835 (eval "$ac_compile") 2>conftest.er1
12837 grep -v '^ *+' conftest.er1
>conftest.err
12839 cat conftest.err
>&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); } &&
12842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12843 { (case "(($ac_try" in
12844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12845 *) ac_try_echo=$ac_try;;
12847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12848 (eval "$ac_try") 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; } &&
12852 { ac_try='test -s conftest.$ac_objext'
12853 { (case "(($ac_try" in
12854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12855 *) ac_try_echo
=$ac_try;;
12857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12858 (eval "$ac_try") 2>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); }; }; then
12862 ac_cv_type_FT_TrueTypeEngineType
=yes
12864 echo "$as_me: failed program was:" >&5
12865 sed 's/^/| /' conftest.
$ac_ext >&5
12867 ac_cv_type_FT_TrueTypeEngineType
=no
12870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12872 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12873 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12874 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12876 cat >>confdefs.h
<<_ACEOF
12877 #define HAVE_FT_TRUETYPEENGINETYPE 1
12883 ac_save_CFLAGS
="$CFLAGS"
12884 CFLAGS
="$CFLAGS $FREETYPELIBS"
12886 for ac_func
in FT_Load_Sfnt_Table
12888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12889 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12891 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12892 echo $ECHO_N "(cached) $ECHO_C" >&6
12894 cat >conftest.
$ac_ext <<_ACEOF
12897 cat confdefs.h
>>conftest.
$ac_ext
12898 cat >>conftest.
$ac_ext <<_ACEOF
12899 /* end confdefs.h. */
12900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12902 #define $ac_func innocuous_$ac_func
12904 /* System header to define __stub macros and hopefully few prototypes,
12905 which can conflict with char $ac_func (); below.
12906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12907 <limits.h> exists even on freestanding compilers. */
12910 # include <limits.h>
12912 # include <assert.h>
12917 /* Override any GCC internal prototype to avoid an error.
12918 Use char because int might match the return type of a GCC
12919 builtin and then its argument prototype would still apply. */
12924 /* The GNU C library defines this for functions which it implements
12925 to always fail with ENOSYS. Some functions are actually named
12926 something starting with __ and the normal name is an alias. */
12927 #if defined __stub_$ac_func || defined __stub___$ac_func
12934 return $ac_func ();
12939 rm -f conftest.
$ac_objext conftest
$ac_exeext
12940 if { (ac_try
="$ac_link"
12941 case "(($ac_try" in
12942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12943 *) ac_try_echo=$ac_try;;
12945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12946 (eval "$ac_link") 2>conftest.er1
12948 grep -v '^ *+' conftest.er1 >conftest.err
12950 cat conftest.err >&5
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); } &&
12953 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12954 { (case "(($ac_try" in
12955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12956 *) ac_try_echo
=$ac_try;;
12958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12959 (eval "$ac_try") 2>&5
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); }; } &&
12963 { ac_try
='test -s conftest$ac_exeext'
12964 { (case "(($ac_try" in
12965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12966 *) ac_try_echo=$ac_try;;
12968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12969 (eval "$ac_try") 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; }; then
12973 eval "$as_ac_var=yes"
12975 echo "$as_me: failed program was:" >&5
12976 sed 's/^/| /' conftest.$ac_ext >&5
12978 eval "$as_ac_var=no"
12981 rm -f core conftest.err conftest.$ac_objext \
12982 conftest$ac_exeext conftest.$ac_ext
12984 ac_res=`eval echo '${'$as_ac_var'}'`
12985 { echo "$as_me:$LINENO: result: $ac_res" >&5
12986 echo "${ECHO_T}$ac_res" >&6; }
12987 if test `eval echo '${'$as_ac_var'}'` = yes; then
12988 cat >>confdefs.h <<_ACEOF
12989 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12995 CFLAGS="$ac_save_CFLAGS"
12996 CPPFLAGS="$ac_save_CPPFLAGS"
12997 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13000 cat >>confdefs.h <<\_ACEOF
13001 #define HAVE_FREETYPE 1
13004 wine_cv_msg_freetype=no
13008 wine_cv_msg_freetype=yes
13013 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13015 FONTSSUBDIRS="fonts"
13019 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13020 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13021 if test "${ac_cv_c_ppdev+set}" = set; then
13022 echo $ECHO_N "(cached) $ECHO_C" >&6
13024 cat >conftest.$ac_ext <<_ACEOF
13027 cat confdefs.h >>conftest.$ac_ext
13028 cat >>conftest.$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13030 #include <linux/ppdev.h>
13034 ioctl (1,PPCLAIM,0)
13039 rm -f conftest.$ac_objext
13040 if { (ac_try="$ac_compile"
13041 case "(($ac_try" in
13042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13043 *) ac_try_echo
=$ac_try;;
13045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13046 (eval "$ac_compile") 2>conftest.er1
13048 grep -v '^ *+' conftest.er1
>conftest.err
13050 cat conftest.err
>&5
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); } &&
13053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13054 { (case "(($ac_try" in
13055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13056 *) ac_try_echo=$ac_try;;
13058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13059 (eval "$ac_try") 2>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); }; } &&
13063 { ac_try='test -s conftest.$ac_objext'
13064 { (case "(($ac_try" in
13065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13066 *) ac_try_echo
=$ac_try;;
13068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13069 (eval "$ac_try") 2>&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; }; then
13073 ac_cv_c_ppdev
="yes"
13075 echo "$as_me: failed program was:" >&5
13076 sed 's/^/| /' conftest.
$ac_ext >&5
13081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13084 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13085 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13086 if test "$ac_cv_c_ppdev" = "yes"
13089 cat >>confdefs.h
<<\_ACEOF
13090 #define HAVE_PPDEV 1
13095 { echo "$as_me:$LINENO: checking for va_copy" >&5
13096 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13097 if test "${ac_cv_c_va_copy+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13100 cat >conftest.
$ac_ext <<_ACEOF
13103 cat confdefs.h
>>conftest.
$ac_ext
13104 cat >>conftest.
$ac_ext <<_ACEOF
13105 /* end confdefs.h. */
13106 #include <stdarg.h>
13117 rm -f conftest.
$ac_objext conftest
$ac_exeext
13118 if { (ac_try
="$ac_link"
13119 case "(($ac_try" in
13120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13121 *) ac_try_echo=$ac_try;;
13123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13124 (eval "$ac_link") 2>conftest.er1
13126 grep -v '^ *+' conftest.er1 >conftest.err
13128 cat conftest.err >&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } &&
13131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13132 { (case "(($ac_try" in
13133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13134 *) ac_try_echo
=$ac_try;;
13136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13137 (eval "$ac_try") 2>&5
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); }; } &&
13141 { ac_try
='test -s conftest$ac_exeext'
13142 { (case "(($ac_try" in
13143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13144 *) ac_try_echo=$ac_try;;
13146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13147 (eval "$ac_try") 2>&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); }; }; then
13151 ac_cv_c_va_copy="yes"
13153 echo "$as_me: failed program was:" >&5
13154 sed 's/^/| /' conftest.$ac_ext >&5
13156 ac_cv_c_va_copy="no"
13159 rm -f core conftest.err conftest.$ac_objext \
13160 conftest$ac_exeext conftest.$ac_ext
13163 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13164 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13165 if test "$ac_cv_c_va_copy" = "yes"
13168 cat >>confdefs.h <<\_ACEOF
13169 #define HAVE_VA_COPY 1
13173 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13174 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13175 if test "${ac_cv_c___va_copy+set}" = set; then
13176 echo $ECHO_N "(cached) $ECHO_C" >&6
13178 cat >conftest.$ac_ext <<_ACEOF
13181 cat confdefs.h >>conftest.$ac_ext
13182 cat >>conftest.$ac_ext <<_ACEOF
13183 /* end confdefs.h. */
13184 #include <stdarg.h>
13189 __va_copy(ap1,ap2);
13195 rm -f conftest.$ac_objext conftest$ac_exeext
13196 if { (ac_try="$ac_link"
13197 case "(($ac_try" in
13198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13199 *) ac_try_echo
=$ac_try;;
13201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13202 (eval "$ac_link") 2>conftest.er1
13204 grep -v '^ *+' conftest.er1
>conftest.err
13206 cat conftest.err
>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); } &&
13209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13210 { (case "(($ac_try" in
13211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13212 *) ac_try_echo=$ac_try;;
13214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13215 (eval "$ac_try") 2>&5
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; } &&
13219 { ac_try='test -s conftest$ac_exeext'
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_try") 2>&5
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); }; }; then
13229 ac_cv_c___va_copy
="yes"
13231 echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.
$ac_ext >&5
13234 ac_cv_c___va_copy
="no"
13237 rm -f core conftest.err conftest.
$ac_objext \
13238 conftest
$ac_exeext conftest.
$ac_ext
13241 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13242 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13243 if test "$ac_cv_c___va_copy" = "yes"
13246 cat >>confdefs.h
<<\_ACEOF
13247 #define HAVE___VA_COPY 1
13252 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13253 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13254 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13255 echo $ECHO_N "(cached) $ECHO_C" >&6
13257 cat >conftest.
$ac_ext <<_ACEOF
13260 cat confdefs.h
>>conftest.
$ac_ext
13261 cat >>conftest.
$ac_ext <<_ACEOF
13262 /* end confdefs.h. */
13263 #include <setjmp.h>
13268 sigsetjmp( buf, 1 );
13269 siglongjmp( buf, 1 );
13274 rm -f conftest.
$ac_objext conftest
$ac_exeext
13275 if { (ac_try
="$ac_link"
13276 case "(($ac_try" in
13277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13278 *) ac_try_echo=$ac_try;;
13280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13281 (eval "$ac_link") 2>conftest.er1
13283 grep -v '^ *+' conftest.er1 >conftest.err
13285 cat conftest.err >&5
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); } &&
13288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13289 { (case "(($ac_try" in
13290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13291 *) ac_try_echo
=$ac_try;;
13293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13294 (eval "$ac_try") 2>&5
13296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 (exit $ac_status); }; } &&
13298 { ac_try
='test -s conftest$ac_exeext'
13299 { (case "(($ac_try" in
13300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13301 *) ac_try_echo=$ac_try;;
13303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13304 (eval "$ac_try") 2>&5
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); }; }; then
13308 ac_cv_c_sigsetjmp="yes"
13310 echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.$ac_ext >&5
13313 ac_cv_c_sigsetjmp="no"
13316 rm -f core conftest.err conftest.$ac_objext \
13317 conftest$ac_exeext conftest.$ac_ext
13320 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13321 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13322 if test "$ac_cv_c_sigsetjmp" = "yes"
13325 cat >>confdefs.h <<\_ACEOF
13326 #define HAVE_SIGSETJMP 1
13331 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13332 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13333 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13334 echo $ECHO_N "(cached) $ECHO_C" >&6
13336 cat >conftest.$ac_ext <<_ACEOF
13339 cat confdefs.h >>conftest.$ac_ext
13340 cat >>conftest.$ac_ext <<_ACEOF
13341 /* end confdefs.h. */
13342 #define _GNU_SOURCE
13343 #include <pthread.h>
13345 typedef pthread_rwlock_t ac__type_new_;
13349 if ((ac__type_new_ *) 0)
13351 if (sizeof (ac__type_new_))
13357 rm -f conftest.$ac_objext
13358 if { (ac_try="$ac_compile"
13359 case "(($ac_try" in
13360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13361 *) ac_try_echo
=$ac_try;;
13363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13364 (eval "$ac_compile") 2>conftest.er1
13366 grep -v '^ *+' conftest.er1
>conftest.err
13368 cat conftest.err
>&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } &&
13371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13372 { (case "(($ac_try" in
13373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13374 *) ac_try_echo=$ac_try;;
13376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13377 (eval "$ac_try") 2>&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); }; } &&
13381 { ac_try='test -s conftest.$ac_objext'
13382 { (case "(($ac_try" in
13383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13384 *) ac_try_echo
=$ac_try;;
13386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13387 (eval "$ac_try") 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; }; then
13391 ac_cv_type_pthread_rwlock_t
=yes
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.
$ac_ext >&5
13396 ac_cv_type_pthread_rwlock_t
=no
13399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13401 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13402 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13403 if test $ac_cv_type_pthread_rwlock_t = yes; then
13405 cat >>confdefs.h
<<_ACEOF
13406 #define HAVE_PTHREAD_RWLOCK_T 1
13411 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13412 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13413 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13414 echo $ECHO_N "(cached) $ECHO_C" >&6
13416 cat >conftest.
$ac_ext <<_ACEOF
13419 cat confdefs.h
>>conftest.
$ac_ext
13420 cat >>conftest.
$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13422 #define _GNU_SOURCE
13423 #include <pthread.h>
13425 typedef pthread_rwlockattr_t ac__type_new_;
13429 if ((ac__type_new_ *) 0)
13431 if (sizeof (ac__type_new_))
13437 rm -f conftest.
$ac_objext
13438 if { (ac_try
="$ac_compile"
13439 case "(($ac_try" in
13440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13441 *) ac_try_echo=$ac_try;;
13443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13444 (eval "$ac_compile") 2>conftest.er1
13446 grep -v '^ *+' conftest.er1 >conftest.err
13448 cat conftest.err >&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } &&
13451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13452 { (case "(($ac_try" in
13453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13454 *) ac_try_echo
=$ac_try;;
13456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13457 (eval "$ac_try") 2>&5
13459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); }; } &&
13461 { ac_try
='test -s conftest.$ac_objext'
13462 { (case "(($ac_try" in
13463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13464 *) ac_try_echo=$ac_try;;
13466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13467 (eval "$ac_try") 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; }; then
13471 ac_cv_type_pthread_rwlockattr_t=yes
13473 echo "$as_me: failed program was:" >&5
13474 sed 's/^/| /' conftest.$ac_ext >&5
13476 ac_cv_type_pthread_rwlockattr_t=no
13479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13481 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13482 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13483 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13485 cat >>confdefs.h <<_ACEOF
13486 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13493 ac_wine_check_funcs_save_LIBS="$LIBS"
13494 LIBS="$LIBS $LIBPTHREAD"
13500 pthread_attr_get_np \
13501 pthread_getattr_np \
13502 pthread_get_stackaddr_np \
13503 pthread_get_stacksize_np
13505 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13506 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13508 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13509 echo $ECHO_N "(cached) $ECHO_C" >&6
13511 cat >conftest.$ac_ext <<_ACEOF
13514 cat confdefs.h >>conftest.$ac_ext
13515 cat >>conftest.$ac_ext <<_ACEOF
13516 /* end confdefs.h. */
13517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13519 #define $ac_func innocuous_$ac_func
13521 /* System header to define __stub macros and hopefully few prototypes,
13522 which can conflict with char $ac_func (); below.
13523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13524 <limits.h> exists even on freestanding compilers. */
13527 # include <limits.h>
13529 # include <assert.h>
13534 /* Override any GCC internal prototype to avoid an error.
13535 Use char because int might match the return type of a GCC
13536 builtin and then its argument prototype would still apply. */
13541 /* The GNU C library defines this for functions which it implements
13542 to always fail with ENOSYS. Some functions are actually named
13543 something starting with __ and the normal name is an alias. */
13544 #if defined __stub_$ac_func || defined __stub___$ac_func
13551 return $ac_func ();
13556 rm -f conftest.$ac_objext conftest$ac_exeext
13557 if { (ac_try="$ac_link"
13558 case "(($ac_try" in
13559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13560 *) ac_try_echo
=$ac_try;;
13562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13563 (eval "$ac_link") 2>conftest.er1
13565 grep -v '^ *+' conftest.er1
>conftest.err
13567 cat conftest.err
>&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); } &&
13570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13571 { (case "(($ac_try" in
13572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13573 *) ac_try_echo=$ac_try;;
13575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13576 (eval "$ac_try") 2>&5
13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); }; } &&
13580 { ac_try='test -s conftest$ac_exeext'
13581 { (case "(($ac_try" in
13582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13583 *) ac_try_echo
=$ac_try;;
13585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13586 (eval "$ac_try") 2>&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); }; }; then
13590 eval "$as_ac_var=yes"
13592 echo "$as_me: failed program was:" >&5
13593 sed 's/^/| /' conftest.
$ac_ext >&5
13595 eval "$as_ac_var=no"
13598 rm -f core conftest.err conftest.
$ac_objext \
13599 conftest
$ac_exeext conftest.
$ac_ext
13601 ac_res
=`eval echo '${'$as_ac_var'}'`
13602 { echo "$as_me:$LINENO: result: $ac_res" >&5
13603 echo "${ECHO_T}$ac_res" >&6; }
13604 if test `eval echo '${'$as_ac_var'}'` = yes; then
13605 cat >>confdefs.h
<<_ACEOF
13606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13612 LIBS
="$ac_wine_check_funcs_save_LIBS"
13614 # Extract the first word of "artsc-config", so it can be a program name with args.
13615 set dummy artsc-config
; ac_word
=$2
13616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13618 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13619 echo $ECHO_N "(cached) $ECHO_C" >&6
13621 case $ARTSCCONFIG in
13623 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
13626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13627 for as_dir
in $PATH
13630 test -z "$as_dir" && as_dir
=.
13631 for ac_exec_ext
in '' $ac_executable_extensions; do
13632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13633 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
13634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13644 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
13645 if test -n "$ARTSCCONFIG"; then
13646 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13647 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13649 { echo "$as_me:$LINENO: result: no" >&5
13650 echo "${ECHO_T}no" >&6; }
13654 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
13657 for i
in `$ARTSCCONFIG --cflags`
13660 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
13664 for i
in `$ARTSCCONFIG --libs`
13667 -L/usr
/lib|
-L/usr
/lib64
) ;;
13668 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
13671 save_CFLAGS
="$CFLAGS"
13672 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
13673 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13674 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13675 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13676 echo $ECHO_N "(cached) $ECHO_C" >&6
13678 ac_check_lib_save_LIBS
=$LIBS
13679 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
13680 cat >conftest.
$ac_ext <<_ACEOF
13683 cat confdefs.h
>>conftest.
$ac_ext
13684 cat >>conftest.
$ac_ext <<_ACEOF
13685 /* end confdefs.h. */
13687 /* Override any GCC internal prototype to avoid an error.
13688 Use char because int might match the return type of a GCC
13689 builtin and then its argument prototype would still apply. */
13697 return arts_init ();
13702 rm -f conftest.
$ac_objext conftest
$ac_exeext
13703 if { (ac_try
="$ac_link"
13704 case "(($ac_try" in
13705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13706 *) ac_try_echo=$ac_try;;
13708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13709 (eval "$ac_link") 2>conftest.er1
13711 grep -v '^ *+' conftest.er1 >conftest.err
13713 cat conftest.err >&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); } &&
13716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13717 { (case "(($ac_try" in
13718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13719 *) ac_try_echo
=$ac_try;;
13721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13722 (eval "$ac_try") 2>&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); }; } &&
13726 { ac_try
='test -s conftest$ac_exeext'
13727 { (case "(($ac_try" in
13728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13729 *) ac_try_echo=$ac_try;;
13731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13732 (eval "$ac_try") 2>&5
13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); }; }; then
13736 ac_cv_lib_artsc_arts_init=yes
13738 echo "$as_me: failed program was:" >&5
13739 sed 's/^/| /' conftest.$ac_ext >&5
13741 ac_cv_lib_artsc_arts_init=no
13744 rm -f core conftest.err conftest.$ac_objext \
13745 conftest$ac_exeext conftest.$ac_ext
13746 LIBS=$ac_check_lib_save_LIBS
13748 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13749 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13750 if test $ac_cv_lib_artsc_arts_init = yes; then
13751 cat >conftest.$ac_ext <<_ACEOF
13754 cat confdefs.h >>conftest.$ac_ext
13755 cat >>conftest.$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13761 arts_stream_t stream;
13766 rm -f conftest.$ac_objext
13767 if { (ac_try="$ac_compile"
13768 case "(($ac_try" in
13769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13770 *) ac_try_echo
=$ac_try;;
13772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13773 (eval "$ac_compile") 2>conftest.er1
13775 grep -v '^ *+' conftest.er1
>conftest.err
13777 cat conftest.err
>&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); } &&
13780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13781 { (case "(($ac_try" in
13782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13783 *) ac_try_echo=$ac_try;;
13785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13786 (eval "$ac_try") 2>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; } &&
13790 { ac_try='test -s conftest.$ac_objext'
13791 { (case "(($ac_try" in
13792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13793 *) ac_try_echo
=$ac_try;;
13795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13796 (eval "$ac_try") 2>&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); }; }; then
13800 ARTSLIBS
=$ARTSC_LIBS
13802 ARTSINCL
=$ARTSC_CFLAGS
13805 cat >>confdefs.h
<<\_ACEOF
13806 #define HAVE_ARTS 1
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.
$ac_ext >&5
13816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13819 CFLAGS
="$save_CFLAGS"
13822 # Extract the first word of "esd-config", so it can be a program name with args.
13823 set dummy esd-config
; ac_word
=$2
13824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13826 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13827 echo $ECHO_N "(cached) $ECHO_C" >&6
13831 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
13834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13835 for as_dir
in $PATH
13838 test -z "$as_dir" && as_dir
=.
13839 for ac_exec_ext
in '' $ac_executable_extensions; do
13840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13841 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
13842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13852 ESDCONFIG
=$ac_cv_path_ESDCONFIG
13853 if test -n "$ESDCONFIG"; then
13854 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13855 echo "${ECHO_T}$ESDCONFIG" >&6; }
13857 { echo "$as_me:$LINENO: result: no" >&5
13858 echo "${ECHO_T}no" >&6; }
13862 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
13865 for i
in `$ESDCONFIG --cflags`
13868 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
13871 ESD_LIBS
=`$ESDCONFIG --libs`
13872 save_CFLAGS
="$CFLAGS"
13873 CFLAGS
="$CFLAGS $ESD_CFLAGS"
13874 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13875 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13876 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13879 ac_check_lib_save_LIBS
=$LIBS
13881 cat >conftest.
$ac_ext <<_ACEOF
13884 cat confdefs.h
>>conftest.
$ac_ext
13885 cat >>conftest.
$ac_ext <<_ACEOF
13886 /* end confdefs.h. */
13888 /* Override any GCC internal prototype to avoid an error.
13889 Use char because int might match the return type of a GCC
13890 builtin and then its argument prototype would still apply. */
13894 char esd_open_sound ();
13898 return esd_open_sound ();
13903 rm -f conftest.
$ac_objext conftest
$ac_exeext
13904 if { (ac_try
="$ac_link"
13905 case "(($ac_try" in
13906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13907 *) ac_try_echo=$ac_try;;
13909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13910 (eval "$ac_link") 2>conftest.er1
13912 grep -v '^ *+' conftest.er1 >conftest.err
13914 cat conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); } &&
13917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13918 { (case "(($ac_try" in
13919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13920 *) ac_try_echo
=$ac_try;;
13922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13923 (eval "$ac_try") 2>&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); }; } &&
13927 { ac_try
='test -s conftest$ac_exeext'
13928 { (case "(($ac_try" in
13929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13930 *) ac_try_echo=$ac_try;;
13932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13933 (eval "$ac_try") 2>&5
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); }; }; then
13937 ac_cv_lib_esd_esd_open_sound=yes
13939 echo "$as_me: failed program was:" >&5
13940 sed 's/^/| /' conftest.$ac_ext >&5
13942 ac_cv_lib_esd_esd_open_sound=no
13945 rm -f core conftest.err conftest.$ac_objext \
13946 conftest$ac_exeext conftest.$ac_ext
13947 LIBS=$ac_check_lib_save_LIBS
13949 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13950 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13951 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13954 ESDINCL=$ESD_CFLAGS
13957 cat >>confdefs.h <<\_ACEOF
13963 CFLAGS="$save_CFLAGS"
13968 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13970 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13971 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13972 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13973 echo $ECHO_N "(cached) $ECHO_C" >&6
13975 ac_check_lib_save_LIBS=$LIBS
13976 LIBS="-lasound $LIBS"
13977 cat >conftest.$ac_ext <<_ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13984 /* Override any GCC internal prototype to avoid an error.
13985 Use char because int might match the return type of a GCC
13986 builtin and then its argument prototype would still apply. */
13990 char snd_pcm_hw_params_get_access ();
13994 return snd_pcm_hw_params_get_access ();
13999 rm -f conftest.$ac_objext conftest$ac_exeext
14000 if { (ac_try="$ac_link"
14001 case "(($ac_try" in
14002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14003 *) ac_try_echo
=$ac_try;;
14005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14006 (eval "$ac_link") 2>conftest.er1
14008 grep -v '^ *+' conftest.er1
>conftest.err
14010 cat conftest.err
>&5
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } &&
14013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14014 { (case "(($ac_try" in
14015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14016 *) ac_try_echo=$ac_try;;
14018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14019 (eval "$ac_try") 2>&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); }; } &&
14023 { ac_try='test -s conftest$ac_exeext'
14024 { (case "(($ac_try" in
14025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14026 *) ac_try_echo
=$ac_try;;
14028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14029 (eval "$ac_try") 2>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; }; then
14033 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.
$ac_ext >&5
14038 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14041 rm -f core conftest.err conftest.
$ac_objext \
14042 conftest
$ac_exeext conftest.
$ac_ext
14043 LIBS
=$ac_check_lib_save_LIBS
14045 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14046 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14047 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14048 cat >conftest.
$ac_ext <<_ACEOF
14051 cat confdefs.h
>>conftest.
$ac_ext
14052 cat >>conftest.
$ac_ext <<_ACEOF
14053 /* end confdefs.h. */
14054 #ifdef HAVE_ALSA_ASOUNDLIB_H
14055 #include <alsa/asoundlib.h>
14056 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14057 #include <sys/asoundlib.h>
14062 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14067 rm -f conftest.
$ac_objext
14068 if { (ac_try
="$ac_compile"
14069 case "(($ac_try" in
14070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14071 *) ac_try_echo=$ac_try;;
14073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14074 (eval "$ac_compile") 2>conftest.er1
14076 grep -v '^ *+' conftest.er1 >conftest.err
14078 cat conftest.err >&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } &&
14081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14082 { (case "(($ac_try" in
14083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14084 *) ac_try_echo
=$ac_try;;
14086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14087 (eval "$ac_try") 2>&5
14089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14090 (exit $ac_status); }; } &&
14091 { ac_try
='test -s conftest.$ac_objext'
14092 { (case "(($ac_try" in
14093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14094 *) ac_try_echo=$ac_try;;
14096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14097 (eval "$ac_try") 2>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); }; }; then
14102 cat >>confdefs.h <<\_ACEOF
14103 #define HAVE_ALSA 1
14106 ALSALIBS="-lasound"
14108 echo "$as_me: failed program was:" >&5
14109 sed 's/^/| /' conftest.$ac_ext >&5
14114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14122 if test "$ac_cv_header_libaudioio_h" = "yes"
14124 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14125 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14126 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14127 echo $ECHO_N "(cached) $ECHO_C" >&6
14129 ac_check_lib_save_LIBS=$LIBS
14130 LIBS="-laudioio $LIBS"
14131 cat >conftest.$ac_ext <<_ACEOF
14134 cat confdefs.h >>conftest.$ac_ext
14135 cat >>conftest.$ac_ext <<_ACEOF
14136 /* end confdefs.h. */
14138 /* Override any GCC internal prototype to avoid an error.
14139 Use char because int might match the return type of a GCC
14140 builtin and then its argument prototype would still apply. */
14144 char AudioIOGetVersion ();
14148 return AudioIOGetVersion ();
14153 rm -f conftest.$ac_objext conftest$ac_exeext
14154 if { (ac_try="$ac_link"
14155 case "(($ac_try" in
14156 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14157 *) ac_try_echo
=$ac_try;;
14159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14160 (eval "$ac_link") 2>conftest.er1
14162 grep -v '^ *+' conftest.er1
>conftest.err
14164 cat conftest.err
>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } &&
14167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14168 { (case "(($ac_try" in
14169 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_try") 2>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; } &&
14177 { ac_try='test -s conftest$ac_exeext'
14178 { (case "(($ac_try" in
14179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14180 *) ac_try_echo
=$ac_try;;
14182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14183 (eval "$ac_try") 2>&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; }; then
14187 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14189 echo "$as_me: failed program was:" >&5
14190 sed 's/^/| /' conftest.
$ac_ext >&5
14192 ac_cv_lib_audioio_AudioIOGetVersion
=no
14195 rm -f core conftest.err conftest.
$ac_objext \
14196 conftest
$ac_exeext conftest.
$ac_ext
14197 LIBS
=$ac_check_lib_save_LIBS
14199 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14200 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14201 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14202 AUDIOIOLIBS
="-laudioio"
14204 cat >>confdefs.h
<<\_ACEOF
14205 #define HAVE_LIBAUDIOIO 1
14213 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14215 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14216 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14217 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14220 ac_check_lib_save_LIBS
=$LIBS
14221 LIBS
="-lcapi20 $LIBS"
14222 cat >conftest.
$ac_ext <<_ACEOF
14225 cat confdefs.h
>>conftest.
$ac_ext
14226 cat >>conftest.
$ac_ext <<_ACEOF
14227 /* end confdefs.h. */
14229 /* Override any GCC internal prototype to avoid an error.
14230 Use char because int might match the return type of a GCC
14231 builtin and then its argument prototype would still apply. */
14235 char capi20_register ();
14239 return capi20_register ();
14244 rm -f conftest.
$ac_objext conftest
$ac_exeext
14245 if { (ac_try
="$ac_link"
14246 case "(($ac_try" in
14247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14248 *) ac_try_echo=$ac_try;;
14250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14251 (eval "$ac_link") 2>conftest.er1
14253 grep -v '^ *+' conftest.er1 >conftest.err
14255 cat conftest.err >&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); } &&
14258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14259 { (case "(($ac_try" in
14260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14261 *) ac_try_echo
=$ac_try;;
14263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14264 (eval "$ac_try") 2>&5
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); }; } &&
14268 { ac_try
='test -s conftest$ac_exeext'
14269 { (case "(($ac_try" in
14270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14271 *) ac_try_echo=$ac_try;;
14273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14274 (eval "$ac_try") 2>&5
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; }; then
14278 ac_cv_lib_capi20_capi20_register=yes
14280 echo "$as_me: failed program was:" >&5
14281 sed 's/^/| /' conftest.$ac_ext >&5
14283 ac_cv_lib_capi20_capi20_register=no
14286 rm -f core conftest.err conftest.$ac_objext \
14287 conftest$ac_exeext conftest.$ac_ext
14288 LIBS=$ac_check_lib_save_LIBS
14290 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14291 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14292 if test $ac_cv_lib_capi20_capi20_register = yes; then
14294 cat >>confdefs.h <<\_ACEOF
14295 #define HAVE_CAPI4LINUX 1
14305 if test "x${GCC}" = "xyes"
14307 EXTRACFLAGS="-Wall -pipe"
14309 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14310 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14311 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14312 echo $ECHO_N "(cached) $ECHO_C" >&6
14314 if test "$cross_compiling" = yes; then
14315 ac_cv_c_gcc_strength_bug="yes"
14317 cat >conftest.$ac_ext <<_ACEOF
14320 cat confdefs.h >>conftest.$ac_ext
14321 cat >>conftest.$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14324 int L[4] = {0,1,2,3};
14326 static int Array[3];
14327 unsigned int B = 3;
14329 for(i=0; i<B; i++) Array[i] = i - 3;
14330 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14333 exit( Array[1] != -2 || L[2] != 3);
14336 rm -f conftest$ac_exeext
14337 if { (ac_try="$ac_link"
14338 case "(($ac_try" in
14339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14340 *) ac_try_echo
=$ac_try;;
14342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14343 (eval "$ac_link") 2>&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14347 { (case "(($ac_try" in
14348 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14349 *) ac_try_echo=$ac_try;;
14351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14352 (eval "$ac_try") 2>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; }; then
14356 ac_cv_c_gcc_strength_bug="no"
14358 echo "$as_me: program exited with status $ac_status" >&5
14359 echo "$as_me: failed program was:" >&5
14360 sed 's/^/| /' conftest.$ac_ext >&5
14362 ( exit $ac_status )
14363 ac_cv_c_gcc_strength_bug="yes"
14365 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14370 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14371 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14372 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14374 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14378 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14379 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14380 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14381 echo $ECHO_N "(cached) $ECHO_C" >&6
14383 ac_wine_try_cflags_saved=$CFLAGS
14384 CFLAGS="$CFLAGS -fshort-wchar"
14385 cat >conftest.$ac_ext <<_ACEOF
14388 cat confdefs.h >>conftest.$ac_ext
14389 cat >>conftest.$ac_ext <<_ACEOF
14390 /* end confdefs.h. */
14400 rm -f conftest.$ac_objext conftest$ac_exeext
14401 if { (ac_try="$ac_link"
14402 case "(($ac_try" in
14403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14404 *) ac_try_echo
=$ac_try;;
14406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14407 (eval "$ac_link") 2>conftest.er1
14409 grep -v '^ *+' conftest.er1
>conftest.err
14411 cat conftest.err
>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); } &&
14414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14415 { (case "(($ac_try" in
14416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14417 *) ac_try_echo=$ac_try;;
14419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14420 (eval "$ac_try") 2>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; } &&
14424 { ac_try='test -s conftest$ac_exeext'
14425 { (case "(($ac_try" in
14426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14427 *) ac_try_echo
=$ac_try;;
14429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14430 (eval "$ac_try") 2>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; }; then
14434 ac_cv_cflags__fshort_wchar
=yes
14436 echo "$as_me: failed program was:" >&5
14437 sed 's/^/| /' conftest.
$ac_ext >&5
14439 ac_cv_cflags__fshort_wchar
=no
14442 rm -f core conftest.err conftest.
$ac_objext \
14443 conftest
$ac_exeext conftest.
$ac_ext
14444 CFLAGS
=$ac_wine_try_cflags_saved
14446 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14447 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14448 if test $ac_cv_cflags__fshort_wchar = yes; then
14450 cat >>confdefs.h
<<\_ACEOF
14451 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14456 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14457 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14458 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14459 echo $ECHO_N "(cached) $ECHO_C" >&6
14461 ac_wine_try_cflags_saved
=$CFLAGS
14462 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14463 cat >conftest.
$ac_ext <<_ACEOF
14466 cat confdefs.h
>>conftest.
$ac_ext
14467 cat >>conftest.
$ac_ext <<_ACEOF
14468 /* end confdefs.h. */
14478 rm -f conftest.
$ac_objext conftest
$ac_exeext
14479 if { (ac_try
="$ac_link"
14480 case "(($ac_try" in
14481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14482 *) ac_try_echo=$ac_try;;
14484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14485 (eval "$ac_link") 2>conftest.er1
14487 grep -v '^ *+' conftest.er1 >conftest.err
14489 cat conftest.err >&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } &&
14492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14493 { (case "(($ac_try" in
14494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14495 *) ac_try_echo
=$ac_try;;
14497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14498 (eval "$ac_try") 2>&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); }; } &&
14502 { ac_try
='test -s conftest$ac_exeext'
14503 { (case "(($ac_try" in
14504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14505 *) ac_try_echo=$ac_try;;
14507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14508 (eval "$ac_try") 2>&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; }; then
14512 ac_cv_cflags__fno_strict_aliasing=yes
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14517 ac_cv_cflags__fno_strict_aliasing=no
14520 rm -f core conftest.err conftest.$ac_objext \
14521 conftest$ac_exeext conftest.$ac_ext
14522 CFLAGS=$ac_wine_try_cflags_saved
14524 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14525 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14526 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14527 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14530 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14531 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14532 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14533 echo $ECHO_N "(cached) $ECHO_C" >&6
14535 ac_wine_try_cflags_saved=$CFLAGS
14536 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14537 cat >conftest.$ac_ext <<_ACEOF
14540 cat confdefs.h >>conftest.$ac_ext
14541 cat >>conftest.$ac_ext <<_ACEOF
14542 /* end confdefs.h. */
14552 rm -f conftest.$ac_objext conftest$ac_exeext
14553 if { (ac_try="$ac_link"
14554 case "(($ac_try" in
14555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14556 *) ac_try_echo
=$ac_try;;
14558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14559 (eval "$ac_link") 2>conftest.er1
14561 grep -v '^ *+' conftest.er1
>conftest.err
14563 cat conftest.err
>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); } &&
14566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14567 { (case "(($ac_try" in
14568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14569 *) ac_try_echo=$ac_try;;
14571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14572 (eval "$ac_try") 2>&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; } &&
14576 { ac_try='test -s conftest$ac_exeext'
14577 { (case "(($ac_try" in
14578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14579 *) ac_try_echo
=$ac_try;;
14581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14582 (eval "$ac_try") 2>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; }; then
14586 ac_cv_cflags__Wdeclaration_after_statement
=yes
14588 echo "$as_me: failed program was:" >&5
14589 sed 's/^/| /' conftest.
$ac_ext >&5
14591 ac_cv_cflags__Wdeclaration_after_statement
=no
14594 rm -f core conftest.err conftest.
$ac_objext \
14595 conftest
$ac_exeext conftest.
$ac_ext
14596 CFLAGS
=$ac_wine_try_cflags_saved
14598 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14599 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14600 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14601 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14604 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14605 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14606 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14607 echo $ECHO_N "(cached) $ECHO_C" >&6
14609 ac_wine_try_cflags_saved
=$CFLAGS
14610 CFLAGS
="$CFLAGS -Wwrite-strings"
14611 cat >conftest.
$ac_ext <<_ACEOF
14614 cat confdefs.h
>>conftest.
$ac_ext
14615 cat >>conftest.
$ac_ext <<_ACEOF
14616 /* end confdefs.h. */
14626 rm -f conftest.
$ac_objext conftest
$ac_exeext
14627 if { (ac_try
="$ac_link"
14628 case "(($ac_try" in
14629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_link") 2>conftest.er1
14635 grep -v '^ *+' conftest.er1 >conftest.err
14637 cat conftest.err >&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } &&
14640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14641 { (case "(($ac_try" in
14642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14643 *) ac_try_echo
=$ac_try;;
14645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14646 (eval "$ac_try") 2>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; } &&
14650 { ac_try
='test -s conftest$ac_exeext'
14651 { (case "(($ac_try" in
14652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14653 *) ac_try_echo=$ac_try;;
14655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14656 (eval "$ac_try") 2>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); }; }; then
14660 ac_cv_cflags__Wwrite_strings=yes
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.$ac_ext >&5
14665 ac_cv_cflags__Wwrite_strings=no
14668 rm -f core conftest.err conftest.$ac_objext \
14669 conftest$ac_exeext conftest.$ac_ext
14670 CFLAGS=$ac_wine_try_cflags_saved
14672 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14673 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14674 if test $ac_cv_cflags__Wwrite_strings = yes; then
14675 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14679 saved_CFLAGS="$CFLAGS"
14680 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14681 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14682 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14683 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14684 echo $ECHO_N "(cached) $ECHO_C" >&6
14686 cat >conftest.$ac_ext <<_ACEOF
14689 cat confdefs.h >>conftest.$ac_ext
14690 cat >>conftest.$ac_ext <<_ACEOF
14691 /* end confdefs.h. */
14692 #include <string.h>
14701 rm -f conftest.$ac_objext
14702 if { (ac_try="$ac_compile"
14703 case "(($ac_try" in
14704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14705 *) ac_try_echo
=$ac_try;;
14707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14708 (eval "$ac_compile") 2>conftest.er1
14710 grep -v '^ *+' conftest.er1
>conftest.err
14712 cat conftest.err
>&5
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); } &&
14715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14716 { (case "(($ac_try" in
14717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14718 *) ac_try_echo=$ac_try;;
14720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14721 (eval "$ac_try") 2>&5
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); }; } &&
14725 { ac_try='test -s conftest.$ac_objext'
14726 { (case "(($ac_try" in
14727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14728 *) ac_try_echo
=$ac_try;;
14730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14731 (eval "$ac_try") 2>&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; }; then
14735 ac_cv_c_string_h_warnings
=no
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.
$ac_ext >&5
14740 ac_cv_c_string_h_warnings
=yes
14743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14745 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14746 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14747 CFLAGS
="$saved_CFLAGS"
14748 if test "$ac_cv_c_string_h_warnings" = "no"
14750 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14755 saved_CFLAGS
="$CFLAGS"
14756 CFLAGS
="$CFLAGS -Werror"
14757 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14758 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14759 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14760 echo $ECHO_N "(cached) $ECHO_C" >&6
14762 cat >conftest.
$ac_ext <<_ACEOF
14765 cat confdefs.h
>>conftest.
$ac_ext
14766 cat >>conftest.
$ac_ext <<_ACEOF
14767 /* end confdefs.h. */
14772 int iswlower(unsigned short);
14777 rm -f conftest.
$ac_objext
14778 if { (ac_try
="$ac_compile"
14779 case "(($ac_try" in
14780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14781 *) ac_try_echo=$ac_try;;
14783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14784 (eval "$ac_compile") 2>conftest.er1
14786 grep -v '^ *+' conftest.er1 >conftest.err
14788 cat conftest.err >&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } &&
14791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14792 { (case "(($ac_try" in
14793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14794 *) ac_try_echo
=$ac_try;;
14796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14797 (eval "$ac_try") 2>&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); }; } &&
14801 { ac_try
='test -s conftest.$ac_objext'
14802 { (case "(($ac_try" in
14803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14804 *) ac_try_echo=$ac_try;;
14806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14807 (eval "$ac_try") 2>&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; }; then
14811 ac_cv_c_builtin_wchar_ctype=no
14813 echo "$as_me: failed program was:" >&5
14814 sed 's/^/| /' conftest.$ac_ext >&5
14816 ac_cv_c_builtin_wchar_ctype=yes
14819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14821 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14822 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14823 CFLAGS="$saved_CFLAGS"
14824 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14826 BUILTINFLAG="-fno-builtin"
14831 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14832 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14833 if test "${ac_cv_asm_func_def+set}" = set; then
14834 echo $ECHO_N "(cached) $ECHO_C" >&6
14836 cat >conftest.$ac_ext <<_ACEOF
14839 cat confdefs.h >>conftest.$ac_ext
14840 cat >>conftest.$ac_ext <<_ACEOF
14841 /* end confdefs.h. */
14842 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"); }
14852 rm -f conftest.$ac_objext conftest$ac_exeext
14853 if { (ac_try="$ac_link"
14854 case "(($ac_try" in
14855 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14856 *) ac_try_echo
=$ac_try;;
14858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14859 (eval "$ac_link") 2>conftest.er1
14861 grep -v '^ *+' conftest.er1
>conftest.err
14863 cat conftest.err
>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } &&
14866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14867 { (case "(($ac_try" in
14868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14869 *) ac_try_echo=$ac_try;;
14871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14872 (eval "$ac_try") 2>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; } &&
14876 { ac_try='test -s conftest$ac_exeext'
14877 { (case "(($ac_try" in
14878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14879 *) ac_try_echo
=$ac_try;;
14881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14882 (eval "$ac_try") 2>&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); }; }; then
14886 ac_cv_asm_func_def
=".def"
14888 echo "$as_me: failed program was:" >&5
14889 sed 's/^/| /' conftest.
$ac_ext >&5
14891 cat >conftest.
$ac_ext <<_ACEOF
14894 cat confdefs.h
>>conftest.
$ac_ext
14895 cat >>conftest.
$ac_ext <<_ACEOF
14896 /* end confdefs.h. */
14897 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14907 rm -f conftest.
$ac_objext conftest
$ac_exeext
14908 if { (ac_try
="$ac_link"
14909 case "(($ac_try" in
14910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14911 *) ac_try_echo=$ac_try;;
14913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14914 (eval "$ac_link") 2>conftest.er1
14916 grep -v '^ *+' conftest.er1 >conftest.err
14918 cat conftest.err >&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } &&
14921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14922 { (case "(($ac_try" in
14923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14924 *) ac_try_echo
=$ac_try;;
14926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14927 (eval "$ac_try") 2>&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); }; } &&
14931 { ac_try
='test -s conftest$ac_exeext'
14932 { (case "(($ac_try" in
14933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14934 *) ac_try_echo=$ac_try;;
14936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14937 (eval "$ac_try") 2>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14941 ac_cv_asm_func_def=".type @function"
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.$ac_ext >&5
14946 cat >conftest.$ac_ext <<_ACEOF
14949 cat confdefs.h >>conftest.$ac_ext
14950 cat >>conftest.$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14952 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14962 rm -f conftest.$ac_objext conftest$ac_exeext
14963 if { (ac_try="$ac_link"
14964 case "(($ac_try" in
14965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14966 *) ac_try_echo
=$ac_try;;
14968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14969 (eval "$ac_link") 2>conftest.er1
14971 grep -v '^ *+' conftest.er1
>conftest.err
14973 cat conftest.err
>&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); } &&
14976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14977 { (case "(($ac_try" in
14978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14979 *) ac_try_echo=$ac_try;;
14981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14982 (eval "$ac_try") 2>&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); }; } &&
14986 { ac_try='test -s conftest$ac_exeext'
14987 { (case "(($ac_try" in
14988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14989 *) ac_try_echo
=$ac_try;;
14991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14992 (eval "$ac_try") 2>&5
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }; }; then
14996 ac_cv_asm_func_def
=".type 2"
14998 echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.
$ac_ext >&5
15001 ac_cv_asm_func_def
="unknown"
15004 rm -f core conftest.err conftest.
$ac_objext \
15005 conftest
$ac_exeext conftest.
$ac_ext
15008 rm -f core conftest.err conftest.
$ac_objext \
15009 conftest
$ac_exeext conftest.
$ac_ext
15012 rm -f core conftest.err conftest.
$ac_objext \
15013 conftest
$ac_exeext conftest.
$ac_ext
15015 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15016 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15020 case "$ac_cv_asm_func_def" in
15022 cat >>confdefs.h
<<\_ACEOF
15023 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15027 cat >>confdefs.h
<<\_ACEOF
15028 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15032 cat >>confdefs.h
<<\_ACEOF
15033 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15037 cat >>confdefs.h
<<\_ACEOF
15038 #define __ASM_FUNC(name) ""
15044 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15045 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15046 if test "${ac_cv_c_extern_prefix+set}" = set; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 cat >conftest.
$ac_ext <<_ACEOF
15052 cat confdefs.h
>>conftest.
$ac_ext
15053 cat >>conftest.
$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15055 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15056 extern int ac_test;
15060 if (ac_test) return 1
15065 rm -f conftest.
$ac_objext conftest
$ac_exeext
15066 if { (ac_try
="$ac_link"
15067 case "(($ac_try" in
15068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15069 *) ac_try_echo=$ac_try;;
15071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15072 (eval "$ac_link") 2>conftest.er1
15074 grep -v '^ *+' conftest.er1 >conftest.err
15076 cat conftest.err >&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } &&
15079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15080 { (case "(($ac_try" in
15081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15082 *) ac_try_echo
=$ac_try;;
15084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15085 (eval "$ac_try") 2>&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); }; } &&
15089 { ac_try
='test -s conftest$ac_exeext'
15090 { (case "(($ac_try" in
15091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15092 *) ac_try_echo=$ac_try;;
15094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15095 (eval "$ac_try") 2>&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); }; }; then
15099 ac_cv_c_extern_prefix="yes"
15101 echo "$as_me: failed program was:" >&5
15102 sed 's/^/| /' conftest.$ac_ext >&5
15104 ac_cv_c_extern_prefix="no"
15107 rm -f core conftest.err conftest.$ac_objext \
15108 conftest$ac_exeext conftest.$ac_ext
15110 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15111 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15115 if test "$ac_cv_c_extern_prefix" = "yes"
15117 cat >>confdefs.h <<\_ACEOF
15118 #define __ASM_NAME(name) "_" name
15122 cat >>confdefs.h <<\_ACEOF
15123 #define __ASM_NAME(name) name
15131 DLLFLAGS="-D_REENTRANT"
15146 if test -n "$ac_tool_prefix"; then
15147 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15148 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15151 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15154 if test -n "$DLLTOOL"; then
15155 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15158 for as_dir in $PATH
15161 test -z "$as_dir" && as_dir=.
15162 for ac_exec_ext in '' $ac_executable_extensions; do
15163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15164 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15174 DLLTOOL=$ac_cv_prog_DLLTOOL
15175 if test -n "$DLLTOOL"; then
15176 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15177 echo "${ECHO_T}$DLLTOOL" >&6; }
15179 { echo "$as_me:$LINENO: result: no" >&5
15180 echo "${ECHO_T}no" >&6; }
15185 if test -z "$ac_cv_prog_DLLTOOL"; then
15186 ac_ct_DLLTOOL=$DLLTOOL
15187 # Extract the first word of "dlltool", so it can be a program name with args.
15188 set dummy dlltool; ac_word=$2
15189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15191 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15192 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 if test -n "$ac_ct_DLLTOOL"; then
15195 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15198 for as_dir in $PATH
15201 test -z "$as_dir" && as_dir=.
15202 for ac_exec_ext in '' $ac_executable_extensions; do
15203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15204 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15214 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15215 if test -n "$ac_ct_DLLTOOL"; then
15216 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15217 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15219 { echo "$as_me:$LINENO: result: no" >&5
15220 echo "${ECHO_T}no" >&6; }
15223 if test "x$ac_ct_DLLTOOL" = x; then
15226 case $cross_compiling:$ac_tool_warned in
15228 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15229 whose name does not start with the host triplet. If you think this
15230 configuration is useful to you, please write to autoconf@gnu.org." >&5
15231 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15232 whose name does not start with the host triplet. If you think this
15233 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15234 ac_tool_warned=yes ;;
15236 DLLTOOL=$ac_ct_DLLTOOL
15239 DLLTOOL="$ac_cv_prog_DLLTOOL"
15242 if test -n "$ac_tool_prefix"; then
15243 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15244 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15247 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 if test -n "$DLLWRAP"; then
15251 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15254 for as_dir in $PATH
15257 test -z "$as_dir" && as_dir=.
15258 for ac_exec_ext in '' $ac_executable_extensions; do
15259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15260 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15270 DLLWRAP=$ac_cv_prog_DLLWRAP
15271 if test -n "$DLLWRAP"; then
15272 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15273 echo "${ECHO_T}$DLLWRAP" >&6; }
15275 { echo "$as_me:$LINENO: result: no" >&5
15276 echo "${ECHO_T}no" >&6; }
15281 if test -z "$ac_cv_prog_DLLWRAP"; then
15282 ac_ct_DLLWRAP=$DLLWRAP
15283 # Extract the first word of "dllwrap", so it can be a program name with args.
15284 set dummy dllwrap; ac_word=$2
15285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15287 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15288 echo $ECHO_N "(cached) $ECHO_C" >&6
15290 if test -n "$ac_ct_DLLWRAP"; then
15291 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15294 for as_dir in $PATH
15297 test -z "$as_dir" && as_dir=.
15298 for ac_exec_ext in '' $ac_executable_extensions; do
15299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15300 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15310 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15311 if test -n "$ac_ct_DLLWRAP"; then
15312 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15313 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15315 { echo "$as_me:$LINENO: result: no" >&5
15316 echo "${ECHO_T}no" >&6; }
15319 if test "x$ac_ct_DLLWRAP" = x; then
15322 case $cross_compiling:$ac_tool_warned in
15324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15325 whose name does not start with the host triplet. If you think this
15326 configuration is useful to you, please write to autoconf@gnu.org." >&5
15327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15328 whose name does not start with the host triplet. If you think this
15329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15330 ac_tool_warned=yes ;;
15332 DLLWRAP=$ac_ct_DLLWRAP
15335 DLLWRAP="$ac_cv_prog_DLLWRAP"
15338 if test "$DLLWRAP" = "false"; then
15350 DLLFLAGS="$DLLFLAGS -fPIC"
15351 LDDLLFLAGS="-bundle -multiply_defined suppress"
15352 LIBWINE_LDFLAGS="-multiply_defined suppress"
15353 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/\$(DYNAME)"
15354 STRIP="$STRIP -u -r"
15355 COREFOUNDATIONLIB="-framework CoreFoundation"
15357 IOKITLIB="-framework IOKit -framework CoreFoundation"
15359 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
15361 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15363 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15365 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15370 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15374 DLLFLAGS="$DLLFLAGS -fPIC"
15376 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15377 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15378 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15379 echo $ECHO_N "(cached) $ECHO_C" >&6
15381 ac_wine_try_cflags_saved=$CFLAGS
15382 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15383 cat >conftest.$ac_ext <<_ACEOF
15386 rm -f conftest.$ac_objext conftest$ac_exeext
15387 if { (ac_try="$ac_link"
15388 case "(($ac_try" in
15389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15390 *) ac_try_echo
=$ac_try;;
15392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15393 (eval "$ac_link") 2>conftest.er1
15395 grep -v '^ *+' conftest.er1
>conftest.err
15397 cat conftest.err
>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); } &&
15400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15401 { (case "(($ac_try" in
15402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15403 *) ac_try_echo=$ac_try;;
15405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15406 (eval "$ac_try") 2>&5
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; } &&
15410 { ac_try='test -s conftest$ac_exeext'
15411 { (case "(($ac_try" in
15412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15413 *) ac_try_echo
=$ac_try;;
15415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15416 (eval "$ac_try") 2>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; }; then
15420 ac_cv_c_dll_gnuelf
="yes"
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.
$ac_ext >&5
15425 ac_cv_c_dll_gnuelf
="no"
15428 rm -f core conftest.err conftest.
$ac_objext \
15429 conftest
$ac_exeext conftest.
$ac_ext
15430 CFLAGS
=$ac_wine_try_cflags_saved
15432 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15433 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15434 if test "$ac_cv_c_dll_gnuelf" = "yes"
15436 LDSHARED
="\$(CC) -shared"
15437 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
15438 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15439 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15440 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15441 echo $ECHO_N "(cached) $ECHO_C" >&6
15443 ac_wine_try_cflags_saved
=$CFLAGS
15444 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15445 cat >conftest.
$ac_ext <<_ACEOF
15448 cat confdefs.h
>>conftest.
$ac_ext
15449 cat >>conftest.
$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15460 rm -f conftest.
$ac_objext conftest
$ac_exeext
15461 if { (ac_try
="$ac_link"
15462 case "(($ac_try" in
15463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15464 *) ac_try_echo=$ac_try;;
15466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15467 (eval "$ac_link") 2>conftest.er1
15469 grep -v '^ *+' conftest.er1 >conftest.err
15471 cat conftest.err >&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); } &&
15474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15475 { (case "(($ac_try" in
15476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15477 *) ac_try_echo
=$ac_try;;
15479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15480 (eval "$ac_try") 2>&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); }; } &&
15484 { ac_try
='test -s conftest$ac_exeext'
15485 { (case "(($ac_try" in
15486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15487 *) ac_try_echo=$ac_try;;
15489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15490 (eval "$ac_try") 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); }; }; then
15494 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15499 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15502 rm -f core conftest.err conftest.$ac_objext \
15503 conftest$ac_exeext conftest.$ac_ext
15504 CFLAGS=$ac_wine_try_cflags_saved
15506 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15507 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15508 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15509 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15511 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15512 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15513 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15514 echo $ECHO_N "(cached) $ECHO_C" >&6
15516 ac_wine_try_cflags_saved=$CFLAGS
15517 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15518 cat >conftest.$ac_ext <<_ACEOF
15521 cat confdefs.h >>conftest.$ac_ext
15522 cat >>conftest.$ac_ext <<_ACEOF
15523 /* end confdefs.h. */
15533 rm -f conftest.$ac_objext conftest$ac_exeext
15534 if { (ac_try="$ac_link"
15535 case "(($ac_try" in
15536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15537 *) ac_try_echo
=$ac_try;;
15539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15540 (eval "$ac_link") 2>conftest.er1
15542 grep -v '^ *+' conftest.er1
>conftest.err
15544 cat conftest.err
>&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); } &&
15547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15548 { (case "(($ac_try" in
15549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15550 *) ac_try_echo=$ac_try;;
15552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15553 (eval "$ac_try") 2>&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; } &&
15557 { ac_try='test -s conftest$ac_exeext'
15558 { (case "(($ac_try" in
15559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15560 *) ac_try_echo
=$ac_try;;
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_try") 2>&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; }; then
15567 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.
$ac_ext >&5
15572 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
15575 rm -f core conftest.err conftest.
$ac_objext \
15576 conftest
$ac_exeext conftest.
$ac_ext
15577 CFLAGS
=$ac_wine_try_cflags_saved
15579 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15580 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15581 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15582 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15588 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15589 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15590 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15591 echo $ECHO_N "(cached) $ECHO_C" >&6
15593 ac_wine_try_cflags_saved
=$CFLAGS
15594 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15595 cat >conftest.
$ac_ext <<_ACEOF
15598 cat confdefs.h
>>conftest.
$ac_ext
15599 cat >>conftest.
$ac_ext <<_ACEOF
15600 /* end confdefs.h. */
15610 rm -f conftest.
$ac_objext conftest
$ac_exeext
15611 if { (ac_try
="$ac_link"
15612 case "(($ac_try" in
15613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_link") 2>conftest.er1
15619 grep -v '^ *+' conftest.er1 >conftest.err
15621 cat conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } &&
15624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15625 { (case "(($ac_try" in
15626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15627 *) ac_try_echo
=$ac_try;;
15629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630 (eval "$ac_try") 2>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try
='test -s conftest$ac_exeext'
15635 { (case "(($ac_try" in
15636 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_try") 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; }; then
15644 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.$ac_ext >&5
15649 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15652 rm -f core conftest.err conftest.$ac_objext \
15653 conftest$ac_exeext conftest.$ac_ext
15654 CFLAGS=$ac_wine_try_cflags_saved
15656 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15657 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15658 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15659 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15663 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15664 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15665 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15666 echo $ECHO_N "(cached) $ECHO_C" >&6
15668 ac_wine_try_cflags_saved=$CFLAGS
15669 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15670 cat >conftest.$ac_ext <<_ACEOF
15673 cat confdefs.h >>conftest.$ac_ext
15674 cat >>conftest.$ac_ext <<_ACEOF
15675 /* end confdefs.h. */
15685 rm -f conftest.$ac_objext conftest$ac_exeext
15686 if { (ac_try="$ac_link"
15687 case "(($ac_try" in
15688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15689 *) ac_try_echo
=$ac_try;;
15691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15692 (eval "$ac_link") 2>conftest.er1
15694 grep -v '^ *+' conftest.er1
>conftest.err
15696 cat conftest.err
>&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } &&
15699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15700 { (case "(($ac_try" in
15701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15702 *) ac_try_echo=$ac_try;;
15704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15705 (eval "$ac_try") 2>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; } &&
15709 { ac_try='test -s conftest$ac_exeext'
15710 { (case "(($ac_try" in
15711 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15712 *) ac_try_echo
=$ac_try;;
15714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15715 (eval "$ac_try") 2>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; }; then
15719 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
15721 echo "$as_me: failed program was:" >&5
15722 sed 's/^/| /' conftest.
$ac_ext >&5
15724 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
15727 rm -f core conftest.err conftest.
$ac_objext \
15728 conftest
$ac_exeext conftest.
$ac_ext
15729 CFLAGS
=$ac_wine_try_cflags_saved
15731 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15732 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15733 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15734 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15738 echo '{ global: *; };' >conftest.map
15739 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15740 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15741 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15742 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 ac_wine_try_cflags_saved
=$CFLAGS
15745 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15746 cat >conftest.
$ac_ext <<_ACEOF
15749 cat confdefs.h
>>conftest.
$ac_ext
15750 cat >>conftest.
$ac_ext <<_ACEOF
15751 /* end confdefs.h. */
15761 rm -f conftest.
$ac_objext conftest
$ac_exeext
15762 if { (ac_try
="$ac_link"
15763 case "(($ac_try" in
15764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15765 *) ac_try_echo=$ac_try;;
15767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15768 (eval "$ac_link") 2>conftest.er1
15770 grep -v '^ *+' conftest.er1 >conftest.err
15772 cat conftest.err >&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } &&
15775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15776 { (case "(($ac_try" in
15777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15778 *) ac_try_echo
=$ac_try;;
15780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15781 (eval "$ac_try") 2>&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); }; } &&
15785 { ac_try
='test -s conftest$ac_exeext'
15786 { (case "(($ac_try" in
15787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15788 *) ac_try_echo=$ac_try;;
15790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15791 (eval "$ac_try") 2>&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15800 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15803 rm -f core conftest.err conftest.$ac_objext \
15804 conftest$ac_exeext conftest.$ac_ext
15805 CFLAGS=$ac_wine_try_cflags_saved
15807 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15808 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15809 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15810 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15815 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15816 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15817 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15818 echo $ECHO_N "(cached) $ECHO_C" >&6
15820 ac_wine_try_cflags_saved=$CFLAGS
15821 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15822 cat >conftest.$ac_ext <<_ACEOF
15825 cat confdefs.h >>conftest.$ac_ext
15826 cat >>conftest.$ac_ext <<_ACEOF
15827 /* end confdefs.h. */
15837 rm -f conftest.$ac_objext conftest$ac_exeext
15838 if { (ac_try="$ac_link"
15839 case "(($ac_try" in
15840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15841 *) ac_try_echo
=$ac_try;;
15843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15844 (eval "$ac_link") 2>conftest.er1
15846 grep -v '^ *+' conftest.er1
>conftest.err
15848 cat conftest.err
>&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } &&
15851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15852 { (case "(($ac_try" in
15853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15854 *) ac_try_echo=$ac_try;;
15856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15857 (eval "$ac_try") 2>&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; } &&
15861 { ac_try='test -s conftest$ac_exeext'
15862 { (case "(($ac_try" in
15863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15864 *) ac_try_echo
=$ac_try;;
15866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15867 (eval "$ac_try") 2>&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); }; }; then
15871 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
15873 echo "$as_me: failed program was:" >&5
15874 sed 's/^/| /' conftest.
$ac_ext >&5
15876 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
15879 rm -f core conftest.err conftest.
$ac_objext \
15880 conftest
$ac_exeext conftest.
$ac_ext
15881 CFLAGS
=$ac_wine_try_cflags_saved
15883 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15884 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15885 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15886 LDEXECFLAGS
="-Wl,--export-dynamic"
15891 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15892 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15893 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15894 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15895 echo $ECHO_N "(cached) $ECHO_C" >&6
15897 ac_wine_try_cflags_saved
=$CFLAGS
15898 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15899 cat >conftest.
$ac_ext <<_ACEOF
15902 cat confdefs.h
>>conftest.
$ac_ext
15903 cat >>conftest.
$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15914 rm -f conftest.
$ac_objext conftest
$ac_exeext
15915 if { (ac_try
="$ac_link"
15916 case "(($ac_try" in
15917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15918 *) ac_try_echo=$ac_try;;
15920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15921 (eval "$ac_link") 2>conftest.er1
15923 grep -v '^ *+' conftest.er1 >conftest.err
15925 cat conftest.err >&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); } &&
15928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15929 { (case "(($ac_try" in
15930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15931 *) ac_try_echo
=$ac_try;;
15933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15934 (eval "$ac_try") 2>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; } &&
15938 { ac_try
='test -s conftest$ac_exeext'
15939 { (case "(($ac_try" in
15940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15941 *) ac_try_echo=$ac_try;;
15943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15944 (eval "$ac_try") 2>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; }; then
15948 eval "$as_ac_var=yes"
15950 echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.$ac_ext >&5
15953 eval "$as_ac_var=no"
15956 rm -f core conftest.err conftest.$ac_objext \
15957 conftest$ac_exeext conftest.$ac_ext
15958 CFLAGS=$ac_wine_try_cflags_saved
15960 ac_res=`eval echo '${'$as_ac_var'}'`
15961 { echo "$as_me:$LINENO: result: $ac_res" >&5
15962 echo "${ECHO_T}$ac_res" >&6; }
15963 if test `eval echo '${'$as_ac_var'}'` = yes; then
15964 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
15969 *i[3456789]86* | x86_64)
15970 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15971 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15972 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15975 ac_wine_try_cflags_saved=$CFLAGS
15976 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15977 cat >conftest.$ac_ext <<_ACEOF
15980 cat confdefs.h >>conftest.$ac_ext
15981 cat >>conftest.$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15992 rm -f conftest.$ac_objext conftest$ac_exeext
15993 if { (ac_try="$ac_link"
15994 case "(($ac_try" in
15995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15996 *) ac_try_echo
=$ac_try;;
15998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15999 (eval "$ac_link") 2>conftest.er1
16001 grep -v '^ *+' conftest.er1
>conftest.err
16003 cat conftest.err
>&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } &&
16006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16007 { (case "(($ac_try" in
16008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16009 *) ac_try_echo=$ac_try;;
16011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16012 (eval "$ac_try") 2>&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); }; } &&
16016 { ac_try='test -s conftest$ac_exeext'
16017 { (case "(($ac_try" in
16018 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16019 *) ac_try_echo
=$ac_try;;
16021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16022 (eval "$ac_try") 2>&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); }; }; then
16026 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.
$ac_ext >&5
16031 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
16034 rm -f core conftest.err conftest.
$ac_objext \
16035 conftest
$ac_exeext conftest.
$ac_ext
16036 CFLAGS
=$ac_wine_try_cflags_saved
16038 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
16039 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
16040 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
16041 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16048 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16049 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16050 if test "${ac_cv_c_dll_unixware+set}" = set; then
16051 echo $ECHO_N "(cached) $ECHO_C" >&6
16053 ac_wine_try_cflags_saved
=$CFLAGS
16054 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16055 cat >conftest.
$ac_ext <<_ACEOF
16058 rm -f conftest.
$ac_objext conftest
$ac_exeext
16059 if { (ac_try
="$ac_link"
16060 case "(($ac_try" in
16061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16062 *) ac_try_echo=$ac_try;;
16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16065 (eval "$ac_link") 2>conftest.er1
16067 grep -v '^ *+' conftest.er1 >conftest.err
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } &&
16072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16073 { (case "(($ac_try" in
16074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16075 *) ac_try_echo
=$ac_try;;
16077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16078 (eval "$ac_try") 2>&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); }; } &&
16082 { ac_try
='test -s conftest$ac_exeext'
16083 { (case "(($ac_try" in
16084 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16085 *) ac_try_echo=$ac_try;;
16087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16088 (eval "$ac_try") 2>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; }; then
16092 ac_cv_c_dll_unixware="yes"
16094 echo "$as_me: failed program was:" >&5
16095 sed 's/^/| /' conftest.$ac_ext >&5
16097 ac_cv_c_dll_unixware="no"
16100 rm -f core conftest.err conftest.$ac_objext \
16101 conftest$ac_exeext conftest.$ac_ext
16102 CFLAGS=$ac_wine_try_cflags_saved
16104 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16105 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16106 if test "$ac_cv_c_dll_unixware" = "yes"
16108 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16109 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16112 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16113 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16114 if test "${ac_cv_c_dll_hpux+set}" = set; then
16115 echo $ECHO_N "(cached) $ECHO_C" >&6
16117 ac_wine_try_cflags_saved=$CFLAGS
16118 CFLAGS="$CFLAGS -shared"
16119 cat >conftest.$ac_ext <<_ACEOF
16122 rm -f conftest.$ac_objext conftest$ac_exeext
16123 if { (ac_try="$ac_link"
16124 case "(($ac_try" in
16125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16126 *) ac_try_echo
=$ac_try;;
16128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16129 (eval "$ac_link") 2>conftest.er1
16131 grep -v '^ *+' conftest.er1
>conftest.err
16133 cat conftest.err
>&5
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); } &&
16136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16137 { (case "(($ac_try" in
16138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16139 *) ac_try_echo=$ac_try;;
16141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16142 (eval "$ac_try") 2>&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; } &&
16146 { ac_try='test -s conftest$ac_exeext'
16147 { (case "(($ac_try" in
16148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16149 *) ac_try_echo
=$ac_try;;
16151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16152 (eval "$ac_try") 2>&5
16154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155 (exit $ac_status); }; }; then
16156 ac_cv_c_dll_hpux
="yes"
16158 echo "$as_me: failed program was:" >&5
16159 sed 's/^/| /' conftest.
$ac_ext >&5
16161 ac_cv_c_dll_hpux
="no"
16164 rm -f core conftest.err conftest.
$ac_objext \
16165 conftest
$ac_exeext conftest.
$ac_ext
16166 CFLAGS
=$ac_wine_try_cflags_saved
16168 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16169 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16170 if test "$ac_cv_c_dll_hpux" = "yes"
16174 LDDLLFLAGS
="-shared -fPIC"
16175 LDSHARED
="\$(CC) -shared"
16182 if test "$cross_compiling" = "no"
16184 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
16186 # Extract the first word of "$ac_prog", so it can be a program name with args.
16187 set dummy
$ac_prog; ac_word
=$2
16188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16190 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 if test -n "$CROSSCC"; then
16194 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
16196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16197 for as_dir
in $PATH
16200 test -z "$as_dir" && as_dir
=.
16201 for ac_exec_ext
in '' $ac_executable_extensions; do
16202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16203 ac_cv_prog_CROSSCC
="$ac_prog"
16204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16213 CROSSCC
=$ac_cv_prog_CROSSCC
16214 if test -n "$CROSSCC"; then
16215 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16216 echo "${ECHO_T}$CROSSCC" >&6; }
16218 { echo "$as_me:$LINENO: result: no" >&5
16219 echo "${ECHO_T}no" >&6; }
16223 test -n "$CROSSCC" && break
16225 test -n "$CROSSCC" || CROSSCC
="false"
16227 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
16229 # Extract the first word of "$ac_prog", so it can be a program name with args.
16230 set dummy
$ac_prog; ac_word
=$2
16231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16233 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16234 echo $ECHO_N "(cached) $ECHO_C" >&6
16236 if test -n "$DLLTOOL"; then
16237 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16240 for as_dir
in $PATH
16243 test -z "$as_dir" && as_dir
=.
16244 for ac_exec_ext
in '' $ac_executable_extensions; do
16245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16246 ac_cv_prog_DLLTOOL
="$ac_prog"
16247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16256 DLLTOOL
=$ac_cv_prog_DLLTOOL
16257 if test -n "$DLLTOOL"; then
16258 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16259 echo "${ECHO_T}$DLLTOOL" >&6; }
16261 { echo "$as_me:$LINENO: result: no" >&5
16262 echo "${ECHO_T}no" >&6; }
16266 test -n "$DLLTOOL" && break
16268 test -n "$DLLTOOL" || DLLTOOL
="false"
16270 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
16272 # Extract the first word of "$ac_prog", so it can be a program name with args.
16273 set dummy
$ac_prog; ac_word
=$2
16274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16276 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16277 echo $ECHO_N "(cached) $ECHO_C" >&6
16279 if test -n "$CROSSWINDRES"; then
16280 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
16282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16283 for as_dir
in $PATH
16286 test -z "$as_dir" && as_dir
=.
16287 for ac_exec_ext
in '' $ac_executable_extensions; do
16288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16289 ac_cv_prog_CROSSWINDRES
="$ac_prog"
16290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16299 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
16300 if test -n "$CROSSWINDRES"; then
16301 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16302 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16304 { echo "$as_me:$LINENO: result: no" >&5
16305 echo "${ECHO_T}no" >&6; }
16309 test -n "$CROSSWINDRES" && break
16311 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
16313 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
16318 if test "$LIBEXT" = "a"; then
16319 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16320 It is currently not possible to build Wine without shared library
16321 (.so) support to allow transparent switch between .so and .dll files.
16322 If you are using Linux, you will need a newer binutils.
16324 echo "$as_me: error: could not find a way to build shared libraries.
16325 It is currently not possible to build Wine without shared library
16326 (.so) support to allow transparent switch between .so and .dll files.
16327 If you are using Linux, you will need a newer binutils.
16329 { (exit 1); exit 1; }; }
16334 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16337 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16340 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16348 SOCKETLIBS
="-lws2_32"
16353 MAIN_BINARY
="wine-pthread"
16357 linux
* | k
*bsd
*-gnu)
16358 MAIN_BINARY
="wine-glibc"
16360 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
16367 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16369 # Extract the first word of "ldd", so it can be a program name with args.
16370 set dummy ldd
; ac_word
=$2
16371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16373 if test "${ac_cv_path_LDD+set}" = set; then
16374 echo $ECHO_N "(cached) $ECHO_C" >&6
16378 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
16381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16382 as_dummy
="/sbin:/usr/sbin:$PATH"
16383 for as_dir
in $as_dummy
16386 test -z "$as_dir" && as_dir
=.
16387 for ac_exec_ext
in '' $ac_executable_extensions; do
16388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16389 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
16390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16397 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
16401 LDD
=$ac_cv_path_LDD
16402 if test -n "$LDD"; then
16403 { echo "$as_me:$LINENO: result: $LDD" >&5
16404 echo "${ECHO_T}$LDD" >&6; }
16406 { echo "$as_me:$LINENO: result: no" >&5
16407 echo "${ECHO_T}no" >&6; }
16411 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16412 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16413 if test "${ac_cv_lib_soname_X11+set}" = set; then
16414 echo $ECHO_N "(cached) $ECHO_C" >&6
16416 ac_get_soname_save_LIBS
=$LIBS
16417 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16418 cat >conftest.
$ac_ext <<_ACEOF
16421 cat confdefs.h
>>conftest.
$ac_ext
16422 cat >>conftest.
$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16425 /* Override any GCC internal prototype to avoid an error.
16426 Use char because int might match the return type of a GCC
16427 builtin and then its argument prototype would still apply. */
16431 char XCreateWindow ();
16435 return XCreateWindow ();
16440 rm -f conftest.
$ac_objext conftest
$ac_exeext
16441 if { (ac_try
="$ac_link"
16442 case "(($ac_try" in
16443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_link") 2>conftest.er1
16449 grep -v '^ *+' conftest.er1 >conftest.err
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } &&
16454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16455 { (case "(($ac_try" in
16456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16457 *) ac_try_echo
=$ac_try;;
16459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16460 (eval "$ac_try") 2>&5
16462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463 (exit $ac_status); }; } &&
16464 { ac_try
='test -s conftest$ac_exeext'
16465 { (case "(($ac_try" in
16466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16467 *) ac_try_echo=$ac_try;;
16469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16470 (eval "$ac_try") 2>&5
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; }; then
16475 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'` ;;
16476 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libX11
\\.so |
sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16478 if test "x$ac_cv_lib_soname_X11" = "x"
16480 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16483 echo "$as_me: failed program was:" >&5
16484 sed 's/^/| /' conftest.$ac_ext >&5
16486 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16489 rm -f core conftest.err conftest.$ac_objext \
16490 conftest$ac_exeext conftest.$ac_ext
16491 LIBS=$ac_get_soname_save_LIBS
16493 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16494 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16495 if test "${ac_cv_lib_soname_X11+set}" = set; then
16497 cat >>confdefs.h <<_ACEOF
16498 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16503 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16504 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16505 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16506 echo $ECHO_N "(cached) $ECHO_C" >&6
16508 ac_get_soname_save_LIBS=$LIBS
16509 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16510 cat >conftest.$ac_ext <<_ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16517 /* Override any GCC internal prototype to avoid an error.
16518 Use char because int might match the return type of a GCC
16519 builtin and then its argument prototype would still apply. */
16523 char XextCreateExtension ();
16527 return XextCreateExtension ();
16532 rm -f conftest.$ac_objext conftest$ac_exeext
16533 if { (ac_try="$ac_link"
16534 case "(($ac_try" in
16535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16536 *) ac_try_echo
=$ac_try;;
16538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16539 (eval "$ac_link") 2>conftest.er1
16541 grep -v '^ *+' conftest.er1
>conftest.err
16543 cat conftest.err
>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); } &&
16546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16547 { (case "(($ac_try" in
16548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16549 *) ac_try_echo=$ac_try;;
16551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16552 (eval "$ac_try") 2>&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; } &&
16556 { ac_try='test -s conftest$ac_exeext'
16557 { (case "(($ac_try" in
16558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16559 *) ac_try_echo
=$ac_try;;
16561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16562 (eval "$ac_try") 2>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; }; then
16567 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'` ;;
16568 so
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16570 if test "x$ac_cv_lib_soname_Xext" = "x"
16572 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.
$ac_ext >&5
16578 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
16581 rm -f core conftest.err conftest.
$ac_objext \
16582 conftest
$ac_exeext conftest.
$ac_ext
16583 LIBS
=$ac_get_soname_save_LIBS
16585 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16586 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16587 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16589 cat >>confdefs.h
<<_ACEOF
16590 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16595 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16596 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16597 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16598 echo $ECHO_N "(cached) $ECHO_C" >&6
16600 ac_get_soname_save_LIBS
=$LIBS
16601 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16602 cat >conftest.
$ac_ext <<_ACEOF
16605 cat confdefs.h
>>conftest.
$ac_ext
16606 cat >>conftest.
$ac_ext <<_ACEOF
16607 /* end confdefs.h. */
16609 /* Override any GCC internal prototype to avoid an error.
16610 Use char because int might match the return type of a GCC
16611 builtin and then its argument prototype would still apply. */
16615 char XOpenDevice ();
16619 return XOpenDevice ();
16624 rm -f conftest.
$ac_objext conftest
$ac_exeext
16625 if { (ac_try
="$ac_link"
16626 case "(($ac_try" in
16627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16628 *) ac_try_echo=$ac_try;;
16630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16631 (eval "$ac_link") 2>conftest.er1
16633 grep -v '^ *+' conftest.er1 >conftest.err
16635 cat conftest.err >&5
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); } &&
16638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16639 { (case "(($ac_try" in
16640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16641 *) ac_try_echo
=$ac_try;;
16643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16644 (eval "$ac_try") 2>&5
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; } &&
16648 { ac_try
='test -s conftest$ac_exeext'
16649 { (case "(($ac_try" in
16650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16651 *) ac_try_echo=$ac_try;;
16653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16654 (eval "$ac_try") 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; }; then
16659 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'` ;;
16660 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXi
\\.so |
sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16662 if test "x$ac_cv_lib_soname_Xi" = "x"
16664 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.$ac_ext >&5
16670 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16673 rm -f core conftest.err conftest.$ac_objext \
16674 conftest$ac_exeext conftest.$ac_ext
16675 LIBS=$ac_get_soname_save_LIBS
16677 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16678 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16679 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16681 cat >>confdefs.h <<_ACEOF
16682 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16687 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
16688 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
16689 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 ac_get_soname_save_LIBS=$LIBS
16693 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16694 cat >conftest.$ac_ext <<_ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16701 /* Override any GCC internal prototype to avoid an error.
16702 Use char because int might match the return type of a GCC
16703 builtin and then its argument prototype would still apply. */
16707 char XineramaQueryScreens ();
16711 return XineramaQueryScreens ();
16716 rm -f conftest.$ac_objext conftest$ac_exeext
16717 if { (ac_try="$ac_link"
16718 case "(($ac_try" in
16719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16720 *) ac_try_echo
=$ac_try;;
16722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16723 (eval "$ac_link") 2>conftest.er1
16725 grep -v '^ *+' conftest.er1
>conftest.err
16727 cat conftest.err
>&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); } &&
16730 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16731 { (case "(($ac_try" in
16732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16733 *) ac_try_echo=$ac_try;;
16735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16736 (eval "$ac_try") 2>&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; } &&
16740 { ac_try='test -s conftest$ac_exeext'
16741 { (case "(($ac_try" in
16742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16743 *) ac_try_echo
=$ac_try;;
16745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16746 (eval "$ac_try") 2>&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); }; }; then
16751 dylib
) ac_cv_lib_soname_Xinerama
=`otool -L conftest$ac_exeext | grep libXinerama\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16752 so
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16754 if test "x$ac_cv_lib_soname_Xinerama" = "x"
16756 ac_cv_lib_soname_Xinerama
="libXinerama.$LIBEXT"
16759 echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.
$ac_ext >&5
16762 ac_cv_lib_soname_Xinerama
="libXinerama.$LIBEXT"
16765 rm -f core conftest.err conftest.
$ac_objext \
16766 conftest
$ac_exeext conftest.
$ac_ext
16767 LIBS
=$ac_get_soname_save_LIBS
16769 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
16770 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
16771 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16773 cat >>confdefs.h
<<_ACEOF
16774 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
16779 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16780 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16781 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16782 echo $ECHO_N "(cached) $ECHO_C" >&6
16784 ac_get_soname_save_LIBS
=$LIBS
16785 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16786 cat >conftest.
$ac_ext <<_ACEOF
16789 cat confdefs.h
>>conftest.
$ac_ext
16790 cat >>conftest.
$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16793 /* Override any GCC internal prototype to avoid an error.
16794 Use char because int might match the return type of a GCC
16795 builtin and then its argument prototype would still apply. */
16799 char XRenderQueryExtension ();
16803 return XRenderQueryExtension ();
16808 rm -f conftest.
$ac_objext conftest
$ac_exeext
16809 if { (ac_try
="$ac_link"
16810 case "(($ac_try" in
16811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16812 *) ac_try_echo=$ac_try;;
16814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16815 (eval "$ac_link") 2>conftest.er1
16817 grep -v '^ *+' conftest.er1 >conftest.err
16819 cat conftest.err >&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); } &&
16822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16823 { (case "(($ac_try" in
16824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16825 *) ac_try_echo
=$ac_try;;
16827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16828 (eval "$ac_try") 2>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; } &&
16832 { ac_try
='test -s conftest$ac_exeext'
16833 { (case "(($ac_try" in
16834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16835 *) ac_try_echo=$ac_try;;
16837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16838 (eval "$ac_try") 2>&5
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }; }; then
16843 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'` ;;
16844 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrender
\\.so |
sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16846 if test "x$ac_cv_lib_soname_Xrender" = "x"
16848 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.$ac_ext >&5
16854 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16857 rm -f core conftest.err conftest.$ac_objext \
16858 conftest$ac_exeext conftest.$ac_ext
16859 LIBS=$ac_get_soname_save_LIBS
16861 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16862 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16863 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16865 cat >>confdefs.h <<_ACEOF
16866 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16871 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16872 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16873 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16874 echo $ECHO_N "(cached) $ECHO_C" >&6
16876 ac_get_soname_save_LIBS=$LIBS
16877 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16878 cat >conftest.$ac_ext <<_ACEOF
16881 cat confdefs.h >>conftest.$ac_ext
16882 cat >>conftest.$ac_ext <<_ACEOF
16883 /* end confdefs.h. */
16885 /* Override any GCC internal prototype to avoid an error.
16886 Use char because int might match the return type of a GCC
16887 builtin and then its argument prototype would still apply. */
16891 char XRRQueryExtension ();
16895 return XRRQueryExtension ();
16900 rm -f conftest.$ac_objext conftest$ac_exeext
16901 if { (ac_try="$ac_link"
16902 case "(($ac_try" in
16903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16904 *) ac_try_echo
=$ac_try;;
16906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16907 (eval "$ac_link") 2>conftest.er1
16909 grep -v '^ *+' conftest.er1
>conftest.err
16911 cat conftest.err
>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16915 { (case "(($ac_try" in
16916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16917 *) ac_try_echo=$ac_try;;
16919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16920 (eval "$ac_try") 2>&5
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; } &&
16924 { ac_try='test -s conftest$ac_exeext'
16925 { (case "(($ac_try" in
16926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16927 *) ac_try_echo
=$ac_try;;
16929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16930 (eval "$ac_try") 2>&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; }; then
16935 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'` ;;
16936 so
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16938 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16940 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
16943 echo "$as_me: failed program was:" >&5
16944 sed 's/^/| /' conftest.
$ac_ext >&5
16946 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
16949 rm -f core conftest.err conftest.
$ac_objext \
16950 conftest
$ac_exeext conftest.
$ac_ext
16951 LIBS
=$ac_get_soname_save_LIBS
16953 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16954 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16955 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16957 cat >>confdefs.h
<<_ACEOF
16958 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16963 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16964 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16965 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16966 echo $ECHO_N "(cached) $ECHO_C" >&6
16968 ac_get_soname_save_LIBS
=$LIBS
16969 LIBS
="-lfreetype $X_LIBS $LIBS"
16970 cat >conftest.
$ac_ext <<_ACEOF
16973 cat confdefs.h
>>conftest.
$ac_ext
16974 cat >>conftest.
$ac_ext <<_ACEOF
16975 /* end confdefs.h. */
16977 /* Override any GCC internal prototype to avoid an error.
16978 Use char because int might match the return type of a GCC
16979 builtin and then its argument prototype would still apply. */
16983 char FT_Init_FreeType ();
16987 return FT_Init_FreeType ();
16992 rm -f conftest.
$ac_objext conftest
$ac_exeext
16993 if { (ac_try
="$ac_link"
16994 case "(($ac_try" in
16995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16996 *) ac_try_echo=$ac_try;;
16998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16999 (eval "$ac_link") 2>conftest.er1
17001 grep -v '^ *+' conftest.er1 >conftest.err
17003 cat conftest.err >&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } &&
17006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17007 { (case "(($ac_try" in
17008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17009 *) ac_try_echo
=$ac_try;;
17011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17012 (eval "$ac_try") 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; } &&
17016 { ac_try
='test -s conftest$ac_exeext'
17017 { (case "(($ac_try" in
17018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17019 *) ac_try_echo=$ac_try;;
17021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17022 (eval "$ac_try") 2>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; }; then
17027 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'` ;;
17028 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfreetype
\\.so |
sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17030 if test "x$ac_cv_lib_soname_freetype" = "x"
17032 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17035 echo "$as_me: failed program was:" >&5
17036 sed 's/^/| /' conftest.$ac_ext >&5
17038 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17041 rm -f core conftest.err conftest.$ac_objext \
17042 conftest$ac_exeext conftest.$ac_ext
17043 LIBS=$ac_get_soname_save_LIBS
17045 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17046 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17047 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17049 cat >>confdefs.h <<_ACEOF
17050 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17055 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17056 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17057 if test "${ac_cv_lib_soname_GL+set}" = set; then
17058 echo $ECHO_N "(cached) $ECHO_C" >&6
17060 ac_get_soname_save_LIBS=$LIBS
17061 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17062 cat >conftest.$ac_ext <<_ACEOF
17065 cat confdefs.h >>conftest.$ac_ext
17066 cat >>conftest.$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17069 /* Override any GCC internal prototype to avoid an error.
17070 Use char because int might match the return type of a GCC
17071 builtin and then its argument prototype would still apply. */
17075 char glXQueryExtension ();
17079 return glXQueryExtension ();
17084 rm -f conftest.$ac_objext conftest$ac_exeext
17085 if { (ac_try="$ac_link"
17086 case "(($ac_try" in
17087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17088 *) ac_try_echo
=$ac_try;;
17090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17091 (eval "$ac_link") 2>conftest.er1
17093 grep -v '^ *+' conftest.er1
>conftest.err
17095 cat conftest.err
>&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); } &&
17098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17099 { (case "(($ac_try" in
17100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17101 *) ac_try_echo=$ac_try;;
17103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17104 (eval "$ac_try") 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; } &&
17108 { ac_try='test -s conftest$ac_exeext'
17109 { (case "(($ac_try" in
17110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17111 *) ac_try_echo
=$ac_try;;
17113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17114 (eval "$ac_try") 2>&5
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; }; then
17119 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'` ;;
17120 so
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17122 if test "x$ac_cv_lib_soname_GL" = "x"
17124 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.
$ac_ext >&5
17130 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
17133 rm -f core conftest.err conftest.
$ac_objext \
17134 conftest
$ac_exeext conftest.
$ac_ext
17135 LIBS
=$ac_get_soname_save_LIBS
17137 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17138 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17139 if test "${ac_cv_lib_soname_GL+set}" = set; then
17141 cat >>confdefs.h
<<_ACEOF
17142 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17147 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17148 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17149 if test "${ac_cv_lib_soname_hal+set}" = set; then
17150 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 ac_get_soname_save_LIBS
=$LIBS
17154 cat >conftest.
$ac_ext <<_ACEOF
17157 cat confdefs.h
>>conftest.
$ac_ext
17158 cat >>conftest.
$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17161 /* Override any GCC internal prototype to avoid an error.
17162 Use char because int might match the return type of a GCC
17163 builtin and then its argument prototype would still apply. */
17167 char libhal_ctx_new ();
17171 return libhal_ctx_new ();
17176 rm -f conftest.
$ac_objext conftest
$ac_exeext
17177 if { (ac_try
="$ac_link"
17178 case "(($ac_try" in
17179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;;
17182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17183 (eval "$ac_link") 2>conftest.er1
17185 grep -v '^ *+' conftest.er1 >conftest.err
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } &&
17190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17191 { (case "(($ac_try" in
17192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17193 *) ac_try_echo
=$ac_try;;
17195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17196 (eval "$ac_try") 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; } &&
17200 { ac_try
='test -s conftest$ac_exeext'
17201 { (case "(($ac_try" in
17202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17203 *) ac_try_echo=$ac_try;;
17205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17206 (eval "$ac_try") 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; }; then
17211 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'` ;;
17212 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.so |
sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17214 if test "x$ac_cv_lib_soname_hal" = "x"
17216 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17219 echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.$ac_ext >&5
17222 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17225 rm -f core conftest.err conftest.$ac_objext \
17226 conftest$ac_exeext conftest.$ac_ext
17227 LIBS=$ac_get_soname_save_LIBS
17229 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17230 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17231 if test "${ac_cv_lib_soname_hal+set}" = set; then
17233 cat >>confdefs.h <<_ACEOF
17234 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17239 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17240 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17241 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17242 echo $ECHO_N "(cached) $ECHO_C" >&6
17244 ac_get_soname_save_LIBS=$LIBS
17245 LIBS="-ltxc_dxtn $LIBS"
17246 cat >conftest.$ac_ext <<_ACEOF
17249 cat confdefs.h >>conftest.$ac_ext
17250 cat >>conftest.$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17253 /* Override any GCC internal prototype to avoid an error.
17254 Use char because int might match the return type of a GCC
17255 builtin and then its argument prototype would still apply. */
17259 char fetch_2d_texel_rgba_dxt1 ();
17263 return fetch_2d_texel_rgba_dxt1 ();
17268 rm -f conftest.$ac_objext conftest$ac_exeext
17269 if { (ac_try="$ac_link"
17270 case "(($ac_try" in
17271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17272 *) ac_try_echo
=$ac_try;;
17274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17275 (eval "$ac_link") 2>conftest.er1
17277 grep -v '^ *+' conftest.er1
>conftest.err
17279 cat conftest.err
>&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); } &&
17282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17283 { (case "(($ac_try" in
17284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17285 *) ac_try_echo=$ac_try;;
17287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17288 (eval "$ac_try") 2>&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; } &&
17292 { ac_try='test -s conftest$ac_exeext'
17293 { (case "(($ac_try" in
17294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17295 *) ac_try_echo
=$ac_try;;
17297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17298 (eval "$ac_try") 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; }; then
17303 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'` ;;
17304 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'` ;;
17306 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17308 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
17311 echo "$as_me: failed program was:" >&5
17312 sed 's/^/| /' conftest.
$ac_ext >&5
17314 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
17317 rm -f core conftest.err conftest.
$ac_objext \
17318 conftest
$ac_exeext conftest.
$ac_ext
17319 LIBS
=$ac_get_soname_save_LIBS
17321 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17322 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17323 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17325 cat >>confdefs.h
<<_ACEOF
17326 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17331 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17332 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17333 if test "${ac_cv_lib_soname_cups+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17336 ac_get_soname_save_LIBS
=$LIBS
17337 LIBS
="-lcups $LIBS"
17338 cat >conftest.
$ac_ext <<_ACEOF
17341 cat confdefs.h
>>conftest.
$ac_ext
17342 cat >>conftest.
$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17345 /* Override any GCC internal prototype to avoid an error.
17346 Use char because int might match the return type of a GCC
17347 builtin and then its argument prototype would still apply. */
17351 char cupsGetDefault ();
17355 return cupsGetDefault ();
17360 rm -f conftest.
$ac_objext conftest
$ac_exeext
17361 if { (ac_try
="$ac_link"
17362 case "(($ac_try" in
17363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17364 *) ac_try_echo=$ac_try;;
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367 (eval "$ac_link") 2>conftest.er1
17369 grep -v '^ *+' conftest.er1 >conftest.err
17371 cat conftest.err >&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } &&
17374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17375 { (case "(($ac_try" in
17376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17377 *) ac_try_echo
=$ac_try;;
17379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17380 (eval "$ac_try") 2>&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; } &&
17384 { ac_try
='test -s conftest$ac_exeext'
17385 { (case "(($ac_try" in
17386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17387 *) ac_try_echo=$ac_try;;
17389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17390 (eval "$ac_try") 2>&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; }; then
17395 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'` ;;
17396 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.so |
sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17398 if test "x$ac_cv_lib_soname_cups" = "x"
17400 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17406 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17409 rm -f core conftest.err conftest.$ac_objext \
17410 conftest$ac_exeext conftest.$ac_ext
17411 LIBS=$ac_get_soname_save_LIBS
17413 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17414 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17415 if test "${ac_cv_lib_soname_cups+set}" = set; then
17417 cat >>confdefs.h <<_ACEOF
17418 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17423 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17424 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17425 if test "${ac_cv_lib_soname_jack+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 ac_get_soname_save_LIBS=$LIBS
17429 LIBS="-ljack $LIBS"
17430 cat >conftest.$ac_ext <<_ACEOF
17433 cat confdefs.h >>conftest.$ac_ext
17434 cat >>conftest.$ac_ext <<_ACEOF
17435 /* end confdefs.h. */
17437 /* Override any GCC internal prototype to avoid an error.
17438 Use char because int might match the return type of a GCC
17439 builtin and then its argument prototype would still apply. */
17443 char jack_client_new ();
17447 return jack_client_new ();
17452 rm -f conftest.$ac_objext conftest$ac_exeext
17453 if { (ac_try="$ac_link"
17454 case "(($ac_try" in
17455 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17456 *) ac_try_echo
=$ac_try;;
17458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17459 (eval "$ac_link") 2>conftest.er1
17461 grep -v '^ *+' conftest.er1
>conftest.err
17463 cat conftest.err
>&5
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); } &&
17466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17467 { (case "(($ac_try" in
17468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17469 *) ac_try_echo=$ac_try;;
17471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17472 (eval "$ac_try") 2>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; } &&
17476 { ac_try='test -s conftest$ac_exeext'
17477 { (case "(($ac_try" in
17478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17479 *) ac_try_echo
=$ac_try;;
17481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17482 (eval "$ac_try") 2>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; }; then
17487 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'` ;;
17488 so
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17490 if test "x$ac_cv_lib_soname_jack" = "x"
17492 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
17495 echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.
$ac_ext >&5
17498 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
17501 rm -f core conftest.err conftest.
$ac_objext \
17502 conftest
$ac_exeext conftest.
$ac_ext
17503 LIBS
=$ac_get_soname_save_LIBS
17505 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17506 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17507 if test "${ac_cv_lib_soname_jack+set}" = set; then
17509 cat >>confdefs.h
<<_ACEOF
17510 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17515 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17516 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17517 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17518 echo $ECHO_N "(cached) $ECHO_C" >&6
17520 ac_get_soname_save_LIBS
=$LIBS
17521 LIBS
="-lfontconfig $LIBS"
17522 cat >conftest.
$ac_ext <<_ACEOF
17525 cat confdefs.h
>>conftest.
$ac_ext
17526 cat >>conftest.
$ac_ext <<_ACEOF
17527 /* end confdefs.h. */
17529 /* Override any GCC internal prototype to avoid an error.
17530 Use char because int might match the return type of a GCC
17531 builtin and then its argument prototype would still apply. */
17544 rm -f conftest.
$ac_objext conftest
$ac_exeext
17545 if { (ac_try
="$ac_link"
17546 case "(($ac_try" in
17547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17548 *) ac_try_echo=$ac_try;;
17550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17551 (eval "$ac_link") 2>conftest.er1
17553 grep -v '^ *+' conftest.er1 >conftest.err
17555 cat conftest.err >&5
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); } &&
17558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17559 { (case "(($ac_try" in
17560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17561 *) ac_try_echo
=$ac_try;;
17563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17564 (eval "$ac_try") 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; } &&
17568 { ac_try
='test -s conftest$ac_exeext'
17569 { (case "(($ac_try" in
17570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17571 *) ac_try_echo=$ac_try;;
17573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17574 (eval "$ac_try") 2>&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); }; }; then
17579 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'` ;;
17580 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.so |
sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17582 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17584 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17590 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17593 rm -f core conftest.err conftest.$ac_objext \
17594 conftest$ac_exeext conftest.$ac_ext
17595 LIBS=$ac_get_soname_save_LIBS
17597 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17598 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17599 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17601 cat >>confdefs.h <<_ACEOF
17602 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17607 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17608 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17609 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17610 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 ac_get_soname_save_LIBS=$LIBS
17614 cat >conftest.$ac_ext <<_ACEOF
17617 cat confdefs.h >>conftest.$ac_ext
17618 cat >>conftest.$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17621 /* Override any GCC internal prototype to avoid an error.
17622 Use char because int might match the return type of a GCC
17623 builtin and then its argument prototype would still apply. */
17627 char SSL_library_init ();
17631 return SSL_library_init ();
17636 rm -f conftest.$ac_objext conftest$ac_exeext
17637 if { (ac_try="$ac_link"
17638 case "(($ac_try" in
17639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17640 *) ac_try_echo
=$ac_try;;
17642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17643 (eval "$ac_link") 2>conftest.er1
17645 grep -v '^ *+' conftest.er1
>conftest.err
17647 cat conftest.err
>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); } &&
17650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17651 { (case "(($ac_try" in
17652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17653 *) ac_try_echo=$ac_try;;
17655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17656 (eval "$ac_try") 2>&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); }; } &&
17660 { ac_try='test -s conftest$ac_exeext'
17661 { (case "(($ac_try" in
17662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17663 *) ac_try_echo
=$ac_try;;
17665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17666 (eval "$ac_try") 2>&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; }; then
17671 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'` ;;
17672 so
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17674 if test "x$ac_cv_lib_soname_ssl" = "x"
17676 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
17679 echo "$as_me: failed program was:" >&5
17680 sed 's/^/| /' conftest.
$ac_ext >&5
17682 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
17685 rm -f core conftest.err conftest.
$ac_objext \
17686 conftest
$ac_exeext conftest.
$ac_ext
17687 LIBS
=$ac_get_soname_save_LIBS
17689 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17690 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17691 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17693 cat >>confdefs.h
<<_ACEOF
17694 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17699 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17700 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17701 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17702 echo $ECHO_N "(cached) $ECHO_C" >&6
17704 ac_get_soname_save_LIBS
=$LIBS
17705 LIBS
="-lcrypto $LIBS"
17706 cat >conftest.
$ac_ext <<_ACEOF
17709 cat confdefs.h
>>conftest.
$ac_ext
17710 cat >>conftest.
$ac_ext <<_ACEOF
17711 /* end confdefs.h. */
17713 /* Override any GCC internal prototype to avoid an error.
17714 Use char because int might match the return type of a GCC
17715 builtin and then its argument prototype would still apply. */
17719 char BIO_new_socket ();
17723 return BIO_new_socket ();
17728 rm -f conftest.
$ac_objext conftest
$ac_exeext
17729 if { (ac_try
="$ac_link"
17730 case "(($ac_try" in
17731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17732 *) ac_try_echo=$ac_try;;
17734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17735 (eval "$ac_link") 2>conftest.er1
17737 grep -v '^ *+' conftest.er1 >conftest.err
17739 cat conftest.err >&5
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); } &&
17742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17743 { (case "(($ac_try" in
17744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17745 *) ac_try_echo
=$ac_try;;
17747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17748 (eval "$ac_try") 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; } &&
17752 { ac_try
='test -s conftest$ac_exeext'
17753 { (case "(($ac_try" in
17754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17755 *) ac_try_echo=$ac_try;;
17757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17758 (eval "$ac_try") 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; }; then
17763 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'` ;;
17764 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.so |
sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17766 if test "x$ac_cv_lib_soname_crypto" = "x"
17768 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17771 echo "$as_me: failed program was:" >&5
17772 sed 's/^/| /' conftest.$ac_ext >&5
17774 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17777 rm -f core conftest.err conftest.$ac_objext \
17778 conftest$ac_exeext conftest.$ac_ext
17779 LIBS=$ac_get_soname_save_LIBS
17781 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17782 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17783 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17785 cat >>confdefs.h <<_ACEOF
17786 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17791 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17792 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17793 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17796 ac_get_soname_save_LIBS=$LIBS
17797 LIBS="-lncurses $LIBS"
17798 cat >conftest.$ac_ext <<_ACEOF
17801 cat confdefs.h >>conftest.$ac_ext
17802 cat >>conftest.$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17805 /* Override any GCC internal prototype to avoid an error.
17806 Use char because int might match the return type of a GCC
17807 builtin and then its argument prototype would still apply. */
17820 rm -f conftest.$ac_objext conftest$ac_exeext
17821 if { (ac_try="$ac_link"
17822 case "(($ac_try" in
17823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17824 *) ac_try_echo
=$ac_try;;
17826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17827 (eval "$ac_link") 2>conftest.er1
17829 grep -v '^ *+' conftest.er1
>conftest.err
17831 cat conftest.err
>&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); } &&
17834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17835 { (case "(($ac_try" in
17836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17837 *) ac_try_echo=$ac_try;;
17839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17840 (eval "$ac_try") 2>&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; } &&
17844 { ac_try='test -s conftest$ac_exeext'
17845 { (case "(($ac_try" in
17846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17847 *) ac_try_echo
=$ac_try;;
17849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17850 (eval "$ac_try") 2>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; }; then
17855 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'` ;;
17856 so
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17858 if test "x$ac_cv_lib_soname_ncurses" = "x"
17860 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
17863 echo "$as_me: failed program was:" >&5
17864 sed 's/^/| /' conftest.
$ac_ext >&5
17866 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
17869 rm -f core conftest.err conftest.
$ac_objext \
17870 conftest
$ac_exeext conftest.
$ac_ext
17871 LIBS
=$ac_get_soname_save_LIBS
17873 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17874 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17875 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17877 cat >>confdefs.h
<<_ACEOF
17878 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17883 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17884 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17885 if test "${ac_cv_lib_soname_curses+set}" = set; then
17886 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 ac_get_soname_save_LIBS
=$LIBS
17889 LIBS
="-lcurses $LIBS"
17890 cat >conftest.
$ac_ext <<_ACEOF
17893 cat confdefs.h
>>conftest.
$ac_ext
17894 cat >>conftest.
$ac_ext <<_ACEOF
17895 /* end confdefs.h. */
17897 /* Override any GCC internal prototype to avoid an error.
17898 Use char because int might match the return type of a GCC
17899 builtin and then its argument prototype would still apply. */
17912 rm -f conftest.
$ac_objext conftest
$ac_exeext
17913 if { (ac_try
="$ac_link"
17914 case "(($ac_try" in
17915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17916 *) ac_try_echo=$ac_try;;
17918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17919 (eval "$ac_link") 2>conftest.er1
17921 grep -v '^ *+' conftest.er1 >conftest.err
17923 cat conftest.err >&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } &&
17926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17927 { (case "(($ac_try" in
17928 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17929 *) ac_try_echo
=$ac_try;;
17931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17932 (eval "$ac_try") 2>&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); }; } &&
17936 { ac_try
='test -s conftest$ac_exeext'
17937 { (case "(($ac_try" in
17938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17939 *) ac_try_echo=$ac_try;;
17941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17942 (eval "$ac_try") 2>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; }; then
17947 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'` ;;
17948 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.so |
sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17950 if test "x$ac_cv_lib_soname_curses" = "x"
17952 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.$ac_ext >&5
17958 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17961 rm -f core conftest.err conftest.$ac_objext \
17962 conftest$ac_exeext conftest.$ac_ext
17963 LIBS=$ac_get_soname_save_LIBS
17965 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17966 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17967 if test "${ac_cv_lib_soname_curses+set}" = set; then
17969 cat >>confdefs.h <<_ACEOF
17970 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17975 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17976 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17977 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17978 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 ac_get_soname_save_LIBS=$LIBS
17981 LIBS="-ljpeg $LIBS"
17982 cat >conftest.$ac_ext <<_ACEOF
17985 cat confdefs.h >>conftest.$ac_ext
17986 cat >>conftest.$ac_ext <<_ACEOF
17987 /* end confdefs.h. */
17989 /* Override any GCC internal prototype to avoid an error.
17990 Use char because int might match the return type of a GCC
17991 builtin and then its argument prototype would still apply. */
17995 char jpeg_start_decompress ();
17999 return jpeg_start_decompress ();
18004 rm -f conftest.$ac_objext conftest$ac_exeext
18005 if { (ac_try="$ac_link"
18006 case "(($ac_try" in
18007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18008 *) ac_try_echo
=$ac_try;;
18010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18011 (eval "$ac_link") 2>conftest.er1
18013 grep -v '^ *+' conftest.er1
>conftest.err
18015 cat conftest.err
>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); } &&
18018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18019 { (case "(($ac_try" in
18020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18021 *) ac_try_echo=$ac_try;;
18023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18024 (eval "$ac_try") 2>&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; } &&
18028 { ac_try='test -s conftest$ac_exeext'
18029 { (case "(($ac_try" in
18030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18031 *) ac_try_echo
=$ac_try;;
18033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18034 (eval "$ac_try") 2>&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); }; }; then
18039 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'` ;;
18040 so
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18042 if test "x$ac_cv_lib_soname_jpeg" = "x"
18044 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
18047 echo "$as_me: failed program was:" >&5
18048 sed 's/^/| /' conftest.
$ac_ext >&5
18050 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
18053 rm -f core conftest.err conftest.
$ac_objext \
18054 conftest
$ac_exeext conftest.
$ac_ext
18055 LIBS
=$ac_get_soname_save_LIBS
18057 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18058 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18059 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18061 cat >>confdefs.h
<<_ACEOF
18062 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18067 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18068 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18069 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18070 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 ac_get_soname_save_LIBS
=$LIBS
18073 LIBS
="-lcapi20 $LIBS"
18074 cat >conftest.
$ac_ext <<_ACEOF
18077 cat confdefs.h
>>conftest.
$ac_ext
18078 cat >>conftest.
$ac_ext <<_ACEOF
18079 /* end confdefs.h. */
18081 /* Override any GCC internal prototype to avoid an error.
18082 Use char because int might match the return type of a GCC
18083 builtin and then its argument prototype would still apply. */
18087 char capi20_isinstalled ();
18091 return capi20_isinstalled ();
18096 rm -f conftest.
$ac_objext conftest
$ac_exeext
18097 if { (ac_try
="$ac_link"
18098 case "(($ac_try" in
18099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18100 *) ac_try_echo=$ac_try;;
18102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18103 (eval "$ac_link") 2>conftest.er1
18105 grep -v '^ *+' conftest.er1 >conftest.err
18107 cat conftest.err >&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); } &&
18110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18111 { (case "(($ac_try" in
18112 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18113 *) ac_try_echo
=$ac_try;;
18115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18116 (eval "$ac_try") 2>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; } &&
18120 { ac_try
='test -s conftest$ac_exeext'
18121 { (case "(($ac_try" in
18122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18123 *) ac_try_echo=$ac_try;;
18125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18126 (eval "$ac_try") 2>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; }; then
18131 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'` ;;
18132 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.so |
sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18134 if test "x$ac_cv_lib_soname_capi20" = "x"
18136 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18139 echo "$as_me: failed program was:" >&5
18140 sed 's/^/| /' conftest.$ac_ext >&5
18142 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18145 rm -f core conftest.err conftest.$ac_objext \
18146 conftest$ac_exeext conftest.$ac_ext
18147 LIBS=$ac_get_soname_save_LIBS
18149 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18150 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18151 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18153 cat >>confdefs.h <<_ACEOF
18154 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18304 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18307 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18310 cat >conftest.$ac_ext <<_ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18318 #define $ac_func innocuous_$ac_func
18320 /* System header to define __stub macros and hopefully few prototypes,
18321 which can conflict with char $ac_func (); below.
18322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18323 <limits.h> exists even on freestanding compilers. */
18326 # include <limits.h>
18328 # include <assert.h>
18333 /* Override any GCC internal prototype to avoid an error.
18334 Use char because int might match the return type of a GCC
18335 builtin and then its argument prototype would still apply. */
18340 /* The GNU C library defines this for functions which it implements
18341 to always fail with ENOSYS. Some functions are actually named
18342 something starting with __ and the normal name is an alias. */
18343 #if defined __stub_$ac_func || defined __stub___$ac_func
18350 return $ac_func ();
18355 rm -f conftest.$ac_objext conftest$ac_exeext
18356 if { (ac_try="$ac_link"
18357 case "(($ac_try" in
18358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18359 *) ac_try_echo
=$ac_try;;
18361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18362 (eval "$ac_link") 2>conftest.er1
18364 grep -v '^ *+' conftest.er1
>conftest.err
18366 cat conftest.err
>&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } &&
18369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18370 { (case "(($ac_try" in
18371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18372 *) ac_try_echo=$ac_try;;
18374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18375 (eval "$ac_try") 2>&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); }; } &&
18379 { ac_try='test -s conftest$ac_exeext'
18380 { (case "(($ac_try" in
18381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18382 *) ac_try_echo
=$ac_try;;
18384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18385 (eval "$ac_try") 2>&5
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; }; then
18389 eval "$as_ac_var=yes"
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.
$ac_ext >&5
18394 eval "$as_ac_var=no"
18397 rm -f core conftest.err conftest.
$ac_objext \
18398 conftest
$ac_exeext conftest.
$ac_ext
18400 ac_res
=`eval echo '${'$as_ac_var'}'`
18401 { echo "$as_me:$LINENO: result: $ac_res" >&5
18402 echo "${ECHO_T}$ac_res" >&6; }
18403 if test `eval echo '${'$as_ac_var'}'` = yes; then
18404 cat >>confdefs.h
<<_ACEOF
18405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18412 if test "$ac_cv_func_dlopen" = no
18414 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18415 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18416 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18417 echo $ECHO_N "(cached) $ECHO_C" >&6
18419 ac_check_lib_save_LIBS
=$LIBS
18421 cat >conftest.
$ac_ext <<_ACEOF
18424 cat confdefs.h
>>conftest.
$ac_ext
18425 cat >>conftest.
$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18428 /* Override any GCC internal prototype to avoid an error.
18429 Use char because int might match the return type of a GCC
18430 builtin and then its argument prototype would still apply. */
18443 rm -f conftest.
$ac_objext conftest
$ac_exeext
18444 if { (ac_try
="$ac_link"
18445 case "(($ac_try" in
18446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_link") 2>conftest.er1
18452 grep -v '^ *+' conftest.er1 >conftest.err
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } &&
18457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18458 { (case "(($ac_try" in
18459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18460 *) ac_try_echo
=$ac_try;;
18462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18463 (eval "$ac_try") 2>&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); }; } &&
18467 { ac_try
='test -s conftest$ac_exeext'
18468 { (case "(($ac_try" in
18469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18470 *) ac_try_echo=$ac_try;;
18472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18473 (eval "$ac_try") 2>&5
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); }; }; then
18477 ac_cv_lib_dl_dlopen=yes
18479 echo "$as_me: failed program was:" >&5
18480 sed 's/^/| /' conftest.$ac_ext >&5
18482 ac_cv_lib_dl_dlopen=no
18485 rm -f core conftest.err conftest.$ac_objext \
18486 conftest$ac_exeext conftest.$ac_ext
18487 LIBS=$ac_check_lib_save_LIBS
18489 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18490 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18491 if test $ac_cv_lib_dl_dlopen = yes; then
18492 cat >>confdefs.h <<\_ACEOF
18493 #define HAVE_DLOPEN 1
18500 ac_wine_check_funcs_save_LIBS="$LIBS"
18501 LIBS="$LIBS $LIBDL"
18503 for ac_func in dladdr
18505 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18506 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18508 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18509 echo $ECHO_N "(cached) $ECHO_C" >&6
18511 cat >conftest.$ac_ext <<_ACEOF
18514 cat confdefs.h >>conftest.$ac_ext
18515 cat >>conftest.$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18519 #define $ac_func innocuous_$ac_func
18521 /* System header to define __stub macros and hopefully few prototypes,
18522 which can conflict with char $ac_func (); below.
18523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18524 <limits.h> exists even on freestanding compilers. */
18527 # include <limits.h>
18529 # include <assert.h>
18534 /* Override any GCC internal prototype to avoid an error.
18535 Use char because int might match the return type of a GCC
18536 builtin and then its argument prototype would still apply. */
18541 /* The GNU C library defines this for functions which it implements
18542 to always fail with ENOSYS. Some functions are actually named
18543 something starting with __ and the normal name is an alias. */
18544 #if defined __stub_$ac_func || defined __stub___$ac_func
18551 return $ac_func ();
18556 rm -f conftest.$ac_objext conftest$ac_exeext
18557 if { (ac_try="$ac_link"
18558 case "(($ac_try" in
18559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18560 *) ac_try_echo
=$ac_try;;
18562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18563 (eval "$ac_link") 2>conftest.er1
18565 grep -v '^ *+' conftest.er1
>conftest.err
18567 cat conftest.err
>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); } &&
18570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18571 { (case "(($ac_try" in
18572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18573 *) ac_try_echo=$ac_try;;
18575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18576 (eval "$ac_try") 2>&5
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; } &&
18580 { ac_try='test -s conftest$ac_exeext'
18581 { (case "(($ac_try" in
18582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18583 *) ac_try_echo
=$ac_try;;
18585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18586 (eval "$ac_try") 2>&5
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); }; }; then
18590 eval "$as_ac_var=yes"
18592 echo "$as_me: failed program was:" >&5
18593 sed 's/^/| /' conftest.
$ac_ext >&5
18595 eval "$as_ac_var=no"
18598 rm -f core conftest.err conftest.
$ac_objext \
18599 conftest
$ac_exeext conftest.
$ac_ext
18601 ac_res
=`eval echo '${'$as_ac_var'}'`
18602 { echo "$as_me:$LINENO: result: $ac_res" >&5
18603 echo "${ECHO_T}$ac_res" >&6; }
18604 if test `eval echo '${'$as_ac_var'}'` = yes; then
18605 cat >>confdefs.h
<<_ACEOF
18606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18612 LIBS
="$ac_wine_check_funcs_save_LIBS"
18614 if test "$ac_cv_func_poll" = no
18616 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18617 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18618 if test "${ac_cv_lib_poll_poll+set}" = set; then
18619 echo $ECHO_N "(cached) $ECHO_C" >&6
18621 ac_check_lib_save_LIBS
=$LIBS
18622 LIBS
="-lpoll $LIBS"
18623 cat >conftest.
$ac_ext <<_ACEOF
18626 cat confdefs.h
>>conftest.
$ac_ext
18627 cat >>conftest.
$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18630 /* Override any GCC internal prototype to avoid an error.
18631 Use char because int might match the return type of a GCC
18632 builtin and then its argument prototype would still apply. */
18645 rm -f conftest.
$ac_objext conftest
$ac_exeext
18646 if { (ac_try
="$ac_link"
18647 case "(($ac_try" in
18648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18649 *) ac_try_echo=$ac_try;;
18651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18652 (eval "$ac_link") 2>conftest.er1
18654 grep -v '^ *+' conftest.er1 >conftest.err
18656 cat conftest.err >&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } &&
18659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18660 { (case "(($ac_try" in
18661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18662 *) ac_try_echo
=$ac_try;;
18664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18665 (eval "$ac_try") 2>&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; } &&
18669 { ac_try
='test -s conftest$ac_exeext'
18670 { (case "(($ac_try" in
18671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18672 *) ac_try_echo=$ac_try;;
18674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18675 (eval "$ac_try") 2>&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); }; }; then
18679 ac_cv_lib_poll_poll=yes
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.$ac_ext >&5
18684 ac_cv_lib_poll_poll=no
18687 rm -f core conftest.err conftest.$ac_objext \
18688 conftest$ac_exeext conftest.$ac_ext
18689 LIBS=$ac_check_lib_save_LIBS
18691 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18692 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18693 if test $ac_cv_lib_poll_poll = yes; then
18694 cat >>confdefs.h <<\_ACEOF
18695 #define HAVE_POLL 1
18703 if test "$ac_cv_func_gethostbyname" = no
18706 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18707 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18708 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18709 echo $ECHO_N "(cached) $ECHO_C" >&6
18711 ac_check_lib_save_LIBS=$LIBS
18713 cat >conftest.$ac_ext <<_ACEOF
18716 cat confdefs.h >>conftest.$ac_ext
18717 cat >>conftest.$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18720 /* Override any GCC internal prototype to avoid an error.
18721 Use char because int might match the return type of a GCC
18722 builtin and then its argument prototype would still apply. */
18726 char gethostbyname ();
18730 return gethostbyname ();
18735 rm -f conftest.$ac_objext conftest$ac_exeext
18736 if { (ac_try="$ac_link"
18737 case "(($ac_try" in
18738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18739 *) ac_try_echo
=$ac_try;;
18741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18742 (eval "$ac_link") 2>conftest.er1
18744 grep -v '^ *+' conftest.er1
>conftest.err
18746 cat conftest.err
>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18750 { (case "(($ac_try" in
18751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18752 *) ac_try_echo=$ac_try;;
18754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18755 (eval "$ac_try") 2>&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; } &&
18759 { ac_try='test -s conftest$ac_exeext'
18760 { (case "(($ac_try" in
18761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18762 *) ac_try_echo
=$ac_try;;
18764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18765 (eval "$ac_try") 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; }; then
18769 ac_cv_lib_nsl_gethostbyname
=yes
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.
$ac_ext >&5
18774 ac_cv_lib_nsl_gethostbyname
=no
18777 rm -f core conftest.err conftest.
$ac_objext \
18778 conftest
$ac_exeext conftest.
$ac_ext
18779 LIBS
=$ac_check_lib_save_LIBS
18781 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18782 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18783 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18784 cat >>confdefs.h
<<_ACEOF
18785 #define HAVE_LIBNSL 1
18794 if test "$ac_cv_func_connect" = no
18797 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18798 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18799 if test "${ac_cv_lib_socket_connect+set}" = set; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 ac_check_lib_save_LIBS
=$LIBS
18803 LIBS
="-lsocket $LIBS"
18804 cat >conftest.
$ac_ext <<_ACEOF
18807 cat confdefs.h
>>conftest.
$ac_ext
18808 cat >>conftest.
$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18811 /* Override any GCC internal prototype to avoid an error.
18812 Use char because int might match the return type of a GCC
18813 builtin and then its argument prototype would still apply. */
18826 rm -f conftest.
$ac_objext conftest
$ac_exeext
18827 if { (ac_try
="$ac_link"
18828 case "(($ac_try" in
18829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18830 *) ac_try_echo=$ac_try;;
18832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18833 (eval "$ac_link") 2>conftest.er1
18835 grep -v '^ *+' conftest.er1 >conftest.err
18837 cat conftest.err >&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); } &&
18840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18841 { (case "(($ac_try" in
18842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18843 *) ac_try_echo
=$ac_try;;
18845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18846 (eval "$ac_try") 2>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; } &&
18850 { ac_try
='test -s conftest$ac_exeext'
18851 { (case "(($ac_try" in
18852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18853 *) ac_try_echo=$ac_try;;
18855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18856 (eval "$ac_try") 2>&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); }; }; then
18860 ac_cv_lib_socket_connect=yes
18862 echo "$as_me: failed program was:" >&5
18863 sed 's/^/| /' conftest.$ac_ext >&5
18865 ac_cv_lib_socket_connect=no
18868 rm -f core conftest.err conftest.$ac_objext \
18869 conftest$ac_exeext conftest.$ac_ext
18870 LIBS=$ac_check_lib_save_LIBS
18872 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18873 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18874 if test $ac_cv_lib_socket_connect = yes; then
18875 cat >>confdefs.h <<_ACEOF
18876 #define HAVE_LIBSOCKET 1
18879 LIBS="-lsocket $LIBS"
18885 if test "$ac_cv_func_inet_aton" = no
18888 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18889 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18890 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18893 ac_check_lib_save_LIBS=$LIBS
18894 LIBS="-lresolv $LIBS"
18895 cat >conftest.$ac_ext <<_ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18902 /* Override any GCC internal prototype to avoid an error.
18903 Use char because int might match the return type of a GCC
18904 builtin and then its argument prototype would still apply. */
18912 return inet_aton ();
18917 rm -f conftest.$ac_objext conftest$ac_exeext
18918 if { (ac_try="$ac_link"
18919 case "(($ac_try" in
18920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18921 *) ac_try_echo
=$ac_try;;
18923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18924 (eval "$ac_link") 2>conftest.er1
18926 grep -v '^ *+' conftest.er1
>conftest.err
18928 cat conftest.err
>&5
18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18930 (exit $ac_status); } &&
18931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18932 { (case "(($ac_try" in
18933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18934 *) ac_try_echo=$ac_try;;
18936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18937 (eval "$ac_try") 2>&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); }; } &&
18941 { ac_try='test -s conftest$ac_exeext'
18942 { (case "(($ac_try" in
18943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18944 *) ac_try_echo
=$ac_try;;
18946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18947 (eval "$ac_try") 2>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); }; }; then
18951 ac_cv_lib_resolv_inet_aton
=yes
18953 echo "$as_me: failed program was:" >&5
18954 sed 's/^/| /' conftest.
$ac_ext >&5
18956 ac_cv_lib_resolv_inet_aton
=no
18959 rm -f core conftest.err conftest.
$ac_objext \
18960 conftest
$ac_exeext conftest.
$ac_ext
18961 LIBS
=$ac_check_lib_save_LIBS
18963 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18964 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18965 if test $ac_cv_lib_resolv_inet_aton = yes; then
18966 cat >>confdefs.h
<<_ACEOF
18967 #define HAVE_LIBRESOLV 1
18970 LIBS
="-lresolv $LIBS"
18977 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18978 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18979 if test "${ac_cv_c_const+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 cat >conftest.
$ac_ext <<_ACEOF
18985 cat confdefs.h
>>conftest.
$ac_ext
18986 cat >>conftest.
$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18992 /* FIXME: Include the comments suggested by Paul. */
18993 #ifndef __cplusplus
18994 /* Ultrix mips cc rejects this. */
18995 typedef int charset[2];
18997 /* SunOS 4.1.1 cc rejects this. */
18998 char const *const *ccp;
19000 /* NEC SVR4.0.2 mips cc rejects this. */
19001 struct point {int x, y;};
19002 static struct point const zero = {0,0};
19003 /* AIX XL C 1.02.0.0 rejects this.
19004 It does not let you subtract one const X* pointer from another in
19005 an arm of an if-expression whose if-part is not a constant
19007 const char *g = "string";
19008 ccp = &g + (g ? g-g : 0);
19009 /* HPUX 7.0 cc rejects these. */
19012 ccp = (char const *const *) p;
19013 { /* SCO 3.2v4 cc rejects this. */
19015 char const *s = 0 ? (char *) 0 : (char const *) 0;
19020 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19021 int x[] = {25, 17};
19022 const int *foo = &x[0];
19025 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19026 typedef const int *iptr;
19030 { /* AIX XL C 1.02.0.0 rejects this saying
19031 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19032 struct s { int j; const int *ap[3]; };
19033 struct s *b; b->j = 5;
19035 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19036 const int foo = 10;
19037 if (!foo) return 0;
19039 return !x[0] && !zero.x;
19046 rm -f conftest.
$ac_objext
19047 if { (ac_try
="$ac_compile"
19048 case "(($ac_try" in
19049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19050 *) ac_try_echo=$ac_try;;
19052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19053 (eval "$ac_compile") 2>conftest.er1
19055 grep -v '^ *+' conftest.er1 >conftest.err
19057 cat conftest.err >&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } &&
19060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19061 { (case "(($ac_try" in
19062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19063 *) ac_try_echo
=$ac_try;;
19065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19066 (eval "$ac_try") 2>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; } &&
19070 { ac_try
='test -s conftest.$ac_objext'
19071 { (case "(($ac_try" in
19072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19073 *) ac_try_echo=$ac_try;;
19075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19076 (eval "$ac_try") 2>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; }; then
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19090 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19091 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19092 if test $ac_cv_c_const = no; then
19094 cat >>confdefs.h <<\_ACEOF
19100 { echo "$as_me:$LINENO: checking for inline" >&5
19101 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19102 if test "${ac_cv_c_inline+set}" = set; then
19103 echo $ECHO_N "(cached) $ECHO_C" >&6
19106 for ac_kw in inline __inline__ __inline; do
19107 cat >conftest.$ac_ext <<_ACEOF
19110 cat confdefs.h >>conftest.$ac_ext
19111 cat >>conftest.$ac_ext <<_ACEOF
19112 /* end confdefs.h. */
19113 #ifndef __cplusplus
19115 static $ac_kw foo_t static_foo () {return 0; }
19116 $ac_kw foo_t foo () {return 0; }
19120 rm -f conftest.$ac_objext
19121 if { (ac_try="$ac_compile"
19122 case "(($ac_try" in
19123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19124 *) ac_try_echo
=$ac_try;;
19126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19127 (eval "$ac_compile") 2>conftest.er1
19129 grep -v '^ *+' conftest.er1
>conftest.err
19131 cat conftest.err
>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } &&
19134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19135 { (case "(($ac_try" in
19136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19137 *) ac_try_echo=$ac_try;;
19139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19140 (eval "$ac_try") 2>&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); }; } &&
19144 { ac_try='test -s conftest.$ac_objext'
19145 { (case "(($ac_try" in
19146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19147 *) ac_try_echo
=$ac_try;;
19149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19150 (eval "$ac_try") 2>&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; }; then
19154 ac_cv_c_inline
=$ac_kw
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.
$ac_ext >&5
19162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19163 test "$ac_cv_c_inline" != no
&& break
19167 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19168 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19171 case $ac_cv_c_inline in
19174 case $ac_cv_c_inline in
19176 *) ac_val
=$ac_cv_c_inline;;
19178 cat >>confdefs.h
<<_ACEOF
19179 #ifndef __cplusplus
19180 #define inline $ac_val
19186 { echo "$as_me:$LINENO: checking for mode_t" >&5
19187 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19188 if test "${ac_cv_type_mode_t+set}" = set; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19191 cat >conftest.
$ac_ext <<_ACEOF
19194 cat confdefs.h
>>conftest.
$ac_ext
19195 cat >>conftest.
$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19197 $ac_includes_default
19198 typedef mode_t ac__type_new_;
19202 if ((ac__type_new_ *) 0)
19204 if (sizeof (ac__type_new_))
19210 rm -f conftest.
$ac_objext
19211 if { (ac_try
="$ac_compile"
19212 case "(($ac_try" in
19213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19214 *) ac_try_echo=$ac_try;;
19216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19217 (eval "$ac_compile") 2>conftest.er1
19219 grep -v '^ *+' conftest.er1 >conftest.err
19221 cat conftest.err >&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } &&
19224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19225 { (case "(($ac_try" in
19226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19227 *) ac_try_echo
=$ac_try;;
19229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19230 (eval "$ac_try") 2>&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); }; } &&
19234 { ac_try
='test -s conftest.$ac_objext'
19235 { (case "(($ac_try" in
19236 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19237 *) ac_try_echo=$ac_try;;
19239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19240 (eval "$ac_try") 2>&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); }; }; then
19244 ac_cv_type_mode_t=yes
19246 echo "$as_me: failed program was:" >&5
19247 sed 's/^/| /' conftest.$ac_ext >&5
19249 ac_cv_type_mode_t=no
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19255 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19256 if test $ac_cv_type_mode_t = yes; then
19258 cat >>confdefs.h <<_ACEOF
19259 #define HAVE_MODE_T 1
19264 { echo "$as_me:$LINENO: checking for off_t" >&5
19265 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19266 if test "${ac_cv_type_off_t+set}" = set; then
19267 echo $ECHO_N "(cached) $ECHO_C" >&6
19269 cat >conftest.$ac_ext <<_ACEOF
19272 cat confdefs.h >>conftest.$ac_ext
19273 cat >>conftest.$ac_ext <<_ACEOF
19274 /* end confdefs.h. */
19275 $ac_includes_default
19276 typedef off_t ac__type_new_;
19280 if ((ac__type_new_ *) 0)
19282 if (sizeof (ac__type_new_))
19288 rm -f conftest.$ac_objext
19289 if { (ac_try="$ac_compile"
19290 case "(($ac_try" in
19291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19292 *) ac_try_echo
=$ac_try;;
19294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19295 (eval "$ac_compile") 2>conftest.er1
19297 grep -v '^ *+' conftest.er1
>conftest.err
19299 cat conftest.err
>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); } &&
19302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19303 { (case "(($ac_try" in
19304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19305 *) ac_try_echo=$ac_try;;
19307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19308 (eval "$ac_try") 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; } &&
19312 { ac_try='test -s conftest.$ac_objext'
19313 { (case "(($ac_try" in
19314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19315 *) ac_try_echo
=$ac_try;;
19317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19318 (eval "$ac_try") 2>&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); }; }; then
19322 ac_cv_type_off_t
=yes
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.
$ac_ext >&5
19327 ac_cv_type_off_t
=no
19330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19332 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19333 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19334 if test $ac_cv_type_off_t = yes; then
19336 cat >>confdefs.h
<<_ACEOF
19337 #define HAVE_OFF_T 1
19342 { echo "$as_me:$LINENO: checking for pid_t" >&5
19343 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19344 if test "${ac_cv_type_pid_t+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19347 cat >conftest.
$ac_ext <<_ACEOF
19350 cat confdefs.h
>>conftest.
$ac_ext
19351 cat >>conftest.
$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19353 $ac_includes_default
19354 typedef pid_t ac__type_new_;
19358 if ((ac__type_new_ *) 0)
19360 if (sizeof (ac__type_new_))
19366 rm -f conftest.
$ac_objext
19367 if { (ac_try
="$ac_compile"
19368 case "(($ac_try" in
19369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19370 *) ac_try_echo=$ac_try;;
19372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19373 (eval "$ac_compile") 2>conftest.er1
19375 grep -v '^ *+' conftest.er1 >conftest.err
19377 cat conftest.err >&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } &&
19380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19381 { (case "(($ac_try" in
19382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19383 *) ac_try_echo
=$ac_try;;
19385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19386 (eval "$ac_try") 2>&5
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; } &&
19390 { ac_try
='test -s conftest.$ac_objext'
19391 { (case "(($ac_try" in
19392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19393 *) ac_try_echo=$ac_try;;
19395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19396 (eval "$ac_try") 2>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); }; }; then
19400 ac_cv_type_pid_t=yes
19402 echo "$as_me: failed program was:" >&5
19403 sed 's/^/| /' conftest.$ac_ext >&5
19405 ac_cv_type_pid_t=no
19408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19410 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19411 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19412 if test $ac_cv_type_pid_t = yes; then
19414 cat >>confdefs.h <<_ACEOF
19415 #define HAVE_PID_T 1
19420 { echo "$as_me:$LINENO: checking for size_t" >&5
19421 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19422 if test "${ac_cv_type_size_t+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19425 cat >conftest.$ac_ext <<_ACEOF
19428 cat confdefs.h >>conftest.$ac_ext
19429 cat >>conftest.$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
19431 $ac_includes_default
19432 typedef size_t ac__type_new_;
19436 if ((ac__type_new_ *) 0)
19438 if (sizeof (ac__type_new_))
19444 rm -f conftest.$ac_objext
19445 if { (ac_try="$ac_compile"
19446 case "(($ac_try" in
19447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19448 *) ac_try_echo
=$ac_try;;
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_compile") 2>conftest.er1
19453 grep -v '^ *+' conftest.er1
>conftest.err
19455 cat conftest.err
>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } &&
19458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19459 { (case "(($ac_try" in
19460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19461 *) ac_try_echo=$ac_try;;
19463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19464 (eval "$ac_try") 2>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; } &&
19468 { ac_try='test -s conftest.$ac_objext'
19469 { (case "(($ac_try" in
19470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19471 *) ac_try_echo
=$ac_try;;
19473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19474 (eval "$ac_try") 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 ac_cv_type_size_t
=yes
19480 echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.
$ac_ext >&5
19483 ac_cv_type_size_t
=no
19486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19488 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19489 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19490 if test $ac_cv_type_size_t = yes; then
19492 cat >>confdefs.h
<<_ACEOF
19493 #define HAVE_SIZE_T 1
19498 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19499 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19500 if test "${ac_cv_type_ssize_t+set}" = set; then
19501 echo $ECHO_N "(cached) $ECHO_C" >&6
19503 cat >conftest.
$ac_ext <<_ACEOF
19506 cat confdefs.h
>>conftest.
$ac_ext
19507 cat >>conftest.
$ac_ext <<_ACEOF
19508 /* end confdefs.h. */
19509 $ac_includes_default
19510 typedef ssize_t ac__type_new_;
19514 if ((ac__type_new_ *) 0)
19516 if (sizeof (ac__type_new_))
19522 rm -f conftest.
$ac_objext
19523 if { (ac_try
="$ac_compile"
19524 case "(($ac_try" in
19525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19526 *) ac_try_echo=$ac_try;;
19528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19529 (eval "$ac_compile") 2>conftest.er1
19531 grep -v '^ *+' conftest.er1 >conftest.err
19533 cat conftest.err >&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } &&
19536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19537 { (case "(($ac_try" in
19538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19539 *) ac_try_echo
=$ac_try;;
19541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19542 (eval "$ac_try") 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; } &&
19546 { ac_try
='test -s conftest.$ac_objext'
19547 { (case "(($ac_try" in
19548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19549 *) ac_try_echo=$ac_try;;
19551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19552 (eval "$ac_try") 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; }; then
19556 ac_cv_type_ssize_t=yes
19558 echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.$ac_ext >&5
19561 ac_cv_type_ssize_t=no
19564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19566 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19567 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19568 if test $ac_cv_type_ssize_t = yes; then
19570 cat >>confdefs.h <<_ACEOF
19571 #define HAVE_SSIZE_T 1
19576 { echo "$as_me:$LINENO: checking for long long" >&5
19577 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19578 if test "${ac_cv_type_long_long+set}" = set; then
19579 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 cat >conftest.$ac_ext <<_ACEOF
19584 cat confdefs.h >>conftest.$ac_ext
19585 cat >>conftest.$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19587 $ac_includes_default
19588 typedef long long ac__type_new_;
19592 if ((ac__type_new_ *) 0)
19594 if (sizeof (ac__type_new_))
19600 rm -f conftest.$ac_objext
19601 if { (ac_try="$ac_compile"
19602 case "(($ac_try" in
19603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19604 *) ac_try_echo
=$ac_try;;
19606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19607 (eval "$ac_compile") 2>conftest.er1
19609 grep -v '^ *+' conftest.er1
>conftest.err
19611 cat conftest.err
>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } &&
19614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19615 { (case "(($ac_try" in
19616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19617 *) ac_try_echo=$ac_try;;
19619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19620 (eval "$ac_try") 2>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); }; } &&
19624 { ac_try='test -s conftest.$ac_objext'
19625 { (case "(($ac_try" in
19626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19627 *) ac_try_echo
=$ac_try;;
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_try") 2>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 ac_cv_type_long_long
=yes
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.
$ac_ext >&5
19639 ac_cv_type_long_long
=no
19642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19644 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19645 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19646 if test $ac_cv_type_long_long = yes; then
19648 cat >>confdefs.h
<<_ACEOF
19649 #define HAVE_LONG_LONG 1
19654 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19655 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19656 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19657 echo $ECHO_N "(cached) $ECHO_C" >&6
19659 cat >conftest.
$ac_ext <<_ACEOF
19662 cat confdefs.h
>>conftest.
$ac_ext
19663 cat >>conftest.
$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 $ac_includes_default
19666 typedef fsblkcnt_t ac__type_new_;
19670 if ((ac__type_new_ *) 0)
19672 if (sizeof (ac__type_new_))
19678 rm -f conftest.
$ac_objext
19679 if { (ac_try
="$ac_compile"
19680 case "(($ac_try" in
19681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19682 *) ac_try_echo=$ac_try;;
19684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19685 (eval "$ac_compile") 2>conftest.er1
19687 grep -v '^ *+' conftest.er1 >conftest.err
19689 cat conftest.err >&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); } &&
19692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19693 { (case "(($ac_try" in
19694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19695 *) ac_try_echo
=$ac_try;;
19697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19698 (eval "$ac_try") 2>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; } &&
19702 { ac_try
='test -s conftest.$ac_objext'
19703 { (case "(($ac_try" in
19704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19705 *) ac_try_echo=$ac_try;;
19707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19708 (eval "$ac_try") 2>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19712 ac_cv_type_fsblkcnt_t=yes
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.$ac_ext >&5
19717 ac_cv_type_fsblkcnt_t=no
19720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19722 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19723 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19724 if test $ac_cv_type_fsblkcnt_t = yes; then
19726 cat >>confdefs.h <<_ACEOF
19727 #define HAVE_FSBLKCNT_T 1
19732 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19733 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19734 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19735 echo $ECHO_N "(cached) $ECHO_C" >&6
19737 cat >conftest.$ac_ext <<_ACEOF
19740 cat confdefs.h >>conftest.$ac_ext
19741 cat >>conftest.$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19743 $ac_includes_default
19744 typedef fsfilcnt_t ac__type_new_;
19748 if ((ac__type_new_ *) 0)
19750 if (sizeof (ac__type_new_))
19756 rm -f conftest.$ac_objext
19757 if { (ac_try="$ac_compile"
19758 case "(($ac_try" in
19759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19760 *) ac_try_echo
=$ac_try;;
19762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19763 (eval "$ac_compile") 2>conftest.er1
19765 grep -v '^ *+' conftest.er1
>conftest.err
19767 cat conftest.err
>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); } &&
19770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19771 { (case "(($ac_try" in
19772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19773 *) ac_try_echo=$ac_try;;
19775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19776 (eval "$ac_try") 2>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); }; } &&
19780 { ac_try='test -s conftest.$ac_objext'
19781 { (case "(($ac_try" in
19782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19783 *) ac_try_echo
=$ac_try;;
19785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19786 (eval "$ac_try") 2>&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; }; then
19790 ac_cv_type_fsfilcnt_t
=yes
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.
$ac_ext >&5
19795 ac_cv_type_fsfilcnt_t
=no
19798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19800 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19801 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19802 if test $ac_cv_type_fsfilcnt_t = yes; then
19804 cat >>confdefs.h
<<_ACEOF
19805 #define HAVE_FSFILCNT_T 1
19811 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19812 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19813 if test "${ac_cv_type_sigset_t+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 cat >conftest.
$ac_ext <<_ACEOF
19819 cat confdefs.h
>>conftest.
$ac_ext
19820 cat >>conftest.
$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 #include <signal.h>
19824 typedef sigset_t ac__type_new_;
19828 if ((ac__type_new_ *) 0)
19830 if (sizeof (ac__type_new_))
19836 rm -f conftest.
$ac_objext
19837 if { (ac_try
="$ac_compile"
19838 case "(($ac_try" in
19839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19840 *) ac_try_echo=$ac_try;;
19842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19843 (eval "$ac_compile") 2>conftest.er1
19845 grep -v '^ *+' conftest.er1 >conftest.err
19847 cat conftest.err >&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); } &&
19850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19851 { (case "(($ac_try" in
19852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19853 *) ac_try_echo
=$ac_try;;
19855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19856 (eval "$ac_try") 2>&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; } &&
19860 { ac_try
='test -s conftest.$ac_objext'
19861 { (case "(($ac_try" in
19862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19863 *) ac_try_echo=$ac_try;;
19865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19866 (eval "$ac_try") 2>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); }; }; then
19870 ac_cv_type_sigset_t=yes
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19875 ac_cv_type_sigset_t=no
19878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19880 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19881 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19882 if test $ac_cv_type_sigset_t = yes; then
19884 cat >>confdefs.h <<_ACEOF
19885 #define HAVE_SIGSET_T 1
19891 { echo "$as_me:$LINENO: checking for request_sense" >&5
19892 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19893 if test "${ac_cv_type_request_sense+set}" = set; then
19894 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 cat >conftest.$ac_ext <<_ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902 #include <linux/cdrom.h>
19904 typedef request_sense ac__type_new_;
19908 if ((ac__type_new_ *) 0)
19910 if (sizeof (ac__type_new_))
19916 rm -f conftest.$ac_objext
19917 if { (ac_try="$ac_compile"
19918 case "(($ac_try" in
19919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19920 *) ac_try_echo
=$ac_try;;
19922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19923 (eval "$ac_compile") 2>conftest.er1
19925 grep -v '^ *+' conftest.er1
>conftest.err
19927 cat conftest.err
>&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } &&
19930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19931 { (case "(($ac_try" in
19932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19933 *) ac_try_echo=$ac_try;;
19935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19936 (eval "$ac_try") 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; } &&
19940 { ac_try='test -s conftest.$ac_objext'
19941 { (case "(($ac_try" in
19942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19943 *) ac_try_echo
=$ac_try;;
19945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19946 (eval "$ac_try") 2>&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19950 ac_cv_type_request_sense
=yes
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.
$ac_ext >&5
19955 ac_cv_type_request_sense
=no
19958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19960 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19961 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19962 if test $ac_cv_type_request_sense = yes; then
19964 cat >>confdefs.h
<<_ACEOF
19965 #define HAVE_REQUEST_SENSE 1
19972 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19973 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19974 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19975 echo $ECHO_N "(cached) $ECHO_C" >&6
19977 cat >conftest.
$ac_ext <<_ACEOF
19980 cat confdefs.h
>>conftest.
$ac_ext
19981 cat >>conftest.
$ac_ext <<_ACEOF
19982 /* end confdefs.h. */
19983 #ifdef HAVE_LINUX_INPUT_H
19984 #include <linux/input.h>
19990 static struct ff_effect ac_aggr;
19991 if (ac_aggr.direction)
19997 rm -f conftest.
$ac_objext
19998 if { (ac_try
="$ac_compile"
19999 case "(($ac_try" in
20000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20001 *) ac_try_echo=$ac_try;;
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_compile") 2>conftest.er1
20006 grep -v '^ *+' conftest.er1 >conftest.err
20008 cat conftest.err >&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } &&
20011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20012 { (case "(($ac_try" in
20013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20014 *) ac_try_echo
=$ac_try;;
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_try") 2>&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); }; } &&
20021 { ac_try
='test -s conftest.$ac_objext'
20022 { (case "(($ac_try" in
20023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_try") 2>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; }; then
20031 ac_cv_member_struct_ff_effect_direction=yes
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.$ac_ext >&5
20036 cat >conftest.$ac_ext <<_ACEOF
20039 cat confdefs.h >>conftest.$ac_ext
20040 cat >>conftest.$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20042 #ifdef HAVE_LINUX_INPUT_H
20043 #include <linux/input.h>
20049 static struct ff_effect ac_aggr;
20050 if (sizeof ac_aggr.direction)
20056 rm -f conftest.$ac_objext
20057 if { (ac_try="$ac_compile"
20058 case "(($ac_try" in
20059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20060 *) ac_try_echo
=$ac_try;;
20062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20063 (eval "$ac_compile") 2>conftest.er1
20065 grep -v '^ *+' conftest.er1
>conftest.err
20067 cat conftest.err
>&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); } &&
20070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20071 { (case "(($ac_try" in
20072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20073 *) ac_try_echo=$ac_try;;
20075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20076 (eval "$ac_try") 2>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); }; } &&
20080 { ac_try='test -s conftest.$ac_objext'
20081 { (case "(($ac_try" in
20082 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20083 *) ac_try_echo
=$ac_try;;
20085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20086 (eval "$ac_try") 2>&5
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; }; then
20090 ac_cv_member_struct_ff_effect_direction
=yes
20092 echo "$as_me: failed program was:" >&5
20093 sed 's/^/| /' conftest.
$ac_ext >&5
20095 ac_cv_member_struct_ff_effect_direction
=no
20098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20103 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20104 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20105 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20107 cat >>confdefs.h
<<_ACEOF
20108 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20115 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20116 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20117 if test "${wine_cv_have_sigaddset+set}" = set; then
20118 echo $ECHO_N "(cached) $ECHO_C" >&6
20120 cat >conftest.
$ac_ext <<_ACEOF
20123 cat confdefs.h
>>conftest.
$ac_ext
20124 cat >>conftest.
$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 #include <signal.h>
20130 sigset_t set; sigaddset(&set,SIGTERM);
20135 rm -f conftest.
$ac_objext conftest
$ac_exeext
20136 if { (ac_try
="$ac_link"
20137 case "(($ac_try" in
20138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20139 *) ac_try_echo=$ac_try;;
20141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20142 (eval "$ac_link") 2>conftest.er1
20144 grep -v '^ *+' conftest.er1 >conftest.err
20146 cat conftest.err >&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } &&
20149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20150 { (case "(($ac_try" in
20151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20152 *) ac_try_echo
=$ac_try;;
20154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20155 (eval "$ac_try") 2>&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); }; } &&
20159 { ac_try
='test -s conftest$ac_exeext'
20160 { (case "(($ac_try" in
20161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20162 *) ac_try_echo=$ac_try;;
20164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20165 (eval "$ac_try") 2>&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); }; }; then
20169 wine_cv_have_sigaddset=yes
20171 echo "$as_me: failed program was:" >&5
20172 sed 's/^/| /' conftest.$ac_ext >&5
20174 wine_cv_have_sigaddset=no
20177 rm -f core conftest.err conftest.$ac_objext \
20178 conftest$ac_exeext conftest.$ac_ext
20180 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20181 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20182 if test "$wine_cv_have_sigaddset" = "yes"
20185 cat >>confdefs.h <<\_ACEOF
20186 #define HAVE_SIGADDSET 1
20192 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20193 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20194 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20195 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 cat >conftest.$ac_ext <<_ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20212 struct hostent *result;
20219 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20220 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20226 rm -f conftest.$ac_objext conftest$ac_exeext
20227 if { (ac_try="$ac_link"
20228 case "(($ac_try" in
20229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20230 *) ac_try_echo
=$ac_try;;
20232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20233 (eval "$ac_link") 2>conftest.er1
20235 grep -v '^ *+' conftest.er1
>conftest.err
20237 cat conftest.err
>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); } &&
20240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20241 { (case "(($ac_try" in
20242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20243 *) ac_try_echo=$ac_try;;
20245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20246 (eval "$ac_try") 2>&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; } &&
20250 { ac_try='test -s conftest$ac_exeext'
20251 { (case "(($ac_try" in
20252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20253 *) ac_try_echo
=$ac_try;;
20255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20256 (eval "$ac_try") 2>&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); }; }; then
20260 wine_cv_linux_gethostbyname_r_6
=yes
20262 echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.
$ac_ext >&5
20265 wine_cv_linux_gethostbyname_r_6
=no
20269 rm -f core conftest.err conftest.
$ac_objext \
20270 conftest
$ac_exeext conftest.
$ac_ext
20273 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20274 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20275 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20278 cat >>confdefs.h
<<\_ACEOF
20279 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20284 if test "$ac_cv_header_linux_joystick_h" = "yes"
20286 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20287 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20288 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20289 echo $ECHO_N "(cached) $ECHO_C" >&6
20291 cat >conftest.
$ac_ext <<_ACEOF
20294 cat confdefs.h
>>conftest.
$ac_ext
20295 cat >>conftest.
$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20298 #include <sys/ioctl.h>
20299 #include <linux/joystick.h>
20301 struct js_event blub;
20302 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20303 #error "no 2.2 header"
20314 rm -f conftest.
$ac_objext
20315 if { (ac_try
="$ac_compile"
20316 case "(($ac_try" in
20317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20318 *) ac_try_echo=$ac_try;;
20320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20321 (eval "$ac_compile") 2>conftest.er1
20323 grep -v '^ *+' conftest.er1 >conftest.err
20325 cat conftest.err >&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); } &&
20328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20329 { (case "(($ac_try" in
20330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20331 *) ac_try_echo
=$ac_try;;
20333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20334 (eval "$ac_try") 2>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; } &&
20338 { ac_try
='test -s conftest.$ac_objext'
20339 { (case "(($ac_try" in
20340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20341 *) ac_try_echo=$ac_try;;
20343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20344 (eval "$ac_try") 2>&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; }; then
20348 wine_cv_linux_joystick_22_api=yes
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.$ac_ext >&5
20353 wine_cv_linux_joystick_22_api=no
20356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20359 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20360 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20361 if test "$wine_cv_linux_joystick_22_api" = "yes"
20364 cat >>confdefs.h <<\_ACEOF
20365 #define HAVE_LINUX_22_JOYSTICK_API 1
20372 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20373 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20374 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20375 echo $ECHO_N "(cached) $ECHO_C" >&6
20377 cat >conftest.$ac_ext <<_ACEOF
20380 cat confdefs.h >>conftest.$ac_ext
20381 cat >>conftest.$ac_ext <<_ACEOF
20382 /* end confdefs.h. */
20383 #include <sys/types.h>
20384 #ifdef HAVE_SYS_PARAM_H
20385 # include <sys/param.h>
20387 #ifdef HAVE_SYS_MOUNT_H
20388 # include <sys/mount.h>
20390 #ifdef HAVE_SYS_VFS_H
20391 # include <sys/vfs.h>
20393 #ifdef HAVE_SYS_STATFS_H
20394 # include <sys/statfs.h>
20400 static struct statfs ac_aggr;
20401 if (ac_aggr.f_bfree)
20407 rm -f conftest.$ac_objext
20408 if { (ac_try="$ac_compile"
20409 case "(($ac_try" in
20410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20411 *) ac_try_echo
=$ac_try;;
20413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20414 (eval "$ac_compile") 2>conftest.er1
20416 grep -v '^ *+' conftest.er1
>conftest.err
20418 cat conftest.err
>&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); } &&
20421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20422 { (case "(($ac_try" in
20423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20424 *) ac_try_echo=$ac_try;;
20426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20427 (eval "$ac_try") 2>&5
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); }; } &&
20431 { ac_try='test -s conftest.$ac_objext'
20432 { (case "(($ac_try" in
20433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20434 *) ac_try_echo
=$ac_try;;
20436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20437 (eval "$ac_try") 2>&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); }; }; then
20441 ac_cv_member_struct_statfs_f_bfree
=yes
20443 echo "$as_me: failed program was:" >&5
20444 sed 's/^/| /' conftest.
$ac_ext >&5
20446 cat >conftest.
$ac_ext <<_ACEOF
20449 cat confdefs.h
>>conftest.
$ac_ext
20450 cat >>conftest.
$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20452 #include <sys/types.h>
20453 #ifdef HAVE_SYS_PARAM_H
20454 # include <sys/param.h>
20456 #ifdef HAVE_SYS_MOUNT_H
20457 # include <sys/mount.h>
20459 #ifdef HAVE_SYS_VFS_H
20460 # include <sys/vfs.h>
20462 #ifdef HAVE_SYS_STATFS_H
20463 # include <sys/statfs.h>
20469 static struct statfs ac_aggr;
20470 if (sizeof ac_aggr.f_bfree)
20476 rm -f conftest.
$ac_objext
20477 if { (ac_try
="$ac_compile"
20478 case "(($ac_try" in
20479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20480 *) ac_try_echo=$ac_try;;
20482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20483 (eval "$ac_compile") 2>conftest.er1
20485 grep -v '^ *+' conftest.er1 >conftest.err
20487 cat conftest.err >&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); } &&
20490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20491 { (case "(($ac_try" in
20492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20493 *) ac_try_echo
=$ac_try;;
20495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20496 (eval "$ac_try") 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; } &&
20500 { ac_try
='test -s conftest.$ac_objext'
20501 { (case "(($ac_try" in
20502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_try") 2>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; }; then
20510 ac_cv_member_struct_statfs_f_bfree=yes
20512 echo "$as_me: failed program was:" >&5
20513 sed 's/^/| /' conftest.$ac_ext >&5
20515 ac_cv_member_struct_statfs_f_bfree=no
20518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20523 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20524 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20525 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20527 cat >>confdefs.h <<_ACEOF
20528 #define HAVE_STRUCT_STATFS_F_BFREE 1
20533 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20534 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20535 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20536 echo $ECHO_N "(cached) $ECHO_C" >&6
20538 cat >conftest.$ac_ext <<_ACEOF
20541 cat confdefs.h >>conftest.$ac_ext
20542 cat >>conftest.$ac_ext <<_ACEOF
20543 /* end confdefs.h. */
20544 #include <sys/types.h>
20545 #ifdef HAVE_SYS_PARAM_H
20546 # include <sys/param.h>
20548 #ifdef HAVE_SYS_MOUNT_H
20549 # include <sys/mount.h>
20551 #ifdef HAVE_SYS_VFS_H
20552 # include <sys/vfs.h>
20554 #ifdef HAVE_SYS_STATFS_H
20555 # include <sys/statfs.h>
20561 static struct statfs ac_aggr;
20562 if (ac_aggr.f_bavail)
20568 rm -f conftest.$ac_objext
20569 if { (ac_try="$ac_compile"
20570 case "(($ac_try" in
20571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20572 *) ac_try_echo
=$ac_try;;
20574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20575 (eval "$ac_compile") 2>conftest.er1
20577 grep -v '^ *+' conftest.er1
>conftest.err
20579 cat conftest.err
>&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } &&
20582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20583 { (case "(($ac_try" in
20584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20585 *) ac_try_echo=$ac_try;;
20587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20588 (eval "$ac_try") 2>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; } &&
20592 { ac_try='test -s conftest.$ac_objext'
20593 { (case "(($ac_try" in
20594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20595 *) ac_try_echo
=$ac_try;;
20597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20598 (eval "$ac_try") 2>&5
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); }; }; then
20602 ac_cv_member_struct_statfs_f_bavail
=yes
20604 echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.
$ac_ext >&5
20607 cat >conftest.
$ac_ext <<_ACEOF
20610 cat confdefs.h
>>conftest.
$ac_ext
20611 cat >>conftest.
$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20613 #include <sys/types.h>
20614 #ifdef HAVE_SYS_PARAM_H
20615 # include <sys/param.h>
20617 #ifdef HAVE_SYS_MOUNT_H
20618 # include <sys/mount.h>
20620 #ifdef HAVE_SYS_VFS_H
20621 # include <sys/vfs.h>
20623 #ifdef HAVE_SYS_STATFS_H
20624 # include <sys/statfs.h>
20630 static struct statfs ac_aggr;
20631 if (sizeof ac_aggr.f_bavail)
20637 rm -f conftest.
$ac_objext
20638 if { (ac_try
="$ac_compile"
20639 case "(($ac_try" in
20640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20641 *) ac_try_echo=$ac_try;;
20643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20644 (eval "$ac_compile") 2>conftest.er1
20646 grep -v '^ *+' conftest.er1 >conftest.err
20648 cat conftest.err >&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } &&
20651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20652 { (case "(($ac_try" in
20653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20654 *) ac_try_echo
=$ac_try;;
20656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20657 (eval "$ac_try") 2>&5
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; } &&
20661 { ac_try
='test -s conftest.$ac_objext'
20662 { (case "(($ac_try" in
20663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20664 *) ac_try_echo=$ac_try;;
20666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20667 (eval "$ac_try") 2>&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); }; }; then
20671 ac_cv_member_struct_statfs_f_bavail=yes
20673 echo "$as_me: failed program was:" >&5
20674 sed 's/^/| /' conftest.$ac_ext >&5
20676 ac_cv_member_struct_statfs_f_bavail=no
20679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20684 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20685 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20686 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20688 cat >>confdefs.h <<_ACEOF
20689 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20694 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20695 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20696 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20697 echo $ECHO_N "(cached) $ECHO_C" >&6
20699 cat >conftest.$ac_ext <<_ACEOF
20702 cat confdefs.h >>conftest.$ac_ext
20703 cat >>conftest.$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20705 #include <sys/types.h>
20706 #ifdef HAVE_SYS_PARAM_H
20707 # include <sys/param.h>
20709 #ifdef HAVE_SYS_MOUNT_H
20710 # include <sys/mount.h>
20712 #ifdef HAVE_SYS_VFS_H
20713 # include <sys/vfs.h>
20715 #ifdef HAVE_SYS_STATFS_H
20716 # include <sys/statfs.h>
20722 static struct statfs ac_aggr;
20723 if (ac_aggr.f_frsize)
20729 rm -f conftest.$ac_objext
20730 if { (ac_try="$ac_compile"
20731 case "(($ac_try" in
20732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20733 *) ac_try_echo
=$ac_try;;
20735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20736 (eval "$ac_compile") 2>conftest.er1
20738 grep -v '^ *+' conftest.er1
>conftest.err
20740 cat conftest.err
>&5
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); } &&
20743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20744 { (case "(($ac_try" in
20745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20746 *) ac_try_echo=$ac_try;;
20748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20749 (eval "$ac_try") 2>&5
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; } &&
20753 { ac_try='test -s conftest.$ac_objext'
20754 { (case "(($ac_try" in
20755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20756 *) ac_try_echo
=$ac_try;;
20758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20759 (eval "$ac_try") 2>&5
20761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762 (exit $ac_status); }; }; then
20763 ac_cv_member_struct_statfs_f_frsize
=yes
20765 echo "$as_me: failed program was:" >&5
20766 sed 's/^/| /' conftest.
$ac_ext >&5
20768 cat >conftest.
$ac_ext <<_ACEOF
20771 cat confdefs.h
>>conftest.
$ac_ext
20772 cat >>conftest.
$ac_ext <<_ACEOF
20773 /* end confdefs.h. */
20774 #include <sys/types.h>
20775 #ifdef HAVE_SYS_PARAM_H
20776 # include <sys/param.h>
20778 #ifdef HAVE_SYS_MOUNT_H
20779 # include <sys/mount.h>
20781 #ifdef HAVE_SYS_VFS_H
20782 # include <sys/vfs.h>
20784 #ifdef HAVE_SYS_STATFS_H
20785 # include <sys/statfs.h>
20791 static struct statfs ac_aggr;
20792 if (sizeof ac_aggr.f_frsize)
20798 rm -f conftest.
$ac_objext
20799 if { (ac_try
="$ac_compile"
20800 case "(($ac_try" in
20801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20802 *) ac_try_echo=$ac_try;;
20804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20805 (eval "$ac_compile") 2>conftest.er1
20807 grep -v '^ *+' conftest.er1 >conftest.err
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20813 { (case "(($ac_try" in
20814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20815 *) ac_try_echo
=$ac_try;;
20817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20818 (eval "$ac_try") 2>&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; } &&
20822 { ac_try
='test -s conftest.$ac_objext'
20823 { (case "(($ac_try" in
20824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20825 *) ac_try_echo=$ac_try;;
20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20828 (eval "$ac_try") 2>&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; }; then
20832 ac_cv_member_struct_statfs_f_frsize=yes
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20837 ac_cv_member_struct_statfs_f_frsize=no
20840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20845 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20846 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20847 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20849 cat >>confdefs.h <<_ACEOF
20850 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20855 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20856 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20857 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20858 echo $ECHO_N "(cached) $ECHO_C" >&6
20860 cat >conftest.$ac_ext <<_ACEOF
20863 cat confdefs.h >>conftest.$ac_ext
20864 cat >>conftest.$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 #include <sys/types.h>
20867 #ifdef HAVE_SYS_PARAM_H
20868 # include <sys/param.h>
20870 #ifdef HAVE_SYS_MOUNT_H
20871 # include <sys/mount.h>
20873 #ifdef HAVE_SYS_VFS_H
20874 # include <sys/vfs.h>
20876 #ifdef HAVE_SYS_STATFS_H
20877 # include <sys/statfs.h>
20883 static struct statfs ac_aggr;
20884 if (ac_aggr.f_ffree)
20890 rm -f conftest.$ac_objext
20891 if { (ac_try="$ac_compile"
20892 case "(($ac_try" in
20893 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20894 *) ac_try_echo
=$ac_try;;
20896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20897 (eval "$ac_compile") 2>conftest.er1
20899 grep -v '^ *+' conftest.er1
>conftest.err
20901 cat conftest.err
>&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); } &&
20904 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20905 { (case "(($ac_try" in
20906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20907 *) ac_try_echo=$ac_try;;
20909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20910 (eval "$ac_try") 2>&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); }; } &&
20914 { ac_try='test -s conftest.$ac_objext'
20915 { (case "(($ac_try" in
20916 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20917 *) ac_try_echo
=$ac_try;;
20919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20920 (eval "$ac_try") 2>&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); }; }; then
20924 ac_cv_member_struct_statfs_f_ffree
=yes
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.
$ac_ext >&5
20929 cat >conftest.
$ac_ext <<_ACEOF
20932 cat confdefs.h
>>conftest.
$ac_ext
20933 cat >>conftest.
$ac_ext <<_ACEOF
20934 /* end confdefs.h. */
20935 #include <sys/types.h>
20936 #ifdef HAVE_SYS_PARAM_H
20937 # include <sys/param.h>
20939 #ifdef HAVE_SYS_MOUNT_H
20940 # include <sys/mount.h>
20942 #ifdef HAVE_SYS_VFS_H
20943 # include <sys/vfs.h>
20945 #ifdef HAVE_SYS_STATFS_H
20946 # include <sys/statfs.h>
20952 static struct statfs ac_aggr;
20953 if (sizeof ac_aggr.f_ffree)
20959 rm -f conftest.
$ac_objext
20960 if { (ac_try
="$ac_compile"
20961 case "(($ac_try" in
20962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20963 *) ac_try_echo=$ac_try;;
20965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20966 (eval "$ac_compile") 2>conftest.er1
20968 grep -v '^ *+' conftest.er1 >conftest.err
20970 cat conftest.err >&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); } &&
20973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20974 { (case "(($ac_try" in
20975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20976 *) ac_try_echo
=$ac_try;;
20978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20979 (eval "$ac_try") 2>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); }; } &&
20983 { ac_try
='test -s conftest.$ac_objext'
20984 { (case "(($ac_try" in
20985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20986 *) ac_try_echo=$ac_try;;
20988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20989 (eval "$ac_try") 2>&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; }; then
20993 ac_cv_member_struct_statfs_f_ffree=yes
20995 echo "$as_me: failed program was:" >&5
20996 sed 's/^/| /' conftest.$ac_ext >&5
20998 ac_cv_member_struct_statfs_f_ffree=no
21001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21007 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21008 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21010 cat >>confdefs.h <<_ACEOF
21011 #define HAVE_STRUCT_STATFS_F_FFREE 1
21016 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21017 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21018 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21019 echo $ECHO_N "(cached) $ECHO_C" >&6
21021 cat >conftest.$ac_ext <<_ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21027 #include <sys/types.h>
21028 #ifdef HAVE_SYS_PARAM_H
21029 # include <sys/param.h>
21031 #ifdef HAVE_SYS_MOUNT_H
21032 # include <sys/mount.h>
21034 #ifdef HAVE_SYS_VFS_H
21035 # include <sys/vfs.h>
21037 #ifdef HAVE_SYS_STATFS_H
21038 # include <sys/statfs.h>
21044 static struct statfs ac_aggr;
21045 if (ac_aggr.f_favail)
21051 rm -f conftest.$ac_objext
21052 if { (ac_try="$ac_compile"
21053 case "(($ac_try" in
21054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21055 *) ac_try_echo
=$ac_try;;
21057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21058 (eval "$ac_compile") 2>conftest.er1
21060 grep -v '^ *+' conftest.er1
>conftest.err
21062 cat conftest.err
>&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); } &&
21065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21066 { (case "(($ac_try" in
21067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21068 *) ac_try_echo=$ac_try;;
21070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21071 (eval "$ac_try") 2>&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); }; } &&
21075 { ac_try='test -s conftest.$ac_objext'
21076 { (case "(($ac_try" in
21077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21078 *) ac_try_echo
=$ac_try;;
21080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21081 (eval "$ac_try") 2>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; }; then
21085 ac_cv_member_struct_statfs_f_favail
=yes
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.
$ac_ext >&5
21090 cat >conftest.
$ac_ext <<_ACEOF
21093 cat confdefs.h
>>conftest.
$ac_ext
21094 cat >>conftest.
$ac_ext <<_ACEOF
21095 /* end confdefs.h. */
21096 #include <sys/types.h>
21097 #ifdef HAVE_SYS_PARAM_H
21098 # include <sys/param.h>
21100 #ifdef HAVE_SYS_MOUNT_H
21101 # include <sys/mount.h>
21103 #ifdef HAVE_SYS_VFS_H
21104 # include <sys/vfs.h>
21106 #ifdef HAVE_SYS_STATFS_H
21107 # include <sys/statfs.h>
21113 static struct statfs ac_aggr;
21114 if (sizeof ac_aggr.f_favail)
21120 rm -f conftest.
$ac_objext
21121 if { (ac_try
="$ac_compile"
21122 case "(($ac_try" in
21123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21124 *) ac_try_echo=$ac_try;;
21126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21127 (eval "$ac_compile") 2>conftest.er1
21129 grep -v '^ *+' conftest.er1 >conftest.err
21131 cat conftest.err >&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); } &&
21134 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21135 { (case "(($ac_try" in
21136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21137 *) ac_try_echo
=$ac_try;;
21139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21140 (eval "$ac_try") 2>&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); }; } &&
21144 { ac_try
='test -s conftest.$ac_objext'
21145 { (case "(($ac_try" in
21146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21147 *) ac_try_echo=$ac_try;;
21149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21150 (eval "$ac_try") 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; }; then
21154 ac_cv_member_struct_statfs_f_favail=yes
21156 echo "$as_me: failed program was:" >&5
21157 sed 's/^/| /' conftest.$ac_ext >&5
21159 ac_cv_member_struct_statfs_f_favail=no
21162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21167 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21168 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21169 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21171 cat >>confdefs.h <<_ACEOF
21172 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21177 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21178 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21179 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21180 echo $ECHO_N "(cached) $ECHO_C" >&6
21182 cat >conftest.$ac_ext <<_ACEOF
21185 cat confdefs.h >>conftest.$ac_ext
21186 cat >>conftest.$ac_ext <<_ACEOF
21187 /* end confdefs.h. */
21188 #include <sys/types.h>
21189 #ifdef HAVE_SYS_PARAM_H
21190 # include <sys/param.h>
21192 #ifdef HAVE_SYS_MOUNT_H
21193 # include <sys/mount.h>
21195 #ifdef HAVE_SYS_VFS_H
21196 # include <sys/vfs.h>
21198 #ifdef HAVE_SYS_STATFS_H
21199 # include <sys/statfs.h>
21205 static struct statfs ac_aggr;
21206 if (ac_aggr.f_namelen)
21212 rm -f conftest.$ac_objext
21213 if { (ac_try="$ac_compile"
21214 case "(($ac_try" in
21215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21216 *) ac_try_echo
=$ac_try;;
21218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21219 (eval "$ac_compile") 2>conftest.er1
21221 grep -v '^ *+' conftest.er1
>conftest.err
21223 cat conftest.err
>&5
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); } &&
21226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21227 { (case "(($ac_try" in
21228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_try") 2>&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; } &&
21236 { ac_try='test -s conftest.$ac_objext'
21237 { (case "(($ac_try" in
21238 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21239 *) ac_try_echo
=$ac_try;;
21241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_try") 2>&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); }; }; then
21246 ac_cv_member_struct_statfs_f_namelen
=yes
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.
$ac_ext >&5
21251 cat >conftest.
$ac_ext <<_ACEOF
21254 cat confdefs.h
>>conftest.
$ac_ext
21255 cat >>conftest.
$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21257 #include <sys/types.h>
21258 #ifdef HAVE_SYS_PARAM_H
21259 # include <sys/param.h>
21261 #ifdef HAVE_SYS_MOUNT_H
21262 # include <sys/mount.h>
21264 #ifdef HAVE_SYS_VFS_H
21265 # include <sys/vfs.h>
21267 #ifdef HAVE_SYS_STATFS_H
21268 # include <sys/statfs.h>
21274 static struct statfs ac_aggr;
21275 if (sizeof ac_aggr.f_namelen)
21281 rm -f conftest.
$ac_objext
21282 if { (ac_try
="$ac_compile"
21283 case "(($ac_try" in
21284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_compile") 2>conftest.er1
21290 grep -v '^ *+' conftest.er1 >conftest.err
21292 cat conftest.err >&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } &&
21295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21296 { (case "(($ac_try" in
21297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21298 *) ac_try_echo
=$ac_try;;
21300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21301 (eval "$ac_try") 2>&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); }; } &&
21305 { ac_try
='test -s conftest.$ac_objext'
21306 { (case "(($ac_try" in
21307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21308 *) ac_try_echo=$ac_try;;
21310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21311 (eval "$ac_try") 2>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; }; then
21315 ac_cv_member_struct_statfs_f_namelen=yes
21317 echo "$as_me: failed program was:" >&5
21318 sed 's/^/| /' conftest.$ac_ext >&5
21320 ac_cv_member_struct_statfs_f_namelen=no
21323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21328 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21329 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21330 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21332 cat >>confdefs.h <<_ACEOF
21333 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21340 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21341 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21342 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21343 echo $ECHO_N "(cached) $ECHO_C" >&6
21345 cat >conftest.$ac_ext <<_ACEOF
21348 cat confdefs.h >>conftest.$ac_ext
21349 cat >>conftest.$ac_ext <<_ACEOF
21350 /* end confdefs.h. */
21351 #ifdef HAVE_SYS_STATVFS_H
21352 #include <sys/statvfs.h>
21358 static struct statvfs ac_aggr;
21359 if (ac_aggr.f_blocks)
21365 rm -f conftest.$ac_objext
21366 if { (ac_try="$ac_compile"
21367 case "(($ac_try" in
21368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21369 *) ac_try_echo
=$ac_try;;
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_compile") 2>conftest.er1
21374 grep -v '^ *+' conftest.er1
>conftest.err
21376 cat conftest.err
>&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); } &&
21379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21380 { (case "(($ac_try" in
21381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21382 *) ac_try_echo=$ac_try;;
21384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21385 (eval "$ac_try") 2>&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); }; } &&
21389 { ac_try='test -s conftest.$ac_objext'
21390 { (case "(($ac_try" in
21391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21392 *) ac_try_echo
=$ac_try;;
21394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21395 (eval "$ac_try") 2>&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); }; }; then
21399 ac_cv_member_struct_statvfs_f_blocks
=yes
21401 echo "$as_me: failed program was:" >&5
21402 sed 's/^/| /' conftest.
$ac_ext >&5
21404 cat >conftest.
$ac_ext <<_ACEOF
21407 cat confdefs.h
>>conftest.
$ac_ext
21408 cat >>conftest.
$ac_ext <<_ACEOF
21409 /* end confdefs.h. */
21410 #ifdef HAVE_SYS_STATVFS_H
21411 #include <sys/statvfs.h>
21417 static struct statvfs ac_aggr;
21418 if (sizeof ac_aggr.f_blocks)
21424 rm -f conftest.
$ac_objext
21425 if { (ac_try
="$ac_compile"
21426 case "(($ac_try" in
21427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21428 *) ac_try_echo=$ac_try;;
21430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21431 (eval "$ac_compile") 2>conftest.er1
21433 grep -v '^ *+' conftest.er1 >conftest.err
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } &&
21438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21439 { (case "(($ac_try" in
21440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21441 *) ac_try_echo
=$ac_try;;
21443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21444 (eval "$ac_try") 2>&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); }; } &&
21448 { ac_try
='test -s conftest.$ac_objext'
21449 { (case "(($ac_try" in
21450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21451 *) ac_try_echo=$ac_try;;
21453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21454 (eval "$ac_try") 2>&5
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; }; then
21458 ac_cv_member_struct_statvfs_f_blocks=yes
21460 echo "$as_me: failed program was:" >&5
21461 sed 's/^/| /' conftest.$ac_ext >&5
21463 ac_cv_member_struct_statvfs_f_blocks=no
21466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21471 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21472 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21473 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21475 cat >>confdefs.h <<_ACEOF
21476 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21483 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21484 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21485 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21486 echo $ECHO_N "(cached) $ECHO_C" >&6
21488 cat >conftest.$ac_ext <<_ACEOF
21491 cat confdefs.h >>conftest.$ac_ext
21492 cat >>conftest.$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21494 #include <sys/types.h>
21495 #ifdef HAVE_SYS_SOCKET_H
21496 # include <sys/socket.h>
21498 #ifdef HAVE_SYS_UN_H
21499 # include <sys/un.h>
21505 static struct msghdr ac_aggr;
21506 if (ac_aggr.msg_accrights)
21512 rm -f conftest.$ac_objext
21513 if { (ac_try="$ac_compile"
21514 case "(($ac_try" in
21515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21516 *) ac_try_echo
=$ac_try;;
21518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21519 (eval "$ac_compile") 2>conftest.er1
21521 grep -v '^ *+' conftest.er1
>conftest.err
21523 cat conftest.err
>&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } &&
21526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21527 { (case "(($ac_try" in
21528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21529 *) ac_try_echo=$ac_try;;
21531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21532 (eval "$ac_try") 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; } &&
21536 { ac_try='test -s conftest.$ac_objext'
21537 { (case "(($ac_try" in
21538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21539 *) ac_try_echo
=$ac_try;;
21541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21542 (eval "$ac_try") 2>&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); }; }; then
21546 ac_cv_member_struct_msghdr_msg_accrights
=yes
21548 echo "$as_me: failed program was:" >&5
21549 sed 's/^/| /' conftest.
$ac_ext >&5
21551 cat >conftest.
$ac_ext <<_ACEOF
21554 cat confdefs.h
>>conftest.
$ac_ext
21555 cat >>conftest.
$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21557 #include <sys/types.h>
21558 #ifdef HAVE_SYS_SOCKET_H
21559 # include <sys/socket.h>
21561 #ifdef HAVE_SYS_UN_H
21562 # include <sys/un.h>
21568 static struct msghdr ac_aggr;
21569 if (sizeof ac_aggr.msg_accrights)
21575 rm -f conftest.
$ac_objext
21576 if { (ac_try
="$ac_compile"
21577 case "(($ac_try" in
21578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21579 *) ac_try_echo=$ac_try;;
21581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21582 (eval "$ac_compile") 2>conftest.er1
21584 grep -v '^ *+' conftest.er1 >conftest.err
21586 cat conftest.err >&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); } &&
21589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21590 { (case "(($ac_try" in
21591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21592 *) ac_try_echo
=$ac_try;;
21594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21595 (eval "$ac_try") 2>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; } &&
21599 { ac_try
='test -s conftest.$ac_objext'
21600 { (case "(($ac_try" in
21601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21602 *) ac_try_echo=$ac_try;;
21604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21605 (eval "$ac_try") 2>&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); }; }; then
21609 ac_cv_member_struct_msghdr_msg_accrights=yes
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21614 ac_cv_member_struct_msghdr_msg_accrights=no
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21622 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21623 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21624 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21626 cat >>confdefs.h <<_ACEOF
21627 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21632 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21633 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21634 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21635 echo $ECHO_N "(cached) $ECHO_C" >&6
21637 cat >conftest.$ac_ext <<_ACEOF
21640 cat confdefs.h >>conftest.$ac_ext
21641 cat >>conftest.$ac_ext <<_ACEOF
21642 /* end confdefs.h. */
21643 #include <sys/types.h>
21644 #ifdef HAVE_SYS_SOCKET_H
21645 # include <sys/socket.h>
21647 #ifdef HAVE_SYS_UN_H
21648 # include <sys/un.h>
21654 static struct sockaddr ac_aggr;
21655 if (ac_aggr.sa_len)
21661 rm -f conftest.$ac_objext
21662 if { (ac_try="$ac_compile"
21663 case "(($ac_try" in
21664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21665 *) ac_try_echo
=$ac_try;;
21667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21668 (eval "$ac_compile") 2>conftest.er1
21670 grep -v '^ *+' conftest.er1
>conftest.err
21672 cat conftest.err
>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); } &&
21675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21676 { (case "(($ac_try" in
21677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21681 (eval "$ac_try") 2>&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); }; } &&
21685 { ac_try='test -s conftest.$ac_objext'
21686 { (case "(($ac_try" in
21687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21688 *) ac_try_echo
=$ac_try;;
21690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21691 (eval "$ac_try") 2>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); }; }; then
21695 ac_cv_member_struct_sockaddr_sa_len
=yes
21697 echo "$as_me: failed program was:" >&5
21698 sed 's/^/| /' conftest.
$ac_ext >&5
21700 cat >conftest.
$ac_ext <<_ACEOF
21703 cat confdefs.h
>>conftest.
$ac_ext
21704 cat >>conftest.
$ac_ext <<_ACEOF
21705 /* end confdefs.h. */
21706 #include <sys/types.h>
21707 #ifdef HAVE_SYS_SOCKET_H
21708 # include <sys/socket.h>
21710 #ifdef HAVE_SYS_UN_H
21711 # include <sys/un.h>
21717 static struct sockaddr ac_aggr;
21718 if (sizeof ac_aggr.sa_len)
21724 rm -f conftest.
$ac_objext
21725 if { (ac_try
="$ac_compile"
21726 case "(($ac_try" in
21727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_compile") 2>conftest.er1
21733 grep -v '^ *+' conftest.er1 >conftest.err
21735 cat conftest.err >&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } &&
21738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21739 { (case "(($ac_try" in
21740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21741 *) ac_try_echo
=$ac_try;;
21743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21744 (eval "$ac_try") 2>&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; } &&
21748 { ac_try
='test -s conftest.$ac_objext'
21749 { (case "(($ac_try" in
21750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21751 *) ac_try_echo=$ac_try;;
21753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21754 (eval "$ac_try") 2>&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); }; }; then
21758 ac_cv_member_struct_sockaddr_sa_len=yes
21760 echo "$as_me: failed program was:" >&5
21761 sed 's/^/| /' conftest.$ac_ext >&5
21763 ac_cv_member_struct_sockaddr_sa_len=no
21766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21771 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21772 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21773 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21775 cat >>confdefs.h <<_ACEOF
21776 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21781 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21782 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21783 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21784 echo $ECHO_N "(cached) $ECHO_C" >&6
21786 cat >conftest.$ac_ext <<_ACEOF
21789 cat confdefs.h >>conftest.$ac_ext
21790 cat >>conftest.$ac_ext <<_ACEOF
21791 /* end confdefs.h. */
21792 #include <sys/types.h>
21793 #ifdef HAVE_SYS_SOCKET_H
21794 # include <sys/socket.h>
21796 #ifdef HAVE_SYS_UN_H
21797 # include <sys/un.h>
21803 static struct sockaddr_un ac_aggr;
21804 if (ac_aggr.sun_len)
21810 rm -f conftest.$ac_objext
21811 if { (ac_try="$ac_compile"
21812 case "(($ac_try" in
21813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21814 *) ac_try_echo
=$ac_try;;
21816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21817 (eval "$ac_compile") 2>conftest.er1
21819 grep -v '^ *+' conftest.er1
>conftest.err
21821 cat conftest.err
>&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } &&
21824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21825 { (case "(($ac_try" in
21826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21827 *) ac_try_echo=$ac_try;;
21829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21830 (eval "$ac_try") 2>&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); }; } &&
21834 { ac_try='test -s conftest.$ac_objext'
21835 { (case "(($ac_try" in
21836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21837 *) ac_try_echo
=$ac_try;;
21839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21840 (eval "$ac_try") 2>&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); }; }; then
21844 ac_cv_member_struct_sockaddr_un_sun_len
=yes
21846 echo "$as_me: failed program was:" >&5
21847 sed 's/^/| /' conftest.
$ac_ext >&5
21849 cat >conftest.
$ac_ext <<_ACEOF
21852 cat confdefs.h
>>conftest.
$ac_ext
21853 cat >>conftest.
$ac_ext <<_ACEOF
21854 /* end confdefs.h. */
21855 #include <sys/types.h>
21856 #ifdef HAVE_SYS_SOCKET_H
21857 # include <sys/socket.h>
21859 #ifdef HAVE_SYS_UN_H
21860 # include <sys/un.h>
21866 static struct sockaddr_un ac_aggr;
21867 if (sizeof ac_aggr.sun_len)
21873 rm -f conftest.
$ac_objext
21874 if { (ac_try
="$ac_compile"
21875 case "(($ac_try" in
21876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21877 *) ac_try_echo=$ac_try;;
21879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21880 (eval "$ac_compile") 2>conftest.er1
21882 grep -v '^ *+' conftest.er1 >conftest.err
21884 cat conftest.err >&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); } &&
21887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21888 { (case "(($ac_try" in
21889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21890 *) ac_try_echo
=$ac_try;;
21892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21893 (eval "$ac_try") 2>&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); }; } &&
21897 { ac_try
='test -s conftest.$ac_objext'
21898 { (case "(($ac_try" in
21899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21900 *) ac_try_echo=$ac_try;;
21902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21903 (eval "$ac_try") 2>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; }; then
21907 ac_cv_member_struct_sockaddr_un_sun_len=yes
21909 echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.$ac_ext >&5
21912 ac_cv_member_struct_sockaddr_un_sun_len=no
21915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21920 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21921 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21922 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21924 cat >>confdefs.h <<_ACEOF
21925 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21932 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21933 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21934 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21935 echo $ECHO_N "(cached) $ECHO_C" >&6
21937 cat >conftest.$ac_ext <<_ACEOF
21940 cat confdefs.h >>conftest.$ac_ext
21941 cat >>conftest.$ac_ext <<_ACEOF
21942 /* end confdefs.h. */
21943 #include <sys/types.h>
21944 #ifdef HAVE_SCSI_SG_H
21945 #include <scsi/sg.h>
21951 static scsireq_t ac_aggr;
21958 rm -f conftest.$ac_objext
21959 if { (ac_try="$ac_compile"
21960 case "(($ac_try" in
21961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21962 *) ac_try_echo
=$ac_try;;
21964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21965 (eval "$ac_compile") 2>conftest.er1
21967 grep -v '^ *+' conftest.er1
>conftest.err
21969 cat conftest.err
>&5
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); } &&
21972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21973 { (case "(($ac_try" in
21974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21975 *) ac_try_echo=$ac_try;;
21977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21978 (eval "$ac_try") 2>&5
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); }; } &&
21982 { ac_try='test -s conftest.$ac_objext'
21983 { (case "(($ac_try" in
21984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21985 *) ac_try_echo
=$ac_try;;
21987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21988 (eval "$ac_try") 2>&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); }; }; then
21992 ac_cv_member_scsireq_t_cmd
=yes
21994 echo "$as_me: failed program was:" >&5
21995 sed 's/^/| /' conftest.
$ac_ext >&5
21997 cat >conftest.
$ac_ext <<_ACEOF
22000 cat confdefs.h
>>conftest.
$ac_ext
22001 cat >>conftest.
$ac_ext <<_ACEOF
22002 /* end confdefs.h. */
22003 #include <sys/types.h>
22004 #ifdef HAVE_SCSI_SG_H
22005 #include <scsi/sg.h>
22011 static scsireq_t ac_aggr;
22012 if (sizeof ac_aggr.cmd)
22018 rm -f conftest.
$ac_objext
22019 if { (ac_try
="$ac_compile"
22020 case "(($ac_try" in
22021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22022 *) ac_try_echo=$ac_try;;
22024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22025 (eval "$ac_compile") 2>conftest.er1
22027 grep -v '^ *+' conftest.er1 >conftest.err
22029 cat conftest.err >&5
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); } &&
22032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22033 { (case "(($ac_try" in
22034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22035 *) ac_try_echo
=$ac_try;;
22037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22038 (eval "$ac_try") 2>&5
22040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041 (exit $ac_status); }; } &&
22042 { ac_try
='test -s conftest.$ac_objext'
22043 { (case "(($ac_try" in
22044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22045 *) ac_try_echo=$ac_try;;
22047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22048 (eval "$ac_try") 2>&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; }; then
22052 ac_cv_member_scsireq_t_cmd=yes
22054 echo "$as_me: failed program was:" >&5
22055 sed 's/^/| /' conftest.$ac_ext >&5
22057 ac_cv_member_scsireq_t_cmd=no
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22065 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22066 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22067 if test $ac_cv_member_scsireq_t_cmd = yes; then
22069 cat >>confdefs.h <<_ACEOF
22070 #define HAVE_SCSIREQ_T_CMD 1
22075 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22076 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22077 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22078 echo $ECHO_N "(cached) $ECHO_C" >&6
22080 cat >conftest.$ac_ext <<_ACEOF
22083 cat confdefs.h >>conftest.$ac_ext
22084 cat >>conftest.$ac_ext <<_ACEOF
22085 /* end confdefs.h. */
22086 #include <sys/types.h>
22087 #ifdef HAVE_SCSI_SG_H
22088 #include <scsi/sg.h>
22094 static sg_io_hdr_t ac_aggr;
22095 if (ac_aggr.interface_id)
22101 rm -f conftest.$ac_objext
22102 if { (ac_try="$ac_compile"
22103 case "(($ac_try" in
22104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22105 *) ac_try_echo
=$ac_try;;
22107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22108 (eval "$ac_compile") 2>conftest.er1
22110 grep -v '^ *+' conftest.er1
>conftest.err
22112 cat conftest.err
>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22116 { (case "(($ac_try" in
22117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22118 *) ac_try_echo=$ac_try;;
22120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22121 (eval "$ac_try") 2>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; } &&
22125 { ac_try='test -s conftest.$ac_objext'
22126 { (case "(($ac_try" in
22127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22128 *) ac_try_echo
=$ac_try;;
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_try") 2>&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; }; then
22135 ac_cv_member_sg_io_hdr_t_interface_id
=yes
22137 echo "$as_me: failed program was:" >&5
22138 sed 's/^/| /' conftest.
$ac_ext >&5
22140 cat >conftest.
$ac_ext <<_ACEOF
22143 cat confdefs.h
>>conftest.
$ac_ext
22144 cat >>conftest.
$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22146 #include <sys/types.h>
22147 #ifdef HAVE_SCSI_SG_H
22148 #include <scsi/sg.h>
22154 static sg_io_hdr_t ac_aggr;
22155 if (sizeof ac_aggr.interface_id)
22161 rm -f conftest.
$ac_objext
22162 if { (ac_try
="$ac_compile"
22163 case "(($ac_try" in
22164 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22165 *) ac_try_echo=$ac_try;;
22167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22168 (eval "$ac_compile") 2>conftest.er1
22170 grep -v '^ *+' conftest.er1 >conftest.err
22172 cat conftest.err >&5
22173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22174 (exit $ac_status); } &&
22175 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22176 { (case "(($ac_try" in
22177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22178 *) ac_try_echo
=$ac_try;;
22180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22181 (eval "$ac_try") 2>&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; } &&
22185 { ac_try
='test -s conftest.$ac_objext'
22186 { (case "(($ac_try" in
22187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22188 *) ac_try_echo=$ac_try;;
22190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22191 (eval "$ac_try") 2>&5
22193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 (exit $ac_status); }; }; then
22195 ac_cv_member_sg_io_hdr_t_interface_id=yes
22197 echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.$ac_ext >&5
22200 ac_cv_member_sg_io_hdr_t_interface_id=no
22203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22208 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22209 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22210 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22212 cat >>confdefs.h <<_ACEOF
22213 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22220 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22221 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22222 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22223 echo $ECHO_N "(cached) $ECHO_C" >&6
22225 cat >conftest.$ac_ext <<_ACEOF
22228 cat confdefs.h >>conftest.$ac_ext
22229 cat >>conftest.$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 #include <signal.h>
22236 static siginfo_t ac_aggr;
22243 rm -f conftest.$ac_objext
22244 if { (ac_try="$ac_compile"
22245 case "(($ac_try" in
22246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22247 *) ac_try_echo
=$ac_try;;
22249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22250 (eval "$ac_compile") 2>conftest.er1
22252 grep -v '^ *+' conftest.er1
>conftest.err
22254 cat conftest.err
>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } &&
22257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22258 { (case "(($ac_try" in
22259 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_try") 2>&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); }; } &&
22267 { ac_try='test -s conftest.$ac_objext'
22268 { (case "(($ac_try" in
22269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22270 *) ac_try_echo
=$ac_try;;
22272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22273 (eval "$ac_try") 2>&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); }; }; then
22277 ac_cv_member_siginfo_t_si_fd
=yes
22279 echo "$as_me: failed program was:" >&5
22280 sed 's/^/| /' conftest.
$ac_ext >&5
22282 cat >conftest.
$ac_ext <<_ACEOF
22285 cat confdefs.h
>>conftest.
$ac_ext
22286 cat >>conftest.
$ac_ext <<_ACEOF
22287 /* end confdefs.h. */
22288 #include <signal.h>
22293 static siginfo_t ac_aggr;
22294 if (sizeof ac_aggr.si_fd)
22300 rm -f conftest.
$ac_objext
22301 if { (ac_try
="$ac_compile"
22302 case "(($ac_try" in
22303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22304 *) ac_try_echo=$ac_try;;
22306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22307 (eval "$ac_compile") 2>conftest.er1
22309 grep -v '^ *+' conftest.er1 >conftest.err
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } &&
22314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22315 { (case "(($ac_try" in
22316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22317 *) ac_try_echo
=$ac_try;;
22319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22320 (eval "$ac_try") 2>&5
22322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22323 (exit $ac_status); }; } &&
22324 { ac_try
='test -s conftest.$ac_objext'
22325 { (case "(($ac_try" in
22326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_try") 2>&5
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); }; }; then
22334 ac_cv_member_siginfo_t_si_fd=yes
22336 echo "$as_me: failed program was:" >&5
22337 sed 's/^/| /' conftest.$ac_ext >&5
22339 ac_cv_member_siginfo_t_si_fd=no
22342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22347 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22348 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22349 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22351 cat >>confdefs.h <<_ACEOF
22352 #define HAVE_SIGINFO_T_SI_FD 1
22359 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22360 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22361 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22362 echo $ECHO_N "(cached) $ECHO_C" >&6
22364 cat >conftest.$ac_ext <<_ACEOF
22367 cat confdefs.h >>conftest.$ac_ext
22368 cat >>conftest.$ac_ext <<_ACEOF
22369 /* end confdefs.h. */
22370 #include <sys/types.h>
22371 #ifdef HAVE_SYS_MTIO_H
22372 #include <sys/mtio.h>
22378 static struct mtget ac_aggr;
22379 if (ac_aggr.mt_blksiz)
22385 rm -f conftest.$ac_objext
22386 if { (ac_try="$ac_compile"
22387 case "(($ac_try" in
22388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22389 *) ac_try_echo
=$ac_try;;
22391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22392 (eval "$ac_compile") 2>conftest.er1
22394 grep -v '^ *+' conftest.er1
>conftest.err
22396 cat conftest.err
>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } &&
22399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22400 { (case "(($ac_try" in
22401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22402 *) ac_try_echo=$ac_try;;
22404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_try") 2>&5
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); }; } &&
22409 { ac_try='test -s conftest.$ac_objext'
22410 { (case "(($ac_try" in
22411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22412 *) ac_try_echo
=$ac_try;;
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_try") 2>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; }; then
22419 ac_cv_member_struct_mtget_mt_blksiz
=yes
22421 echo "$as_me: failed program was:" >&5
22422 sed 's/^/| /' conftest.
$ac_ext >&5
22424 cat >conftest.
$ac_ext <<_ACEOF
22427 cat confdefs.h
>>conftest.
$ac_ext
22428 cat >>conftest.
$ac_ext <<_ACEOF
22429 /* end confdefs.h. */
22430 #include <sys/types.h>
22431 #ifdef HAVE_SYS_MTIO_H
22432 #include <sys/mtio.h>
22438 static struct mtget ac_aggr;
22439 if (sizeof ac_aggr.mt_blksiz)
22445 rm -f conftest.
$ac_objext
22446 if { (ac_try
="$ac_compile"
22447 case "(($ac_try" in
22448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22449 *) ac_try_echo=$ac_try;;
22451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22452 (eval "$ac_compile") 2>conftest.er1
22454 grep -v '^ *+' conftest.er1 >conftest.err
22456 cat conftest.err >&5
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); } &&
22459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22460 { (case "(($ac_try" in
22461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22462 *) ac_try_echo
=$ac_try;;
22464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22465 (eval "$ac_try") 2>&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); }; } &&
22469 { ac_try
='test -s conftest.$ac_objext'
22470 { (case "(($ac_try" in
22471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22472 *) ac_try_echo=$ac_try;;
22474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22475 (eval "$ac_try") 2>&5
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); }; }; then
22479 ac_cv_member_struct_mtget_mt_blksiz=yes
22481 echo "$as_me: failed program was:" >&5
22482 sed 's/^/| /' conftest.$ac_ext >&5
22484 ac_cv_member_struct_mtget_mt_blksiz=no
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22492 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22493 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22494 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22496 cat >>confdefs.h <<_ACEOF
22497 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22502 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22503 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22504 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22505 echo $ECHO_N "(cached) $ECHO_C" >&6
22507 cat >conftest.$ac_ext <<_ACEOF
22510 cat confdefs.h >>conftest.$ac_ext
22511 cat >>conftest.$ac_ext <<_ACEOF
22512 /* end confdefs.h. */
22513 #include <sys/types.h>
22514 #ifdef HAVE_SYS_MTIO_H
22515 #include <sys/mtio.h>
22521 static struct mtget ac_aggr;
22522 if (ac_aggr.mt_gstat)
22528 rm -f conftest.$ac_objext
22529 if { (ac_try="$ac_compile"
22530 case "(($ac_try" in
22531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22532 *) ac_try_echo
=$ac_try;;
22534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22535 (eval "$ac_compile") 2>conftest.er1
22537 grep -v '^ *+' conftest.er1
>conftest.err
22539 cat conftest.err
>&5
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); } &&
22542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22543 { (case "(($ac_try" in
22544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22545 *) ac_try_echo=$ac_try;;
22547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22548 (eval "$ac_try") 2>&5
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); }; } &&
22552 { ac_try='test -s conftest.$ac_objext'
22553 { (case "(($ac_try" in
22554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22555 *) ac_try_echo
=$ac_try;;
22557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22558 (eval "$ac_try") 2>&5
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); }; }; then
22562 ac_cv_member_struct_mtget_mt_gstat
=yes
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.
$ac_ext >&5
22567 cat >conftest.
$ac_ext <<_ACEOF
22570 cat confdefs.h
>>conftest.
$ac_ext
22571 cat >>conftest.
$ac_ext <<_ACEOF
22572 /* end confdefs.h. */
22573 #include <sys/types.h>
22574 #ifdef HAVE_SYS_MTIO_H
22575 #include <sys/mtio.h>
22581 static struct mtget ac_aggr;
22582 if (sizeof ac_aggr.mt_gstat)
22588 rm -f conftest.
$ac_objext
22589 if { (ac_try
="$ac_compile"
22590 case "(($ac_try" in
22591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_compile") 2>conftest.er1
22597 grep -v '^ *+' conftest.er1 >conftest.err
22599 cat conftest.err >&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); } &&
22602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22603 { (case "(($ac_try" in
22604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22605 *) ac_try_echo
=$ac_try;;
22607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22608 (eval "$ac_try") 2>&5
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); }; } &&
22612 { ac_try
='test -s conftest.$ac_objext'
22613 { (case "(($ac_try" in
22614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22615 *) ac_try_echo=$ac_try;;
22617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22618 (eval "$ac_try") 2>&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); }; }; then
22622 ac_cv_member_struct_mtget_mt_gstat=yes
22624 echo "$as_me: failed program was:" >&5
22625 sed 's/^/| /' conftest.$ac_ext >&5
22627 ac_cv_member_struct_mtget_mt_gstat=no
22630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22635 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22636 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22637 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22639 cat >>confdefs.h <<_ACEOF
22640 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22645 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22646 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22647 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22650 cat >conftest.$ac_ext <<_ACEOF
22653 cat confdefs.h >>conftest.$ac_ext
22654 cat >>conftest.$ac_ext <<_ACEOF
22655 /* end confdefs.h. */
22656 #include <sys/types.h>
22657 #ifdef HAVE_SYS_MTIO_H
22658 #include <sys/mtio.h>
22664 static struct mtget ac_aggr;
22665 if (ac_aggr.mt_blkno)
22671 rm -f conftest.$ac_objext
22672 if { (ac_try="$ac_compile"
22673 case "(($ac_try" in
22674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22675 *) ac_try_echo
=$ac_try;;
22677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22678 (eval "$ac_compile") 2>conftest.er1
22680 grep -v '^ *+' conftest.er1
>conftest.err
22682 cat conftest.err
>&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } &&
22685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22686 { (case "(($ac_try" in
22687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22688 *) ac_try_echo=$ac_try;;
22690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22691 (eval "$ac_try") 2>&5
22693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694 (exit $ac_status); }; } &&
22695 { ac_try='test -s conftest.$ac_objext'
22696 { (case "(($ac_try" in
22697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22698 *) ac_try_echo
=$ac_try;;
22700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22701 (eval "$ac_try") 2>&5
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); }; }; then
22705 ac_cv_member_struct_mtget_mt_blkno
=yes
22707 echo "$as_me: failed program was:" >&5
22708 sed 's/^/| /' conftest.
$ac_ext >&5
22710 cat >conftest.
$ac_ext <<_ACEOF
22713 cat confdefs.h
>>conftest.
$ac_ext
22714 cat >>conftest.
$ac_ext <<_ACEOF
22715 /* end confdefs.h. */
22716 #include <sys/types.h>
22717 #ifdef HAVE_SYS_MTIO_H
22718 #include <sys/mtio.h>
22724 static struct mtget ac_aggr;
22725 if (sizeof ac_aggr.mt_blkno)
22731 rm -f conftest.
$ac_objext
22732 if { (ac_try
="$ac_compile"
22733 case "(($ac_try" in
22734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22735 *) ac_try_echo=$ac_try;;
22737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22738 (eval "$ac_compile") 2>conftest.er1
22740 grep -v '^ *+' conftest.er1 >conftest.err
22742 cat conftest.err >&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); } &&
22745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22746 { (case "(($ac_try" in
22747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22748 *) ac_try_echo
=$ac_try;;
22750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22751 (eval "$ac_try") 2>&5
22753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22754 (exit $ac_status); }; } &&
22755 { ac_try
='test -s conftest.$ac_objext'
22756 { (case "(($ac_try" in
22757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22758 *) ac_try_echo=$ac_try;;
22760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22761 (eval "$ac_try") 2>&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; }; then
22765 ac_cv_member_struct_mtget_mt_blkno=yes
22767 echo "$as_me: failed program was:" >&5
22768 sed 's/^/| /' conftest.$ac_ext >&5
22770 ac_cv_member_struct_mtget_mt_blkno=no
22773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22778 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22779 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22780 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22782 cat >>confdefs.h <<_ACEOF
22783 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22790 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22791 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22792 if test "${ac_cv_member_struct_option_name+set}" = set; then
22793 echo $ECHO_N "(cached) $ECHO_C" >&6
22795 cat >conftest.$ac_ext <<_ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801 #ifdef HAVE_GETOPT_H
22802 #include <getopt.h>
22808 static struct option ac_aggr;
22815 rm -f conftest.$ac_objext
22816 if { (ac_try="$ac_compile"
22817 case "(($ac_try" in
22818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22819 *) ac_try_echo
=$ac_try;;
22821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22822 (eval "$ac_compile") 2>conftest.er1
22824 grep -v '^ *+' conftest.er1
>conftest.err
22826 cat conftest.err
>&5
22827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22828 (exit $ac_status); } &&
22829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22830 { (case "(($ac_try" in
22831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22832 *) ac_try_echo=$ac_try;;
22834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22835 (eval "$ac_try") 2>&5
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); }; } &&
22839 { ac_try='test -s conftest.$ac_objext'
22840 { (case "(($ac_try" in
22841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22842 *) ac_try_echo
=$ac_try;;
22844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22845 (eval "$ac_try") 2>&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); }; }; then
22849 ac_cv_member_struct_option_name
=yes
22851 echo "$as_me: failed program was:" >&5
22852 sed 's/^/| /' conftest.
$ac_ext >&5
22854 cat >conftest.
$ac_ext <<_ACEOF
22857 cat confdefs.h
>>conftest.
$ac_ext
22858 cat >>conftest.
$ac_ext <<_ACEOF
22859 /* end confdefs.h. */
22860 #ifdef HAVE_GETOPT_H
22861 #include <getopt.h>
22867 static struct option ac_aggr;
22868 if (sizeof ac_aggr.name)
22874 rm -f conftest.
$ac_objext
22875 if { (ac_try
="$ac_compile"
22876 case "(($ac_try" in
22877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22878 *) ac_try_echo=$ac_try;;
22880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22881 (eval "$ac_compile") 2>conftest.er1
22883 grep -v '^ *+' conftest.er1 >conftest.err
22885 cat conftest.err >&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); } &&
22888 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22889 { (case "(($ac_try" in
22890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22891 *) ac_try_echo
=$ac_try;;
22893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22894 (eval "$ac_try") 2>&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); }; } &&
22898 { ac_try
='test -s conftest.$ac_objext'
22899 { (case "(($ac_try" in
22900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22901 *) ac_try_echo=$ac_try;;
22903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22904 (eval "$ac_try") 2>&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); }; }; then
22908 ac_cv_member_struct_option_name=yes
22910 echo "$as_me: failed program was:" >&5
22911 sed 's/^/| /' conftest.$ac_ext >&5
22913 ac_cv_member_struct_option_name=no
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22921 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22922 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22923 if test $ac_cv_member_struct_option_name = yes; then
22925 cat >>confdefs.h <<_ACEOF
22926 #define HAVE_STRUCT_OPTION_NAME 1
22933 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22934 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22935 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22936 echo $ECHO_N "(cached) $ECHO_C" >&6
22938 cat >conftest.$ac_ext <<_ACEOF
22941 cat confdefs.h >>conftest.$ac_ext
22942 cat >>conftest.$ac_ext <<_ACEOF
22943 /* end confdefs.h. */
22944 $ac_includes_default
22948 static struct stat ac_aggr;
22949 if (ac_aggr.st_blocks)
22955 rm -f conftest.$ac_objext
22956 if { (ac_try="$ac_compile"
22957 case "(($ac_try" in
22958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22959 *) ac_try_echo
=$ac_try;;
22961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22962 (eval "$ac_compile") 2>conftest.er1
22964 grep -v '^ *+' conftest.er1
>conftest.err
22966 cat conftest.err
>&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); } &&
22969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22970 { (case "(($ac_try" in
22971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22972 *) ac_try_echo=$ac_try;;
22974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22975 (eval "$ac_try") 2>&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); }; } &&
22979 { ac_try='test -s conftest.$ac_objext'
22980 { (case "(($ac_try" in
22981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22982 *) ac_try_echo
=$ac_try;;
22984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22985 (eval "$ac_try") 2>&5
22987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988 (exit $ac_status); }; }; then
22989 ac_cv_member_struct_stat_st_blocks
=yes
22991 echo "$as_me: failed program was:" >&5
22992 sed 's/^/| /' conftest.
$ac_ext >&5
22994 cat >conftest.
$ac_ext <<_ACEOF
22997 cat confdefs.h
>>conftest.
$ac_ext
22998 cat >>conftest.
$ac_ext <<_ACEOF
22999 /* end confdefs.h. */
23000 $ac_includes_default
23004 static struct stat ac_aggr;
23005 if (sizeof ac_aggr.st_blocks)
23011 rm -f conftest.
$ac_objext
23012 if { (ac_try
="$ac_compile"
23013 case "(($ac_try" in
23014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23015 *) ac_try_echo=$ac_try;;
23017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23018 (eval "$ac_compile") 2>conftest.er1
23020 grep -v '^ *+' conftest.er1 >conftest.err
23022 cat conftest.err >&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } &&
23025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23026 { (case "(($ac_try" in
23027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23028 *) ac_try_echo
=$ac_try;;
23030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23031 (eval "$ac_try") 2>&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); }; } &&
23035 { ac_try
='test -s conftest.$ac_objext'
23036 { (case "(($ac_try" in
23037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23038 *) ac_try_echo=$ac_try;;
23040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23041 (eval "$ac_try") 2>&5
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); }; }; then
23045 ac_cv_member_struct_stat_st_blocks=yes
23047 echo "$as_me: failed program was:" >&5
23048 sed 's/^/| /' conftest.$ac_ext >&5
23050 ac_cv_member_struct_stat_st_blocks=no
23053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23058 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23059 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23060 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23062 cat >>confdefs.h <<_ACEOF
23063 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23070 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23071 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23072 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23073 echo $ECHO_N "(cached) $ECHO_C" >&6
23075 cat >conftest.$ac_ext <<_ACEOF
23078 cat confdefs.h >>conftest.$ac_ext
23079 cat >>conftest.$ac_ext <<_ACEOF
23080 /* end confdefs.h. */
23081 #ifdef HAVE_SYS_TYPES_H
23082 #include <sys/types.h>
23084 #ifdef HAVE_NETINET_IN_H
23085 #include <netinet/in.h>
23091 static struct sockaddr_in6 ac_aggr;
23092 if (ac_aggr.sin6_scope_id)
23098 rm -f conftest.$ac_objext
23099 if { (ac_try="$ac_compile"
23100 case "(($ac_try" in
23101 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23102 *) ac_try_echo
=$ac_try;;
23104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23105 (eval "$ac_compile") 2>conftest.er1
23107 grep -v '^ *+' conftest.er1
>conftest.err
23109 cat conftest.err
>&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); } &&
23112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23113 { (case "(($ac_try" in
23114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23115 *) ac_try_echo=$ac_try;;
23117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23118 (eval "$ac_try") 2>&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); }; } &&
23122 { ac_try='test -s conftest.$ac_objext'
23123 { (case "(($ac_try" in
23124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23125 *) ac_try_echo
=$ac_try;;
23127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23128 (eval "$ac_try") 2>&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; }; then
23132 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
23134 echo "$as_me: failed program was:" >&5
23135 sed 's/^/| /' conftest.
$ac_ext >&5
23137 cat >conftest.
$ac_ext <<_ACEOF
23140 cat confdefs.h
>>conftest.
$ac_ext
23141 cat >>conftest.
$ac_ext <<_ACEOF
23142 /* end confdefs.h. */
23143 #ifdef HAVE_SYS_TYPES_H
23144 #include <sys/types.h>
23146 #ifdef HAVE_NETINET_IN_H
23147 #include <netinet/in.h>
23153 static struct sockaddr_in6 ac_aggr;
23154 if (sizeof ac_aggr.sin6_scope_id)
23160 rm -f conftest.
$ac_objext
23161 if { (ac_try
="$ac_compile"
23162 case "(($ac_try" in
23163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23164 *) ac_try_echo=$ac_try;;
23166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23167 (eval "$ac_compile") 2>conftest.er1
23169 grep -v '^ *+' conftest.er1 >conftest.err
23171 cat conftest.err >&5
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); } &&
23174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23175 { (case "(($ac_try" in
23176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23177 *) ac_try_echo
=$ac_try;;
23179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23180 (eval "$ac_try") 2>&5
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); }; } &&
23184 { ac_try
='test -s conftest.$ac_objext'
23185 { (case "(($ac_try" in
23186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23187 *) ac_try_echo=$ac_try;;
23189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23190 (eval "$ac_try") 2>&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); }; }; then
23194 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.$ac_ext >&5
23199 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23207 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23208 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23209 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23211 cat >>confdefs.h <<_ACEOF
23212 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23219 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23220 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23221 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23222 echo $ECHO_N "(cached) $ECHO_C" >&6
23224 cat >conftest.$ac_ext <<_ACEOF
23227 cat confdefs.h >>conftest.$ac_ext
23228 cat >>conftest.$ac_ext <<_ACEOF
23229 /* end confdefs.h. */
23230 #ifdef HAVE_SYS_TYPES_H
23231 #include <sys/types.h>
23233 #ifdef HAVE_NETINET_IN_H
23234 # include <netinet/in.h>
23236 #ifdef HAVE_ARPA_NAMESER_H
23237 # include <arpa/nameser.h>
23243 static ns_msg ac_aggr;
23244 if (ac_aggr._msg_ptr)
23250 rm -f conftest.$ac_objext
23251 if { (ac_try="$ac_compile"
23252 case "(($ac_try" in
23253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23254 *) ac_try_echo
=$ac_try;;
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_compile") 2>conftest.er1
23259 grep -v '^ *+' conftest.er1
>conftest.err
23261 cat conftest.err
>&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } &&
23264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23265 { (case "(($ac_try" in
23266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23267 *) ac_try_echo=$ac_try;;
23269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23270 (eval "$ac_try") 2>&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); }; } &&
23274 { ac_try='test -s conftest.$ac_objext'
23275 { (case "(($ac_try" in
23276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23277 *) ac_try_echo
=$ac_try;;
23279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280 (eval "$ac_try") 2>&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; }; then
23284 ac_cv_member_ns_msg__msg_ptr
=yes
23286 echo "$as_me: failed program was:" >&5
23287 sed 's/^/| /' conftest.
$ac_ext >&5
23289 cat >conftest.
$ac_ext <<_ACEOF
23292 cat confdefs.h
>>conftest.
$ac_ext
23293 cat >>conftest.
$ac_ext <<_ACEOF
23294 /* end confdefs.h. */
23295 #ifdef HAVE_SYS_TYPES_H
23296 #include <sys/types.h>
23298 #ifdef HAVE_NETINET_IN_H
23299 # include <netinet/in.h>
23301 #ifdef HAVE_ARPA_NAMESER_H
23302 # include <arpa/nameser.h>
23308 static ns_msg ac_aggr;
23309 if (sizeof ac_aggr._msg_ptr)
23315 rm -f conftest.
$ac_objext
23316 if { (ac_try
="$ac_compile"
23317 case "(($ac_try" in
23318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23319 *) ac_try_echo=$ac_try;;
23321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23322 (eval "$ac_compile") 2>conftest.er1
23324 grep -v '^ *+' conftest.er1 >conftest.err
23326 cat conftest.err >&5
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); } &&
23329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23330 { (case "(($ac_try" in
23331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23332 *) ac_try_echo
=$ac_try;;
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_try") 2>&5
23337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); }; } &&
23339 { ac_try
='test -s conftest.$ac_objext'
23340 { (case "(($ac_try" in
23341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23342 *) ac_try_echo=$ac_try;;
23344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23345 (eval "$ac_try") 2>&5
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); }; }; then
23349 ac_cv_member_ns_msg__msg_ptr=yes
23351 echo "$as_me: failed program was:" >&5
23352 sed 's/^/| /' conftest.$ac_ext >&5
23354 ac_cv_member_ns_msg__msg_ptr=no
23357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23362 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23363 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23364 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23366 cat >>confdefs.h <<_ACEOF
23367 #define HAVE_NS_MSG__MSG_PTR 1
23374 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23375 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23376 if test "${ac_cv_have_timezone+set}" = set; then
23377 echo $ECHO_N "(cached) $ECHO_C" >&6
23379 cat >conftest.$ac_ext <<_ACEOF
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23394 rm -f conftest.$ac_objext conftest$ac_exeext
23395 if { (ac_try="$ac_link"
23396 case "(($ac_try" in
23397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23398 *) ac_try_echo
=$ac_try;;
23400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23401 (eval "$ac_link") 2>conftest.er1
23403 grep -v '^ *+' conftest.er1
>conftest.err
23405 cat conftest.err
>&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } &&
23408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23409 { (case "(($ac_try" in
23410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23411 *) ac_try_echo=$ac_try;;
23413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23414 (eval "$ac_try") 2>&5
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); }; } &&
23418 { ac_try='test -s conftest$ac_exeext'
23419 { (case "(($ac_try" in
23420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23421 *) ac_try_echo
=$ac_try;;
23423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23424 (eval "$ac_try") 2>&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); }; }; then
23428 ac_cv_have_timezone
="yes"
23430 echo "$as_me: failed program was:" >&5
23431 sed 's/^/| /' conftest.
$ac_ext >&5
23433 ac_cv_have_timezone
="no"
23436 rm -f core conftest.err conftest.
$ac_objext \
23437 conftest
$ac_exeext conftest.
$ac_ext
23439 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23440 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23441 if test "$ac_cv_have_timezone" = "yes"
23444 cat >>confdefs.h
<<\_ACEOF
23445 #define HAVE_TIMEZONE 1
23449 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23450 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23451 if test "${ac_cv_have_daylight+set}" = set; then
23452 echo $ECHO_N "(cached) $ECHO_C" >&6
23454 cat >conftest.
$ac_ext <<_ACEOF
23457 cat confdefs.h
>>conftest.
$ac_ext
23458 cat >>conftest.
$ac_ext <<_ACEOF
23459 /* end confdefs.h. */
23469 rm -f conftest.
$ac_objext conftest
$ac_exeext
23470 if { (ac_try
="$ac_link"
23471 case "(($ac_try" in
23472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23473 *) ac_try_echo=$ac_try;;
23475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23476 (eval "$ac_link") 2>conftest.er1
23478 grep -v '^ *+' conftest.er1 >conftest.err
23480 cat conftest.err >&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); } &&
23483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23484 { (case "(($ac_try" in
23485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23486 *) ac_try_echo
=$ac_try;;
23488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23489 (eval "$ac_try") 2>&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); }; } &&
23493 { ac_try
='test -s conftest$ac_exeext'
23494 { (case "(($ac_try" in
23495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23496 *) ac_try_echo=$ac_try;;
23498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23499 (eval "$ac_try") 2>&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); }; }; then
23503 ac_cv_have_daylight="yes"
23505 echo "$as_me: failed program was:" >&5
23506 sed 's/^/| /' conftest.$ac_ext >&5
23508 ac_cv_have_daylight="no"
23511 rm -f core conftest.err conftest.$ac_objext \
23512 conftest$ac_exeext conftest.$ac_ext
23514 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23515 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23516 if test "$ac_cv_have_daylight" = "yes"
23519 cat >>confdefs.h <<\_ACEOF
23520 #define HAVE_DAYLIGHT 1
23527 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23528 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23529 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23530 echo $ECHO_N "(cached) $ECHO_C" >&6
23532 cat >conftest.$ac_ext <<_ACEOF
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h. */
23542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23543 $EGREP "yes" >/dev/null 2>&1; then
23544 ac_cv_cpp_def___i386__=yes
23546 ac_cv_cpp_def___i386__=no
23551 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23552 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23553 if test $ac_cv_cpp_def___i386__ = yes; then
23554 CFLAGS="$CFLAGS -D__i386__"
23555 LINTFLAGS="$LINTFLAGS -D__i386__"
23558 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23559 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23560 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23561 echo $ECHO_N "(cached) $ECHO_C" >&6
23563 cat >conftest.$ac_ext <<_ACEOF
23566 cat confdefs.h >>conftest.$ac_ext
23567 cat >>conftest.$ac_ext <<_ACEOF
23568 /* end confdefs.h. */
23573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23574 $EGREP "yes" >/dev/null 2>&1; then
23575 ac_cv_cpp_def___x86_64__=yes
23577 ac_cv_cpp_def___x86_64__=no
23582 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23583 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23584 if test $ac_cv_cpp_def___x86_64__ = yes; then
23585 CFLAGS="$CFLAGS -D__x86_64__"
23586 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23589 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23590 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23591 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23592 echo $ECHO_N "(cached) $ECHO_C" >&6
23594 cat >conftest.$ac_ext <<_ACEOF
23597 cat confdefs.h >>conftest.$ac_ext
23598 cat >>conftest.$ac_ext <<_ACEOF
23599 /* end confdefs.h. */
23604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23605 $EGREP "yes" >/dev/null 2>&1; then
23606 ac_cv_cpp_def___ALPHA__=yes
23608 ac_cv_cpp_def___ALPHA__=no
23613 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23614 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23615 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23616 CFLAGS="$CFLAGS -D__ALPHA__"
23617 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23620 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23621 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23622 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23623 echo $ECHO_N "(cached) $ECHO_C" >&6
23625 cat >conftest.$ac_ext <<_ACEOF
23628 cat confdefs.h >>conftest.$ac_ext
23629 cat >>conftest.$ac_ext <<_ACEOF
23630 /* end confdefs.h. */
23635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23636 $EGREP "yes" >/dev/null 2>&1; then
23637 ac_cv_cpp_def___sparc__=yes
23639 ac_cv_cpp_def___sparc__=no
23644 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23645 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23646 if test $ac_cv_cpp_def___sparc__ = yes; then
23647 CFLAGS="$CFLAGS -D__sparc__"
23648 LINTFLAGS="$LINTFLAGS -D__sparc__"
23651 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23652 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23653 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23654 echo $ECHO_N "(cached) $ECHO_C" >&6
23656 cat >conftest.$ac_ext <<_ACEOF
23659 cat confdefs.h >>conftest.$ac_ext
23660 cat >>conftest.$ac_ext <<_ACEOF
23661 /* end confdefs.h. */
23662 #ifndef __powerpc__
23666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23667 $EGREP "yes" >/dev/null 2>&1; then
23668 ac_cv_cpp_def___powerpc__=yes
23670 ac_cv_cpp_def___powerpc__=no
23675 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23676 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23677 if test $ac_cv_cpp_def___powerpc__ = yes; then
23678 CFLAGS="$CFLAGS -D__powerpc__"
23679 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23684 case $host_vendor in
23685 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23686 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23687 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23688 echo $ECHO_N "(cached) $ECHO_C" >&6
23690 cat >conftest.$ac_ext <<_ACEOF
23693 cat confdefs.h >>conftest.$ac_ext
23694 cat >>conftest.$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23701 $EGREP "yes" >/dev/null 2>&1; then
23702 ac_cv_cpp_def___sun__=yes
23704 ac_cv_cpp_def___sun__=no
23709 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23710 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23711 if test $ac_cv_cpp_def___sun__ = yes; then
23712 CFLAGS="$CFLAGS -D__sun__"
23713 LINTFLAGS="$LINTFLAGS -D__sun__"
23719 DEPENDENCIES="### Dependencies:
23724 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23726 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
23727 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
23728 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23729 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23735 ac_config_commands="$ac_config_commands include/stamp-h"
23738 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
23740 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
23742 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23744 ac_config_commands="$ac_config_commands dlls/user/resources"
23746 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23748 ac_config_commands="$ac_config_commands include/wine"
23751 MAKE_RULES=Make.rules
23754 MAKE_DLL_RULES=dlls/Makedll.rules
23757 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23760 MAKE_TEST_RULES=dlls/Maketest.rules
23763 MAKE_PROG_RULES=programs/Makeprog.rules
23766 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/clusapi/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/gdi32/Makefile dlls/gdi32/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/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/mscoree/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/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"
23769 cat >confcache <<\_ACEOF
23770 # This file is a shell script that caches the results of configure
23771 # tests run on this system so they can be shared between configure
23772 # scripts and configure runs, see configure's option --config-cache.
23773 # It is not useful on other systems. If it contains results you don't
23774 # want to keep, you may remove or edit it.
23776 # config.status only pays attention to the cache file if you give it
23777 # the --recheck option to rerun configure.
23779 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
23780 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23781 # following values.
23785 # The following way of writing the cache mishandles newlines in values,
23786 # but we know of no workaround that is simple, portable, and efficient.
23787 # So, we kill variables containing newlines.
23788 # Ultrix sh set writes to stderr and can't be redirected directly,
23789 # and sets the high bit in the cache file unless we assign to the vars.
23791 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23792 eval ac_val
=\$
$ac_var
23796 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23797 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23800 _ | IFS | as_nl
) ;; #(
23801 *) $as_unset $ac_var ;;
23807 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23808 *${as_nl}ac_space
=\
*)
23809 # `set' does not quote correctly, so add quotes (double-quote
23810 # substitution turns \\\\ into \\, and sed turns \\ into \).
23813 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23816 # `set' quotes correctly as required by POSIX, so do not add quotes.
23817 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23826 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23828 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23830 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23831 if test -w "$cache_file"; then
23832 test "x$cache_file" != "x/dev/null" &&
23833 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23834 echo "$as_me: updating cache $cache_file" >&6;}
23835 cat confcache
>$cache_file
23837 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23838 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23843 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23844 # Let make expand exec_prefix.
23845 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23847 DEFS
=-DHAVE_CONFIG_H
23851 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23852 # 1. Remove the extension, and $U if already installed.
23853 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23854 ac_i
=`echo "$ac_i" | sed "$ac_script"`
23855 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23856 # will be set to the directory where LIBOBJS objects are built.
23857 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23858 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23860 LIBOBJS
=$ac_libobjs
23862 LTLIBOBJS
=$ac_ltlibobjs
23866 : ${CONFIG_STATUS=./config.status}
23867 ac_clean_files_save
=$ac_clean_files
23868 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23869 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23870 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23871 cat >$CONFIG_STATUS <<_ACEOF
23873 # Generated by $as_me.
23874 # Run this file to recreate the current configuration.
23875 # Compiler output produced by configure, useful for debugging
23876 # configure, is in config.log if it exists.
23879 ac_cs_recheck=false
23881 SHELL=\${CONFIG_SHELL-$SHELL}
23884 cat >>$CONFIG_STATUS <<\_ACEOF
23885 ## --------------------- ##
23886 ## M4sh Initialization. ##
23887 ## --------------------- ##
23889 # Be Bourne compatible
23890 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23893 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23894 # is contrary to our usage. Disable this feature.
23895 alias -g '${1+"$@"}'='"$@"'
23896 setopt NO_GLOB_SUBST
23898 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
23900 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
23901 DUALCASE
=1; export DUALCASE
# for MKS sh
23905 # Avoid depending upon Character Ranges.
23906 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23907 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23908 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23909 as_cr_digits
='0123456789'
23910 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23912 # The user is always right.
23913 if test "${PATH_SEPARATOR+set}" != set; then
23914 echo "#! /bin/sh" >conf$$.sh
23915 echo "exit 0" >>conf$$.sh
23917 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23925 # Support unset when possible.
23926 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23934 # We need space, tab and new line, in precisely that order. Quoting is
23935 # there to prevent editors from complaining about space-tab.
23936 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23937 # splitting by setting IFS to empty value.)
23942 # Find who we are. Look in the path if we contain no directory separator.
23944 *[\\/]* ) as_myself
=$0 ;;
23945 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23946 for as_dir
in $PATH
23949 test -z "$as_dir" && as_dir
=.
23950 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23956 # We did not find ourselves, most probably we were run as `sh COMMAND'
23957 # in which case we are not to be found in the path.
23958 if test "x$as_myself" = x
; then
23961 if test ! -f "$as_myself"; then
23962 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23963 { (exit 1); exit 1; }
23966 # Work around bugs in pre-3.0 UWIN ksh.
23967 for as_var
in ENV MAIL MAILPATH
23968 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23976 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23977 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23978 LC_TELEPHONE LC_TIME
23980 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23981 eval $as_var=C
; export $as_var
23983 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23987 # Required to use basename.
23988 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23989 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23995 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23996 as_basename
=basename
24002 # Name of the executable.
24003 as_me
=`$as_basename -- "$0" ||
24004 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24005 X"$0" : 'X\(//\)$' \| \
24006 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24008 sed '/^.*\/\([^/][^/]*\)\/*$/{
24027 as_lineno_1
=$LINENO
24028 as_lineno_2
=$LINENO
24029 test "x$as_lineno_1" != "x$as_lineno_2" &&
24030 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
24032 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24033 # uniformly replaced by the line number. The first 'sed' inserts a
24034 # line-number line after each line using $LINENO; the second 'sed'
24035 # does the real work. The second script uses 'N' to pair each
24036 # line-number line with the line containing $LINENO, and appends
24037 # trailing '-' during substitution so that $LINENO is not a special
24038 # case at line end.
24039 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24040 # scripts with optimization help from Paolo Bonzini. Blame Lee
24041 # E. McMahon (1931-1989) for sed's syntax. :-)
24053 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24056 ' >$as_me.lineno
&&
24057 chmod +x
"$as_me.lineno" ||
24058 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24059 { (exit 1); exit 1; }; }
24061 # Don't try to exec as it changes $[0], causing all sort of problems
24062 # (the dirname of $[0] is not the place where we might find the
24063 # original and so on. Autoconf is especially sensitive to this).
24064 .
"./$as_me.lineno"
24065 # Exit status is that of the last command.
24070 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24076 ECHO_C
= ECHO_N
= ECHO_T
=
24077 case `echo -n x` in
24079 case `echo 'x\c'` in
24080 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24087 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24088 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24094 rm -f conf$$ conf$$.exe conf$$.
file
24095 if test -d conf$$.dir
; then
24096 rm -f conf$$.dir
/conf$$.
file
24102 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24104 # ... but there are two gotchas:
24105 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24106 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24107 # In both cases, we have to default to `cp -p'.
24108 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24110 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24115 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24116 rmdir conf$$.dir
2>/dev
/null
24118 if mkdir
-p .
2>/dev
/null
; then
24121 test -d .
/-p && rmdir .
/-p
24125 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24126 # systems may use methods other than mode bits to determine executability.
24127 cat >conf$$.
file <<_ASEOF
24131 chmod +x conf$$.
file
24132 if test -x conf$$.
file >/dev
/null
2>&1; then
24133 as_executable_p
="test -x"
24139 # Sed expression to map a string onto a valid CPP name.
24140 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24142 # Sed expression to map a string onto a valid variable name.
24143 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24148 # Save the log message, to keep $[0] and so on meaningful, and to
24149 # report actual input values of CONFIG_FILES etc. instead of their
24150 # values after options handling.
24152 This file was extended by Wine $as_me 0.9.23, which was
24153 generated by GNU Autoconf 2.60a. Invocation command line was
24155 CONFIG_FILES = $CONFIG_FILES
24156 CONFIG_HEADERS = $CONFIG_HEADERS
24157 CONFIG_LINKS = $CONFIG_LINKS
24158 CONFIG_COMMANDS = $CONFIG_COMMANDS
24161 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24166 cat >>$CONFIG_STATUS <<_ACEOF
24167 # Files that config.status was made for.
24168 config_files="$ac_config_files"
24169 config_headers="$ac_config_headers"
24170 config_commands="$ac_config_commands"
24174 cat >>$CONFIG_STATUS <<\_ACEOF
24176 \`$as_me' instantiates files from templates according to the
24177 current configuration.
24179 Usage: $0 [OPTIONS] [FILE]...
24181 -h, --help print this help, then exit
24182 -V, --version print version number and configuration settings, then exit
24183 -q, --quiet do not print progress messages
24184 -d, --debug don't remove temporary files
24185 --recheck update $as_me by reconfiguring in the same conditions
24186 --file=FILE[:TEMPLATE]
24187 instantiate the configuration file FILE
24188 --header=FILE[:TEMPLATE]
24189 instantiate the configuration header FILE
24191 Configuration files:
24194 Configuration headers:
24197 Configuration commands:
24200 Report bugs to <bug-autoconf@gnu.org>."
24203 cat >>$CONFIG_STATUS <<_ACEOF
24205 Wine config.status 0.9.23
24206 configured by $0, generated by GNU Autoconf 2.60a,
24207 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24209 Copyright (C) 2006 Free Software Foundation, Inc.
24210 This config.status script is free software; the Free Software Foundation
24211 gives unlimited permission to copy, distribute and modify it."
24218 cat >>$CONFIG_STATUS <<\_ACEOF
24219 # If no file are specified by the user, then we need to provide default
24220 # value. By we need to know if files were specified by the user.
24226 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24227 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24238 # Handling of the options.
24239 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24241 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24242 echo "$ac_cs_version"; exit ;;
24243 --debug |
--debu |
--deb |
--de |
--d |
-d )
24245 --file |
--fil |
--fi |
--f )
24247 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24248 ac_need_defaults
=false
;;
24249 --header |
--heade |
--head |
--hea )
24251 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24252 ac_need_defaults
=false
;;
24254 # Conflict between --help and --header
24255 { echo "$as_me: error: ambiguous option: $1
24256 Try \`$0 --help' for more information." >&2
24257 { (exit 1); exit 1; }; };;
24258 --help |
--hel |
-h )
24259 echo "$ac_cs_usage"; exit ;;
24260 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24261 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24264 # This is an error.
24265 -*) { echo "$as_me: error: unrecognized option: $1
24266 Try \`$0 --help' for more information." >&2
24267 { (exit 1); exit 1; }; } ;;
24269 *) ac_config_targets
="$ac_config_targets $1"
24270 ac_need_defaults
=false
;;
24276 ac_configure_extra_args
=
24278 if $ac_cs_silent; then
24280 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24284 cat >>$CONFIG_STATUS <<_ACEOF
24285 if \$ac_cs_recheck; then
24286 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24287 CONFIG_SHELL=$SHELL
24288 export CONFIG_SHELL
24289 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24293 cat >>$CONFIG_STATUS <<\_ACEOF
24297 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24298 ## Running $as_me. ##
24304 cat >>$CONFIG_STATUS <<_ACEOF
24307 cat >>$CONFIG_STATUS <<\_ACEOF
24309 # Handling of arguments.
24310 for ac_config_target
in $ac_config_targets
24312 case $ac_config_target in
24313 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24314 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
24315 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
24316 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
24317 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24318 "dlls/user/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
24319 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24320 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
24321 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
24322 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
24323 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24324 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
24325 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
24326 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24327 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
24328 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
24329 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24330 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24331 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
24332 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24333 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
24334 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
24335 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24336 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24337 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24338 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24339 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24340 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
24341 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24342 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24343 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
24344 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24345 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24346 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24347 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24348 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24349 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
24350 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24351 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24352 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24353 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24354 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24355 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24356 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24357 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24358 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24359 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24360 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24361 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24362 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24363 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24364 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24365 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24366 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24367 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24368 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
24369 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
24370 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24371 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24372 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
24373 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24374 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
24375 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24376 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24377 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24378 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24379 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24380 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24381 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24382 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24383 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
24384 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24385 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24386 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24387 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
24388 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24389 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
24390 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24391 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24392 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24393 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24394 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
24395 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
24396 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
24397 "dlls/glut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
24398 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24399 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24400 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
24401 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
24402 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24403 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24404 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
24405 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24406 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24407 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24408 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
24409 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24410 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24411 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
24412 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24413 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24414 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
24415 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24416 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24417 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
24418 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24419 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
24420 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24421 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24422 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24423 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24424 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24425 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24426 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24427 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
24428 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
24429 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24430 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24431 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24432 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
24433 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24434 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24435 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24436 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24437 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24438 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
24439 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24440 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
24441 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24442 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24443 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24444 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24445 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24446 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
24447 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24448 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24449 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24450 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24451 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24452 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24453 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24454 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24455 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24456 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24457 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24458 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24459 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24460 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24461 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24462 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24463 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24464 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24465 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24466 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
24467 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24468 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24469 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24470 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
24471 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24472 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24473 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
24474 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24475 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24476 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24477 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24478 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24479 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24480 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24481 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24482 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24483 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24484 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
24485 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24486 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24487 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
24488 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
24489 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24490 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
24491 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24492 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
24493 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
24494 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24495 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
24496 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24497 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24498 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24499 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24500 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24501 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24502 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24503 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
24504 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24505 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
24506 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24507 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
24508 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24509 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24510 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
24511 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24512 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24513 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
24514 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24515 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24516 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24517 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24518 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24519 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24520 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24521 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24522 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
24523 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24524 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24525 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24526 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24527 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
24528 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
24529 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24530 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24531 "dlls/user/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
24532 "dlls/user/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24533 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
24534 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
24535 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24536 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
24537 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24538 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24539 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24540 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24541 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
24542 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24543 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24544 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24545 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24546 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24547 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24548 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24549 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24550 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24551 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
24552 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24553 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24554 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24555 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
24556 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24557 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
24558 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24559 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24560 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24561 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24562 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24563 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24564 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24565 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24566 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24567 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24568 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24569 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24570 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24571 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24572 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24573 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24574 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24575 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24576 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
24577 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24578 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24579 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24580 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24581 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
24582 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
24583 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
24584 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
24585 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
24586 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
24587 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
24588 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
24589 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
24590 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
24591 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
24592 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24593 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
24594 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
24595 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
24596 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
24597 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
24598 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
24599 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
24600 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
24601 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
24602 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
24603 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
24604 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
24605 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24606 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
24607 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
24608 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
24609 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24610 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24611 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
24612 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
24613 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24614 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
24615 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24616 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
24617 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
24618 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24619 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
24620 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
24621 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
24622 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
24623 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
24624 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
24625 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
24626 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
24627 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
24628 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
24629 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
24630 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
24631 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
24632 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
24633 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
24635 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24636 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24637 { (exit 1); exit 1; }; };;
24642 # If the user did not use the arguments to specify the items to instantiate,
24643 # then the envvar interface is used. Set only those that are not.
24644 # We use the long form for the default assignment because of an extremely
24645 # bizarre bug on SunOS 4.1.3.
24646 if $ac_need_defaults; then
24647 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24648 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24649 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24652 # Have a temporary directory for convenience. Make it in the build tree
24653 # simply because there is no reason against having it here, and in addition,
24654 # creating and moving files from /tmp can sometimes cause problems.
24655 # Hook for its removal unless debugging.
24656 # Note that there is a small window in which the directory will not be cleaned:
24657 # after its creation but before its name has been assigned to `$tmp'.
24661 trap 'exit_status=$?
24662 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24664 trap '{ (exit 1); exit 1; }' 1 2 13 15
24666 # Create a (secure) tmp directory for tmp files.
24669 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24670 test -n "$tmp" && test -d "$tmp"
24673 tmp
=.
/conf$$
-$RANDOM
24674 (umask 077 && mkdir
"$tmp")
24677 echo "$me: cannot create a temporary directory in ." >&2
24678 { (exit 1); exit 1; }
24682 # Set up the sed scripts for CONFIG_FILES section.
24685 # No need to generate the scripts if there are no CONFIG_FILES.
24686 # This happens for instance when ./config.status config.h
24687 if test -n "$CONFIG_FILES"; then
24691 # Create sed commands to just substitute file output variables.
24693 # Remaining file output variables are in a fragment that also has non-file
24699 for ac_last_try
in false false false false false
:; do
24700 cat >conf$
$subs.
sed <<_ACEOF
24701 SHELL!$SHELL$ac_delim
24702 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24703 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24704 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24705 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24706 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24707 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24708 exec_prefix!$exec_prefix$ac_delim
24709 prefix!$prefix$ac_delim
24710 program_transform_name!$program_transform_name$ac_delim
24711 bindir!$bindir$ac_delim
24712 sbindir!$sbindir$ac_delim
24713 libexecdir!$libexecdir$ac_delim
24714 datarootdir!$datarootdir$ac_delim
24715 datadir!$datadir$ac_delim
24716 sysconfdir!$sysconfdir$ac_delim
24717 sharedstatedir!$sharedstatedir$ac_delim
24718 localstatedir!$localstatedir$ac_delim
24719 includedir!$includedir$ac_delim
24720 oldincludedir!$oldincludedir$ac_delim
24721 docdir!$docdir$ac_delim
24722 infodir!$infodir$ac_delim
24723 htmldir!$htmldir$ac_delim
24724 dvidir!$dvidir$ac_delim
24725 pdfdir!$pdfdir$ac_delim
24726 psdir!$psdir$ac_delim
24727 libdir!$libdir$ac_delim
24728 localedir!$localedir$ac_delim
24729 mandir!$mandir$ac_delim
24730 DEFS!$DEFS$ac_delim
24731 ECHO_C!$ECHO_C$ac_delim
24732 ECHO_N!$ECHO_N$ac_delim
24733 ECHO_T!$ECHO_T$ac_delim
24734 LIBS!$LIBS$ac_delim
24735 build_alias!$build_alias$ac_delim
24736 host_alias!$host_alias$ac_delim
24737 target_alias!$target_alias$ac_delim
24738 build!$build$ac_delim
24739 build_cpu!$build_cpu$ac_delim
24740 build_vendor!$build_vendor$ac_delim
24741 build_os!$build_os$ac_delim
24742 host!$host$ac_delim
24743 host_cpu!$host_cpu$ac_delim
24744 host_vendor!$host_vendor$ac_delim
24745 host_os!$host_os$ac_delim
24746 WIN16_FILES!$WIN16_FILES$ac_delim
24747 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24748 SET_MAKE!$SET_MAKE$ac_delim
24750 CFLAGS!$CFLAGS$ac_delim
24751 LDFLAGS!$LDFLAGS$ac_delim
24752 CPPFLAGS!$CPPFLAGS$ac_delim
24753 ac_ct_CC!$ac_ct_CC$ac_delim
24754 EXEEXT!$EXEEXT$ac_delim
24755 OBJEXT!$OBJEXT$ac_delim
24757 CXXFLAGS!$CXXFLAGS$ac_delim
24758 ac_ct_CXX!$ac_ct_CXX$ac_delim
24759 CPPBIN!$CPPBIN$ac_delim
24760 TOOLSDIR!$TOOLSDIR$ac_delim
24761 XMKMF!$XMKMF$ac_delim
24763 X_CFLAGS!$X_CFLAGS$ac_delim
24764 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24765 X_LIBS!$X_LIBS$ac_delim
24766 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24768 LEXLIB!$LEXLIB$ac_delim
24769 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24770 XLEX!$XLEX$ac_delim
24771 BISON!$BISON$ac_delim
24773 ac_ct_AS!$ac_ct_AS$ac_delim
24776 RANLIB!$RANLIB$ac_delim
24777 STRIP!$STRIP$ac_delim
24778 WINDRES!$WINDRES$ac_delim
24779 LN_S!$LN_S$ac_delim
24781 GREP!$GREP$ac_delim
24782 EGREP!$EGREP$ac_delim
24785 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24787 elif $ac_last_try; then
24788 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24789 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24790 { (exit 1); exit 1; }; }
24792 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24796 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24797 if test -n "$ac_eof"; then
24798 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24799 ac_eof
=`expr $ac_eof + 1`
24802 cat >>$CONFIG_STATUS <<_ACEOF
24803 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24804 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24805 /^[ ]*@MAKE_RULES@[ ]*$/{
24809 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24813 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24814 r $MAKE_IMPLIB_RULES
24817 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24821 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24827 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24828 s/^/s,@/; s/!/@,|#_!!_#|/
24831 s/'"$ac_delim"'$/,g/; t
24833 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24834 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24835 rm -f conf$
$subs.
sed
24836 cat >>$CONFIG_STATUS <<_ACEOF
24842 for ac_last_try
in false false false false false
:; do
24843 cat >conf$
$subs.
sed <<_ACEOF
24844 LDCONFIG!$LDCONFIG$ac_delim
24845 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24846 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24847 INSTALL_DATA!$INSTALL_DATA$ac_delim
24848 LINT!$LINT$ac_delim
24849 LINTFLAGS!$LINTFLAGS$ac_delim
24850 FONTFORGE!$FONTFORGE$ac_delim
24851 PKG_CONFIG!$PKG_CONFIG$ac_delim
24852 PRELINK!$PRELINK$ac_delim
24853 LIBPTHREAD!$LIBPTHREAD$ac_delim
24854 XLIB!$XLIB$ac_delim
24855 XFILES!$XFILES$ac_delim
24856 OPENGLFILES!$OPENGLFILES$ac_delim
24857 GLU32FILES!$GLU32FILES$ac_delim
24858 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24859 GLUT_LIBS!$GLUT_LIBS$ac_delim
24860 GLUT32FILES!$GLUT32FILES$ac_delim
24861 NASLIBS!$NASLIBS$ac_delim
24862 XML2LIBS!$XML2LIBS$ac_delim
24863 XML2INCL!$XML2INCL$ac_delim
24864 XSLTLIBS!$XSLTLIBS$ac_delim
24865 XSLTINCL!$XSLTINCL$ac_delim
24866 HALINCL!$HALINCL$ac_delim
24867 CURSESLIBS!$CURSESLIBS$ac_delim
24868 sane_devel!$sane_devel$ac_delim
24869 SANELIBS!$SANELIBS$ac_delim
24870 SANEINCL!$SANEINCL$ac_delim
24871 gphoto2_devel!$gphoto2_devel$ac_delim
24872 gphoto2port_devel!$gphoto2port_devel$ac_delim
24873 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24874 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24875 ICULIBS!$ICULIBS$ac_delim
24876 RESOLVLIBS!$RESOLVLIBS$ac_delim
24877 LCMSLIBS!$LCMSLIBS$ac_delim
24878 LDAPLIBS!$LDAPLIBS$ac_delim
24879 FREETYPELIBS!$FREETYPELIBS$ac_delim
24880 FREETYPEINCL!$FREETYPEINCL$ac_delim
24881 ft_devel!$ft_devel$ac_delim
24882 ft_devel2!$ft_devel2$ac_delim
24883 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24884 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24885 ARTSLIBS!$ARTSLIBS$ac_delim
24886 ARTSINCL!$ARTSINCL$ac_delim
24887 ESDCONFIG!$ESDCONFIG$ac_delim
24888 ESDLIBS!$ESDLIBS$ac_delim
24889 ESDINCL!$ESDINCL$ac_delim
24890 ALSALIBS!$ALSALIBS$ac_delim
24891 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24892 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24893 BUILTINFLAG!$BUILTINFLAG$ac_delim
24894 DLLEXT!$DLLEXT$ac_delim
24895 DLLFLAGS!$DLLFLAGS$ac_delim
24896 LDSHARED!$LDSHARED$ac_delim
24897 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24898 LIBEXT!$LIBEXT$ac_delim
24899 IMPLIBEXT!$IMPLIBEXT$ac_delim
24900 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24901 DLLTOOL!$DLLTOOL$ac_delim
24902 DLLWRAP!$DLLWRAP$ac_delim
24903 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24904 IOKITLIB!$IOKITLIB$ac_delim
24905 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24906 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24907 COREAUDIO!$COREAUDIO$ac_delim
24908 CROSSTEST!$CROSSTEST$ac_delim
24909 CROSSCC!$CROSSCC$ac_delim
24910 CROSSWINDRES!$CROSSWINDRES$ac_delim
24911 LDPATH!$LDPATH$ac_delim
24912 CRTLIBS!$CRTLIBS$ac_delim
24913 SOCKETLIBS!$SOCKETLIBS$ac_delim
24914 MAIN_BINARY!$MAIN_BINARY$ac_delim
24915 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24917 LIBDL!$LIBDL$ac_delim
24918 LIBPOLL!$LIBPOLL$ac_delim
24919 DEPENDENCIES!$DEPENDENCIES$ac_delim
24920 LIBOBJS!$LIBOBJS$ac_delim
24921 LTLIBOBJS!$LTLIBOBJS$ac_delim
24924 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
24926 elif $ac_last_try; then
24927 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24928 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24929 { (exit 1); exit 1; }; }
24931 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24935 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24936 if test -n "$ac_eof"; then
24937 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24938 ac_eof
=`expr $ac_eof + 1`
24941 cat >>$CONFIG_STATUS <<_ACEOF
24942 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24943 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24946 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24947 s/^/s,@/; s/!/@,|#_!!_#|/
24950 s/'"$ac_delim"'$/,g/; t
24952 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24953 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24954 rm -f conf$
$subs.
sed
24955 cat >>$CONFIG_STATUS <<_ACEOF
24962 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24963 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24964 # trailing colons and then remove the whole line if VPATH becomes empty
24965 # (actually we leave an empty line to preserve line numbers).
24966 if test "x$srcdir" = x.
; then
24967 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24968 s/:*\$(srcdir):*/:/
24969 s/:*\${srcdir}:*/:/
24971 s/^\([^=]*=[ ]*\):*/\1/
24977 cat >>$CONFIG_STATUS <<\_ACEOF
24978 fi # test -n "$CONFIG_FILES"
24981 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
24984 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24986 case $ac_mode$ac_tag in
24988 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24989 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24990 { (exit 1); exit 1; }; };;
24991 :[FH
]-) ac_tag
=-:-;;
24992 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25009 -) ac_f
="$tmp/stdin";;
25010 *) # Look for the file first in the build tree, then in the source tree
25011 # (if the path is not absolute). The absolute path cannot be DOS-style,
25012 # because $ac_f cannot contain `:'.
25016 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25018 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25019 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25020 { (exit 1); exit 1; }; };;
25022 ac_file_inputs
="$ac_file_inputs $ac_f"
25025 # Let's still pretend it is `configure' which instantiates (i.e., don't
25026 # use $as_me), people would be surprised to read:
25027 # /* config.h. Generated by config.status. */
25028 configure_input
="Generated from "`IFS=:
25029 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25030 if test x
"$ac_file" != x-
; then
25031 configure_input
="$ac_file. $configure_input"
25032 { echo "$as_me:$LINENO: creating $ac_file" >&5
25033 echo "$as_me: creating $ac_file" >&6;}
25037 *:-:* |
*:-) cat >"$tmp/stdin";;
25042 ac_dir
=`$as_dirname -- "$ac_file" ||
25043 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25044 X"$ac_file" : 'X\(//\)[^/]' \| \
25045 X"$ac_file" : 'X\(//\)$' \| \
25046 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25052 /^X\(\/\/\)[^/].*/{
25067 -*) as_dir
=.
/$as_dir;;
25069 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25073 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25074 *) as_qdir
=$as_dir;;
25076 as_dirs
="'$as_qdir' $as_dirs"
25077 as_dir
=`$as_dirname -- "$as_dir" ||
25078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25079 X"$as_dir" : 'X\(//\)[^/]' \| \
25080 X"$as_dir" : 'X\(//\)$' \| \
25081 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25087 /^X\(\/\/\)[^/].*/{
25100 test -d "$as_dir" && break
25102 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25103 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25104 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25105 { (exit 1); exit 1; }; }; }
25109 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25111 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25112 # A ".." for each directory in $ac_dir_suffix.
25113 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25114 case $ac_top_builddir_sub in
25115 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25116 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25119 ac_abs_top_builddir
=$ac_pwd
25120 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25121 # for backward compatibility:
25122 ac_top_builddir
=$ac_top_build_prefix
25125 .
) # We are building in place.
25127 ac_top_srcdir
=$ac_top_builddir_sub
25128 ac_abs_top_srcdir
=$ac_pwd ;;
25129 [\\/]* | ?
:[\\/]* ) # Absolute name.
25130 ac_srcdir
=$srcdir$ac_dir_suffix;
25131 ac_top_srcdir
=$srcdir
25132 ac_abs_top_srcdir
=$srcdir ;;
25133 *) # Relative name.
25134 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25135 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25136 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25138 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25148 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25149 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25153 cat >>$CONFIG_STATUS <<\_ACEOF
25154 # If the template does not know about datarootdir, expand it.
25155 # FIXME: This hack should be removed a few years after 2.60.
25156 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25158 case `sed -n '/datarootdir/ {
25167 ' $ac_file_inputs` in
25168 *datarootdir
*) ac_datarootdir_seen
=yes;;
25169 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25170 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25171 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25173 cat >>$CONFIG_STATUS <<_ACEOF
25174 ac_datarootdir_hack='
25175 s&@datadir@&$datadir&g
25176 s&@docdir@&$docdir&g
25177 s&@infodir@&$infodir&g
25178 s&@localedir@&$localedir&g
25179 s&@mandir@&$mandir&g
25180 s&\\\${datarootdir}&$datarootdir&g' ;;
25184 # Neutralize VPATH when `$srcdir' = `.'.
25185 # Shell code in configure.ac might set extrasub.
25186 # FIXME: do we really want to maintain this feature?
25187 cat >>$CONFIG_STATUS <<_ACEOF
25191 cat >>$CONFIG_STATUS <<\_ACEOF
25193 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25194 s
&@configure_input@
&$configure_input&;t t
25195 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25196 s
&@srcdir@
&$ac_srcdir&;t t
25197 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25198 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25199 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25200 s
&@builddir@
&$ac_builddir&;t t
25201 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25202 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25203 s
&@INSTALL@
&$ac_INSTALL&;t t
25204 $ac_datarootdir_hack
25205 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
25207 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25208 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25209 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25210 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25211 which seems to be undefined. Please make sure it is defined." >&5
25212 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25213 which seems to be undefined. Please make sure it is defined." >&2;}
25217 -) cat "$tmp/out"; rm -f "$tmp/out";;
25218 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25227 # Transform confdefs.h into a sed script `conftest.defines', that
25228 # substitutes the proper values into config.h.in to produce config.h.
25229 rm -f conftest.defines conftest.
tail
25230 # First, append a space to every undef/define line, to ease matching.
25231 echo 's/$/ /' >conftest.defines
25232 # Then, protect against being on the right side of a sed subst, or in
25233 # an unquoted here document, in config.status. If some macros were
25234 # called several times there might be several #defines for the same
25235 # symbol, which is useless. But do not sort them, since the last
25236 # AC_DEFINE must be honored.
25237 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25238 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25239 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25240 # PARAMS is the parameter list in the macro definition--in most cases, it's
25241 # just an empty string.
25242 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25243 ac_dB
='\\)[ (].*,\\1define\\2'
25251 s/^[ ]*#[ ]*define[ ][ ]*//
25256 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25257 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25258 ' >>conftest.defines
25260 # Remove the space that was appended to ease matching.
25261 # Then replace #undef with comments. This is necessary, for
25262 # example, in the case of _POSIX_SOURCE, which is predefined and required
25263 # on some systems where configure will not decide to define it.
25264 # (The regexp can be short, since the line contains either #define or #undef.)
25266 s,^[ #]*u.*,/* & */,' >>conftest.defines
25268 # Break up conftest.defines:
25269 ac_max_sed_lines
=50
25271 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25272 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25273 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25275 ac_in
='$ac_file_inputs'
25276 ac_out
='"$tmp/out1"'
25277 ac_nxt
='"$tmp/out2"'
25281 # Write a here document:
25282 cat >>$CONFIG_STATUS <<_ACEOF
25283 # First, check the format of the line:
25284 cat >"\$tmp/defines.sed" <<\\CEOF
25285 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25286 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25290 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25292 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25293 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25294 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25295 grep . conftest.
tail >/dev
/null ||
break
25296 rm -f conftest.defines
25297 mv conftest.
tail conftest.defines
25299 rm -f conftest.defines conftest.
tail
25301 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25302 cat >>$CONFIG_STATUS <<\_ACEOF
25303 if test x
"$ac_file" != x-
; then
25304 echo "/* $configure_input */" >"$tmp/config.h"
25305 cat "$ac_result" >>"$tmp/config.h"
25306 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25307 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25308 echo "$as_me: $ac_file is unchanged" >&6;}
25311 mv "$tmp/config.h" $ac_file
25314 echo "/* $configure_input */"
25320 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25321 echo "$as_me: executing $ac_file commands" >&6;}
25326 case $ac_file$ac_mode in
25327 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
25328 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
25329 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
25330 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
25331 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
25332 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25333 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
25334 "dlls/user/resources":C
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25335 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
25336 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25337 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
25338 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
25339 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
25345 { (exit 0); exit 0; }
25347 chmod +x
$CONFIG_STATUS
25348 ac_clean_files
=$ac_clean_files_save
25351 # configure is writing to config.log, and then calls config.status.
25352 # config.status does its own redirection, appending to config.log.
25353 # Unfortunately, on DOS this fails, as config.log is still kept open
25354 # by configure, so config.status won't be able to write to it; its
25355 # output is simply discarded. So we exec the FD to /dev/null,
25356 # effectively closing config.log, so it can be properly (re)opened and
25357 # appended to by config.status. When coming back to configure, we
25358 # need to make the FD available again.
25359 if test "$no_create" != yes; then
25361 ac_config_status_args
=
25362 test "$silent" = yes &&
25363 ac_config_status_args
="$ac_config_status_args --quiet"
25365 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25367 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25368 # would make configure fail if this is the last instruction.
25369 $ac_cs_success ||
{ (exit 1); exit 1; }
25374 if test "$no_create" = "yes"
25379 if test "$verbose" = "yes"
25381 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25384 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25385 echo "$as_me: libcapi20 development files not found." >&6;}
25386 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25387 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25390 if test "$ac_cv_header_cups_cups_h" != "yes"
25393 { echo "$as_me:$LINENO: libcups development files not found." >&5
25394 echo "$as_me: libcups development files not found." >&6;}
25395 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25396 echo "$as_me: Wine will be built without CUPS support." >&6;}
25400 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25403 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25404 echo "$as_me: libgphoto2 development files not found." >&6;}
25405 if test "$ac_cv_header_sane_sane_h" = "yes"
25407 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25408 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25410 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25411 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25415 if test "$ac_cv_header_hal_libhal_h" != "yes"
25418 { echo "$as_me:$LINENO: libhal development files not found." >&5
25419 echo "$as_me: libhal development files not found." >&6;}
25420 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25421 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25424 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25427 { echo "$as_me:$LINENO: libicu development files not found." >&5
25428 echo "$as_me: libicu development files not found." >&6;}
25429 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25430 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25433 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25436 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25437 echo "$as_me: liblcms development files not found." >&6;}
25438 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25439 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25442 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25445 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25446 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25447 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25448 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25451 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25454 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25455 echo "$as_me: lib(n)curses development files not found." >&6;}
25456 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25457 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25460 if test "$ac_cv_header_sane_sane_h" != "yes"
25463 { echo "$as_me:$LINENO: libsane development files not found." >&5
25464 echo "$as_me: libsane development files not found." >&6;}
25465 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25466 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25469 if test "$have_x" = "yes"
25471 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25474 { echo "$as_me:$LINENO: libxext development files not found." >&5
25475 echo "$as_me: libxext development files not found." >&6;}
25476 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25477 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25480 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25483 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25484 echo "$as_me: libXrandr development files not found." >&6;}
25485 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25486 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25489 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25492 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25493 echo "$as_me: libXrender development files not found." >&6;}
25494 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25495 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25498 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25501 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25502 echo "$as_me: libXxf86vm development files not found." >&6;}
25503 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25504 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25508 if test "$ac_cv_header_libxml_parser_h" != "yes"
25511 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25512 echo "$as_me: libxml2 development files not found." >&6;}
25513 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25514 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25517 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25520 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25521 echo "$as_me: libxslt development files not found." >&6;}
25522 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25523 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25528 if test "$have_x" = "no"
25531 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25532 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25533 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25534 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25535 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25536 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25537 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25538 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25541 if test -z "$OPENGLFILES"
25544 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25545 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25546 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25547 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25548 if test "$wine_cv_opengl_headers_found" = "no"
25550 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25551 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25553 if test "$wine_cv_opengl_header_version_OK" = "no"
25555 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25556 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25557 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25559 if test -f /usr
/X11R
6/lib
/libGL.a
25561 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25562 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25563 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25564 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25566 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25567 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25572 if test "$wine_cv_msg_freetype" = "yes"
25575 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25576 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25577 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25578 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25579 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25580 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25581 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25582 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25585 if test -z "$FONTSSUBDIRS"
25588 if test "$FONTFORGE" = "false"
25590 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25591 echo "$as_me: WARNING: FontForge is missing." >&2;}
25593 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25594 echo "$as_me: WARNING: FreeType is missing." >&2;}
25596 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25597 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25600 if test -z "$ALSALIBS" -a \
25601 -z "$ARTSC_LIBS" -a \
25602 -z "$AUDIOIOLIBS" -a \
25604 -z "$ESD_LIBS" -a \
25605 -z "$ac_cv_lib_soname_jack" -a \
25606 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25607 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25608 "$ac_cv_header_soundcard_h" != "yes"
25611 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25612 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25613 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25614 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25615 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25616 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25620 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."