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"
8662 for ac_header
in X11
/Xlib.h \
8665 X11
/extensions
/shape.h \
8666 X11
/extensions
/XInput.h \
8667 X11
/extensions
/XShm.h \
8668 X11
/extensions
/Xrandr.h \
8669 X11
/extensions
/Xrender.h \
8670 X11
/extensions
/xf86vmode.h
8672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8673 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8675 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 cat >conftest.
$ac_ext <<_ACEOF
8681 cat confdefs.h
>>conftest.
$ac_ext
8682 cat >>conftest.
$ac_ext <<_ACEOF
8683 /* end confdefs.h. */
8684 #ifdef HAVE_X11_XLIB_H
8685 # include <X11/Xlib.h>
8687 #ifdef HAVE_X11_XUTIL_H
8688 # include <X11/Xutil.h>
8691 #include <$ac_header>
8693 rm -f conftest.
$ac_objext
8694 if { (ac_try
="$ac_compile"
8696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8697 *) ac_try_echo=$ac_try;;
8699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8700 (eval "$ac_compile") 2>conftest.er1
8702 grep -v '^ *+' conftest.er1 >conftest.err
8704 cat conftest.err >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } &&
8707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8708 { (case "(($ac_try" in
8709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8710 *) ac_try_echo
=$ac_try;;
8712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8713 (eval "$ac_try") 2>&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; } &&
8717 { ac_try
='test -s conftest.$ac_objext'
8718 { (case "(($ac_try" in
8719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8720 *) ac_try_echo=$ac_try;;
8722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8723 (eval "$ac_try") 2>&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; }; then
8727 eval "$as_ac_Header=yes"
8729 echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8732 eval "$as_ac_Header=no"
8735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8737 ac_res=`eval echo '${'$as_ac_Header'}'`
8738 { echo "$as_me:$LINENO: result: $ac_res" >&5
8739 echo "${ECHO_T}$ac_res" >&6; }
8740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8741 cat >>confdefs.h <<_ACEOF
8742 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8750 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8752 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8753 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8754 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8757 ac_check_lib_save_LIBS=$LIBS
8758 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8759 cat >conftest.$ac_ext <<_ACEOF
8762 cat confdefs.h >>conftest.$ac_ext
8763 cat >>conftest.$ac_ext <<_ACEOF
8764 /* end confdefs.h. */
8766 /* Override any GCC internal prototype to avoid an error.
8767 Use char because int might match the return type of a GCC
8768 builtin and then its argument prototype would still apply. */
8772 char XkbQueryExtension ();
8776 return XkbQueryExtension ();
8781 rm -f conftest.$ac_objext conftest$ac_exeext
8782 if { (ac_try="$ac_link"
8784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8785 *) ac_try_echo
=$ac_try;;
8787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8788 (eval "$ac_link") 2>conftest.er1
8790 grep -v '^ *+' conftest.er1
>conftest.err
8792 cat conftest.err
>&5
8793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 (exit $ac_status); } &&
8795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8796 { (case "(($ac_try" in
8797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_try") 2>&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; } &&
8805 { ac_try='test -s conftest$ac_exeext'
8806 { (case "(($ac_try" in
8807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8808 *) ac_try_echo
=$ac_try;;
8810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8811 (eval "$ac_try") 2>&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); }; }; then
8815 ac_cv_lib_X11_XkbQueryExtension
=yes
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.
$ac_ext >&5
8820 ac_cv_lib_X11_XkbQueryExtension
=no
8823 rm -f core conftest.err conftest.
$ac_objext \
8824 conftest
$ac_exeext conftest.
$ac_ext
8825 LIBS
=$ac_check_lib_save_LIBS
8827 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8828 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8829 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8831 cat >>confdefs.h
<<\_ACEOF
8839 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8841 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8842 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8843 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 ac_check_lib_save_LIBS
=$LIBS
8847 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8848 cat >conftest.
$ac_ext <<_ACEOF
8851 cat confdefs.h
>>conftest.
$ac_ext
8852 cat >>conftest.
$ac_ext <<_ACEOF
8853 /* end confdefs.h. */
8855 /* Override any GCC internal prototype to avoid an error.
8856 Use char because int might match the return type of a GCC
8857 builtin and then its argument prototype would still apply. */
8861 char XShmQueryExtension ();
8865 return XShmQueryExtension ();
8870 rm -f conftest.
$ac_objext conftest
$ac_exeext
8871 if { (ac_try
="$ac_link"
8873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8874 *) ac_try_echo=$ac_try;;
8876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8877 (eval "$ac_link") 2>conftest.er1
8879 grep -v '^ *+' conftest.er1 >conftest.err
8881 cat conftest.err >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8885 { (case "(($ac_try" in
8886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8887 *) ac_try_echo
=$ac_try;;
8889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8890 (eval "$ac_try") 2>&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); }; } &&
8894 { ac_try
='test -s conftest$ac_exeext'
8895 { (case "(($ac_try" in
8896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8897 *) ac_try_echo=$ac_try;;
8899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8900 (eval "$ac_try") 2>&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }; }; then
8904 ac_cv_lib_Xext_XShmQueryExtension=yes
8906 echo "$as_me: failed program was:" >&5
8907 sed 's/^/| /' conftest.$ac_ext >&5
8909 ac_cv_lib_Xext_XShmQueryExtension=no
8912 rm -f core conftest.err conftest.$ac_objext \
8913 conftest$ac_exeext conftest.$ac_ext
8914 LIBS=$ac_check_lib_save_LIBS
8916 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8917 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8918 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8920 cat >>confdefs.h <<\_ACEOF
8921 #define HAVE_LIBXXSHM 1
8928 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8930 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8931 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8932 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8935 ac_check_lib_save_LIBS=$LIBS
8936 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8937 cat >conftest.$ac_ext <<_ACEOF
8940 cat confdefs.h >>conftest.$ac_ext
8941 cat >>conftest.$ac_ext <<_ACEOF
8942 /* end confdefs.h. */
8944 /* Override any GCC internal prototype to avoid an error.
8945 Use char because int might match the return type of a GCC
8946 builtin and then its argument prototype would still apply. */
8950 char XShapeQueryExtension ();
8954 return XShapeQueryExtension ();
8959 rm -f conftest.$ac_objext conftest$ac_exeext
8960 if { (ac_try="$ac_link"
8962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8963 *) ac_try_echo
=$ac_try;;
8965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8966 (eval "$ac_link") 2>conftest.er1
8968 grep -v '^ *+' conftest.er1
>conftest.err
8970 cat conftest.err
>&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } &&
8973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8974 { (case "(($ac_try" in
8975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8976 *) ac_try_echo=$ac_try;;
8978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8979 (eval "$ac_try") 2>&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); }; } &&
8983 { ac_try='test -s conftest$ac_exeext'
8984 { (case "(($ac_try" in
8985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8986 *) ac_try_echo
=$ac_try;;
8988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8989 (eval "$ac_try") 2>&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); }; }; then
8993 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8995 echo "$as_me: failed program was:" >&5
8996 sed 's/^/| /' conftest.
$ac_ext >&5
8998 ac_cv_lib_Xext_XShapeQueryExtension
=no
9001 rm -f core conftest.err conftest.
$ac_objext \
9002 conftest
$ac_exeext conftest.
$ac_ext
9003 LIBS
=$ac_check_lib_save_LIBS
9005 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9006 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9007 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9009 cat >>confdefs.h
<<\_ACEOF
9010 #define HAVE_LIBXSHAPE 1
9017 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9019 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9020 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9021 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 ac_check_lib_save_LIBS
=$LIBS
9025 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9026 cat >conftest.
$ac_ext <<_ACEOF
9029 cat confdefs.h
>>conftest.
$ac_ext
9030 cat >>conftest.
$ac_ext <<_ACEOF
9031 /* end confdefs.h. */
9033 /* Override any GCC internal prototype to avoid an error.
9034 Use char because int might match the return type of a GCC
9035 builtin and then its argument prototype would still apply. */
9039 char XF86VidModeQueryExtension ();
9043 return XF86VidModeQueryExtension ();
9048 rm -f conftest.
$ac_objext conftest
$ac_exeext
9049 if { (ac_try
="$ac_link"
9051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9052 *) ac_try_echo=$ac_try;;
9054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9055 (eval "$ac_link") 2>conftest.er1
9057 grep -v '^ *+' conftest.er1 >conftest.err
9059 cat conftest.err >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } &&
9062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9063 { (case "(($ac_try" in
9064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9065 *) ac_try_echo
=$ac_try;;
9067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9068 (eval "$ac_try") 2>&5
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); }; } &&
9072 { ac_try
='test -s conftest$ac_exeext'
9073 { (case "(($ac_try" in
9074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9075 *) ac_try_echo=$ac_try;;
9077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9078 (eval "$ac_try") 2>&5
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 (exit $ac_status); }; }; then
9082 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9087 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9090 rm -f core conftest.err conftest.$ac_objext \
9091 conftest$ac_exeext conftest.$ac_ext
9092 LIBS=$ac_check_lib_save_LIBS
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9095 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9096 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9098 cat >>confdefs.h <<\_ACEOF
9099 #define HAVE_LIBXXF86VM 1
9102 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9108 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9110 cat >conftest.$ac_ext <<_ACEOF
9113 cat confdefs.h >>conftest.$ac_ext
9114 cat >>conftest.$ac_ext <<_ACEOF
9115 /* end confdefs.h. */
9116 #include <X11/Xlib.h>
9117 #include <X11/extensions/Xrandr.h>
9121 static typeof(XRRSetScreenConfigAndRate) * func;
9126 rm -f conftest.$ac_objext
9127 if { (ac_try="$ac_compile"
9129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9130 *) ac_try_echo
=$ac_try;;
9132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9133 (eval "$ac_compile") 2>conftest.er1
9135 grep -v '^ *+' conftest.er1
>conftest.err
9137 cat conftest.err
>&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); } &&
9140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9141 { (case "(($ac_try" in
9142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9143 *) ac_try_echo=$ac_try;;
9145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9146 (eval "$ac_try") 2>&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; } &&
9150 { ac_try='test -s conftest.$ac_objext'
9151 { (case "(($ac_try" in
9152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9153 *) ac_try_echo
=$ac_try;;
9155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9156 (eval "$ac_try") 2>&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); }; }; then
9161 cat >>confdefs.h
<<\_ACEOF
9162 #define HAVE_LIBXRANDR 1
9166 echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.
$ac_ext >&5
9172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9175 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9177 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9178 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9179 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9182 ac_check_lib_save_LIBS
=$LIBS
9183 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9184 cat >conftest.
$ac_ext <<_ACEOF
9187 cat confdefs.h
>>conftest.
$ac_ext
9188 cat >>conftest.
$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9197 char XRenderSetPictureTransform ();
9201 return XRenderSetPictureTransform ();
9206 rm -f conftest.
$ac_objext conftest
$ac_exeext
9207 if { (ac_try
="$ac_link"
9209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9210 *) ac_try_echo=$ac_try;;
9212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9213 (eval "$ac_link") 2>conftest.er1
9215 grep -v '^ *+' conftest.er1 >conftest.err
9217 cat conftest.err >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } &&
9220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9221 { (case "(($ac_try" in
9222 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9223 *) ac_try_echo
=$ac_try;;
9225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9226 (eval "$ac_try") 2>&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); }; } &&
9230 { ac_try
='test -s conftest$ac_exeext'
9231 { (case "(($ac_try" in
9232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9233 *) ac_try_echo=$ac_try;;
9235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9236 (eval "$ac_try") 2>&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); }; }; then
9240 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9242 echo "$as_me: failed program was:" >&5
9243 sed 's/^/| /' conftest.$ac_ext >&5
9245 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9248 rm -f core conftest.err conftest.$ac_objext \
9249 conftest$ac_exeext conftest.$ac_ext
9250 LIBS=$ac_check_lib_save_LIBS
9252 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9253 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9254 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9256 cat >>confdefs.h <<\_ACEOF
9257 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9264 if test "x$with_opengl" != "xno"
9270 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9272 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9273 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9275 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9276 echo $ECHO_N "(cached) $ECHO_C" >&6
9278 cat >conftest.$ac_ext <<_ACEOF
9281 cat confdefs.h >>conftest.$ac_ext
9282 cat >>conftest.$ac_ext <<_ACEOF
9283 /* end confdefs.h. */
9284 #ifdef HAVE_GL_GLX_H
9285 # include <GL/glx.h>
9288 #include <$ac_header>
9290 rm -f conftest.$ac_objext
9291 if { (ac_try="$ac_compile"
9293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9294 *) ac_try_echo
=$ac_try;;
9296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9297 (eval "$ac_compile") 2>conftest.er1
9299 grep -v '^ *+' conftest.er1
>conftest.err
9301 cat conftest.err
>&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } &&
9304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9305 { (case "(($ac_try" in
9306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9307 *) ac_try_echo=$ac_try;;
9309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9310 (eval "$ac_try") 2>&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); }; } &&
9314 { ac_try='test -s conftest.$ac_objext'
9315 { (case "(($ac_try" in
9316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9317 *) ac_try_echo
=$ac_try;;
9319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9320 (eval "$ac_try") 2>&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); }; }; then
9324 eval "$as_ac_Header=yes"
9326 echo "$as_me: failed program was:" >&5
9327 sed 's/^/| /' conftest.
$ac_ext >&5
9329 eval "$as_ac_Header=no"
9332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9334 ac_res
=`eval echo '${'$as_ac_Header'}'`
9335 { echo "$as_me:$LINENO: result: $ac_res" >&5
9336 echo "${ECHO_T}$ac_res" >&6; }
9337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9338 cat >>confdefs.h
<<_ACEOF
9339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9346 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9348 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9349 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9350 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9353 cat >conftest.
$ac_ext <<_ACEOF
9356 cat confdefs.h
>>conftest.
$ac_ext
9357 cat >>conftest.
$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9363 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9368 rm -f conftest.
$ac_objext
9369 if { (ac_try
="$ac_compile"
9371 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9372 *) ac_try_echo=$ac_try;;
9374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9375 (eval "$ac_compile") 2>conftest.er1
9377 grep -v '^ *+' conftest.er1 >conftest.err
9379 cat conftest.err >&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); } &&
9382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9383 { (case "(($ac_try" in
9384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9385 *) ac_try_echo
=$ac_try;;
9387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9388 (eval "$ac_try") 2>&5
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); }; } &&
9392 { ac_try
='test -s conftest.$ac_objext'
9393 { (case "(($ac_try" in
9394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9395 *) ac_try_echo=$ac_try;;
9397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9398 (eval "$ac_try") 2>&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); }; }; then
9402 wine_cv_opengl_header_version_OK="yes"
9404 echo "$as_me: failed program was:" >&5
9405 sed 's/^/| /' conftest.$ac_ext >&5
9407 wine_cv_opengl_header_version_OK="no"
9411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9414 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9415 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9417 if test "$wine_cv_opengl_header_version_OK" = "yes"
9419 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9420 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9421 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9422 echo $ECHO_N "(cached) $ECHO_C" >&6
9424 ac_check_lib_save_LIBS=$LIBS
9425 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9426 cat >conftest.$ac_ext <<_ACEOF
9429 cat confdefs.h >>conftest.$ac_ext
9430 cat >>conftest.$ac_ext <<_ACEOF
9431 /* end confdefs.h. */
9433 /* Override any GCC internal prototype to avoid an error.
9434 Use char because int might match the return type of a GCC
9435 builtin and then its argument prototype would still apply. */
9439 char glXCreateContext ();
9443 return glXCreateContext ();
9448 rm -f conftest.$ac_objext conftest$ac_exeext
9449 if { (ac_try="$ac_link"
9451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9452 *) ac_try_echo
=$ac_try;;
9454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9455 (eval "$ac_link") 2>conftest.er1
9457 grep -v '^ *+' conftest.er1
>conftest.err
9459 cat conftest.err
>&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); } &&
9462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
9472 { ac_try='test -s conftest$ac_exeext'
9473 { (case "(($ac_try" in
9474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9475 *) ac_try_echo
=$ac_try;;
9477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478 (eval "$ac_try") 2>&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); }; }; then
9482 ac_cv_lib_GL_glXCreateContext
=yes
9484 echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.
$ac_ext >&5
9487 ac_cv_lib_GL_glXCreateContext
=no
9490 rm -f core conftest.err conftest.
$ac_objext \
9491 conftest
$ac_exeext conftest.
$ac_ext
9492 LIBS
=$ac_check_lib_save_LIBS
9494 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9495 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9496 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9498 OPENGLFILES
='$(OPENGLFILES)'
9500 cat >>confdefs.h
<<\_ACEOF
9501 #define HAVE_OPENGL 1
9508 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9509 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9510 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9513 ac_check_lib_save_LIBS
=$LIBS
9514 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9516 cat >conftest.
$ac_ext <<_ACEOF
9519 cat confdefs.h
>>conftest.
$ac_ext
9520 cat >>conftest.
$ac_ext <<_ACEOF
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9533 return gluLookAt ();
9538 rm -f conftest.
$ac_objext conftest
$ac_exeext
9539 if { (ac_try
="$ac_link"
9541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9542 *) ac_try_echo=$ac_try;;
9544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9545 (eval "$ac_link") 2>conftest.er1
9547 grep -v '^ *+' conftest.er1 >conftest.err
9549 cat conftest.err >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); } &&
9552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9553 { (case "(($ac_try" in
9554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9555 *) ac_try_echo
=$ac_try;;
9557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9558 (eval "$ac_try") 2>&5
9560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9561 (exit $ac_status); }; } &&
9562 { ac_try
='test -s conftest$ac_exeext'
9563 { (case "(($ac_try" in
9564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9565 *) ac_try_echo=$ac_try;;
9567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9568 (eval "$ac_try") 2>&5
9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571 (exit $ac_status); }; }; then
9572 ac_cv_lib_GLU_gluLookAt=yes
9574 echo "$as_me: failed program was:" >&5
9575 sed 's/^/| /' conftest.$ac_ext >&5
9577 ac_cv_lib_GLU_gluLookAt=no
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 LIBS=$ac_check_lib_save_LIBS
9584 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9585 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9586 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9587 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9588 GLU32FILES='$(GLU32FILES)'
9594 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9595 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9596 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9597 echo $ECHO_N "(cached) $ECHO_C" >&6
9599 ac_check_lib_save_LIBS=$LIBS
9600 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9601 cat >conftest.$ac_ext <<_ACEOF
9604 cat confdefs.h >>conftest.$ac_ext
9605 cat >>conftest.$ac_ext <<_ACEOF
9606 /* end confdefs.h. */
9608 /* Override any GCC internal prototype to avoid an error.
9609 Use char because int might match the return type of a GCC
9610 builtin and then its argument prototype would still apply. */
9614 char glutMainLoop ();
9618 return glutMainLoop ();
9623 rm -f conftest.$ac_objext conftest$ac_exeext
9624 if { (ac_try="$ac_link"
9626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9627 *) ac_try_echo
=$ac_try;;
9629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9630 (eval "$ac_link") 2>conftest.er1
9632 grep -v '^ *+' conftest.er1
>conftest.err
9634 cat conftest.err
>&5
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); } &&
9637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9638 { (case "(($ac_try" in
9639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9640 *) ac_try_echo=$ac_try;;
9642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9643 (eval "$ac_try") 2>&5
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; } &&
9647 { ac_try='test -s conftest$ac_exeext'
9648 { (case "(($ac_try" in
9649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9650 *) ac_try_echo
=$ac_try;;
9652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9653 (eval "$ac_try") 2>&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); }; }; then
9657 ac_cv_lib_glut_glutMainLoop
=yes
9659 echo "$as_me: failed program was:" >&5
9660 sed 's/^/| /' conftest.
$ac_ext >&5
9662 ac_cv_lib_glut_glutMainLoop
=no
9665 rm -f core conftest.err conftest.
$ac_objext \
9666 conftest
$ac_exeext conftest.
$ac_ext
9667 LIBS
=$ac_check_lib_save_LIBS
9669 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9670 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9671 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9672 GLUT_LIBS
="-lglut -lXmu -lXi"
9674 GLUT32FILES
='$(GLUT32FILES)'
9679 wine_cv_opengl_headers_found
="no"
9685 for ac_header
in audio
/audiolib.h
9687 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9688 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9691 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 ac_res
=`eval echo '${'$as_ac_Header'}'`
9695 { echo "$as_me:$LINENO: result: $ac_res" >&5
9696 echo "${ECHO_T}$ac_res" >&6; }
9698 # Is the header compilable?
9699 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9701 cat >conftest.
$ac_ext <<_ACEOF
9704 cat confdefs.h
>>conftest.
$ac_ext
9705 cat >>conftest.
$ac_ext <<_ACEOF
9706 /* end confdefs.h. */
9707 $ac_includes_default
9708 #include <$ac_header>
9710 rm -f conftest.
$ac_objext
9711 if { (ac_try
="$ac_compile"
9713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9714 *) ac_try_echo=$ac_try;;
9716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9717 (eval "$ac_compile") 2>conftest.er1
9719 grep -v '^ *+' conftest.er1 >conftest.err
9721 cat conftest.err >&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); } &&
9724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9725 { (case "(($ac_try" in
9726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9727 *) ac_try_echo
=$ac_try;;
9729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9730 (eval "$ac_try") 2>&5
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); }; } &&
9734 { ac_try
='test -s conftest.$ac_objext'
9735 { (case "(($ac_try" in
9736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9737 *) ac_try_echo=$ac_try;;
9739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9740 (eval "$ac_try") 2>&5
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); }; }; then
9744 ac_header_compiler=yes
9746 echo "$as_me: failed program was:" >&5
9747 sed 's/^/| /' conftest.$ac_ext >&5
9749 ac_header_compiler=no
9752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9753 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9754 echo "${ECHO_T}$ac_header_compiler" >&6; }
9756 # Is the header present?
9757 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9759 cat >conftest.$ac_ext <<_ACEOF
9762 cat confdefs.h >>conftest.$ac_ext
9763 cat >>conftest.$ac_ext <<_ACEOF
9764 /* end confdefs.h. */
9765 #include <$ac_header>
9767 if { (ac_try="$ac_cpp conftest.$ac_ext"
9769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9770 *) ac_try_echo
=$ac_try;;
9772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9775 grep -v '^ *+' conftest.er1
>conftest.err
9777 cat conftest.err
>&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } >/dev
/null
; then
9780 if test -s conftest.err
; then
9781 ac_cpp_err
=$ac_c_preproc_warn_flag
9782 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9789 if test -z "$ac_cpp_err"; then
9790 ac_header_preproc
=yes
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.
$ac_ext >&5
9795 ac_header_preproc
=no
9798 rm -f conftest.err conftest.
$ac_ext
9799 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9800 echo "${ECHO_T}$ac_header_preproc" >&6; }
9802 # So? What about this header?
9803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9809 ac_header_preproc
=yes
9812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9825 ## ------------------------------------ ##
9826 ## Report this to wine-devel@winehq.org ##
9827 ## ------------------------------------ ##
9829 ) |
sed "s/^/$as_me: WARNING: /" >&2
9832 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9834 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9835 echo $ECHO_N "(cached) $ECHO_C" >&6
9837 eval "$as_ac_Header=\$ac_header_preproc"
9839 ac_res
=`eval echo '${'$as_ac_Header'}'`
9840 { echo "$as_me:$LINENO: result: $ac_res" >&5
9841 echo "${ECHO_T}$ac_res" >&6; }
9844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9845 cat >>confdefs.h
<<_ACEOF
9846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9849 for ac_header
in audio
/soundlib.h
9851 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9852 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9854 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9857 cat >conftest.
$ac_ext <<_ACEOF
9860 cat confdefs.h
>>conftest.
$ac_ext
9861 cat >>conftest.
$ac_ext <<_ACEOF
9862 /* end confdefs.h. */
9863 #include <audio/audiolib.h>
9865 #include <$ac_header>
9867 rm -f conftest.
$ac_objext
9868 if { (ac_try
="$ac_compile"
9870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9871 *) ac_try_echo=$ac_try;;
9873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9874 (eval "$ac_compile") 2>conftest.er1
9876 grep -v '^ *+' conftest.er1 >conftest.err
9878 cat conftest.err >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); } &&
9881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9882 { (case "(($ac_try" in
9883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9884 *) ac_try_echo
=$ac_try;;
9886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9887 (eval "$ac_try") 2>&5
9889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 (exit $ac_status); }; } &&
9891 { ac_try
='test -s conftest.$ac_objext'
9892 { (case "(($ac_try" in
9893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9894 *) ac_try_echo=$ac_try;;
9896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9897 (eval "$ac_try") 2>&5
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; }; then
9901 eval "$as_ac_Header=yes"
9903 echo "$as_me: failed program was:" >&5
9904 sed 's/^/| /' conftest.$ac_ext >&5
9906 eval "$as_ac_Header=no"
9909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9911 ac_res=`eval echo '${'$as_ac_Header'}'`
9912 { echo "$as_me:$LINENO: result: $ac_res" >&5
9913 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
9923 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9924 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9925 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9926 echo $ECHO_N "(cached) $ECHO_C" >&6
9928 ac_check_lib_save_LIBS=$LIBS
9929 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9930 cat >conftest.$ac_ext <<_ACEOF
9933 cat confdefs.h >>conftest.$ac_ext
9934 cat >>conftest.$ac_ext <<_ACEOF
9935 /* end confdefs.h. */
9937 /* Override any GCC internal prototype to avoid an error.
9938 Use char because int might match the return type of a GCC
9939 builtin and then its argument prototype would still apply. */
9943 char AuCreateFlow ();
9947 return AuCreateFlow ();
9952 rm -f conftest.$ac_objext conftest$ac_exeext
9953 if { (ac_try="$ac_link"
9955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9956 *) ac_try_echo
=$ac_try;;
9958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9959 (eval "$ac_link") 2>conftest.er1
9961 grep -v '^ *+' conftest.er1
>conftest.err
9963 cat conftest.err
>&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } &&
9966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9967 { (case "(($ac_try" in
9968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9969 *) ac_try_echo=$ac_try;;
9971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9972 (eval "$ac_try") 2>&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; } &&
9976 { ac_try='test -s conftest$ac_exeext'
9977 { (case "(($ac_try" in
9978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9979 *) ac_try_echo
=$ac_try;;
9981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9982 (eval "$ac_try") 2>&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); }; }; then
9986 ac_cv_lib_audio_AuCreateFlow
=yes
9988 echo "$as_me: failed program was:" >&5
9989 sed 's/^/| /' conftest.
$ac_ext >&5
9991 ac_cv_lib_audio_AuCreateFlow
=no
9994 rm -f core conftest.err conftest.
$ac_objext \
9995 conftest
$ac_exeext conftest.
$ac_ext
9996 LIBS
=$ac_check_lib_save_LIBS
9998 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9999 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10000 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10002 cat >>confdefs.h
<<\_ACEOF
10006 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10014 CPPFLAGS
="$ac_save_CPPFLAGS"
10031 if test "$PKG_CONFIG" != "false"
10033 ac_save_CPPFLAGS
="$CPPFLAGS"
10034 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10035 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10036 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
10038 for ac_header
in libxml
/parser.h
10040 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10041 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10042 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10044 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10045 echo $ECHO_N "(cached) $ECHO_C" >&6
10047 ac_res
=`eval echo '${'$as_ac_Header'}'`
10048 { echo "$as_me:$LINENO: result: $ac_res" >&5
10049 echo "${ECHO_T}$ac_res" >&6; }
10051 # Is the header compilable?
10052 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10054 cat >conftest.
$ac_ext <<_ACEOF
10057 cat confdefs.h
>>conftest.
$ac_ext
10058 cat >>conftest.
$ac_ext <<_ACEOF
10059 /* end confdefs.h. */
10060 $ac_includes_default
10061 #include <$ac_header>
10063 rm -f conftest.
$ac_objext
10064 if { (ac_try
="$ac_compile"
10065 case "(($ac_try" in
10066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10067 *) ac_try_echo=$ac_try;;
10069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10070 (eval "$ac_compile") 2>conftest.er1
10072 grep -v '^ *+' conftest.er1 >conftest.err
10074 cat conftest.err >&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); } &&
10077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10078 { (case "(($ac_try" in
10079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10080 *) ac_try_echo
=$ac_try;;
10082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10083 (eval "$ac_try") 2>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; } &&
10087 { ac_try
='test -s conftest.$ac_objext'
10088 { (case "(($ac_try" in
10089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10090 *) ac_try_echo=$ac_try;;
10092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10093 (eval "$ac_try") 2>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }; }; then
10097 ac_header_compiler=yes
10099 echo "$as_me: failed program was:" >&5
10100 sed 's/^/| /' conftest.$ac_ext >&5
10102 ac_header_compiler=no
10105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10106 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10107 echo "${ECHO_T}$ac_header_compiler" >&6; }
10109 # Is the header present?
10110 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10112 cat >conftest.$ac_ext <<_ACEOF
10115 cat confdefs.h >>conftest.$ac_ext
10116 cat >>conftest.$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10118 #include <$ac_header>
10120 if { (ac_try="$ac_cpp conftest.$ac_ext"
10121 case "(($ac_try" in
10122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10123 *) ac_try_echo
=$ac_try;;
10125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10128 grep -v '^ *+' conftest.er1
>conftest.err
10130 cat conftest.err
>&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); } >/dev
/null
; then
10133 if test -s conftest.err
; then
10134 ac_cpp_err
=$ac_c_preproc_warn_flag
10135 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10142 if test -z "$ac_cpp_err"; then
10143 ac_header_preproc
=yes
10145 echo "$as_me: failed program was:" >&5
10146 sed 's/^/| /' conftest.
$ac_ext >&5
10148 ac_header_preproc
=no
10151 rm -f conftest.err conftest.
$ac_ext
10152 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10153 echo "${ECHO_T}$ac_header_preproc" >&6; }
10155 # So? What about this header?
10156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10161 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10162 ac_header_preproc
=yes
10165 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10167 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10168 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10169 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10170 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10171 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10172 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10174 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10175 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10176 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10178 ## ------------------------------------ ##
10179 ## Report this to wine-devel@winehq.org ##
10180 ## ------------------------------------ ##
10182 ) |
sed "s/^/$as_me: WARNING: /" >&2
10185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10187 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10190 eval "$as_ac_Header=\$ac_header_preproc"
10192 ac_res
=`eval echo '${'$as_ac_Header'}'`
10193 { echo "$as_me:$LINENO: result: $ac_res" >&5
10194 echo "${ECHO_T}$ac_res" >&6; }
10197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10198 cat >>confdefs.h
<<_ACEOF
10199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10201 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10202 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10203 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6
10206 ac_check_lib_save_LIBS
=$LIBS
10207 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10208 cat >conftest.
$ac_ext <<_ACEOF
10211 cat confdefs.h
>>conftest.
$ac_ext
10212 cat >>conftest.
$ac_ext <<_ACEOF
10213 /* end confdefs.h. */
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10221 char xmlParseMemory ();
10225 return xmlParseMemory ();
10230 rm -f conftest.
$ac_objext conftest
$ac_exeext
10231 if { (ac_try
="$ac_link"
10232 case "(($ac_try" in
10233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10234 *) ac_try_echo=$ac_try;;
10236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10237 (eval "$ac_link") 2>conftest.er1
10239 grep -v '^ *+' conftest.er1 >conftest.err
10241 cat conftest.err >&5
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 (exit $ac_status); } &&
10244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10245 { (case "(($ac_try" in
10246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10247 *) ac_try_echo
=$ac_try;;
10249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10250 (eval "$ac_try") 2>&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); }; } &&
10254 { ac_try
='test -s conftest$ac_exeext'
10255 { (case "(($ac_try" in
10256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10257 *) ac_try_echo=$ac_try;;
10259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10260 (eval "$ac_try") 2>&5
10262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10263 (exit $ac_status); }; }; then
10264 ac_cv_lib_xml2_xmlParseMemory=yes
10266 echo "$as_me: failed program was:" >&5
10267 sed 's/^/| /' conftest.$ac_ext >&5
10269 ac_cv_lib_xml2_xmlParseMemory=no
10272 rm -f core conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 LIBS=$ac_check_lib_save_LIBS
10276 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10277 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10278 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10280 cat >>confdefs.h <<\_ACEOF
10281 #define HAVE_LIBXML2 1
10284 XML2LIBS="$ac_xml_libs"
10285 XML2INCL="$ac_xml_cflags"
10288 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10289 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10290 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 ac_check_lib_save_LIBS=$LIBS
10294 LIBS="-lxml2 $ac_xml_libs $LIBS"
10295 cat >conftest.$ac_ext <<_ACEOF
10298 cat confdefs.h >>conftest.$ac_ext
10299 cat >>conftest.$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10302 /* Override any GCC internal prototype to avoid an error.
10303 Use char because int might match the return type of a GCC
10304 builtin and then its argument prototype would still apply. */
10308 char xmlReadMemory ();
10312 return xmlReadMemory ();
10317 rm -f conftest.$ac_objext conftest$ac_exeext
10318 if { (ac_try="$ac_link"
10319 case "(($ac_try" in
10320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10321 *) ac_try_echo
=$ac_try;;
10323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10324 (eval "$ac_link") 2>conftest.er1
10326 grep -v '^ *+' conftest.er1
>conftest.err
10328 cat conftest.err
>&5
10329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10330 (exit $ac_status); } &&
10331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10332 { (case "(($ac_try" in
10333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10334 *) ac_try_echo=$ac_try;;
10336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10337 (eval "$ac_try") 2>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; } &&
10341 { ac_try='test -s conftest$ac_exeext'
10342 { (case "(($ac_try" in
10343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10344 *) ac_try_echo
=$ac_try;;
10346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10347 (eval "$ac_try") 2>&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; }; then
10351 ac_cv_lib_xml2_xmlReadMemory
=yes
10353 echo "$as_me: failed program was:" >&5
10354 sed 's/^/| /' conftest.
$ac_ext >&5
10356 ac_cv_lib_xml2_xmlReadMemory
=no
10359 rm -f core conftest.err conftest.
$ac_objext \
10360 conftest
$ac_exeext conftest.
$ac_ext
10361 LIBS
=$ac_check_lib_save_LIBS
10363 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10364 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10365 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10367 cat >>confdefs.h
<<\_ACEOF
10368 #define HAVE_XMLREADMEMORY 1
10378 CPPFLAGS
="$ac_save_CPPFLAGS"
10379 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10380 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10381 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
10384 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10386 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10387 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10389 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10390 echo $ECHO_N "(cached) $ECHO_C" >&6
10392 cat >conftest.
$ac_ext <<_ACEOF
10395 cat confdefs.h
>>conftest.
$ac_ext
10396 cat >>conftest.
$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10398 #ifdef HAVE_LIBXSLT_PATTERN_H
10399 # include <libxslt/pattern.h>
10402 #include <$ac_header>
10404 rm -f conftest.
$ac_objext
10405 if { (ac_try
="$ac_compile"
10406 case "(($ac_try" in
10407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10408 *) ac_try_echo=$ac_try;;
10410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10411 (eval "$ac_compile") 2>conftest.er1
10413 grep -v '^ *+' conftest.er1 >conftest.err
10415 cat conftest.err >&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); } &&
10418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10419 { (case "(($ac_try" in
10420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10421 *) ac_try_echo
=$ac_try;;
10423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10424 (eval "$ac_try") 2>&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); }; } &&
10428 { ac_try
='test -s conftest.$ac_objext'
10429 { (case "(($ac_try" in
10430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10431 *) ac_try_echo=$ac_try;;
10433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10434 (eval "$ac_try") 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; }; then
10438 eval "$as_ac_Header=yes"
10440 echo "$as_me: failed program was:" >&5
10441 sed 's/^/| /' conftest.$ac_ext >&5
10443 eval "$as_ac_Header=no"
10446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10448 ac_res=`eval echo '${'$as_ac_Header'}'`
10449 { echo "$as_me:$LINENO: result: $ac_res" >&5
10450 echo "${ECHO_T}$ac_res" >&6; }
10451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10452 cat >>confdefs.h <<_ACEOF
10453 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10455 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10456 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10457 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10458 echo $ECHO_N "(cached) $ECHO_C" >&6
10460 ac_check_lib_save_LIBS=$LIBS
10461 LIBS="-lxslt $ac_xslt_libs $LIBS"
10462 cat >conftest.$ac_ext <<_ACEOF
10465 cat confdefs.h >>conftest.$ac_ext
10466 cat >>conftest.$ac_ext <<_ACEOF
10467 /* end confdefs.h. */
10469 /* Override any GCC internal prototype to avoid an error.
10470 Use char because int might match the return type of a GCC
10471 builtin and then its argument prototype would still apply. */
10475 char xsltCompilePattern ();
10479 return xsltCompilePattern ();
10484 rm -f conftest.$ac_objext conftest$ac_exeext
10485 if { (ac_try="$ac_link"
10486 case "(($ac_try" in
10487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10488 *) ac_try_echo
=$ac_try;;
10490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10491 (eval "$ac_link") 2>conftest.er1
10493 grep -v '^ *+' conftest.er1
>conftest.err
10495 cat conftest.err
>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } &&
10498 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10508 { ac_try='test -s conftest$ac_exeext'
10509 { (case "(($ac_try" in
10510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10511 *) ac_try_echo
=$ac_try;;
10513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10514 (eval "$ac_try") 2>&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); }; }; then
10518 ac_cv_lib_xslt_xsltCompilePattern
=yes
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.
$ac_ext >&5
10523 ac_cv_lib_xslt_xsltCompilePattern
=no
10526 rm -f core conftest.err conftest.
$ac_objext \
10527 conftest
$ac_exeext conftest.
$ac_ext
10528 LIBS
=$ac_check_lib_save_LIBS
10530 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10531 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10532 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10534 cat >>confdefs.h
<<\_ACEOF
10535 #define HAVE_LIBXSLT 1
10538 XSLTLIBS
="$ac_xslt_libs"
10539 XSLTINCL
="$ac_xslt_cflags"
10547 CPPFLAGS
="$ac_save_CPPFLAGS"
10552 if test "$PKG_CONFIG" != "false"
10554 ac_save_CPPFLAGS
="$CPPFLAGS"
10555 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
10556 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10557 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
10560 for ac_header
in dbus
/dbus.h hal
/libhal.h
10562 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10563 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10566 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10567 echo $ECHO_N "(cached) $ECHO_C" >&6
10569 ac_res
=`eval echo '${'$as_ac_Header'}'`
10570 { echo "$as_me:$LINENO: result: $ac_res" >&5
10571 echo "${ECHO_T}$ac_res" >&6; }
10573 # Is the header compilable?
10574 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10576 cat >conftest.
$ac_ext <<_ACEOF
10579 cat confdefs.h
>>conftest.
$ac_ext
10580 cat >>conftest.
$ac_ext <<_ACEOF
10581 /* end confdefs.h. */
10582 $ac_includes_default
10583 #include <$ac_header>
10585 rm -f conftest.
$ac_objext
10586 if { (ac_try
="$ac_compile"
10587 case "(($ac_try" in
10588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10589 *) ac_try_echo=$ac_try;;
10591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10592 (eval "$ac_compile") 2>conftest.er1
10594 grep -v '^ *+' conftest.er1 >conftest.err
10596 cat conftest.err >&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); } &&
10599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10600 { (case "(($ac_try" in
10601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10602 *) ac_try_echo
=$ac_try;;
10604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10605 (eval "$ac_try") 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; } &&
10609 { ac_try
='test -s conftest.$ac_objext'
10610 { (case "(($ac_try" in
10611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10612 *) ac_try_echo=$ac_try;;
10614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10615 (eval "$ac_try") 2>&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); }; }; then
10619 ac_header_compiler=yes
10621 echo "$as_me: failed program was:" >&5
10622 sed 's/^/| /' conftest.$ac_ext >&5
10624 ac_header_compiler=no
10627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10628 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10629 echo "${ECHO_T}$ac_header_compiler" >&6; }
10631 # Is the header present?
10632 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10634 cat >conftest.$ac_ext <<_ACEOF
10637 cat confdefs.h >>conftest.$ac_ext
10638 cat >>conftest.$ac_ext <<_ACEOF
10639 /* end confdefs.h. */
10640 #include <$ac_header>
10642 if { (ac_try="$ac_cpp conftest.$ac_ext"
10643 case "(($ac_try" in
10644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10645 *) ac_try_echo
=$ac_try;;
10647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10650 grep -v '^ *+' conftest.er1
>conftest.err
10652 cat conftest.err
>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } >/dev
/null
; then
10655 if test -s conftest.err
; then
10656 ac_cpp_err
=$ac_c_preproc_warn_flag
10657 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10664 if test -z "$ac_cpp_err"; then
10665 ac_header_preproc
=yes
10667 echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.
$ac_ext >&5
10670 ac_header_preproc
=no
10673 rm -f conftest.err conftest.
$ac_ext
10674 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10675 echo "${ECHO_T}$ac_header_preproc" >&6; }
10677 # So? What about this header?
10678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10684 ac_header_preproc
=yes
10687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10691 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10692 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10693 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10694 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10698 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10700 ## ------------------------------------ ##
10701 ## Report this to wine-devel@winehq.org ##
10702 ## ------------------------------------ ##
10704 ) |
sed "s/^/$as_me: WARNING: /" >&2
10707 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10709 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10710 echo $ECHO_N "(cached) $ECHO_C" >&6
10712 eval "$as_ac_Header=\$ac_header_preproc"
10714 ac_res
=`eval echo '${'$as_ac_Header'}'`
10715 { echo "$as_me:$LINENO: result: $ac_res" >&5
10716 echo "${ECHO_T}$ac_res" >&6; }
10719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10720 cat >>confdefs.h
<<_ACEOF
10721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10728 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10730 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10731 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10732 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10733 echo $ECHO_N "(cached) $ECHO_C" >&6
10735 ac_check_lib_save_LIBS
=$LIBS
10737 cat >conftest.
$ac_ext <<_ACEOF
10740 cat confdefs.h
>>conftest.
$ac_ext
10741 cat >>conftest.
$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10744 /* Override any GCC internal prototype to avoid an error.
10745 Use char because int might match the return type of a GCC
10746 builtin and then its argument prototype would still apply. */
10750 char libhal_ctx_new ();
10754 return libhal_ctx_new ();
10759 rm -f conftest.
$ac_objext conftest
$ac_exeext
10760 if { (ac_try
="$ac_link"
10761 case "(($ac_try" in
10762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10763 *) ac_try_echo=$ac_try;;
10765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10766 (eval "$ac_link") 2>conftest.er1
10768 grep -v '^ *+' conftest.er1 >conftest.err
10770 cat conftest.err >&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } &&
10773 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10774 { (case "(($ac_try" in
10775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10776 *) ac_try_echo
=$ac_try;;
10778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10779 (eval "$ac_try") 2>&5
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); }; } &&
10783 { ac_try
='test -s conftest$ac_exeext'
10784 { (case "(($ac_try" in
10785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10786 *) ac_try_echo=$ac_try;;
10788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10789 (eval "$ac_try") 2>&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); }; }; then
10793 ac_cv_lib_hal_libhal_ctx_new=yes
10795 echo "$as_me: failed program was:" >&5
10796 sed 's/^/| /' conftest.$ac_ext >&5
10798 ac_cv_lib_hal_libhal_ctx_new=no
10801 rm -f core conftest.err conftest.$ac_objext \
10802 conftest$ac_exeext conftest.$ac_ext
10803 LIBS=$ac_check_lib_save_LIBS
10805 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10806 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10807 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10808 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10809 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10810 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10811 echo $ECHO_N "(cached) $ECHO_C" >&6
10813 ac_check_lib_save_LIBS=$LIBS
10814 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10815 cat >conftest.$ac_ext <<_ACEOF
10818 cat confdefs.h >>conftest.$ac_ext
10819 cat >>conftest.$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10822 /* Override any GCC internal prototype to avoid an error.
10823 Use char because int might match the return type of a GCC
10824 builtin and then its argument prototype would still apply. */
10828 char dbus_connection_close ();
10832 return dbus_connection_close ();
10837 rm -f conftest.$ac_objext conftest$ac_exeext
10838 if { (ac_try="$ac_link"
10839 case "(($ac_try" in
10840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10841 *) ac_try_echo
=$ac_try;;
10843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10844 (eval "$ac_link") 2>conftest.er1
10846 grep -v '^ *+' conftest.er1
>conftest.err
10848 cat conftest.err
>&5
10849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 (exit $ac_status); } &&
10851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10852 { (case "(($ac_try" in
10853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10854 *) ac_try_echo=$ac_try;;
10856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10857 (eval "$ac_try") 2>&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }; } &&
10861 { ac_try='test -s conftest$ac_exeext'
10862 { (case "(($ac_try" in
10863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10864 *) ac_try_echo
=$ac_try;;
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_try") 2>&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); }; }; then
10871 ac_cv_lib_dbus_1_dbus_connection_close
=yes
10873 echo "$as_me: failed program was:" >&5
10874 sed 's/^/| /' conftest.
$ac_ext >&5
10876 ac_cv_lib_dbus_1_dbus_connection_close
=no
10879 rm -f core conftest.err conftest.
$ac_objext \
10880 conftest
$ac_exeext conftest.
$ac_ext
10881 LIBS
=$ac_check_lib_save_LIBS
10883 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10884 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10885 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10887 cat >>confdefs.h
<<\_ACEOF
10888 #define HAVE_LIBHAL 1
10891 HALINCL
="$ac_hal_cflags"
10897 CPPFLAGS
="$ac_save_CPPFLAGS"
10901 if test "x$with_curses" != "xno"
10903 if test "$ac_cv_header_ncurses_h" = "yes"
10905 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10906 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10907 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10908 echo $ECHO_N "(cached) $ECHO_C" >&6
10910 ac_check_lib_save_LIBS
=$LIBS
10911 LIBS
="-lncurses $LIBS"
10912 cat >conftest.
$ac_ext <<_ACEOF
10915 cat confdefs.h
>>conftest.
$ac_ext
10916 cat >>conftest.
$ac_ext <<_ACEOF
10917 /* end confdefs.h. */
10919 /* Override any GCC internal prototype to avoid an error.
10920 Use char because int might match the return type of a GCC
10921 builtin and then its argument prototype would still apply. */
10934 rm -f conftest.
$ac_objext conftest
$ac_exeext
10935 if { (ac_try
="$ac_link"
10936 case "(($ac_try" in
10937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10938 *) ac_try_echo=$ac_try;;
10940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10941 (eval "$ac_link") 2>conftest.er1
10943 grep -v '^ *+' conftest.er1 >conftest.err
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } &&
10948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10949 { (case "(($ac_try" in
10950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10951 *) ac_try_echo
=$ac_try;;
10953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10954 (eval "$ac_try") 2>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; } &&
10958 { ac_try
='test -s conftest$ac_exeext'
10959 { (case "(($ac_try" in
10960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10961 *) ac_try_echo=$ac_try;;
10963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10964 (eval "$ac_try") 2>&5
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 ac_cv_lib_ncurses_waddch=yes
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10973 ac_cv_lib_ncurses_waddch=no
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LIBS=$ac_check_lib_save_LIBS
10980 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10981 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10982 if test $ac_cv_lib_ncurses_waddch = yes; then
10984 cat >>confdefs.h <<\_ACEOF
10985 #define HAVE_LIBNCURSES 1
10988 CURSESLIBS="-lncurses"
10991 elif test "$ac_cv_header_curses_h" = "yes"
10993 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
10994 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
10995 if test "${ac_cv_lib_curses_waddch+set}" = set; then
10996 echo $ECHO_N "(cached) $ECHO_C" >&6
10998 ac_check_lib_save_LIBS=$LIBS
10999 LIBS="-lcurses $LIBS"
11000 cat >conftest.$ac_ext <<_ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11022 rm -f conftest.$ac_objext conftest$ac_exeext
11023 if { (ac_try="$ac_link"
11024 case "(($ac_try" in
11025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11026 *) ac_try_echo
=$ac_try;;
11028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11029 (eval "$ac_link") 2>conftest.er1
11031 grep -v '^ *+' conftest.er1
>conftest.err
11033 cat conftest.err
>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } &&
11036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11037 { (case "(($ac_try" in
11038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11039 *) ac_try_echo=$ac_try;;
11041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11042 (eval "$ac_try") 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; } &&
11046 { ac_try='test -s conftest$ac_exeext'
11047 { (case "(($ac_try" in
11048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11049 *) ac_try_echo
=$ac_try;;
11051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11052 (eval "$ac_try") 2>&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); }; }; then
11056 ac_cv_lib_curses_waddch
=yes
11058 echo "$as_me: failed program was:" >&5
11059 sed 's/^/| /' conftest.
$ac_ext >&5
11061 ac_cv_lib_curses_waddch
=no
11064 rm -f core conftest.err conftest.
$ac_objext \
11065 conftest
$ac_exeext conftest.
$ac_ext
11066 LIBS
=$ac_check_lib_save_LIBS
11068 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11069 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11070 if test $ac_cv_lib_curses_waddch = yes; then
11072 cat >>confdefs.h
<<\_ACEOF
11073 #define HAVE_LIBCURSES 1
11076 CURSESLIBS
="-lcurses"
11080 ac_save_LIBS
="$LIBS"
11081 LIBS
="$LIBS $CURSESLIBS"
11083 for ac_func
in mousemask
11085 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11088 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11089 echo $ECHO_N "(cached) $ECHO_C" >&6
11091 cat >conftest.
$ac_ext <<_ACEOF
11094 cat confdefs.h
>>conftest.
$ac_ext
11095 cat >>conftest.
$ac_ext <<_ACEOF
11096 /* end confdefs.h. */
11097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11099 #define $ac_func innocuous_$ac_func
11101 /* System header to define __stub macros and hopefully few prototypes,
11102 which can conflict with char $ac_func (); below.
11103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11104 <limits.h> exists even on freestanding compilers. */
11107 # include <limits.h>
11109 # include <assert.h>
11114 /* Override any GCC internal prototype to avoid an error.
11115 Use char because int might match the return type of a GCC
11116 builtin and then its argument prototype would still apply. */
11121 /* The GNU C library defines this for functions which it implements
11122 to always fail with ENOSYS. Some functions are actually named
11123 something starting with __ and the normal name is an alias. */
11124 #if defined __stub_$ac_func || defined __stub___$ac_func
11131 return $ac_func ();
11136 rm -f conftest.
$ac_objext conftest
$ac_exeext
11137 if { (ac_try
="$ac_link"
11138 case "(($ac_try" in
11139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11140 *) ac_try_echo=$ac_try;;
11142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11143 (eval "$ac_link") 2>conftest.er1
11145 grep -v '^ *+' conftest.er1 >conftest.err
11147 cat conftest.err >&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); } &&
11150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11151 { (case "(($ac_try" in
11152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11153 *) ac_try_echo
=$ac_try;;
11155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11156 (eval "$ac_try") 2>&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); }; } &&
11160 { ac_try
='test -s conftest$ac_exeext'
11161 { (case "(($ac_try" in
11162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11163 *) ac_try_echo=$ac_try;;
11165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11166 (eval "$ac_try") 2>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; }; then
11170 eval "$as_ac_var=yes"
11172 echo "$as_me: failed program was:" >&5
11173 sed 's/^/| /' conftest.$ac_ext >&5
11175 eval "$as_ac_var=no"
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11181 ac_res=`eval echo '${'$as_ac_var'}'`
11182 { echo "$as_me:$LINENO: result: $ac_res" >&5
11183 echo "${ECHO_T}$ac_res" >&6; }
11184 if test `eval echo '${'$as_ac_var'}'` = yes; then
11185 cat >>confdefs.h <<_ACEOF
11186 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11192 LIBS="$ac_save_LIBS"
11196 # Extract the first word of "sane-config", so it can be a program name with args.
11197 set dummy sane-config; ac_word=$2
11198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11200 if test "${ac_cv_prog_sane_devel+set}" = set; then
11201 echo $ECHO_N "(cached) $ECHO_C" >&6
11203 if test -n "$sane_devel"; then
11204 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11207 for as_dir in $PATH
11210 test -z "$as_dir" && as_dir=.
11211 for ac_exec_ext in '' $ac_executable_extensions; do
11212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11213 ac_cv_prog_sane_devel="sane-config"
11214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11221 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11224 sane_devel=$ac_cv_prog_sane_devel
11225 if test -n "$sane_devel"; then
11226 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11227 echo "${ECHO_T}$sane_devel" >&6; }
11229 { echo "$as_me:$LINENO: result: no" >&5
11230 echo "${ECHO_T}no" >&6; }
11238 if test "$sane_devel" != "no"
11240 SANELIBS="`$sane_devel --libs`"
11241 SANEINCL="`$sane_devel --cflags`"
11242 ac_save_CPPFLAGS="$CPPFLAGS"
11243 ac_save_LIBS="$LIBS"
11244 CPPFLAGS="$CPPFLAGS $SANEINCL"
11245 LIBS="$LIBS $SANELIBS"
11246 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11247 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11248 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11249 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11250 echo $ECHO_N "(cached) $ECHO_C" >&6
11252 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11253 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11255 # Is the header compilable?
11256 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11257 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11258 cat >conftest.$ac_ext <<_ACEOF
11261 cat confdefs.h >>conftest.$ac_ext
11262 cat >>conftest.$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11264 $ac_includes_default
11265 #include <sane/sane.h>
11267 rm -f conftest.$ac_objext
11268 if { (ac_try="$ac_compile"
11269 case "(($ac_try" in
11270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11271 *) ac_try_echo
=$ac_try;;
11273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11274 (eval "$ac_compile") 2>conftest.er1
11276 grep -v '^ *+' conftest.er1
>conftest.err
11278 cat conftest.err
>&5
11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); } &&
11281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11282 { (case "(($ac_try" in
11283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11284 *) ac_try_echo=$ac_try;;
11286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11287 (eval "$ac_try") 2>&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); }; } &&
11291 { ac_try='test -s conftest.$ac_objext'
11292 { (case "(($ac_try" in
11293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11294 *) ac_try_echo
=$ac_try;;
11296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11297 (eval "$ac_try") 2>&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11301 ac_header_compiler
=yes
11303 echo "$as_me: failed program was:" >&5
11304 sed 's/^/| /' conftest.
$ac_ext >&5
11306 ac_header_compiler
=no
11309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11310 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11311 echo "${ECHO_T}$ac_header_compiler" >&6; }
11313 # Is the header present?
11314 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11315 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11316 cat >conftest.
$ac_ext <<_ACEOF
11319 cat confdefs.h
>>conftest.
$ac_ext
11320 cat >>conftest.
$ac_ext <<_ACEOF
11321 /* end confdefs.h. */
11322 #include <sane/sane.h>
11324 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11325 case "(($ac_try" in
11326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11327 *) ac_try_echo=$ac_try;;
11329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11330 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11332 grep -v '^ *+' conftest.er1 >conftest.err
11334 cat conftest.err >&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } >/dev/null; then
11337 if test -s conftest.err; then
11338 ac_cpp_err=$ac_c_preproc_warn_flag
11339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11346 if test -z "$ac_cpp_err"; then
11347 ac_header_preproc=yes
11349 echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.$ac_ext >&5
11352 ac_header_preproc=no
11355 rm -f conftest.err conftest.$ac_ext
11356 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11357 echo "${ECHO_T}$ac_header_preproc" >&6; }
11359 # So? What about this header?
11360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11362 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11363 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11364 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11365 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11366 ac_header_preproc=yes
11369 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11370 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11371 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11372 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11373 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11374 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11375 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11376 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11377 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11378 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11379 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11380 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11382 ## ------------------------------------ ##
11383 ## Report this to wine-devel@winehq.org ##
11384 ## ------------------------------------ ##
11386 ) | sed "s/^/$as_me: WARNING: /" >&2
11389 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11390 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11391 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11394 ac_cv_header_sane_sane_h=$ac_header_preproc
11396 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11397 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11400 if test $ac_cv_header_sane_sane_h = yes; then
11401 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11402 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11403 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11406 ac_check_lib_save_LIBS=$LIBS
11407 LIBS="-lsane $LIBS"
11408 cat >conftest.$ac_ext <<_ACEOF
11411 cat confdefs.h >>conftest.$ac_ext
11412 cat >>conftest.$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11425 return sane_open ();
11430 rm -f conftest.$ac_objext conftest$ac_exeext
11431 if { (ac_try="$ac_link"
11432 case "(($ac_try" in
11433 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11434 *) ac_try_echo
=$ac_try;;
11436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11437 (eval "$ac_link") 2>conftest.er1
11439 grep -v '^ *+' conftest.er1
>conftest.err
11441 cat conftest.err
>&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } &&
11444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11445 { (case "(($ac_try" in
11446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450 (eval "$ac_try") 2>&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); }; } &&
11454 { ac_try='test -s conftest$ac_exeext'
11455 { (case "(($ac_try" in
11456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11457 *) ac_try_echo
=$ac_try;;
11459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11460 (eval "$ac_try") 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11464 ac_cv_lib_sane_sane_open
=yes
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.
$ac_ext >&5
11469 ac_cv_lib_sane_sane_open
=no
11472 rm -f core conftest.err conftest.
$ac_objext \
11473 conftest
$ac_exeext conftest.
$ac_ext
11474 LIBS
=$ac_check_lib_save_LIBS
11476 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11477 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11478 if test $ac_cv_lib_sane_sane_open = yes; then
11480 cat >>confdefs.h
<<\_ACEOF
11481 #define HAVE_SANE 1
11495 LIBS
="$ac_save_LIBS"
11496 CPPFLAGS
="$ac_save_CPPFLAGS"
11499 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11500 set dummy gphoto2-config
; ac_word
=$2
11501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11503 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11504 echo $ECHO_N "(cached) $ECHO_C" >&6
11506 if test -n "$gphoto2_devel"; then
11507 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
11509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11510 for as_dir
in $PATH
11513 test -z "$as_dir" && as_dir
=.
11514 for ac_exec_ext
in '' $ac_executable_extensions; do
11515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11516 ac_cv_prog_gphoto2_devel
="gphoto2-config"
11517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11524 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
11527 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
11528 if test -n "$gphoto2_devel"; then
11529 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11530 echo "${ECHO_T}$gphoto2_devel" >&6; }
11532 { echo "$as_me:$LINENO: result: no" >&5
11533 echo "${ECHO_T}no" >&6; }
11537 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11538 set dummy gphoto2-port-config
; ac_word
=$2
11539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11541 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11542 echo $ECHO_N "(cached) $ECHO_C" >&6
11544 if test -n "$gphoto2port_devel"; then
11545 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
11547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11548 for as_dir
in $PATH
11551 test -z "$as_dir" && as_dir
=.
11552 for ac_exec_ext
in '' $ac_executable_extensions; do
11553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11554 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
11555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11562 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
11565 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
11566 if test -n "$gphoto2port_devel"; then
11567 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11568 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11570 { echo "$as_me:$LINENO: result: no" >&5
11571 echo "${ECHO_T}no" >&6; }
11579 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11581 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11583 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11586 -L/usr
/lib|
-L/usr
/lib64
) ;;
11587 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
11590 ac_save_CPPFLAGS
="$CPPFLAGS"
11591 ac_save_LIBS
="$LIBS"
11592 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
11593 LIBS
="$LIBS $GPHOTO2LIBS"
11594 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11595 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11596 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11597 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11601 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11603 # Is the header compilable?
11604 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11605 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11606 cat >conftest.
$ac_ext <<_ACEOF
11609 cat confdefs.h
>>conftest.
$ac_ext
11610 cat >>conftest.
$ac_ext <<_ACEOF
11611 /* end confdefs.h. */
11612 $ac_includes_default
11613 #include <gphoto2-camera.h>
11615 rm -f conftest.
$ac_objext
11616 if { (ac_try
="$ac_compile"
11617 case "(($ac_try" in
11618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11619 *) ac_try_echo=$ac_try;;
11621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11622 (eval "$ac_compile") 2>conftest.er1
11624 grep -v '^ *+' conftest.er1 >conftest.err
11626 cat conftest.err >&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } &&
11629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11630 { (case "(($ac_try" in
11631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11632 *) ac_try_echo
=$ac_try;;
11634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11635 (eval "$ac_try") 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; } &&
11639 { ac_try
='test -s conftest.$ac_objext'
11640 { (case "(($ac_try" in
11641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11642 *) ac_try_echo=$ac_try;;
11644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11645 (eval "$ac_try") 2>&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); }; }; then
11649 ac_header_compiler=yes
11651 echo "$as_me: failed program was:" >&5
11652 sed 's/^/| /' conftest.$ac_ext >&5
11654 ac_header_compiler=no
11657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11658 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11659 echo "${ECHO_T}$ac_header_compiler" >&6; }
11661 # Is the header present?
11662 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11663 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11664 cat >conftest.$ac_ext <<_ACEOF
11667 cat confdefs.h >>conftest.$ac_ext
11668 cat >>conftest.$ac_ext <<_ACEOF
11669 /* end confdefs.h. */
11670 #include <gphoto2-camera.h>
11672 if { (ac_try="$ac_cpp conftest.$ac_ext"
11673 case "(($ac_try" in
11674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11675 *) ac_try_echo
=$ac_try;;
11677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11680 grep -v '^ *+' conftest.er1
>conftest.err
11682 cat conftest.err
>&5
11683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11684 (exit $ac_status); } >/dev
/null
; then
11685 if test -s conftest.err
; then
11686 ac_cpp_err
=$ac_c_preproc_warn_flag
11687 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11694 if test -z "$ac_cpp_err"; then
11695 ac_header_preproc
=yes
11697 echo "$as_me: failed program was:" >&5
11698 sed 's/^/| /' conftest.
$ac_ext >&5
11700 ac_header_preproc
=no
11703 rm -f conftest.err conftest.
$ac_ext
11704 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11705 echo "${ECHO_T}$ac_header_preproc" >&6; }
11707 # So? What about this header?
11708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11710 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11711 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11712 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11713 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11714 ac_header_preproc
=yes
11717 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11718 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11719 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11720 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11721 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11722 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11723 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11724 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11725 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11726 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11727 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11728 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11730 ## ------------------------------------ ##
11731 ## Report this to wine-devel@winehq.org ##
11732 ## ------------------------------------ ##
11734 ) |
sed "s/^/$as_me: WARNING: /" >&2
11737 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11738 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11739 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11740 echo $ECHO_N "(cached) $ECHO_C" >&6
11742 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
11744 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11745 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11748 if test $ac_cv_header_gphoto2_camera_h = yes; then
11749 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11750 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11751 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11754 ac_check_lib_save_LIBS
=$LIBS
11755 LIBS
="-lgphoto2 $LIBS"
11756 cat >conftest.
$ac_ext <<_ACEOF
11759 cat confdefs.h
>>conftest.
$ac_ext
11760 cat >>conftest.
$ac_ext <<_ACEOF
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11769 char gp_camera_new ();
11773 return gp_camera_new ();
11778 rm -f conftest.
$ac_objext conftest
$ac_exeext
11779 if { (ac_try
="$ac_link"
11780 case "(($ac_try" in
11781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11782 *) ac_try_echo=$ac_try;;
11784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11785 (eval "$ac_link") 2>conftest.er1
11787 grep -v '^ *+' conftest.er1 >conftest.err
11789 cat conftest.err >&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); } &&
11792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11793 { (case "(($ac_try" in
11794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11795 *) ac_try_echo
=$ac_try;;
11797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11798 (eval "$ac_try") 2>&5
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; } &&
11802 { ac_try
='test -s conftest$ac_exeext'
11803 { (case "(($ac_try" in
11804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11805 *) ac_try_echo=$ac_try;;
11807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11808 (eval "$ac_try") 2>&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); }; }; then
11812 ac_cv_lib_gphoto2_gp_camera_new=yes
11814 echo "$as_me: failed program was:" >&5
11815 sed 's/^/| /' conftest.$ac_ext >&5
11817 ac_cv_lib_gphoto2_gp_camera_new=no
11820 rm -f core conftest.err conftest.$ac_objext \
11821 conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_lib_save_LIBS
11824 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11825 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11826 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11828 cat >>confdefs.h <<\_ACEOF
11829 #define HAVE_GPHOTO2 1
11843 LIBS="$ac_save_LIBS"
11844 CPPFLAGS="$ac_save_CPPFLAGS"
11847 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11850 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11852 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11853 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11854 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11855 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11856 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11857 cat >conftest.$ac_ext <<_ACEOF
11860 cat confdefs.h >>conftest.$ac_ext
11861 cat >>conftest.$ac_ext <<_ACEOF
11862 /* end confdefs.h. */
11863 #include <unicode/ubidi.h>
11872 rm -f conftest.$ac_objext conftest$ac_exeext
11873 if { (ac_try="$ac_link"
11874 case "(($ac_try" in
11875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11876 *) ac_try_echo
=$ac_try;;
11878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11879 (eval "$ac_link") 2>conftest.er1
11881 grep -v '^ *+' conftest.er1
>conftest.err
11883 cat conftest.err
>&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); } &&
11886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11887 { (case "(($ac_try" in
11888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11889 *) ac_try_echo=$ac_try;;
11891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11892 (eval "$ac_try") 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; } &&
11896 { ac_try='test -s conftest$ac_exeext'
11897 { (case "(($ac_try" in
11898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11899 *) ac_try_echo
=$ac_try;;
11901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11902 (eval "$ac_try") 2>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; }; then
11907 cat >>confdefs.h
<<\_ACEOF
11911 ICULIBS
="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11913 { echo "$as_me:$LINENO: result: yes" >&5
11914 echo "${ECHO_T}yes" >&6; }
11916 echo "$as_me: failed program was:" >&5
11917 sed 's/^/| /' conftest.
$ac_ext >&5
11919 { echo "$as_me:$LINENO: result: no" >&5
11920 echo "${ECHO_T}no" >&6; }
11923 rm -f core conftest.err conftest.
$ac_objext \
11924 conftest
$ac_exeext conftest.
$ac_ext
11931 if test "$ac_cv_header_resolv_h" = "yes"
11933 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11934 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11935 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6
11938 ac_check_lib_save_LIBS
=$LIBS
11939 LIBS
="-lresolv $LIBS"
11940 cat >conftest.
$ac_ext <<_ACEOF
11943 cat confdefs.h
>>conftest.
$ac_ext
11944 cat >>conftest.
$ac_ext <<_ACEOF
11945 /* end confdefs.h. */
11947 /* Override any GCC internal prototype to avoid an error.
11948 Use char because int might match the return type of a GCC
11949 builtin and then its argument prototype would still apply. */
11957 return res_query ();
11962 rm -f conftest.
$ac_objext conftest
$ac_exeext
11963 if { (ac_try
="$ac_link"
11964 case "(($ac_try" in
11965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11966 *) ac_try_echo=$ac_try;;
11968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11969 (eval "$ac_link") 2>conftest.er1
11971 grep -v '^ *+' conftest.er1 >conftest.err
11973 cat conftest.err >&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } &&
11976 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11977 { (case "(($ac_try" in
11978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11979 *) ac_try_echo
=$ac_try;;
11981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11982 (eval "$ac_try") 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; } &&
11986 { ac_try
='test -s conftest$ac_exeext'
11987 { (case "(($ac_try" in
11988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11989 *) ac_try_echo=$ac_try;;
11991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11992 (eval "$ac_try") 2>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); }; }; then
11996 ac_cv_lib_resolv_res_query=yes
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.$ac_ext >&5
12001 ac_cv_lib_resolv_res_query=no
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_lib_save_LIBS
12008 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12009 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12010 if test $ac_cv_lib_resolv_res_query = yes; then
12012 cat >>confdefs.h <<\_ACEOF
12013 #define HAVE_RESOLV 1
12016 RESOLVLIBS="-lresolv"
12023 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12025 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12026 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12027 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12030 ac_check_lib_save_LIBS=$LIBS
12031 LIBS="-llcms $LIBS"
12032 cat >conftest.$ac_ext <<_ACEOF
12035 cat confdefs.h >>conftest.$ac_ext
12036 cat >>conftest.$ac_ext <<_ACEOF
12037 /* end confdefs.h. */
12039 /* Override any GCC internal prototype to avoid an error.
12040 Use char because int might match the return type of a GCC
12041 builtin and then its argument prototype would still apply. */
12045 char cmsOpenProfileFromFile ();
12049 return cmsOpenProfileFromFile ();
12054 rm -f conftest.$ac_objext conftest$ac_exeext
12055 if { (ac_try="$ac_link"
12056 case "(($ac_try" in
12057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12058 *) ac_try_echo
=$ac_try;;
12060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12061 (eval "$ac_link") 2>conftest.er1
12063 grep -v '^ *+' conftest.er1
>conftest.err
12065 cat conftest.err
>&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); } &&
12068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12069 { (case "(($ac_try" in
12070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12071 *) ac_try_echo=$ac_try;;
12073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12074 (eval "$ac_try") 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }; } &&
12078 { ac_try='test -s conftest$ac_exeext'
12079 { (case "(($ac_try" in
12080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12081 *) ac_try_echo
=$ac_try;;
12083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12084 (eval "$ac_try") 2>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); }; }; then
12088 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
12090 echo "$as_me: failed program was:" >&5
12091 sed 's/^/| /' conftest.
$ac_ext >&5
12093 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
12096 rm -f core conftest.err conftest.
$ac_objext \
12097 conftest
$ac_exeext conftest.
$ac_ext
12098 LIBS
=$ac_check_lib_save_LIBS
12100 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12101 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12102 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12104 cat >>confdefs.h
<<\_ACEOF
12105 #define HAVE_LCMS 1
12115 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12117 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12118 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12119 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12122 ac_check_lib_save_LIBS
=$LIBS
12123 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12124 cat >conftest.
$ac_ext <<_ACEOF
12127 cat confdefs.h
>>conftest.
$ac_ext
12128 cat >>conftest.
$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12131 /* Override any GCC internal prototype to avoid an error.
12132 Use char because int might match the return type of a GCC
12133 builtin and then its argument prototype would still apply. */
12137 char ldap_initialize ();
12141 return ldap_initialize ();
12146 rm -f conftest.
$ac_objext conftest
$ac_exeext
12147 if { (ac_try
="$ac_link"
12148 case "(($ac_try" in
12149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12150 *) ac_try_echo=$ac_try;;
12152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12153 (eval "$ac_link") 2>conftest.er1
12155 grep -v '^ *+' conftest.er1 >conftest.err
12157 cat conftest.err >&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } &&
12160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12161 { (case "(($ac_try" in
12162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12163 *) ac_try_echo
=$ac_try;;
12165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12166 (eval "$ac_try") 2>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); }; } &&
12170 { ac_try
='test -s conftest$ac_exeext'
12171 { (case "(($ac_try" in
12172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12173 *) ac_try_echo=$ac_try;;
12175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12176 (eval "$ac_try") 2>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); }; }; then
12180 ac_cv_lib_ldap_r_ldap_initialize=yes
12182 echo "$as_me: failed program was:" >&5
12183 sed 's/^/| /' conftest.$ac_ext >&5
12185 ac_cv_lib_ldap_r_ldap_initialize=no
12188 rm -f core conftest.err conftest.$ac_objext \
12189 conftest$ac_exeext conftest.$ac_ext
12190 LIBS=$ac_check_lib_save_LIBS
12192 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12193 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12194 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12195 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12196 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12197 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12198 echo $ECHO_N "(cached) $ECHO_C" >&6
12200 ac_check_lib_save_LIBS=$LIBS
12201 LIBS="-llber $LIBPTHREAD $LIBS"
12202 cat >conftest.$ac_ext <<_ACEOF
12205 cat confdefs.h >>conftest.$ac_ext
12206 cat >>conftest.$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12209 /* Override any GCC internal prototype to avoid an error.
12210 Use char because int might match the return type of a GCC
12211 builtin and then its argument prototype would still apply. */
12219 return ber_init ();
12224 rm -f conftest.$ac_objext conftest$ac_exeext
12225 if { (ac_try="$ac_link"
12226 case "(($ac_try" in
12227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12228 *) ac_try_echo
=$ac_try;;
12230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12231 (eval "$ac_link") 2>conftest.er1
12233 grep -v '^ *+' conftest.er1
>conftest.err
12235 cat conftest.err
>&5
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); } &&
12238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12239 { (case "(($ac_try" in
12240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12241 *) ac_try_echo=$ac_try;;
12243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12244 (eval "$ac_try") 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; } &&
12248 { ac_try='test -s conftest$ac_exeext'
12249 { (case "(($ac_try" in
12250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12251 *) ac_try_echo
=$ac_try;;
12253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12254 (eval "$ac_try") 2>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; }; then
12258 ac_cv_lib_lber_ber_init
=yes
12260 echo "$as_me: failed program was:" >&5
12261 sed 's/^/| /' conftest.
$ac_ext >&5
12263 ac_cv_lib_lber_ber_init
=no
12266 rm -f core conftest.err conftest.
$ac_objext \
12267 conftest
$ac_exeext conftest.
$ac_ext
12268 LIBS
=$ac_check_lib_save_LIBS
12270 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12271 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12272 if test $ac_cv_lib_lber_ber_init = yes; then
12274 cat >>confdefs.h
<<\_ACEOF
12275 #define HAVE_LDAP 1
12278 LDAPLIBS
="-lldap_r -llber"
12283 ac_wine_check_funcs_save_LIBS
="$LIBS"
12284 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12290 ldap_count_references \
12291 ldap_first_reference \
12292 ldap_next_reference \
12293 ldap_parse_reference
12295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12298 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12299 echo $ECHO_N "(cached) $ECHO_C" >&6
12301 cat >conftest.
$ac_ext <<_ACEOF
12304 cat confdefs.h
>>conftest.
$ac_ext
12305 cat >>conftest.
$ac_ext <<_ACEOF
12306 /* end confdefs.h. */
12307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12309 #define $ac_func innocuous_$ac_func
12311 /* System header to define __stub macros and hopefully few prototypes,
12312 which can conflict with char $ac_func (); below.
12313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12314 <limits.h> exists even on freestanding compilers. */
12317 # include <limits.h>
12319 # include <assert.h>
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12331 /* The GNU C library defines this for functions which it implements
12332 to always fail with ENOSYS. Some functions are actually named
12333 something starting with __ and the normal name is an alias. */
12334 #if defined __stub_$ac_func || defined __stub___$ac_func
12341 return $ac_func ();
12346 rm -f conftest.
$ac_objext conftest
$ac_exeext
12347 if { (ac_try
="$ac_link"
12348 case "(($ac_try" in
12349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12350 *) ac_try_echo=$ac_try;;
12352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12353 (eval "$ac_link") 2>conftest.er1
12355 grep -v '^ *+' conftest.er1 >conftest.err
12357 cat conftest.err >&5
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); } &&
12360 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12361 { (case "(($ac_try" in
12362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12363 *) ac_try_echo
=$ac_try;;
12365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12366 (eval "$ac_try") 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; } &&
12370 { ac_try
='test -s conftest$ac_exeext'
12371 { (case "(($ac_try" in
12372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12373 *) ac_try_echo=$ac_try;;
12375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12376 (eval "$ac_try") 2>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; }; then
12380 eval "$as_ac_var=yes"
12382 echo "$as_me: failed program was:" >&5
12383 sed 's/^/| /' conftest.$ac_ext >&5
12385 eval "$as_ac_var=no"
12388 rm -f core conftest.err conftest.$ac_objext \
12389 conftest$ac_exeext conftest.$ac_ext
12391 ac_res=`eval echo '${'$as_ac_var'}'`
12392 { echo "$as_me:$LINENO: result: $ac_res" >&5
12393 echo "${ECHO_T}$ac_res" >&6; }
12394 if test `eval echo '${'$as_ac_var'}'` = yes; then
12395 cat >>confdefs.h <<_ACEOF
12396 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12402 LIBS="$ac_wine_check_funcs_save_LIBS"
12409 # Extract the first word of "freetype-config", so it can be a program name with args.
12410 set dummy freetype-config; ac_word=$2
12411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12413 if test "${ac_cv_prog_ft_devel+set}" = set; then
12414 echo $ECHO_N "(cached) $ECHO_C" >&6
12416 if test -n "$ft_devel"; then
12417 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12420 for as_dir in $PATH
12423 test -z "$as_dir" && as_dir=.
12424 for ac_exec_ext in '' $ac_executable_extensions; do
12425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12426 ac_cv_prog_ft_devel="freetype-config"
12427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12434 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12437 ft_devel=$ac_cv_prog_ft_devel
12438 if test -n "$ft_devel"; then
12439 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12440 echo "${ECHO_T}$ft_devel" >&6; }
12442 { echo "$as_me:$LINENO: result: no" >&5
12443 echo "${ECHO_T}no" >&6; }
12447 if test "$ft_devel" = "no"
12449 # Extract the first word of "freetype2-config", so it can be a program name with args.
12450 set dummy freetype2-config; ac_word=$2
12451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12453 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12454 echo $ECHO_N "(cached) $ECHO_C" >&6
12456 if test -n "$ft_devel2"; then
12457 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12460 for as_dir in $PATH
12463 test -z "$as_dir" && as_dir=.
12464 for ac_exec_ext in '' $ac_executable_extensions; do
12465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12466 ac_cv_prog_ft_devel2="freetype2-config"
12467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12474 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12477 ft_devel2=$ac_cv_prog_ft_devel2
12478 if test -n "$ft_devel2"; then
12479 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12480 echo "${ECHO_T}$ft_devel2" >&6; }
12482 { echo "$as_me:$LINENO: result: no" >&5
12483 echo "${ECHO_T}no" >&6; }
12487 if test "$ft_devel2" = "freetype2-config"
12489 ft_devel=$ft_devel2
12493 if test "$ft_devel" = "no"
12495 wine_cv_msg_freetype=yes
12497 FREETYPELIBS=`$ft_devel --libs`
12498 FREETYPEINCL=`$ft_devel --cflags`
12499 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12500 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12501 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 ac_check_lib_save_LIBS=$LIBS
12505 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12506 cat >conftest.$ac_ext <<_ACEOF
12509 cat confdefs.h >>conftest.$ac_ext
12510 cat >>conftest.$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12513 /* Override any GCC internal prototype to avoid an error.
12514 Use char because int might match the return type of a GCC
12515 builtin and then its argument prototype would still apply. */
12519 char FT_Init_FreeType ();
12523 return FT_Init_FreeType ();
12528 rm -f conftest.$ac_objext conftest$ac_exeext
12529 if { (ac_try="$ac_link"
12530 case "(($ac_try" in
12531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12532 *) ac_try_echo
=$ac_try;;
12534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12535 (eval "$ac_link") 2>conftest.er1
12537 grep -v '^ *+' conftest.er1
>conftest.err
12539 cat conftest.err
>&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } &&
12542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12543 { (case "(($ac_try" in
12544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12545 *) ac_try_echo=$ac_try;;
12547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12548 (eval "$ac_try") 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; } &&
12552 { ac_try='test -s conftest$ac_exeext'
12553 { (case "(($ac_try" in
12554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12555 *) ac_try_echo
=$ac_try;;
12557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12558 (eval "$ac_try") 2>&5
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; }; then
12562 ac_cv_lib_freetype_FT_Init_FreeType
=yes
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.
$ac_ext >&5
12567 ac_cv_lib_freetype_FT_Init_FreeType
=no
12570 rm -f core conftest.err conftest.
$ac_objext \
12571 conftest
$ac_exeext conftest.
$ac_ext
12572 LIBS
=$ac_check_lib_save_LIBS
12574 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12575 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12576 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12582 if test "$ft_lib" = "no"
12584 wine_cv_msg_freetype
=yes
12588 ac_save_CPPFLAGS
="$CPPFLAGS"
12589 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
12601 for ac_header
in ft2build.h \
12602 freetype
/freetype.h \
12603 freetype
/ftglyph.h \
12604 freetype
/tttables.h \
12605 freetype
/ftnames.h \
12606 freetype
/ftsnames.h \
12607 freetype
/ttnameid.h \
12608 freetype
/ftoutln.h \
12609 freetype
/ftwinfnt.h \
12610 freetype
/ftmodapi.h \
12611 freetype
/internal
/sfnt.h
12613 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12616 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12619 cat >conftest.
$ac_ext <<_ACEOF
12622 cat confdefs.h
>>conftest.
$ac_ext
12623 cat >>conftest.
$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12625 #if HAVE_FT2BUILD_H
12626 #include <ft2build.h>
12629 #include <$ac_header>
12631 rm -f conftest.
$ac_objext
12632 if { (ac_try
="$ac_compile"
12633 case "(($ac_try" in
12634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12635 *) ac_try_echo=$ac_try;;
12637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12638 (eval "$ac_compile") 2>conftest.er1
12640 grep -v '^ *+' conftest.er1 >conftest.err
12642 cat conftest.err >&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); } &&
12645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12646 { (case "(($ac_try" in
12647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12648 *) ac_try_echo
=$ac_try;;
12650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12651 (eval "$ac_try") 2>&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); }; } &&
12655 { ac_try
='test -s conftest.$ac_objext'
12656 { (case "(($ac_try" in
12657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12658 *) ac_try_echo=$ac_try;;
12660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12661 (eval "$ac_try") 2>&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); }; }; then
12665 eval "$as_ac_Header=yes"
12667 echo "$as_me: failed program was:" >&5
12668 sed 's/^/| /' conftest.$ac_ext >&5
12670 eval "$as_ac_Header=no"
12673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12675 ac_res=`eval echo '${'$as_ac_Header'}'`
12676 { echo "$as_me:$LINENO: result: $ac_res" >&5
12677 echo "${ECHO_T}$ac_res" >&6; }
12678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12679 cat >>confdefs.h <<_ACEOF
12680 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12687 cat >conftest.$ac_ext <<_ACEOF
12690 cat confdefs.h >>conftest.$ac_ext
12691 cat >>conftest.$ac_ext <<_ACEOF
12692 /* end confdefs.h. */
12693 #include <ft2build.h>
12694 #include <freetype/fttrigon.h>
12696 if { (ac_try="$ac_cpp conftest.$ac_ext"
12697 case "(($ac_try" in
12698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12699 *) ac_try_echo
=$ac_try;;
12701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12704 grep -v '^ *+' conftest.er1
>conftest.err
12706 cat conftest.err
>&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } >/dev
/null
; then
12709 if test -s conftest.err
; then
12710 ac_cpp_err
=$ac_c_preproc_warn_flag
12711 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12718 if test -z "$ac_cpp_err"; then
12720 cat >>confdefs.h
<<\_ACEOF
12721 #define HAVE_FREETYPE_FTTRIGON_H 1
12724 wine_cv_fttrigon
=yes
12726 echo "$as_me: failed program was:" >&5
12727 sed 's/^/| /' conftest.
$ac_ext >&5
12729 wine_cv_fttrigon
=no
12732 rm -f conftest.err conftest.
$ac_ext
12733 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12734 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12735 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12736 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 cat >conftest.
$ac_ext <<_ACEOF
12741 cat confdefs.h
>>conftest.
$ac_ext
12742 cat >>conftest.
$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12744 #include <freetype/ftmodapi.h>
12746 typedef FT_TrueTypeEngineType ac__type_new_;
12750 if ((ac__type_new_ *) 0)
12752 if (sizeof (ac__type_new_))
12758 rm -f conftest.
$ac_objext
12759 if { (ac_try
="$ac_compile"
12760 case "(($ac_try" in
12761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12762 *) ac_try_echo=$ac_try;;
12764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12765 (eval "$ac_compile") 2>conftest.er1
12767 grep -v '^ *+' conftest.er1 >conftest.err
12769 cat conftest.err >&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); } &&
12772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12773 { (case "(($ac_try" in
12774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12775 *) ac_try_echo
=$ac_try;;
12777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12778 (eval "$ac_try") 2>&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }; } &&
12782 { ac_try
='test -s conftest.$ac_objext'
12783 { (case "(($ac_try" in
12784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12785 *) ac_try_echo=$ac_try;;
12787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12788 (eval "$ac_try") 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 ac_cv_type_FT_TrueTypeEngineType=yes
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.$ac_ext >&5
12797 ac_cv_type_FT_TrueTypeEngineType=no
12800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12802 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12803 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12804 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12806 cat >>confdefs.h <<_ACEOF
12807 #define HAVE_FT_TRUETYPEENGINETYPE 1
12813 ac_save_CFLAGS="$CFLAGS"
12814 CFLAGS="$CFLAGS $FREETYPELIBS"
12816 for ac_func in FT_Load_Sfnt_Table
12818 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12822 echo $ECHO_N "(cached) $ECHO_C" >&6
12824 cat >conftest.$ac_ext <<_ACEOF
12827 cat confdefs.h >>conftest.$ac_ext
12828 cat >>conftest.$ac_ext <<_ACEOF
12829 /* end confdefs.h. */
12830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12832 #define $ac_func innocuous_$ac_func
12834 /* System header to define __stub macros and hopefully few prototypes,
12835 which can conflict with char $ac_func (); below.
12836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12837 <limits.h> exists even on freestanding compilers. */
12840 # include <limits.h>
12842 # include <assert.h>
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12854 /* The GNU C library defines this for functions which it implements
12855 to always fail with ENOSYS. Some functions are actually named
12856 something starting with __ and the normal name is an alias. */
12857 #if defined __stub_$ac_func || defined __stub___$ac_func
12864 return $ac_func ();
12869 rm -f conftest.$ac_objext conftest$ac_exeext
12870 if { (ac_try="$ac_link"
12871 case "(($ac_try" in
12872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12873 *) ac_try_echo
=$ac_try;;
12875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12876 (eval "$ac_link") 2>conftest.er1
12878 grep -v '^ *+' conftest.er1
>conftest.err
12880 cat conftest.err
>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } &&
12883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12884 { (case "(($ac_try" in
12885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12886 *) ac_try_echo=$ac_try;;
12888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12889 (eval "$ac_try") 2>&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }; } &&
12893 { ac_try='test -s conftest$ac_exeext'
12894 { (case "(($ac_try" in
12895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12896 *) ac_try_echo
=$ac_try;;
12898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12899 (eval "$ac_try") 2>&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); }; }; then
12903 eval "$as_ac_var=yes"
12905 echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.
$ac_ext >&5
12908 eval "$as_ac_var=no"
12911 rm -f core conftest.err conftest.
$ac_objext \
12912 conftest
$ac_exeext conftest.
$ac_ext
12914 ac_res
=`eval echo '${'$as_ac_var'}'`
12915 { echo "$as_me:$LINENO: result: $ac_res" >&5
12916 echo "${ECHO_T}$ac_res" >&6; }
12917 if test `eval echo '${'$as_ac_var'}'` = yes; then
12918 cat >>confdefs.h
<<_ACEOF
12919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12925 CFLAGS
="$ac_save_CFLAGS"
12926 CPPFLAGS
="$ac_save_CPPFLAGS"
12927 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12930 cat >>confdefs.h
<<\_ACEOF
12931 #define HAVE_FREETYPE 1
12934 wine_cv_msg_freetype
=no
12938 wine_cv_msg_freetype
=yes
12943 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12945 FONTSSUBDIRS
="fonts"
12949 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12950 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12951 if test "${ac_cv_c_ppdev+set}" = set; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 cat >conftest.
$ac_ext <<_ACEOF
12957 cat confdefs.h
>>conftest.
$ac_ext
12958 cat >>conftest.
$ac_ext <<_ACEOF
12959 /* end confdefs.h. */
12960 #include <linux/ppdev.h>
12964 ioctl (1,PPCLAIM,0)
12969 rm -f conftest.
$ac_objext
12970 if { (ac_try
="$ac_compile"
12971 case "(($ac_try" in
12972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12973 *) ac_try_echo=$ac_try;;
12975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12976 (eval "$ac_compile") 2>conftest.er1
12978 grep -v '^ *+' conftest.er1 >conftest.err
12980 cat conftest.err >&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } &&
12983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12984 { (case "(($ac_try" in
12985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12986 *) ac_try_echo
=$ac_try;;
12988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12989 (eval "$ac_try") 2>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; } &&
12993 { ac_try
='test -s conftest.$ac_objext'
12994 { (case "(($ac_try" in
12995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12996 *) ac_try_echo=$ac_try;;
12998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12999 (eval "$ac_try") 2>&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; }; then
13003 ac_cv_c_ppdev="yes"
13005 echo "$as_me: failed program was:" >&5
13006 sed 's/^/| /' conftest.$ac_ext >&5
13011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13014 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13015 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13016 if test "$ac_cv_c_ppdev" = "yes"
13019 cat >>confdefs.h <<\_ACEOF
13020 #define HAVE_PPDEV 1
13025 { echo "$as_me:$LINENO: checking for va_copy" >&5
13026 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13027 if test "${ac_cv_c_va_copy+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 cat >conftest.$ac_ext <<_ACEOF
13033 cat confdefs.h >>conftest.$ac_ext
13034 cat >>conftest.$ac_ext <<_ACEOF
13035 /* end confdefs.h. */
13036 #include <stdarg.h>
13047 rm -f conftest.$ac_objext conftest$ac_exeext
13048 if { (ac_try="$ac_link"
13049 case "(($ac_try" in
13050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13051 *) ac_try_echo
=$ac_try;;
13053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13054 (eval "$ac_link") 2>conftest.er1
13056 grep -v '^ *+' conftest.er1
>conftest.err
13058 cat conftest.err
>&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); } &&
13061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13062 { (case "(($ac_try" in
13063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13064 *) ac_try_echo=$ac_try;;
13066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13067 (eval "$ac_try") 2>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try='test -s conftest$ac_exeext'
13072 { (case "(($ac_try" in
13073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13074 *) ac_try_echo
=$ac_try;;
13076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13077 (eval "$ac_try") 2>&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); }; }; then
13081 ac_cv_c_va_copy
="yes"
13083 echo "$as_me: failed program was:" >&5
13084 sed 's/^/| /' conftest.
$ac_ext >&5
13086 ac_cv_c_va_copy
="no"
13089 rm -f core conftest.err conftest.
$ac_objext \
13090 conftest
$ac_exeext conftest.
$ac_ext
13093 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13094 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13095 if test "$ac_cv_c_va_copy" = "yes"
13098 cat >>confdefs.h
<<\_ACEOF
13099 #define HAVE_VA_COPY 1
13103 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13104 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13105 if test "${ac_cv_c___va_copy+set}" = set; then
13106 echo $ECHO_N "(cached) $ECHO_C" >&6
13108 cat >conftest.
$ac_ext <<_ACEOF
13111 cat confdefs.h
>>conftest.
$ac_ext
13112 cat >>conftest.
$ac_ext <<_ACEOF
13113 /* end confdefs.h. */
13114 #include <stdarg.h>
13119 __va_copy(ap1,ap2);
13125 rm -f conftest.
$ac_objext conftest
$ac_exeext
13126 if { (ac_try
="$ac_link"
13127 case "(($ac_try" in
13128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13129 *) ac_try_echo=$ac_try;;
13131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13132 (eval "$ac_link") 2>conftest.er1
13134 grep -v '^ *+' conftest.er1 >conftest.err
13136 cat conftest.err >&5
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); } &&
13139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13140 { (case "(($ac_try" in
13141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13142 *) ac_try_echo
=$ac_try;;
13144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13145 (eval "$ac_try") 2>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; } &&
13149 { ac_try
='test -s conftest$ac_exeext'
13150 { (case "(($ac_try" in
13151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13152 *) ac_try_echo=$ac_try;;
13154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13155 (eval "$ac_try") 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13159 ac_cv_c___va_copy="yes"
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.$ac_ext >&5
13164 ac_cv_c___va_copy="no"
13167 rm -f core conftest.err conftest.$ac_objext \
13168 conftest$ac_exeext conftest.$ac_ext
13171 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13172 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13173 if test "$ac_cv_c___va_copy" = "yes"
13176 cat >>confdefs.h <<\_ACEOF
13177 #define HAVE___VA_COPY 1
13182 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13183 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13184 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13187 cat >conftest.$ac_ext <<_ACEOF
13190 cat confdefs.h >>conftest.$ac_ext
13191 cat >>conftest.$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13193 #include <setjmp.h>
13198 sigsetjmp( buf, 1 );
13199 siglongjmp( buf, 1 );
13204 rm -f conftest.$ac_objext conftest$ac_exeext
13205 if { (ac_try="$ac_link"
13206 case "(($ac_try" in
13207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13208 *) ac_try_echo
=$ac_try;;
13210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13211 (eval "$ac_link") 2>conftest.er1
13213 grep -v '^ *+' conftest.er1
>conftest.err
13215 cat conftest.err
>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13219 { (case "(($ac_try" in
13220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13221 *) ac_try_echo=$ac_try;;
13223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13224 (eval "$ac_try") 2>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; } &&
13228 { ac_try='test -s conftest$ac_exeext'
13229 { (case "(($ac_try" in
13230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13231 *) ac_try_echo
=$ac_try;;
13233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13234 (eval "$ac_try") 2>&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); }; }; then
13238 ac_cv_c_sigsetjmp
="yes"
13240 echo "$as_me: failed program was:" >&5
13241 sed 's/^/| /' conftest.
$ac_ext >&5
13243 ac_cv_c_sigsetjmp
="no"
13246 rm -f core conftest.err conftest.
$ac_objext \
13247 conftest
$ac_exeext conftest.
$ac_ext
13250 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13251 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13252 if test "$ac_cv_c_sigsetjmp" = "yes"
13255 cat >>confdefs.h
<<\_ACEOF
13256 #define HAVE_SIGSETJMP 1
13261 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13262 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13263 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13266 cat >conftest.
$ac_ext <<_ACEOF
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272 #define _GNU_SOURCE
13273 #include <pthread.h>
13275 typedef pthread_rwlock_t ac__type_new_;
13279 if ((ac__type_new_ *) 0)
13281 if (sizeof (ac__type_new_))
13287 rm -f conftest.
$ac_objext
13288 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
13296 grep -v '^ *+' conftest.er1 >conftest.err
13298 cat conftest.err >&5
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); } &&
13301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13302 { (case "(($ac_try" in
13303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13304 *) ac_try_echo
=$ac_try;;
13306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13307 (eval "$ac_try") 2>&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }; } &&
13311 { ac_try
='test -s conftest.$ac_objext'
13312 { (case "(($ac_try" in
13313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13314 *) ac_try_echo=$ac_try;;
13316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13317 (eval "$ac_try") 2>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; }; then
13321 ac_cv_type_pthread_rwlock_t=yes
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.$ac_ext >&5
13326 ac_cv_type_pthread_rwlock_t=no
13329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13331 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13332 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13333 if test $ac_cv_type_pthread_rwlock_t = yes; then
13335 cat >>confdefs.h <<_ACEOF
13336 #define HAVE_PTHREAD_RWLOCK_T 1
13341 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13342 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13343 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13346 cat >conftest.$ac_ext <<_ACEOF
13349 cat confdefs.h >>conftest.$ac_ext
13350 cat >>conftest.$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352 #define _GNU_SOURCE
13353 #include <pthread.h>
13355 typedef pthread_rwlockattr_t ac__type_new_;
13359 if ((ac__type_new_ *) 0)
13361 if (sizeof (ac__type_new_))
13367 rm -f conftest.$ac_objext
13368 if { (ac_try="$ac_compile"
13369 case "(($ac_try" in
13370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13371 *) ac_try_echo
=$ac_try;;
13373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13374 (eval "$ac_compile") 2>conftest.er1
13376 grep -v '^ *+' conftest.er1
>conftest.err
13378 cat conftest.err
>&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); } &&
13381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
13391 { ac_try='test -s conftest.$ac_objext'
13392 { (case "(($ac_try" in
13393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13394 *) ac_try_echo
=$ac_try;;
13396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13397 (eval "$ac_try") 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; }; then
13401 ac_cv_type_pthread_rwlockattr_t
=yes
13403 echo "$as_me: failed program was:" >&5
13404 sed 's/^/| /' conftest.
$ac_ext >&5
13406 ac_cv_type_pthread_rwlockattr_t
=no
13409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13411 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13412 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13413 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13415 cat >>confdefs.h
<<_ACEOF
13416 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13423 ac_wine_check_funcs_save_LIBS
="$LIBS"
13424 LIBS
="$LIBS $LIBPTHREAD"
13430 pthread_attr_get_np \
13431 pthread_getattr_np \
13432 pthread_get_stackaddr_np \
13433 pthread_get_stacksize_np
13435 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13438 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13439 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 cat >conftest.
$ac_ext <<_ACEOF
13444 cat confdefs.h
>>conftest.
$ac_ext
13445 cat >>conftest.
$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13449 #define $ac_func innocuous_$ac_func
13451 /* System header to define __stub macros and hopefully few prototypes,
13452 which can conflict with char $ac_func (); below.
13453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13454 <limits.h> exists even on freestanding compilers. */
13457 # include <limits.h>
13459 # include <assert.h>
13464 /* Override any GCC internal prototype to avoid an error.
13465 Use char because int might match the return type of a GCC
13466 builtin and then its argument prototype would still apply. */
13471 /* The GNU C library defines this for functions which it implements
13472 to always fail with ENOSYS. Some functions are actually named
13473 something starting with __ and the normal name is an alias. */
13474 #if defined __stub_$ac_func || defined __stub___$ac_func
13481 return $ac_func ();
13486 rm -f conftest.
$ac_objext conftest
$ac_exeext
13487 if { (ac_try
="$ac_link"
13488 case "(($ac_try" in
13489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13490 *) ac_try_echo=$ac_try;;
13492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13493 (eval "$ac_link") 2>conftest.er1
13495 grep -v '^ *+' conftest.er1 >conftest.err
13497 cat conftest.err >&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (case "(($ac_try" in
13502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13503 *) ac_try_echo
=$ac_try;;
13505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_try") 2>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; } &&
13510 { ac_try
='test -s conftest$ac_exeext'
13511 { (case "(($ac_try" in
13512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13513 *) ac_try_echo=$ac_try;;
13515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13516 (eval "$ac_try") 2>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; }; then
13520 eval "$as_ac_var=yes"
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.$ac_ext >&5
13525 eval "$as_ac_var=no"
13528 rm -f core conftest.err conftest.$ac_objext \
13529 conftest$ac_exeext conftest.$ac_ext
13531 ac_res=`eval echo '${'$as_ac_var'}'`
13532 { echo "$as_me:$LINENO: result: $ac_res" >&5
13533 echo "${ECHO_T}$ac_res" >&6; }
13534 if test `eval echo '${'$as_ac_var'}'` = yes; then
13535 cat >>confdefs.h <<_ACEOF
13536 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13542 LIBS="$ac_wine_check_funcs_save_LIBS"
13544 # Extract the first word of "artsc-config", so it can be a program name with args.
13545 set dummy artsc-config; ac_word=$2
13546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13548 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13551 case $ARTSCCONFIG in
13553 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13557 for as_dir in $PATH
13560 test -z "$as_dir" && as_dir=.
13561 for ac_exec_ext in '' $ac_executable_extensions; do
13562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13563 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13574 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13575 if test -n "$ARTSCCONFIG"; then
13576 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13577 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13579 { echo "$as_me:$LINENO: result: no" >&5
13580 echo "${ECHO_T}no" >&6; }
13584 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13587 for i in `$ARTSCCONFIG --cflags`
13590 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13594 for i in `$ARTSCCONFIG --libs`
13597 -L/usr/lib|-L/usr/lib64) ;;
13598 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13601 save_CFLAGS="$CFLAGS"
13602 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13603 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13604 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13605 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13608 ac_check_lib_save_LIBS=$LIBS
13609 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13610 cat >conftest.$ac_ext <<_ACEOF
13613 cat confdefs.h >>conftest.$ac_ext
13614 cat >>conftest.$ac_ext <<_ACEOF
13615 /* end confdefs.h. */
13617 /* Override any GCC internal prototype to avoid an error.
13618 Use char because int might match the return type of a GCC
13619 builtin and then its argument prototype would still apply. */
13627 return arts_init ();
13632 rm -f conftest.$ac_objext conftest$ac_exeext
13633 if { (ac_try="$ac_link"
13634 case "(($ac_try" in
13635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13636 *) ac_try_echo
=$ac_try;;
13638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13639 (eval "$ac_link") 2>conftest.er1
13641 grep -v '^ *+' conftest.er1
>conftest.err
13643 cat conftest.err
>&5
13644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13645 (exit $ac_status); } &&
13646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13647 { (case "(($ac_try" in
13648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13649 *) ac_try_echo=$ac_try;;
13651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13652 (eval "$ac_try") 2>&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); }; } &&
13656 { ac_try='test -s conftest$ac_exeext'
13657 { (case "(($ac_try" in
13658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13659 *) ac_try_echo
=$ac_try;;
13661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13662 (eval "$ac_try") 2>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 ac_cv_lib_artsc_arts_init
=yes
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.
$ac_ext >&5
13671 ac_cv_lib_artsc_arts_init
=no
13674 rm -f core conftest.err conftest.
$ac_objext \
13675 conftest
$ac_exeext conftest.
$ac_ext
13676 LIBS
=$ac_check_lib_save_LIBS
13678 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13679 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13680 if test $ac_cv_lib_artsc_arts_init = yes; then
13681 cat >conftest.
$ac_ext <<_ACEOF
13684 cat confdefs.h
>>conftest.
$ac_ext
13685 cat >>conftest.
$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13691 arts_stream_t stream;
13696 rm -f conftest.
$ac_objext
13697 if { (ac_try
="$ac_compile"
13698 case "(($ac_try" in
13699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13700 *) ac_try_echo=$ac_try;;
13702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13703 (eval "$ac_compile") 2>conftest.er1
13705 grep -v '^ *+' conftest.er1 >conftest.err
13707 cat conftest.err >&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } &&
13710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13711 { (case "(($ac_try" in
13712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13713 *) ac_try_echo
=$ac_try;;
13715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13716 (eval "$ac_try") 2>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); }; } &&
13720 { ac_try
='test -s conftest.$ac_objext'
13721 { (case "(($ac_try" in
13722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13723 *) ac_try_echo=$ac_try;;
13725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13726 (eval "$ac_try") 2>&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 ARTSLIBS=$ARTSC_LIBS
13732 ARTSINCL=$ARTSC_CFLAGS
13735 cat >>confdefs.h <<\_ACEOF
13736 #define HAVE_ARTS 1
13740 echo "$as_me: failed program was:" >&5
13741 sed 's/^/| /' conftest.$ac_ext >&5
13746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13749 CFLAGS="$save_CFLAGS"
13752 # Extract the first word of "esd-config", so it can be a program name with args.
13753 set dummy esd-config; ac_word=$2
13754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13756 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13757 echo $ECHO_N "(cached) $ECHO_C" >&6
13761 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13765 for as_dir in $PATH
13768 test -z "$as_dir" && as_dir=.
13769 for ac_exec_ext in '' $ac_executable_extensions; do
13770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13771 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13782 ESDCONFIG=$ac_cv_path_ESDCONFIG
13783 if test -n "$ESDCONFIG"; then
13784 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13785 echo "${ECHO_T}$ESDCONFIG" >&6; }
13787 { echo "$as_me:$LINENO: result: no" >&5
13788 echo "${ECHO_T}no" >&6; }
13792 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13795 for i in `$ESDCONFIG --cflags`
13798 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13801 ESD_LIBS=`$ESDCONFIG --libs`
13802 save_CFLAGS="$CFLAGS"
13803 CFLAGS="$CFLAGS $ESD_CFLAGS"
13804 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13805 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13806 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13807 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 ac_check_lib_save_LIBS=$LIBS
13811 cat >conftest.$ac_ext <<_ACEOF
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13824 char esd_open_sound ();
13828 return esd_open_sound ();
13833 rm -f conftest.$ac_objext conftest$ac_exeext
13834 if { (ac_try="$ac_link"
13835 case "(($ac_try" in
13836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13837 *) ac_try_echo
=$ac_try;;
13839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13840 (eval "$ac_link") 2>conftest.er1
13842 grep -v '^ *+' conftest.er1
>conftest.err
13844 cat conftest.err
>&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); } &&
13847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13848 { (case "(($ac_try" in
13849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13850 *) ac_try_echo=$ac_try;;
13852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13853 (eval "$ac_try") 2>&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); }; } &&
13857 { ac_try='test -s conftest$ac_exeext'
13858 { (case "(($ac_try" in
13859 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13860 *) ac_try_echo
=$ac_try;;
13862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13863 (eval "$ac_try") 2>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; }; then
13867 ac_cv_lib_esd_esd_open_sound
=yes
13869 echo "$as_me: failed program was:" >&5
13870 sed 's/^/| /' conftest.
$ac_ext >&5
13872 ac_cv_lib_esd_esd_open_sound
=no
13875 rm -f core conftest.err conftest.
$ac_objext \
13876 conftest
$ac_exeext conftest.
$ac_ext
13877 LIBS
=$ac_check_lib_save_LIBS
13879 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13880 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13881 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13884 ESDINCL
=$ESD_CFLAGS
13887 cat >>confdefs.h
<<\_ACEOF
13893 CFLAGS
="$save_CFLAGS"
13898 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13900 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13901 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13902 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 ac_check_lib_save_LIBS
=$LIBS
13906 LIBS
="-lasound $LIBS"
13907 cat >conftest.
$ac_ext <<_ACEOF
13910 cat confdefs.h
>>conftest.
$ac_ext
13911 cat >>conftest.
$ac_ext <<_ACEOF
13912 /* end confdefs.h. */
13914 /* Override any GCC internal prototype to avoid an error.
13915 Use char because int might match the return type of a GCC
13916 builtin and then its argument prototype would still apply. */
13920 char snd_pcm_hw_params_get_access ();
13924 return snd_pcm_hw_params_get_access ();
13929 rm -f conftest.
$ac_objext conftest
$ac_exeext
13930 if { (ac_try
="$ac_link"
13931 case "(($ac_try" in
13932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13933 *) ac_try_echo=$ac_try;;
13935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13936 (eval "$ac_link") 2>conftest.er1
13938 grep -v '^ *+' conftest.er1 >conftest.err
13940 cat conftest.err >&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); } &&
13943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13944 { (case "(($ac_try" in
13945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13946 *) ac_try_echo
=$ac_try;;
13948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13949 (eval "$ac_try") 2>&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); }; } &&
13953 { ac_try
='test -s conftest$ac_exeext'
13954 { (case "(($ac_try" in
13955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13956 *) ac_try_echo=$ac_try;;
13958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13959 (eval "$ac_try") 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; }; then
13963 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13965 echo "$as_me: failed program was:" >&5
13966 sed 's/^/| /' conftest.$ac_ext >&5
13968 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13971 rm -f core conftest.err conftest.$ac_objext \
13972 conftest$ac_exeext conftest.$ac_ext
13973 LIBS=$ac_check_lib_save_LIBS
13975 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13976 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13977 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13978 cat >conftest.$ac_ext <<_ACEOF
13981 cat confdefs.h >>conftest.$ac_ext
13982 cat >>conftest.$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13984 #ifdef HAVE_ALSA_ASOUNDLIB_H
13985 #include <alsa/asoundlib.h>
13986 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13987 #include <sys/asoundlib.h>
13992 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13997 rm -f conftest.$ac_objext
13998 if { (ac_try="$ac_compile"
13999 case "(($ac_try" in
14000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14001 *) ac_try_echo
=$ac_try;;
14003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14004 (eval "$ac_compile") 2>conftest.er1
14006 grep -v '^ *+' conftest.er1
>conftest.err
14008 cat conftest.err
>&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } &&
14011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14012 { (case "(($ac_try" in
14013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14014 *) ac_try_echo=$ac_try;;
14016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14017 (eval "$ac_try") 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; } &&
14021 { ac_try='test -s conftest.$ac_objext'
14022 { (case "(($ac_try" in
14023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14024 *) ac_try_echo
=$ac_try;;
14026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14027 (eval "$ac_try") 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14032 cat >>confdefs.h
<<\_ACEOF
14033 #define HAVE_ALSA 1
14036 ALSALIBS
="-lasound"
14038 echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.
$ac_ext >&5
14044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14052 if test "$ac_cv_header_libaudioio_h" = "yes"
14054 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14055 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14056 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14057 echo $ECHO_N "(cached) $ECHO_C" >&6
14059 ac_check_lib_save_LIBS
=$LIBS
14060 LIBS
="-laudioio $LIBS"
14061 cat >conftest.
$ac_ext <<_ACEOF
14064 cat confdefs.h
>>conftest.
$ac_ext
14065 cat >>conftest.
$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14068 /* Override any GCC internal prototype to avoid an error.
14069 Use char because int might match the return type of a GCC
14070 builtin and then its argument prototype would still apply. */
14074 char AudioIOGetVersion ();
14078 return AudioIOGetVersion ();
14083 rm -f conftest.
$ac_objext conftest
$ac_exeext
14084 if { (ac_try
="$ac_link"
14085 case "(($ac_try" in
14086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14087 *) ac_try_echo=$ac_try;;
14089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14090 (eval "$ac_link") 2>conftest.er1
14092 grep -v '^ *+' conftest.er1 >conftest.err
14094 cat conftest.err >&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); } &&
14097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14098 { (case "(($ac_try" in
14099 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14100 *) ac_try_echo
=$ac_try;;
14102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14103 (eval "$ac_try") 2>&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; } &&
14107 { ac_try
='test -s conftest$ac_exeext'
14108 { (case "(($ac_try" in
14109 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14110 *) ac_try_echo=$ac_try;;
14112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14113 (eval "$ac_try") 2>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); }; }; then
14117 ac_cv_lib_audioio_AudioIOGetVersion=yes
14119 echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.$ac_ext >&5
14122 ac_cv_lib_audioio_AudioIOGetVersion=no
14125 rm -f core conftest.err conftest.$ac_objext \
14126 conftest$ac_exeext conftest.$ac_ext
14127 LIBS=$ac_check_lib_save_LIBS
14129 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14130 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14131 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14132 AUDIOIOLIBS="-laudioio"
14134 cat >>confdefs.h <<\_ACEOF
14135 #define HAVE_LIBAUDIOIO 1
14143 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14145 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14146 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14147 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14150 ac_check_lib_save_LIBS=$LIBS
14151 LIBS="-lcapi20 $LIBS"
14152 cat >conftest.$ac_ext <<_ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14159 /* Override any GCC internal prototype to avoid an error.
14160 Use char because int might match the return type of a GCC
14161 builtin and then its argument prototype would still apply. */
14165 char capi20_register ();
14169 return capi20_register ();
14174 rm -f conftest.$ac_objext conftest$ac_exeext
14175 if { (ac_try="$ac_link"
14176 case "(($ac_try" in
14177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14178 *) ac_try_echo
=$ac_try;;
14180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14181 (eval "$ac_link") 2>conftest.er1
14183 grep -v '^ *+' conftest.er1
>conftest.err
14185 cat conftest.err
>&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); } &&
14188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14189 { (case "(($ac_try" in
14190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14191 *) ac_try_echo=$ac_try;;
14193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14194 (eval "$ac_try") 2>&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; } &&
14198 { ac_try='test -s conftest$ac_exeext'
14199 { (case "(($ac_try" in
14200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14201 *) ac_try_echo
=$ac_try;;
14203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14204 (eval "$ac_try") 2>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 ac_cv_lib_capi20_capi20_register
=yes
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.
$ac_ext >&5
14213 ac_cv_lib_capi20_capi20_register
=no
14216 rm -f core conftest.err conftest.
$ac_objext \
14217 conftest
$ac_exeext conftest.
$ac_ext
14218 LIBS
=$ac_check_lib_save_LIBS
14220 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14221 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14222 if test $ac_cv_lib_capi20_capi20_register = yes; then
14224 cat >>confdefs.h
<<\_ACEOF
14225 #define HAVE_CAPI4LINUX 1
14235 if test "x${GCC}" = "xyes"
14237 EXTRACFLAGS
="-Wall -pipe"
14239 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14240 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14241 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14244 if test "$cross_compiling" = yes; then
14245 ac_cv_c_gcc_strength_bug
="yes"
14247 cat >conftest.
$ac_ext <<_ACEOF
14250 cat confdefs.h
>>conftest.
$ac_ext
14251 cat >>conftest.
$ac_ext <<_ACEOF
14252 /* end confdefs.h. */
14254 int L[4] = {0,1,2,3};
14256 static int Array[3];
14257 unsigned int B = 3;
14259 for(i=0; i<B; i++) Array[i] = i - 3;
14260 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14263 exit( Array[1] != -2 || L[2] != 3);
14266 rm -f conftest
$ac_exeext
14267 if { (ac_try
="$ac_link"
14268 case "(($ac_try" in
14269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14270 *) ac_try_echo=$ac_try;;
14272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14273 (eval "$ac_link") 2>&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14277 { (case "(($ac_try" in
14278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14279 *) ac_try_echo
=$ac_try;;
14281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14282 (eval "$ac_try") 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; }; then
14286 ac_cv_c_gcc_strength_bug
="no"
14288 echo "$as_me: program exited with status $ac_status" >&5
14289 echo "$as_me: failed program was:" >&5
14290 sed 's/^/| /' conftest.
$ac_ext >&5
14292 ( exit $ac_status )
14293 ac_cv_c_gcc_strength_bug
="yes"
14295 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14300 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14301 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14302 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14304 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14308 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14309 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14310 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 ac_wine_try_cflags_saved
=$CFLAGS
14314 CFLAGS
="$CFLAGS -fshort-wchar"
14315 cat >conftest.
$ac_ext <<_ACEOF
14318 cat confdefs.h
>>conftest.
$ac_ext
14319 cat >>conftest.
$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14330 rm -f conftest.
$ac_objext conftest
$ac_exeext
14331 if { (ac_try
="$ac_link"
14332 case "(($ac_try" in
14333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14334 *) ac_try_echo=$ac_try;;
14336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14337 (eval "$ac_link") 2>conftest.er1
14339 grep -v '^ *+' conftest.er1 >conftest.err
14341 cat conftest.err >&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); } &&
14344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14345 { (case "(($ac_try" in
14346 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14347 *) ac_try_echo
=$ac_try;;
14349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14350 (eval "$ac_try") 2>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try
='test -s conftest$ac_exeext'
14355 { (case "(($ac_try" in
14356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14357 *) ac_try_echo=$ac_try;;
14359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14360 (eval "$ac_try") 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14364 ac_cv_cflags__fshort_wchar=yes
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.$ac_ext >&5
14369 ac_cv_cflags__fshort_wchar=no
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14374 CFLAGS=$ac_wine_try_cflags_saved
14376 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14377 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14378 if test $ac_cv_cflags__fshort_wchar = yes; then
14380 cat >>confdefs.h <<\_ACEOF
14381 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14386 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14387 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14388 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14389 echo $ECHO_N "(cached) $ECHO_C" >&6
14391 ac_wine_try_cflags_saved=$CFLAGS
14392 CFLAGS="$CFLAGS -fno-strict-aliasing"
14393 cat >conftest.$ac_ext <<_ACEOF
14396 cat confdefs.h >>conftest.$ac_ext
14397 cat >>conftest.$ac_ext <<_ACEOF
14398 /* end confdefs.h. */
14408 rm -f conftest.$ac_objext conftest$ac_exeext
14409 if { (ac_try="$ac_link"
14410 case "(($ac_try" in
14411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14412 *) ac_try_echo
=$ac_try;;
14414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14415 (eval "$ac_link") 2>conftest.er1
14417 grep -v '^ *+' conftest.er1
>conftest.err
14419 cat conftest.err
>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } &&
14422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14423 { (case "(($ac_try" in
14424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14425 *) ac_try_echo=$ac_try;;
14427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14428 (eval "$ac_try") 2>&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try='test -s conftest$ac_exeext'
14433 { (case "(($ac_try" in
14434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14435 *) ac_try_echo
=$ac_try;;
14437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14438 (eval "$ac_try") 2>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; }; then
14442 ac_cv_cflags__fno_strict_aliasing
=yes
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.
$ac_ext >&5
14447 ac_cv_cflags__fno_strict_aliasing
=no
14450 rm -f core conftest.err conftest.
$ac_objext \
14451 conftest
$ac_exeext conftest.
$ac_ext
14452 CFLAGS
=$ac_wine_try_cflags_saved
14454 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14455 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14456 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14457 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
14460 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14461 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14462 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14463 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 ac_wine_try_cflags_saved
=$CFLAGS
14466 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
14467 cat >conftest.
$ac_ext <<_ACEOF
14470 cat confdefs.h
>>conftest.
$ac_ext
14471 cat >>conftest.
$ac_ext <<_ACEOF
14472 /* end confdefs.h. */
14482 rm -f conftest.
$ac_objext conftest
$ac_exeext
14483 if { (ac_try
="$ac_link"
14484 case "(($ac_try" in
14485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14486 *) ac_try_echo=$ac_try;;
14488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14489 (eval "$ac_link") 2>conftest.er1
14491 grep -v '^ *+' conftest.er1 >conftest.err
14493 cat conftest.err >&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); } &&
14496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14497 { (case "(($ac_try" in
14498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14499 *) ac_try_echo
=$ac_try;;
14501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14502 (eval "$ac_try") 2>&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; } &&
14506 { ac_try
='test -s conftest$ac_exeext'
14507 { (case "(($ac_try" in
14508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14509 *) ac_try_echo=$ac_try;;
14511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14512 (eval "$ac_try") 2>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); }; }; then
14516 ac_cv_cflags__Wdeclaration_after_statement=yes
14518 echo "$as_me: failed program was:" >&5
14519 sed 's/^/| /' conftest.$ac_ext >&5
14521 ac_cv_cflags__Wdeclaration_after_statement=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 CFLAGS=$ac_wine_try_cflags_saved
14528 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14529 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14530 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14531 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14534 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14535 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14536 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14539 ac_wine_try_cflags_saved=$CFLAGS
14540 CFLAGS="$CFLAGS -Wwrite-strings"
14541 cat >conftest.$ac_ext <<_ACEOF
14544 cat confdefs.h >>conftest.$ac_ext
14545 cat >>conftest.$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14556 rm -f conftest.$ac_objext conftest$ac_exeext
14557 if { (ac_try="$ac_link"
14558 case "(($ac_try" in
14559 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14560 *) ac_try_echo
=$ac_try;;
14562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14563 (eval "$ac_link") 2>conftest.er1
14565 grep -v '^ *+' conftest.er1
>conftest.err
14567 cat conftest.err
>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14571 { (case "(($ac_try" in
14572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14573 *) ac_try_echo=$ac_try;;
14575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14576 (eval "$ac_try") 2>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; } &&
14580 { ac_try='test -s conftest$ac_exeext'
14581 { (case "(($ac_try" in
14582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14583 *) ac_try_echo
=$ac_try;;
14585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14586 (eval "$ac_try") 2>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14590 ac_cv_cflags__Wwrite_strings
=yes
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.
$ac_ext >&5
14595 ac_cv_cflags__Wwrite_strings
=no
14598 rm -f core conftest.err conftest.
$ac_objext \
14599 conftest
$ac_exeext conftest.
$ac_ext
14600 CFLAGS
=$ac_wine_try_cflags_saved
14602 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14603 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14604 if test $ac_cv_cflags__Wwrite_strings = yes; then
14605 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14609 saved_CFLAGS
="$CFLAGS"
14610 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14611 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14612 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14613 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14614 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 cat >conftest.
$ac_ext <<_ACEOF
14619 cat confdefs.h
>>conftest.
$ac_ext
14620 cat >>conftest.
$ac_ext <<_ACEOF
14621 /* end confdefs.h. */
14622 #include <string.h>
14631 rm -f conftest.
$ac_objext
14632 if { (ac_try
="$ac_compile"
14633 case "(($ac_try" in
14634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14635 *) ac_try_echo=$ac_try;;
14637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14638 (eval "$ac_compile") 2>conftest.er1
14640 grep -v '^ *+' conftest.er1 >conftest.err
14642 cat conftest.err >&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); } &&
14645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14646 { (case "(($ac_try" in
14647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14648 *) ac_try_echo
=$ac_try;;
14650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14651 (eval "$ac_try") 2>&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); }; } &&
14655 { ac_try
='test -s conftest.$ac_objext'
14656 { (case "(($ac_try" in
14657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14658 *) ac_try_echo=$ac_try;;
14660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14661 (eval "$ac_try") 2>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 ac_cv_c_string_h_warnings=no
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14670 ac_cv_c_string_h_warnings=yes
14673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14675 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14676 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14677 CFLAGS="$saved_CFLAGS"
14678 if test "$ac_cv_c_string_h_warnings" = "no"
14680 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14685 saved_CFLAGS="$CFLAGS"
14686 CFLAGS="$CFLAGS -Werror"
14687 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14688 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14689 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 cat >conftest.$ac_ext <<_ACEOF
14695 cat confdefs.h >>conftest.$ac_ext
14696 cat >>conftest.$ac_ext <<_ACEOF
14697 /* end confdefs.h. */
14702 int iswlower(unsigned short);
14707 rm -f conftest.$ac_objext
14708 if { (ac_try="$ac_compile"
14709 case "(($ac_try" in
14710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14711 *) ac_try_echo
=$ac_try;;
14713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14714 (eval "$ac_compile") 2>conftest.er1
14716 grep -v '^ *+' conftest.er1
>conftest.err
14718 cat conftest.err
>&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); } &&
14721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14722 { (case "(($ac_try" in
14723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14724 *) ac_try_echo=$ac_try;;
14726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14727 (eval "$ac_try") 2>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; } &&
14731 { ac_try='test -s conftest.$ac_objext'
14732 { (case "(($ac_try" in
14733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14734 *) ac_try_echo
=$ac_try;;
14736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14737 (eval "$ac_try") 2>&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; }; then
14741 ac_cv_c_builtin_wchar_ctype
=no
14743 echo "$as_me: failed program was:" >&5
14744 sed 's/^/| /' conftest.
$ac_ext >&5
14746 ac_cv_c_builtin_wchar_ctype
=yes
14749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14751 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14752 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14753 CFLAGS
="$saved_CFLAGS"
14754 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14756 BUILTINFLAG
="-fno-builtin"
14761 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14762 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14763 if test "${ac_cv_asm_func_def+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 cat >conftest.
$ac_ext <<_ACEOF
14769 cat confdefs.h
>>conftest.
$ac_ext
14770 cat >>conftest.
$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14772 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"); }
14782 rm -f conftest.
$ac_objext conftest
$ac_exeext
14783 if { (ac_try
="$ac_link"
14784 case "(($ac_try" in
14785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14786 *) ac_try_echo=$ac_try;;
14788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14789 (eval "$ac_link") 2>conftest.er1
14791 grep -v '^ *+' conftest.er1 >conftest.err
14793 cat conftest.err >&5
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); } &&
14796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14797 { (case "(($ac_try" in
14798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14799 *) ac_try_echo
=$ac_try;;
14801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14802 (eval "$ac_try") 2>&5
14804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805 (exit $ac_status); }; } &&
14806 { ac_try
='test -s conftest$ac_exeext'
14807 { (case "(($ac_try" in
14808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14809 *) ac_try_echo=$ac_try;;
14811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14812 (eval "$ac_try") 2>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_cv_asm_func_def=".def"
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.$ac_ext >&5
14821 cat >conftest.$ac_ext <<_ACEOF
14824 cat confdefs.h >>conftest.$ac_ext
14825 cat >>conftest.$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14827 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14837 rm -f conftest.$ac_objext conftest$ac_exeext
14838 if { (ac_try="$ac_link"
14839 case "(($ac_try" in
14840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14841 *) ac_try_echo
=$ac_try;;
14843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14844 (eval "$ac_link") 2>conftest.er1
14846 grep -v '^ *+' conftest.er1
>conftest.err
14848 cat conftest.err
>&5
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); } &&
14851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14852 { (case "(($ac_try" in
14853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14854 *) ac_try_echo=$ac_try;;
14856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14857 (eval "$ac_try") 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; } &&
14861 { ac_try='test -s conftest$ac_exeext'
14862 { (case "(($ac_try" in
14863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14864 *) ac_try_echo
=$ac_try;;
14866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14867 (eval "$ac_try") 2>&5
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); }; }; then
14871 ac_cv_asm_func_def
=".type @function"
14873 echo "$as_me: failed program was:" >&5
14874 sed 's/^/| /' conftest.
$ac_ext >&5
14876 cat >conftest.
$ac_ext <<_ACEOF
14879 cat confdefs.h
>>conftest.
$ac_ext
14880 cat >>conftest.
$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14882 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14892 rm -f conftest.
$ac_objext conftest
$ac_exeext
14893 if { (ac_try
="$ac_link"
14894 case "(($ac_try" in
14895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14896 *) ac_try_echo=$ac_try;;
14898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14899 (eval "$ac_link") 2>conftest.er1
14901 grep -v '^ *+' conftest.er1 >conftest.err
14903 cat conftest.err >&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); } &&
14906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14907 { (case "(($ac_try" in
14908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14909 *) ac_try_echo
=$ac_try;;
14911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14912 (eval "$ac_try") 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; } &&
14916 { ac_try
='test -s conftest$ac_exeext'
14917 { (case "(($ac_try" in
14918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14919 *) ac_try_echo=$ac_try;;
14921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14922 (eval "$ac_try") 2>&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); }; }; then
14926 ac_cv_asm_func_def=".type 2"
14928 echo "$as_me: failed program was:" >&5
14929 sed 's/^/| /' conftest.$ac_ext >&5
14931 ac_cv_asm_func_def="unknown"
14934 rm -f core conftest.err conftest.$ac_objext \
14935 conftest$ac_exeext conftest.$ac_ext
14938 rm -f core conftest.err conftest.$ac_objext \
14939 conftest$ac_exeext conftest.$ac_ext
14942 rm -f core conftest.err conftest.$ac_objext \
14943 conftest$ac_exeext conftest.$ac_ext
14945 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14946 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14950 case "$ac_cv_asm_func_def" in
14952 cat >>confdefs.h <<\_ACEOF
14953 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14957 cat >>confdefs.h <<\_ACEOF
14958 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14962 cat >>confdefs.h <<\_ACEOF
14963 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14967 cat >>confdefs.h <<\_ACEOF
14968 #define __ASM_FUNC(name) ""
14974 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14975 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14976 if test "${ac_cv_c_extern_prefix+set}" = set; then
14977 echo $ECHO_N "(cached) $ECHO_C" >&6
14979 cat >conftest.$ac_ext <<_ACEOF
14982 cat confdefs.h >>conftest.$ac_ext
14983 cat >>conftest.$ac_ext <<_ACEOF
14984 /* end confdefs.h. */
14985 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
14986 extern int ac_test;
14990 if (ac_test) return 1
14995 rm -f conftest.$ac_objext conftest$ac_exeext
14996 if { (ac_try="$ac_link"
14997 case "(($ac_try" in
14998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14999 *) ac_try_echo
=$ac_try;;
15001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15002 (eval "$ac_link") 2>conftest.er1
15004 grep -v '^ *+' conftest.er1
>conftest.err
15006 cat conftest.err
>&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); } &&
15009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15010 { (case "(($ac_try" in
15011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15012 *) ac_try_echo=$ac_try;;
15014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15015 (eval "$ac_try") 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; } &&
15019 { ac_try='test -s conftest$ac_exeext'
15020 { (case "(($ac_try" in
15021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15022 *) ac_try_echo
=$ac_try;;
15024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15025 (eval "$ac_try") 2>&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); }; }; then
15029 ac_cv_c_extern_prefix
="yes"
15031 echo "$as_me: failed program was:" >&5
15032 sed 's/^/| /' conftest.
$ac_ext >&5
15034 ac_cv_c_extern_prefix
="no"
15037 rm -f core conftest.err conftest.
$ac_objext \
15038 conftest
$ac_exeext conftest.
$ac_ext
15040 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15041 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15045 if test "$ac_cv_c_extern_prefix" = "yes"
15047 cat >>confdefs.h
<<\_ACEOF
15048 #define __ASM_NAME(name) "_" name
15052 cat >>confdefs.h
<<\_ACEOF
15053 #define __ASM_NAME(name) name
15061 DLLFLAGS
="-D_REENTRANT"
15076 if test -n "$ac_tool_prefix"; then
15077 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15078 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15081 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15082 echo $ECHO_N "(cached) $ECHO_C" >&6
15084 if test -n "$DLLTOOL"; then
15085 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15088 for as_dir
in $PATH
15091 test -z "$as_dir" && as_dir
=.
15092 for ac_exec_ext
in '' $ac_executable_extensions; do
15093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15094 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15104 DLLTOOL
=$ac_cv_prog_DLLTOOL
15105 if test -n "$DLLTOOL"; then
15106 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15107 echo "${ECHO_T}$DLLTOOL" >&6; }
15109 { echo "$as_me:$LINENO: result: no" >&5
15110 echo "${ECHO_T}no" >&6; }
15115 if test -z "$ac_cv_prog_DLLTOOL"; then
15116 ac_ct_DLLTOOL
=$DLLTOOL
15117 # Extract the first word of "dlltool", so it can be a program name with args.
15118 set dummy dlltool
; ac_word
=$2
15119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15121 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15122 echo $ECHO_N "(cached) $ECHO_C" >&6
15124 if test -n "$ac_ct_DLLTOOL"; then
15125 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15128 for as_dir
in $PATH
15131 test -z "$as_dir" && as_dir
=.
15132 for ac_exec_ext
in '' $ac_executable_extensions; do
15133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15134 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15144 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15145 if test -n "$ac_ct_DLLTOOL"; then
15146 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15147 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15149 { echo "$as_me:$LINENO: result: no" >&5
15150 echo "${ECHO_T}no" >&6; }
15153 if test "x$ac_ct_DLLTOOL" = x
; then
15156 case $cross_compiling:$ac_tool_warned in
15158 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15159 whose name does not start with the host triplet. If you think this
15160 configuration is useful to you, please write to autoconf@gnu.org." >&5
15161 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15162 whose name does not start with the host triplet. If you think this
15163 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15164 ac_tool_warned
=yes ;;
15166 DLLTOOL
=$ac_ct_DLLTOOL
15169 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15172 if test -n "$ac_tool_prefix"; then
15173 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15174 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
15175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15177 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15180 if test -n "$DLLWRAP"; then
15181 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
15183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15184 for as_dir
in $PATH
15187 test -z "$as_dir" && as_dir
=.
15188 for ac_exec_ext
in '' $ac_executable_extensions; do
15189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15190 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
15191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15200 DLLWRAP
=$ac_cv_prog_DLLWRAP
15201 if test -n "$DLLWRAP"; then
15202 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15203 echo "${ECHO_T}$DLLWRAP" >&6; }
15205 { echo "$as_me:$LINENO: result: no" >&5
15206 echo "${ECHO_T}no" >&6; }
15211 if test -z "$ac_cv_prog_DLLWRAP"; then
15212 ac_ct_DLLWRAP
=$DLLWRAP
15213 # Extract the first word of "dllwrap", so it can be a program name with args.
15214 set dummy dllwrap
; ac_word
=$2
15215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15217 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15218 echo $ECHO_N "(cached) $ECHO_C" >&6
15220 if test -n "$ac_ct_DLLWRAP"; then
15221 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
15223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15224 for as_dir
in $PATH
15227 test -z "$as_dir" && as_dir
=.
15228 for ac_exec_ext
in '' $ac_executable_extensions; do
15229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15230 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
15231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15240 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
15241 if test -n "$ac_ct_DLLWRAP"; then
15242 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15243 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15245 { echo "$as_me:$LINENO: result: no" >&5
15246 echo "${ECHO_T}no" >&6; }
15249 if test "x$ac_ct_DLLWRAP" = x
; then
15252 case $cross_compiling:$ac_tool_warned in
15254 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15255 whose name does not start with the host triplet. If you think this
15256 configuration is useful to you, please write to autoconf@gnu.org." >&5
15257 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15258 whose name does not start with the host triplet. If you think this
15259 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15260 ac_tool_warned
=yes ;;
15262 DLLWRAP
=$ac_ct_DLLWRAP
15265 DLLWRAP
="$ac_cv_prog_DLLWRAP"
15268 if test "$DLLWRAP" = "false"; then
15280 DLLFLAGS
="$DLLFLAGS -fPIC"
15281 LDDLLFLAGS
="-bundle -multiply_defined suppress"
15282 LIBWINE_LDFLAGS
="-multiply_defined suppress"
15283 LDSHARED
="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15284 STRIP
="$STRIP -u -r"
15285 COREFOUNDATIONLIB
="-framework CoreFoundation"
15287 IOKITLIB
="-framework IOKit -framework CoreFoundation"
15289 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
15291 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15293 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15295 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15300 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
15304 DLLFLAGS
="$DLLFLAGS -fPIC"
15306 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15307 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15308 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15309 echo $ECHO_N "(cached) $ECHO_C" >&6
15311 ac_wine_try_cflags_saved
=$CFLAGS
15312 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15313 cat >conftest.
$ac_ext <<_ACEOF
15316 rm -f conftest.
$ac_objext conftest
$ac_exeext
15317 if { (ac_try
="$ac_link"
15318 case "(($ac_try" in
15319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15320 *) ac_try_echo=$ac_try;;
15322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15323 (eval "$ac_link") 2>conftest.er1
15325 grep -v '^ *+' conftest.er1 >conftest.err
15327 cat conftest.err >&5
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); } &&
15330 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15331 { (case "(($ac_try" in
15332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15333 *) ac_try_echo
=$ac_try;;
15335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15336 (eval "$ac_try") 2>&5
15338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339 (exit $ac_status); }; } &&
15340 { ac_try
='test -s conftest$ac_exeext'
15341 { (case "(($ac_try" in
15342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15343 *) ac_try_echo=$ac_try;;
15345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15346 (eval "$ac_try") 2>&5
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); }; }; then
15350 ac_cv_c_dll_gnuelf="yes"
15352 echo "$as_me: failed program was:" >&5
15353 sed 's/^/| /' conftest.$ac_ext >&5
15355 ac_cv_c_dll_gnuelf="no"
15358 rm -f core conftest.err conftest.$ac_objext \
15359 conftest$ac_exeext conftest.$ac_ext
15360 CFLAGS=$ac_wine_try_cflags_saved
15362 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15363 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15364 if test "$ac_cv_c_dll_gnuelf" = "yes"
15366 LDSHARED="\$(CC) -shared"
15367 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15368 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15369 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15370 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15371 echo $ECHO_N "(cached) $ECHO_C" >&6
15373 ac_wine_try_cflags_saved=$CFLAGS
15374 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15375 cat >conftest.$ac_ext <<_ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15390 rm -f conftest.$ac_objext conftest$ac_exeext
15391 if { (ac_try="$ac_link"
15392 case "(($ac_try" in
15393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15394 *) ac_try_echo
=$ac_try;;
15396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15397 (eval "$ac_link") 2>conftest.er1
15399 grep -v '^ *+' conftest.er1
>conftest.err
15401 cat conftest.err
>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } &&
15404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15405 { (case "(($ac_try" in
15406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15407 *) ac_try_echo=$ac_try;;
15409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15410 (eval "$ac_try") 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; } &&
15414 { ac_try='test -s conftest$ac_exeext'
15415 { (case "(($ac_try" in
15416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15417 *) ac_try_echo
=$ac_try;;
15419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15420 (eval "$ac_try") 2>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; }; then
15424 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
15426 echo "$as_me: failed program was:" >&5
15427 sed 's/^/| /' conftest.
$ac_ext >&5
15429 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
15432 rm -f core conftest.err conftest.
$ac_objext \
15433 conftest
$ac_exeext conftest.
$ac_ext
15434 CFLAGS
=$ac_wine_try_cflags_saved
15436 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15437 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15438 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15439 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15441 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15442 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15443 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15444 echo $ECHO_N "(cached) $ECHO_C" >&6
15446 ac_wine_try_cflags_saved
=$CFLAGS
15447 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15448 cat >conftest.
$ac_ext <<_ACEOF
15451 cat confdefs.h
>>conftest.
$ac_ext
15452 cat >>conftest.
$ac_ext <<_ACEOF
15453 /* end confdefs.h. */
15463 rm -f conftest.
$ac_objext conftest
$ac_exeext
15464 if { (ac_try
="$ac_link"
15465 case "(($ac_try" in
15466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15467 *) ac_try_echo=$ac_try;;
15469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15470 (eval "$ac_link") 2>conftest.er1
15472 grep -v '^ *+' conftest.er1 >conftest.err
15474 cat conftest.err >&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); } &&
15477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15478 { (case "(($ac_try" in
15479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15480 *) ac_try_echo
=$ac_try;;
15482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15483 (eval "$ac_try") 2>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; } &&
15487 { ac_try
='test -s conftest$ac_exeext'
15488 { (case "(($ac_try" in
15489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15490 *) ac_try_echo=$ac_try;;
15492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15493 (eval "$ac_try") 2>&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); }; }; then
15497 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
15499 echo "$as_me: failed program was:" >&5
15500 sed 's/^/| /' conftest.$ac_ext >&5
15502 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext conftest.$ac_ext
15507 CFLAGS=$ac_wine_try_cflags_saved
15509 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15510 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15511 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15512 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15518 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15519 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15520 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15521 echo $ECHO_N "(cached) $ECHO_C" >&6
15523 ac_wine_try_cflags_saved=$CFLAGS
15524 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15525 cat >conftest.$ac_ext <<_ACEOF
15528 cat confdefs.h >>conftest.$ac_ext
15529 cat >>conftest.$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15540 rm -f conftest.$ac_objext conftest$ac_exeext
15541 if { (ac_try="$ac_link"
15542 case "(($ac_try" in
15543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15544 *) ac_try_echo
=$ac_try;;
15546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15547 (eval "$ac_link") 2>conftest.er1
15549 grep -v '^ *+' conftest.er1
>conftest.err
15551 cat conftest.err
>&5
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); } &&
15554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15555 { (case "(($ac_try" in
15556 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15557 *) ac_try_echo=$ac_try;;
15559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15560 (eval "$ac_try") 2>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; } &&
15564 { ac_try='test -s conftest$ac_exeext'
15565 { (case "(($ac_try" in
15566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15567 *) ac_try_echo
=$ac_try;;
15569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15570 (eval "$ac_try") 2>&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); }; }; then
15574 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
15576 echo "$as_me: failed program was:" >&5
15577 sed 's/^/| /' conftest.
$ac_ext >&5
15579 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
15582 rm -f core conftest.err conftest.
$ac_objext \
15583 conftest
$ac_exeext conftest.
$ac_ext
15584 CFLAGS
=$ac_wine_try_cflags_saved
15586 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15587 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15588 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15589 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
15593 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15594 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15595 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15596 echo $ECHO_N "(cached) $ECHO_C" >&6
15598 ac_wine_try_cflags_saved
=$CFLAGS
15599 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15600 cat >conftest.
$ac_ext <<_ACEOF
15603 cat confdefs.h
>>conftest.
$ac_ext
15604 cat >>conftest.
$ac_ext <<_ACEOF
15605 /* end confdefs.h. */
15615 rm -f conftest.
$ac_objext conftest
$ac_exeext
15616 if { (ac_try
="$ac_link"
15617 case "(($ac_try" in
15618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15619 *) ac_try_echo=$ac_try;;
15621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15622 (eval "$ac_link") 2>conftest.er1
15624 grep -v '^ *+' conftest.er1 >conftest.err
15626 cat conftest.err >&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); } &&
15629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15630 { (case "(($ac_try" in
15631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15632 *) ac_try_echo
=$ac_try;;
15634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15635 (eval "$ac_try") 2>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); }; } &&
15639 { ac_try
='test -s conftest$ac_exeext'
15640 { (case "(($ac_try" in
15641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15642 *) ac_try_echo=$ac_try;;
15644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15645 (eval "$ac_try") 2>&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; }; then
15649 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
15651 echo "$as_me: failed program was:" >&5
15652 sed 's/^/| /' conftest.$ac_ext >&5
15654 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
15657 rm -f core conftest.err conftest.$ac_objext \
15658 conftest$ac_exeext conftest.$ac_ext
15659 CFLAGS=$ac_wine_try_cflags_saved
15661 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15662 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15663 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15664 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15668 echo '{ global: *; };' >conftest.map
15669 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15670 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15671 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 ac_wine_try_cflags_saved=$CFLAGS
15675 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15676 cat >conftest.$ac_ext <<_ACEOF
15679 cat confdefs.h >>conftest.$ac_ext
15680 cat >>conftest.$ac_ext <<_ACEOF
15681 /* end confdefs.h. */
15691 rm -f conftest.$ac_objext conftest$ac_exeext
15692 if { (ac_try="$ac_link"
15693 case "(($ac_try" in
15694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15695 *) ac_try_echo
=$ac_try;;
15697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15698 (eval "$ac_link") 2>conftest.er1
15700 grep -v '^ *+' conftest.er1
>conftest.err
15702 cat conftest.err
>&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } &&
15705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15706 { (case "(($ac_try" in
15707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15708 *) ac_try_echo=$ac_try;;
15710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15711 (eval "$ac_try") 2>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; } &&
15715 { ac_try='test -s conftest$ac_exeext'
15716 { (case "(($ac_try" in
15717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15718 *) ac_try_echo
=$ac_try;;
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_try") 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15725 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.
$ac_ext >&5
15730 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
15733 rm -f core conftest.err conftest.
$ac_objext \
15734 conftest
$ac_exeext conftest.
$ac_ext
15735 CFLAGS
=$ac_wine_try_cflags_saved
15737 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15738 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15739 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15740 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15745 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15746 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15747 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15748 echo $ECHO_N "(cached) $ECHO_C" >&6
15750 ac_wine_try_cflags_saved
=$CFLAGS
15751 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
15752 cat >conftest.
$ac_ext <<_ACEOF
15755 cat confdefs.h
>>conftest.
$ac_ext
15756 cat >>conftest.
$ac_ext <<_ACEOF
15757 /* end confdefs.h. */
15767 rm -f conftest.
$ac_objext conftest
$ac_exeext
15768 if { (ac_try
="$ac_link"
15769 case "(($ac_try" in
15770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15771 *) ac_try_echo=$ac_try;;
15773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15774 (eval "$ac_link") 2>conftest.er1
15776 grep -v '^ *+' conftest.er1 >conftest.err
15778 cat conftest.err >&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); } &&
15781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15782 { (case "(($ac_try" in
15783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15784 *) ac_try_echo
=$ac_try;;
15786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15787 (eval "$ac_try") 2>&5
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); }; } &&
15791 { ac_try
='test -s conftest$ac_exeext'
15792 { (case "(($ac_try" in
15793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15794 *) ac_try_echo=$ac_try;;
15796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15797 (eval "$ac_try") 2>&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); }; }; then
15801 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
15803 echo "$as_me: failed program was:" >&5
15804 sed 's/^/| /' conftest.$ac_ext >&5
15806 ac_cv_cflags__fPIC__Wl___export_dynamic=no
15809 rm -f core conftest.err conftest.$ac_objext \
15810 conftest$ac_exeext conftest.$ac_ext
15811 CFLAGS=$ac_wine_try_cflags_saved
15813 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15814 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15815 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15816 LDEXECFLAGS="-Wl,--export-dynamic"
15821 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" |
$as_tr_sh`
15822 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15823 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15825 echo $ECHO_N "(cached) $ECHO_C" >&6
15827 ac_wine_try_cflags_saved=$CFLAGS
15828 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15829 cat >conftest.$ac_ext <<_ACEOF
15832 cat confdefs.h >>conftest.$ac_ext
15833 cat >>conftest.$ac_ext <<_ACEOF
15834 /* end confdefs.h. */
15844 rm -f conftest.$ac_objext conftest$ac_exeext
15845 if { (ac_try="$ac_link"
15846 case "(($ac_try" in
15847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15848 *) ac_try_echo
=$ac_try;;
15850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15851 (eval "$ac_link") 2>conftest.er1
15853 grep -v '^ *+' conftest.er1
>conftest.err
15855 cat conftest.err
>&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } &&
15858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15859 { (case "(($ac_try" in
15860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15861 *) ac_try_echo=$ac_try;;
15863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15864 (eval "$ac_try") 2>&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); }; } &&
15868 { ac_try='test -s conftest$ac_exeext'
15869 { (case "(($ac_try" in
15870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15871 *) ac_try_echo
=$ac_try;;
15873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15874 (eval "$ac_try") 2>&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); }; }; then
15878 eval "$as_ac_var=yes"
15880 echo "$as_me: failed program was:" >&5
15881 sed 's/^/| /' conftest.
$ac_ext >&5
15883 eval "$as_ac_var=no"
15886 rm -f core conftest.err conftest.
$ac_objext \
15887 conftest
$ac_exeext conftest.
$ac_ext
15888 CFLAGS
=$ac_wine_try_cflags_saved
15890 ac_res
=`eval echo '${'$as_ac_var'}'`
15891 { echo "$as_me:$LINENO: result: $ac_res" >&5
15892 echo "${ECHO_T}$ac_res" >&6; }
15893 if test `eval echo '${'$as_ac_var'}'` = yes; then
15894 LIBWINE_LDFLAGS
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15899 *i
[3456789]86* | x86_64
)
15900 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15901 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15902 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15903 echo $ECHO_N "(cached) $ECHO_C" >&6
15905 ac_wine_try_cflags_saved
=$CFLAGS
15906 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15907 cat >conftest.
$ac_ext <<_ACEOF
15910 cat confdefs.h
>>conftest.
$ac_ext
15911 cat >>conftest.
$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15922 rm -f conftest.
$ac_objext conftest
$ac_exeext
15923 if { (ac_try
="$ac_link"
15924 case "(($ac_try" in
15925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15926 *) ac_try_echo=$ac_try;;
15928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15929 (eval "$ac_link") 2>conftest.er1
15931 grep -v '^ *+' conftest.er1 >conftest.err
15933 cat conftest.err >&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); } &&
15936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15937 { (case "(($ac_try" in
15938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15939 *) ac_try_echo
=$ac_try;;
15941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15942 (eval "$ac_try") 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; } &&
15946 { ac_try
='test -s conftest$ac_exeext'
15947 { (case "(($ac_try" in
15948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15949 *) ac_try_echo=$ac_try;;
15951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15952 (eval "$ac_try") 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; }; then
15956 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
15958 echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.$ac_ext >&5
15961 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
15964 rm -f core conftest.err conftest.$ac_objext \
15965 conftest$ac_exeext conftest.$ac_ext
15966 CFLAGS=$ac_wine_try_cflags_saved
15968 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
15969 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
15970 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
15971 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
15978 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
15979 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
15980 if test "${ac_cv_c_dll_unixware+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15983 ac_wine_try_cflags_saved=$CFLAGS
15984 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
15985 cat >conftest.$ac_ext <<_ACEOF
15988 rm -f conftest.$ac_objext conftest$ac_exeext
15989 if { (ac_try="$ac_link"
15990 case "(($ac_try" in
15991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15992 *) ac_try_echo
=$ac_try;;
15994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15995 (eval "$ac_link") 2>conftest.er1
15997 grep -v '^ *+' conftest.er1
>conftest.err
15999 cat conftest.err
>&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); } &&
16002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16003 { (case "(($ac_try" in
16004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16005 *) ac_try_echo=$ac_try;;
16007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16008 (eval "$ac_try") 2>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; } &&
16012 { ac_try='test -s conftest$ac_exeext'
16013 { (case "(($ac_try" in
16014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16015 *) ac_try_echo
=$ac_try;;
16017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16018 (eval "$ac_try") 2>&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); }; }; then
16022 ac_cv_c_dll_unixware
="yes"
16024 echo "$as_me: failed program was:" >&5
16025 sed 's/^/| /' conftest.
$ac_ext >&5
16027 ac_cv_c_dll_unixware
="no"
16030 rm -f core conftest.err conftest.
$ac_objext \
16031 conftest
$ac_exeext conftest.
$ac_ext
16032 CFLAGS
=$ac_wine_try_cflags_saved
16034 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16035 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16036 if test "$ac_cv_c_dll_unixware" = "yes"
16038 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16039 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
16042 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16043 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16044 if test "${ac_cv_c_dll_hpux+set}" = set; then
16045 echo $ECHO_N "(cached) $ECHO_C" >&6
16047 ac_wine_try_cflags_saved
=$CFLAGS
16048 CFLAGS
="$CFLAGS -shared"
16049 cat >conftest.
$ac_ext <<_ACEOF
16052 rm -f conftest.
$ac_objext conftest
$ac_exeext
16053 if { (ac_try
="$ac_link"
16054 case "(($ac_try" in
16055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16056 *) ac_try_echo=$ac_try;;
16058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16059 (eval "$ac_link") 2>conftest.er1
16061 grep -v '^ *+' conftest.er1 >conftest.err
16063 cat conftest.err >&5
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } &&
16066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16067 { (case "(($ac_try" in
16068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16069 *) ac_try_echo
=$ac_try;;
16071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16072 (eval "$ac_try") 2>&5
16074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075 (exit $ac_status); }; } &&
16076 { ac_try
='test -s conftest$ac_exeext'
16077 { (case "(($ac_try" in
16078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16079 *) ac_try_echo=$ac_try;;
16081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16082 (eval "$ac_try") 2>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; }; then
16086 ac_cv_c_dll_hpux="yes"
16088 echo "$as_me: failed program was:" >&5
16089 sed 's/^/| /' conftest.$ac_ext >&5
16091 ac_cv_c_dll_hpux="no"
16094 rm -f core conftest.err conftest.$ac_objext \
16095 conftest$ac_exeext conftest.$ac_ext
16096 CFLAGS=$ac_wine_try_cflags_saved
16098 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16099 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16100 if test "$ac_cv_c_dll_hpux" = "yes"
16104 LDDLLFLAGS="-shared -fPIC"
16105 LDSHARED="\$(CC) -shared"
16112 if test "$cross_compiling" = "no"
16114 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
16116 # Extract the first word of "$ac_prog", so it can be a program name with args.
16117 set dummy $ac_prog; ac_word=$2
16118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16120 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16121 echo $ECHO_N "(cached) $ECHO_C" >&6
16123 if test -n "$CROSSCC"; then
16124 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16127 for as_dir in $PATH
16130 test -z "$as_dir" && as_dir=.
16131 for ac_exec_ext in '' $ac_executable_extensions; do
16132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16133 ac_cv_prog_CROSSCC="$ac_prog"
16134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16143 CROSSCC=$ac_cv_prog_CROSSCC
16144 if test -n "$CROSSCC"; then
16145 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16146 echo "${ECHO_T}$CROSSCC" >&6; }
16148 { echo "$as_me:$LINENO: result: no" >&5
16149 echo "${ECHO_T}no" >&6; }
16153 test -n "$CROSSCC" && break
16155 test -n "$CROSSCC" || CROSSCC="false"
16157 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
16159 # Extract the first word of "$ac_prog", so it can be a program name with args.
16160 set dummy $ac_prog; ac_word=$2
16161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16163 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16164 echo $ECHO_N "(cached) $ECHO_C" >&6
16166 if test -n "$DLLTOOL"; then
16167 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16170 for as_dir in $PATH
16173 test -z "$as_dir" && as_dir=.
16174 for ac_exec_ext in '' $ac_executable_extensions; do
16175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16176 ac_cv_prog_DLLTOOL="$ac_prog"
16177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16186 DLLTOOL=$ac_cv_prog_DLLTOOL
16187 if test -n "$DLLTOOL"; then
16188 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16189 echo "${ECHO_T}$DLLTOOL" >&6; }
16191 { echo "$as_me:$LINENO: result: no" >&5
16192 echo "${ECHO_T}no" >&6; }
16196 test -n "$DLLTOOL" && break
16198 test -n "$DLLTOOL" || DLLTOOL="false"
16200 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
16202 # Extract the first word of "$ac_prog", so it can be a program name with args.
16203 set dummy $ac_prog; ac_word=$2
16204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16206 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 if test -n "$CROSSWINDRES"; then
16210 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16213 for as_dir in $PATH
16216 test -z "$as_dir" && as_dir=.
16217 for ac_exec_ext in '' $ac_executable_extensions; do
16218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16219 ac_cv_prog_CROSSWINDRES="$ac_prog"
16220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16229 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16230 if test -n "$CROSSWINDRES"; then
16231 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16232 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16234 { echo "$as_me:$LINENO: result: no" >&5
16235 echo "${ECHO_T}no" >&6; }
16239 test -n "$CROSSWINDRES" && break
16241 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16243 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16248 if test "$LIBEXT" = "a"; then
16249 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16250 It is currently not possible to build Wine without shared library
16251 (.so) support to allow transparent switch between .so and .dll files.
16252 If you are using Linux, you will need a newer binutils.
16254 echo "$as_me: error: could not find a way to build shared libraries.
16255 It is currently not possible to build Wine without shared library
16256 (.so) support to allow transparent switch between .so and .dll files.
16257 If you are using Linux, you will need a newer binutils.
16259 { (exit 1); exit 1; }; }
16264 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16267 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16270 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16278 SOCKETLIBS="-lws2_32"
16283 MAIN_BINARY="wine-pthread"
16287 linux* | k*bsd*-gnu)
16288 MAIN_BINARY="wine-glibc"
16290 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16297 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16299 # Extract the first word of "ldd", so it can be a program name with args.
16300 set dummy ldd; ac_word=$2
16301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16303 if test "${ac_cv_path_LDD+set}" = set; then
16304 echo $ECHO_N "(cached) $ECHO_C" >&6
16308 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16312 as_dummy="/sbin:/usr/sbin:$PATH"
16313 for as_dir in $as_dummy
16316 test -z "$as_dir" && as_dir=.
16317 for ac_exec_ext in '' $ac_executable_extensions; do
16318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16319 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16327 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16331 LDD=$ac_cv_path_LDD
16332 if test -n "$LDD"; then
16333 { echo "$as_me:$LINENO: result: $LDD" >&5
16334 echo "${ECHO_T}$LDD" >&6; }
16336 { echo "$as_me:$LINENO: result: no" >&5
16337 echo "${ECHO_T}no" >&6; }
16341 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16342 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16343 if test "${ac_cv_lib_soname_X11+set}" = set; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16346 ac_get_soname_save_LIBS=$LIBS
16347 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16348 cat >conftest.$ac_ext <<_ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16355 /* Override any GCC internal prototype to avoid an error.
16356 Use char because int might match the return type of a GCC
16357 builtin and then its argument prototype would still apply. */
16361 char XCreateWindow ();
16365 return XCreateWindow ();
16370 rm -f conftest.$ac_objext conftest$ac_exeext
16371 if { (ac_try="$ac_link"
16372 case "(($ac_try" in
16373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16374 *) ac_try_echo
=$ac_try;;
16376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16377 (eval "$ac_link") 2>conftest.er1
16379 grep -v '^ *+' conftest.er1
>conftest.err
16381 cat conftest.err
>&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); } &&
16384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16385 { (case "(($ac_try" in
16386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16387 *) ac_try_echo=$ac_try;;
16389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16390 (eval "$ac_try") 2>&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try='test -s conftest$ac_exeext'
16395 { (case "(($ac_try" in
16396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16397 *) ac_try_echo
=$ac_try;;
16399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16400 (eval "$ac_try") 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; }; then
16405 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'` ;;
16406 so
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16408 if test "x$ac_cv_lib_soname_X11" = "x"
16410 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
16413 echo "$as_me: failed program was:" >&5
16414 sed 's/^/| /' conftest.
$ac_ext >&5
16416 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
16419 rm -f core conftest.err conftest.
$ac_objext \
16420 conftest
$ac_exeext conftest.
$ac_ext
16421 LIBS
=$ac_get_soname_save_LIBS
16423 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16424 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16425 if test "${ac_cv_lib_soname_X11+set}" = set; then
16427 cat >>confdefs.h
<<_ACEOF
16428 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16433 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16434 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16435 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 ac_get_soname_save_LIBS
=$LIBS
16439 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16440 cat >conftest.
$ac_ext <<_ACEOF
16443 cat confdefs.h
>>conftest.
$ac_ext
16444 cat >>conftest.
$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16447 /* Override any GCC internal prototype to avoid an error.
16448 Use char because int might match the return type of a GCC
16449 builtin and then its argument prototype would still apply. */
16453 char XextCreateExtension ();
16457 return XextCreateExtension ();
16462 rm -f conftest.
$ac_objext conftest
$ac_exeext
16463 if { (ac_try
="$ac_link"
16464 case "(($ac_try" in
16465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16466 *) ac_try_echo=$ac_try;;
16468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16469 (eval "$ac_link") 2>conftest.er1
16471 grep -v '^ *+' conftest.er1 >conftest.err
16473 cat conftest.err >&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); } &&
16476 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16477 { (case "(($ac_try" in
16478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16479 *) ac_try_echo
=$ac_try;;
16481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16482 (eval "$ac_try") 2>&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); }; } &&
16486 { ac_try
='test -s conftest$ac_exeext'
16487 { (case "(($ac_try" in
16488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16489 *) ac_try_echo=$ac_try;;
16491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16492 (eval "$ac_try") 2>&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); }; }; then
16497 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'` ;;
16498 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXext
\\.so |
sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16500 if test "x$ac_cv_lib_soname_Xext" = "x"
16502 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16508 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16511 rm -f core conftest.err conftest.$ac_objext \
16512 conftest$ac_exeext conftest.$ac_ext
16513 LIBS=$ac_get_soname_save_LIBS
16515 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16516 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16517 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16519 cat >>confdefs.h <<_ACEOF
16520 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16525 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16526 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16527 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16528 echo $ECHO_N "(cached) $ECHO_C" >&6
16530 ac_get_soname_save_LIBS=$LIBS
16531 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16532 cat >conftest.$ac_ext <<_ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16539 /* Override any GCC internal prototype to avoid an error.
16540 Use char because int might match the return type of a GCC
16541 builtin and then its argument prototype would still apply. */
16545 char XOpenDevice ();
16549 return XOpenDevice ();
16554 rm -f conftest.$ac_objext conftest$ac_exeext
16555 if { (ac_try="$ac_link"
16556 case "(($ac_try" in
16557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16558 *) ac_try_echo
=$ac_try;;
16560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16561 (eval "$ac_link") 2>conftest.er1
16563 grep -v '^ *+' conftest.er1
>conftest.err
16565 cat conftest.err
>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } &&
16568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16569 { (case "(($ac_try" in
16570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16571 *) ac_try_echo=$ac_try;;
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_try") 2>&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; } &&
16578 { ac_try='test -s conftest$ac_exeext'
16579 { (case "(($ac_try" in
16580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16581 *) ac_try_echo
=$ac_try;;
16583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16584 (eval "$ac_try") 2>&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16589 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'` ;;
16590 so
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16592 if test "x$ac_cv_lib_soname_Xi" = "x"
16594 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
16597 echo "$as_me: failed program was:" >&5
16598 sed 's/^/| /' conftest.
$ac_ext >&5
16600 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
16603 rm -f core conftest.err conftest.
$ac_objext \
16604 conftest
$ac_exeext conftest.
$ac_ext
16605 LIBS
=$ac_get_soname_save_LIBS
16607 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16608 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16609 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16611 cat >>confdefs.h
<<_ACEOF
16612 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16617 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16618 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16619 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16620 echo $ECHO_N "(cached) $ECHO_C" >&6
16622 ac_get_soname_save_LIBS
=$LIBS
16623 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16624 cat >conftest.
$ac_ext <<_ACEOF
16627 cat confdefs.h
>>conftest.
$ac_ext
16628 cat >>conftest.
$ac_ext <<_ACEOF
16629 /* end confdefs.h. */
16631 /* Override any GCC internal prototype to avoid an error.
16632 Use char because int might match the return type of a GCC
16633 builtin and then its argument prototype would still apply. */
16637 char XRenderQueryExtension ();
16641 return XRenderQueryExtension ();
16646 rm -f conftest.
$ac_objext conftest
$ac_exeext
16647 if { (ac_try
="$ac_link"
16648 case "(($ac_try" in
16649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16650 *) ac_try_echo=$ac_try;;
16652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16653 (eval "$ac_link") 2>conftest.er1
16655 grep -v '^ *+' conftest.er1 >conftest.err
16657 cat conftest.err >&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); } &&
16660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16661 { (case "(($ac_try" in
16662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16663 *) ac_try_echo
=$ac_try;;
16665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16666 (eval "$ac_try") 2>&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; } &&
16670 { ac_try
='test -s conftest$ac_exeext'
16671 { (case "(($ac_try" in
16672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16673 *) ac_try_echo=$ac_try;;
16675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16676 (eval "$ac_try") 2>&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }; }; then
16681 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'` ;;
16682 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrender
\\.so |
sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16684 if test "x$ac_cv_lib_soname_Xrender" = "x"
16686 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16692 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16697 LIBS=$ac_get_soname_save_LIBS
16699 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16700 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16701 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16703 cat >>confdefs.h <<_ACEOF
16704 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16709 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16710 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16711 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16712 echo $ECHO_N "(cached) $ECHO_C" >&6
16714 ac_get_soname_save_LIBS=$LIBS
16715 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16716 cat >conftest.$ac_ext <<_ACEOF
16719 cat confdefs.h >>conftest.$ac_ext
16720 cat >>conftest.$ac_ext <<_ACEOF
16721 /* end confdefs.h. */
16723 /* Override any GCC internal prototype to avoid an error.
16724 Use char because int might match the return type of a GCC
16725 builtin and then its argument prototype would still apply. */
16729 char XRRQueryExtension ();
16733 return XRRQueryExtension ();
16738 rm -f conftest.$ac_objext conftest$ac_exeext
16739 if { (ac_try="$ac_link"
16740 case "(($ac_try" in
16741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16742 *) ac_try_echo
=$ac_try;;
16744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16745 (eval "$ac_link") 2>conftest.er1
16747 grep -v '^ *+' conftest.er1
>conftest.err
16749 cat conftest.err
>&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16753 { (case "(($ac_try" in
16754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16755 *) ac_try_echo=$ac_try;;
16757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16758 (eval "$ac_try") 2>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; } &&
16762 { ac_try='test -s conftest$ac_exeext'
16763 { (case "(($ac_try" in
16764 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16765 *) ac_try_echo
=$ac_try;;
16767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16768 (eval "$ac_try") 2>&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); }; }; then
16773 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'` ;;
16774 so
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16776 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16778 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
16781 echo "$as_me: failed program was:" >&5
16782 sed 's/^/| /' conftest.
$ac_ext >&5
16784 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
16787 rm -f core conftest.err conftest.
$ac_objext \
16788 conftest
$ac_exeext conftest.
$ac_ext
16789 LIBS
=$ac_get_soname_save_LIBS
16791 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16792 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16793 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16795 cat >>confdefs.h
<<_ACEOF
16796 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16801 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16802 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16803 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 ac_get_soname_save_LIBS
=$LIBS
16807 LIBS
="-lfreetype $X_LIBS $LIBS"
16808 cat >conftest.
$ac_ext <<_ACEOF
16811 cat confdefs.h
>>conftest.
$ac_ext
16812 cat >>conftest.
$ac_ext <<_ACEOF
16813 /* end confdefs.h. */
16815 /* Override any GCC internal prototype to avoid an error.
16816 Use char because int might match the return type of a GCC
16817 builtin and then its argument prototype would still apply. */
16821 char FT_Init_FreeType ();
16825 return FT_Init_FreeType ();
16830 rm -f conftest.
$ac_objext conftest
$ac_exeext
16831 if { (ac_try
="$ac_link"
16832 case "(($ac_try" in
16833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16834 *) ac_try_echo=$ac_try;;
16836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16837 (eval "$ac_link") 2>conftest.er1
16839 grep -v '^ *+' conftest.er1 >conftest.err
16841 cat conftest.err >&5
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); } &&
16844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16845 { (case "(($ac_try" in
16846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16847 *) ac_try_echo
=$ac_try;;
16849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16850 (eval "$ac_try") 2>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); }; } &&
16854 { ac_try
='test -s conftest$ac_exeext'
16855 { (case "(($ac_try" in
16856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16857 *) ac_try_echo=$ac_try;;
16859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16860 (eval "$ac_try") 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16865 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'` ;;
16866 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfreetype
\\.so |
sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16868 if test "x$ac_cv_lib_soname_freetype" = "x"
16870 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.$ac_ext >&5
16876 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16879 rm -f core conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16881 LIBS=$ac_get_soname_save_LIBS
16883 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
16884 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
16885 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16887 cat >>confdefs.h <<_ACEOF
16888 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
16893 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
16894 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
16895 if test "${ac_cv_lib_soname_GL+set}" = set; then
16896 echo $ECHO_N "(cached) $ECHO_C" >&6
16898 ac_get_soname_save_LIBS=$LIBS
16899 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
16900 cat >conftest.$ac_ext <<_ACEOF
16903 cat confdefs.h >>conftest.$ac_ext
16904 cat >>conftest.$ac_ext <<_ACEOF
16905 /* end confdefs.h. */
16907 /* Override any GCC internal prototype to avoid an error.
16908 Use char because int might match the return type of a GCC
16909 builtin and then its argument prototype would still apply. */
16913 char glXQueryExtension ();
16917 return glXQueryExtension ();
16922 rm -f conftest.$ac_objext conftest$ac_exeext
16923 if { (ac_try="$ac_link"
16924 case "(($ac_try" in
16925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16926 *) ac_try_echo
=$ac_try;;
16928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16929 (eval "$ac_link") 2>conftest.er1
16931 grep -v '^ *+' conftest.er1
>conftest.err
16933 cat conftest.err
>&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } &&
16936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16937 { (case "(($ac_try" in
16938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16939 *) ac_try_echo=$ac_try;;
16941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16942 (eval "$ac_try") 2>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }; } &&
16946 { ac_try='test -s conftest$ac_exeext'
16947 { (case "(($ac_try" in
16948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16949 *) ac_try_echo
=$ac_try;;
16951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16952 (eval "$ac_try") 2>&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); }; }; then
16957 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'` ;;
16958 so
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16960 if test "x$ac_cv_lib_soname_GL" = "x"
16962 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.
$ac_ext >&5
16968 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
16971 rm -f core conftest.err conftest.
$ac_objext \
16972 conftest
$ac_exeext conftest.
$ac_ext
16973 LIBS
=$ac_get_soname_save_LIBS
16975 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
16976 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
16977 if test "${ac_cv_lib_soname_GL+set}" = set; then
16979 cat >>confdefs.h
<<_ACEOF
16980 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
16985 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
16986 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
16987 if test "${ac_cv_lib_soname_hal+set}" = set; then
16988 echo $ECHO_N "(cached) $ECHO_C" >&6
16990 ac_get_soname_save_LIBS
=$LIBS
16992 cat >conftest.
$ac_ext <<_ACEOF
16995 cat confdefs.h
>>conftest.
$ac_ext
16996 cat >>conftest.
$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
16999 /* Override any GCC internal prototype to avoid an error.
17000 Use char because int might match the return type of a GCC
17001 builtin and then its argument prototype would still apply. */
17005 char libhal_ctx_new ();
17009 return libhal_ctx_new ();
17014 rm -f conftest.
$ac_objext conftest
$ac_exeext
17015 if { (ac_try
="$ac_link"
17016 case "(($ac_try" in
17017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17018 *) ac_try_echo=$ac_try;;
17020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17021 (eval "$ac_link") 2>conftest.er1
17023 grep -v '^ *+' conftest.er1 >conftest.err
17025 cat conftest.err >&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } &&
17028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17029 { (case "(($ac_try" in
17030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17031 *) ac_try_echo
=$ac_try;;
17033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17034 (eval "$ac_try") 2>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; } &&
17038 { ac_try
='test -s conftest$ac_exeext'
17039 { (case "(($ac_try" in
17040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17041 *) ac_try_echo=$ac_try;;
17043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17044 (eval "$ac_try") 2>&5
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }; }; then
17049 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'` ;;
17050 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.so |
sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17052 if test "x$ac_cv_lib_soname_hal" = "x"
17054 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17057 echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.$ac_ext >&5
17060 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17063 rm -f core conftest.err conftest.$ac_objext \
17064 conftest$ac_exeext conftest.$ac_ext
17065 LIBS=$ac_get_soname_save_LIBS
17067 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17068 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17069 if test "${ac_cv_lib_soname_hal+set}" = set; then
17071 cat >>confdefs.h <<_ACEOF
17072 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17077 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17078 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17079 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17080 echo $ECHO_N "(cached) $ECHO_C" >&6
17082 ac_get_soname_save_LIBS=$LIBS
17083 LIBS="-ltxc_dxtn $LIBS"
17084 cat >conftest.$ac_ext <<_ACEOF
17087 cat confdefs.h >>conftest.$ac_ext
17088 cat >>conftest.$ac_ext <<_ACEOF
17089 /* end confdefs.h. */
17091 /* Override any GCC internal prototype to avoid an error.
17092 Use char because int might match the return type of a GCC
17093 builtin and then its argument prototype would still apply. */
17097 char fetch_2d_texel_rgba_dxt1 ();
17101 return fetch_2d_texel_rgba_dxt1 ();
17106 rm -f conftest.$ac_objext conftest$ac_exeext
17107 if { (ac_try="$ac_link"
17108 case "(($ac_try" in
17109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17110 *) ac_try_echo
=$ac_try;;
17112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17113 (eval "$ac_link") 2>conftest.er1
17115 grep -v '^ *+' conftest.er1
>conftest.err
17117 cat conftest.err
>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); } &&
17120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17121 { (case "(($ac_try" in
17122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17123 *) ac_try_echo=$ac_try;;
17125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17126 (eval "$ac_try") 2>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; } &&
17130 { ac_try='test -s conftest$ac_exeext'
17131 { (case "(($ac_try" in
17132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17133 *) ac_try_echo
=$ac_try;;
17135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17136 (eval "$ac_try") 2>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; }; then
17141 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'` ;;
17142 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'` ;;
17144 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17146 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.
$ac_ext >&5
17152 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
17155 rm -f core conftest.err conftest.
$ac_objext \
17156 conftest
$ac_exeext conftest.
$ac_ext
17157 LIBS
=$ac_get_soname_save_LIBS
17159 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17160 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17161 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17163 cat >>confdefs.h
<<_ACEOF
17164 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17169 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17170 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17171 if test "${ac_cv_lib_soname_cups+set}" = set; then
17172 echo $ECHO_N "(cached) $ECHO_C" >&6
17174 ac_get_soname_save_LIBS
=$LIBS
17175 LIBS
="-lcups $LIBS"
17176 cat >conftest.
$ac_ext <<_ACEOF
17179 cat confdefs.h
>>conftest.
$ac_ext
17180 cat >>conftest.
$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17183 /* Override any GCC internal prototype to avoid an error.
17184 Use char because int might match the return type of a GCC
17185 builtin and then its argument prototype would still apply. */
17189 char cupsGetDefault ();
17193 return cupsGetDefault ();
17198 rm -f conftest.
$ac_objext conftest
$ac_exeext
17199 if { (ac_try
="$ac_link"
17200 case "(($ac_try" in
17201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17202 *) ac_try_echo=$ac_try;;
17204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17205 (eval "$ac_link") 2>conftest.er1
17207 grep -v '^ *+' conftest.er1 >conftest.err
17209 cat conftest.err >&5
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); } &&
17212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17213 { (case "(($ac_try" in
17214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17215 *) ac_try_echo
=$ac_try;;
17217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17218 (eval "$ac_try") 2>&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; } &&
17222 { ac_try
='test -s conftest$ac_exeext'
17223 { (case "(($ac_try" in
17224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17225 *) ac_try_echo=$ac_try;;
17227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17228 (eval "$ac_try") 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; }; then
17233 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'` ;;
17234 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.so |
sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17236 if test "x$ac_cv_lib_soname_cups" = "x"
17238 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.$ac_ext >&5
17244 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17247 rm -f core conftest.err conftest.$ac_objext \
17248 conftest$ac_exeext conftest.$ac_ext
17249 LIBS=$ac_get_soname_save_LIBS
17251 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17252 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17253 if test "${ac_cv_lib_soname_cups+set}" = set; then
17255 cat >>confdefs.h <<_ACEOF
17256 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17261 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17262 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17263 if test "${ac_cv_lib_soname_jack+set}" = set; then
17264 echo $ECHO_N "(cached) $ECHO_C" >&6
17266 ac_get_soname_save_LIBS=$LIBS
17267 LIBS="-ljack $LIBS"
17268 cat >conftest.$ac_ext <<_ACEOF
17271 cat confdefs.h >>conftest.$ac_ext
17272 cat >>conftest.$ac_ext <<_ACEOF
17273 /* end confdefs.h. */
17275 /* Override any GCC internal prototype to avoid an error.
17276 Use char because int might match the return type of a GCC
17277 builtin and then its argument prototype would still apply. */
17281 char jack_client_new ();
17285 return jack_client_new ();
17290 rm -f conftest.$ac_objext conftest$ac_exeext
17291 if { (ac_try="$ac_link"
17292 case "(($ac_try" in
17293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17294 *) ac_try_echo
=$ac_try;;
17296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17297 (eval "$ac_link") 2>conftest.er1
17299 grep -v '^ *+' conftest.er1
>conftest.err
17301 cat conftest.err
>&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } &&
17304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17305 { (case "(($ac_try" in
17306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_try") 2>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; } &&
17314 { ac_try='test -s conftest$ac_exeext'
17315 { (case "(($ac_try" in
17316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17317 *) ac_try_echo
=$ac_try;;
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_try") 2>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; }; then
17325 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'` ;;
17326 so
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17328 if test "x$ac_cv_lib_soname_jack" = "x"
17330 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
17333 echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.
$ac_ext >&5
17336 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
17339 rm -f core conftest.err conftest.
$ac_objext \
17340 conftest
$ac_exeext conftest.
$ac_ext
17341 LIBS
=$ac_get_soname_save_LIBS
17343 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17344 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17345 if test "${ac_cv_lib_soname_jack+set}" = set; then
17347 cat >>confdefs.h
<<_ACEOF
17348 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17353 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17354 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17355 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17358 ac_get_soname_save_LIBS
=$LIBS
17359 LIBS
="-lfontconfig $LIBS"
17360 cat >conftest.
$ac_ext <<_ACEOF
17363 cat confdefs.h
>>conftest.
$ac_ext
17364 cat >>conftest.
$ac_ext <<_ACEOF
17365 /* end confdefs.h. */
17367 /* Override any GCC internal prototype to avoid an error.
17368 Use char because int might match the return type of a GCC
17369 builtin and then its argument prototype would still apply. */
17382 rm -f conftest.
$ac_objext conftest
$ac_exeext
17383 if { (ac_try
="$ac_link"
17384 case "(($ac_try" in
17385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17386 *) ac_try_echo=$ac_try;;
17388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17389 (eval "$ac_link") 2>conftest.er1
17391 grep -v '^ *+' conftest.er1 >conftest.err
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17397 { (case "(($ac_try" in
17398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17399 *) ac_try_echo
=$ac_try;;
17401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17402 (eval "$ac_try") 2>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; } &&
17406 { ac_try
='test -s conftest$ac_exeext'
17407 { (case "(($ac_try" in
17408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17409 *) ac_try_echo=$ac_try;;
17411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17412 (eval "$ac_try") 2>&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; }; then
17417 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'` ;;
17418 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.so |
sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17420 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17422 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.$ac_ext >&5
17428 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17431 rm -f core conftest.err conftest.$ac_objext \
17432 conftest$ac_exeext conftest.$ac_ext
17433 LIBS=$ac_get_soname_save_LIBS
17435 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17436 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17437 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17439 cat >>confdefs.h <<_ACEOF
17440 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17445 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17446 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17447 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17450 ac_get_soname_save_LIBS=$LIBS
17452 cat >conftest.$ac_ext <<_ACEOF
17455 cat confdefs.h >>conftest.$ac_ext
17456 cat >>conftest.$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17459 /* Override any GCC internal prototype to avoid an error.
17460 Use char because int might match the return type of a GCC
17461 builtin and then its argument prototype would still apply. */
17465 char SSL_library_init ();
17469 return SSL_library_init ();
17474 rm -f conftest.$ac_objext conftest$ac_exeext
17475 if { (ac_try="$ac_link"
17476 case "(($ac_try" in
17477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17478 *) ac_try_echo
=$ac_try;;
17480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17481 (eval "$ac_link") 2>conftest.er1
17483 grep -v '^ *+' conftest.er1
>conftest.err
17485 cat conftest.err
>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); } &&
17488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17489 { (case "(($ac_try" in
17490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17491 *) ac_try_echo=$ac_try;;
17493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17494 (eval "$ac_try") 2>&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); }; } &&
17498 { ac_try='test -s conftest$ac_exeext'
17499 { (case "(($ac_try" in
17500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17501 *) ac_try_echo
=$ac_try;;
17503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17504 (eval "$ac_try") 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; }; then
17509 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'` ;;
17510 so
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17512 if test "x$ac_cv_lib_soname_ssl" = "x"
17514 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.
$ac_ext >&5
17520 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
17523 rm -f core conftest.err conftest.
$ac_objext \
17524 conftest
$ac_exeext conftest.
$ac_ext
17525 LIBS
=$ac_get_soname_save_LIBS
17527 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17528 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17529 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17531 cat >>confdefs.h
<<_ACEOF
17532 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17537 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17538 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17539 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17540 echo $ECHO_N "(cached) $ECHO_C" >&6
17542 ac_get_soname_save_LIBS
=$LIBS
17543 LIBS
="-lcrypto $LIBS"
17544 cat >conftest.
$ac_ext <<_ACEOF
17547 cat confdefs.h
>>conftest.
$ac_ext
17548 cat >>conftest.
$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17551 /* Override any GCC internal prototype to avoid an error.
17552 Use char because int might match the return type of a GCC
17553 builtin and then its argument prototype would still apply. */
17557 char BIO_new_socket ();
17561 return BIO_new_socket ();
17566 rm -f conftest.
$ac_objext conftest
$ac_exeext
17567 if { (ac_try
="$ac_link"
17568 case "(($ac_try" in
17569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17570 *) ac_try_echo=$ac_try;;
17572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17573 (eval "$ac_link") 2>conftest.er1
17575 grep -v '^ *+' conftest.er1 >conftest.err
17577 cat conftest.err >&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); } &&
17580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17581 { (case "(($ac_try" in
17582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17583 *) ac_try_echo
=$ac_try;;
17585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17586 (eval "$ac_try") 2>&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; } &&
17590 { ac_try
='test -s conftest$ac_exeext'
17591 { (case "(($ac_try" in
17592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17593 *) ac_try_echo=$ac_try;;
17595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17596 (eval "$ac_try") 2>&5
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; }; then
17601 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'` ;;
17602 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.so |
sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17604 if test "x$ac_cv_lib_soname_crypto" = "x"
17606 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17609 echo "$as_me: failed program was:" >&5
17610 sed 's/^/| /' conftest.$ac_ext >&5
17612 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17615 rm -f core conftest.err conftest.$ac_objext \
17616 conftest$ac_exeext conftest.$ac_ext
17617 LIBS=$ac_get_soname_save_LIBS
17619 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17620 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17621 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17623 cat >>confdefs.h <<_ACEOF
17624 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17629 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17630 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17631 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17632 echo $ECHO_N "(cached) $ECHO_C" >&6
17634 ac_get_soname_save_LIBS=$LIBS
17635 LIBS="-lncurses $LIBS"
17636 cat >conftest.$ac_ext <<_ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17643 /* Override any GCC internal prototype to avoid an error.
17644 Use char because int might match the return type of a GCC
17645 builtin and then its argument prototype would still apply. */
17658 rm -f conftest.$ac_objext conftest$ac_exeext
17659 if { (ac_try="$ac_link"
17660 case "(($ac_try" in
17661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17662 *) ac_try_echo
=$ac_try;;
17664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17665 (eval "$ac_link") 2>conftest.er1
17667 grep -v '^ *+' conftest.er1
>conftest.err
17669 cat conftest.err
>&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); } &&
17672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17673 { (case "(($ac_try" in
17674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17675 *) ac_try_echo=$ac_try;;
17677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17678 (eval "$ac_try") 2>&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; } &&
17682 { ac_try='test -s conftest$ac_exeext'
17683 { (case "(($ac_try" in
17684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17685 *) ac_try_echo
=$ac_try;;
17687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17688 (eval "$ac_try") 2>&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; }; then
17693 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'` ;;
17694 so
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17696 if test "x$ac_cv_lib_soname_ncurses" = "x"
17698 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
17701 echo "$as_me: failed program was:" >&5
17702 sed 's/^/| /' conftest.
$ac_ext >&5
17704 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
17707 rm -f core conftest.err conftest.
$ac_objext \
17708 conftest
$ac_exeext conftest.
$ac_ext
17709 LIBS
=$ac_get_soname_save_LIBS
17711 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17712 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17713 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17715 cat >>confdefs.h
<<_ACEOF
17716 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17721 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17722 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17723 if test "${ac_cv_lib_soname_curses+set}" = set; then
17724 echo $ECHO_N "(cached) $ECHO_C" >&6
17726 ac_get_soname_save_LIBS
=$LIBS
17727 LIBS
="-lcurses $LIBS"
17728 cat >conftest.
$ac_ext <<_ACEOF
17731 cat confdefs.h
>>conftest.
$ac_ext
17732 cat >>conftest.
$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17735 /* Override any GCC internal prototype to avoid an error.
17736 Use char because int might match the return type of a GCC
17737 builtin and then its argument prototype would still apply. */
17750 rm -f conftest.
$ac_objext conftest
$ac_exeext
17751 if { (ac_try
="$ac_link"
17752 case "(($ac_try" in
17753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17754 *) ac_try_echo=$ac_try;;
17756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17757 (eval "$ac_link") 2>conftest.er1
17759 grep -v '^ *+' conftest.er1 >conftest.err
17761 cat conftest.err >&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } &&
17764 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17765 { (case "(($ac_try" in
17766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17767 *) ac_try_echo
=$ac_try;;
17769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17770 (eval "$ac_try") 2>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; } &&
17774 { ac_try
='test -s conftest$ac_exeext'
17775 { (case "(($ac_try" in
17776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17777 *) ac_try_echo=$ac_try;;
17779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17780 (eval "$ac_try") 2>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; }; then
17785 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'` ;;
17786 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.so |
sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17788 if test "x$ac_cv_lib_soname_curses" = "x"
17790 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.$ac_ext >&5
17796 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17799 rm -f core conftest.err conftest.$ac_objext \
17800 conftest$ac_exeext conftest.$ac_ext
17801 LIBS=$ac_get_soname_save_LIBS
17803 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17804 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17805 if test "${ac_cv_lib_soname_curses+set}" = set; then
17807 cat >>confdefs.h <<_ACEOF
17808 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17813 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17814 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17815 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17816 echo $ECHO_N "(cached) $ECHO_C" >&6
17818 ac_get_soname_save_LIBS=$LIBS
17819 LIBS="-ljpeg $LIBS"
17820 cat >conftest.$ac_ext <<_ACEOF
17823 cat confdefs.h >>conftest.$ac_ext
17824 cat >>conftest.$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17827 /* Override any GCC internal prototype to avoid an error.
17828 Use char because int might match the return type of a GCC
17829 builtin and then its argument prototype would still apply. */
17833 char jpeg_start_decompress ();
17837 return jpeg_start_decompress ();
17842 rm -f conftest.$ac_objext conftest$ac_exeext
17843 if { (ac_try="$ac_link"
17844 case "(($ac_try" in
17845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17846 *) ac_try_echo
=$ac_try;;
17848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17849 (eval "$ac_link") 2>conftest.er1
17851 grep -v '^ *+' conftest.er1
>conftest.err
17853 cat conftest.err
>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } &&
17856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17857 { (case "(($ac_try" in
17858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17859 *) ac_try_echo=$ac_try;;
17861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17862 (eval "$ac_try") 2>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; } &&
17866 { ac_try='test -s conftest$ac_exeext'
17867 { (case "(($ac_try" in
17868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17869 *) ac_try_echo
=$ac_try;;
17871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17872 (eval "$ac_try") 2>&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); }; }; then
17877 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'` ;;
17878 so
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17880 if test "x$ac_cv_lib_soname_jpeg" = "x"
17882 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.
$ac_ext >&5
17888 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
17891 rm -f core conftest.err conftest.
$ac_objext \
17892 conftest
$ac_exeext conftest.
$ac_ext
17893 LIBS
=$ac_get_soname_save_LIBS
17895 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
17896 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
17897 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17899 cat >>confdefs.h
<<_ACEOF
17900 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
17905 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
17906 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
17907 if test "${ac_cv_lib_soname_capi20+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17910 ac_get_soname_save_LIBS
=$LIBS
17911 LIBS
="-lcapi20 $LIBS"
17912 cat >conftest.
$ac_ext <<_ACEOF
17915 cat confdefs.h
>>conftest.
$ac_ext
17916 cat >>conftest.
$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17919 /* Override any GCC internal prototype to avoid an error.
17920 Use char because int might match the return type of a GCC
17921 builtin and then its argument prototype would still apply. */
17925 char capi20_isinstalled ();
17929 return capi20_isinstalled ();
17934 rm -f conftest.
$ac_objext conftest
$ac_exeext
17935 if { (ac_try
="$ac_link"
17936 case "(($ac_try" in
17937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17938 *) ac_try_echo=$ac_try;;
17940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17941 (eval "$ac_link") 2>conftest.er1
17943 grep -v '^ *+' conftest.er1 >conftest.err
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17949 { (case "(($ac_try" in
17950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17951 *) ac_try_echo
=$ac_try;;
17953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17954 (eval "$ac_try") 2>&5
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; } &&
17958 { ac_try
='test -s conftest$ac_exeext'
17959 { (case "(($ac_try" in
17960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17961 *) ac_try_echo=$ac_try;;
17963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17964 (eval "$ac_try") 2>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; }; then
17969 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'` ;;
17970 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.so |
sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17972 if test "x$ac_cv_lib_soname_capi20" = "x"
17974 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.$ac_ext >&5
17980 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
17983 rm -f core conftest.err conftest.$ac_objext \
17984 conftest$ac_exeext conftest.$ac_ext
17985 LIBS=$ac_get_soname_save_LIBS
17987 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
17988 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
17989 if test "${ac_cv_lib_soname_capi20+set}" = set; then
17991 cat >>confdefs.h <<_ACEOF
17992 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18142 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18143 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18145 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18146 echo $ECHO_N "(cached) $ECHO_C" >&6
18148 cat >conftest.$ac_ext <<_ACEOF
18151 cat confdefs.h >>conftest.$ac_ext
18152 cat >>conftest.$ac_ext <<_ACEOF
18153 /* end confdefs.h. */
18154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18156 #define $ac_func innocuous_$ac_func
18158 /* System header to define __stub macros and hopefully few prototypes,
18159 which can conflict with char $ac_func (); below.
18160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18161 <limits.h> exists even on freestanding compilers. */
18164 # include <limits.h>
18166 # include <assert.h>
18171 /* Override any GCC internal prototype to avoid an error.
18172 Use char because int might match the return type of a GCC
18173 builtin and then its argument prototype would still apply. */
18178 /* The GNU C library defines this for functions which it implements
18179 to always fail with ENOSYS. Some functions are actually named
18180 something starting with __ and the normal name is an alias. */
18181 #if defined __stub_$ac_func || defined __stub___$ac_func
18188 return $ac_func ();
18193 rm -f conftest.$ac_objext conftest$ac_exeext
18194 if { (ac_try="$ac_link"
18195 case "(($ac_try" in
18196 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18197 *) ac_try_echo
=$ac_try;;
18199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_link") 2>conftest.er1
18202 grep -v '^ *+' conftest.er1
>conftest.err
18204 cat conftest.err
>&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } &&
18207 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18208 { (case "(($ac_try" in
18209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_try") 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; } &&
18217 { ac_try='test -s conftest$ac_exeext'
18218 { (case "(($ac_try" in
18219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18220 *) ac_try_echo
=$ac_try;;
18222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18223 (eval "$ac_try") 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; }; then
18227 eval "$as_ac_var=yes"
18229 echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.
$ac_ext >&5
18232 eval "$as_ac_var=no"
18235 rm -f core conftest.err conftest.
$ac_objext \
18236 conftest
$ac_exeext conftest.
$ac_ext
18238 ac_res
=`eval echo '${'$as_ac_var'}'`
18239 { echo "$as_me:$LINENO: result: $ac_res" >&5
18240 echo "${ECHO_T}$ac_res" >&6; }
18241 if test `eval echo '${'$as_ac_var'}'` = yes; then
18242 cat >>confdefs.h
<<_ACEOF
18243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18250 if test "$ac_cv_func_dlopen" = no
18252 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18253 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18254 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18257 ac_check_lib_save_LIBS
=$LIBS
18259 cat >conftest.
$ac_ext <<_ACEOF
18262 cat confdefs.h
>>conftest.
$ac_ext
18263 cat >>conftest.
$ac_ext <<_ACEOF
18264 /* end confdefs.h. */
18266 /* Override any GCC internal prototype to avoid an error.
18267 Use char because int might match the return type of a GCC
18268 builtin and then its argument prototype would still apply. */
18281 rm -f conftest.
$ac_objext conftest
$ac_exeext
18282 if { (ac_try
="$ac_link"
18283 case "(($ac_try" in
18284 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18285 *) ac_try_echo=$ac_try;;
18287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18288 (eval "$ac_link") 2>conftest.er1
18290 grep -v '^ *+' conftest.er1 >conftest.err
18292 cat conftest.err >&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } &&
18295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18296 { (case "(($ac_try" in
18297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18298 *) ac_try_echo
=$ac_try;;
18300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18301 (eval "$ac_try") 2>&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); }; } &&
18305 { ac_try
='test -s conftest$ac_exeext'
18306 { (case "(($ac_try" in
18307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18308 *) ac_try_echo=$ac_try;;
18310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18311 (eval "$ac_try") 2>&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); }; }; then
18315 ac_cv_lib_dl_dlopen=yes
18317 echo "$as_me: failed program was:" >&5
18318 sed 's/^/| /' conftest.$ac_ext >&5
18320 ac_cv_lib_dl_dlopen=no
18323 rm -f core conftest.err conftest.$ac_objext \
18324 conftest$ac_exeext conftest.$ac_ext
18325 LIBS=$ac_check_lib_save_LIBS
18327 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18328 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18329 if test $ac_cv_lib_dl_dlopen = yes; then
18330 cat >>confdefs.h <<\_ACEOF
18331 #define HAVE_DLOPEN 1
18338 ac_wine_check_funcs_save_LIBS="$LIBS"
18339 LIBS="$LIBS $LIBDL"
18341 for ac_func in dladdr
18343 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18344 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18346 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18347 echo $ECHO_N "(cached) $ECHO_C" >&6
18349 cat >conftest.$ac_ext <<_ACEOF
18352 cat confdefs.h >>conftest.$ac_ext
18353 cat >>conftest.$ac_ext <<_ACEOF
18354 /* end confdefs.h. */
18355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18357 #define $ac_func innocuous_$ac_func
18359 /* System header to define __stub macros and hopefully few prototypes,
18360 which can conflict with char $ac_func (); below.
18361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18362 <limits.h> exists even on freestanding compilers. */
18365 # include <limits.h>
18367 # include <assert.h>
18372 /* Override any GCC internal prototype to avoid an error.
18373 Use char because int might match the return type of a GCC
18374 builtin and then its argument prototype would still apply. */
18379 /* The GNU C library defines this for functions which it implements
18380 to always fail with ENOSYS. Some functions are actually named
18381 something starting with __ and the normal name is an alias. */
18382 #if defined __stub_$ac_func || defined __stub___$ac_func
18389 return $ac_func ();
18394 rm -f conftest.$ac_objext conftest$ac_exeext
18395 if { (ac_try="$ac_link"
18396 case "(($ac_try" in
18397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18398 *) ac_try_echo
=$ac_try;;
18400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18401 (eval "$ac_link") 2>conftest.er1
18403 grep -v '^ *+' conftest.er1
>conftest.err
18405 cat conftest.err
>&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); } &&
18408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18409 { (case "(($ac_try" in
18410 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18411 *) ac_try_echo=$ac_try;;
18413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18414 (eval "$ac_try") 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; } &&
18418 { ac_try='test -s conftest$ac_exeext'
18419 { (case "(($ac_try" in
18420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18421 *) ac_try_echo
=$ac_try;;
18423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18424 (eval "$ac_try") 2>&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; }; then
18428 eval "$as_ac_var=yes"
18430 echo "$as_me: failed program was:" >&5
18431 sed 's/^/| /' conftest.
$ac_ext >&5
18433 eval "$as_ac_var=no"
18436 rm -f core conftest.err conftest.
$ac_objext \
18437 conftest
$ac_exeext conftest.
$ac_ext
18439 ac_res
=`eval echo '${'$as_ac_var'}'`
18440 { echo "$as_me:$LINENO: result: $ac_res" >&5
18441 echo "${ECHO_T}$ac_res" >&6; }
18442 if test `eval echo '${'$as_ac_var'}'` = yes; then
18443 cat >>confdefs.h
<<_ACEOF
18444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18450 LIBS
="$ac_wine_check_funcs_save_LIBS"
18452 if test "$ac_cv_func_poll" = no
18454 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18455 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18456 if test "${ac_cv_lib_poll_poll+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 ac_check_lib_save_LIBS
=$LIBS
18460 LIBS
="-lpoll $LIBS"
18461 cat >conftest.
$ac_ext <<_ACEOF
18464 cat confdefs.h
>>conftest.
$ac_ext
18465 cat >>conftest.
$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18468 /* Override any GCC internal prototype to avoid an error.
18469 Use char because int might match the return type of a GCC
18470 builtin and then its argument prototype would still apply. */
18483 rm -f conftest.
$ac_objext conftest
$ac_exeext
18484 if { (ac_try
="$ac_link"
18485 case "(($ac_try" in
18486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18487 *) ac_try_echo=$ac_try;;
18489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18490 (eval "$ac_link") 2>conftest.er1
18492 grep -v '^ *+' conftest.er1 >conftest.err
18494 cat conftest.err >&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); } &&
18497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18498 { (case "(($ac_try" in
18499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18500 *) ac_try_echo
=$ac_try;;
18502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18503 (eval "$ac_try") 2>&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); }; } &&
18507 { ac_try
='test -s conftest$ac_exeext'
18508 { (case "(($ac_try" in
18509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18510 *) ac_try_echo=$ac_try;;
18512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18513 (eval "$ac_try") 2>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); }; }; then
18517 ac_cv_lib_poll_poll=yes
18519 echo "$as_me: failed program was:" >&5
18520 sed 's/^/| /' conftest.$ac_ext >&5
18522 ac_cv_lib_poll_poll=no
18525 rm -f core conftest.err conftest.$ac_objext \
18526 conftest$ac_exeext conftest.$ac_ext
18527 LIBS=$ac_check_lib_save_LIBS
18529 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18530 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18531 if test $ac_cv_lib_poll_poll = yes; then
18532 cat >>confdefs.h <<\_ACEOF
18533 #define HAVE_POLL 1
18541 if test "$ac_cv_func_gethostbyname" = no
18544 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18545 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18546 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18549 ac_check_lib_save_LIBS=$LIBS
18551 cat >conftest.$ac_ext <<_ACEOF
18554 cat confdefs.h >>conftest.$ac_ext
18555 cat >>conftest.$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18558 /* Override any GCC internal prototype to avoid an error.
18559 Use char because int might match the return type of a GCC
18560 builtin and then its argument prototype would still apply. */
18564 char gethostbyname ();
18568 return gethostbyname ();
18573 rm -f conftest.$ac_objext conftest$ac_exeext
18574 if { (ac_try="$ac_link"
18575 case "(($ac_try" in
18576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18577 *) ac_try_echo
=$ac_try;;
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_link") 2>conftest.er1
18582 grep -v '^ *+' conftest.er1
>conftest.err
18584 cat conftest.err
>&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } &&
18587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18588 { (case "(($ac_try" in
18589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18590 *) ac_try_echo=$ac_try;;
18592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18593 (eval "$ac_try") 2>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; } &&
18597 { ac_try='test -s conftest$ac_exeext'
18598 { (case "(($ac_try" in
18599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18600 *) ac_try_echo
=$ac_try;;
18602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18603 (eval "$ac_try") 2>&5
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); }; }; then
18607 ac_cv_lib_nsl_gethostbyname
=yes
18609 echo "$as_me: failed program was:" >&5
18610 sed 's/^/| /' conftest.
$ac_ext >&5
18612 ac_cv_lib_nsl_gethostbyname
=no
18615 rm -f core conftest.err conftest.
$ac_objext \
18616 conftest
$ac_exeext conftest.
$ac_ext
18617 LIBS
=$ac_check_lib_save_LIBS
18619 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18620 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18621 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18622 cat >>confdefs.h
<<_ACEOF
18623 #define HAVE_LIBNSL 1
18632 if test "$ac_cv_func_connect" = no
18635 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18636 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18637 if test "${ac_cv_lib_socket_connect+set}" = set; then
18638 echo $ECHO_N "(cached) $ECHO_C" >&6
18640 ac_check_lib_save_LIBS
=$LIBS
18641 LIBS
="-lsocket $LIBS"
18642 cat >conftest.
$ac_ext <<_ACEOF
18645 cat confdefs.h
>>conftest.
$ac_ext
18646 cat >>conftest.
$ac_ext <<_ACEOF
18647 /* end confdefs.h. */
18649 /* Override any GCC internal prototype to avoid an error.
18650 Use char because int might match the return type of a GCC
18651 builtin and then its argument prototype would still apply. */
18664 rm -f conftest.
$ac_objext conftest
$ac_exeext
18665 if { (ac_try
="$ac_link"
18666 case "(($ac_try" in
18667 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18668 *) ac_try_echo=$ac_try;;
18670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18671 (eval "$ac_link") 2>conftest.er1
18673 grep -v '^ *+' conftest.er1 >conftest.err
18675 cat conftest.err >&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } &&
18678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18679 { (case "(($ac_try" in
18680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18681 *) ac_try_echo
=$ac_try;;
18683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18684 (eval "$ac_try") 2>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; } &&
18688 { ac_try
='test -s conftest$ac_exeext'
18689 { (case "(($ac_try" in
18690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18691 *) ac_try_echo=$ac_try;;
18693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18694 (eval "$ac_try") 2>&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; }; then
18698 ac_cv_lib_socket_connect=yes
18700 echo "$as_me: failed program was:" >&5
18701 sed 's/^/| /' conftest.$ac_ext >&5
18703 ac_cv_lib_socket_connect=no
18706 rm -f core conftest.err conftest.$ac_objext \
18707 conftest$ac_exeext conftest.$ac_ext
18708 LIBS=$ac_check_lib_save_LIBS
18710 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18711 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18712 if test $ac_cv_lib_socket_connect = yes; then
18713 cat >>confdefs.h <<_ACEOF
18714 #define HAVE_LIBSOCKET 1
18717 LIBS="-lsocket $LIBS"
18723 if test "$ac_cv_func_inet_aton" = no
18726 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18727 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18728 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18729 echo $ECHO_N "(cached) $ECHO_C" >&6
18731 ac_check_lib_save_LIBS=$LIBS
18732 LIBS="-lresolv $LIBS"
18733 cat >conftest.$ac_ext <<_ACEOF
18736 cat confdefs.h >>conftest.$ac_ext
18737 cat >>conftest.$ac_ext <<_ACEOF
18738 /* end confdefs.h. */
18740 /* Override any GCC internal prototype to avoid an error.
18741 Use char because int might match the return type of a GCC
18742 builtin and then its argument prototype would still apply. */
18750 return inet_aton ();
18755 rm -f conftest.$ac_objext conftest$ac_exeext
18756 if { (ac_try="$ac_link"
18757 case "(($ac_try" in
18758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18759 *) ac_try_echo
=$ac_try;;
18761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18762 (eval "$ac_link") 2>conftest.er1
18764 grep -v '^ *+' conftest.er1
>conftest.err
18766 cat conftest.err
>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); } &&
18769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18770 { (case "(($ac_try" in
18771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18772 *) ac_try_echo=$ac_try;;
18774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18775 (eval "$ac_try") 2>&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; } &&
18779 { ac_try='test -s conftest$ac_exeext'
18780 { (case "(($ac_try" in
18781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18782 *) ac_try_echo
=$ac_try;;
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_try") 2>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); }; }; then
18789 ac_cv_lib_resolv_inet_aton
=yes
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.
$ac_ext >&5
18794 ac_cv_lib_resolv_inet_aton
=no
18797 rm -f core conftest.err conftest.
$ac_objext \
18798 conftest
$ac_exeext conftest.
$ac_ext
18799 LIBS
=$ac_check_lib_save_LIBS
18801 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18802 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18803 if test $ac_cv_lib_resolv_inet_aton = yes; then
18804 cat >>confdefs.h
<<_ACEOF
18805 #define HAVE_LIBRESOLV 1
18808 LIBS
="-lresolv $LIBS"
18815 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18816 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18817 if test "${ac_cv_c_const+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 cat >conftest.
$ac_ext <<_ACEOF
18823 cat confdefs.h
>>conftest.
$ac_ext
18824 cat >>conftest.
$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18830 /* FIXME: Include the comments suggested by Paul. */
18831 #ifndef __cplusplus
18832 /* Ultrix mips cc rejects this. */
18833 typedef int charset[2];
18835 /* SunOS 4.1.1 cc rejects this. */
18836 char const *const *ccp;
18838 /* NEC SVR4.0.2 mips cc rejects this. */
18839 struct point {int x, y;};
18840 static struct point const zero = {0,0};
18841 /* AIX XL C 1.02.0.0 rejects this.
18842 It does not let you subtract one const X* pointer from another in
18843 an arm of an if-expression whose if-part is not a constant
18845 const char *g = "string";
18846 ccp = &g + (g ? g-g : 0);
18847 /* HPUX 7.0 cc rejects these. */
18850 ccp = (char const *const *) p;
18851 { /* SCO 3.2v4 cc rejects this. */
18853 char const *s = 0 ? (char *) 0 : (char const *) 0;
18858 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18859 int x[] = {25, 17};
18860 const int *foo = &x[0];
18863 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18864 typedef const int *iptr;
18868 { /* AIX XL C 1.02.0.0 rejects this saying
18869 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18870 struct s { int j; const int *ap[3]; };
18871 struct s *b; b->j = 5;
18873 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18874 const int foo = 10;
18875 if (!foo) return 0;
18877 return !x[0] && !zero.x;
18884 rm -f conftest.
$ac_objext
18885 if { (ac_try
="$ac_compile"
18886 case "(($ac_try" in
18887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18888 *) ac_try_echo=$ac_try;;
18890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18891 (eval "$ac_compile") 2>conftest.er1
18893 grep -v '^ *+' conftest.er1 >conftest.err
18895 cat conftest.err >&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } &&
18898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18899 { (case "(($ac_try" in
18900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18901 *) ac_try_echo
=$ac_try;;
18903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_try") 2>&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); }; } &&
18908 { ac_try
='test -s conftest.$ac_objext'
18909 { (case "(($ac_try" in
18910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18911 *) ac_try_echo=$ac_try;;
18913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18914 (eval "$ac_try") 2>&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); }; }; then
18920 echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.$ac_ext >&5
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18929 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18930 if test $ac_cv_c_const = no; then
18932 cat >>confdefs.h <<\_ACEOF
18938 { echo "$as_me:$LINENO: checking for inline" >&5
18939 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18940 if test "${ac_cv_c_inline+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18944 for ac_kw in inline __inline__ __inline; do
18945 cat >conftest.$ac_ext <<_ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951 #ifndef __cplusplus
18953 static $ac_kw foo_t static_foo () {return 0; }
18954 $ac_kw foo_t foo () {return 0; }
18958 rm -f conftest.$ac_objext
18959 if { (ac_try="$ac_compile"
18960 case "(($ac_try" in
18961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18962 *) ac_try_echo
=$ac_try;;
18964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18965 (eval "$ac_compile") 2>conftest.er1
18967 grep -v '^ *+' conftest.er1
>conftest.err
18969 cat conftest.err
>&5
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); } &&
18972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18973 { (case "(($ac_try" in
18974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18975 *) ac_try_echo=$ac_try;;
18977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18978 (eval "$ac_try") 2>&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); }; } &&
18982 { ac_try='test -s conftest.$ac_objext'
18983 { (case "(($ac_try" in
18984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18985 *) ac_try_echo
=$ac_try;;
18987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18988 (eval "$ac_try") 2>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); }; }; then
18992 ac_cv_c_inline
=$ac_kw
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.
$ac_ext >&5
19000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19001 test "$ac_cv_c_inline" != no
&& break
19005 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19006 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19009 case $ac_cv_c_inline in
19012 case $ac_cv_c_inline in
19014 *) ac_val
=$ac_cv_c_inline;;
19016 cat >>confdefs.h
<<_ACEOF
19017 #ifndef __cplusplus
19018 #define inline $ac_val
19024 { echo "$as_me:$LINENO: checking for mode_t" >&5
19025 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19026 if test "${ac_cv_type_mode_t+set}" = set; then
19027 echo $ECHO_N "(cached) $ECHO_C" >&6
19029 cat >conftest.
$ac_ext <<_ACEOF
19032 cat confdefs.h
>>conftest.
$ac_ext
19033 cat >>conftest.
$ac_ext <<_ACEOF
19034 /* end confdefs.h. */
19035 $ac_includes_default
19036 typedef mode_t ac__type_new_;
19040 if ((ac__type_new_ *) 0)
19042 if (sizeof (ac__type_new_))
19048 rm -f conftest.
$ac_objext
19049 if { (ac_try
="$ac_compile"
19050 case "(($ac_try" in
19051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19052 *) ac_try_echo=$ac_try;;
19054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19055 (eval "$ac_compile") 2>conftest.er1
19057 grep -v '^ *+' conftest.er1 >conftest.err
19059 cat conftest.err >&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); } &&
19062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19063 { (case "(($ac_try" in
19064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19065 *) ac_try_echo
=$ac_try;;
19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_try") 2>&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); }; } &&
19072 { ac_try
='test -s conftest.$ac_objext'
19073 { (case "(($ac_try" in
19074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19075 *) ac_try_echo=$ac_try;;
19077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19078 (eval "$ac_try") 2>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); }; }; then
19082 ac_cv_type_mode_t=yes
19084 echo "$as_me: failed program was:" >&5
19085 sed 's/^/| /' conftest.$ac_ext >&5
19087 ac_cv_type_mode_t=no
19090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19092 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19093 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19094 if test $ac_cv_type_mode_t = yes; then
19096 cat >>confdefs.h <<_ACEOF
19097 #define HAVE_MODE_T 1
19102 { echo "$as_me:$LINENO: checking for off_t" >&5
19103 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19104 if test "${ac_cv_type_off_t+set}" = set; then
19105 echo $ECHO_N "(cached) $ECHO_C" >&6
19107 cat >conftest.$ac_ext <<_ACEOF
19110 cat confdefs.h >>conftest.$ac_ext
19111 cat >>conftest.$ac_ext <<_ACEOF
19112 /* end confdefs.h. */
19113 $ac_includes_default
19114 typedef off_t ac__type_new_;
19118 if ((ac__type_new_ *) 0)
19120 if (sizeof (ac__type_new_))
19126 rm -f conftest.$ac_objext
19127 if { (ac_try="$ac_compile"
19128 case "(($ac_try" in
19129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19130 *) ac_try_echo
=$ac_try;;
19132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19133 (eval "$ac_compile") 2>conftest.er1
19135 grep -v '^ *+' conftest.er1
>conftest.err
19137 cat conftest.err
>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); } &&
19140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19141 { (case "(($ac_try" in
19142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19143 *) ac_try_echo=$ac_try;;
19145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19146 (eval "$ac_try") 2>&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; } &&
19150 { ac_try='test -s conftest.$ac_objext'
19151 { (case "(($ac_try" in
19152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19153 *) ac_try_echo
=$ac_try;;
19155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19156 (eval "$ac_try") 2>&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); }; }; then
19160 ac_cv_type_off_t
=yes
19162 echo "$as_me: failed program was:" >&5
19163 sed 's/^/| /' conftest.
$ac_ext >&5
19165 ac_cv_type_off_t
=no
19168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19170 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19171 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19172 if test $ac_cv_type_off_t = yes; then
19174 cat >>confdefs.h
<<_ACEOF
19175 #define HAVE_OFF_T 1
19180 { echo "$as_me:$LINENO: checking for pid_t" >&5
19181 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19182 if test "${ac_cv_type_pid_t+set}" = set; then
19183 echo $ECHO_N "(cached) $ECHO_C" >&6
19185 cat >conftest.
$ac_ext <<_ACEOF
19188 cat confdefs.h
>>conftest.
$ac_ext
19189 cat >>conftest.
$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 $ac_includes_default
19192 typedef pid_t ac__type_new_;
19196 if ((ac__type_new_ *) 0)
19198 if (sizeof (ac__type_new_))
19204 rm -f conftest.
$ac_objext
19205 if { (ac_try
="$ac_compile"
19206 case "(($ac_try" in
19207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19208 *) ac_try_echo=$ac_try;;
19210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19211 (eval "$ac_compile") 2>conftest.er1
19213 grep -v '^ *+' conftest.er1 >conftest.err
19215 cat conftest.err >&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } &&
19218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19219 { (case "(($ac_try" in
19220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19221 *) ac_try_echo
=$ac_try;;
19223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19224 (eval "$ac_try") 2>&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); }; } &&
19228 { ac_try
='test -s conftest.$ac_objext'
19229 { (case "(($ac_try" in
19230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19231 *) ac_try_echo=$ac_try;;
19233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19234 (eval "$ac_try") 2>&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); }; }; then
19238 ac_cv_type_pid_t=yes
19240 echo "$as_me: failed program was:" >&5
19241 sed 's/^/| /' conftest.$ac_ext >&5
19243 ac_cv_type_pid_t=no
19246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19248 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19249 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19250 if test $ac_cv_type_pid_t = yes; then
19252 cat >>confdefs.h <<_ACEOF
19253 #define HAVE_PID_T 1
19258 { echo "$as_me:$LINENO: checking for size_t" >&5
19259 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19260 if test "${ac_cv_type_size_t+set}" = set; then
19261 echo $ECHO_N "(cached) $ECHO_C" >&6
19263 cat >conftest.$ac_ext <<_ACEOF
19266 cat confdefs.h >>conftest.$ac_ext
19267 cat >>conftest.$ac_ext <<_ACEOF
19268 /* end confdefs.h. */
19269 $ac_includes_default
19270 typedef size_t ac__type_new_;
19274 if ((ac__type_new_ *) 0)
19276 if (sizeof (ac__type_new_))
19282 rm -f conftest.$ac_objext
19283 if { (ac_try="$ac_compile"
19284 case "(($ac_try" in
19285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19286 *) ac_try_echo
=$ac_try;;
19288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19289 (eval "$ac_compile") 2>conftest.er1
19291 grep -v '^ *+' conftest.er1
>conftest.err
19293 cat conftest.err
>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } &&
19296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19297 { (case "(($ac_try" in
19298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19299 *) ac_try_echo=$ac_try;;
19301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19302 (eval "$ac_try") 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; } &&
19306 { ac_try='test -s conftest.$ac_objext'
19307 { (case "(($ac_try" in
19308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19309 *) ac_try_echo
=$ac_try;;
19311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19312 (eval "$ac_try") 2>&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; }; then
19316 ac_cv_type_size_t
=yes
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.
$ac_ext >&5
19321 ac_cv_type_size_t
=no
19324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19326 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19327 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19328 if test $ac_cv_type_size_t = yes; then
19330 cat >>confdefs.h
<<_ACEOF
19331 #define HAVE_SIZE_T 1
19336 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19337 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19338 if test "${ac_cv_type_ssize_t+set}" = set; then
19339 echo $ECHO_N "(cached) $ECHO_C" >&6
19341 cat >conftest.
$ac_ext <<_ACEOF
19344 cat confdefs.h
>>conftest.
$ac_ext
19345 cat >>conftest.
$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 $ac_includes_default
19348 typedef ssize_t ac__type_new_;
19352 if ((ac__type_new_ *) 0)
19354 if (sizeof (ac__type_new_))
19360 rm -f conftest.
$ac_objext
19361 if { (ac_try
="$ac_compile"
19362 case "(($ac_try" in
19363 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19364 *) ac_try_echo=$ac_try;;
19366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19367 (eval "$ac_compile") 2>conftest.er1
19369 grep -v '^ *+' conftest.er1 >conftest.err
19371 cat conftest.err >&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } &&
19374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19375 { (case "(($ac_try" in
19376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19377 *) ac_try_echo
=$ac_try;;
19379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19380 (eval "$ac_try") 2>&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; } &&
19384 { ac_try
='test -s conftest.$ac_objext'
19385 { (case "(($ac_try" in
19386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19387 *) ac_try_echo=$ac_try;;
19389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19390 (eval "$ac_try") 2>&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); }; }; then
19394 ac_cv_type_ssize_t=yes
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19399 ac_cv_type_ssize_t=no
19402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19404 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19405 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19406 if test $ac_cv_type_ssize_t = yes; then
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_SSIZE_T 1
19414 { echo "$as_me:$LINENO: checking for long long" >&5
19415 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19416 if test "${ac_cv_type_long_long+set}" = set; then
19417 echo $ECHO_N "(cached) $ECHO_C" >&6
19419 cat >conftest.$ac_ext <<_ACEOF
19422 cat confdefs.h >>conftest.$ac_ext
19423 cat >>conftest.$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 $ac_includes_default
19426 typedef long long ac__type_new_;
19430 if ((ac__type_new_ *) 0)
19432 if (sizeof (ac__type_new_))
19438 rm -f conftest.$ac_objext
19439 if { (ac_try="$ac_compile"
19440 case "(($ac_try" in
19441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19442 *) ac_try_echo
=$ac_try;;
19444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19445 (eval "$ac_compile") 2>conftest.er1
19447 grep -v '^ *+' conftest.er1
>conftest.err
19449 cat conftest.err
>&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); } &&
19452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19453 { (case "(($ac_try" in
19454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19455 *) ac_try_echo=$ac_try;;
19457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19458 (eval "$ac_try") 2>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); }; } &&
19462 { ac_try='test -s conftest.$ac_objext'
19463 { (case "(($ac_try" in
19464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19465 *) ac_try_echo
=$ac_try;;
19467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19468 (eval "$ac_try") 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19472 ac_cv_type_long_long
=yes
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.
$ac_ext >&5
19477 ac_cv_type_long_long
=no
19480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19482 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19483 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19484 if test $ac_cv_type_long_long = yes; then
19486 cat >>confdefs.h
<<_ACEOF
19487 #define HAVE_LONG_LONG 1
19492 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19493 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19494 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 cat >conftest.
$ac_ext <<_ACEOF
19500 cat confdefs.h
>>conftest.
$ac_ext
19501 cat >>conftest.
$ac_ext <<_ACEOF
19502 /* end confdefs.h. */
19503 $ac_includes_default
19504 typedef fsblkcnt_t ac__type_new_;
19508 if ((ac__type_new_ *) 0)
19510 if (sizeof (ac__type_new_))
19516 rm -f conftest.
$ac_objext
19517 if { (ac_try
="$ac_compile"
19518 case "(($ac_try" in
19519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19520 *) ac_try_echo=$ac_try;;
19522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19523 (eval "$ac_compile") 2>conftest.er1
19525 grep -v '^ *+' conftest.er1 >conftest.err
19527 cat conftest.err >&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } &&
19530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19531 { (case "(($ac_try" in
19532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19533 *) ac_try_echo
=$ac_try;;
19535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19536 (eval "$ac_try") 2>&5
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); }; } &&
19540 { ac_try
='test -s conftest.$ac_objext'
19541 { (case "(($ac_try" in
19542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19543 *) ac_try_echo=$ac_try;;
19545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19546 (eval "$ac_try") 2>&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; }; then
19550 ac_cv_type_fsblkcnt_t=yes
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.$ac_ext >&5
19555 ac_cv_type_fsblkcnt_t=no
19558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19560 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19561 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19562 if test $ac_cv_type_fsblkcnt_t = yes; then
19564 cat >>confdefs.h <<_ACEOF
19565 #define HAVE_FSBLKCNT_T 1
19570 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19571 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19572 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19573 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 cat >conftest.$ac_ext <<_ACEOF
19578 cat confdefs.h >>conftest.$ac_ext
19579 cat >>conftest.$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19582 typedef fsfilcnt_t ac__type_new_;
19586 if ((ac__type_new_ *) 0)
19588 if (sizeof (ac__type_new_))
19594 rm -f conftest.$ac_objext
19595 if { (ac_try="$ac_compile"
19596 case "(($ac_try" in
19597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19598 *) ac_try_echo
=$ac_try;;
19600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19601 (eval "$ac_compile") 2>conftest.er1
19603 grep -v '^ *+' conftest.er1
>conftest.err
19605 cat conftest.err
>&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } &&
19608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19609 { (case "(($ac_try" in
19610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19611 *) ac_try_echo=$ac_try;;
19613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19614 (eval "$ac_try") 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; } &&
19618 { ac_try='test -s conftest.$ac_objext'
19619 { (case "(($ac_try" in
19620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19621 *) ac_try_echo
=$ac_try;;
19623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19624 (eval "$ac_try") 2>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_cv_type_fsfilcnt_t
=yes
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.
$ac_ext >&5
19633 ac_cv_type_fsfilcnt_t
=no
19636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19638 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19639 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19640 if test $ac_cv_type_fsfilcnt_t = yes; then
19642 cat >>confdefs.h
<<_ACEOF
19643 #define HAVE_FSFILCNT_T 1
19649 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19650 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19651 if test "${ac_cv_type_sigset_t+set}" = set; then
19652 echo $ECHO_N "(cached) $ECHO_C" >&6
19654 cat >conftest.
$ac_ext <<_ACEOF
19657 cat confdefs.h
>>conftest.
$ac_ext
19658 cat >>conftest.
$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 #include <signal.h>
19662 typedef sigset_t ac__type_new_;
19666 if ((ac__type_new_ *) 0)
19668 if (sizeof (ac__type_new_))
19674 rm -f conftest.
$ac_objext
19675 if { (ac_try
="$ac_compile"
19676 case "(($ac_try" in
19677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19678 *) ac_try_echo=$ac_try;;
19680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19681 (eval "$ac_compile") 2>conftest.er1
19683 grep -v '^ *+' conftest.er1 >conftest.err
19685 cat conftest.err >&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); } &&
19688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19689 { (case "(($ac_try" in
19690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19691 *) ac_try_echo
=$ac_try;;
19693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19694 (eval "$ac_try") 2>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; } &&
19698 { ac_try
='test -s conftest.$ac_objext'
19699 { (case "(($ac_try" in
19700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19701 *) ac_try_echo=$ac_try;;
19703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_try") 2>&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); }; }; then
19708 ac_cv_type_sigset_t=yes
19710 echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.$ac_ext >&5
19713 ac_cv_type_sigset_t=no
19716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19718 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19719 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19720 if test $ac_cv_type_sigset_t = yes; then
19722 cat >>confdefs.h <<_ACEOF
19723 #define HAVE_SIGSET_T 1
19729 { echo "$as_me:$LINENO: checking for request_sense" >&5
19730 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19731 if test "${ac_cv_type_request_sense+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19734 cat >conftest.$ac_ext <<_ACEOF
19737 cat confdefs.h >>conftest.$ac_ext
19738 cat >>conftest.$ac_ext <<_ACEOF
19739 /* end confdefs.h. */
19740 #include <linux/cdrom.h>
19742 typedef request_sense ac__type_new_;
19746 if ((ac__type_new_ *) 0)
19748 if (sizeof (ac__type_new_))
19754 rm -f conftest.$ac_objext
19755 if { (ac_try="$ac_compile"
19756 case "(($ac_try" in
19757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19758 *) ac_try_echo
=$ac_try;;
19760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19761 (eval "$ac_compile") 2>conftest.er1
19763 grep -v '^ *+' conftest.er1
>conftest.err
19765 cat conftest.err
>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } &&
19768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19769 { (case "(($ac_try" in
19770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19771 *) ac_try_echo=$ac_try;;
19773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19774 (eval "$ac_try") 2>&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; } &&
19778 { ac_try='test -s conftest.$ac_objext'
19779 { (case "(($ac_try" in
19780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19781 *) ac_try_echo
=$ac_try;;
19783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19784 (eval "$ac_try") 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_cv_type_request_sense
=yes
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.
$ac_ext >&5
19793 ac_cv_type_request_sense
=no
19796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19798 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19799 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19800 if test $ac_cv_type_request_sense = yes; then
19802 cat >>confdefs.h
<<_ACEOF
19803 #define HAVE_REQUEST_SENSE 1
19810 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19811 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19812 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19813 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 cat >conftest.
$ac_ext <<_ACEOF
19818 cat confdefs.h
>>conftest.
$ac_ext
19819 cat >>conftest.
$ac_ext <<_ACEOF
19820 /* end confdefs.h. */
19821 #ifdef HAVE_LINUX_INPUT_H
19822 #include <linux/input.h>
19828 static struct ff_effect ac_aggr;
19829 if (ac_aggr.direction)
19835 rm -f conftest.
$ac_objext
19836 if { (ac_try
="$ac_compile"
19837 case "(($ac_try" in
19838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19839 *) ac_try_echo=$ac_try;;
19841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19842 (eval "$ac_compile") 2>conftest.er1
19844 grep -v '^ *+' conftest.er1 >conftest.err
19846 cat conftest.err >&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } &&
19849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19850 { (case "(($ac_try" in
19851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19852 *) ac_try_echo
=$ac_try;;
19854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19855 (eval "$ac_try") 2>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; } &&
19859 { ac_try
='test -s conftest.$ac_objext'
19860 { (case "(($ac_try" in
19861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19862 *) ac_try_echo=$ac_try;;
19864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19865 (eval "$ac_try") 2>&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); }; }; then
19869 ac_cv_member_struct_ff_effect_direction=yes
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19874 cat >conftest.$ac_ext <<_ACEOF
19877 cat confdefs.h >>conftest.$ac_ext
19878 cat >>conftest.$ac_ext <<_ACEOF
19879 /* end confdefs.h. */
19880 #ifdef HAVE_LINUX_INPUT_H
19881 #include <linux/input.h>
19887 static struct ff_effect ac_aggr;
19888 if (sizeof ac_aggr.direction)
19894 rm -f conftest.$ac_objext
19895 if { (ac_try="$ac_compile"
19896 case "(($ac_try" in
19897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19898 *) ac_try_echo
=$ac_try;;
19900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19901 (eval "$ac_compile") 2>conftest.er1
19903 grep -v '^ *+' conftest.er1
>conftest.err
19905 cat conftest.err
>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); } &&
19908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19909 { (case "(($ac_try" in
19910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19911 *) ac_try_echo=$ac_try;;
19913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19914 (eval "$ac_try") 2>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); }; } &&
19918 { ac_try='test -s conftest.$ac_objext'
19919 { (case "(($ac_try" in
19920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19921 *) ac_try_echo
=$ac_try;;
19923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19924 (eval "$ac_try") 2>&5
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; }; then
19928 ac_cv_member_struct_ff_effect_direction
=yes
19930 echo "$as_me: failed program was:" >&5
19931 sed 's/^/| /' conftest.
$ac_ext >&5
19933 ac_cv_member_struct_ff_effect_direction
=no
19936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19941 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
19942 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
19943 if test $ac_cv_member_struct_ff_effect_direction = yes; then
19945 cat >>confdefs.h
<<_ACEOF
19946 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
19953 { echo "$as_me:$LINENO: checking for sigaddset" >&5
19954 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
19955 if test "${wine_cv_have_sigaddset+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 cat >conftest.
$ac_ext <<_ACEOF
19961 cat confdefs.h
>>conftest.
$ac_ext
19962 cat >>conftest.
$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 #include <signal.h>
19968 sigset_t set; sigaddset(&set,SIGTERM);
19973 rm -f conftest.
$ac_objext conftest
$ac_exeext
19974 if { (ac_try
="$ac_link"
19975 case "(($ac_try" in
19976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19977 *) ac_try_echo=$ac_try;;
19979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19980 (eval "$ac_link") 2>conftest.er1
19982 grep -v '^ *+' conftest.er1 >conftest.err
19984 cat conftest.err >&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); } &&
19987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19988 { (case "(($ac_try" in
19989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19990 *) ac_try_echo
=$ac_try;;
19992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_try") 2>&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; } &&
19997 { ac_try
='test -s conftest$ac_exeext'
19998 { (case "(($ac_try" in
19999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20000 *) ac_try_echo=$ac_try;;
20002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20003 (eval "$ac_try") 2>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; }; then
20007 wine_cv_have_sigaddset=yes
20009 echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.$ac_ext >&5
20012 wine_cv_have_sigaddset=no
20015 rm -f core conftest.err conftest.$ac_objext \
20016 conftest$ac_exeext conftest.$ac_ext
20018 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20019 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20020 if test "$wine_cv_have_sigaddset" = "yes"
20023 cat >>confdefs.h <<\_ACEOF
20024 #define HAVE_SIGADDSET 1
20030 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20031 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20032 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20033 echo $ECHO_N "(cached) $ECHO_C" >&6
20035 cat >conftest.$ac_ext <<_ACEOF
20038 cat confdefs.h >>conftest.$ac_ext
20039 cat >>conftest.$ac_ext <<_ACEOF
20040 /* end confdefs.h. */
20050 struct hostent *result;
20057 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20058 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20064 rm -f conftest.$ac_objext conftest$ac_exeext
20065 if { (ac_try="$ac_link"
20066 case "(($ac_try" in
20067 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20068 *) ac_try_echo
=$ac_try;;
20070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20071 (eval "$ac_link") 2>conftest.er1
20073 grep -v '^ *+' conftest.er1
>conftest.err
20075 cat conftest.err
>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } &&
20078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20079 { (case "(($ac_try" in
20080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20081 *) ac_try_echo=$ac_try;;
20083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20084 (eval "$ac_try") 2>&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); }; } &&
20088 { ac_try='test -s conftest$ac_exeext'
20089 { (case "(($ac_try" in
20090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20091 *) ac_try_echo
=$ac_try;;
20093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20094 (eval "$ac_try") 2>&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); }; }; then
20098 wine_cv_linux_gethostbyname_r_6
=yes
20100 echo "$as_me: failed program was:" >&5
20101 sed 's/^/| /' conftest.
$ac_ext >&5
20103 wine_cv_linux_gethostbyname_r_6
=no
20107 rm -f core conftest.err conftest.
$ac_objext \
20108 conftest
$ac_exeext conftest.
$ac_ext
20111 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20112 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20113 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20116 cat >>confdefs.h
<<\_ACEOF
20117 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20122 if test "$ac_cv_header_linux_joystick_h" = "yes"
20124 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20125 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20126 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20127 echo $ECHO_N "(cached) $ECHO_C" >&6
20129 cat >conftest.
$ac_ext <<_ACEOF
20132 cat confdefs.h
>>conftest.
$ac_ext
20133 cat >>conftest.
$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20136 #include <sys/ioctl.h>
20137 #include <linux/joystick.h>
20139 struct js_event blub;
20140 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20141 #error "no 2.2 header"
20152 rm -f conftest.
$ac_objext
20153 if { (ac_try
="$ac_compile"
20154 case "(($ac_try" in
20155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20156 *) ac_try_echo=$ac_try;;
20158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20159 (eval "$ac_compile") 2>conftest.er1
20161 grep -v '^ *+' conftest.er1 >conftest.err
20163 cat conftest.err >&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); } &&
20166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20167 { (case "(($ac_try" in
20168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20169 *) ac_try_echo
=$ac_try;;
20171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20172 (eval "$ac_try") 2>&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); }; } &&
20176 { ac_try
='test -s conftest.$ac_objext'
20177 { (case "(($ac_try" in
20178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20179 *) ac_try_echo=$ac_try;;
20181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20182 (eval "$ac_try") 2>&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); }; }; then
20186 wine_cv_linux_joystick_22_api=yes
20188 echo "$as_me: failed program was:" >&5
20189 sed 's/^/| /' conftest.$ac_ext >&5
20191 wine_cv_linux_joystick_22_api=no
20194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20197 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20198 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20199 if test "$wine_cv_linux_joystick_22_api" = "yes"
20202 cat >>confdefs.h <<\_ACEOF
20203 #define HAVE_LINUX_22_JOYSTICK_API 1
20210 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20211 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20212 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20213 echo $ECHO_N "(cached) $ECHO_C" >&6
20215 cat >conftest.$ac_ext <<_ACEOF
20218 cat confdefs.h >>conftest.$ac_ext
20219 cat >>conftest.$ac_ext <<_ACEOF
20220 /* end confdefs.h. */
20221 #include <sys/types.h>
20222 #ifdef HAVE_SYS_PARAM_H
20223 # include <sys/param.h>
20225 #ifdef HAVE_SYS_MOUNT_H
20226 # include <sys/mount.h>
20228 #ifdef HAVE_SYS_VFS_H
20229 # include <sys/vfs.h>
20231 #ifdef HAVE_SYS_STATFS_H
20232 # include <sys/statfs.h>
20238 static struct statfs ac_aggr;
20239 if (ac_aggr.f_bfree)
20245 rm -f conftest.$ac_objext
20246 if { (ac_try="$ac_compile"
20247 case "(($ac_try" in
20248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20249 *) ac_try_echo
=$ac_try;;
20251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20252 (eval "$ac_compile") 2>conftest.er1
20254 grep -v '^ *+' conftest.er1
>conftest.err
20256 cat conftest.err
>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } &&
20259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20260 { (case "(($ac_try" in
20261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20262 *) ac_try_echo=$ac_try;;
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20265 (eval "$ac_try") 2>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; } &&
20269 { ac_try='test -s conftest.$ac_objext'
20270 { (case "(($ac_try" in
20271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20272 *) ac_try_echo
=$ac_try;;
20274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20275 (eval "$ac_try") 2>&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; }; then
20279 ac_cv_member_struct_statfs_f_bfree
=yes
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.
$ac_ext >&5
20284 cat >conftest.
$ac_ext <<_ACEOF
20287 cat confdefs.h
>>conftest.
$ac_ext
20288 cat >>conftest.
$ac_ext <<_ACEOF
20289 /* end confdefs.h. */
20290 #include <sys/types.h>
20291 #ifdef HAVE_SYS_PARAM_H
20292 # include <sys/param.h>
20294 #ifdef HAVE_SYS_MOUNT_H
20295 # include <sys/mount.h>
20297 #ifdef HAVE_SYS_VFS_H
20298 # include <sys/vfs.h>
20300 #ifdef HAVE_SYS_STATFS_H
20301 # include <sys/statfs.h>
20307 static struct statfs ac_aggr;
20308 if (sizeof ac_aggr.f_bfree)
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 ac_cv_member_struct_statfs_f_bfree=yes
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.$ac_ext >&5
20353 ac_cv_member_struct_statfs_f_bfree=no
20356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20361 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20362 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20363 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20365 cat >>confdefs.h <<_ACEOF
20366 #define HAVE_STRUCT_STATFS_F_BFREE 1
20371 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20372 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20373 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20374 echo $ECHO_N "(cached) $ECHO_C" >&6
20376 cat >conftest.$ac_ext <<_ACEOF
20379 cat confdefs.h >>conftest.$ac_ext
20380 cat >>conftest.$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 #include <sys/types.h>
20383 #ifdef HAVE_SYS_PARAM_H
20384 # include <sys/param.h>
20386 #ifdef HAVE_SYS_MOUNT_H
20387 # include <sys/mount.h>
20389 #ifdef HAVE_SYS_VFS_H
20390 # include <sys/vfs.h>
20392 #ifdef HAVE_SYS_STATFS_H
20393 # include <sys/statfs.h>
20399 static struct statfs ac_aggr;
20400 if (ac_aggr.f_bavail)
20406 rm -f conftest.$ac_objext
20407 if { (ac_try="$ac_compile"
20408 case "(($ac_try" in
20409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20410 *) ac_try_echo
=$ac_try;;
20412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20413 (eval "$ac_compile") 2>conftest.er1
20415 grep -v '^ *+' conftest.er1
>conftest.err
20417 cat conftest.err
>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } &&
20420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20421 { (case "(($ac_try" in
20422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20423 *) ac_try_echo=$ac_try;;
20425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20426 (eval "$ac_try") 2>&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); }; } &&
20430 { ac_try='test -s conftest.$ac_objext'
20431 { (case "(($ac_try" in
20432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20433 *) ac_try_echo
=$ac_try;;
20435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20436 (eval "$ac_try") 2>&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; }; then
20440 ac_cv_member_struct_statfs_f_bavail
=yes
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.
$ac_ext >&5
20445 cat >conftest.
$ac_ext <<_ACEOF
20448 cat confdefs.h
>>conftest.
$ac_ext
20449 cat >>conftest.
$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 #include <sys/types.h>
20452 #ifdef HAVE_SYS_PARAM_H
20453 # include <sys/param.h>
20455 #ifdef HAVE_SYS_MOUNT_H
20456 # include <sys/mount.h>
20458 #ifdef HAVE_SYS_VFS_H
20459 # include <sys/vfs.h>
20461 #ifdef HAVE_SYS_STATFS_H
20462 # include <sys/statfs.h>
20468 static struct statfs ac_aggr;
20469 if (sizeof ac_aggr.f_bavail)
20475 rm -f conftest.
$ac_objext
20476 if { (ac_try
="$ac_compile"
20477 case "(($ac_try" in
20478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20479 *) ac_try_echo=$ac_try;;
20481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20482 (eval "$ac_compile") 2>conftest.er1
20484 grep -v '^ *+' conftest.er1 >conftest.err
20486 cat conftest.err >&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); } &&
20489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20490 { (case "(($ac_try" in
20491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20492 *) ac_try_echo
=$ac_try;;
20494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20495 (eval "$ac_try") 2>&5
20497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20498 (exit $ac_status); }; } &&
20499 { ac_try
='test -s conftest.$ac_objext'
20500 { (case "(($ac_try" in
20501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20502 *) ac_try_echo=$ac_try;;
20504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20505 (eval "$ac_try") 2>&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); }; }; then
20509 ac_cv_member_struct_statfs_f_bavail=yes
20511 echo "$as_me: failed program was:" >&5
20512 sed 's/^/| /' conftest.$ac_ext >&5
20514 ac_cv_member_struct_statfs_f_bavail=no
20517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20522 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20523 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20524 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20526 cat >>confdefs.h <<_ACEOF
20527 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20532 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20533 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20534 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 cat >conftest.$ac_ext <<_ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 #include <sys/types.h>
20544 #ifdef HAVE_SYS_PARAM_H
20545 # include <sys/param.h>
20547 #ifdef HAVE_SYS_MOUNT_H
20548 # include <sys/mount.h>
20550 #ifdef HAVE_SYS_VFS_H
20551 # include <sys/vfs.h>
20553 #ifdef HAVE_SYS_STATFS_H
20554 # include <sys/statfs.h>
20560 static struct statfs ac_aggr;
20561 if (ac_aggr.f_frsize)
20567 rm -f conftest.$ac_objext
20568 if { (ac_try="$ac_compile"
20569 case "(($ac_try" in
20570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20571 *) ac_try_echo
=$ac_try;;
20573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20574 (eval "$ac_compile") 2>conftest.er1
20576 grep -v '^ *+' conftest.er1
>conftest.err
20578 cat conftest.err
>&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } &&
20581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20582 { (case "(($ac_try" in
20583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20584 *) ac_try_echo=$ac_try;;
20586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20587 (eval "$ac_try") 2>&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; } &&
20591 { ac_try='test -s conftest.$ac_objext'
20592 { (case "(($ac_try" in
20593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20594 *) ac_try_echo
=$ac_try;;
20596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20597 (eval "$ac_try") 2>&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; }; then
20601 ac_cv_member_struct_statfs_f_frsize
=yes
20603 echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.
$ac_ext >&5
20606 cat >conftest.
$ac_ext <<_ACEOF
20609 cat confdefs.h
>>conftest.
$ac_ext
20610 cat >>conftest.
$ac_ext <<_ACEOF
20611 /* end confdefs.h. */
20612 #include <sys/types.h>
20613 #ifdef HAVE_SYS_PARAM_H
20614 # include <sys/param.h>
20616 #ifdef HAVE_SYS_MOUNT_H
20617 # include <sys/mount.h>
20619 #ifdef HAVE_SYS_VFS_H
20620 # include <sys/vfs.h>
20622 #ifdef HAVE_SYS_STATFS_H
20623 # include <sys/statfs.h>
20629 static struct statfs ac_aggr;
20630 if (sizeof ac_aggr.f_frsize)
20636 rm -f conftest.
$ac_objext
20637 if { (ac_try
="$ac_compile"
20638 case "(($ac_try" in
20639 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20640 *) ac_try_echo=$ac_try;;
20642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20643 (eval "$ac_compile") 2>conftest.er1
20645 grep -v '^ *+' conftest.er1 >conftest.err
20647 cat conftest.err >&5
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); } &&
20650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20651 { (case "(($ac_try" in
20652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20653 *) ac_try_echo
=$ac_try;;
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_try") 2>&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; } &&
20660 { ac_try
='test -s conftest.$ac_objext'
20661 { (case "(($ac_try" in
20662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20663 *) ac_try_echo=$ac_try;;
20665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20666 (eval "$ac_try") 2>&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; }; then
20670 ac_cv_member_struct_statfs_f_frsize=yes
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.$ac_ext >&5
20675 ac_cv_member_struct_statfs_f_frsize=no
20678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20683 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20684 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20685 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20687 cat >>confdefs.h <<_ACEOF
20688 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20693 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20694 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20695 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20696 echo $ECHO_N "(cached) $ECHO_C" >&6
20698 cat >conftest.$ac_ext <<_ACEOF
20701 cat confdefs.h >>conftest.$ac_ext
20702 cat >>conftest.$ac_ext <<_ACEOF
20703 /* end confdefs.h. */
20704 #include <sys/types.h>
20705 #ifdef HAVE_SYS_PARAM_H
20706 # include <sys/param.h>
20708 #ifdef HAVE_SYS_MOUNT_H
20709 # include <sys/mount.h>
20711 #ifdef HAVE_SYS_VFS_H
20712 # include <sys/vfs.h>
20714 #ifdef HAVE_SYS_STATFS_H
20715 # include <sys/statfs.h>
20721 static struct statfs ac_aggr;
20722 if (ac_aggr.f_ffree)
20728 rm -f conftest.$ac_objext
20729 if { (ac_try="$ac_compile"
20730 case "(($ac_try" in
20731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20732 *) ac_try_echo
=$ac_try;;
20734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20735 (eval "$ac_compile") 2>conftest.er1
20737 grep -v '^ *+' conftest.er1
>conftest.err
20739 cat conftest.err
>&5
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); } &&
20742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20743 { (case "(($ac_try" in
20744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20745 *) ac_try_echo=$ac_try;;
20747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20748 (eval "$ac_try") 2>&5
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); }; } &&
20752 { ac_try='test -s conftest.$ac_objext'
20753 { (case "(($ac_try" in
20754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20755 *) ac_try_echo
=$ac_try;;
20757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20758 (eval "$ac_try") 2>&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; }; then
20762 ac_cv_member_struct_statfs_f_ffree
=yes
20764 echo "$as_me: failed program was:" >&5
20765 sed 's/^/| /' conftest.
$ac_ext >&5
20767 cat >conftest.
$ac_ext <<_ACEOF
20770 cat confdefs.h
>>conftest.
$ac_ext
20771 cat >>conftest.
$ac_ext <<_ACEOF
20772 /* end confdefs.h. */
20773 #include <sys/types.h>
20774 #ifdef HAVE_SYS_PARAM_H
20775 # include <sys/param.h>
20777 #ifdef HAVE_SYS_MOUNT_H
20778 # include <sys/mount.h>
20780 #ifdef HAVE_SYS_VFS_H
20781 # include <sys/vfs.h>
20783 #ifdef HAVE_SYS_STATFS_H
20784 # include <sys/statfs.h>
20790 static struct statfs ac_aggr;
20791 if (sizeof ac_aggr.f_ffree)
20797 rm -f conftest.
$ac_objext
20798 if { (ac_try
="$ac_compile"
20799 case "(($ac_try" in
20800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20801 *) ac_try_echo=$ac_try;;
20803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20804 (eval "$ac_compile") 2>conftest.er1
20806 grep -v '^ *+' conftest.er1 >conftest.err
20808 cat conftest.err >&5
20809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810 (exit $ac_status); } &&
20811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20812 { (case "(($ac_try" in
20813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20814 *) ac_try_echo
=$ac_try;;
20816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20817 (eval "$ac_try") 2>&5
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); }; } &&
20821 { ac_try
='test -s conftest.$ac_objext'
20822 { (case "(($ac_try" in
20823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_try") 2>&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; }; then
20831 ac_cv_member_struct_statfs_f_ffree=yes
20833 echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.$ac_ext >&5
20836 ac_cv_member_struct_statfs_f_ffree=no
20839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20844 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
20845 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
20846 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
20848 cat >>confdefs.h <<_ACEOF
20849 #define HAVE_STRUCT_STATFS_F_FFREE 1
20854 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
20855 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
20856 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
20857 echo $ECHO_N "(cached) $ECHO_C" >&6
20859 cat >conftest.$ac_ext <<_ACEOF
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 #include <sys/types.h>
20866 #ifdef HAVE_SYS_PARAM_H
20867 # include <sys/param.h>
20869 #ifdef HAVE_SYS_MOUNT_H
20870 # include <sys/mount.h>
20872 #ifdef HAVE_SYS_VFS_H
20873 # include <sys/vfs.h>
20875 #ifdef HAVE_SYS_STATFS_H
20876 # include <sys/statfs.h>
20882 static struct statfs ac_aggr;
20883 if (ac_aggr.f_favail)
20889 rm -f conftest.$ac_objext
20890 if { (ac_try="$ac_compile"
20891 case "(($ac_try" in
20892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20893 *) ac_try_echo
=$ac_try;;
20895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20896 (eval "$ac_compile") 2>conftest.er1
20898 grep -v '^ *+' conftest.er1
>conftest.err
20900 cat conftest.err
>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } &&
20903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20904 { (case "(($ac_try" in
20905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20906 *) ac_try_echo=$ac_try;;
20908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20909 (eval "$ac_try") 2>&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); }; } &&
20913 { ac_try='test -s conftest.$ac_objext'
20914 { (case "(($ac_try" in
20915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20916 *) ac_try_echo
=$ac_try;;
20918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20919 (eval "$ac_try") 2>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; }; then
20923 ac_cv_member_struct_statfs_f_favail
=yes
20925 echo "$as_me: failed program was:" >&5
20926 sed 's/^/| /' conftest.
$ac_ext >&5
20928 cat >conftest.
$ac_ext <<_ACEOF
20931 cat confdefs.h
>>conftest.
$ac_ext
20932 cat >>conftest.
$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 #include <sys/types.h>
20935 #ifdef HAVE_SYS_PARAM_H
20936 # include <sys/param.h>
20938 #ifdef HAVE_SYS_MOUNT_H
20939 # include <sys/mount.h>
20941 #ifdef HAVE_SYS_VFS_H
20942 # include <sys/vfs.h>
20944 #ifdef HAVE_SYS_STATFS_H
20945 # include <sys/statfs.h>
20951 static struct statfs ac_aggr;
20952 if (sizeof ac_aggr.f_favail)
20958 rm -f conftest.
$ac_objext
20959 if { (ac_try
="$ac_compile"
20960 case "(($ac_try" in
20961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20962 *) ac_try_echo=$ac_try;;
20964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20965 (eval "$ac_compile") 2>conftest.er1
20967 grep -v '^ *+' conftest.er1 >conftest.err
20969 cat conftest.err >&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); } &&
20972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20973 { (case "(($ac_try" in
20974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20975 *) ac_try_echo
=$ac_try;;
20977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20978 (eval "$ac_try") 2>&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); }; } &&
20982 { ac_try
='test -s conftest.$ac_objext'
20983 { (case "(($ac_try" in
20984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_try") 2>&5
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; }; then
20992 ac_cv_member_struct_statfs_f_favail=yes
20994 echo "$as_me: failed program was:" >&5
20995 sed 's/^/| /' conftest.$ac_ext >&5
20997 ac_cv_member_struct_statfs_f_favail=no
21000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21005 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21006 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21007 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21009 cat >>confdefs.h <<_ACEOF
21010 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21015 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21016 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21017 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21018 echo $ECHO_N "(cached) $ECHO_C" >&6
21020 cat >conftest.$ac_ext <<_ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h. */
21026 #include <sys/types.h>
21027 #ifdef HAVE_SYS_PARAM_H
21028 # include <sys/param.h>
21030 #ifdef HAVE_SYS_MOUNT_H
21031 # include <sys/mount.h>
21033 #ifdef HAVE_SYS_VFS_H
21034 # include <sys/vfs.h>
21036 #ifdef HAVE_SYS_STATFS_H
21037 # include <sys/statfs.h>
21043 static struct statfs ac_aggr;
21044 if (ac_aggr.f_namelen)
21050 rm -f conftest.$ac_objext
21051 if { (ac_try="$ac_compile"
21052 case "(($ac_try" in
21053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21054 *) ac_try_echo
=$ac_try;;
21056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21057 (eval "$ac_compile") 2>conftest.er1
21059 grep -v '^ *+' conftest.er1
>conftest.err
21061 cat conftest.err
>&5
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); } &&
21064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21065 { (case "(($ac_try" in
21066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21067 *) ac_try_echo=$ac_try;;
21069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21070 (eval "$ac_try") 2>&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); }; } &&
21074 { ac_try='test -s conftest.$ac_objext'
21075 { (case "(($ac_try" in
21076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21077 *) ac_try_echo
=$ac_try;;
21079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21080 (eval "$ac_try") 2>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); }; }; then
21084 ac_cv_member_struct_statfs_f_namelen
=yes
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.
$ac_ext >&5
21089 cat >conftest.
$ac_ext <<_ACEOF
21092 cat confdefs.h
>>conftest.
$ac_ext
21093 cat >>conftest.
$ac_ext <<_ACEOF
21094 /* end confdefs.h. */
21095 #include <sys/types.h>
21096 #ifdef HAVE_SYS_PARAM_H
21097 # include <sys/param.h>
21099 #ifdef HAVE_SYS_MOUNT_H
21100 # include <sys/mount.h>
21102 #ifdef HAVE_SYS_VFS_H
21103 # include <sys/vfs.h>
21105 #ifdef HAVE_SYS_STATFS_H
21106 # include <sys/statfs.h>
21112 static struct statfs ac_aggr;
21113 if (sizeof ac_aggr.f_namelen)
21119 rm -f conftest.
$ac_objext
21120 if { (ac_try
="$ac_compile"
21121 case "(($ac_try" in
21122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21123 *) ac_try_echo=$ac_try;;
21125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21126 (eval "$ac_compile") 2>conftest.er1
21128 grep -v '^ *+' conftest.er1 >conftest.err
21130 cat conftest.err >&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } &&
21133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21134 { (case "(($ac_try" in
21135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21136 *) ac_try_echo
=$ac_try;;
21138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21139 (eval "$ac_try") 2>&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); }; } &&
21143 { ac_try
='test -s conftest.$ac_objext'
21144 { (case "(($ac_try" in
21145 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21146 *) ac_try_echo=$ac_try;;
21148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21149 (eval "$ac_try") 2>&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); }; }; then
21153 ac_cv_member_struct_statfs_f_namelen=yes
21155 echo "$as_me: failed program was:" >&5
21156 sed 's/^/| /' conftest.$ac_ext >&5
21158 ac_cv_member_struct_statfs_f_namelen=no
21161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21166 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21167 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21168 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21170 cat >>confdefs.h <<_ACEOF
21171 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21178 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21179 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21180 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21181 echo $ECHO_N "(cached) $ECHO_C" >&6
21183 cat >conftest.$ac_ext <<_ACEOF
21186 cat confdefs.h >>conftest.$ac_ext
21187 cat >>conftest.$ac_ext <<_ACEOF
21188 /* end confdefs.h. */
21189 #ifdef HAVE_SYS_STATVFS_H
21190 #include <sys/statvfs.h>
21196 static struct statvfs ac_aggr;
21197 if (ac_aggr.f_blocks)
21203 rm -f conftest.$ac_objext
21204 if { (ac_try="$ac_compile"
21205 case "(($ac_try" in
21206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21207 *) ac_try_echo
=$ac_try;;
21209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21210 (eval "$ac_compile") 2>conftest.er1
21212 grep -v '^ *+' conftest.er1
>conftest.err
21214 cat conftest.err
>&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); } &&
21217 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21218 { (case "(($ac_try" in
21219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21220 *) ac_try_echo=$ac_try;;
21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223 (eval "$ac_try") 2>&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; } &&
21227 { ac_try='test -s conftest.$ac_objext'
21228 { (case "(($ac_try" in
21229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21230 *) ac_try_echo
=$ac_try;;
21232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21233 (eval "$ac_try") 2>&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); }; }; then
21237 ac_cv_member_struct_statvfs_f_blocks
=yes
21239 echo "$as_me: failed program was:" >&5
21240 sed 's/^/| /' conftest.
$ac_ext >&5
21242 cat >conftest.
$ac_ext <<_ACEOF
21245 cat confdefs.h
>>conftest.
$ac_ext
21246 cat >>conftest.
$ac_ext <<_ACEOF
21247 /* end confdefs.h. */
21248 #ifdef HAVE_SYS_STATVFS_H
21249 #include <sys/statvfs.h>
21255 static struct statvfs ac_aggr;
21256 if (sizeof ac_aggr.f_blocks)
21262 rm -f conftest.
$ac_objext
21263 if { (ac_try
="$ac_compile"
21264 case "(($ac_try" in
21265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21266 *) ac_try_echo=$ac_try;;
21268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21269 (eval "$ac_compile") 2>conftest.er1
21271 grep -v '^ *+' conftest.er1 >conftest.err
21273 cat conftest.err >&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); } &&
21276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21277 { (case "(($ac_try" in
21278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21279 *) ac_try_echo
=$ac_try;;
21281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21282 (eval "$ac_try") 2>&5
21284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21285 (exit $ac_status); }; } &&
21286 { ac_try
='test -s conftest.$ac_objext'
21287 { (case "(($ac_try" in
21288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21289 *) ac_try_echo=$ac_try;;
21291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21292 (eval "$ac_try") 2>&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); }; }; then
21296 ac_cv_member_struct_statvfs_f_blocks=yes
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.$ac_ext >&5
21301 ac_cv_member_struct_statvfs_f_blocks=no
21304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21309 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21310 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21311 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21313 cat >>confdefs.h <<_ACEOF
21314 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21321 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21322 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21323 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21326 cat >conftest.$ac_ext <<_ACEOF
21329 cat confdefs.h >>conftest.$ac_ext
21330 cat >>conftest.$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21332 #include <sys/types.h>
21333 #ifdef HAVE_SYS_SOCKET_H
21334 # include <sys/socket.h>
21336 #ifdef HAVE_SYS_UN_H
21337 # include <sys/un.h>
21343 static struct msghdr ac_aggr;
21344 if (ac_aggr.msg_accrights)
21350 rm -f conftest.$ac_objext
21351 if { (ac_try="$ac_compile"
21352 case "(($ac_try" in
21353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21354 *) ac_try_echo
=$ac_try;;
21356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21357 (eval "$ac_compile") 2>conftest.er1
21359 grep -v '^ *+' conftest.er1
>conftest.err
21361 cat conftest.err
>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } &&
21364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21365 { (case "(($ac_try" in
21366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21367 *) ac_try_echo=$ac_try;;
21369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21370 (eval "$ac_try") 2>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; } &&
21374 { ac_try='test -s conftest.$ac_objext'
21375 { (case "(($ac_try" in
21376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21377 *) ac_try_echo
=$ac_try;;
21379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21380 (eval "$ac_try") 2>&5
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); }; }; then
21384 ac_cv_member_struct_msghdr_msg_accrights
=yes
21386 echo "$as_me: failed program was:" >&5
21387 sed 's/^/| /' conftest.
$ac_ext >&5
21389 cat >conftest.
$ac_ext <<_ACEOF
21392 cat confdefs.h
>>conftest.
$ac_ext
21393 cat >>conftest.
$ac_ext <<_ACEOF
21394 /* end confdefs.h. */
21395 #include <sys/types.h>
21396 #ifdef HAVE_SYS_SOCKET_H
21397 # include <sys/socket.h>
21399 #ifdef HAVE_SYS_UN_H
21400 # include <sys/un.h>
21406 static struct msghdr ac_aggr;
21407 if (sizeof ac_aggr.msg_accrights)
21413 rm -f conftest.
$ac_objext
21414 if { (ac_try
="$ac_compile"
21415 case "(($ac_try" in
21416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21417 *) ac_try_echo=$ac_try;;
21419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21420 (eval "$ac_compile") 2>conftest.er1
21422 grep -v '^ *+' conftest.er1 >conftest.err
21424 cat conftest.err >&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); } &&
21427 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21428 { (case "(($ac_try" in
21429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21430 *) ac_try_echo
=$ac_try;;
21432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21433 (eval "$ac_try") 2>&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); }; } &&
21437 { ac_try
='test -s conftest.$ac_objext'
21438 { (case "(($ac_try" in
21439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21440 *) ac_try_echo=$ac_try;;
21442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21443 (eval "$ac_try") 2>&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); }; }; then
21447 ac_cv_member_struct_msghdr_msg_accrights=yes
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.$ac_ext >&5
21452 ac_cv_member_struct_msghdr_msg_accrights=no
21455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21460 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21461 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21462 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21464 cat >>confdefs.h <<_ACEOF
21465 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21470 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21471 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21472 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21473 echo $ECHO_N "(cached) $ECHO_C" >&6
21475 cat >conftest.$ac_ext <<_ACEOF
21478 cat confdefs.h >>conftest.$ac_ext
21479 cat >>conftest.$ac_ext <<_ACEOF
21480 /* end confdefs.h. */
21481 #include <sys/types.h>
21482 #ifdef HAVE_SYS_SOCKET_H
21483 # include <sys/socket.h>
21485 #ifdef HAVE_SYS_UN_H
21486 # include <sys/un.h>
21492 static struct sockaddr ac_aggr;
21493 if (ac_aggr.sa_len)
21499 rm -f conftest.$ac_objext
21500 if { (ac_try="$ac_compile"
21501 case "(($ac_try" in
21502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21503 *) ac_try_echo
=$ac_try;;
21505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21506 (eval "$ac_compile") 2>conftest.er1
21508 grep -v '^ *+' conftest.er1
>conftest.err
21510 cat conftest.err
>&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); } &&
21513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); }; } &&
21523 { ac_try='test -s conftest.$ac_objext'
21524 { (case "(($ac_try" in
21525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21526 *) ac_try_echo
=$ac_try;;
21528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21529 (eval "$ac_try") 2>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; }; then
21533 ac_cv_member_struct_sockaddr_sa_len
=yes
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.
$ac_ext >&5
21538 cat >conftest.
$ac_ext <<_ACEOF
21541 cat confdefs.h
>>conftest.
$ac_ext
21542 cat >>conftest.
$ac_ext <<_ACEOF
21543 /* end confdefs.h. */
21544 #include <sys/types.h>
21545 #ifdef HAVE_SYS_SOCKET_H
21546 # include <sys/socket.h>
21548 #ifdef HAVE_SYS_UN_H
21549 # include <sys/un.h>
21555 static struct sockaddr ac_aggr;
21556 if (sizeof ac_aggr.sa_len)
21562 rm -f conftest.
$ac_objext
21563 if { (ac_try
="$ac_compile"
21564 case "(($ac_try" in
21565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21566 *) ac_try_echo=$ac_try;;
21568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_compile") 2>conftest.er1
21571 grep -v '^ *+' conftest.er1 >conftest.err
21573 cat conftest.err >&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } &&
21576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); }; } &&
21586 { ac_try
='test -s conftest.$ac_objext'
21587 { (case "(($ac_try" in
21588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_try") 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; }; then
21596 ac_cv_member_struct_sockaddr_sa_len=yes
21598 echo "$as_me: failed program was:" >&5
21599 sed 's/^/| /' conftest.$ac_ext >&5
21601 ac_cv_member_struct_sockaddr_sa_len=no
21604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21609 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21610 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21611 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21613 cat >>confdefs.h <<_ACEOF
21614 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21619 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21620 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21621 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21622 echo $ECHO_N "(cached) $ECHO_C" >&6
21624 cat >conftest.$ac_ext <<_ACEOF
21627 cat confdefs.h >>conftest.$ac_ext
21628 cat >>conftest.$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21630 #include <sys/types.h>
21631 #ifdef HAVE_SYS_SOCKET_H
21632 # include <sys/socket.h>
21634 #ifdef HAVE_SYS_UN_H
21635 # include <sys/un.h>
21641 static struct sockaddr_un ac_aggr;
21642 if (ac_aggr.sun_len)
21648 rm -f conftest.$ac_objext
21649 if { (ac_try="$ac_compile"
21650 case "(($ac_try" in
21651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21652 *) ac_try_echo
=$ac_try;;
21654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21655 (eval "$ac_compile") 2>conftest.er1
21657 grep -v '^ *+' conftest.er1
>conftest.err
21659 cat conftest.err
>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } &&
21662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; } &&
21672 { ac_try='test -s conftest.$ac_objext'
21673 { (case "(($ac_try" in
21674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21675 *) ac_try_echo
=$ac_try;;
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_try") 2>&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); }; }; then
21682 ac_cv_member_struct_sockaddr_un_sun_len
=yes
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.
$ac_ext >&5
21687 cat >conftest.
$ac_ext <<_ACEOF
21690 cat confdefs.h
>>conftest.
$ac_ext
21691 cat >>conftest.
$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21693 #include <sys/types.h>
21694 #ifdef HAVE_SYS_SOCKET_H
21695 # include <sys/socket.h>
21697 #ifdef HAVE_SYS_UN_H
21698 # include <sys/un.h>
21704 static struct sockaddr_un ac_aggr;
21705 if (sizeof ac_aggr.sun_len)
21711 rm -f conftest.
$ac_objext
21712 if { (ac_try
="$ac_compile"
21713 case "(($ac_try" in
21714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21715 *) ac_try_echo=$ac_try;;
21717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21718 (eval "$ac_compile") 2>conftest.er1
21720 grep -v '^ *+' conftest.er1 >conftest.err
21722 cat conftest.err >&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } &&
21725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
21733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21734 (exit $ac_status); }; } &&
21735 { ac_try
='test -s conftest.$ac_objext'
21736 { (case "(($ac_try" in
21737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21738 *) ac_try_echo=$ac_try;;
21740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21741 (eval "$ac_try") 2>&5
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); }; }; then
21745 ac_cv_member_struct_sockaddr_un_sun_len=yes
21747 echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.$ac_ext >&5
21750 ac_cv_member_struct_sockaddr_un_sun_len=no
21753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21758 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21759 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21760 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21762 cat >>confdefs.h <<_ACEOF
21763 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21770 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21771 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21772 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21773 echo $ECHO_N "(cached) $ECHO_C" >&6
21775 cat >conftest.$ac_ext <<_ACEOF
21778 cat confdefs.h >>conftest.$ac_ext
21779 cat >>conftest.$ac_ext <<_ACEOF
21780 /* end confdefs.h. */
21781 #include <sys/types.h>
21782 #ifdef HAVE_SCSI_SG_H
21783 #include <scsi/sg.h>
21789 static scsireq_t ac_aggr;
21796 rm -f conftest.$ac_objext
21797 if { (ac_try="$ac_compile"
21798 case "(($ac_try" in
21799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21800 *) ac_try_echo
=$ac_try;;
21802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21803 (eval "$ac_compile") 2>conftest.er1
21805 grep -v '^ *+' conftest.er1
>conftest.err
21807 cat conftest.err
>&5
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); } &&
21810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21811 { (case "(($ac_try" in
21812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21813 *) ac_try_echo=$ac_try;;
21815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21816 (eval "$ac_try") 2>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); }; } &&
21820 { ac_try='test -s conftest.$ac_objext'
21821 { (case "(($ac_try" in
21822 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21823 *) ac_try_echo
=$ac_try;;
21825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_try") 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; }; then
21830 ac_cv_member_scsireq_t_cmd
=yes
21832 echo "$as_me: failed program was:" >&5
21833 sed 's/^/| /' conftest.
$ac_ext >&5
21835 cat >conftest.
$ac_ext <<_ACEOF
21838 cat confdefs.h
>>conftest.
$ac_ext
21839 cat >>conftest.
$ac_ext <<_ACEOF
21840 /* end confdefs.h. */
21841 #include <sys/types.h>
21842 #ifdef HAVE_SCSI_SG_H
21843 #include <scsi/sg.h>
21849 static scsireq_t ac_aggr;
21850 if (sizeof ac_aggr.cmd)
21856 rm -f conftest.
$ac_objext
21857 if { (ac_try
="$ac_compile"
21858 case "(($ac_try" in
21859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21860 *) ac_try_echo=$ac_try;;
21862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21863 (eval "$ac_compile") 2>conftest.er1
21865 grep -v '^ *+' conftest.er1 >conftest.err
21867 cat conftest.err >&5
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); } &&
21870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21871 { (case "(($ac_try" in
21872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21873 *) ac_try_echo
=$ac_try;;
21875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21876 (eval "$ac_try") 2>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); }; } &&
21880 { ac_try
='test -s conftest.$ac_objext'
21881 { (case "(($ac_try" in
21882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21883 *) ac_try_echo=$ac_try;;
21885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21886 (eval "$ac_try") 2>&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); }; }; then
21890 ac_cv_member_scsireq_t_cmd=yes
21892 echo "$as_me: failed program was:" >&5
21893 sed 's/^/| /' conftest.$ac_ext >&5
21895 ac_cv_member_scsireq_t_cmd=no
21898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21903 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
21904 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
21905 if test $ac_cv_member_scsireq_t_cmd = yes; then
21907 cat >>confdefs.h <<_ACEOF
21908 #define HAVE_SCSIREQ_T_CMD 1
21913 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
21914 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
21915 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
21916 echo $ECHO_N "(cached) $ECHO_C" >&6
21918 cat >conftest.$ac_ext <<_ACEOF
21921 cat confdefs.h >>conftest.$ac_ext
21922 cat >>conftest.$ac_ext <<_ACEOF
21923 /* end confdefs.h. */
21924 #include <sys/types.h>
21925 #ifdef HAVE_SCSI_SG_H
21926 #include <scsi/sg.h>
21932 static sg_io_hdr_t ac_aggr;
21933 if (ac_aggr.interface_id)
21939 rm -f conftest.$ac_objext
21940 if { (ac_try="$ac_compile"
21941 case "(($ac_try" in
21942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21943 *) ac_try_echo
=$ac_try;;
21945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21946 (eval "$ac_compile") 2>conftest.er1
21948 grep -v '^ *+' conftest.er1
>conftest.err
21950 cat conftest.err
>&5
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); } &&
21953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21954 { (case "(($ac_try" in
21955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21956 *) ac_try_echo=$ac_try;;
21958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21959 (eval "$ac_try") 2>&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; } &&
21963 { ac_try='test -s conftest.$ac_objext'
21964 { (case "(($ac_try" in
21965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21966 *) ac_try_echo
=$ac_try;;
21968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21969 (eval "$ac_try") 2>&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; }; then
21973 ac_cv_member_sg_io_hdr_t_interface_id
=yes
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.
$ac_ext >&5
21978 cat >conftest.
$ac_ext <<_ACEOF
21981 cat confdefs.h
>>conftest.
$ac_ext
21982 cat >>conftest.
$ac_ext <<_ACEOF
21983 /* end confdefs.h. */
21984 #include <sys/types.h>
21985 #ifdef HAVE_SCSI_SG_H
21986 #include <scsi/sg.h>
21992 static sg_io_hdr_t ac_aggr;
21993 if (sizeof ac_aggr.interface_id)
21999 rm -f conftest.
$ac_objext
22000 if { (ac_try
="$ac_compile"
22001 case "(($ac_try" in
22002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22003 *) ac_try_echo=$ac_try;;
22005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22006 (eval "$ac_compile") 2>conftest.er1
22008 grep -v '^ *+' conftest.er1 >conftest.err
22010 cat conftest.err >&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } &&
22013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22014 { (case "(($ac_try" in
22015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22016 *) ac_try_echo
=$ac_try;;
22018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22019 (eval "$ac_try") 2>&5
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; } &&
22023 { ac_try
='test -s conftest.$ac_objext'
22024 { (case "(($ac_try" in
22025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22026 *) ac_try_echo=$ac_try;;
22028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22029 (eval "$ac_try") 2>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; }; then
22033 ac_cv_member_sg_io_hdr_t_interface_id=yes
22035 echo "$as_me: failed program was:" >&5
22036 sed 's/^/| /' conftest.$ac_ext >&5
22038 ac_cv_member_sg_io_hdr_t_interface_id=no
22041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22046 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22047 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22048 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22050 cat >>confdefs.h <<_ACEOF
22051 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22058 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22059 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22060 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22061 echo $ECHO_N "(cached) $ECHO_C" >&6
22063 cat >conftest.$ac_ext <<_ACEOF
22066 cat confdefs.h >>conftest.$ac_ext
22067 cat >>conftest.$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 #include <signal.h>
22074 static siginfo_t ac_aggr;
22081 rm -f conftest.$ac_objext
22082 if { (ac_try="$ac_compile"
22083 case "(($ac_try" in
22084 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22085 *) ac_try_echo
=$ac_try;;
22087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22088 (eval "$ac_compile") 2>conftest.er1
22090 grep -v '^ *+' conftest.er1
>conftest.err
22092 cat conftest.err
>&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); } &&
22095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22096 { (case "(($ac_try" in
22097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_try") 2>&5
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); }; } &&
22105 { ac_try='test -s conftest.$ac_objext'
22106 { (case "(($ac_try" in
22107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22108 *) ac_try_echo
=$ac_try;;
22110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22111 (eval "$ac_try") 2>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); }; }; then
22115 ac_cv_member_siginfo_t_si_fd
=yes
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.
$ac_ext >&5
22120 cat >conftest.
$ac_ext <<_ACEOF
22123 cat confdefs.h
>>conftest.
$ac_ext
22124 cat >>conftest.
$ac_ext <<_ACEOF
22125 /* end confdefs.h. */
22126 #include <signal.h>
22131 static siginfo_t ac_aggr;
22132 if (sizeof ac_aggr.si_fd)
22138 rm -f conftest.
$ac_objext
22139 if { (ac_try
="$ac_compile"
22140 case "(($ac_try" in
22141 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22142 *) ac_try_echo=$ac_try;;
22144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22145 (eval "$ac_compile") 2>conftest.er1
22147 grep -v '^ *+' conftest.er1 >conftest.err
22149 cat conftest.err >&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); } &&
22152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22153 { (case "(($ac_try" in
22154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22155 *) ac_try_echo
=$ac_try;;
22157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22158 (eval "$ac_try") 2>&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); }; } &&
22162 { ac_try
='test -s conftest.$ac_objext'
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_try") 2>&5
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); }; }; then
22172 ac_cv_member_siginfo_t_si_fd=yes
22174 echo "$as_me: failed program was:" >&5
22175 sed 's/^/| /' conftest.$ac_ext >&5
22177 ac_cv_member_siginfo_t_si_fd=no
22180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22185 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22186 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22187 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22189 cat >>confdefs.h <<_ACEOF
22190 #define HAVE_SIGINFO_T_SI_FD 1
22197 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22198 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22199 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22200 echo $ECHO_N "(cached) $ECHO_C" >&6
22202 cat >conftest.$ac_ext <<_ACEOF
22205 cat confdefs.h >>conftest.$ac_ext
22206 cat >>conftest.$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208 #include <sys/types.h>
22209 #ifdef HAVE_SYS_MTIO_H
22210 #include <sys/mtio.h>
22216 static struct mtget ac_aggr;
22217 if (ac_aggr.mt_blksiz)
22223 rm -f conftest.$ac_objext
22224 if { (ac_try="$ac_compile"
22225 case "(($ac_try" in
22226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22227 *) ac_try_echo
=$ac_try;;
22229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22232 grep -v '^ *+' conftest.er1
>conftest.err
22234 cat conftest.err
>&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } &&
22237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22238 { (case "(($ac_try" in
22239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22240 *) ac_try_echo=$ac_try;;
22242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22243 (eval "$ac_try") 2>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); }; } &&
22247 { ac_try='test -s conftest.$ac_objext'
22248 { (case "(($ac_try" in
22249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22250 *) ac_try_echo
=$ac_try;;
22252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22253 (eval "$ac_try") 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; }; then
22257 ac_cv_member_struct_mtget_mt_blksiz
=yes
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.
$ac_ext >&5
22262 cat >conftest.
$ac_ext <<_ACEOF
22265 cat confdefs.h
>>conftest.
$ac_ext
22266 cat >>conftest.
$ac_ext <<_ACEOF
22267 /* end confdefs.h. */
22268 #include <sys/types.h>
22269 #ifdef HAVE_SYS_MTIO_H
22270 #include <sys/mtio.h>
22276 static struct mtget ac_aggr;
22277 if (sizeof ac_aggr.mt_blksiz)
22283 rm -f conftest.
$ac_objext
22284 if { (ac_try
="$ac_compile"
22285 case "(($ac_try" in
22286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22287 *) ac_try_echo=$ac_try;;
22289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22290 (eval "$ac_compile") 2>conftest.er1
22292 grep -v '^ *+' conftest.er1 >conftest.err
22294 cat conftest.err >&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); } &&
22297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22298 { (case "(($ac_try" in
22299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22300 *) ac_try_echo
=$ac_try;;
22302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22303 (eval "$ac_try") 2>&5
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); }; } &&
22307 { ac_try
='test -s conftest.$ac_objext'
22308 { (case "(($ac_try" in
22309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22310 *) ac_try_echo=$ac_try;;
22312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22313 (eval "$ac_try") 2>&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); }; }; then
22317 ac_cv_member_struct_mtget_mt_blksiz=yes
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22322 ac_cv_member_struct_mtget_mt_blksiz=no
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22330 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22331 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22332 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22334 cat >>confdefs.h <<_ACEOF
22335 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22340 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22341 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22342 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22343 echo $ECHO_N "(cached) $ECHO_C" >&6
22345 cat >conftest.$ac_ext <<_ACEOF
22348 cat confdefs.h >>conftest.$ac_ext
22349 cat >>conftest.$ac_ext <<_ACEOF
22350 /* end confdefs.h. */
22351 #include <sys/types.h>
22352 #ifdef HAVE_SYS_MTIO_H
22353 #include <sys/mtio.h>
22359 static struct mtget ac_aggr;
22360 if (ac_aggr.mt_gstat)
22366 rm -f conftest.$ac_objext
22367 if { (ac_try="$ac_compile"
22368 case "(($ac_try" in
22369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22370 *) ac_try_echo
=$ac_try;;
22372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22373 (eval "$ac_compile") 2>conftest.er1
22375 grep -v '^ *+' conftest.er1
>conftest.err
22377 cat conftest.err
>&5
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); } &&
22380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22381 { (case "(($ac_try" in
22382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22383 *) ac_try_echo=$ac_try;;
22385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22386 (eval "$ac_try") 2>&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; } &&
22390 { ac_try='test -s conftest.$ac_objext'
22391 { (case "(($ac_try" in
22392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22393 *) ac_try_echo
=$ac_try;;
22395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22396 (eval "$ac_try") 2>&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); }; }; then
22400 ac_cv_member_struct_mtget_mt_gstat
=yes
22402 echo "$as_me: failed program was:" >&5
22403 sed 's/^/| /' conftest.
$ac_ext >&5
22405 cat >conftest.
$ac_ext <<_ACEOF
22408 cat confdefs.h
>>conftest.
$ac_ext
22409 cat >>conftest.
$ac_ext <<_ACEOF
22410 /* end confdefs.h. */
22411 #include <sys/types.h>
22412 #ifdef HAVE_SYS_MTIO_H
22413 #include <sys/mtio.h>
22419 static struct mtget ac_aggr;
22420 if (sizeof ac_aggr.mt_gstat)
22426 rm -f conftest.
$ac_objext
22427 if { (ac_try
="$ac_compile"
22428 case "(($ac_try" in
22429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22430 *) ac_try_echo=$ac_try;;
22432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22433 (eval "$ac_compile") 2>conftest.er1
22435 grep -v '^ *+' conftest.er1 >conftest.err
22437 cat conftest.err >&5
22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439 (exit $ac_status); } &&
22440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22441 { (case "(($ac_try" in
22442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22443 *) ac_try_echo
=$ac_try;;
22445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22446 (eval "$ac_try") 2>&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); }; } &&
22450 { ac_try
='test -s conftest.$ac_objext'
22451 { (case "(($ac_try" in
22452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_try") 2>&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); }; }; then
22460 ac_cv_member_struct_mtget_mt_gstat=yes
22462 echo "$as_me: failed program was:" >&5
22463 sed 's/^/| /' conftest.$ac_ext >&5
22465 ac_cv_member_struct_mtget_mt_gstat=no
22468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22473 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22474 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22475 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22477 cat >>confdefs.h <<_ACEOF
22478 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22483 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22484 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22485 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22488 cat >conftest.$ac_ext <<_ACEOF
22491 cat confdefs.h >>conftest.$ac_ext
22492 cat >>conftest.$ac_ext <<_ACEOF
22493 /* end confdefs.h. */
22494 #include <sys/types.h>
22495 #ifdef HAVE_SYS_MTIO_H
22496 #include <sys/mtio.h>
22502 static struct mtget ac_aggr;
22503 if (ac_aggr.mt_blkno)
22509 rm -f conftest.$ac_objext
22510 if { (ac_try="$ac_compile"
22511 case "(($ac_try" in
22512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22513 *) ac_try_echo
=$ac_try;;
22515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22516 (eval "$ac_compile") 2>conftest.er1
22518 grep -v '^ *+' conftest.er1
>conftest.err
22520 cat conftest.err
>&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } &&
22523 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22524 { (case "(($ac_try" in
22525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_try") 2>&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; } &&
22533 { ac_try='test -s conftest.$ac_objext'
22534 { (case "(($ac_try" in
22535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22536 *) ac_try_echo
=$ac_try;;
22538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22539 (eval "$ac_try") 2>&5
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); }; }; then
22543 ac_cv_member_struct_mtget_mt_blkno
=yes
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.
$ac_ext >&5
22548 cat >conftest.
$ac_ext <<_ACEOF
22551 cat confdefs.h
>>conftest.
$ac_ext
22552 cat >>conftest.
$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 #include <sys/types.h>
22555 #ifdef HAVE_SYS_MTIO_H
22556 #include <sys/mtio.h>
22562 static struct mtget ac_aggr;
22563 if (sizeof ac_aggr.mt_blkno)
22569 rm -f conftest.
$ac_objext
22570 if { (ac_try
="$ac_compile"
22571 case "(($ac_try" in
22572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22573 *) ac_try_echo=$ac_try;;
22575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22576 (eval "$ac_compile") 2>conftest.er1
22578 grep -v '^ *+' conftest.er1 >conftest.err
22580 cat conftest.err >&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } &&
22583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22584 { (case "(($ac_try" in
22585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22586 *) ac_try_echo
=$ac_try;;
22588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22589 (eval "$ac_try") 2>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; } &&
22593 { ac_try
='test -s conftest.$ac_objext'
22594 { (case "(($ac_try" in
22595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22596 *) ac_try_echo=$ac_try;;
22598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22599 (eval "$ac_try") 2>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); }; }; then
22603 ac_cv_member_struct_mtget_mt_blkno=yes
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.$ac_ext >&5
22608 ac_cv_member_struct_mtget_mt_blkno=no
22611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22616 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22617 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22618 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22620 cat >>confdefs.h <<_ACEOF
22621 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22628 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22629 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22630 if test "${ac_cv_member_struct_option_name+set}" = set; then
22631 echo $ECHO_N "(cached) $ECHO_C" >&6
22633 cat >conftest.$ac_ext <<_ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22639 #ifdef HAVE_GETOPT_H
22640 #include <getopt.h>
22646 static struct option ac_aggr;
22653 rm -f conftest.$ac_objext
22654 if { (ac_try="$ac_compile"
22655 case "(($ac_try" in
22656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22657 *) ac_try_echo
=$ac_try;;
22659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22660 (eval "$ac_compile") 2>conftest.er1
22662 grep -v '^ *+' conftest.er1
>conftest.err
22664 cat conftest.err
>&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); } &&
22667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22668 { (case "(($ac_try" in
22669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22670 *) ac_try_echo=$ac_try;;
22672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22673 (eval "$ac_try") 2>&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); }; } &&
22677 { ac_try='test -s conftest.$ac_objext'
22678 { (case "(($ac_try" in
22679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22680 *) ac_try_echo
=$ac_try;;
22682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22683 (eval "$ac_try") 2>&5
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); }; }; then
22687 ac_cv_member_struct_option_name
=yes
22689 echo "$as_me: failed program was:" >&5
22690 sed 's/^/| /' conftest.
$ac_ext >&5
22692 cat >conftest.
$ac_ext <<_ACEOF
22695 cat confdefs.h
>>conftest.
$ac_ext
22696 cat >>conftest.
$ac_ext <<_ACEOF
22697 /* end confdefs.h. */
22698 #ifdef HAVE_GETOPT_H
22699 #include <getopt.h>
22705 static struct option ac_aggr;
22706 if (sizeof ac_aggr.name)
22712 rm -f conftest.
$ac_objext
22713 if { (ac_try
="$ac_compile"
22714 case "(($ac_try" in
22715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22716 *) ac_try_echo=$ac_try;;
22718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22719 (eval "$ac_compile") 2>conftest.er1
22721 grep -v '^ *+' conftest.er1 >conftest.err
22723 cat conftest.err >&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } &&
22726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22727 { (case "(($ac_try" in
22728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22729 *) ac_try_echo
=$ac_try;;
22731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22732 (eval "$ac_try") 2>&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; } &&
22736 { ac_try
='test -s conftest.$ac_objext'
22737 { (case "(($ac_try" in
22738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22739 *) ac_try_echo=$ac_try;;
22741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22742 (eval "$ac_try") 2>&5
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); }; }; then
22746 ac_cv_member_struct_option_name=yes
22748 echo "$as_me: failed program was:" >&5
22749 sed 's/^/| /' conftest.$ac_ext >&5
22751 ac_cv_member_struct_option_name=no
22754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22759 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22760 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22761 if test $ac_cv_member_struct_option_name = yes; then
22763 cat >>confdefs.h <<_ACEOF
22764 #define HAVE_STRUCT_OPTION_NAME 1
22771 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22772 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22773 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22774 echo $ECHO_N "(cached) $ECHO_C" >&6
22776 cat >conftest.$ac_ext <<_ACEOF
22779 cat confdefs.h >>conftest.$ac_ext
22780 cat >>conftest.$ac_ext <<_ACEOF
22781 /* end confdefs.h. */
22782 $ac_includes_default
22786 static struct stat ac_aggr;
22787 if (ac_aggr.st_blocks)
22793 rm -f conftest.$ac_objext
22794 if { (ac_try="$ac_compile"
22795 case "(($ac_try" in
22796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22797 *) ac_try_echo
=$ac_try;;
22799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22800 (eval "$ac_compile") 2>conftest.er1
22802 grep -v '^ *+' conftest.er1
>conftest.err
22804 cat conftest.err
>&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } &&
22807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22808 { (case "(($ac_try" in
22809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_try") 2>&5
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); }; } &&
22817 { ac_try='test -s conftest.$ac_objext'
22818 { (case "(($ac_try" in
22819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22820 *) ac_try_echo
=$ac_try;;
22822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22823 (eval "$ac_try") 2>&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22827 ac_cv_member_struct_stat_st_blocks
=yes
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.
$ac_ext >&5
22832 cat >conftest.
$ac_ext <<_ACEOF
22835 cat confdefs.h
>>conftest.
$ac_ext
22836 cat >>conftest.
$ac_ext <<_ACEOF
22837 /* end confdefs.h. */
22838 $ac_includes_default
22842 static struct stat ac_aggr;
22843 if (sizeof ac_aggr.st_blocks)
22849 rm -f conftest.
$ac_objext
22850 if { (ac_try
="$ac_compile"
22851 case "(($ac_try" in
22852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22853 *) ac_try_echo=$ac_try;;
22855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22856 (eval "$ac_compile") 2>conftest.er1
22858 grep -v '^ *+' conftest.er1 >conftest.err
22860 cat conftest.err >&5
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); } &&
22863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22864 { (case "(($ac_try" in
22865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22866 *) ac_try_echo
=$ac_try;;
22868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22869 (eval "$ac_try") 2>&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); }; } &&
22873 { ac_try
='test -s conftest.$ac_objext'
22874 { (case "(($ac_try" in
22875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22876 *) ac_try_echo=$ac_try;;
22878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22879 (eval "$ac_try") 2>&5
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; }; then
22883 ac_cv_member_struct_stat_st_blocks=yes
22885 echo "$as_me: failed program was:" >&5
22886 sed 's/^/| /' conftest.$ac_ext >&5
22888 ac_cv_member_struct_stat_st_blocks=no
22891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22896 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
22897 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
22898 if test $ac_cv_member_struct_stat_st_blocks = yes; then
22900 cat >>confdefs.h <<_ACEOF
22901 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
22908 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
22909 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
22910 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
22911 echo $ECHO_N "(cached) $ECHO_C" >&6
22913 cat >conftest.$ac_ext <<_ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919 #ifdef HAVE_SYS_TYPES_H
22920 #include <sys/types.h>
22922 #ifdef HAVE_NETINET_IN_H
22923 #include <netinet/in.h>
22929 static struct sockaddr_in6 ac_aggr;
22930 if (ac_aggr.sin6_scope_id)
22936 rm -f conftest.$ac_objext
22937 if { (ac_try="$ac_compile"
22938 case "(($ac_try" in
22939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22940 *) ac_try_echo
=$ac_try;;
22942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22943 (eval "$ac_compile") 2>conftest.er1
22945 grep -v '^ *+' conftest.er1
>conftest.err
22947 cat conftest.err
>&5
22948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949 (exit $ac_status); } &&
22950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22951 { (case "(($ac_try" in
22952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22953 *) ac_try_echo=$ac_try;;
22955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22956 (eval "$ac_try") 2>&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); }; } &&
22960 { ac_try='test -s conftest.$ac_objext'
22961 { (case "(($ac_try" in
22962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22963 *) ac_try_echo
=$ac_try;;
22965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22966 (eval "$ac_try") 2>&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); }; }; then
22970 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.
$ac_ext >&5
22975 cat >conftest.
$ac_ext <<_ACEOF
22978 cat confdefs.h
>>conftest.
$ac_ext
22979 cat >>conftest.
$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22981 #ifdef HAVE_SYS_TYPES_H
22982 #include <sys/types.h>
22984 #ifdef HAVE_NETINET_IN_H
22985 #include <netinet/in.h>
22991 static struct sockaddr_in6 ac_aggr;
22992 if (sizeof ac_aggr.sin6_scope_id)
22998 rm -f conftest.
$ac_objext
22999 if { (ac_try
="$ac_compile"
23000 case "(($ac_try" in
23001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23002 *) ac_try_echo=$ac_try;;
23004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23005 (eval "$ac_compile") 2>conftest.er1
23007 grep -v '^ *+' conftest.er1 >conftest.err
23009 cat conftest.err >&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); } &&
23012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23013 { (case "(($ac_try" in
23014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23015 *) ac_try_echo
=$ac_try;;
23017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23018 (eval "$ac_try") 2>&5
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; } &&
23022 { ac_try
='test -s conftest.$ac_objext'
23023 { (case "(($ac_try" in
23024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23025 *) ac_try_echo=$ac_try;;
23027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23028 (eval "$ac_try") 2>&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); }; }; then
23032 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23037 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23045 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23046 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23047 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23049 cat >>confdefs.h <<_ACEOF
23050 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23057 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23058 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23059 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23060 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 cat >conftest.$ac_ext <<_ACEOF
23065 cat confdefs.h >>conftest.$ac_ext
23066 cat >>conftest.$ac_ext <<_ACEOF
23067 /* end confdefs.h. */
23068 #ifdef HAVE_SYS_TYPES_H
23069 #include <sys/types.h>
23071 #ifdef HAVE_NETINET_IN_H
23072 # include <netinet/in.h>
23074 #ifdef HAVE_ARPA_NAMESER_H
23075 # include <arpa/nameser.h>
23081 static ns_msg ac_aggr;
23082 if (ac_aggr._msg_ptr)
23088 rm -f conftest.$ac_objext
23089 if { (ac_try="$ac_compile"
23090 case "(($ac_try" in
23091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23092 *) ac_try_echo
=$ac_try;;
23094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23095 (eval "$ac_compile") 2>conftest.er1
23097 grep -v '^ *+' conftest.er1
>conftest.err
23099 cat conftest.err
>&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); } &&
23102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23103 { (case "(($ac_try" in
23104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23105 *) ac_try_echo=$ac_try;;
23107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23108 (eval "$ac_try") 2>&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); }; } &&
23112 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
23122 ac_cv_member_ns_msg__msg_ptr
=yes
23124 echo "$as_me: failed program was:" >&5
23125 sed 's/^/| /' conftest.
$ac_ext >&5
23127 cat >conftest.
$ac_ext <<_ACEOF
23130 cat confdefs.h
>>conftest.
$ac_ext
23131 cat >>conftest.
$ac_ext <<_ACEOF
23132 /* end confdefs.h. */
23133 #ifdef HAVE_SYS_TYPES_H
23134 #include <sys/types.h>
23136 #ifdef HAVE_NETINET_IN_H
23137 # include <netinet/in.h>
23139 #ifdef HAVE_ARPA_NAMESER_H
23140 # include <arpa/nameser.h>
23146 static ns_msg ac_aggr;
23147 if (sizeof ac_aggr._msg_ptr)
23153 rm -f conftest.
$ac_objext
23154 if { (ac_try
="$ac_compile"
23155 case "(($ac_try" in
23156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23157 *) ac_try_echo=$ac_try;;
23159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23160 (eval "$ac_compile") 2>conftest.er1
23162 grep -v '^ *+' conftest.er1 >conftest.err
23164 cat conftest.err >&5
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); } &&
23167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23168 { (case "(($ac_try" in
23169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23170 *) ac_try_echo
=$ac_try;;
23172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23173 (eval "$ac_try") 2>&5
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); }; } &&
23177 { ac_try
='test -s conftest.$ac_objext'
23178 { (case "(($ac_try" in
23179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23180 *) ac_try_echo=$ac_try;;
23182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23183 (eval "$ac_try") 2>&5
23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23186 (exit $ac_status); }; }; then
23187 ac_cv_member_ns_msg__msg_ptr=yes
23189 echo "$as_me: failed program was:" >&5
23190 sed 's/^/| /' conftest.$ac_ext >&5
23192 ac_cv_member_ns_msg__msg_ptr=no
23195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23200 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23201 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23202 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23204 cat >>confdefs.h <<_ACEOF
23205 #define HAVE_NS_MSG__MSG_PTR 1
23212 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23213 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23214 if test "${ac_cv_have_timezone+set}" = set; then
23215 echo $ECHO_N "(cached) $ECHO_C" >&6
23217 cat >conftest.$ac_ext <<_ACEOF
23220 cat confdefs.h >>conftest.$ac_ext
23221 cat >>conftest.$ac_ext <<_ACEOF
23222 /* end confdefs.h. */
23232 rm -f conftest.$ac_objext conftest$ac_exeext
23233 if { (ac_try="$ac_link"
23234 case "(($ac_try" in
23235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23236 *) ac_try_echo
=$ac_try;;
23238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23239 (eval "$ac_link") 2>conftest.er1
23241 grep -v '^ *+' conftest.er1
>conftest.err
23243 cat conftest.err
>&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); } &&
23246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23247 { (case "(($ac_try" in
23248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23249 *) ac_try_echo=$ac_try;;
23251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23252 (eval "$ac_try") 2>&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); }; } &&
23256 { ac_try='test -s conftest$ac_exeext'
23257 { (case "(($ac_try" in
23258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23259 *) ac_try_echo
=$ac_try;;
23261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23262 (eval "$ac_try") 2>&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); }; }; then
23266 ac_cv_have_timezone
="yes"
23268 echo "$as_me: failed program was:" >&5
23269 sed 's/^/| /' conftest.
$ac_ext >&5
23271 ac_cv_have_timezone
="no"
23274 rm -f core conftest.err conftest.
$ac_objext \
23275 conftest
$ac_exeext conftest.
$ac_ext
23277 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23278 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23279 if test "$ac_cv_have_timezone" = "yes"
23282 cat >>confdefs.h
<<\_ACEOF
23283 #define HAVE_TIMEZONE 1
23287 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23288 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23289 if test "${ac_cv_have_daylight+set}" = set; then
23290 echo $ECHO_N "(cached) $ECHO_C" >&6
23292 cat >conftest.
$ac_ext <<_ACEOF
23295 cat confdefs.h
>>conftest.
$ac_ext
23296 cat >>conftest.
$ac_ext <<_ACEOF
23297 /* end confdefs.h. */
23307 rm -f conftest.
$ac_objext conftest
$ac_exeext
23308 if { (ac_try
="$ac_link"
23309 case "(($ac_try" in
23310 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23311 *) ac_try_echo=$ac_try;;
23313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23314 (eval "$ac_link") 2>conftest.er1
23316 grep -v '^ *+' conftest.er1 >conftest.err
23318 cat conftest.err >&5
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); } &&
23321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23322 { (case "(($ac_try" in
23323 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23324 *) ac_try_echo
=$ac_try;;
23326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23327 (eval "$ac_try") 2>&5
23329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23330 (exit $ac_status); }; } &&
23331 { ac_try
='test -s conftest$ac_exeext'
23332 { (case "(($ac_try" in
23333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23334 *) ac_try_echo=$ac_try;;
23336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23337 (eval "$ac_try") 2>&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; }; then
23341 ac_cv_have_daylight="yes"
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.$ac_ext >&5
23346 ac_cv_have_daylight="no"
23349 rm -f core conftest.err conftest.$ac_objext \
23350 conftest$ac_exeext conftest.$ac_ext
23352 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23353 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23354 if test "$ac_cv_have_daylight" = "yes"
23357 cat >>confdefs.h <<\_ACEOF
23358 #define HAVE_DAYLIGHT 1
23365 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23366 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23367 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 cat >conftest.$ac_ext <<_ACEOF
23373 cat confdefs.h >>conftest.$ac_ext
23374 cat >>conftest.$ac_ext <<_ACEOF
23375 /* end confdefs.h. */
23380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23381 $EGREP "yes" >/dev/null 2>&1; then
23382 ac_cv_cpp_def___i386__=yes
23384 ac_cv_cpp_def___i386__=no
23389 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23390 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23391 if test $ac_cv_cpp_def___i386__ = yes; then
23392 CFLAGS="$CFLAGS -D__i386__"
23393 LINTFLAGS="$LINTFLAGS -D__i386__"
23396 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23397 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23398 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23399 echo $ECHO_N "(cached) $ECHO_C" >&6
23401 cat >conftest.$ac_ext <<_ACEOF
23404 cat confdefs.h >>conftest.$ac_ext
23405 cat >>conftest.$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23412 $EGREP "yes" >/dev/null 2>&1; then
23413 ac_cv_cpp_def___x86_64__=yes
23415 ac_cv_cpp_def___x86_64__=no
23420 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23421 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23422 if test $ac_cv_cpp_def___x86_64__ = yes; then
23423 CFLAGS="$CFLAGS -D__x86_64__"
23424 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23427 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23428 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23429 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23430 echo $ECHO_N "(cached) $ECHO_C" >&6
23432 cat >conftest.$ac_ext <<_ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23442 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23443 $EGREP "yes" >/dev/null 2>&1; then
23444 ac_cv_cpp_def___ALPHA__=yes
23446 ac_cv_cpp_def___ALPHA__=no
23451 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23452 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23453 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23454 CFLAGS="$CFLAGS -D__ALPHA__"
23455 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23458 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23459 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23460 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23461 echo $ECHO_N "(cached) $ECHO_C" >&6
23463 cat >conftest.$ac_ext <<_ACEOF
23466 cat confdefs.h >>conftest.$ac_ext
23467 cat >>conftest.$ac_ext <<_ACEOF
23468 /* end confdefs.h. */
23473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23474 $EGREP "yes" >/dev/null 2>&1; then
23475 ac_cv_cpp_def___sparc__=yes
23477 ac_cv_cpp_def___sparc__=no
23482 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23483 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23484 if test $ac_cv_cpp_def___sparc__ = yes; then
23485 CFLAGS="$CFLAGS -D__sparc__"
23486 LINTFLAGS="$LINTFLAGS -D__sparc__"
23489 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23490 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23491 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23492 echo $ECHO_N "(cached) $ECHO_C" >&6
23494 cat >conftest.$ac_ext <<_ACEOF
23497 cat confdefs.h >>conftest.$ac_ext
23498 cat >>conftest.$ac_ext <<_ACEOF
23499 /* end confdefs.h. */
23500 #ifndef __powerpc__
23504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23505 $EGREP "yes" >/dev/null 2>&1; then
23506 ac_cv_cpp_def___powerpc__=yes
23508 ac_cv_cpp_def___powerpc__=no
23513 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23514 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23515 if test $ac_cv_cpp_def___powerpc__ = yes; then
23516 CFLAGS="$CFLAGS -D__powerpc__"
23517 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23522 case $host_vendor in
23523 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23524 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23525 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23526 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 cat >conftest.$ac_ext <<_ACEOF
23531 cat confdefs.h >>conftest.$ac_ext
23532 cat >>conftest.$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23539 $EGREP "yes" >/dev/null 2>&1; then
23540 ac_cv_cpp_def___sun__=yes
23542 ac_cv_cpp_def___sun__=no
23547 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23548 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23549 if test $ac_cv_cpp_def___sun__ = yes; then
23550 CFLAGS="$CFLAGS -D__sun__"
23551 LINTFLAGS="$LINTFLAGS -D__sun__"
23557 DEPENDENCIES="### Dependencies:
23562 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23564 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
23565 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
23566 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23567 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23573 ac_config_commands="$ac_config_commands include/stamp-h"
23576 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
23578 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
23580 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23582 ac_config_commands="$ac_config_commands dlls/user/resources"
23584 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23586 ac_config_commands="$ac_config_commands include/wine"
23589 MAKE_RULES=Make.rules
23592 MAKE_DLL_RULES=dlls/Makedll.rules
23595 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23598 MAKE_TEST_RULES=dlls/Maketest.rules
23601 MAKE_PROG_RULES=programs/Makeprog.rules
23604 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"
23607 cat >confcache <<\_ACEOF
23608 # This file is a shell script that caches the results of configure
23609 # tests run on this system so they can be shared between configure
23610 # scripts and configure runs, see configure's option --config-cache.
23611 # It is not useful on other systems. If it contains results you don't
23612 # want to keep, you may remove or edit it.
23614 # config.status only pays attention to the cache file if you give it
23615 # the --recheck option to rerun configure.
23617 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
23618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23619 # following values.
23623 # The following way of writing the cache mishandles newlines in values,
23624 # but we know of no workaround that is simple, portable, and efficient.
23625 # So, we kill variables containing newlines.
23626 # Ultrix sh set writes to stderr and can't be redirected directly,
23627 # and sets the high bit in the cache file unless we assign to the vars.
23629 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23630 eval ac_val
=\$
$ac_var
23634 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23635 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23638 _ | IFS | as_nl
) ;; #(
23639 *) $as_unset $ac_var ;;
23645 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23646 *${as_nl}ac_space
=\
*)
23647 # `set' does not quote correctly, so add quotes (double-quote
23648 # substitution turns \\\\ into \\, and sed turns \\ into \).
23651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23654 # `set' quotes correctly as required by POSIX, so do not add quotes.
23655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23664 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23668 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23669 if test -w "$cache_file"; then
23670 test "x$cache_file" != "x/dev/null" &&
23671 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23672 echo "$as_me: updating cache $cache_file" >&6;}
23673 cat confcache
>$cache_file
23675 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23676 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23681 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23682 # Let make expand exec_prefix.
23683 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23685 DEFS
=-DHAVE_CONFIG_H
23689 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23690 # 1. Remove the extension, and $U if already installed.
23691 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23692 ac_i
=`echo "$ac_i" | sed "$ac_script"`
23693 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23694 # will be set to the directory where LIBOBJS objects are built.
23695 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23696 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23698 LIBOBJS
=$ac_libobjs
23700 LTLIBOBJS
=$ac_ltlibobjs
23704 : ${CONFIG_STATUS=./config.status}
23705 ac_clean_files_save
=$ac_clean_files
23706 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23707 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23708 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23709 cat >$CONFIG_STATUS <<_ACEOF
23711 # Generated by $as_me.
23712 # Run this file to recreate the current configuration.
23713 # Compiler output produced by configure, useful for debugging
23714 # configure, is in config.log if it exists.
23717 ac_cs_recheck=false
23719 SHELL=\${CONFIG_SHELL-$SHELL}
23722 cat >>$CONFIG_STATUS <<\_ACEOF
23723 ## --------------------- ##
23724 ## M4sh Initialization. ##
23725 ## --------------------- ##
23727 # Be Bourne compatible
23728 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23731 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23732 # is contrary to our usage. Disable this feature.
23733 alias -g '${1+"$@"}'='"$@"'
23734 setopt NO_GLOB_SUBST
23736 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
23738 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
23739 DUALCASE
=1; export DUALCASE
# for MKS sh
23743 # Avoid depending upon Character Ranges.
23744 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23745 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23746 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23747 as_cr_digits
='0123456789'
23748 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23750 # The user is always right.
23751 if test "${PATH_SEPARATOR+set}" != set; then
23752 echo "#! /bin/sh" >conf$$.sh
23753 echo "exit 0" >>conf$$.sh
23755 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23763 # Support unset when possible.
23764 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23772 # We need space, tab and new line, in precisely that order. Quoting is
23773 # there to prevent editors from complaining about space-tab.
23774 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23775 # splitting by setting IFS to empty value.)
23780 # Find who we are. Look in the path if we contain no directory separator.
23782 *[\\/]* ) as_myself
=$0 ;;
23783 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23784 for as_dir
in $PATH
23787 test -z "$as_dir" && as_dir
=.
23788 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23794 # We did not find ourselves, most probably we were run as `sh COMMAND'
23795 # in which case we are not to be found in the path.
23796 if test "x$as_myself" = x
; then
23799 if test ! -f "$as_myself"; then
23800 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23801 { (exit 1); exit 1; }
23804 # Work around bugs in pre-3.0 UWIN ksh.
23805 for as_var
in ENV MAIL MAILPATH
23806 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23814 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23815 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23816 LC_TELEPHONE LC_TIME
23818 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23819 eval $as_var=C
; export $as_var
23821 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23825 # Required to use basename.
23826 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23827 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23833 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23834 as_basename
=basename
23840 # Name of the executable.
23841 as_me
=`$as_basename -- "$0" ||
23842 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23843 X"$0" : 'X\(//\)$' \| \
23844 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23846 sed '/^.*\/\([^/][^/]*\)\/*$/{
23865 as_lineno_1
=$LINENO
23866 as_lineno_2
=$LINENO
23867 test "x$as_lineno_1" != "x$as_lineno_2" &&
23868 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
23870 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23871 # uniformly replaced by the line number. The first 'sed' inserts a
23872 # line-number line after each line using $LINENO; the second 'sed'
23873 # does the real work. The second script uses 'N' to pair each
23874 # line-number line with the line containing $LINENO, and appends
23875 # trailing '-' during substitution so that $LINENO is not a special
23876 # case at line end.
23877 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23878 # scripts with optimization help from Paolo Bonzini. Blame Lee
23879 # E. McMahon (1931-1989) for sed's syntax. :-)
23891 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23894 ' >$as_me.lineno
&&
23895 chmod +x
"$as_me.lineno" ||
23896 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23897 { (exit 1); exit 1; }; }
23899 # Don't try to exec as it changes $[0], causing all sort of problems
23900 # (the dirname of $[0] is not the place where we might find the
23901 # original and so on. Autoconf is especially sensitive to this).
23902 .
"./$as_me.lineno"
23903 # Exit status is that of the last command.
23908 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23914 ECHO_C
= ECHO_N
= ECHO_T
=
23915 case `echo -n x` in
23917 case `echo 'x\c'` in
23918 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23925 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23926 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23932 rm -f conf$$ conf$$.exe conf$$.
file
23933 if test -d conf$$.dir
; then
23934 rm -f conf$$.dir
/conf$$.
file
23940 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23942 # ... but there are two gotchas:
23943 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23944 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23945 # In both cases, we have to default to `cp -p'.
23946 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23948 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23953 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23954 rmdir conf$$.dir
2>/dev
/null
23956 if mkdir
-p .
2>/dev
/null
; then
23959 test -d .
/-p && rmdir .
/-p
23963 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
23964 # systems may use methods other than mode bits to determine executability.
23965 cat >conf$$.
file <<_ASEOF
23969 chmod +x conf$$.
file
23970 if test -x conf$$.
file >/dev
/null
2>&1; then
23971 as_executable_p
="test -x"
23977 # Sed expression to map a string onto a valid CPP name.
23978 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23980 # Sed expression to map a string onto a valid variable name.
23981 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23986 # Save the log message, to keep $[0] and so on meaningful, and to
23987 # report actual input values of CONFIG_FILES etc. instead of their
23988 # values after options handling.
23990 This file was extended by Wine $as_me 0.9.23, which was
23991 generated by GNU Autoconf 2.60a. Invocation command line was
23993 CONFIG_FILES = $CONFIG_FILES
23994 CONFIG_HEADERS = $CONFIG_HEADERS
23995 CONFIG_LINKS = $CONFIG_LINKS
23996 CONFIG_COMMANDS = $CONFIG_COMMANDS
23999 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24004 cat >>$CONFIG_STATUS <<_ACEOF
24005 # Files that config.status was made for.
24006 config_files="$ac_config_files"
24007 config_headers="$ac_config_headers"
24008 config_commands="$ac_config_commands"
24012 cat >>$CONFIG_STATUS <<\_ACEOF
24014 \`$as_me' instantiates files from templates according to the
24015 current configuration.
24017 Usage: $0 [OPTIONS] [FILE]...
24019 -h, --help print this help, then exit
24020 -V, --version print version number and configuration settings, then exit
24021 -q, --quiet do not print progress messages
24022 -d, --debug don't remove temporary files
24023 --recheck update $as_me by reconfiguring in the same conditions
24024 --file=FILE[:TEMPLATE]
24025 instantiate the configuration file FILE
24026 --header=FILE[:TEMPLATE]
24027 instantiate the configuration header FILE
24029 Configuration files:
24032 Configuration headers:
24035 Configuration commands:
24038 Report bugs to <bug-autoconf@gnu.org>."
24041 cat >>$CONFIG_STATUS <<_ACEOF
24043 Wine config.status 0.9.23
24044 configured by $0, generated by GNU Autoconf 2.60a,
24045 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24047 Copyright (C) 2006 Free Software Foundation, Inc.
24048 This config.status script is free software; the Free Software Foundation
24049 gives unlimited permission to copy, distribute and modify it."
24056 cat >>$CONFIG_STATUS <<\_ACEOF
24057 # If no file are specified by the user, then we need to provide default
24058 # value. By we need to know if files were specified by the user.
24064 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24065 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24076 # Handling of the options.
24077 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24079 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24080 echo "$ac_cs_version"; exit ;;
24081 --debug |
--debu |
--deb |
--de |
--d |
-d )
24083 --file |
--fil |
--fi |
--f )
24085 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24086 ac_need_defaults
=false
;;
24087 --header |
--heade |
--head |
--hea )
24089 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24090 ac_need_defaults
=false
;;
24092 # Conflict between --help and --header
24093 { echo "$as_me: error: ambiguous option: $1
24094 Try \`$0 --help' for more information." >&2
24095 { (exit 1); exit 1; }; };;
24096 --help |
--hel |
-h )
24097 echo "$ac_cs_usage"; exit ;;
24098 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24099 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24102 # This is an error.
24103 -*) { echo "$as_me: error: unrecognized option: $1
24104 Try \`$0 --help' for more information." >&2
24105 { (exit 1); exit 1; }; } ;;
24107 *) ac_config_targets
="$ac_config_targets $1"
24108 ac_need_defaults
=false
;;
24114 ac_configure_extra_args
=
24116 if $ac_cs_silent; then
24118 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24122 cat >>$CONFIG_STATUS <<_ACEOF
24123 if \$ac_cs_recheck; then
24124 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24125 CONFIG_SHELL=$SHELL
24126 export CONFIG_SHELL
24127 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24131 cat >>$CONFIG_STATUS <<\_ACEOF
24135 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24136 ## Running $as_me. ##
24142 cat >>$CONFIG_STATUS <<_ACEOF
24145 cat >>$CONFIG_STATUS <<\_ACEOF
24147 # Handling of arguments.
24148 for ac_config_target
in $ac_config_targets
24150 case $ac_config_target in
24151 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24152 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
24153 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
24154 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
24155 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24156 "dlls/user/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
24157 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24158 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
24159 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
24160 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
24161 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24162 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
24163 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
24164 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24165 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
24166 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
24167 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24168 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24169 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
24170 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24171 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
24172 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
24173 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24174 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24175 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24176 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24177 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24178 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
24179 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24180 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24181 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
24182 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24183 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24184 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24185 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24186 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24187 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
24188 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24189 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24190 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24191 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24192 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24193 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24194 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24195 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24196 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24197 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24198 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24199 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24200 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24201 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24202 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24203 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24204 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24205 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24206 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
24207 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
24208 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24209 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24210 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
24211 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24212 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
24213 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24214 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24215 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24216 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24217 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24218 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24219 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24220 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24221 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
24222 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24223 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24224 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24225 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
24226 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24227 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
24228 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24229 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24230 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24231 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24232 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
24233 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
24234 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
24235 "dlls/glut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
24236 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24237 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24238 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
24239 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
24240 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24241 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24242 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
24243 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24244 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24245 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24246 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
24247 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24248 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24249 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
24250 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24251 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24252 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
24253 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24254 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24255 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
24256 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24257 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
24258 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24259 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24260 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24261 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24262 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24263 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24264 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24265 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
24266 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
24267 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24268 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24269 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24270 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
24271 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24272 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24273 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24274 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24275 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24276 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
24277 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24278 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
24279 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24280 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24281 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24282 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24283 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24284 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
24285 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24286 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24287 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24288 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24289 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24290 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24291 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24292 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24293 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24294 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24295 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24296 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24297 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24298 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24299 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24300 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24301 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24302 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24303 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24304 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
24305 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24306 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24307 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24308 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
24309 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24310 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24311 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
24312 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24313 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24314 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24315 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24316 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24317 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24318 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24319 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24320 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24321 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24322 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
24323 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24324 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24325 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
24326 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
24327 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24328 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
24329 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24330 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
24331 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
24332 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24333 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
24334 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24335 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24336 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24337 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24338 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24339 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24340 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24341 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
24342 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24343 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
24344 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24345 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
24346 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24347 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24348 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
24349 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24350 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24351 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
24352 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24353 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24354 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24355 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24356 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24357 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24358 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24359 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24360 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
24361 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24362 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24363 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24364 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24365 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
24366 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
24367 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24368 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24369 "dlls/user/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
24370 "dlls/user/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
24371 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
24372 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
24373 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24374 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
24375 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24376 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24377 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24378 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24379 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
24380 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24381 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24382 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24383 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24384 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24385 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24386 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24387 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24388 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24389 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
24390 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24391 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24392 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24393 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
24394 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24395 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
24396 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24397 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24398 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24399 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24400 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24401 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24402 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24403 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24404 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24405 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24406 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24407 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24408 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24409 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24410 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24411 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24412 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24413 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24414 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
24415 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24416 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24417 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24418 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24419 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
24420 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
24421 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
24422 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
24423 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
24424 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
24425 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
24426 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
24427 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
24428 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
24429 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
24430 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24431 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
24432 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
24433 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
24434 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
24435 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
24436 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
24437 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
24438 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
24439 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
24440 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
24441 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
24442 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
24443 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24444 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
24445 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
24446 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
24447 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24448 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24449 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
24450 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
24451 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24452 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
24453 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24454 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
24455 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
24456 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24457 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
24458 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
24459 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
24460 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
24461 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
24462 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
24463 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
24464 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
24465 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
24466 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
24467 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
24468 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
24469 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
24470 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
24471 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
24473 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24474 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24475 { (exit 1); exit 1; }; };;
24480 # If the user did not use the arguments to specify the items to instantiate,
24481 # then the envvar interface is used. Set only those that are not.
24482 # We use the long form for the default assignment because of an extremely
24483 # bizarre bug on SunOS 4.1.3.
24484 if $ac_need_defaults; then
24485 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24486 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24487 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24490 # Have a temporary directory for convenience. Make it in the build tree
24491 # simply because there is no reason against having it here, and in addition,
24492 # creating and moving files from /tmp can sometimes cause problems.
24493 # Hook for its removal unless debugging.
24494 # Note that there is a small window in which the directory will not be cleaned:
24495 # after its creation but before its name has been assigned to `$tmp'.
24499 trap 'exit_status=$?
24500 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24502 trap '{ (exit 1); exit 1; }' 1 2 13 15
24504 # Create a (secure) tmp directory for tmp files.
24507 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24508 test -n "$tmp" && test -d "$tmp"
24511 tmp
=.
/conf$$
-$RANDOM
24512 (umask 077 && mkdir
"$tmp")
24515 echo "$me: cannot create a temporary directory in ." >&2
24516 { (exit 1); exit 1; }
24520 # Set up the sed scripts for CONFIG_FILES section.
24523 # No need to generate the scripts if there are no CONFIG_FILES.
24524 # This happens for instance when ./config.status config.h
24525 if test -n "$CONFIG_FILES"; then
24529 # Create sed commands to just substitute file output variables.
24531 # Remaining file output variables are in a fragment that also has non-file
24537 for ac_last_try
in false false false false false
:; do
24538 cat >conf$
$subs.
sed <<_ACEOF
24539 SHELL!$SHELL$ac_delim
24540 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24541 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24542 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24543 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24544 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24545 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24546 exec_prefix!$exec_prefix$ac_delim
24547 prefix!$prefix$ac_delim
24548 program_transform_name!$program_transform_name$ac_delim
24549 bindir!$bindir$ac_delim
24550 sbindir!$sbindir$ac_delim
24551 libexecdir!$libexecdir$ac_delim
24552 datarootdir!$datarootdir$ac_delim
24553 datadir!$datadir$ac_delim
24554 sysconfdir!$sysconfdir$ac_delim
24555 sharedstatedir!$sharedstatedir$ac_delim
24556 localstatedir!$localstatedir$ac_delim
24557 includedir!$includedir$ac_delim
24558 oldincludedir!$oldincludedir$ac_delim
24559 docdir!$docdir$ac_delim
24560 infodir!$infodir$ac_delim
24561 htmldir!$htmldir$ac_delim
24562 dvidir!$dvidir$ac_delim
24563 pdfdir!$pdfdir$ac_delim
24564 psdir!$psdir$ac_delim
24565 libdir!$libdir$ac_delim
24566 localedir!$localedir$ac_delim
24567 mandir!$mandir$ac_delim
24568 DEFS!$DEFS$ac_delim
24569 ECHO_C!$ECHO_C$ac_delim
24570 ECHO_N!$ECHO_N$ac_delim
24571 ECHO_T!$ECHO_T$ac_delim
24572 LIBS!$LIBS$ac_delim
24573 build_alias!$build_alias$ac_delim
24574 host_alias!$host_alias$ac_delim
24575 target_alias!$target_alias$ac_delim
24576 build!$build$ac_delim
24577 build_cpu!$build_cpu$ac_delim
24578 build_vendor!$build_vendor$ac_delim
24579 build_os!$build_os$ac_delim
24580 host!$host$ac_delim
24581 host_cpu!$host_cpu$ac_delim
24582 host_vendor!$host_vendor$ac_delim
24583 host_os!$host_os$ac_delim
24584 WIN16_FILES!$WIN16_FILES$ac_delim
24585 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24586 SET_MAKE!$SET_MAKE$ac_delim
24588 CFLAGS!$CFLAGS$ac_delim
24589 LDFLAGS!$LDFLAGS$ac_delim
24590 CPPFLAGS!$CPPFLAGS$ac_delim
24591 ac_ct_CC!$ac_ct_CC$ac_delim
24592 EXEEXT!$EXEEXT$ac_delim
24593 OBJEXT!$OBJEXT$ac_delim
24595 CXXFLAGS!$CXXFLAGS$ac_delim
24596 ac_ct_CXX!$ac_ct_CXX$ac_delim
24597 CPPBIN!$CPPBIN$ac_delim
24598 TOOLSDIR!$TOOLSDIR$ac_delim
24599 XMKMF!$XMKMF$ac_delim
24601 X_CFLAGS!$X_CFLAGS$ac_delim
24602 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24603 X_LIBS!$X_LIBS$ac_delim
24604 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24606 LEXLIB!$LEXLIB$ac_delim
24607 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24608 XLEX!$XLEX$ac_delim
24609 BISON!$BISON$ac_delim
24611 ac_ct_AS!$ac_ct_AS$ac_delim
24614 RANLIB!$RANLIB$ac_delim
24615 STRIP!$STRIP$ac_delim
24616 WINDRES!$WINDRES$ac_delim
24617 LN_S!$LN_S$ac_delim
24619 GREP!$GREP$ac_delim
24620 EGREP!$EGREP$ac_delim
24623 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24625 elif $ac_last_try; then
24626 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24627 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24628 { (exit 1); exit 1; }; }
24630 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24634 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24635 if test -n "$ac_eof"; then
24636 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24637 ac_eof
=`expr $ac_eof + 1`
24640 cat >>$CONFIG_STATUS <<_ACEOF
24641 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24642 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24643 /^[ ]*@MAKE_RULES@[ ]*$/{
24647 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24651 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24652 r $MAKE_IMPLIB_RULES
24655 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24659 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24665 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24666 s/^/s,@/; s/!/@,|#_!!_#|/
24669 s/'"$ac_delim"'$/,g/; t
24671 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24672 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24673 rm -f conf$
$subs.
sed
24674 cat >>$CONFIG_STATUS <<_ACEOF
24680 for ac_last_try
in false false false false false
:; do
24681 cat >conf$
$subs.
sed <<_ACEOF
24682 LDCONFIG!$LDCONFIG$ac_delim
24683 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24684 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24685 INSTALL_DATA!$INSTALL_DATA$ac_delim
24686 LINT!$LINT$ac_delim
24687 LINTFLAGS!$LINTFLAGS$ac_delim
24688 FONTFORGE!$FONTFORGE$ac_delim
24689 PKG_CONFIG!$PKG_CONFIG$ac_delim
24690 PRELINK!$PRELINK$ac_delim
24691 LIBPTHREAD!$LIBPTHREAD$ac_delim
24692 XLIB!$XLIB$ac_delim
24693 XFILES!$XFILES$ac_delim
24694 OPENGLFILES!$OPENGLFILES$ac_delim
24695 GLU32FILES!$GLU32FILES$ac_delim
24696 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24697 GLUT_LIBS!$GLUT_LIBS$ac_delim
24698 GLUT32FILES!$GLUT32FILES$ac_delim
24699 NASLIBS!$NASLIBS$ac_delim
24700 XML2LIBS!$XML2LIBS$ac_delim
24701 XML2INCL!$XML2INCL$ac_delim
24702 XSLTLIBS!$XSLTLIBS$ac_delim
24703 XSLTINCL!$XSLTINCL$ac_delim
24704 HALINCL!$HALINCL$ac_delim
24705 CURSESLIBS!$CURSESLIBS$ac_delim
24706 sane_devel!$sane_devel$ac_delim
24707 SANELIBS!$SANELIBS$ac_delim
24708 SANEINCL!$SANEINCL$ac_delim
24709 gphoto2_devel!$gphoto2_devel$ac_delim
24710 gphoto2port_devel!$gphoto2port_devel$ac_delim
24711 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24712 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24713 ICULIBS!$ICULIBS$ac_delim
24714 RESOLVLIBS!$RESOLVLIBS$ac_delim
24715 LCMSLIBS!$LCMSLIBS$ac_delim
24716 LDAPLIBS!$LDAPLIBS$ac_delim
24717 FREETYPELIBS!$FREETYPELIBS$ac_delim
24718 FREETYPEINCL!$FREETYPEINCL$ac_delim
24719 ft_devel!$ft_devel$ac_delim
24720 ft_devel2!$ft_devel2$ac_delim
24721 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24722 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24723 ARTSLIBS!$ARTSLIBS$ac_delim
24724 ARTSINCL!$ARTSINCL$ac_delim
24725 ESDCONFIG!$ESDCONFIG$ac_delim
24726 ESDLIBS!$ESDLIBS$ac_delim
24727 ESDINCL!$ESDINCL$ac_delim
24728 ALSALIBS!$ALSALIBS$ac_delim
24729 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24730 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24731 BUILTINFLAG!$BUILTINFLAG$ac_delim
24732 DLLEXT!$DLLEXT$ac_delim
24733 DLLFLAGS!$DLLFLAGS$ac_delim
24734 LDSHARED!$LDSHARED$ac_delim
24735 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24736 LIBEXT!$LIBEXT$ac_delim
24737 IMPLIBEXT!$IMPLIBEXT$ac_delim
24738 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24739 DLLTOOL!$DLLTOOL$ac_delim
24740 DLLWRAP!$DLLWRAP$ac_delim
24741 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24742 IOKITLIB!$IOKITLIB$ac_delim
24743 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24744 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24745 COREAUDIO!$COREAUDIO$ac_delim
24746 CROSSTEST!$CROSSTEST$ac_delim
24747 CROSSCC!$CROSSCC$ac_delim
24748 CROSSWINDRES!$CROSSWINDRES$ac_delim
24749 LDPATH!$LDPATH$ac_delim
24750 CRTLIBS!$CRTLIBS$ac_delim
24751 SOCKETLIBS!$SOCKETLIBS$ac_delim
24752 MAIN_BINARY!$MAIN_BINARY$ac_delim
24753 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24755 LIBDL!$LIBDL$ac_delim
24756 LIBPOLL!$LIBPOLL$ac_delim
24757 DEPENDENCIES!$DEPENDENCIES$ac_delim
24758 LIBOBJS!$LIBOBJS$ac_delim
24759 LTLIBOBJS!$LTLIBOBJS$ac_delim
24762 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
24764 elif $ac_last_try; then
24765 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24766 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24767 { (exit 1); exit 1; }; }
24769 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24773 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24774 if test -n "$ac_eof"; then
24775 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24776 ac_eof
=`expr $ac_eof + 1`
24779 cat >>$CONFIG_STATUS <<_ACEOF
24780 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24781 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24784 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24785 s/^/s,@/; s/!/@,|#_!!_#|/
24788 s/'"$ac_delim"'$/,g/; t
24790 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24791 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24792 rm -f conf$
$subs.
sed
24793 cat >>$CONFIG_STATUS <<_ACEOF
24800 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24801 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24802 # trailing colons and then remove the whole line if VPATH becomes empty
24803 # (actually we leave an empty line to preserve line numbers).
24804 if test "x$srcdir" = x.
; then
24805 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24806 s/:*\$(srcdir):*/:/
24807 s/:*\${srcdir}:*/:/
24809 s/^\([^=]*=[ ]*\):*/\1/
24815 cat >>$CONFIG_STATUS <<\_ACEOF
24816 fi # test -n "$CONFIG_FILES"
24819 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
24822 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24824 case $ac_mode$ac_tag in
24826 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24827 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24828 { (exit 1); exit 1; }; };;
24829 :[FH
]-) ac_tag
=-:-;;
24830 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24847 -) ac_f
="$tmp/stdin";;
24848 *) # Look for the file first in the build tree, then in the source tree
24849 # (if the path is not absolute). The absolute path cannot be DOS-style,
24850 # because $ac_f cannot contain `:'.
24854 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24856 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24857 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24858 { (exit 1); exit 1; }; };;
24860 ac_file_inputs
="$ac_file_inputs $ac_f"
24863 # Let's still pretend it is `configure' which instantiates (i.e., don't
24864 # use $as_me), people would be surprised to read:
24865 # /* config.h. Generated by config.status. */
24866 configure_input
="Generated from "`IFS=:
24867 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24868 if test x
"$ac_file" != x-
; then
24869 configure_input
="$ac_file. $configure_input"
24870 { echo "$as_me:$LINENO: creating $ac_file" >&5
24871 echo "$as_me: creating $ac_file" >&6;}
24875 *:-:* |
*:-) cat >"$tmp/stdin";;
24880 ac_dir
=`$as_dirname -- "$ac_file" ||
24881 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24882 X"$ac_file" : 'X\(//\)[^/]' \| \
24883 X"$ac_file" : 'X\(//\)$' \| \
24884 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24890 /^X\(\/\/\)[^/].*/{
24905 -*) as_dir
=.
/$as_dir;;
24907 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24911 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24912 *) as_qdir
=$as_dir;;
24914 as_dirs
="'$as_qdir' $as_dirs"
24915 as_dir
=`$as_dirname -- "$as_dir" ||
24916 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24917 X"$as_dir" : 'X\(//\)[^/]' \| \
24918 X"$as_dir" : 'X\(//\)$' \| \
24919 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24925 /^X\(\/\/\)[^/].*/{
24938 test -d "$as_dir" && break
24940 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24941 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24942 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24943 { (exit 1); exit 1; }; }; }
24947 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24949 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24950 # A ".." for each directory in $ac_dir_suffix.
24951 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24952 case $ac_top_builddir_sub in
24953 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24954 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24957 ac_abs_top_builddir
=$ac_pwd
24958 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24959 # for backward compatibility:
24960 ac_top_builddir
=$ac_top_build_prefix
24963 .
) # We are building in place.
24965 ac_top_srcdir
=$ac_top_builddir_sub
24966 ac_abs_top_srcdir
=$ac_pwd ;;
24967 [\\/]* | ?
:[\\/]* ) # Absolute name.
24968 ac_srcdir
=$srcdir$ac_dir_suffix;
24969 ac_top_srcdir
=$srcdir
24970 ac_abs_top_srcdir
=$srcdir ;;
24971 *) # Relative name.
24972 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24973 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24974 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24976 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24986 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24987 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24991 cat >>$CONFIG_STATUS <<\_ACEOF
24992 # If the template does not know about datarootdir, expand it.
24993 # FIXME: This hack should be removed a few years after 2.60.
24994 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24996 case `sed -n '/datarootdir/ {
25005 ' $ac_file_inputs` in
25006 *datarootdir
*) ac_datarootdir_seen
=yes;;
25007 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25008 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25009 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25011 cat >>$CONFIG_STATUS <<_ACEOF
25012 ac_datarootdir_hack='
25013 s&@datadir@&$datadir&g
25014 s&@docdir@&$docdir&g
25015 s&@infodir@&$infodir&g
25016 s&@localedir@&$localedir&g
25017 s&@mandir@&$mandir&g
25018 s&\\\${datarootdir}&$datarootdir&g' ;;
25022 # Neutralize VPATH when `$srcdir' = `.'.
25023 # Shell code in configure.ac might set extrasub.
25024 # FIXME: do we really want to maintain this feature?
25025 cat >>$CONFIG_STATUS <<_ACEOF
25029 cat >>$CONFIG_STATUS <<\_ACEOF
25031 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25032 s
&@configure_input@
&$configure_input&;t t
25033 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25034 s
&@srcdir@
&$ac_srcdir&;t t
25035 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25036 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25037 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25038 s
&@builddir@
&$ac_builddir&;t t
25039 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25040 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25041 s
&@INSTALL@
&$ac_INSTALL&;t t
25042 $ac_datarootdir_hack
25043 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
25045 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25046 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25047 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25048 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25049 which seems to be undefined. Please make sure it is defined." >&5
25050 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25051 which seems to be undefined. Please make sure it is defined." >&2;}
25055 -) cat "$tmp/out"; rm -f "$tmp/out";;
25056 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25065 # Transform confdefs.h into a sed script `conftest.defines', that
25066 # substitutes the proper values into config.h.in to produce config.h.
25067 rm -f conftest.defines conftest.
tail
25068 # First, append a space to every undef/define line, to ease matching.
25069 echo 's/$/ /' >conftest.defines
25070 # Then, protect against being on the right side of a sed subst, or in
25071 # an unquoted here document, in config.status. If some macros were
25072 # called several times there might be several #defines for the same
25073 # symbol, which is useless. But do not sort them, since the last
25074 # AC_DEFINE must be honored.
25075 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25076 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25077 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25078 # PARAMS is the parameter list in the macro definition--in most cases, it's
25079 # just an empty string.
25080 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25081 ac_dB
='\\)[ (].*,\\1define\\2'
25089 s/^[ ]*#[ ]*define[ ][ ]*//
25094 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25095 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25096 ' >>conftest.defines
25098 # Remove the space that was appended to ease matching.
25099 # Then replace #undef with comments. This is necessary, for
25100 # example, in the case of _POSIX_SOURCE, which is predefined and required
25101 # on some systems where configure will not decide to define it.
25102 # (The regexp can be short, since the line contains either #define or #undef.)
25104 s,^[ #]*u.*,/* & */,' >>conftest.defines
25106 # Break up conftest.defines:
25107 ac_max_sed_lines
=50
25109 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25110 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25111 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25113 ac_in
='$ac_file_inputs'
25114 ac_out
='"$tmp/out1"'
25115 ac_nxt
='"$tmp/out2"'
25119 # Write a here document:
25120 cat >>$CONFIG_STATUS <<_ACEOF
25121 # First, check the format of the line:
25122 cat >"\$tmp/defines.sed" <<\\CEOF
25123 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25124 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25128 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25130 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25131 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25132 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25133 grep . conftest.
tail >/dev
/null ||
break
25134 rm -f conftest.defines
25135 mv conftest.
tail conftest.defines
25137 rm -f conftest.defines conftest.
tail
25139 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25140 cat >>$CONFIG_STATUS <<\_ACEOF
25141 if test x
"$ac_file" != x-
; then
25142 echo "/* $configure_input */" >"$tmp/config.h"
25143 cat "$ac_result" >>"$tmp/config.h"
25144 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25145 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25146 echo "$as_me: $ac_file is unchanged" >&6;}
25149 mv "$tmp/config.h" $ac_file
25152 echo "/* $configure_input */"
25158 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25159 echo "$as_me: executing $ac_file commands" >&6;}
25164 case $ac_file$ac_mode in
25165 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
25166 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
25167 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
25168 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
25169 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
25170 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25171 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
25172 "dlls/user/resources":C
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25173 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
25174 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25175 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
25176 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
25177 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
25183 { (exit 0); exit 0; }
25185 chmod +x
$CONFIG_STATUS
25186 ac_clean_files
=$ac_clean_files_save
25189 # configure is writing to config.log, and then calls config.status.
25190 # config.status does its own redirection, appending to config.log.
25191 # Unfortunately, on DOS this fails, as config.log is still kept open
25192 # by configure, so config.status won't be able to write to it; its
25193 # output is simply discarded. So we exec the FD to /dev/null,
25194 # effectively closing config.log, so it can be properly (re)opened and
25195 # appended to by config.status. When coming back to configure, we
25196 # need to make the FD available again.
25197 if test "$no_create" != yes; then
25199 ac_config_status_args
=
25200 test "$silent" = yes &&
25201 ac_config_status_args
="$ac_config_status_args --quiet"
25203 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25205 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25206 # would make configure fail if this is the last instruction.
25207 $ac_cs_success ||
{ (exit 1); exit 1; }
25212 if test "$no_create" = "yes"
25217 if test "$verbose" = "yes"
25219 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25222 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25223 echo "$as_me: libcapi20 development files not found." >&6;}
25224 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25225 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25228 if test "$ac_cv_header_cups_cups_h" != "yes"
25231 { echo "$as_me:$LINENO: libcups development files not found." >&5
25232 echo "$as_me: libcups development files not found." >&6;}
25233 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25234 echo "$as_me: Wine will be built without CUPS support." >&6;}
25238 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25241 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25242 echo "$as_me: libgphoto2 development files not found." >&6;}
25243 if test "$ac_cv_header_sane_sane_h" = "yes"
25245 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25246 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25248 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25249 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25253 if test "$ac_cv_header_hal_libhal_h" != "yes"
25256 { echo "$as_me:$LINENO: libhal development files not found." >&5
25257 echo "$as_me: libhal development files not found." >&6;}
25258 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25259 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25262 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25265 { echo "$as_me:$LINENO: libicu development files not found." >&5
25266 echo "$as_me: libicu development files not found." >&6;}
25267 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25268 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25271 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25274 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25275 echo "$as_me: liblcms development files not found." >&6;}
25276 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25277 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25280 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25283 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25284 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25285 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25286 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25289 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25292 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25293 echo "$as_me: lib(n)curses development files not found." >&6;}
25294 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25295 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25298 if test "$ac_cv_header_sane_sane_h" != "yes"
25301 { echo "$as_me:$LINENO: libsane development files not found." >&5
25302 echo "$as_me: libsane development files not found." >&6;}
25303 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25304 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25307 if test "$have_x" = "yes"
25309 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25312 { echo "$as_me:$LINENO: libxext development files not found." >&5
25313 echo "$as_me: libxext development files not found." >&6;}
25314 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25315 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25318 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25321 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25322 echo "$as_me: libXrandr development files not found." >&6;}
25323 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25324 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25327 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25330 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25331 echo "$as_me: libXrender development files not found." >&6;}
25332 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25333 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25336 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25339 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25340 echo "$as_me: libXxf86vm development files not found." >&6;}
25341 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25342 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25346 if test "$ac_cv_header_libxml_parser_h" != "yes"
25349 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25350 echo "$as_me: libxml2 development files not found." >&6;}
25351 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25352 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25355 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25358 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25359 echo "$as_me: libxslt development files not found." >&6;}
25360 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25361 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25366 if test "$have_x" = "no"
25369 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25370 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25371 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25372 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25373 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25374 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25375 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25376 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25379 if test -z "$OPENGLFILES"
25382 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25383 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25384 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25385 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25386 if test "$wine_cv_opengl_headers_found" = "no"
25388 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25389 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25391 if test "$wine_cv_opengl_header_version_OK" = "no"
25393 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25394 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25395 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25397 if test -f /usr
/X11R
6/lib
/libGL.a
25399 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25400 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25401 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25402 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25404 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25405 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25410 if test "$wine_cv_msg_freetype" = "yes"
25413 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25414 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25415 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25416 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25417 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25418 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25419 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25420 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25423 if test -z "$FONTSSUBDIRS"
25426 if test "$FONTFORGE" = "false"
25428 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25429 echo "$as_me: WARNING: FontForge is missing." >&2;}
25431 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25432 echo "$as_me: WARNING: FreeType is missing." >&2;}
25434 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25435 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25438 if test -z "$ALSALIBS" -a \
25439 -z "$ARTSC_LIBS" -a \
25440 -z "$AUDIOIOLIBS" -a \
25442 -z "$ESD_LIBS" -a \
25443 -z "$ac_cv_lib_soname_jack" -a \
25444 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25445 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25446 "$ac_cv_header_soundcard_h" != "yes"
25449 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25450 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25451 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25452 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25453 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25454 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25458 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."