2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.18.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
561 PACKAGE_TARNAME
='wine'
562 PACKAGE_VERSION
='0.9.18'
563 PACKAGE_STRING
='Wine 0.9.18'
564 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
566 ac_unique_file
="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
571 # include <sys/types.h>
574 # include <sys/stat.h>
585 # if !STDC_HEADERS && HAVE_MEMORY_H
591 # include <strings.h>
594 # include <inttypes.h>
612 program_transform_name
761 ac_subst_files
='MAKE_RULES
766 ac_precious_vars
='build_alias
780 # Initialize some variables set by options.
782 ac_init_version
=false
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
792 program_transform_name
=s
,x
,x
,
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir
='${exec_prefix}/bin'
807 sbindir
='${exec_prefix}/sbin'
808 libexecdir
='${exec_prefix}/libexec'
809 datarootdir
='${prefix}/share'
810 datadir
='${datarootdir}'
811 sysconfdir
='${prefix}/etc'
812 sharedstatedir
='${prefix}/com'
813 localstatedir
='${prefix}/var'
814 includedir
='${prefix}/include'
815 oldincludedir
='/usr/include'
816 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir
='${datarootdir}/info'
822 libdir
='${exec_prefix}/lib'
823 localedir
='${datarootdir}/locale'
824 mandir
='${datarootdir}/man'
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\
$ac_option
838 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
850 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
853 -build |
--build |
--buil |
--bui |
--bu)
854 ac_prev
=build_alias
;;
855 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
859 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
860 ac_prev
=cache_file
;;
861 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
862 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir |
--datadir |
--datadi |
--datad)
870 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
874 |
--dataroo |
--dataro |
--datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
877 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* |
--disable-*)
881 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
884 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
885 { (exit 1); exit 1; }; }
886 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
887 eval enable_
$ac_feature=no
;;
889 -docdir |
--docdir |
--docdi |
--doc |
--do)
891 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
894 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
896 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
899 -enable-* |
--enable-*)
900 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
903 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
904 { (exit 1); exit 1; }; }
905 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
906 eval enable_
$ac_feature=\
$ac_optarg ;;
908 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
909 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
910 |
--exec |
--exe |
--ex)
911 ac_prev
=exec_prefix
;;
912 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
913 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
914 |
--exec=* |
--exe=* |
--ex=*)
915 exec_prefix
=$ac_optarg ;;
917 -gas |
--gas |
--ga |
--g)
918 # Obsolete; use --with-gas.
921 -help |
--help |
--hel |
--he |
-h)
923 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
924 ac_init_help
=recursive
;;
925 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
926 ac_init_help
=short
;;
928 -host |
--host |
--hos |
--ho)
929 ac_prev
=host_alias
;;
930 -host=* |
--host=* |
--hos=* |
--ho=*)
931 host_alias
=$ac_optarg ;;
933 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
935 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
937 htmldir
=$ac_optarg ;;
939 -includedir |
--includedir |
--includedi |
--included |
--include \
940 |
--includ |
--inclu |
--incl |
--inc)
941 ac_prev
=includedir
;;
942 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
943 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
944 includedir
=$ac_optarg ;;
946 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
948 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
949 infodir
=$ac_optarg ;;
951 -libdir |
--libdir |
--libdi |
--libd)
953 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
956 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
957 |
--libexe |
--libex |
--libe)
958 ac_prev
=libexecdir
;;
959 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
960 |
--libexe=* |
--libex=* |
--libe=*)
961 libexecdir
=$ac_optarg ;;
963 -localedir |
--localedir |
--localedi |
--localed |
--locale)
965 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
966 localedir
=$ac_optarg ;;
968 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
969 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
970 ac_prev
=localstatedir
;;
971 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
972 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
973 localstatedir
=$ac_optarg ;;
975 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
977 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
981 # Obsolete; use --without-fp.
984 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
985 |
--no-cr |
--no-c |
-n)
988 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
989 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
992 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
993 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
994 |
--oldin |
--oldi |
--old |
--ol |
--o)
995 ac_prev
=oldincludedir
;;
996 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
997 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
998 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
999 oldincludedir
=$ac_optarg ;;
1001 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1003 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1004 prefix
=$ac_optarg ;;
1006 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1007 |
--program-pre |
--program-pr |
--program-p)
1008 ac_prev
=program_prefix
;;
1009 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1010 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1011 program_prefix
=$ac_optarg ;;
1013 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1014 |
--program-suf |
--program-su |
--program-s)
1015 ac_prev
=program_suffix
;;
1016 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1017 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1018 program_suffix
=$ac_optarg ;;
1020 -program-transform-name |
--program-transform-name \
1021 |
--program-transform-nam |
--program-transform-na \
1022 |
--program-transform-n |
--program-transform- \
1023 |
--program-transform |
--program-transfor \
1024 |
--program-transfo |
--program-transf \
1025 |
--program-trans |
--program-tran \
1026 |
--progr-tra |
--program-tr |
--program-t)
1027 ac_prev
=program_transform_name
;;
1028 -program-transform-name=* |
--program-transform-name=* \
1029 |
--program-transform-nam=* |
--program-transform-na=* \
1030 |
--program-transform-n=* |
--program-transform-=* \
1031 |
--program-transform=* |
--program-transfor=* \
1032 |
--program-transfo=* |
--program-transf=* \
1033 |
--program-trans=* |
--program-tran=* \
1034 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1035 program_transform_name
=$ac_optarg ;;
1037 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1039 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1040 pdfdir
=$ac_optarg ;;
1042 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1044 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1048 |
-silent |
--silent |
--silen |
--sile |
--sil)
1051 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1053 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1055 sbindir
=$ac_optarg ;;
1057 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1058 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1059 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1061 ac_prev
=sharedstatedir
;;
1062 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1063 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1064 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1066 sharedstatedir
=$ac_optarg ;;
1068 -site |
--site |
--sit)
1070 -site=* |
--site=* |
--sit=*)
1073 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1075 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1076 srcdir
=$ac_optarg ;;
1078 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1079 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1080 ac_prev
=sysconfdir
;;
1081 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1082 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1083 sysconfdir
=$ac_optarg ;;
1085 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1086 ac_prev
=target_alias
;;
1087 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1088 target_alias
=$ac_optarg ;;
1090 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1093 -version |
--version |
--versio |
--versi |
--vers |
-V)
1094 ac_init_version
=: ;;
1097 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1100 { echo "$as_me: error: invalid package name: $ac_package" >&2
1101 { (exit 1); exit 1; }; }
1102 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1103 eval with_
$ac_package=\
$ac_optarg ;;
1105 -without-* |
--without-*)
1106 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1109 { echo "$as_me: error: invalid package name: $ac_package" >&2
1110 { (exit 1); exit 1; }; }
1111 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1112 eval with_
$ac_package=no
;;
1115 # Obsolete; use --with-x.
1118 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1119 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1120 ac_prev
=x_includes
;;
1121 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1122 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1123 x_includes
=$ac_optarg ;;
1125 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1126 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1127 ac_prev
=x_libraries
;;
1128 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1129 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1130 x_libraries
=$ac_optarg ;;
1132 -*) { echo "$as_me: error: unrecognized option: $ac_option
1133 Try \`$0 --help' for more information." >&2
1134 { (exit 1); exit 1; }; }
1138 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1141 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1142 { (exit 1); exit 1; }; }
1143 eval $ac_envvar=\
$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1150 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 if test -n "$ac_prev"; then
1158 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1159 { echo "$as_me: error: missing argument to $ac_option" >&2
1160 { (exit 1); exit 1; }; }
1163 # Be sure to have absolute directory names.
1164 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val
=\$
$ac_var
1171 [\\/$
]* | ?
:[\\/]* ) continue;;
1172 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1174 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1175 { (exit 1); exit 1; }; }
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1183 target
=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x
; then
1187 if test "x$build_alias" = x
; then
1188 cross_compiling
=maybe
1189 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1190 If a cross compiler is detected then cross compile mode will be used." >&2
1191 elif test "x$build_alias" != "x$host_alias"; then
1197 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1199 test "$silent" = yes && exec 6>/dev
/null
1202 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1203 ac_ls_di
=`ls -di .` &&
1204 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1205 { echo "$as_me: error: Working directory cannot be determined" >&2
1206 { (exit 1); exit 1; }; }
1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208 { echo "$as_me: error: pwd does not report name of working directory" >&2
1209 { (exit 1); exit 1; }; }
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted
=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir
=`$as_dirname -- "$0" ||
1217 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$0" : 'X\(//\)[^/]' \| \
1219 X"$0" : 'X\(//\)$' \| \
1220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1244 ac_srcdir_defaulted
=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1248 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1249 { (exit 1); exit 1; }; }
1251 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1254 { (exit 1); exit 1; }; }
1256 # When building in place, set srcdir=.
1257 if test "$ac_abs_confdir" = "$ac_pwd"; then
1260 # Remove unnecessary trailing slashes from srcdir.
1261 # Double slashes in file names in object file debugging info
1262 # mess up M-x gdb in Emacs.
1264 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1266 for ac_var
in $ac_precious_vars; do
1267 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1268 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1269 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1270 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1274 # Report the --help message.
1276 if test "$ac_init_help" = "long"; then
1277 # Omit some internal or obsolete options to make the list less imposing.
1278 # This message is too long to be a string in the A/UX 3.1 sh.
1280 \`configure' configures Wine 0.9.18 to adapt to many kinds of systems.
1282 Usage: $0 [OPTION]... [VAR=VALUE]...
1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285 VAR=VALUE. See below for descriptions of some of the useful variables.
1287 Defaults for the options are specified in brackets.
1290 -h, --help display this help and exit
1291 --help=short display options specific to this package
1292 --help=recursive display the short help of all the included packages
1293 -V, --version display version information and exit
1294 -q, --quiet, --silent do not print \`checking...' messages
1295 --cache-file=FILE cache test results in FILE [disabled]
1296 -C, --config-cache alias for \`--cache-file=config.cache'
1297 -n, --no-create do not create output files
1298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1300 Installation directories:
1301 --prefix=PREFIX install architecture-independent files in PREFIX
1302 [$ac_default_prefix]
1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1306 By default, \`make install' will install all the files in
1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309 for instance \`--prefix=\$HOME'.
1311 For better control, use the options below.
1313 Fine tuning of the installation directories:
1314 --bindir=DIR user executables [EPREFIX/bin]
1315 --sbindir=DIR system admin executables [EPREFIX/sbin]
1316 --libexecdir=DIR program executables [EPREFIX/libexec]
1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1338 --x-includes=DIR X include files are
in DIR
1339 --x-libraries=DIR X library files are
in DIR
1342 --build=BUILD configure
for building on BUILD
[guessed
]
1343 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive
) echo "Configuration of Wine 0.9.18:";;
1354 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1355 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1356 --disable-win16 do not include Win16 support
1357 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1363 --without-opengl do not use OpenGL
1364 --without-curses do not use curses
1365 --with-wine-tools=<dir> use Wine tools from directory <dir>
1366 --with-x use the X Window System
1368 Some influential environment variables:
1369 CC C compiler command
1370 CFLAGS C compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1374 you have headers in a nonstandard directory <include dir>
1375 CXX C++ compiler command
1376 CXXFLAGS C++ compiler flags
1377 XMKMF Path to xmkmf, Makefile generator for X Window System
1380 Use these variables to override the choices made by `configure' or to
help
1381 it to
find libraries and programs with nonstandard names
/locations.
1383 Report bugs to
<wine-devel@winehq.org
>.
1388 if test "$ac_init_help" = "recursive"; then
1389 # If there are subdirs, report their specific --help.
1390 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1391 test -d "$ac_dir" ||
continue
1395 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1397 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1398 # A ".." for each directory in $ac_dir_suffix.
1399 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1400 case $ac_top_builddir_sub in
1401 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1402 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1405 ac_abs_top_builddir
=$ac_pwd
1406 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1407 # for backward compatibility:
1408 ac_top_builddir
=$ac_top_build_prefix
1411 .
) # We are building in place.
1413 ac_top_srcdir
=$ac_top_builddir_sub
1414 ac_abs_top_srcdir
=$ac_pwd ;;
1415 [\\/]* | ?
:[\\/]* ) # Absolute name.
1416 ac_srcdir
=$srcdir$ac_dir_suffix;
1417 ac_top_srcdir
=$srcdir
1418 ac_abs_top_srcdir
=$srcdir ;;
1420 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1422 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1424 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1426 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1427 # Check for guested configure.
1428 if test -f "$ac_srcdir/configure.gnu"; then
1430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1431 elif test -f "$ac_srcdir/configure"; then
1433 $SHELL "$ac_srcdir/configure" --help=recursive
1435 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1437 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1441 test -n "$ac_init_help" && exit $ac_status
1442 if $ac_init_version; then
1444 Wine configure
0.9.18
1445 generated by GNU Autoconf
2.60a
1447 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1448 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1449 This configure
script is free software
; the Free Software Foundation
1450 gives unlimited permission to copy
, distribute and modify it.
1454 cat >config.log
<<_ACEOF
1455 This file contains any messages produced by compilers while
1456 running configure, to aid debugging if configure makes a mistake.
1458 It was created by Wine $as_me 0.9.18, which was
1459 generated by GNU Autoconf 2.60a. Invocation command line was
1471 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1472 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1473 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1474 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1475 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1477 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1478 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1480 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1481 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1482 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1483 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1484 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1485 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1486 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1494 test -z "$as_dir" && as_dir
=.
1495 echo "PATH: $as_dir"
1511 # Keep a trace of the command line.
1512 # Strip out --no-create and --no-recursion so they do not pile up.
1513 # Strip out --silent because we don't want to record it for future runs.
1514 # Also quote any args containing shell meta-characters.
1515 # Make two passes to allow for proper duplicate-argument suppression.
1519 ac_must_keep_next
=false
1525 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1526 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1527 |
-silent |
--silent |
--silen |
--sile |
--sil)
1530 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1533 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1535 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1536 if test $ac_must_keep_next = true
; then
1537 ac_must_keep_next
=false
# Got value, back to normal.
1540 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1541 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1542 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1543 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1544 case "$ac_configure_args0 " in
1545 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1548 -* ) ac_must_keep_next
=true
;;
1551 ac_configure_args
="$ac_configure_args '$ac_arg'"
1556 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1557 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1559 # When interrupted or exit'd, cleanup temporary files, and complete
1560 # config.log. We remove comments because anyway the quotes in there
1561 # would cause problems or look ugly.
1562 # WARNING: Use '\'' to represent an apostrophe within the trap.
1563 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1564 trap 'exit_status=$?
1565 # Save into config.log some information that might help in debugging.
1570 ## ---------------- ##
1571 ## Cache variables. ##
1572 ## ---------------- ##
1575 # The following way of writing the cache mishandles newlines in values,
1577 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1578 eval ac_val=\$$ac_var
1582 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1583 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1586 _ | IFS | as_nl) ;; #(
1587 *) $as_unset $ac_var ;;
1592 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1593 *${as_nl}ac_space=\ *)
1595 "s/'\''/'\''\\\\'\'''\''/g;
1596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1599 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1607 ## ----------------- ##
1608 ## Output variables. ##
1609 ## ----------------- ##
1612 for ac_var in $ac_subst_vars
1614 eval ac_val=\$$ac_var
1616 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1618 echo "$ac_var='\''$ac_val'\''"
1622 if test -n "$ac_subst_files"; then
1624 ## ------------------- ##
1625 ## File substitutions. ##
1626 ## ------------------- ##
1629 for ac_var
in $ac_subst_files
1631 eval ac_val
=\$
$ac_var
1633 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1635 echo "$ac_var='\''$ac_val'\''"
1640 if test -s confdefs.h; then
1650 test "$ac_signal" != 0 &&
1651 echo "$as_me: caught signal $ac_signal"
1652 echo "$as_me: exit $exit_status"
1654 rm -f core *.core core.conftest.* &&
1655 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1658 for ac_signal
in 1 2 13 15; do
1659 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1663 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1664 rm -f -r conftest
* confdefs.h
1666 # Predefined preprocessor variables.
1668 cat >>confdefs.h
<<_ACEOF
1669 #define PACKAGE_NAME "$PACKAGE_NAME"
1673 cat >>confdefs.h
<<_ACEOF
1674 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1678 cat >>confdefs.h
<<_ACEOF
1679 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1683 cat >>confdefs.h
<<_ACEOF
1684 #define PACKAGE_STRING "$PACKAGE_STRING"
1688 cat >>confdefs.h
<<_ACEOF
1689 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1693 # Let the site file select an alternate cache file if it wants to.
1694 # Prefer explicitly selected file to automatically selected ones.
1695 if test -n "$CONFIG_SITE"; then
1696 set x
"$CONFIG_SITE"
1697 elif test "x$prefix" != xNONE
; then
1698 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1700 set x
"$ac_default_prefix/share/config.site" \
1701 "$ac_default_prefix/etc/config.site"
1706 if test -r "$ac_site_file"; then
1707 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1708 echo "$as_me: loading site script $ac_site_file" >&6;}
1709 sed 's/^/| /' "$ac_site_file" >&5
1714 if test -r "$cache_file"; then
1715 # Some versions of bash will fail to source /dev/null (special
1716 # files actually), so we avoid doing that.
1717 if test -f "$cache_file"; then
1718 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1719 echo "$as_me: loading cache $cache_file" >&6;}
1721 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1722 *) .
"./$cache_file";;
1726 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1727 echo "$as_me: creating cache $cache_file" >&6;}
1731 # Check that the precious variables saved in the cache have kept the same
1733 ac_cache_corrupted
=false
1734 for ac_var
in $ac_precious_vars; do
1735 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1736 eval ac_new_set
=\
$ac_env_${ac_var}_set
1737 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1738 eval ac_new_val
=\
$ac_env_${ac_var}_value
1739 case $ac_old_set,$ac_new_set in
1741 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1742 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1743 ac_cache_corrupted
=: ;;
1745 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1746 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1747 ac_cache_corrupted
=: ;;
1750 if test "x$ac_old_val" != "x$ac_new_val"; then
1751 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1752 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1753 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1754 echo "$as_me: former value: $ac_old_val" >&2;}
1755 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1756 echo "$as_me: current value: $ac_new_val" >&2;}
1757 ac_cache_corrupted
=:
1760 # Pass precious variables to config.status.
1761 if test "$ac_new_set" = set; then
1763 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1764 *) ac_arg
=$ac_var=$ac_new_val ;;
1766 case " $ac_configure_args " in
1767 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1768 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1772 if $ac_cache_corrupted; then
1773 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1774 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1775 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1776 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1777 { (exit 1); exit 1; }; }
1805 ac_cpp
='$CPP $CPPFLAGS'
1806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1812 ac_config_headers
="$ac_config_headers include/config.h"
1815 for ac_dir
in tools
"$srcdir"/tools
; do
1816 if test -f "$ac_dir/install-sh"; then
1818 ac_install_sh
="$ac_aux_dir/install-sh -c"
1820 elif test -f "$ac_dir/install.sh"; then
1822 ac_install_sh
="$ac_aux_dir/install.sh -c"
1824 elif test -f "$ac_dir/shtool"; then
1826 ac_install_sh
="$ac_aux_dir/shtool install -c"
1830 if test -z "$ac_aux_dir"; then
1831 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1832 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1833 { (exit 1); exit 1; }; }
1836 # These three variables are undocumented and unsupported,
1837 # and are intended to be withdrawn in a future Autoconf release.
1838 # They can cause serious problems if a builder's source tree is in a directory
1839 # whose full name contains unusual characters.
1840 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1841 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1842 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1847 # Check whether --enable-win16 was given.
1848 if test "${enable_win16+set}" = set; then
1849 enableval
=$enable_win16;
1852 # Check whether --enable-win64 was given.
1853 if test "${enable_win64+set}" = set; then
1854 enableval
=$enable_win64;
1859 # Check whether --with-opengl was given.
1860 if test "${with_opengl+set}" = set; then
1861 withval
=$with_opengl;
1865 # Check whether --with-curses was given.
1866 if test "${with_curses+set}" = set; then
1867 withval
=$with_curses;
1871 # Check whether --with-wine-tools was given.
1872 if test "${with_wine_tools+set}" = set; then
1873 withval
=$with_wine_tools;
1877 # Make sure we can run config.sub.
1878 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1879 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1880 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1881 { (exit 1); exit 1; }; }
1883 { echo "$as_me:$LINENO: checking build system type" >&5
1884 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1885 if test "${ac_cv_build+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 ac_build_alias
=$build_alias
1889 test "x$ac_build_alias" = x
&&
1890 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1891 test "x$ac_build_alias" = x
&&
1892 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1893 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1894 { (exit 1); exit 1; }; }
1895 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1896 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1897 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1898 { (exit 1); exit 1; }; }
1901 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1902 echo "${ECHO_T}$ac_cv_build" >&6; }
1903 case $ac_cv_build in
1905 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1906 echo "$as_me: error: invalid value of canonical build" >&2;}
1907 { (exit 1); exit 1; }; };;
1910 ac_save_IFS
=$IFS; IFS
='-'
1916 # Remember, the first character of IFS is used to create $*,
1917 # except with old shells:
1920 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1923 { echo "$as_me:$LINENO: checking host system type" >&5
1924 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1925 if test "${ac_cv_host+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 if test "x$host_alias" = x
; then
1929 ac_cv_host
=$ac_cv_build
1931 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1932 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1933 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1934 { (exit 1); exit 1; }; }
1938 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1939 echo "${ECHO_T}$ac_cv_host" >&6; }
1942 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1943 echo "$as_me: error: invalid value of canonical host" >&2;}
1944 { (exit 1); exit 1; }; };;
1947 ac_save_IFS
=$IFS; IFS
='-'
1953 # Remember, the first character of IFS is used to create $*,
1954 # except with old shells:
1957 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1962 if test "x$enable_win64" != "xyes"
1964 test -n "$CC" || CC
="gcc -m32"
1965 test -n "$LD" || LD
="ld -m elf_i386"
1966 test -n "$AS" || AS
="as --32"
1974 if test "x$enable_win16" != "xno"
1981 WIN16_FILES
="\$(WIN16_FILES)"
1983 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1985 if test "x$enable_win16" != "xyes"
1992 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1993 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1994 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1995 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 cat >conftest.
make <<\_ACEOF
2001 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2003 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2004 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2006 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2008 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2012 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2013 { echo "$as_me:$LINENO: result: yes" >&5
2014 echo "${ECHO_T}yes" >&6; }
2017 { echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6; }
2019 SET_MAKE
="MAKE=${MAKE-make}"
2023 ac_cpp
='$CPP $CPPFLAGS'
2024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2027 if test -n "$ac_tool_prefix"; then
2028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2029 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032 if test "${ac_cv_prog_CC+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 if test -n "$CC"; then
2036 ac_cv_prog_CC
="$CC" # Let the user override the test.
2038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2042 test -z "$as_dir" && as_dir
=.
2043 for ac_exec_ext
in '' $ac_executable_extensions; do
2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2045 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2056 if test -n "$CC"; then
2057 { echo "$as_me:$LINENO: result: $CC" >&5
2058 echo "${ECHO_T}$CC" >&6; }
2060 { echo "$as_me:$LINENO: result: no" >&5
2061 echo "${ECHO_T}no" >&6; }
2066 if test -z "$ac_cv_prog_CC"; then
2068 # Extract the first word of "gcc", so it can be a program name with args.
2069 set dummy gcc
; ac_word
=$2
2070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 if test -n "$ac_ct_CC"; then
2076 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir
=.
2083 for ac_exec_ext
in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_ac_ct_CC
="gcc"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2096 if test -n "$ac_ct_CC"; then
2097 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2098 echo "${ECHO_T}$ac_ct_CC" >&6; }
2100 { echo "$as_me:$LINENO: result: no" >&5
2101 echo "${ECHO_T}no" >&6; }
2104 if test "x$ac_ct_CC" = x
; then
2107 case $cross_compiling:$ac_tool_warned in
2109 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2110 whose name does not start with the host triplet. If you think this
2111 configuration is useful to you, please write to autoconf@gnu.org." >&5
2112 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2113 whose name does not start with the host triplet. If you think this
2114 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2115 ac_tool_warned
=yes ;;
2123 if test -z "$CC"; then
2124 if test -n "$ac_tool_prefix"; then
2125 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2126 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2129 if test "${ac_cv_prog_CC+set}" = set; then
2130 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 if test -n "$CC"; then
2133 ac_cv_prog_CC
="$CC" # Let the user override the test.
2135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2139 test -z "$as_dir" && as_dir
=.
2140 for ac_exec_ext
in '' $ac_executable_extensions; do
2141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2142 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153 if test -n "$CC"; then
2154 { echo "$as_me:$LINENO: result: $CC" >&5
2155 echo "${ECHO_T}$CC" >&6; }
2157 { echo "$as_me:$LINENO: result: no" >&5
2158 echo "${ECHO_T}no" >&6; }
2164 if test -z "$CC"; then
2165 # Extract the first word of "cc", so it can be a program name with args.
2166 set dummy cc
; ac_word
=$2
2167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169 if test "${ac_cv_prog_CC+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC
="$CC" # Let the user override the test.
2176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir
=.
2181 for ac_exec_ext
in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2184 ac_prog_rejected
=yes
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy
$ac_cv_prog_CC
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2204 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2210 if test -n "$CC"; then
2211 { echo "$as_me:$LINENO: result: $CC" >&5
2212 echo "${ECHO_T}$CC" >&6; }
2214 { echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6; }
2220 if test -z "$CC"; then
2221 if test -n "$ac_tool_prefix"; then
2222 for ac_prog
in cl.exe
2224 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC
="$CC" # Let the user override the test.
2234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2238 test -z "$as_dir" && as_dir
=.
2239 for ac_exec_ext
in '' $ac_executable_extensions; do
2240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2241 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 if test -n "$CC"; then
2253 { echo "$as_me:$LINENO: result: $CC" >&5
2254 echo "${ECHO_T}$CC" >&6; }
2256 { echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6; }
2261 test -n "$CC" && break
2264 if test -z "$CC"; then
2266 for ac_prog
in cl.exe
2268 # Extract the first word of "$ac_prog", so it can be a program name with args.
2269 set dummy
$ac_prog; ac_word
=$2
2270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2272 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 if test -n "$ac_ct_CC"; then
2276 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir
=.
2283 for ac_exec_ext
in '' $ac_executable_extensions; do
2284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2285 ac_cv_prog_ac_ct_CC
="$ac_prog"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2296 if test -n "$ac_ct_CC"; then
2297 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2298 echo "${ECHO_T}$ac_ct_CC" >&6; }
2300 { echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6; }
2305 test -n "$ac_ct_CC" && break
2308 if test "x$ac_ct_CC" = x
; then
2311 case $cross_compiling:$ac_tool_warned in
2313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2314 whose name does not start with the host triplet. If you think this
2315 configuration is useful to you, please write to autoconf@gnu.org." >&5
2316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2317 whose name does not start with the host triplet. If you think this
2318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2319 ac_tool_warned
=yes ;;
2328 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2329 See \`config.log' for more details." >&5
2330 echo "$as_me: error: no acceptable C compiler found in \$PATH
2331 See \`config.log' for more details." >&2;}
2332 { (exit 1); exit 1; }; }
2334 # Provide some information about the compiler.
2335 echo "$as_me:$LINENO: checking for C compiler version" >&5
2336 ac_compiler
=`set X $ac_compile; echo $2`
2337 { (ac_try
="$ac_compiler --version >&5"
2339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2340 *) ac_try_echo=$ac_try;;
2342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2343 (eval "$ac_compiler --version >&5") 2>&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }
2347 { (ac_try="$ac_compiler -v >&5"
2349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2350 *) ac_try_echo
=$ac_try;;
2352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2353 (eval "$ac_compiler -v >&5") 2>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }
2357 { (ac_try
="$ac_compiler -V >&5"
2359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2363 (eval "$ac_compiler -V >&5") 2>&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2368 cat >conftest.$ac_ext <<_ACEOF
2371 cat confdefs.h >>conftest.$ac_ext
2372 cat >>conftest.$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2383 ac_clean_files_save=$ac_clean_files
2384 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2385 # Try to create an executable without -o first, disregard a.out.
2386 # It will help us diagnose broken compilers, and finding out an intuition
2388 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2389 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2390 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2392 # List of possible output files, starting from the most likely.
2393 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2394 # only as a last resort. b.out is created by i960 compilers.
2395 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2397 # The IRIX 6 linker writes into existing files which may not be
2398 # executable, retaining their permissions. Remove them first so a
2399 # subsequent execution test works.
2401 for ac_file in $ac_files
2404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2405 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2410 if { (ac_try="$ac_link_default"
2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2416 (eval "$ac_link_default") 2>&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; then
2420 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2421 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2422 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2423 # so that the user can short-circuit this test for compilers unknown to
2425 for ac_file
in $ac_files
2427 test -f "$ac_file" ||
continue
2429 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2432 # We found the default executable, but exeext='' is most
2436 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2438 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2440 # We set ac_cv_exeext here because the later test for it is not
2441 # safe: cross compilers may not add the suffix if given an `-o'
2442 # argument, so we may need to know it at that point already.
2443 # Even if this section looks crufty: it has the advantage of
2450 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2453 echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.
$ac_ext >&5
2456 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2457 See \`config.log' for more details." >&5
2458 echo "$as_me: error: C compiler cannot create executables
2459 See \`config.log' for more details." >&2;}
2460 { (exit 77); exit 77; }; }
2463 ac_exeext
=$ac_cv_exeext
2464 { echo "$as_me:$LINENO: result: $ac_file" >&5
2465 echo "${ECHO_T}$ac_file" >&6; }
2467 # Check that the compiler produces executables we can run. If not, either
2468 # the compiler is broken, or we cross compile.
2469 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2470 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2471 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2472 # If not cross compiling, check that we can run a simple program.
2473 if test "$cross_compiling" != yes; then
2474 if { ac_try
='./$ac_file'
2475 { (case "(($ac_try" in
2476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2480 (eval "$ac_try") 2>&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }; }; then
2486 if test "$cross_compiling" = maybe; then
2489 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2490 If you meant to cross compile, use \`--host'.
2491 See \`config.log' for more details.
" >&5
2492 echo "$as_me: error
: cannot run C compiled programs.
2493 If you meant to cross compile
, use \
`--host'.
2494 See \`config.log
' for more details." >&2;}
2495 { (exit 1); exit 1; }; }
2499 { echo "$as_me:$LINENO: result: yes" >&5
2500 echo "${ECHO_T}yes" >&6; }
2502 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2503 ac_clean_files=$ac_clean_files_save
2504 # Check that the compiler produces executables we can run. If not, either
2505 # the compiler is broken, or we cross compile.
2506 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2507 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2508 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2509 echo "${ECHO_T}$cross_compiling" >&6; }
2511 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2512 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2513 if { (ac_try="$ac_link"
2515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2519 (eval "$ac_link") 2>&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; then
2523 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2524 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2525 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2527 for ac_file
in conftest.exe conftest conftest.
*; do
2528 test -f "$ac_file" ||
continue
2530 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2531 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2537 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }
2544 rm -f conftest
$ac_cv_exeext
2545 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2548 rm -f conftest.
$ac_ext
2549 EXEEXT
=$ac_cv_exeext
2551 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2552 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2553 if test "${ac_cv_objext+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 cat >conftest.
$ac_ext <<_ACEOF
2559 cat confdefs.h
>>conftest.
$ac_ext
2560 cat >>conftest.
$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2571 rm -f conftest.o conftest.obj
2572 if { (ac_try
="$ac_compile"
2574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2578 (eval "$ac_compile") 2>&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; then
2582 for ac_file in conftest.o conftest.obj conftest.*; do
2583 test -f "$ac_file" || continue;
2585 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2586 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2591 echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.$ac_ext >&5
2594 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2595 See \`config.log
' for more details." >&5
2596 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2597 See \`config.log' for more details.
" >&2;}
2598 { (exit 1); exit 1; }; }
2601 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2603 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2604 echo "${ECHO_T}$ac_cv_objext" >&6; }
2605 OBJEXT=$ac_cv_objext
2607 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2608 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2609 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2610 echo $ECHO_N "(cached
) $ECHO_C" >&6
2612 cat >conftest.$ac_ext <<_ACEOF
2615 cat confdefs.h >>conftest.$ac_ext
2616 cat >>conftest.$ac_ext <<_ACEOF
2617 /* end confdefs.h. */
2630 rm -f conftest.$ac_objext
2631 if { (ac_try="$ac_compile"
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compile") 2>conftest.er1
2639 grep -v '^ *+' conftest.er1 >conftest.err
2641 cat conftest.err >&5
2642 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2643 (exit $ac_status); } &&
2644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2645 { (case "(($ac_try" in
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2649 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2650 (eval "$ac_try") 2>&5
2652 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2653 (exit $ac_status); }; } &&
2654 { ac_try='test -s conftest.$ac_objext'
2655 { (case "(($ac_try" in
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2659 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2660 (eval "$ac_try") 2>&5
2662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2663 (exit $ac_status); }; }; then
2666 echo "$as_me: failed program was
:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2673 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2676 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2677 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2678 GCC=`test $ac_compiler_gnu = yes && echo yes`
2679 ac_test_CFLAGS=${CFLAGS+set}
2680 ac_save_CFLAGS=$CFLAGS
2681 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2682 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2683 if test "${ac_cv_prog_cc_g+set}" = set; then
2684 echo $ECHO_N "(cached
) $ECHO_C" >&6
2686 ac_save_c_werror_flag=$ac_c_werror_flag
2687 ac_c_werror_flag=yes
2690 cat >conftest.$ac_ext <<_ACEOF
2693 cat confdefs.h >>conftest.$ac_ext
2694 cat >>conftest.$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2705 rm -f conftest.$ac_objext
2706 if { (ac_try="$ac_compile"
2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2711 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2712 (eval "$ac_compile") 2>conftest.er1
2714 grep -v '^ *+' conftest.er1 >conftest.err
2716 cat conftest.err >&5
2717 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2718 (exit $ac_status); } &&
2719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2720 { (case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2724 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2725 (eval "$ac_try") 2>&5
2727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2728 (exit $ac_status); }; } &&
2729 { ac_try='test -s conftest.$ac_objext'
2730 { (case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2735 (eval "$ac_try") 2>&5
2737 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2738 (exit $ac_status); }; }; then
2741 echo "$as_me: failed program was
:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2745 cat >conftest.$ac_ext <<_ACEOF
2748 cat confdefs.h >>conftest.$ac_ext
2749 cat >>conftest.$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2760 rm -f conftest.$ac_objext
2761 if { (ac_try="$ac_compile"
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2767 (eval "$ac_compile") 2>conftest.er1
2769 grep -v '^ *+' conftest.er1 >conftest.err
2771 cat conftest.err >&5
2772 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2773 (exit $ac_status); } &&
2774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2775 { (case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_try") 2>&5
2782 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2783 (exit $ac_status); }; } &&
2784 { ac_try='test -s conftest.$ac_objext'
2785 { (case "(($ac_try" in
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2789 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2790 (eval "$ac_try") 2>&5
2792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2793 (exit $ac_status); }; }; then
2796 echo "$as_me: failed program was
:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2799 ac_c_werror_flag=$ac_save_c_werror_flag
2801 cat >conftest.$ac_ext <<_ACEOF
2804 cat confdefs.h >>conftest.$ac_ext
2805 cat >>conftest.$ac_ext <<_ACEOF
2806 /* end confdefs.h. */
2816 rm -f conftest.$ac_objext
2817 if { (ac_try="$ac_compile"
2819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820 *) ac_try_echo=$ac_try;;
2822 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2823 (eval "$ac_compile") 2>conftest.er1
2825 grep -v '^ *+' conftest.er1 >conftest.err
2827 cat conftest.err >&5
2828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2829 (exit $ac_status); } &&
2830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2831 { (case "(($ac_try" in
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2835 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2836 (eval "$ac_try") 2>&5
2838 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext'
2841 { (case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2845 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_try") 2>&5
2848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2849 (exit $ac_status); }; }; then
2852 echo "$as_me: failed program was
:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 ac_c_werror_flag=$ac_save_c_werror_flag
2867 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2868 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2869 if test "$ac_test_CFLAGS" = set; then
2870 CFLAGS=$ac_save_CFLAGS
2871 elif test $ac_cv_prog_cc_g = yes; then
2872 if test "$GCC" = yes; then
2878 if test "$GCC" = yes; then
2884 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2885 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2886 if test "${ac_cv_prog_cc_c89+set}" = set; then
2887 echo $ECHO_N "(cached
) $ECHO_C" >&6
2889 ac_cv_prog_cc_c89=no
2891 cat >conftest.$ac_ext <<_ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2899 #include <sys/types.h>
2900 #include <sys/stat.h>
2901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2902 struct buf { int x; };
2903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2904 static char *e (p, i)
2910 static char *f (char * (*g) (char **, int), char **p, ...)
2915 s = g (p, va_arg (v,int));
2920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2921 function prototypes and stuff, but not '\xHH' hex character constants.
2922 These don't provoke an error unfortunately, instead are silently treated
2923 as 'x'. The following induces an error, until -std is added to get
2924 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2925 array size at least. It's necessary to write '\x00'==0 to get something
2926 that's true only with -std. */
2927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2929 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2930 inside strings and character constants. */
2932 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2934 int test (int i, double x);
2935 struct s1 {int (*f) (int a);};
2936 struct s2 {int (*f) (double a);};
2937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2948 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2951 CC="$ac_save_CC $ac_arg"
2952 rm -f conftest.$ac_objext
2953 if { (ac_try="$ac_compile"
2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956 *) ac_try_echo=$ac_try;;
2958 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2959 (eval "$ac_compile") 2>conftest.er1
2961 grep -v '^ *+' conftest.er1 >conftest.err
2963 cat conftest.err >&5
2964 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2967 { (case "(($ac_try" in
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2971 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2972 (eval "$ac_try") 2>&5
2974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2975 (exit $ac_status); }; } &&
2976 { ac_try='test -s conftest.$ac_objext'
2977 { (case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2982 (eval "$ac_try") 2>&5
2984 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2985 (exit $ac_status); }; }; then
2986 ac_cv_prog_cc_c89=$ac_arg
2988 echo "$as_me: failed program was
:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2994 rm -f core conftest.err conftest.$ac_objext
2995 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2997 rm -f conftest.$ac_ext
3002 case "x
$ac_cv_prog_cc_c89" in
3004 { echo "$as_me:$LINENO: result
: none needed
" >&5
3005 echo "${ECHO_T}none needed
" >&6; } ;;
3007 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3008 echo "${ECHO_T}unsupported
" >&6; } ;;
3010 CC="$CC $ac_cv_prog_cc_c89"
3011 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3012 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3017 ac_cpp='$CPP $CPPFLAGS'
3018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3023 ac_cpp='$CXXCPP $CPPFLAGS'
3024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3027 if test -z "$CXX"; then
3028 if test -n "$CCC"; then
3031 if test -n "$ac_tool_prefix"; then
3032 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3034 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3035 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3036 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3037 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3038 if test "${ac_cv_prog_CXX+set}" = set; then
3039 echo $ECHO_N "(cached
) $ECHO_C" >&6
3041 if test -n "$CXX"; then
3042 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir=.
3049 for ac_exec_ext in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3052 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3062 if test -n "$CXX"; then
3063 { echo "$as_me:$LINENO: result
: $CXX" >&5
3064 echo "${ECHO_T}$CXX" >&6; }
3066 { echo "$as_me:$LINENO: result
: no
" >&5
3067 echo "${ECHO_T}no
" >&6; }
3071 test -n "$CXX" && break
3074 if test -z "$CXX"; then
3076 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3078 # Extract the first word of "$ac_prog", so it can be a program name with args.
3079 set dummy $ac_prog; ac_word=$2
3080 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3081 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3082 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3083 echo $ECHO_N "(cached
) $ECHO_C" >&6
3085 if test -n "$ac_ct_CXX"; then
3086 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092 test -z "$as_dir" && as_dir=.
3093 for ac_exec_ext in '' $ac_executable_extensions; do
3094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3095 ac_cv_prog_ac_ct_CXX="$ac_prog"
3096 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3105 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3106 if test -n "$ac_ct_CXX"; then
3107 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3108 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3110 { echo "$as_me:$LINENO: result
: no
" >&5
3111 echo "${ECHO_T}no
" >&6; }
3115 test -n "$ac_ct_CXX" && break
3118 if test "x
$ac_ct_CXX" = x; then
3121 case $cross_compiling:$ac_tool_warned in
3123 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3124 whose name does not start with the
host triplet. If you think this
3125 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3126 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3127 whose name does not start with the
host triplet. If you think this
3128 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3129 ac_tool_warned=yes ;;
3137 # Provide some information about the compiler.
3138 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3139 ac_compiler=`set X $ac_compile; echo $2`
3140 { (ac_try="$ac_compiler --version >&5"
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3145 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3146 (eval "$ac_compiler --version >&5") 2>&5
3148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3149 (exit $ac_status); }
3150 { (ac_try="$ac_compiler -v >&5"
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3156 (eval "$ac_compiler -v >&5") 2>&5
3158 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3159 (exit $ac_status); }
3160 { (ac_try="$ac_compiler -V >&5"
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3165 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3166 (eval "$ac_compiler -V >&5") 2>&5
3168 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3169 (exit $ac_status); }
3171 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3172 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3173 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3174 echo $ECHO_N "(cached
) $ECHO_C" >&6
3176 cat >conftest.$ac_ext <<_ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3194 rm -f conftest.$ac_objext
3195 if { (ac_try="$ac_compile"
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3200 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3201 (eval "$ac_compile") 2>conftest.er1
3203 grep -v '^ *+' conftest.er1 >conftest.err
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3207 (exit $ac_status); } &&
3208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3209 { (case "(($ac_try" in
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3214 (eval "$ac_try") 2>&5
3216 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try='test -s conftest.$ac_objext'
3219 { (case "(($ac_try" in
3220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3224 (eval "$ac_try") 2>&5
3226 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3227 (exit $ac_status); }; }; then
3230 echo "$as_me: failed program was
:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3240 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3241 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3242 GXX=`test $ac_compiler_gnu = yes && echo yes`
3243 ac_test_CXXFLAGS=${CXXFLAGS+set}
3244 ac_save_CXXFLAGS=$CXXFLAGS
3245 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3246 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3247 if test "${ac_cv_prog_cxx_g+set}" = set; then
3248 echo $ECHO_N "(cached
) $ECHO_C" >&6
3250 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3251 ac_cxx_werror_flag=yes
3254 cat >conftest.$ac_ext <<_ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3269 rm -f conftest.$ac_objext
3270 if { (ac_try="$ac_compile"
3272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273 *) ac_try_echo=$ac_try;;
3275 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3276 (eval "$ac_compile") 2>conftest.er1
3278 grep -v '^ *+' conftest.er1 >conftest.err
3280 cat conftest.err >&5
3281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3284 { (case "(($ac_try" in
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3288 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3289 (eval "$ac_try") 2>&5
3291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3292 (exit $ac_status); }; } &&
3293 { ac_try='test -s conftest.$ac_objext'
3294 { (case "(($ac_try" in
3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296 *) ac_try_echo=$ac_try;;
3298 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3299 (eval "$ac_try") 2>&5
3301 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3302 (exit $ac_status); }; }; then
3303 ac_cv_prog_cxx_g=yes
3305 echo "$as_me: failed program was
:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3309 cat >conftest.$ac_ext <<_ACEOF
3312 cat confdefs.h >>conftest.$ac_ext
3313 cat >>conftest.$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3324 rm -f conftest.$ac_objext
3325 if { (ac_try="$ac_compile"
3327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3331 (eval "$ac_compile") 2>conftest.er1
3333 grep -v '^ *+' conftest.er1 >conftest.err
3335 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3339 { (case "(($ac_try" in
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3344 (eval "$ac_try") 2>&5
3346 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3347 (exit $ac_status); }; } &&
3348 { ac_try='test -s conftest.$ac_objext'
3349 { (case "(($ac_try" in
3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351 *) ac_try_echo=$ac_try;;
3353 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3354 (eval "$ac_try") 2>&5
3356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3357 (exit $ac_status); }; }; then
3360 echo "$as_me: failed program was
:" >&5
3361 sed 's/^/| /' conftest.$ac_ext >&5
3363 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3365 cat >conftest.$ac_ext <<_ACEOF
3368 cat confdefs.h >>conftest.$ac_ext
3369 cat >>conftest.$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3380 rm -f conftest.$ac_objext
3381 if { (ac_try="$ac_compile"
3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3387 (eval "$ac_compile") 2>conftest.er1
3389 grep -v '^ *+' conftest.er1 >conftest.err
3391 cat conftest.err >&5
3392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3393 (exit $ac_status); } &&
3394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3395 { (case "(($ac_try" in
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3400 (eval "$ac_try") 2>&5
3402 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3403 (exit $ac_status); }; } &&
3404 { ac_try='test -s conftest.$ac_objext'
3405 { (case "(($ac_try" in
3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407 *) ac_try_echo=$ac_try;;
3409 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3410 (eval "$ac_try") 2>&5
3412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3413 (exit $ac_status); }; }; then
3414 ac_cv_prog_cxx_g=yes
3416 echo "$as_me: failed program was
:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3431 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3432 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3433 if test "$ac_test_CXXFLAGS" = set; then
3434 CXXFLAGS=$ac_save_CXXFLAGS
3435 elif test $ac_cv_prog_cxx_g = yes; then
3436 if test "$GXX" = yes; then
3442 if test "$GXX" = yes; then
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 if test -n "$ac_tool_prefix"; then
3455 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3457 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3458 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3459 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3460 echo $ECHO_N "(cached
) $ECHO_C" >&6
3462 if test -n "$CPPBIN"; then
3463 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3472 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3473 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3482 CPPBIN=$ac_cv_prog_CPPBIN
3483 if test -n "$CPPBIN"; then
3484 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3485 echo "${ECHO_T}$CPPBIN" >&6; }
3487 { echo "$as_me:$LINENO: result
: no
" >&5
3488 echo "${ECHO_T}no
" >&6; }
3493 if test -z "$ac_cv_prog_CPPBIN"; then
3494 ac_ct_CPPBIN=$CPPBIN
3495 # Extract the first word of "cpp
", so it can be a program name with args.
3496 set dummy cpp; ac_word=$2
3497 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3498 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3499 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3500 echo $ECHO_N "(cached
) $ECHO_C" >&6
3502 if test -n "$ac_ct_CPPBIN"; then
3503 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3512 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3513 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3522 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3523 if test -n "$ac_ct_CPPBIN"; then
3524 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3525 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3527 { echo "$as_me:$LINENO: result
: no
" >&5
3528 echo "${ECHO_T}no
" >&6; }
3531 if test "x
$ac_ct_CPPBIN" = x; then
3534 case $cross_compiling:$ac_tool_warned in
3536 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3537 whose name does not start with the
host triplet. If you think this
3538 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3539 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3540 whose name does not start with the
host triplet. If you think this
3541 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3542 ac_tool_warned=yes ;;
3544 CPPBIN=$ac_ct_CPPBIN
3547 CPPBIN="$ac_cv_prog_CPPBIN"
3551 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3552 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3553 if test "${wine_cv_toolsdir+set}" = set; then
3554 echo $ECHO_N "(cached
) $ECHO_C" >&6
3556 if test -z "$with_wine_tools"; then
3557 if test "$cross_compiling" = "yes"; then
3558 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3559 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3560 { (exit 1); exit 1; }; }
3562 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3564 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3565 case $with_wine_tools in
3566 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3567 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3570 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3571 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3572 { (exit 1); exit 1; }; }
3575 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3576 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3577 TOOLSDIR=$wine_cv_toolsdir
3582 ac_cpp='$CPP $CPPFLAGS'
3583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3586 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3587 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3588 # On Suns, sometimes $CPP names a directory.
3589 if test -n "$CPP" && test -d "$CPP"; then
3592 if test -z "$CPP"; then
3593 if test "${ac_cv_prog_CPP+set}" = set; then
3594 echo $ECHO_N "(cached
) $ECHO_C" >&6
3596 # Double quotes because CPP needs to be expanded
3597 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3600 for ac_c_preproc_warn_flag in '' yes
3602 # Use a header file that comes with gcc, so configuring glibc
3603 # with a fresh cross-compiler works.
3604 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3605 # <limits.h> exists even on freestanding compilers.
3606 # On the NeXT, cc -E runs the code through the compiler's parser,
3607 # not just through cpp. "Syntax error
" is here to catch this case.
3608 cat >conftest.$ac_ext <<_ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3615 # include <limits.h>
3617 # include <assert.h>
3621 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3626 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3627 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3629 grep -v '^ *+' conftest.er1 >conftest.err
3631 cat conftest.err >&5
3632 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3633 (exit $ac_status); } >/dev/null; then
3634 if test -s conftest.err; then
3635 ac_cpp_err=$ac_c_preproc_warn_flag
3636 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3643 if test -z "$ac_cpp_err"; then
3646 echo "$as_me: failed program was
:" >&5
3647 sed 's/^/| /' conftest.$ac_ext >&5
3649 # Broken: fails on valid input.
3653 rm -f conftest.err conftest.$ac_ext
3655 # OK, works on sane cases. Now check whether nonexistent headers
3656 # can be detected and how.
3657 cat >conftest.$ac_ext <<_ACEOF
3660 cat confdefs.h >>conftest.$ac_ext
3661 cat >>conftest.$ac_ext <<_ACEOF
3662 /* end confdefs.h. */
3663 #include <ac_nonexistent.h>
3665 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668 *) ac_try_echo=$ac_try;;
3670 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3671 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3673 grep -v '^ *+' conftest.er1 >conftest.err
3675 cat conftest.err >&5
3676 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3677 (exit $ac_status); } >/dev/null; then
3678 if test -s conftest.err; then
3679 ac_cpp_err=$ac_c_preproc_warn_flag
3680 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3687 if test -z "$ac_cpp_err"; then
3688 # Broken: success on invalid input.
3691 echo "$as_me: failed program was
:" >&5
3692 sed 's/^/| /' conftest.$ac_ext >&5
3694 # Passes both tests.
3699 rm -f conftest.err conftest.$ac_ext
3702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3703 rm -f conftest.err conftest.$ac_ext
3704 if $ac_preproc_ok; then
3716 { echo "$as_me:$LINENO: result
: $CPP" >&5
3717 echo "${ECHO_T}$CPP" >&6; }
3719 for ac_c_preproc_warn_flag in '' yes
3721 # Use a header file that comes with gcc, so configuring glibc
3722 # with a fresh cross-compiler works.
3723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3724 # <limits.h> exists even on freestanding compilers.
3725 # On the NeXT, cc -E runs the code through the compiler's parser,
3726 # not just through cpp. "Syntax error
" is here to catch this case.
3727 cat >conftest.$ac_ext <<_ACEOF
3730 cat confdefs.h >>conftest.$ac_ext
3731 cat >>conftest.$ac_ext <<_ACEOF
3732 /* end confdefs.h. */
3734 # include <limits.h>
3736 # include <assert.h>
3740 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3745 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3746 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3748 grep -v '^ *+' conftest.er1 >conftest.err
3750 cat conftest.err >&5
3751 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3752 (exit $ac_status); } >/dev/null; then
3753 if test -s conftest.err; then
3754 ac_cpp_err=$ac_c_preproc_warn_flag
3755 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3762 if test -z "$ac_cpp_err"; then
3765 echo "$as_me: failed program was
:" >&5
3766 sed 's/^/| /' conftest.$ac_ext >&5
3768 # Broken: fails on valid input.
3772 rm -f conftest.err conftest.$ac_ext
3774 # OK, works on sane cases. Now check whether nonexistent headers
3775 # can be detected and how.
3776 cat >conftest.$ac_ext <<_ACEOF
3779 cat confdefs.h >>conftest.$ac_ext
3780 cat >>conftest.$ac_ext <<_ACEOF
3781 /* end confdefs.h. */
3782 #include <ac_nonexistent.h>
3784 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3787 *) ac_try_echo=$ac_try;;
3789 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3790 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3792 grep -v '^ *+' conftest.er1 >conftest.err
3794 cat conftest.err >&5
3795 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3796 (exit $ac_status); } >/dev/null; then
3797 if test -s conftest.err; then
3798 ac_cpp_err=$ac_c_preproc_warn_flag
3799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3806 if test -z "$ac_cpp_err"; then
3807 # Broken: success on invalid input.
3810 echo "$as_me: failed program was
:" >&5
3811 sed 's/^/| /' conftest.$ac_ext >&5
3813 # Passes both tests.
3818 rm -f conftest.err conftest.$ac_ext
3821 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3822 rm -f conftest.err conftest.$ac_ext
3823 if $ac_preproc_ok; then
3826 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3827 See \
`config.log' for more details." >&5
3828 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3829 See \`config.log
' for more details." >&2;}
3830 { (exit 1); exit 1; }; }
3834 ac_cpp='$CPP $CPPFLAGS'
3835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3836 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840 { echo "$as_me:$LINENO: checking for X" >&5
3841 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3844 # Check whether --with-x was given.
3845 if test "${with_x+set}" = set; then
3849 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3850 if test "x$with_x" = xno; then
3851 # The user explicitly disabled X.
3854 case $x_includes,$x_libraries in #(
3855 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3856 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3857 { (exit 1); exit 1; }; };; #(
3858 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3861 # One or both of the vars are not set, and there is no cached value.
3862 ac_x_includes=no ac_x_libraries=no
3863 rm -f -r conftest.dir
3864 if mkdir conftest.dir; then
3866 cat >Imakefile <<'_ACEOF'
3868 @echo incroot='${INCROOT}'
3870 @echo usrlibdir='${USRLIBDIR}'
3872 @echo libdir='${LIBDIR}'
3874 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3875 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3876 for ac_var in incroot usrlibdir libdir; do
3877 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3879 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3880 for ac_extension in a so sl; do
3881 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3882 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3883 ac_im_usrlibdir=$ac_im_libdir; break
3886 # Screen out bogus values from the imake configuration. They are
3887 # bogus both because they are the default anyway, and because
3888 # using them would break gcc on systems where it needs fixed includes.
3889 case $ac_im_incroot in
3890 /usr/include) ac_x_includes= ;;
3891 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3893 case $ac_im_usrlibdir in
3895 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3899 rm -f -r conftest.dir
3902 # Standard set of common directories for X headers.
3903 # Check X11 before X11Rn because it is often a symlink to the current release.
3915 /usr
/local
/X11
/include
3916 /usr
/local
/X11R
6/include
3917 /usr
/local
/X11R
5/include
3918 /usr
/local
/X11R
4/include
3920 /usr
/local
/include
/X11
3921 /usr
/local
/include
/X11R6
3922 /usr
/local
/include
/X11R5
3923 /usr
/local
/include
/X11R4
3927 /usr
/XFree86
/include
/X11
3931 /usr
/unsupported
/include
3933 /usr
/local
/x11r
5/include
3934 /usr
/lpp
/Xamples
/include
3936 /usr
/openwin
/include
3937 /usr
/openwin
/share
/include
'
3939 if test "$ac_x_includes" = no; then
3940 # Guess where to find include files, by looking for Xlib.h.
3941 # First, try using that file with no special directory specified.
3942 cat >conftest.$ac_ext <<_ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3948 #include <X11/Xlib.h>
3950 if { (ac_try="$ac_cpp conftest.$ac_ext"
3952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3953 *) ac_try_echo=$ac_try;;
3955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3958 grep -v '^
*+' conftest.er1 >conftest.err
3960 cat conftest.err >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } >/dev/null; then
3963 if test -s conftest.err; then
3964 ac_cpp_err=$ac_c_preproc_warn_flag
3965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3972 if test -z "$ac_cpp_err"; then
3973 # We can compile using X headers with no special include directory.
3976 echo "$as_me: failed program was:" >&5
3977 sed 's
/^
/|
/' conftest.$ac_ext >&5
3979 for ac_dir in $ac_x_header_dirs; do
3980 if test -r "$ac_dir/X11/Xlib.h"; then
3981 ac_x_includes=$ac_dir
3987 rm -f conftest.err conftest.$ac_ext
3988 fi # $ac_x_includes = no
3990 if test "$ac_x_libraries" = no; then
3991 # Check for the libraries.
3992 # See if we find them without any special options.
3993 # Don't add to
$LIBS permanently.
3996 cat >conftest.
$ac_ext <<_ACEOF
3999 cat confdefs.h
>>conftest.
$ac_ext
4000 cat >>conftest.
$ac_ext <<_ACEOF
4001 /* end confdefs.h. */
4002 #include <X11/Xlib.h>
4011 rm -f conftest.
$ac_objext conftest
$ac_exeext
4012 if { (ac_try
="$ac_link"
4014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4018 (eval "$ac_link") 2>conftest.er1
4020 grep -v '^ *+' conftest.er1 >conftest.err
4022 cat conftest.err >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } &&
4025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4026 { (case "(($ac_try" in
4027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4028 *) ac_try_echo
=$ac_try;;
4030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4031 (eval "$ac_try") 2>&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }; } &&
4035 { ac_try
='test -s conftest$ac_exeext'
4036 { (case "(($ac_try" in
4037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041 (eval "$ac_try") 2>&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; }; then
4046 # We can link X programs with no special library path.
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4053 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4055 # Don't even attempt the hair of trying to link an X program!
4056 for ac_extension in a so sl; do
4057 if test -r "$ac_dir/libX11.$ac_extension"; then
4058 ac_x_libraries=$ac_dir
4065 rm -f core conftest.err conftest.$ac_objext \
4066 conftest$ac_exeext conftest.$ac_ext
4067 fi # $ac_x_libraries = no
4069 case $ac_x_includes,$ac_x_libraries in #(
4071 # Didn't find X, or a directory has "'" in its name.
4072 ac_cv_have_x="have_x=no";; #(
4074 # Record where we found X for the cache.
4075 ac_cv_have_x="have_x=yes\
4076 ac_x_includes='$ac_x_includes'\
4077 ac_x_libraries='$ac_x_libraries'"
4083 eval "$ac_cv_have_x"
4086 if test "$have_x" != yes; then
4087 { echo "$as_me:$LINENO: result: $have_x" >&5
4088 echo "${ECHO_T}$have_x" >&6; }
4091 # If each of the values was on the command line, it overrides each guess.
4092 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4093 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4094 # Update the cache value to reflect the command line values.
4095 ac_cv_have_x="have_x=yes\
4096 ac_x_includes='$x_includes'\
4097 ac_x_libraries='$x_libraries'"
4098 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4099 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4102 if test "$no_x" = yes; then
4103 # Not all programs may use this symbol, but it does not hurt to define it.
4105 cat >>confdefs.h <<\_ACEOF
4106 #define X_DISPLAY_MISSING 1
4109 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4111 if test -n "$x_includes"; then
4112 X_CFLAGS="$X_CFLAGS -I$x_includes"
4115 # It would also be nice to do this for all -L options, not just this one.
4116 if test -n "$x_libraries"; then
4117 X_LIBS="$X_LIBS -L$x_libraries"
4118 # For Solaris; some versions of Sun CC require a space after -R and
4119 # others require no space. Words are not sufficient . . . .
4120 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4121 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4122 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4123 ac_xsave_c_werror_flag=$ac_c_werror_flag
4124 ac_c_werror_flag=yes
4125 cat >conftest.$ac_ext <<_ACEOF
4128 cat confdefs.h >>conftest.$ac_ext
4129 cat >>conftest.$ac_ext <<_ACEOF
4130 /* end confdefs.h. */
4140 rm -f conftest.$ac_objext conftest$ac_exeext
4141 if { (ac_try="$ac_link"
4143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4144 *) ac_try_echo
=$ac_try;;
4146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4147 (eval "$ac_link") 2>conftest.er1
4149 grep -v '^ *+' conftest.er1
>conftest.err
4151 cat conftest.err
>&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); } &&
4154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4155 { (case "(($ac_try" in
4156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4160 (eval "$ac_try") 2>&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); }; } &&
4164 { ac_try='test -s conftest$ac_exeext'
4165 { (case "(($ac_try" in
4166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4167 *) ac_try_echo
=$ac_try;;
4169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170 (eval "$ac_try") 2>&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; }; then
4174 { echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6; }
4176 X_LIBS
="$X_LIBS -R$x_libraries"
4178 echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.
$ac_ext >&5
4181 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4182 cat >conftest.
$ac_ext <<_ACEOF
4185 cat confdefs.h
>>conftest.
$ac_ext
4186 cat >>conftest.
$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4197 rm -f conftest.
$ac_objext conftest
$ac_exeext
4198 if { (ac_try
="$ac_link"
4200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_link") 2>conftest.er1
4206 grep -v '^ *+' conftest.er1 >conftest.err
4208 cat conftest.err >&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } &&
4211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4212 { (case "(($ac_try" in
4213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4214 *) ac_try_echo
=$ac_try;;
4216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217 (eval "$ac_try") 2>&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; } &&
4221 { ac_try
='test -s conftest$ac_exeext'
4222 { (case "(($ac_try" in
4223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4227 (eval "$ac_try") 2>&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; }; then
4231 { echo "$as_me:$LINENO: result: yes" >&5
4232 echo "${ECHO_T}yes" >&6; }
4233 X_LIBS="$X_LIBS -R $x_libraries"
4235 echo "$as_me: failed program was:" >&5
4236 sed 's/^/| /' conftest.$ac_ext >&5
4238 { echo "$as_me:$LINENO: result: neither works" >&5
4239 echo "${ECHO_T}neither works" >&6; }
4242 rm -f core conftest.err conftest.$ac_objext \
4243 conftest$ac_exeext conftest.$ac_ext
4246 rm -f core conftest.err conftest.$ac_objext \
4247 conftest$ac_exeext conftest.$ac_ext
4248 ac_c_werror_flag=$ac_xsave_c_werror_flag
4252 # Check for system-dependent libraries X programs must link with.
4253 # Do this before checking for the system-independent R6 libraries
4254 # (-lICE), since we may need -lsocket or whatever for X linking.
4256 if test "$ISC" = yes; then
4257 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4259 # Martyn Johnson says this is needed for Ultrix, if the X
4260 # libraries were built with DECnet support. And Karl Berry says
4261 # the Alpha needs dnet_stub (dnet does not exist).
4262 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4263 cat >conftest.$ac_ext <<_ACEOF
4266 cat confdefs.h >>conftest.$ac_ext
4267 cat >>conftest.$ac_ext <<_ACEOF
4268 /* end confdefs.h. */
4270 /* Override any GCC internal prototype to avoid an error.
4271 Use char because int might match the return type of a GCC
4272 builtin and then its argument prototype would still apply. */
4276 char XOpenDisplay ();
4280 return XOpenDisplay ();
4285 rm -f conftest.$ac_objext conftest$ac_exeext
4286 if { (ac_try="$ac_link"
4288 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4289 *) ac_try_echo
=$ac_try;;
4291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292 (eval "$ac_link") 2>conftest.er1
4294 grep -v '^ *+' conftest.er1
>conftest.err
4296 cat conftest.err
>&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4300 { (case "(($ac_try" in
4301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4305 (eval "$ac_try") 2>&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); }; } &&
4309 { ac_try='test -s conftest$ac_exeext'
4310 { (case "(($ac_try" in
4311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4312 *) ac_try_echo
=$ac_try;;
4314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4315 (eval "$ac_try") 2>&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; }; then
4321 echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.
$ac_ext >&5
4324 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4325 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4326 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 ac_check_lib_save_LIBS
=$LIBS
4331 cat >conftest.
$ac_ext <<_ACEOF
4334 cat confdefs.h
>>conftest.
$ac_ext
4335 cat >>conftest.
$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4338 /* Override any GCC internal prototype to avoid an error.
4339 Use char because int might match the return type of a GCC
4340 builtin and then its argument prototype would still apply. */
4348 return dnet_ntoa ();
4353 rm -f conftest.
$ac_objext conftest
$ac_exeext
4354 if { (ac_try
="$ac_link"
4356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4360 (eval "$ac_link") 2>conftest.er1
4362 grep -v '^ *+' conftest.er1 >conftest.err
4364 cat conftest.err >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } &&
4367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4368 { (case "(($ac_try" in
4369 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4370 *) ac_try_echo
=$ac_try;;
4372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4373 (eval "$ac_try") 2>&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; } &&
4377 { ac_try
='test -s conftest$ac_exeext'
4378 { (case "(($ac_try" in
4379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4380 *) ac_try_echo=$ac_try;;
4382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4383 (eval "$ac_try") 2>&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); }; }; then
4387 ac_cv_lib_dnet_dnet_ntoa=yes
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 ac_cv_lib_dnet_dnet_ntoa=no
4395 rm -f core conftest.err conftest.$ac_objext \
4396 conftest$ac_exeext conftest.$ac_ext
4397 LIBS=$ac_check_lib_save_LIBS
4399 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4400 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4401 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4405 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4406 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4407 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4408 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4411 ac_check_lib_save_LIBS=$LIBS
4412 LIBS="-ldnet_stub $LIBS"
4413 cat >conftest.$ac_ext <<_ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4420 /* Override any GCC internal prototype to avoid an error.
4421 Use char because int might match the return type of a GCC
4422 builtin and then its argument prototype would still apply. */
4430 return dnet_ntoa ();
4435 rm -f conftest.$ac_objext conftest$ac_exeext
4436 if { (ac_try="$ac_link"
4438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4439 *) ac_try_echo
=$ac_try;;
4441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_link") 2>conftest.er1
4444 grep -v '^ *+' conftest.er1
>conftest.err
4446 cat conftest.err
>&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } &&
4449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4450 { (case "(($ac_try" in
4451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4452 *) ac_try_echo=$ac_try;;
4454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4455 (eval "$ac_try") 2>&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try='test -s conftest$ac_exeext'
4460 { (case "(($ac_try" in
4461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4462 *) ac_try_echo
=$ac_try;;
4464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4465 (eval "$ac_try") 2>&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; }; then
4469 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4471 echo "$as_me: failed program was:" >&5
4472 sed 's/^/| /' conftest.
$ac_ext >&5
4474 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4477 rm -f core conftest.err conftest.
$ac_objext \
4478 conftest
$ac_exeext conftest.
$ac_ext
4479 LIBS
=$ac_check_lib_save_LIBS
4481 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4482 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4483 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4484 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4490 rm -f core conftest.err conftest.
$ac_objext \
4491 conftest
$ac_exeext conftest.
$ac_ext
4492 LIBS
="$ac_xsave_LIBS"
4494 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4495 # to get the SysV transport functions.
4496 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4498 # The nsl library prevents programs from opening the X display
4499 # on Irix 5.2, according to T.E. Dickey.
4500 # The functions gethostbyname, getservbyname, and inet_addr are
4501 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4502 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4503 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4504 if test "${ac_cv_func_gethostbyname+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 cat >conftest.
$ac_ext <<_ACEOF
4510 cat confdefs.h
>>conftest.
$ac_ext
4511 cat >>conftest.
$ac_ext <<_ACEOF
4512 /* end confdefs.h. */
4513 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4515 #define gethostbyname innocuous_gethostbyname
4517 /* System header to define __stub macros and hopefully few prototypes,
4518 which can conflict with char gethostbyname (); below.
4519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4520 <limits.h> exists even on freestanding compilers. */
4523 # include <limits.h>
4525 # include <assert.h>
4528 #undef gethostbyname
4530 /* Override any GCC internal prototype to avoid an error.
4531 Use char because int might match the return type of a GCC
4532 builtin and then its argument prototype would still apply. */
4536 char gethostbyname ();
4537 /* The GNU C library defines this for functions which it implements
4538 to always fail with ENOSYS. Some functions are actually named
4539 something starting with __ and the normal name is an alias. */
4540 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4547 return gethostbyname ();
4552 rm -f conftest.
$ac_objext conftest
$ac_exeext
4553 if { (ac_try
="$ac_link"
4555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4556 *) ac_try_echo=$ac_try;;
4558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4559 (eval "$ac_link") 2>conftest.er1
4561 grep -v '^ *+' conftest.er1 >conftest.err
4563 cat conftest.err >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } &&
4566 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4567 { (case "(($ac_try" in
4568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4569 *) ac_try_echo
=$ac_try;;
4571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4572 (eval "$ac_try") 2>&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; } &&
4576 { ac_try
='test -s conftest$ac_exeext'
4577 { (case "(($ac_try" in
4578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_try") 2>&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); }; }; then
4586 ac_cv_func_gethostbyname=yes
4588 echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5
4591 ac_cv_func_gethostbyname=no
4594 rm -f core conftest.err conftest.$ac_objext \
4595 conftest$ac_exeext conftest.$ac_ext
4597 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4598 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4600 if test $ac_cv_func_gethostbyname = no; then
4601 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4602 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4603 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4606 ac_check_lib_save_LIBS=$LIBS
4608 cat >conftest.$ac_ext <<_ACEOF
4611 cat confdefs.h >>conftest.$ac_ext
4612 cat >>conftest.$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4615 /* Override any GCC internal prototype to avoid an error.
4616 Use char because int might match the return type of a GCC
4617 builtin and then its argument prototype would still apply. */
4621 char gethostbyname ();
4625 return gethostbyname ();
4630 rm -f conftest.$ac_objext conftest$ac_exeext
4631 if { (ac_try="$ac_link"
4633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4634 *) ac_try_echo
=$ac_try;;
4636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4637 (eval "$ac_link") 2>conftest.er1
4639 grep -v '^ *+' conftest.er1
>conftest.err
4641 cat conftest.err
>&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); } &&
4644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4645 { (case "(($ac_try" in
4646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650 (eval "$ac_try") 2>&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; } &&
4654 { ac_try='test -s conftest$ac_exeext'
4655 { (case "(($ac_try" in
4656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4657 *) ac_try_echo
=$ac_try;;
4659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4660 (eval "$ac_try") 2>&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; }; then
4664 ac_cv_lib_nsl_gethostbyname
=yes
4666 echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.
$ac_ext >&5
4669 ac_cv_lib_nsl_gethostbyname
=no
4672 rm -f core conftest.err conftest.
$ac_objext \
4673 conftest
$ac_exeext conftest.
$ac_ext
4674 LIBS
=$ac_check_lib_save_LIBS
4676 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4677 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4678 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4679 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4682 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4683 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4684 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4685 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4686 echo $ECHO_N "(cached) $ECHO_C" >&6
4688 ac_check_lib_save_LIBS
=$LIBS
4690 cat >conftest.
$ac_ext <<_ACEOF
4693 cat confdefs.h
>>conftest.
$ac_ext
4694 cat >>conftest.
$ac_ext <<_ACEOF
4695 /* end confdefs.h. */
4697 /* Override any GCC internal prototype to avoid an error.
4698 Use char because int might match the return type of a GCC
4699 builtin and then its argument prototype would still apply. */
4703 char gethostbyname ();
4707 return gethostbyname ();
4712 rm -f conftest.
$ac_objext conftest
$ac_exeext
4713 if { (ac_try
="$ac_link"
4715 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4716 *) ac_try_echo=$ac_try;;
4718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4719 (eval "$ac_link") 2>conftest.er1
4721 grep -v '^ *+' conftest.er1 >conftest.err
4723 cat conftest.err >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); } &&
4726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4727 { (case "(($ac_try" in
4728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4729 *) ac_try_echo
=$ac_try;;
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_try") 2>&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; } &&
4736 { ac_try
='test -s conftest$ac_exeext'
4737 { (case "(($ac_try" in
4738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4739 *) ac_try_echo=$ac_try;;
4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4742 (eval "$ac_try") 2>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); }; }; then
4746 ac_cv_lib_bsd_gethostbyname=yes
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 ac_cv_lib_bsd_gethostbyname=no
4754 rm -f core conftest.err conftest.$ac_objext \
4755 conftest$ac_exeext conftest.$ac_ext
4756 LIBS=$ac_check_lib_save_LIBS
4758 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4759 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4760 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4767 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4768 # socket/setsockopt and other routines are undefined under SCO ODT
4769 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4770 # on later versions), says Simon Leinen: it contains gethostby*
4771 # variants that don't use the name server (or something). -lsocket
4772 # must be given before -lnsl if both are needed. We assume that
4773 # if connect needs -lnsl, so does gethostbyname.
4774 { echo "$as_me:$LINENO: checking for connect" >&5
4775 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4776 if test "${ac_cv_func_connect+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4779 cat >conftest.$ac_ext <<_ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4785 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4787 #define connect innocuous_connect
4789 /* System header to define __stub macros and hopefully few prototypes,
4790 which can conflict with char connect (); below.
4791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4792 <limits.h> exists even on freestanding compilers. */
4795 # include <limits.h>
4797 # include <assert.h>
4802 /* Override any GCC internal prototype to avoid an error.
4803 Use char because int might match the return type of a GCC
4804 builtin and then its argument prototype would still apply. */
4809 /* The GNU C library defines this for functions which it implements
4810 to always fail with ENOSYS. Some functions are actually named
4811 something starting with __ and the normal name is an alias. */
4812 #if defined __stub_connect || defined __stub___connect
4824 rm -f conftest.$ac_objext conftest$ac_exeext
4825 if { (ac_try="$ac_link"
4827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4828 *) ac_try_echo
=$ac_try;;
4830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4831 (eval "$ac_link") 2>conftest.er1
4833 grep -v '^ *+' conftest.er1
>conftest.err
4835 cat conftest.err
>&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } &&
4838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4839 { (case "(($ac_try" in
4840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4844 (eval "$ac_try") 2>&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); }; } &&
4848 { ac_try='test -s conftest$ac_exeext'
4849 { (case "(($ac_try" in
4850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4851 *) ac_try_echo
=$ac_try;;
4853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4854 (eval "$ac_try") 2>&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); }; }; then
4858 ac_cv_func_connect
=yes
4860 echo "$as_me: failed program was:" >&5
4861 sed 's/^/| /' conftest.
$ac_ext >&5
4863 ac_cv_func_connect
=no
4866 rm -f core conftest.err conftest.
$ac_objext \
4867 conftest
$ac_exeext conftest.
$ac_ext
4869 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4870 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4872 if test $ac_cv_func_connect = no
; then
4873 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4874 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4875 if test "${ac_cv_lib_socket_connect+set}" = set; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
4878 ac_check_lib_save_LIBS
=$LIBS
4879 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4880 cat >conftest.
$ac_ext <<_ACEOF
4883 cat confdefs.h
>>conftest.
$ac_ext
4884 cat >>conftest.
$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4887 /* Override any GCC internal prototype to avoid an error.
4888 Use char because int might match the return type of a GCC
4889 builtin and then its argument prototype would still apply. */
4902 rm -f conftest.
$ac_objext conftest
$ac_exeext
4903 if { (ac_try
="$ac_link"
4905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4906 *) ac_try_echo=$ac_try;;
4908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4909 (eval "$ac_link") 2>conftest.er1
4911 grep -v '^ *+' conftest.er1 >conftest.err
4913 cat conftest.err >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); } &&
4916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4917 { (case "(($ac_try" in
4918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4919 *) ac_try_echo
=$ac_try;;
4921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4922 (eval "$ac_try") 2>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; } &&
4926 { ac_try
='test -s conftest$ac_exeext'
4927 { (case "(($ac_try" in
4928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4932 (eval "$ac_try") 2>&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); }; }; then
4936 ac_cv_lib_socket_connect=yes
4938 echo "$as_me: failed program was:" >&5
4939 sed 's/^/| /' conftest.$ac_ext >&5
4941 ac_cv_lib_socket_connect=no
4944 rm -f core conftest.err conftest.$ac_objext \
4945 conftest$ac_exeext conftest.$ac_ext
4946 LIBS=$ac_check_lib_save_LIBS
4948 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4949 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4950 if test $ac_cv_lib_socket_connect = yes; then
4951 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4956 # Guillermo Gomez says -lposix is necessary on A/UX.
4957 { echo "$as_me:$LINENO: checking for remove" >&5
4958 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4959 if test "${ac_cv_func_remove+set}" = set; then
4960 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 cat >conftest.$ac_ext <<_ACEOF
4965 cat confdefs.h >>conftest.$ac_ext
4966 cat >>conftest.$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4968 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4970 #define remove innocuous_remove
4972 /* System header to define __stub macros and hopefully few prototypes,
4973 which can conflict with char remove (); below.
4974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4975 <limits.h> exists even on freestanding compilers. */
4978 # include <limits.h>
4980 # include <assert.h>
4985 /* Override any GCC internal prototype to avoid an error.
4986 Use char because int might match the return type of a GCC
4987 builtin and then its argument prototype would still apply. */
4992 /* The GNU C library defines this for functions which it implements
4993 to always fail with ENOSYS. Some functions are actually named
4994 something starting with __ and the normal name is an alias. */
4995 #if defined __stub_remove || defined __stub___remove
5007 rm -f conftest.$ac_objext conftest$ac_exeext
5008 if { (ac_try="$ac_link"
5010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5011 *) ac_try_echo
=$ac_try;;
5013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5014 (eval "$ac_link") 2>conftest.er1
5016 grep -v '^ *+' conftest.er1
>conftest.err
5018 cat conftest.err
>&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); } &&
5021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5022 { (case "(($ac_try" in
5023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5024 *) ac_try_echo=$ac_try;;
5026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5027 (eval "$ac_try") 2>&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; } &&
5031 { ac_try='test -s conftest$ac_exeext'
5032 { (case "(($ac_try" in
5033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5034 *) ac_try_echo
=$ac_try;;
5036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5037 (eval "$ac_try") 2>&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; }; then
5041 ac_cv_func_remove
=yes
5043 echo "$as_me: failed program was:" >&5
5044 sed 's/^/| /' conftest.
$ac_ext >&5
5046 ac_cv_func_remove
=no
5049 rm -f core conftest.err conftest.
$ac_objext \
5050 conftest
$ac_exeext conftest.
$ac_ext
5052 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5053 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5055 if test $ac_cv_func_remove = no
; then
5056 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5057 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5058 if test "${ac_cv_lib_posix_remove+set}" = set; then
5059 echo $ECHO_N "(cached) $ECHO_C" >&6
5061 ac_check_lib_save_LIBS
=$LIBS
5062 LIBS
="-lposix $LIBS"
5063 cat >conftest.
$ac_ext <<_ACEOF
5066 cat confdefs.h
>>conftest.
$ac_ext
5067 cat >>conftest.
$ac_ext <<_ACEOF
5068 /* end confdefs.h. */
5070 /* Override any GCC internal prototype to avoid an error.
5071 Use char because int might match the return type of a GCC
5072 builtin and then its argument prototype would still apply. */
5085 rm -f conftest.
$ac_objext conftest
$ac_exeext
5086 if { (ac_try
="$ac_link"
5088 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5089 *) ac_try_echo=$ac_try;;
5091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5092 (eval "$ac_link") 2>conftest.er1
5094 grep -v '^ *+' conftest.er1 >conftest.err
5096 cat conftest.err >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); } &&
5099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5100 { (case "(($ac_try" in
5101 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5102 *) ac_try_echo
=$ac_try;;
5104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5105 (eval "$ac_try") 2>&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } &&
5109 { ac_try
='test -s conftest$ac_exeext'
5110 { (case "(($ac_try" in
5111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5112 *) ac_try_echo=$ac_try;;
5114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5115 (eval "$ac_try") 2>&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; }; then
5119 ac_cv_lib_posix_remove=yes
5121 echo "$as_me: failed program was:" >&5
5122 sed 's/^/| /' conftest.$ac_ext >&5
5124 ac_cv_lib_posix_remove=no
5127 rm -f core conftest.err conftest.$ac_objext \
5128 conftest$ac_exeext conftest.$ac_ext
5129 LIBS=$ac_check_lib_save_LIBS
5131 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5132 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5133 if test $ac_cv_lib_posix_remove = yes; then
5134 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5139 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5140 { echo "$as_me:$LINENO: checking for shmat" >&5
5141 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5142 if test "${ac_cv_func_shmat+set}" = set; then
5143 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 cat >conftest.$ac_ext <<_ACEOF
5148 cat confdefs.h >>conftest.$ac_ext
5149 cat >>conftest.$ac_ext <<_ACEOF
5150 /* end confdefs.h. */
5151 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5153 #define shmat innocuous_shmat
5155 /* System header to define __stub macros and hopefully few prototypes,
5156 which can conflict with char shmat (); below.
5157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5158 <limits.h> exists even on freestanding compilers. */
5161 # include <limits.h>
5163 # include <assert.h>
5168 /* Override any GCC internal prototype to avoid an error.
5169 Use char because int might match the return type of a GCC
5170 builtin and then its argument prototype would still apply. */
5175 /* The GNU C library defines this for functions which it implements
5176 to always fail with ENOSYS. Some functions are actually named
5177 something starting with __ and the normal name is an alias. */
5178 #if defined __stub_shmat || defined __stub___shmat
5190 rm -f conftest.$ac_objext conftest$ac_exeext
5191 if { (ac_try="$ac_link"
5193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5194 *) ac_try_echo
=$ac_try;;
5196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5197 (eval "$ac_link") 2>conftest.er1
5199 grep -v '^ *+' conftest.er1
>conftest.err
5201 cat conftest.err
>&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); } &&
5204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5205 { (case "(($ac_try" in
5206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5207 *) ac_try_echo=$ac_try;;
5209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5210 (eval "$ac_try") 2>&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); }; } &&
5214 { ac_try='test -s conftest$ac_exeext'
5215 { (case "(($ac_try" in
5216 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5217 *) ac_try_echo
=$ac_try;;
5219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5220 (eval "$ac_try") 2>&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); }; }; then
5224 ac_cv_func_shmat
=yes
5226 echo "$as_me: failed program was:" >&5
5227 sed 's/^/| /' conftest.
$ac_ext >&5
5232 rm -f core conftest.err conftest.
$ac_objext \
5233 conftest
$ac_exeext conftest.
$ac_ext
5235 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5236 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5238 if test $ac_cv_func_shmat = no
; then
5239 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5240 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5241 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 ac_check_lib_save_LIBS
=$LIBS
5246 cat >conftest.
$ac_ext <<_ACEOF
5249 cat confdefs.h
>>conftest.
$ac_ext
5250 cat >>conftest.
$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5253 /* Override any GCC internal prototype to avoid an error.
5254 Use char because int might match the return type of a GCC
5255 builtin and then its argument prototype would still apply. */
5268 rm -f conftest.
$ac_objext conftest
$ac_exeext
5269 if { (ac_try
="$ac_link"
5271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5272 *) ac_try_echo=$ac_try;;
5274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5275 (eval "$ac_link") 2>conftest.er1
5277 grep -v '^ *+' conftest.er1 >conftest.err
5279 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5283 { (case "(($ac_try" in
5284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5285 *) ac_try_echo
=$ac_try;;
5287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5288 (eval "$ac_try") 2>&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; } &&
5292 { ac_try
='test -s conftest$ac_exeext'
5293 { (case "(($ac_try" in
5294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5295 *) ac_try_echo=$ac_try;;
5297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5298 (eval "$ac_try") 2>&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); }; }; then
5302 ac_cv_lib_ipc_shmat=yes
5304 echo "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5307 ac_cv_lib_ipc_shmat=no
5310 rm -f core conftest.err conftest.$ac_objext \
5311 conftest$ac_exeext conftest.$ac_ext
5312 LIBS=$ac_check_lib_save_LIBS
5314 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5315 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5316 if test $ac_cv_lib_ipc_shmat = yes; then
5317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5323 # Check for libraries that X11R6 Xt/Xaw programs need.
5324 ac_save_LDFLAGS=$LDFLAGS
5325 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5326 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5327 # check for ICE first), but we must link in the order -lSM -lICE or
5328 # we get undefined symbols. So assume we have SM if we have ICE.
5329 # These have to be linked with before -lX11, unlike the other
5330 # libraries we check for below, so use a different variable.
5331 # John Interrante, Karl Berry
5332 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5333 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5334 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 ac_check_lib_save_LIBS=$LIBS
5338 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5339 cat >conftest.$ac_ext <<_ACEOF
5342 cat confdefs.h >>conftest.$ac_ext
5343 cat >>conftest.$ac_ext <<_ACEOF
5344 /* end confdefs.h. */
5346 /* Override any GCC internal prototype to avoid an error.
5347 Use char because int might match the return type of a GCC
5348 builtin and then its argument prototype would still apply. */
5352 char IceConnectionNumber ();
5356 return IceConnectionNumber ();
5361 rm -f conftest.$ac_objext conftest$ac_exeext
5362 if { (ac_try="$ac_link"
5364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5365 *) ac_try_echo
=$ac_try;;
5367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368 (eval "$ac_link") 2>conftest.er1
5370 grep -v '^ *+' conftest.er1
>conftest.err
5372 cat conftest.err
>&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); } &&
5375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5376 { (case "(($ac_try" in
5377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5378 *) ac_try_echo=$ac_try;;
5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5381 (eval "$ac_try") 2>&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; } &&
5385 { ac_try='test -s conftest$ac_exeext'
5386 { (case "(($ac_try" in
5387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5388 *) ac_try_echo
=$ac_try;;
5390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5391 (eval "$ac_try") 2>&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); }; }; then
5395 ac_cv_lib_ICE_IceConnectionNumber
=yes
5397 echo "$as_me: failed program was:" >&5
5398 sed 's/^/| /' conftest.
$ac_ext >&5
5400 ac_cv_lib_ICE_IceConnectionNumber
=no
5403 rm -f core conftest.err conftest.
$ac_objext \
5404 conftest
$ac_exeext conftest.
$ac_ext
5405 LIBS
=$ac_check_lib_save_LIBS
5407 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5408 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5409 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5410 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5413 LDFLAGS
=$ac_save_LDFLAGS
5417 for ac_prog
in flex
lex
5419 # Extract the first word of "$ac_prog", so it can be a program name with args.
5420 set dummy
$ac_prog; ac_word
=$2
5421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5423 if test "${ac_cv_prog_LEX+set}" = set; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5426 if test -n "$LEX"; then
5427 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5433 test -z "$as_dir" && as_dir
=.
5434 for ac_exec_ext
in '' $ac_executable_extensions; do
5435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5436 ac_cv_prog_LEX
="$ac_prog"
5437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 if test -n "$LEX"; then
5448 { echo "$as_me:$LINENO: result: $LEX" >&5
5449 echo "${ECHO_T}$LEX" >&6; }
5451 { echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6; }
5456 test -n "$LEX" && break
5458 test -n "$LEX" || LEX
=":"
5460 if test -z "$LEXLIB"
5462 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5463 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5464 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 ac_check_lib_save_LIBS
=$LIBS
5469 cat >conftest.
$ac_ext <<_ACEOF
5472 cat confdefs.h
>>conftest.
$ac_ext
5473 cat >>conftest.
$ac_ext <<_ACEOF
5474 /* end confdefs.h. */
5476 /* Override any GCC internal prototype to avoid an error.
5477 Use char because int might match the return type of a GCC
5478 builtin and then its argument prototype would still apply. */
5491 rm -f conftest.
$ac_objext conftest
$ac_exeext
5492 if { (ac_try
="$ac_link"
5494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5495 *) ac_try_echo=$ac_try;;
5497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5498 (eval "$ac_link") 2>conftest.er1
5500 grep -v '^ *+' conftest.er1 >conftest.err
5502 cat conftest.err >&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); } &&
5505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5506 { (case "(($ac_try" in
5507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5508 *) ac_try_echo
=$ac_try;;
5510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_try") 2>&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; } &&
5515 { ac_try
='test -s conftest$ac_exeext'
5516 { (case "(($ac_try" in
5517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5518 *) ac_try_echo=$ac_try;;
5520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5521 (eval "$ac_try") 2>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; }; then
5525 ac_cv_lib_fl_yywrap=yes
5527 echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.$ac_ext >&5
5530 ac_cv_lib_fl_yywrap=no
5533 rm -f core conftest.err conftest.$ac_objext \
5534 conftest$ac_exeext conftest.$ac_ext
5535 LIBS=$ac_check_lib_save_LIBS
5537 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5538 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5539 if test $ac_cv_lib_fl_yywrap = yes; then
5542 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5543 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5544 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5547 ac_check_lib_save_LIBS=$LIBS
5549 cat >conftest.$ac_ext <<_ACEOF
5552 cat confdefs.h >>conftest.$ac_ext
5553 cat >>conftest.$ac_ext <<_ACEOF
5554 /* end confdefs.h. */
5556 /* Override any GCC internal prototype to avoid an error.
5557 Use char because int might match the return type of a GCC
5558 builtin and then its argument prototype would still apply. */
5571 rm -f conftest.$ac_objext conftest$ac_exeext
5572 if { (ac_try="$ac_link"
5574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5575 *) ac_try_echo
=$ac_try;;
5577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5578 (eval "$ac_link") 2>conftest.er1
5580 grep -v '^ *+' conftest.er1
>conftest.err
5582 cat conftest.err
>&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } &&
5585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5586 { (case "(($ac_try" in
5587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5588 *) ac_try_echo=$ac_try;;
5590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5591 (eval "$ac_try") 2>&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; } &&
5595 { ac_try='test -s conftest$ac_exeext'
5596 { (case "(($ac_try" in
5597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5598 *) ac_try_echo
=$ac_try;;
5600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5601 (eval "$ac_try") 2>&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); }; }; then
5605 ac_cv_lib_l_yywrap
=yes
5607 echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.
$ac_ext >&5
5610 ac_cv_lib_l_yywrap
=no
5613 rm -f core conftest.err conftest.
$ac_objext \
5614 conftest
$ac_exeext conftest.
$ac_ext
5615 LIBS
=$ac_check_lib_save_LIBS
5617 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5618 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5619 if test $ac_cv_lib_l_yywrap = yes; then
5627 if test "x$LEX" != "x:"; then
5628 { echo "$as_me:$LINENO: checking lex output file root" >&5
5629 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5630 if test "${ac_cv_prog_lex_root+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 # The minimal lex program is just a single line: %%. But some broken lexes
5634 # (Solaris, I think it was) want two %% lines, so accommodate them.
5635 cat >conftest.l
<<_ACEOF
5639 { (ac_try
="$LEX conftest.l"
5641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5642 *) ac_try_echo=$ac_try;;
5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5645 (eval "$LEX conftest.l") 2>&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); }
5649 if test -f lex.yy.c; then
5650 ac_cv_prog_lex_root=lex.yy
5651 elif test -f lexyy.c; then
5652 ac_cv_prog_lex_root=lexyy
5654 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5655 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5656 { (exit 1); exit 1; }; }
5659 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5660 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5662 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5664 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5665 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5666 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5667 echo $ECHO_N "(cached) $ECHO_C" >&6
5669 # POSIX says lex can declare yytext either as a pointer or an array; the
5670 # default is implementation-dependent. Figure out which it is, since
5671 # not all implementations provide the %pointer and %array declarations.
5672 ac_cv_prog_lex_yytext_pointer=no
5673 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5675 LIBS="$LIBS $LEXLIB"
5676 cat >conftest.$ac_ext <<_ACEOF
5677 `cat $LEX_OUTPUT_ROOT.c
`
5679 rm -f conftest.$ac_objext conftest$ac_exeext
5680 if { (ac_try="$ac_link"
5682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5683 *) ac_try_echo
=$ac_try;;
5685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5686 (eval "$ac_link") 2>conftest.er1
5688 grep -v '^ *+' conftest.er1
>conftest.err
5690 cat conftest.err
>&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); } &&
5693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5694 { (case "(($ac_try" in
5695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5696 *) ac_try_echo=$ac_try;;
5698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5699 (eval "$ac_try") 2>&5
5701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); }; } &&
5703 { ac_try='test -s conftest$ac_exeext'
5704 { (case "(($ac_try" in
5705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5706 *) ac_try_echo
=$ac_try;;
5708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5709 (eval "$ac_try") 2>&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); }; }; then
5713 ac_cv_prog_lex_yytext_pointer
=yes
5715 echo "$as_me: failed program was:" >&5
5716 sed 's/^/| /' conftest.
$ac_ext >&5
5721 rm -f core conftest.err conftest.
$ac_objext \
5722 conftest
$ac_exeext conftest.
$ac_ext
5724 rm -f "${LEX_OUTPUT_ROOT}.c"
5727 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5728 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5729 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5731 cat >>confdefs.h
<<\_ACEOF
5732 #define YYTEXT_POINTER 1
5739 for ac_prog
in $LEX flex
lex
5741 # Extract the first word of "$ac_prog", so it can be a program name with args.
5742 set dummy
$ac_prog; ac_word
=$2
5743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5745 if test "${ac_cv_prog_XLEX+set}" = set; then
5746 echo $ECHO_N "(cached) $ECHO_C" >&6
5748 if test -n "$XLEX"; then
5749 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
5751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir
=.
5756 for ac_exec_ext
in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5758 ac_cv_prog_XLEX
="$ac_prog"
5759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 XLEX
=$ac_cv_prog_XLEX
5769 if test -n "$XLEX"; then
5770 { echo "$as_me:$LINENO: result: $XLEX" >&5
5771 echo "${ECHO_T}$XLEX" >&6; }
5773 { echo "$as_me:$LINENO: result: no" >&5
5774 echo "${ECHO_T}no" >&6; }
5778 test -n "$XLEX" && break
5780 test -n "$XLEX" || XLEX
="none"
5782 if test "$XLEX" = "none"
5784 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5785 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5786 { (exit 1); exit 1; }; }
5789 for ac_prog
in bison
5791 # Extract the first word of "$ac_prog", so it can be a program name with args.
5792 set dummy
$ac_prog; ac_word
=$2
5793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5795 if test "${ac_cv_prog_BISON+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 if test -n "$BISON"; then
5799 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir
=.
5806 for ac_exec_ext
in '' $ac_executable_extensions; do
5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5808 ac_cv_prog_BISON
="$ac_prog"
5809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 BISON
=$ac_cv_prog_BISON
5819 if test -n "$BISON"; then
5820 { echo "$as_me:$LINENO: result: $BISON" >&5
5821 echo "${ECHO_T}$BISON" >&6; }
5823 { echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6; }
5828 test -n "$BISON" && break
5830 test -n "$BISON" || BISON
="none"
5832 if test "$BISON" = "none"
5834 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5835 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5836 { (exit 1); exit 1; }; }
5839 if test -n "$ac_tool_prefix"; then
5840 for ac_prog
in gas as
5842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5843 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5846 if test "${ac_cv_prog_AS+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 if test -n "$AS"; then
5850 ac_cv_prog_AS
="$AS" # Let the user override the test.
5852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5856 test -z "$as_dir" && as_dir
=.
5857 for ac_exec_ext
in '' $ac_executable_extensions; do
5858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5859 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 if test -n "$AS"; then
5871 { echo "$as_me:$LINENO: result: $AS" >&5
5872 echo "${ECHO_T}$AS" >&6; }
5874 { echo "$as_me:$LINENO: result: no" >&5
5875 echo "${ECHO_T}no" >&6; }
5879 test -n "$AS" && break
5882 if test -z "$AS"; then
5884 for ac_prog
in gas as
5886 # Extract the first word of "$ac_prog", so it can be a program name with args.
5887 set dummy
$ac_prog; ac_word
=$2
5888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5890 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 if test -n "$ac_ct_AS"; then
5894 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir
=.
5901 for ac_exec_ext
in '' $ac_executable_extensions; do
5902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5903 ac_cv_prog_ac_ct_AS
="$ac_prog"
5904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5913 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5914 if test -n "$ac_ct_AS"; then
5915 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5916 echo "${ECHO_T}$ac_ct_AS" >&6; }
5918 { echo "$as_me:$LINENO: result: no" >&5
5919 echo "${ECHO_T}no" >&6; }
5923 test -n "$ac_ct_AS" && break
5926 if test "x$ac_ct_AS" = x
; then
5929 case $cross_compiling:$ac_tool_warned in
5931 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5932 whose name does not start with the host triplet. If you think this
5933 configuration is useful to you, please write to autoconf@gnu.org." >&5
5934 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5935 whose name does not start with the host triplet. If you think this
5936 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5937 ac_tool_warned
=yes ;;
5943 if test -n "$ac_tool_prefix"; then
5944 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5945 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5948 if test "${ac_cv_prog_LD+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 if test -n "$LD"; then
5952 ac_cv_prog_LD
="$LD" # Let the user override the test.
5954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5958 test -z "$as_dir" && as_dir
=.
5959 for ac_exec_ext
in '' $ac_executable_extensions; do
5960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5961 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 if test -n "$LD"; then
5973 { echo "$as_me:$LINENO: result: $LD" >&5
5974 echo "${ECHO_T}$LD" >&6; }
5976 { echo "$as_me:$LINENO: result: no" >&5
5977 echo "${ECHO_T}no" >&6; }
5982 if test -z "$ac_cv_prog_LD"; then
5984 # Extract the first word of "ld", so it can be a program name with args.
5985 set dummy ld
; ac_word
=$2
5986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5988 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5989 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 if test -n "$ac_ct_LD"; then
5992 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5998 test -z "$as_dir" && as_dir
=.
5999 for ac_exec_ext
in '' $ac_executable_extensions; do
6000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6001 ac_cv_prog_ac_ct_LD
="ld"
6002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6012 if test -n "$ac_ct_LD"; then
6013 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6014 echo "${ECHO_T}$ac_ct_LD" >&6; }
6016 { echo "$as_me:$LINENO: result: no" >&5
6017 echo "${ECHO_T}no" >&6; }
6020 if test "x$ac_ct_LD" = x
; then
6023 case $cross_compiling:$ac_tool_warned in
6025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6026 whose name does not start with the host triplet. If you think this
6027 configuration is useful to you, please write to autoconf@gnu.org." >&5
6028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6029 whose name does not start with the host triplet. If you think this
6030 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6031 ac_tool_warned
=yes ;;
6039 if test -n "$ac_tool_prefix"; then
6040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6041 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6044 if test "${ac_cv_prog_AR+set}" = set; then
6045 echo $ECHO_N "(cached) $ECHO_C" >&6
6047 if test -n "$AR"; then
6048 ac_cv_prog_AR
="$AR" # Let the user override the test.
6050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6054 test -z "$as_dir" && as_dir
=.
6055 for ac_exec_ext
in '' $ac_executable_extensions; do
6056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6057 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6068 if test -n "$AR"; then
6069 { echo "$as_me:$LINENO: result: $AR" >&5
6070 echo "${ECHO_T}$AR" >&6; }
6072 { echo "$as_me:$LINENO: result: no" >&5
6073 echo "${ECHO_T}no" >&6; }
6078 if test -z "$ac_cv_prog_AR"; then
6080 # Extract the first word of "ar", so it can be a program name with args.
6081 set dummy
ar; ac_word
=$2
6082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6084 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6087 if test -n "$ac_ct_AR"; then
6088 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6094 test -z "$as_dir" && as_dir
=.
6095 for ac_exec_ext
in '' $ac_executable_extensions; do
6096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6097 ac_cv_prog_ac_ct_AR
="ar"
6098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6108 if test -n "$ac_ct_AR"; then
6109 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6110 echo "${ECHO_T}$ac_ct_AR" >&6; }
6112 { echo "$as_me:$LINENO: result: no" >&5
6113 echo "${ECHO_T}no" >&6; }
6116 if test "x$ac_ct_AR" = x
; then
6119 case $cross_compiling:$ac_tool_warned in
6121 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6122 whose name does not start with the host triplet. If you think this
6123 configuration is useful to you, please write to autoconf@gnu.org." >&5
6124 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6125 whose name does not start with the host triplet. If you think this
6126 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6127 ac_tool_warned
=yes ;;
6135 if test -n "$ac_tool_prefix"; then
6136 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6137 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6138 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6140 if test "${ac_cv_prog_RANLIB+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 if test -n "$RANLIB"; then
6144 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6150 test -z "$as_dir" && as_dir
=.
6151 for ac_exec_ext
in '' $ac_executable_extensions; do
6152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6153 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 RANLIB
=$ac_cv_prog_RANLIB
6164 if test -n "$RANLIB"; then
6165 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6166 echo "${ECHO_T}$RANLIB" >&6; }
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6174 if test -z "$ac_cv_prog_RANLIB"; then
6175 ac_ct_RANLIB
=$RANLIB
6176 # Extract the first word of "ranlib", so it can be a program name with args.
6177 set dummy ranlib
; ac_word
=$2
6178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6180 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 if test -n "$ac_ct_RANLIB"; then
6184 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6190 test -z "$as_dir" && as_dir
=.
6191 for ac_exec_ext
in '' $ac_executable_extensions; do
6192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6193 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6204 if test -n "$ac_ct_RANLIB"; then
6205 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6206 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6208 { echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6; }
6212 if test "x$ac_ct_RANLIB" = x
; then
6215 case $cross_compiling:$ac_tool_warned in
6217 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6218 whose name does not start with the host triplet. If you think this
6219 configuration is useful to you, please write to autoconf@gnu.org." >&5
6220 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6221 whose name does not start with the host triplet. If you think this
6222 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6223 ac_tool_warned
=yes ;;
6225 RANLIB
=$ac_ct_RANLIB
6228 RANLIB
="$ac_cv_prog_RANLIB"
6231 if test -n "$ac_tool_prefix"; then
6232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6233 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6236 if test "${ac_cv_prog_STRIP+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 if test -n "$STRIP"; then
6240 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6246 test -z "$as_dir" && as_dir
=.
6247 for ac_exec_ext
in '' $ac_executable_extensions; do
6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6249 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6259 STRIP
=$ac_cv_prog_STRIP
6260 if test -n "$STRIP"; then
6261 { echo "$as_me:$LINENO: result: $STRIP" >&5
6262 echo "${ECHO_T}$STRIP" >&6; }
6264 { echo "$as_me:$LINENO: result: no" >&5
6265 echo "${ECHO_T}no" >&6; }
6270 if test -z "$ac_cv_prog_STRIP"; then
6272 # Extract the first word of "strip", so it can be a program name with args.
6273 set dummy strip
; ac_word
=$2
6274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6276 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6277 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 if test -n "$ac_ct_STRIP"; then
6280 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6286 test -z "$as_dir" && as_dir
=.
6287 for ac_exec_ext
in '' $ac_executable_extensions; do
6288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6289 ac_cv_prog_ac_ct_STRIP
="strip"
6290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6299 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6300 if test -n "$ac_ct_STRIP"; then
6301 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6302 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6304 { echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6; }
6308 if test "x$ac_ct_STRIP" = x
; then
6311 case $cross_compiling:$ac_tool_warned in
6313 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6314 whose name does not start with the host triplet. If you think this
6315 configuration is useful to you, please write to autoconf@gnu.org." >&5
6316 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6317 whose name does not start with the host triplet. If you think this
6318 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6319 ac_tool_warned
=yes ;;
6324 STRIP
="$ac_cv_prog_STRIP"
6327 if test -n "$ac_tool_prefix"; then
6328 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6329 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
6330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6332 if test "${ac_cv_prog_WINDRES+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 if test -n "$WINDRES"; then
6336 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
6338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6342 test -z "$as_dir" && as_dir
=.
6343 for ac_exec_ext
in '' $ac_executable_extensions; do
6344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6345 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
6346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6355 WINDRES
=$ac_cv_prog_WINDRES
6356 if test -n "$WINDRES"; then
6357 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6358 echo "${ECHO_T}$WINDRES" >&6; }
6360 { echo "$as_me:$LINENO: result: no" >&5
6361 echo "${ECHO_T}no" >&6; }
6366 if test -z "$ac_cv_prog_WINDRES"; then
6367 ac_ct_WINDRES
=$WINDRES
6368 # Extract the first word of "windres", so it can be a program name with args.
6369 set dummy windres
; ac_word
=$2
6370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6372 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 if test -n "$ac_ct_WINDRES"; then
6376 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6382 test -z "$as_dir" && as_dir
=.
6383 for ac_exec_ext
in '' $ac_executable_extensions; do
6384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6385 ac_cv_prog_ac_ct_WINDRES
="windres"
6386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6395 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6396 if test -n "$ac_ct_WINDRES"; then
6397 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6398 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6400 { echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6; }
6404 if test "x$ac_ct_WINDRES" = x
; then
6407 case $cross_compiling:$ac_tool_warned in
6409 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6410 whose name does not start with the host triplet. If you think this
6411 configuration is useful to you, please write to autoconf@gnu.org." >&5
6412 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6413 whose name does not start with the host triplet. If you think this
6414 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6415 ac_tool_warned
=yes ;;
6417 WINDRES
=$ac_ct_WINDRES
6420 WINDRES
="$ac_cv_prog_WINDRES"
6423 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6424 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6426 if test "$LN_S" = "ln -s"; then
6427 { echo "$as_me:$LINENO: result: yes" >&5
6428 echo "${ECHO_T}yes" >&6; }
6430 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6431 echo "${ECHO_T}no, using $LN_S" >&6; }
6434 { echo "$as_me:$LINENO: checking whether ln works" >&5
6435 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6436 rm -f conf$$ conf$$.
file
6438 if ln conf$$.
file conf$$
2>/dev
/null
; then
6441 { echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6; }
6446 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6447 echo "${ECHO_T}no, using $LN" >&6; }
6449 rm -f conf$$ conf$$.
file
6450 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6451 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6452 if test "${ac_cv_path_GREP+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6455 # Extract the first word of "grep ggrep" to use in msg output
6456 if test -z "$GREP"; then
6457 set dummy
grep ggrep
; ac_prog_name
=$2
6458 if test "${ac_cv_path_GREP+set}" = set; then
6459 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 ac_path_GREP_found
=false
6462 # Loop through the user's path and test for each of PROGNAME-LIST
6463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6464 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6467 test -z "$as_dir" && as_dir
=.
6468 for ac_prog
in grep ggrep
; do
6469 for ac_exec_ext
in '' $ac_executable_extensions; do
6470 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6471 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
6472 # Check for GNU ac_path_GREP and select it if it is found.
6473 # Check for GNU $ac_path_GREP
6474 case `"$ac_path_GREP" --version 2>&1` in
6476 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6479 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6482 cat "conftest.in" "conftest.in" >"conftest.tmp"
6483 mv "conftest.tmp" "conftest.in"
6484 cp "conftest.in" "conftest.nl"
6485 echo 'GREP' >> "conftest.nl"
6486 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6487 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6488 ac_count
=`expr $ac_count + 1`
6489 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6490 # Best one so far, save it but keep looking for a better one
6491 ac_cv_path_GREP
="$ac_path_GREP"
6492 ac_path_GREP_max
=$ac_count
6494 # 10*(2^10) chars as input seems more than enough
6495 test $ac_count -gt 10 && break
6497 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6501 $ac_path_GREP_found && break 3
6511 GREP
="$ac_cv_path_GREP"
6512 if test -z "$GREP"; then
6513 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6514 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6515 { (exit 1); exit 1; }; }
6519 ac_cv_path_GREP
=$GREP
6524 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6525 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6526 GREP
="$ac_cv_path_GREP"
6529 { echo "$as_me:$LINENO: checking for egrep" >&5
6530 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6531 if test "${ac_cv_path_EGREP+set}" = set; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6535 then ac_cv_path_EGREP
="$GREP -E"
6537 # Extract the first word of "egrep" to use in msg output
6538 if test -z "$EGREP"; then
6539 set dummy
egrep; ac_prog_name
=$2
6540 if test "${ac_cv_path_EGREP+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 ac_path_EGREP_found
=false
6544 # Loop through the user's path and test for each of PROGNAME-LIST
6545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6546 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6549 test -z "$as_dir" && as_dir
=.
6550 for ac_prog
in egrep; do
6551 for ac_exec_ext
in '' $ac_executable_extensions; do
6552 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6553 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
6554 # Check for GNU ac_path_EGREP and select it if it is found.
6555 # Check for GNU $ac_path_EGREP
6556 case `"$ac_path_EGREP" --version 2>&1` in
6558 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6561 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6564 cat "conftest.in" "conftest.in" >"conftest.tmp"
6565 mv "conftest.tmp" "conftest.in"
6566 cp "conftest.in" "conftest.nl"
6567 echo 'EGREP' >> "conftest.nl"
6568 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6569 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6570 ac_count
=`expr $ac_count + 1`
6571 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6572 # Best one so far, save it but keep looking for a better one
6573 ac_cv_path_EGREP
="$ac_path_EGREP"
6574 ac_path_EGREP_max
=$ac_count
6576 # 10*(2^10) chars as input seems more than enough
6577 test $ac_count -gt 10 && break
6579 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6583 $ac_path_EGREP_found && break 3
6593 EGREP
="$ac_cv_path_EGREP"
6594 if test -z "$EGREP"; then
6595 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6596 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6597 { (exit 1); exit 1; }; }
6601 ac_cv_path_EGREP
=$EGREP
6607 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6608 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6609 EGREP
="$ac_cv_path_EGREP"
6612 # Extract the first word of "ldconfig", so it can be a program name with args.
6613 set dummy ldconfig
; ac_word
=$2
6614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6616 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6617 echo $ECHO_N "(cached) $ECHO_C" >&6
6621 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6625 for as_dir
in /sbin
/usr
/sbin
$PATH
6628 test -z "$as_dir" && as_dir
=.
6629 for ac_exec_ext
in '' $ac_executable_extensions; do
6630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6631 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6643 LDCONFIG
=$ac_cv_path_LDCONFIG
6644 if test -n "$LDCONFIG"; then
6645 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6646 echo "${ECHO_T}$LDCONFIG" >&6; }
6648 { echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6; }
6653 # Find a good install program. We prefer a C program (faster),
6654 # so one script is as good as another. But avoid the broken or
6655 # incompatible versions:
6656 # SysV /etc/install, /usr/sbin/install
6657 # SunOS /usr/etc/install
6658 # IRIX /sbin/install
6660 # AmigaOS /C/install, which installs bootblocks on floppy discs
6661 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6662 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6663 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6664 # OS/2's system install, which has a completely different semantic
6665 # ./install, which can be erroneously created by make from ./install.sh.
6666 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6667 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6668 if test -z "$INSTALL"; then
6669 if test "${ac_cv_path_install+set}" = set; then
6670 echo $ECHO_N "(cached) $ECHO_C" >&6
6672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6676 test -z "$as_dir" && as_dir
=.
6677 # Account for people who put trailing slashes in PATH elements.
6679 .
/ | .
// |
/cC
/* | \
6680 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6681 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6684 # OSF1 and SCO ODT 3.0 have their own names for install.
6685 # Don't use installbsd from OSF since it installs stuff as root
6687 for ac_prog
in ginstall scoinst
install; do
6688 for ac_exec_ext
in '' $ac_executable_extensions; do
6689 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6690 if test $ac_prog = install &&
6691 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6692 # AIX install. It has an incompatible calling convention.
6694 elif test $ac_prog = install &&
6695 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6696 # program-specific install script used by HP pwplus--don't use.
6699 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6712 if test "${ac_cv_path_install+set}" = set; then
6713 INSTALL
=$ac_cv_path_install
6715 # As a last resort, use the slow shell script. Don't cache a
6716 # value for INSTALL within a source directory, because that will
6717 # break other packages using the cache if that directory is
6718 # removed, or if the value is a relative name.
6719 INSTALL
=$ac_install_sh
6722 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6723 echo "${ECHO_T}$INSTALL" >&6; }
6725 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6726 # It thinks the first close brace ends the variable substitution.
6727 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6729 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6731 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6734 [\\/$
]* | ?
:[\\/]* ) ;;
6735 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6738 for ac_prog
in lclint lint
6740 # Extract the first word of "$ac_prog", so it can be a program name with args.
6741 set dummy
$ac_prog; ac_word
=$2
6742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6744 if test "${ac_cv_prog_LINT+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 if test -n "$LINT"; then
6748 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6754 test -z "$as_dir" && as_dir
=.
6755 for ac_exec_ext
in '' $ac_executable_extensions; do
6756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6757 ac_cv_prog_LINT
="$ac_prog"
6758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6767 LINT
=$ac_cv_prog_LINT
6768 if test -n "$LINT"; then
6769 { echo "$as_me:$LINENO: result: $LINT" >&5
6770 echo "${ECHO_T}$LINT" >&6; }
6772 { echo "$as_me:$LINENO: result: no" >&5
6773 echo "${ECHO_T}no" >&6; }
6777 test -n "$LINT" && break
6780 if test "$LINT" = "lint"
6782 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6787 for ac_prog
in fontforge
6789 # Extract the first word of "$ac_prog", so it can be a program name with args.
6790 set dummy
$ac_prog; ac_word
=$2
6791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6793 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6794 echo $ECHO_N "(cached) $ECHO_C" >&6
6796 if test -n "$FONTFORGE"; then
6797 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir
=.
6804 for ac_exec_ext
in '' $ac_executable_extensions; do
6805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6806 ac_cv_prog_FONTFORGE
="$ac_prog"
6807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6816 FONTFORGE
=$ac_cv_prog_FONTFORGE
6817 if test -n "$FONTFORGE"; then
6818 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6819 echo "${ECHO_T}$FONTFORGE" >&6; }
6821 { echo "$as_me:$LINENO: result: no" >&5
6822 echo "${ECHO_T}no" >&6; }
6826 test -n "$FONTFORGE" && break
6828 test -n "$FONTFORGE" || FONTFORGE
="false"
6830 for ac_prog
in pkg-config
6832 # Extract the first word of "$ac_prog", so it can be a program name with args.
6833 set dummy
$ac_prog; ac_word
=$2
6834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6836 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6839 if test -n "$PKG_CONFIG"; then
6840 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6846 test -z "$as_dir" && as_dir
=.
6847 for ac_exec_ext
in '' $ac_executable_extensions; do
6848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6849 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6859 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6860 if test -n "$PKG_CONFIG"; then
6861 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6862 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6869 test -n "$PKG_CONFIG" && break
6871 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6876 # Extract the first word of "prelink", so it can be a program name with args.
6877 set dummy prelink
; ac_word
=$2
6878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6880 if test "${ac_cv_path_PRELINK+set}" = set; then
6881 echo $ECHO_N "(cached) $ECHO_C" >&6
6885 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6889 for as_dir
in /sbin
/usr
/sbin
$PATH
6892 test -z "$as_dir" && as_dir
=.
6893 for ac_exec_ext
in '' $ac_executable_extensions; do
6894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6895 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6903 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6907 PRELINK
=$ac_cv_path_PRELINK
6908 if test -n "$PRELINK"; then
6909 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6910 echo "${ECHO_T}$PRELINK" >&6; }
6912 { echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6; }
6922 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6923 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6924 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6925 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 ac_check_lib_save_LIBS
=$LIBS
6929 cat >conftest.
$ac_ext <<_ACEOF
6932 cat confdefs.h
>>conftest.
$ac_ext
6933 cat >>conftest.
$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6936 /* Override any GCC internal prototype to avoid an error.
6937 Use char because int might match the return type of a GCC
6938 builtin and then its argument prototype would still apply. */
6942 char i386_set_ldt ();
6946 return i386_set_ldt ();
6951 rm -f conftest.
$ac_objext conftest
$ac_exeext
6952 if { (ac_try
="$ac_link"
6954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6955 *) ac_try_echo=$ac_try;;
6957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6958 (eval "$ac_link") 2>conftest.er1
6960 grep -v '^ *+' conftest.er1 >conftest.err
6962 cat conftest.err >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } &&
6965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6966 { (case "(($ac_try" in
6967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6968 *) ac_try_echo
=$ac_try;;
6970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6971 (eval "$ac_try") 2>&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; } &&
6975 { ac_try
='test -s conftest$ac_exeext'
6976 { (case "(($ac_try" in
6977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6978 *) ac_try_echo=$ac_try;;
6980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6981 (eval "$ac_try") 2>&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); }; }; then
6985 ac_cv_lib_i386_i386_set_ldt=yes
6987 echo "$as_me: failed program was:" >&5
6988 sed 's/^/| /' conftest.$ac_ext >&5
6990 ac_cv_lib_i386_i386_set_ldt=no
6993 rm -f core conftest.err conftest.$ac_objext \
6994 conftest$ac_exeext conftest.$ac_ext
6995 LIBS=$ac_check_lib_save_LIBS
6997 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6998 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6999 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7000 cat >>confdefs.h <<_ACEOF
7001 #define HAVE_LIBI386 1
7009 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7010 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7011 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 ac_check_lib_save_LIBS=$LIBS
7015 LIBS="-lossaudio $LIBS"
7016 cat >conftest.$ac_ext <<_ACEOF
7019 cat confdefs.h >>conftest.$ac_ext
7020 cat >>conftest.$ac_ext <<_ACEOF
7021 /* end confdefs.h. */
7023 /* Override any GCC internal prototype to avoid an error.
7024 Use char because int might match the return type of a GCC
7025 builtin and then its argument prototype would still apply. */
7033 return _oss_ioctl ();
7038 rm -f conftest.$ac_objext conftest$ac_exeext
7039 if { (ac_try="$ac_link"
7041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7042 *) ac_try_echo
=$ac_try;;
7044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7045 (eval "$ac_link") 2>conftest.er1
7047 grep -v '^ *+' conftest.er1
>conftest.err
7049 cat conftest.err
>&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); } &&
7052 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7053 { (case "(($ac_try" in
7054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7055 *) ac_try_echo=$ac_try;;
7057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7058 (eval "$ac_try") 2>&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; } &&
7062 { ac_try='test -s conftest$ac_exeext'
7063 { (case "(($ac_try" in
7064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7065 *) ac_try_echo
=$ac_try;;
7067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7068 (eval "$ac_try") 2>&5
7070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 (exit $ac_status); }; }; then
7072 ac_cv_lib_ossaudio__oss_ioctl
=yes
7074 echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.
$ac_ext >&5
7077 ac_cv_lib_ossaudio__oss_ioctl
=no
7080 rm -f core conftest.err conftest.
$ac_objext \
7081 conftest
$ac_exeext conftest.
$ac_ext
7082 LIBS
=$ac_check_lib_save_LIBS
7084 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7085 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7086 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7087 cat >>confdefs.h
<<_ACEOF
7088 #define HAVE_LIBOSSAUDIO 1
7091 LIBS
="-lossaudio $LIBS"
7096 for ac_func
in gethostbyname
7098 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7099 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7101 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7102 echo $ECHO_N "(cached) $ECHO_C" >&6
7104 cat >conftest.
$ac_ext <<_ACEOF
7107 cat confdefs.h
>>conftest.
$ac_ext
7108 cat >>conftest.
$ac_ext <<_ACEOF
7109 /* end confdefs.h. */
7110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7112 #define $ac_func innocuous_$ac_func
7114 /* System header to define __stub macros and hopefully few prototypes,
7115 which can conflict with char $ac_func (); below.
7116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7117 <limits.h> exists even on freestanding compilers. */
7120 # include <limits.h>
7122 # include <assert.h>
7127 /* Override any GCC internal prototype to avoid an error.
7128 Use char because int might match the return type of a GCC
7129 builtin and then its argument prototype would still apply. */
7134 /* The GNU C library defines this for functions which it implements
7135 to always fail with ENOSYS. Some functions are actually named
7136 something starting with __ and the normal name is an alias. */
7137 #if defined __stub_$ac_func || defined __stub___$ac_func
7149 rm -f conftest.
$ac_objext conftest
$ac_exeext
7150 if { (ac_try
="$ac_link"
7152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7153 *) ac_try_echo=$ac_try;;
7155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7156 (eval "$ac_link") 2>conftest.er1
7158 grep -v '^ *+' conftest.er1 >conftest.err
7160 cat conftest.err >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7164 { (case "(($ac_try" in
7165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7166 *) ac_try_echo
=$ac_try;;
7168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7169 (eval "$ac_try") 2>&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); }; } &&
7173 { ac_try
='test -s conftest$ac_exeext'
7174 { (case "(($ac_try" in
7175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7176 *) ac_try_echo=$ac_try;;
7178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179 (eval "$ac_try") 2>&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); }; }; then
7183 eval "$as_ac_var=yes"
7185 echo "$as_me: failed program was:" >&5
7186 sed 's/^/| /' conftest.$ac_ext >&5
7188 eval "$as_ac_var=no"
7191 rm -f core conftest.err conftest.$ac_objext \
7192 conftest$ac_exeext conftest.$ac_ext
7194 ac_res=`eval echo '${'$as_ac_var'}'`
7195 { echo "$as_me:$LINENO: result: $ac_res" >&5
7196 echo "${ECHO_T}$ac_res" >&6; }
7197 if test `eval echo '${'$as_ac_var'}'` = yes; then
7198 cat >>confdefs.h <<_ACEOF
7199 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7204 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7205 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7206 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7207 echo $ECHO_N "(cached) $ECHO_C" >&6
7209 ac_check_lib_save_LIBS=$LIBS
7211 cat >conftest.$ac_ext <<_ACEOF
7214 cat confdefs.h >>conftest.$ac_ext
7215 cat >>conftest.$ac_ext <<_ACEOF
7216 /* end confdefs.h. */
7218 /* Override any GCC internal prototype to avoid an error.
7219 Use char because int might match the return type of a GCC
7220 builtin and then its argument prototype would still apply. */
7224 char gethostbyname ();
7228 return gethostbyname ();
7233 rm -f conftest.$ac_objext conftest$ac_exeext
7234 if { (ac_try="$ac_link"
7236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7237 *) ac_try_echo
=$ac_try;;
7239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7240 (eval "$ac_link") 2>conftest.er1
7242 grep -v '^ *+' conftest.er1
>conftest.err
7244 cat conftest.err
>&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); } &&
7247 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7248 { (case "(($ac_try" in
7249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7250 *) ac_try_echo=$ac_try;;
7252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7253 (eval "$ac_try") 2>&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; } &&
7257 { ac_try='test -s conftest$ac_exeext'
7258 { (case "(($ac_try" in
7259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7260 *) ac_try_echo
=$ac_try;;
7262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7263 (eval "$ac_try") 2>&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); }; }; then
7267 ac_cv_lib_nsl_gethostbyname
=yes
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.
$ac_ext >&5
7272 ac_cv_lib_nsl_gethostbyname
=no
7275 rm -f core conftest.err conftest.
$ac_objext \
7276 conftest
$ac_exeext conftest.
$ac_ext
7277 LIBS
=$ac_check_lib_save_LIBS
7279 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7280 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7281 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7282 cat >>confdefs.h
<<_ACEOF
7283 #define HAVE_LIBNSL 1
7294 for ac_func
in connect
7296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7299 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7302 cat >conftest.
$ac_ext <<_ACEOF
7305 cat confdefs.h
>>conftest.
$ac_ext
7306 cat >>conftest.
$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7310 #define $ac_func innocuous_$ac_func
7312 /* System header to define __stub macros and hopefully few prototypes,
7313 which can conflict with char $ac_func (); below.
7314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7315 <limits.h> exists even on freestanding compilers. */
7318 # include <limits.h>
7320 # include <assert.h>
7325 /* Override any GCC internal prototype to avoid an error.
7326 Use char because int might match the return type of a GCC
7327 builtin and then its argument prototype would still apply. */
7332 /* The GNU C library defines this for functions which it implements
7333 to always fail with ENOSYS. Some functions are actually named
7334 something starting with __ and the normal name is an alias. */
7335 #if defined __stub_$ac_func || defined __stub___$ac_func
7347 rm -f conftest.
$ac_objext conftest
$ac_exeext
7348 if { (ac_try
="$ac_link"
7350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7351 *) ac_try_echo=$ac_try;;
7353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7354 (eval "$ac_link") 2>conftest.er1
7356 grep -v '^ *+' conftest.er1 >conftest.err
7358 cat conftest.err >&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); } &&
7361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7362 { (case "(($ac_try" in
7363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7364 *) ac_try_echo
=$ac_try;;
7366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7367 (eval "$ac_try") 2>&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; } &&
7371 { ac_try
='test -s conftest$ac_exeext'
7372 { (case "(($ac_try" in
7373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7374 *) ac_try_echo=$ac_try;;
7376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7377 (eval "$ac_try") 2>&5
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); }; }; then
7381 eval "$as_ac_var=yes"
7383 echo "$as_me: failed program was:" >&5
7384 sed 's/^/| /' conftest.$ac_ext >&5
7386 eval "$as_ac_var=no"
7389 rm -f core conftest.err conftest.$ac_objext \
7390 conftest$ac_exeext conftest.$ac_ext
7392 ac_res=`eval echo '${'$as_ac_var'}'`
7393 { echo "$as_me:$LINENO: result: $ac_res" >&5
7394 echo "${ECHO_T}$ac_res" >&6; }
7395 if test `eval echo '${'$as_ac_var'}'` = yes; then
7396 cat >>confdefs.h <<_ACEOF
7397 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7402 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7403 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
7404 if test "${ac_cv_lib_socket_connect+set}" = set; then
7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7407 ac_check_lib_save_LIBS=$LIBS
7408 LIBS="-lsocket $LIBS"
7409 cat >conftest.$ac_ext <<_ACEOF
7412 cat confdefs.h >>conftest.$ac_ext
7413 cat >>conftest.$ac_ext <<_ACEOF
7414 /* end confdefs.h. */
7416 /* Override any GCC internal prototype to avoid an error.
7417 Use char because int might match the return type of a GCC
7418 builtin and then its argument prototype would still apply. */
7431 rm -f conftest.$ac_objext conftest$ac_exeext
7432 if { (ac_try="$ac_link"
7434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7435 *) ac_try_echo
=$ac_try;;
7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438 (eval "$ac_link") 2>conftest.er1
7440 grep -v '^ *+' conftest.er1
>conftest.err
7442 cat conftest.err
>&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); } &&
7445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7446 { (case "(($ac_try" in
7447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451 (eval "$ac_try") 2>&5
7453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 (exit $ac_status); }; } &&
7455 { ac_try='test -s conftest$ac_exeext'
7456 { (case "(($ac_try" in
7457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7458 *) ac_try_echo
=$ac_try;;
7460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7461 (eval "$ac_try") 2>&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); }; }; then
7465 ac_cv_lib_socket_connect
=yes
7467 echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.
$ac_ext >&5
7470 ac_cv_lib_socket_connect
=no
7473 rm -f core conftest.err conftest.
$ac_objext \
7474 conftest
$ac_exeext conftest.
$ac_ext
7475 LIBS
=$ac_check_lib_save_LIBS
7477 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7478 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
7479 if test $ac_cv_lib_socket_connect = yes; then
7480 cat >>confdefs.h
<<_ACEOF
7481 #define HAVE_LIBSOCKET 1
7484 LIBS
="-lsocket $LIBS"
7492 for ac_func
in inet_aton
7494 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7495 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7497 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7498 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 cat >conftest.
$ac_ext <<_ACEOF
7503 cat confdefs.h
>>conftest.
$ac_ext
7504 cat >>conftest.
$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7508 #define $ac_func innocuous_$ac_func
7510 /* System header to define __stub macros and hopefully few prototypes,
7511 which can conflict with char $ac_func (); below.
7512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7513 <limits.h> exists even on freestanding compilers. */
7516 # include <limits.h>
7518 # include <assert.h>
7523 /* Override any GCC internal prototype to avoid an error.
7524 Use char because int might match the return type of a GCC
7525 builtin and then its argument prototype would still apply. */
7530 /* The GNU C library defines this for functions which it implements
7531 to always fail with ENOSYS. Some functions are actually named
7532 something starting with __ and the normal name is an alias. */
7533 #if defined __stub_$ac_func || defined __stub___$ac_func
7545 rm -f conftest.
$ac_objext conftest
$ac_exeext
7546 if { (ac_try
="$ac_link"
7548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7549 *) ac_try_echo=$ac_try;;
7551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7552 (eval "$ac_link") 2>conftest.er1
7554 grep -v '^ *+' conftest.er1 >conftest.err
7556 cat conftest.err >&5
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); } &&
7559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7560 { (case "(($ac_try" in
7561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7562 *) ac_try_echo
=$ac_try;;
7564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7565 (eval "$ac_try") 2>&5
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); }; } &&
7569 { ac_try
='test -s conftest$ac_exeext'
7570 { (case "(($ac_try" in
7571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7572 *) ac_try_echo=$ac_try;;
7574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7575 (eval "$ac_try") 2>&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; }; then
7579 eval "$as_ac_var=yes"
7581 echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.$ac_ext >&5
7584 eval "$as_ac_var=no"
7587 rm -f core conftest.err conftest.$ac_objext \
7588 conftest$ac_exeext conftest.$ac_ext
7590 ac_res=`eval echo '${'$as_ac_var'}'`
7591 { echo "$as_me:$LINENO: result: $ac_res" >&5
7592 echo "${ECHO_T}$ac_res" >&6; }
7593 if test `eval echo '${'$as_ac_var'}'` = yes; then
7594 cat >>confdefs.h <<_ACEOF
7595 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7600 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7601 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7602 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7605 ac_check_lib_save_LIBS=$LIBS
7606 LIBS="-lresolv $LIBS"
7607 cat >conftest.$ac_ext <<_ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7614 /* Override any GCC internal prototype to avoid an error.
7615 Use char because int might match the return type of a GCC
7616 builtin and then its argument prototype would still apply. */
7624 return inet_aton ();
7629 rm -f conftest.$ac_objext conftest$ac_exeext
7630 if { (ac_try="$ac_link"
7632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7633 *) ac_try_echo
=$ac_try;;
7635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7636 (eval "$ac_link") 2>conftest.er1
7638 grep -v '^ *+' conftest.er1
>conftest.err
7640 cat conftest.err
>&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } &&
7643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7644 { (case "(($ac_try" in
7645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7646 *) ac_try_echo=$ac_try;;
7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7649 (eval "$ac_try") 2>&5
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); }; } &&
7653 { ac_try='test -s conftest$ac_exeext'
7654 { (case "(($ac_try" in
7655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7656 *) ac_try_echo
=$ac_try;;
7658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7659 (eval "$ac_try") 2>&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); }; }; then
7663 ac_cv_lib_resolv_inet_aton
=yes
7665 echo "$as_me: failed program was:" >&5
7666 sed 's/^/| /' conftest.
$ac_ext >&5
7668 ac_cv_lib_resolv_inet_aton
=no
7671 rm -f core conftest.err conftest.
$ac_objext \
7672 conftest
$ac_exeext conftest.
$ac_ext
7673 LIBS
=$ac_check_lib_save_LIBS
7675 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7676 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7677 if test $ac_cv_lib_resolv_inet_aton = yes; then
7678 cat >>confdefs.h
<<_ACEOF
7679 #define HAVE_LIBRESOLV 1
7682 LIBS
="-lresolv $LIBS"
7690 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7691 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7692 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7695 ac_check_lib_save_LIBS
=$LIBS
7697 cat >conftest.
$ac_ext <<_ACEOF
7700 cat confdefs.h
>>conftest.
$ac_ext
7701 cat >>conftest.
$ac_ext <<_ACEOF
7702 /* end confdefs.h. */
7704 /* Override any GCC internal prototype to avoid an error.
7705 Use char because int might match the return type of a GCC
7706 builtin and then its argument prototype would still apply. */
7710 char _xpg4_setrunelocale ();
7714 return _xpg4_setrunelocale ();
7719 rm -f conftest.
$ac_objext conftest
$ac_exeext
7720 if { (ac_try
="$ac_link"
7722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7723 *) ac_try_echo=$ac_try;;
7725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7726 (eval "$ac_link") 2>conftest.er1
7728 grep -v '^ *+' conftest.er1 >conftest.err
7730 cat conftest.err >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); } &&
7733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7734 { (case "(($ac_try" in
7735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7736 *) ac_try_echo
=$ac_try;;
7738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7739 (eval "$ac_try") 2>&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); }; } &&
7743 { ac_try
='test -s conftest$ac_exeext'
7744 { (case "(($ac_try" in
7745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7746 *) ac_try_echo=$ac_try;;
7748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7749 (eval "$ac_try") 2>&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); }; }; then
7753 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7755 echo "$as_me: failed program was:" >&5
7756 sed 's/^/| /' conftest.$ac_ext >&5
7758 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7761 rm -f core conftest.err conftest.$ac_objext \
7762 conftest$ac_exeext conftest.$ac_ext
7763 LIBS=$ac_check_lib_save_LIBS
7765 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7766 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7767 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_LIBXPG4 1
7777 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7778 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7779 if test "${ac_cv_lib_poll_poll+set}" = set; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 ac_check_lib_save_LIBS=$LIBS
7784 cat >conftest.$ac_ext <<_ACEOF
7787 cat confdefs.h >>conftest.$ac_ext
7788 cat >>conftest.$ac_ext <<_ACEOF
7789 /* end confdefs.h. */
7791 /* Override any GCC internal prototype to avoid an error.
7792 Use char because int might match the return type of a GCC
7793 builtin and then its argument prototype would still apply. */
7806 rm -f conftest.$ac_objext conftest$ac_exeext
7807 if { (ac_try="$ac_link"
7809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7810 *) ac_try_echo
=$ac_try;;
7812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7813 (eval "$ac_link") 2>conftest.er1
7815 grep -v '^ *+' conftest.er1
>conftest.err
7817 cat conftest.err
>&5
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819 (exit $ac_status); } &&
7820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7821 { (case "(($ac_try" in
7822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7823 *) ac_try_echo=$ac_try;;
7825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7826 (eval "$ac_try") 2>&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; } &&
7830 { ac_try='test -s conftest$ac_exeext'
7831 { (case "(($ac_try" in
7832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7833 *) ac_try_echo
=$ac_try;;
7835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7836 (eval "$ac_try") 2>&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); }; }; then
7840 ac_cv_lib_poll_poll
=yes
7842 echo "$as_me: failed program was:" >&5
7843 sed 's/^/| /' conftest.
$ac_ext >&5
7845 ac_cv_lib_poll_poll
=no
7848 rm -f core conftest.err conftest.
$ac_objext \
7849 conftest
$ac_exeext conftest.
$ac_ext
7850 LIBS
=$ac_check_lib_save_LIBS
7852 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7853 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7854 if test $ac_cv_lib_poll_poll = yes; then
7855 cat >>confdefs.h
<<_ACEOF
7856 #define HAVE_LIBPOLL 1
7863 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7864 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7865 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7868 ac_check_lib_save_LIBS
=$LIBS
7869 LIBS
="-lpthread $LIBS"
7870 cat >conftest.
$ac_ext <<_ACEOF
7873 cat confdefs.h
>>conftest.
$ac_ext
7874 cat >>conftest.
$ac_ext <<_ACEOF
7875 /* end confdefs.h. */
7877 /* Override any GCC internal prototype to avoid an error.
7878 Use char because int might match the return type of a GCC
7879 builtin and then its argument prototype would still apply. */
7883 char pthread_create ();
7887 return pthread_create ();
7892 rm -f conftest.
$ac_objext conftest
$ac_exeext
7893 if { (ac_try
="$ac_link"
7895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7896 *) ac_try_echo=$ac_try;;
7898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7899 (eval "$ac_link") 2>conftest.er1
7901 grep -v '^ *+' conftest.er1 >conftest.err
7903 cat conftest.err >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); } &&
7906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7907 { (case "(($ac_try" in
7908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7909 *) ac_try_echo
=$ac_try;;
7911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7912 (eval "$ac_try") 2>&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; } &&
7916 { ac_try
='test -s conftest$ac_exeext'
7917 { (case "(($ac_try" in
7918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7919 *) ac_try_echo=$ac_try;;
7921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7922 (eval "$ac_try") 2>&5
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); }; }; then
7926 ac_cv_lib_pthread_pthread_create=yes
7928 echo "$as_me: failed program was:" >&5
7929 sed 's/^/| /' conftest.$ac_ext >&5
7931 ac_cv_lib_pthread_pthread_create=no
7934 rm -f core conftest.err conftest.$ac_objext \
7935 conftest$ac_exeext conftest.$ac_ext
7936 LIBS=$ac_check_lib_save_LIBS
7938 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7939 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7940 if test $ac_cv_lib_pthread_pthread_create = yes; then
7941 LIBPTHREAD="-lpthread"
7958 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7959 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7960 if test "${ac_cv_header_stdc+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7963 cat >conftest.$ac_ext <<_ACEOF
7966 cat confdefs.h >>conftest.$ac_ext
7967 cat >>conftest.$ac_ext <<_ACEOF
7968 /* end confdefs.h. */
7982 rm -f conftest.$ac_objext
7983 if { (ac_try="$ac_compile"
7985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7986 *) ac_try_echo
=$ac_try;;
7988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7989 (eval "$ac_compile") 2>conftest.er1
7991 grep -v '^ *+' conftest.er1
>conftest.err
7993 cat conftest.err
>&5
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 (exit $ac_status); } &&
7996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7997 { (case "(($ac_try" in
7998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7999 *) ac_try_echo=$ac_try;;
8001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8002 (eval "$ac_try") 2>&5
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); }; } &&
8006 { ac_try='test -s conftest.$ac_objext'
8007 { (case "(($ac_try" in
8008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8009 *) ac_try_echo
=$ac_try;;
8011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8012 (eval "$ac_try") 2>&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; }; then
8016 ac_cv_header_stdc
=yes
8018 echo "$as_me: failed program was:" >&5
8019 sed 's/^/| /' conftest.
$ac_ext >&5
8021 ac_cv_header_stdc
=no
8024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8026 if test $ac_cv_header_stdc = yes; then
8027 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8028 cat >conftest.
$ac_ext <<_ACEOF
8031 cat confdefs.h
>>conftest.
$ac_ext
8032 cat >>conftest.
$ac_ext <<_ACEOF
8033 /* end confdefs.h. */
8037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8038 $EGREP "memchr" >/dev
/null
2>&1; then
8041 ac_cv_header_stdc
=no
8047 if test $ac_cv_header_stdc = yes; then
8048 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8049 cat >conftest.
$ac_ext <<_ACEOF
8052 cat confdefs.h
>>conftest.
$ac_ext
8053 cat >>conftest.
$ac_ext <<_ACEOF
8054 /* end confdefs.h. */
8058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8059 $EGREP "free" >/dev
/null
2>&1; then
8062 ac_cv_header_stdc
=no
8068 if test $ac_cv_header_stdc = yes; then
8069 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8070 if test "$cross_compiling" = yes; then
8073 cat >conftest.
$ac_ext <<_ACEOF
8076 cat confdefs.h
>>conftest.
$ac_ext
8077 cat >>conftest.
$ac_ext <<_ACEOF
8078 /* end confdefs.h. */
8081 #if ((' ' & 0x0FF) == 0x020)
8082 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8083 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8085 # define ISLOWER(c) \
8086 (('a' <= (c) && (c) <= 'i') \
8087 || ('j' <= (c) && (c) <= 'r') \
8088 || ('s' <= (c) && (c) <= 'z'))
8089 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8092 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8097 for (i = 0; i < 256; i++)
8098 if (XOR (islower (i), ISLOWER (i))
8099 || toupper (i) != TOUPPER (i))
8104 rm -f conftest
$ac_exeext
8105 if { (ac_try
="$ac_link"
8107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8108 *) ac_try_echo=$ac_try;;
8110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8111 (eval "$ac_link") 2>&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8115 { (case "(($ac_try" in
8116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8117 *) ac_try_echo
=$ac_try;;
8119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8120 (eval "$ac_try") 2>&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; }; then
8126 echo "$as_me: program exited with status $ac_status" >&5
8127 echo "$as_me: failed program was:" >&5
8128 sed 's/^/| /' conftest.
$ac_ext >&5
8131 ac_cv_header_stdc
=no
8133 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8139 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8140 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8141 if test $ac_cv_header_stdc = yes; then
8143 cat >>confdefs.h
<<\_ACEOF
8144 #define STDC_HEADERS 1
8149 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8159 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8160 inttypes.h stdint.h unistd.h
8162 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8163 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8165 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8166 echo $ECHO_N "(cached) $ECHO_C" >&6
8168 cat >conftest.
$ac_ext <<_ACEOF
8171 cat confdefs.h
>>conftest.
$ac_ext
8172 cat >>conftest.
$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8174 $ac_includes_default
8176 #include <$ac_header>
8178 rm -f conftest.
$ac_objext
8179 if { (ac_try
="$ac_compile"
8181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8182 *) ac_try_echo=$ac_try;;
8184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8185 (eval "$ac_compile") 2>conftest.er1
8187 grep -v '^ *+' conftest.er1 >conftest.err
8189 cat conftest.err >&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); } &&
8192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8193 { (case "(($ac_try" in
8194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8195 *) ac_try_echo
=$ac_try;;
8197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8198 (eval "$ac_try") 2>&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }; } &&
8202 { ac_try
='test -s conftest.$ac_objext'
8203 { (case "(($ac_try" in
8204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8205 *) ac_try_echo=$ac_try;;
8207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8208 (eval "$ac_try") 2>&5
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); }; }; then
8212 eval "$as_ac_Header=yes"
8214 echo "$as_me: failed program was:" >&5
8215 sed 's/^/| /' conftest.$ac_ext >&5
8217 eval "$as_ac_Header=no"
8220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8222 ac_res=`eval echo '${'$as_ac_Header'}'`
8223 { echo "$as_me:$LINENO: result: $ac_res" >&5
8224 echo "${ECHO_T}$ac_res" >&6; }
8225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8226 cat >>confdefs.h <<_ACEOF
8227 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8344 AudioUnit/AudioUnit.h \
8345 CoreAudio/CoreAudio.h \
8358 fontconfig/fontconfig.h \
8384 machine/soundcard.h \
8389 netinet/in_systm.h \
8454 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8456 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8461 ac_res=`eval echo '${'$as_ac_Header'}'`
8462 { echo "$as_me:$LINENO: result: $ac_res" >&5
8463 echo "${ECHO_T}$ac_res" >&6; }
8465 # Is the header compilable?
8466 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8468 cat >conftest.$ac_ext <<_ACEOF
8471 cat confdefs.h >>conftest.$ac_ext
8472 cat >>conftest.$ac_ext <<_ACEOF
8473 /* end confdefs.h. */
8474 $ac_includes_default
8475 #include <$ac_header>
8477 rm -f conftest.$ac_objext
8478 if { (ac_try="$ac_compile"
8480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8481 *) ac_try_echo
=$ac_try;;
8483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8484 (eval "$ac_compile") 2>conftest.er1
8486 grep -v '^ *+' conftest.er1
>conftest.err
8488 cat conftest.err
>&5
8489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 (exit $ac_status); } &&
8491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8492 { (case "(($ac_try" in
8493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8494 *) ac_try_echo=$ac_try;;
8496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8497 (eval "$ac_try") 2>&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); }; } &&
8501 { ac_try='test -s conftest.$ac_objext'
8502 { (case "(($ac_try" in
8503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8504 *) ac_try_echo
=$ac_try;;
8506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8507 (eval "$ac_try") 2>&5
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); }; }; then
8511 ac_header_compiler
=yes
8513 echo "$as_me: failed program was:" >&5
8514 sed 's/^/| /' conftest.
$ac_ext >&5
8516 ac_header_compiler
=no
8519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8520 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8521 echo "${ECHO_T}$ac_header_compiler" >&6; }
8523 # Is the header present?
8524 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8525 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8526 cat >conftest.
$ac_ext <<_ACEOF
8529 cat confdefs.h
>>conftest.
$ac_ext
8530 cat >>conftest.
$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8532 #include <$ac_header>
8534 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8537 *) ac_try_echo=$ac_try;;
8539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8542 grep -v '^ *+' conftest.er1 >conftest.err
8544 cat conftest.err >&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); } >/dev/null; then
8547 if test -s conftest.err; then
8548 ac_cpp_err=$ac_c_preproc_warn_flag
8549 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8556 if test -z "$ac_cpp_err"; then
8557 ac_header_preproc=yes
8559 echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.$ac_ext >&5
8562 ac_header_preproc=no
8565 rm -f conftest.err conftest.$ac_ext
8566 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8567 echo "${ECHO_T}$ac_header_preproc" >&6; }
8569 # So? What about this header?
8570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8576 ac_header_preproc=yes
8579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8592 ## ------------------------------------ ##
8593 ## Report this to wine-devel@winehq.org ##
8594 ## ------------------------------------ ##
8596 ) | sed "s/^/$as_me: WARNING: /" >&2
8599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8602 echo $ECHO_N "(cached) $ECHO_C" >&6
8604 eval "$as_ac_Header=\$ac_header_preproc"
8606 ac_res=`eval echo '${'$as_ac_Header'}'`
8607 { echo "$as_me:$LINENO: result: $ac_res" >&5
8608 echo "${ECHO_T}$ac_res" >&6; }
8611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8612 cat >>confdefs.h <<_ACEOF
8613 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8620 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8621 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8622 if test "${ac_cv_header_stat_broken+set}" = set; then
8623 echo $ECHO_N "(cached) $ECHO_C" >&6
8625 cat >conftest.$ac_ext <<_ACEOF
8628 cat confdefs.h >>conftest.$ac_ext
8629 cat >>conftest.$ac_ext <<_ACEOF
8630 /* end confdefs.h. */
8631 #include <sys/types.h>
8632 #include <sys/stat.h>
8634 #if defined S_ISBLK && defined S_IFDIR
8635 # if S_ISBLK (S_IFDIR)
8640 #if defined S_ISBLK && defined S_IFCHR
8641 # if S_ISBLK (S_IFCHR)
8646 #if defined S_ISLNK && defined S_IFREG
8647 # if S_ISLNK (S_IFREG)
8652 #if defined S_ISSOCK && defined S_IFREG
8653 # if S_ISSOCK (S_IFREG)
8659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8660 $EGREP "You lose" >/dev/null 2>&1; then
8661 ac_cv_header_stat_broken=yes
8663 ac_cv_header_stat_broken=no
8668 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8669 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8670 if test $ac_cv_header_stat_broken = yes; then
8672 cat >>confdefs.h <<\_ACEOF
8673 #define STAT_MACROS_BROKEN 1
8684 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8686 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8690 echo $ECHO_N "(cached) $ECHO_C" >&6
8692 cat >conftest.$ac_ext <<_ACEOF
8695 cat confdefs.h >>conftest.$ac_ext
8696 cat >>conftest.$ac_ext <<_ACEOF
8697 /* end confdefs.h. */
8698 #include <sys/types.h>
8699 #if HAVE_SYS_PARAM_H
8700 # include <sys/param.h>
8703 #include <$ac_header>
8705 rm -f conftest.$ac_objext
8706 if { (ac_try="$ac_compile"
8708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8709 *) ac_try_echo
=$ac_try;;
8711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_compile") 2>conftest.er1
8714 grep -v '^ *+' conftest.er1
>conftest.err
8716 cat conftest.err
>&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } &&
8719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8720 { (case "(($ac_try" in
8721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8722 *) ac_try_echo=$ac_try;;
8724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8725 (eval "$ac_try") 2>&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); }; } &&
8729 { ac_try='test -s conftest.$ac_objext'
8730 { (case "(($ac_try" in
8731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8732 *) ac_try_echo
=$ac_try;;
8734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8735 (eval "$ac_try") 2>&5
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); }; }; then
8739 eval "$as_ac_Header=yes"
8741 echo "$as_me: failed program was:" >&5
8742 sed 's/^/| /' conftest.
$ac_ext >&5
8744 eval "$as_ac_Header=no"
8747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8749 ac_res
=`eval echo '${'$as_ac_Header'}'`
8750 { echo "$as_me:$LINENO: result: $ac_res" >&5
8751 echo "${ECHO_T}$ac_res" >&6; }
8752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8753 cat >>confdefs.h
<<_ACEOF
8754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8768 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
8770 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8771 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8773 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8774 echo $ECHO_N "(cached) $ECHO_C" >&6
8776 cat >conftest.
$ac_ext <<_ACEOF
8779 cat confdefs.h
>>conftest.
$ac_ext
8780 cat >>conftest.
$ac_ext <<_ACEOF
8781 /* end confdefs.h. */
8782 #include <sys/types.h>
8783 #if HAVE_SYS_SOCKET_H
8784 # include <sys/socket.h>
8787 #include <$ac_header>
8789 rm -f conftest.
$ac_objext
8790 if { (ac_try
="$ac_compile"
8792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8793 *) ac_try_echo=$ac_try;;
8795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8796 (eval "$ac_compile") 2>conftest.er1
8798 grep -v '^ *+' conftest.er1 >conftest.err
8800 cat conftest.err >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } &&
8803 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8804 { (case "(($ac_try" in
8805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8806 *) ac_try_echo
=$ac_try;;
8808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8809 (eval "$ac_try") 2>&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); }; } &&
8813 { ac_try
='test -s conftest.$ac_objext'
8814 { (case "(($ac_try" in
8815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8816 *) ac_try_echo=$ac_try;;
8818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8819 (eval "$ac_try") 2>&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); }; }; then
8823 eval "$as_ac_Header=yes"
8825 echo "$as_me: failed program was:" >&5
8826 sed 's/^/| /' conftest.$ac_ext >&5
8828 eval "$as_ac_Header=no"
8831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8833 ac_res=`eval echo '${'$as_ac_Header'}'`
8834 { echo "$as_me:$LINENO: result: $ac_res" >&5
8835 echo "${ECHO_T}$ac_res" >&6; }
8836 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8837 cat >>confdefs.h <<_ACEOF
8838 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8847 for ac_header in resolv.h
8849 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8850 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8852 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8853 echo $ECHO_N "(cached) $ECHO_C" >&6
8855 cat >conftest.$ac_ext <<_ACEOF
8858 cat confdefs.h >>conftest.$ac_ext
8859 cat >>conftest.$ac_ext <<_ACEOF
8860 /* end confdefs.h. */
8861 #include <sys/types.h>
8862 #if HAVE_SYS_SOCKET_H
8863 # include <sys/socket.h>
8865 #if HAVE_NETINET_IN_H
8866 # include <netinet/in.h>
8868 #if HAVE_ARPA_NAMESER_H
8869 # include <arpa/nameser.h>
8872 #include <$ac_header>
8874 rm -f conftest.$ac_objext
8875 if { (ac_try="$ac_compile"
8877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8878 *) ac_try_echo
=$ac_try;;
8880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8881 (eval "$ac_compile") 2>conftest.er1
8883 grep -v '^ *+' conftest.er1
>conftest.err
8885 cat conftest.err
>&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); } &&
8888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8889 { (case "(($ac_try" in
8890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8891 *) ac_try_echo=$ac_try;;
8893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8894 (eval "$ac_try") 2>&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); }; } &&
8898 { ac_try='test -s conftest.$ac_objext'
8899 { (case "(($ac_try" in
8900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8901 *) ac_try_echo
=$ac_try;;
8903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8904 (eval "$ac_try") 2>&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); }; }; then
8908 eval "$as_ac_Header=yes"
8910 echo "$as_me: failed program was:" >&5
8911 sed 's/^/| /' conftest.
$ac_ext >&5
8913 eval "$as_ac_Header=no"
8916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8918 ac_res
=`eval echo '${'$as_ac_Header'}'`
8919 { echo "$as_me:$LINENO: result: $ac_res" >&5
8920 echo "${ECHO_T}$ac_res" >&6; }
8921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8922 cat >>confdefs.h
<<_ACEOF
8923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8932 for ac_header
in ucontext.h
8934 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8935 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8937 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8940 cat >conftest.
$ac_ext <<_ACEOF
8943 cat confdefs.h
>>conftest.
$ac_ext
8944 cat >>conftest.
$ac_ext <<_ACEOF
8945 /* end confdefs.h. */
8948 #include <$ac_header>
8950 rm -f conftest.
$ac_objext
8951 if { (ac_try
="$ac_compile"
8953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8954 *) ac_try_echo=$ac_try;;
8956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8957 (eval "$ac_compile") 2>conftest.er1
8959 grep -v '^ *+' conftest.er1 >conftest.err
8961 cat conftest.err >&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } &&
8964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8965 { (case "(($ac_try" in
8966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8967 *) ac_try_echo
=$ac_try;;
8969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8970 (eval "$ac_try") 2>&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); }; } &&
8974 { ac_try
='test -s conftest.$ac_objext'
8975 { (case "(($ac_try" in
8976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8977 *) ac_try_echo=$ac_try;;
8979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8980 (eval "$ac_try") 2>&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); }; }; then
8984 eval "$as_ac_Header=yes"
8986 echo "$as_me: failed program was:" >&5
8987 sed 's/^/| /' conftest.$ac_ext >&5
8989 eval "$as_ac_Header=no"
8992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8994 ac_res=`eval echo '${'$as_ac_Header'}'`
8995 { echo "$as_me:$LINENO: result: $ac_res" >&5
8996 echo "${ECHO_T}$ac_res" >&6; }
8997 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8998 cat >>confdefs.h <<_ACEOF
8999 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9009 for ac_header in linux/ipx.h linux/videodev.h
9011 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9012 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9015 echo $ECHO_N "(cached) $ECHO_C" >&6
9017 cat >conftest.$ac_ext <<_ACEOF
9020 cat confdefs.h >>conftest.$ac_ext
9021 cat >>conftest.$ac_ext <<_ACEOF
9022 /* end confdefs.h. */
9023 #ifdef HAVE_SYS_TIME_H
9024 #include <sys/time.h>
9026 #include <sys/types.h>
9027 #ifdef HAVE_ASM_TYPES_H
9028 #include <asm/types.h>
9031 #include <$ac_header>
9033 rm -f conftest.$ac_objext
9034 if { (ac_try="$ac_compile"
9036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9037 *) ac_try_echo
=$ac_try;;
9039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9040 (eval "$ac_compile") 2>conftest.er1
9042 grep -v '^ *+' conftest.er1
>conftest.err
9044 cat conftest.err
>&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } &&
9047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9048 { (case "(($ac_try" in
9049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9050 *) ac_try_echo=$ac_try;;
9052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9053 (eval "$ac_try") 2>&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); }; } &&
9057 { ac_try='test -s conftest.$ac_objext'
9058 { (case "(($ac_try" in
9059 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9060 *) ac_try_echo
=$ac_try;;
9062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9063 (eval "$ac_try") 2>&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); }; }; then
9067 eval "$as_ac_Header=yes"
9069 echo "$as_me: failed program was:" >&5
9070 sed 's/^/| /' conftest.
$ac_ext >&5
9072 eval "$as_ac_Header=no"
9075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9077 ac_res
=`eval echo '${'$as_ac_Header'}'`
9078 { echo "$as_me:$LINENO: result: $ac_res" >&5
9079 echo "${ECHO_T}$ac_res" >&6; }
9080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9081 cat >>confdefs.h
<<_ACEOF
9082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9091 for ac_header
in linux
/capi.h
9093 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9096 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9097 echo $ECHO_N "(cached) $ECHO_C" >&6
9099 cat >conftest.
$ac_ext <<_ACEOF
9102 cat confdefs.h
>>conftest.
$ac_ext
9103 cat >>conftest.
$ac_ext <<_ACEOF
9104 /* end confdefs.h. */
9107 #include <$ac_header>
9109 rm -f conftest.
$ac_objext
9110 if { (ac_try
="$ac_compile"
9112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9113 *) ac_try_echo=$ac_try;;
9115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9116 (eval "$ac_compile") 2>conftest.er1
9118 grep -v '^ *+' conftest.er1 >conftest.err
9120 cat conftest.err >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); } &&
9123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9124 { (case "(($ac_try" in
9125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9126 *) ac_try_echo
=$ac_try;;
9128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9129 (eval "$ac_try") 2>&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }; } &&
9133 { ac_try
='test -s conftest.$ac_objext'
9134 { (case "(($ac_try" in
9135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9136 *) ac_try_echo=$ac_try;;
9138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9139 (eval "$ac_try") 2>&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); }; }; then
9143 eval "$as_ac_Header=yes"
9145 echo "$as_me: failed program was:" >&5
9146 sed 's/^/| /' conftest.$ac_ext >&5
9148 eval "$as_ac_Header=no"
9151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9153 ac_res=`eval echo '${'$as_ac_Header'}'`
9154 { echo "$as_me:$LINENO: result: $ac_res" >&5
9155 echo "${ECHO_T}$ac_res" >&6; }
9156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9157 cat >>confdefs.h <<_ACEOF
9158 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9167 if test "$have_x" = "yes"
9170 ac_save_CPPFLAGS="$CPPFLAGS"
9171 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9182 for ac_header in X11/Xlib.h \
9185 X11/extensions/shape.h \
9186 X11/extensions/XInput.h \
9187 X11/extensions/XShm.h \
9188 X11/extensions/Xrandr.h \
9189 X11/extensions/Xrender.h \
9190 X11/extensions/xf86vmode.h
9192 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9193 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9196 echo $ECHO_N "(cached) $ECHO_C" >&6
9198 cat >conftest.$ac_ext <<_ACEOF
9201 cat confdefs.h >>conftest.$ac_ext
9202 cat >>conftest.$ac_ext <<_ACEOF
9203 /* end confdefs.h. */
9204 #ifdef HAVE_X11_XLIB_H
9205 # include <X11/Xlib.h>
9207 #ifdef HAVE_X11_XUTIL_H
9208 # include <X11/Xutil.h>
9211 #include <$ac_header>
9213 rm -f conftest.$ac_objext
9214 if { (ac_try="$ac_compile"
9216 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9217 *) ac_try_echo
=$ac_try;;
9219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9220 (eval "$ac_compile") 2>conftest.er1
9222 grep -v '^ *+' conftest.er1
>conftest.err
9224 cat conftest.err
>&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } &&
9227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9228 { (case "(($ac_try" in
9229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9230 *) ac_try_echo=$ac_try;;
9232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9233 (eval "$ac_try") 2>&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); }; } &&
9237 { ac_try='test -s conftest.$ac_objext'
9238 { (case "(($ac_try" in
9239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9240 *) ac_try_echo
=$ac_try;;
9242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9243 (eval "$ac_try") 2>&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); }; }; then
9247 eval "$as_ac_Header=yes"
9249 echo "$as_me: failed program was:" >&5
9250 sed 's/^/| /' conftest.
$ac_ext >&5
9252 eval "$as_ac_Header=no"
9255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9257 ac_res
=`eval echo '${'$as_ac_Header'}'`
9258 { echo "$as_me:$LINENO: result: $ac_res" >&5
9259 echo "${ECHO_T}$ac_res" >&6; }
9260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9261 cat >>confdefs.h
<<_ACEOF
9262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9270 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9272 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9273 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9274 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9275 echo $ECHO_N "(cached) $ECHO_C" >&6
9277 ac_check_lib_save_LIBS
=$LIBS
9278 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9279 cat >conftest.
$ac_ext <<_ACEOF
9282 cat confdefs.h
>>conftest.
$ac_ext
9283 cat >>conftest.
$ac_ext <<_ACEOF
9284 /* end confdefs.h. */
9286 /* Override any GCC internal prototype to avoid an error.
9287 Use char because int might match the return type of a GCC
9288 builtin and then its argument prototype would still apply. */
9292 char XkbQueryExtension ();
9296 return XkbQueryExtension ();
9301 rm -f conftest.
$ac_objext conftest
$ac_exeext
9302 if { (ac_try
="$ac_link"
9304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9305 *) ac_try_echo=$ac_try;;
9307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9308 (eval "$ac_link") 2>conftest.er1
9310 grep -v '^ *+' conftest.er1 >conftest.err
9312 cat conftest.err >&5
9313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9314 (exit $ac_status); } &&
9315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9316 { (case "(($ac_try" in
9317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9318 *) ac_try_echo
=$ac_try;;
9320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9321 (eval "$ac_try") 2>&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; } &&
9325 { ac_try
='test -s conftest$ac_exeext'
9326 { (case "(($ac_try" in
9327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9328 *) ac_try_echo=$ac_try;;
9330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9331 (eval "$ac_try") 2>&5
9333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9334 (exit $ac_status); }; }; then
9335 ac_cv_lib_X11_XkbQueryExtension=yes
9337 echo "$as_me: failed program was:" >&5
9338 sed 's/^/| /' conftest.$ac_ext >&5
9340 ac_cv_lib_X11_XkbQueryExtension=no
9343 rm -f core conftest.err conftest.$ac_objext \
9344 conftest$ac_exeext conftest.$ac_ext
9345 LIBS=$ac_check_lib_save_LIBS
9347 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9348 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9349 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9351 cat >>confdefs.h <<\_ACEOF
9359 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9361 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9362 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9363 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9364 echo $ECHO_N "(cached) $ECHO_C" >&6
9366 ac_check_lib_save_LIBS=$LIBS
9367 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9368 cat >conftest.$ac_ext <<_ACEOF
9371 cat confdefs.h >>conftest.$ac_ext
9372 cat >>conftest.$ac_ext <<_ACEOF
9373 /* end confdefs.h. */
9375 /* Override any GCC internal prototype to avoid an error.
9376 Use char because int might match the return type of a GCC
9377 builtin and then its argument prototype would still apply. */
9381 char XShmQueryExtension ();
9385 return XShmQueryExtension ();
9390 rm -f conftest.$ac_objext conftest$ac_exeext
9391 if { (ac_try="$ac_link"
9393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9394 *) ac_try_echo
=$ac_try;;
9396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9397 (eval "$ac_link") 2>conftest.er1
9399 grep -v '^ *+' conftest.er1
>conftest.err
9401 cat conftest.err
>&5
9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 (exit $ac_status); } &&
9404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9405 { (case "(($ac_try" in
9406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9407 *) ac_try_echo=$ac_try;;
9409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9410 (eval "$ac_try") 2>&5
9412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); }; } &&
9414 { ac_try='test -s conftest$ac_exeext'
9415 { (case "(($ac_try" in
9416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9417 *) ac_try_echo
=$ac_try;;
9419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9420 (eval "$ac_try") 2>&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); }; }; then
9424 ac_cv_lib_Xext_XShmQueryExtension
=yes
9426 echo "$as_me: failed program was:" >&5
9427 sed 's/^/| /' conftest.
$ac_ext >&5
9429 ac_cv_lib_Xext_XShmQueryExtension
=no
9432 rm -f core conftest.err conftest.
$ac_objext \
9433 conftest
$ac_exeext conftest.
$ac_ext
9434 LIBS
=$ac_check_lib_save_LIBS
9436 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9437 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9438 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9440 cat >>confdefs.h
<<\_ACEOF
9441 #define HAVE_LIBXXSHM 1
9448 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9450 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9451 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9452 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9453 echo $ECHO_N "(cached) $ECHO_C" >&6
9455 ac_check_lib_save_LIBS
=$LIBS
9456 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9457 cat >conftest.
$ac_ext <<_ACEOF
9460 cat confdefs.h
>>conftest.
$ac_ext
9461 cat >>conftest.
$ac_ext <<_ACEOF
9462 /* end confdefs.h. */
9464 /* Override any GCC internal prototype to avoid an error.
9465 Use char because int might match the return type of a GCC
9466 builtin and then its argument prototype would still apply. */
9470 char XShapeQueryExtension ();
9474 return XShapeQueryExtension ();
9479 rm -f conftest.
$ac_objext conftest
$ac_exeext
9480 if { (ac_try
="$ac_link"
9482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9483 *) ac_try_echo=$ac_try;;
9485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9486 (eval "$ac_link") 2>conftest.er1
9488 grep -v '^ *+' conftest.er1 >conftest.err
9490 cat conftest.err >&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); } &&
9493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9494 { (case "(($ac_try" in
9495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9496 *) ac_try_echo
=$ac_try;;
9498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9499 (eval "$ac_try") 2>&5
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 (exit $ac_status); }; } &&
9503 { ac_try
='test -s conftest$ac_exeext'
9504 { (case "(($ac_try" in
9505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9506 *) ac_try_echo=$ac_try;;
9508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9509 (eval "$ac_try") 2>&5
9511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); }; }; then
9513 ac_cv_lib_Xext_XShapeQueryExtension=yes
9515 echo "$as_me: failed program was:" >&5
9516 sed 's/^/| /' conftest.$ac_ext >&5
9518 ac_cv_lib_Xext_XShapeQueryExtension=no
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 LIBS=$ac_check_lib_save_LIBS
9525 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9526 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9527 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9529 cat >>confdefs.h <<\_ACEOF
9530 #define HAVE_LIBXSHAPE 1
9537 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9539 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9540 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9541 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9542 echo $ECHO_N "(cached) $ECHO_C" >&6
9544 ac_check_lib_save_LIBS=$LIBS
9545 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9546 cat >conftest.$ac_ext <<_ACEOF
9549 cat confdefs.h >>conftest.$ac_ext
9550 cat >>conftest.$ac_ext <<_ACEOF
9551 /* end confdefs.h. */
9553 /* Override any GCC internal prototype to avoid an error.
9554 Use char because int might match the return type of a GCC
9555 builtin and then its argument prototype would still apply. */
9559 char XF86VidModeQueryExtension ();
9563 return XF86VidModeQueryExtension ();
9568 rm -f conftest.$ac_objext conftest$ac_exeext
9569 if { (ac_try="$ac_link"
9571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9572 *) ac_try_echo
=$ac_try;;
9574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9575 (eval "$ac_link") 2>conftest.er1
9577 grep -v '^ *+' conftest.er1
>conftest.err
9579 cat conftest.err
>&5
9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 (exit $ac_status); } &&
9582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9583 { (case "(($ac_try" in
9584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9585 *) ac_try_echo=$ac_try;;
9587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9588 (eval "$ac_try") 2>&5
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 (exit $ac_status); }; } &&
9592 { ac_try='test -s conftest$ac_exeext'
9593 { (case "(($ac_try" in
9594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9595 *) ac_try_echo
=$ac_try;;
9597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9598 (eval "$ac_try") 2>&5
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 (exit $ac_status); }; }; then
9602 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9604 echo "$as_me: failed program was:" >&5
9605 sed 's/^/| /' conftest.
$ac_ext >&5
9607 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9610 rm -f core conftest.err conftest.
$ac_objext \
9611 conftest
$ac_exeext conftest.
$ac_ext
9612 LIBS
=$ac_check_lib_save_LIBS
9614 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9615 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9616 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9618 cat >>confdefs.h
<<\_ACEOF
9619 #define HAVE_LIBXXF86VM 1
9622 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
9628 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9630 cat >conftest.
$ac_ext <<_ACEOF
9633 cat confdefs.h
>>conftest.
$ac_ext
9634 cat >>conftest.
$ac_ext <<_ACEOF
9635 /* end confdefs.h. */
9636 #include <X11/Xlib.h>
9637 #include <X11/extensions/Xrandr.h>
9641 static typeof(XRRSetScreenConfigAndRate) * func;
9646 rm -f conftest.
$ac_objext
9647 if { (ac_try
="$ac_compile"
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_compile") 2>conftest.er1
9655 grep -v '^ *+' conftest.er1 >conftest.err
9657 cat conftest.err >&5
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); } &&
9660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9661 { (case "(($ac_try" in
9662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9663 *) ac_try_echo
=$ac_try;;
9665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9666 (eval "$ac_try") 2>&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); }; } &&
9670 { ac_try
='test -s conftest.$ac_objext'
9671 { (case "(($ac_try" in
9672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9673 *) ac_try_echo=$ac_try;;
9675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9676 (eval "$ac_try") 2>&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); }; }; then
9681 cat >>confdefs.h <<\_ACEOF
9682 #define HAVE_LIBXRANDR 1
9686 echo "$as_me: failed program was:" >&5
9687 sed 's/^/| /' conftest.$ac_ext >&5
9692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9695 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9697 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9698 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9699 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9700 echo $ECHO_N "(cached) $ECHO_C" >&6
9702 ac_check_lib_save_LIBS=$LIBS
9703 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9704 cat >conftest.$ac_ext <<_ACEOF
9707 cat confdefs.h >>conftest.$ac_ext
9708 cat >>conftest.$ac_ext <<_ACEOF
9709 /* end confdefs.h. */
9711 /* Override any GCC internal prototype to avoid an error.
9712 Use char because int might match the return type of a GCC
9713 builtin and then its argument prototype would still apply. */
9717 char XRenderSetPictureTransform ();
9721 return XRenderSetPictureTransform ();
9726 rm -f conftest.$ac_objext conftest$ac_exeext
9727 if { (ac_try="$ac_link"
9729 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9730 *) ac_try_echo
=$ac_try;;
9732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9733 (eval "$ac_link") 2>conftest.er1
9735 grep -v '^ *+' conftest.er1
>conftest.err
9737 cat conftest.err
>&5
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); } &&
9740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9741 { (case "(($ac_try" in
9742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9743 *) ac_try_echo=$ac_try;;
9745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9746 (eval "$ac_try") 2>&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); }; } &&
9750 { ac_try='test -s conftest$ac_exeext'
9751 { (case "(($ac_try" in
9752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9753 *) ac_try_echo
=$ac_try;;
9755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9756 (eval "$ac_try") 2>&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); }; }; then
9760 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9762 echo "$as_me: failed program was:" >&5
9763 sed 's/^/| /' conftest.
$ac_ext >&5
9765 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9768 rm -f core conftest.err conftest.
$ac_objext \
9769 conftest
$ac_exeext conftest.
$ac_ext
9770 LIBS
=$ac_check_lib_save_LIBS
9772 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9773 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9774 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9776 cat >>confdefs.h
<<\_ACEOF
9777 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9784 if test "x$with_opengl" != "xno"
9790 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
9792 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9793 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9795 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9796 echo $ECHO_N "(cached) $ECHO_C" >&6
9798 cat >conftest.
$ac_ext <<_ACEOF
9801 cat confdefs.h
>>conftest.
$ac_ext
9802 cat >>conftest.
$ac_ext <<_ACEOF
9803 /* end confdefs.h. */
9804 #ifdef HAVE_GL_GLX_H
9805 # include <GL/glx.h>
9808 #include <$ac_header>
9810 rm -f conftest.
$ac_objext
9811 if { (ac_try
="$ac_compile"
9813 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9814 *) ac_try_echo=$ac_try;;
9816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9817 (eval "$ac_compile") 2>conftest.er1
9819 grep -v '^ *+' conftest.er1 >conftest.err
9821 cat conftest.err >&5
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); } &&
9824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9825 { (case "(($ac_try" in
9826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9827 *) ac_try_echo
=$ac_try;;
9829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9830 (eval "$ac_try") 2>&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); }; } &&
9834 { ac_try
='test -s conftest.$ac_objext'
9835 { (case "(($ac_try" in
9836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9837 *) ac_try_echo=$ac_try;;
9839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9840 (eval "$ac_try") 2>&5
9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 (exit $ac_status); }; }; then
9844 eval "$as_ac_Header=yes"
9846 echo "$as_me: failed program was:" >&5
9847 sed 's/^/| /' conftest.$ac_ext >&5
9849 eval "$as_ac_Header=no"
9852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9854 ac_res=`eval echo '${'$as_ac_Header'}'`
9855 { echo "$as_me:$LINENO: result: $ac_res" >&5
9856 echo "${ECHO_T}$ac_res" >&6; }
9857 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9858 cat >>confdefs.h <<_ACEOF
9859 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9866 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9868 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9869 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9870 if test "${wine_cv_opengl_version_OK+set}" = set; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 cat >conftest.$ac_ext <<_ACEOF
9876 cat confdefs.h >>conftest.$ac_ext
9877 cat >>conftest.$ac_ext <<_ACEOF
9878 /* end confdefs.h. */
9883 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9888 rm -f conftest.$ac_objext
9889 if { (ac_try="$ac_compile"
9891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9892 *) ac_try_echo
=$ac_try;;
9894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9895 (eval "$ac_compile") 2>conftest.er1
9897 grep -v '^ *+' conftest.er1
>conftest.err
9899 cat conftest.err
>&5
9900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901 (exit $ac_status); } &&
9902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9903 { (case "(($ac_try" in
9904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9905 *) ac_try_echo=$ac_try;;
9907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9908 (eval "$ac_try") 2>&5
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); }; } &&
9912 { ac_try='test -s conftest.$ac_objext'
9913 { (case "(($ac_try" in
9914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9915 *) ac_try_echo
=$ac_try;;
9917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9918 (eval "$ac_try") 2>&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); }; }; then
9922 wine_cv_opengl_version_OK
="yes"
9924 echo "$as_me: failed program was:" >&5
9925 sed 's/^/| /' conftest.
$ac_ext >&5
9927 wine_cv_opengl_version_OK
="no"
9931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9934 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
9935 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
9937 if test "$wine_cv_opengl_version_OK" = "yes"
9939 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9940 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9941 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9942 echo $ECHO_N "(cached) $ECHO_C" >&6
9944 ac_check_lib_save_LIBS
=$LIBS
9945 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9946 cat >conftest.
$ac_ext <<_ACEOF
9949 cat confdefs.h
>>conftest.
$ac_ext
9950 cat >>conftest.
$ac_ext <<_ACEOF
9951 /* end confdefs.h. */
9953 /* Override any GCC internal prototype to avoid an error.
9954 Use char because int might match the return type of a GCC
9955 builtin and then its argument prototype would still apply. */
9959 char glXCreateContext ();
9963 return glXCreateContext ();
9968 rm -f conftest.
$ac_objext conftest
$ac_exeext
9969 if { (ac_try
="$ac_link"
9971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9972 *) ac_try_echo=$ac_try;;
9974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9975 (eval "$ac_link") 2>conftest.er1
9977 grep -v '^ *+' conftest.er1 >conftest.err
9979 cat conftest.err >&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); } &&
9982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9983 { (case "(($ac_try" in
9984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9985 *) ac_try_echo
=$ac_try;;
9987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9988 (eval "$ac_try") 2>&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); }; } &&
9992 { ac_try
='test -s conftest$ac_exeext'
9993 { (case "(($ac_try" in
9994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9995 *) ac_try_echo=$ac_try;;
9997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9998 (eval "$ac_try") 2>&5
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); }; }; then
10002 ac_cv_lib_GL_glXCreateContext=yes
10004 echo "$as_me: failed program was:" >&5
10005 sed 's/^/| /' conftest.$ac_ext >&5
10007 ac_cv_lib_GL_glXCreateContext=no
10010 rm -f core conftest.err conftest.$ac_objext \
10011 conftest$ac_exeext conftest.$ac_ext
10012 LIBS=$ac_check_lib_save_LIBS
10014 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
10015 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
10016 if test $ac_cv_lib_GL_glXCreateContext = yes; then
10022 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
10024 OPENGLFILES='$(OPENGLFILES)'
10026 cat >>confdefs.h <<\_ACEOF
10027 #define HAVE_OPENGL 1
10031 if test -f /usr/X11R6/lib/libGL.a
10033 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
10034 This prevents linking to OpenGL. Delete the file and restart configure." >&5
10035 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
10036 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
10037 { (exit 1); exit 1; }; }
10041 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10042 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10043 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10044 echo $ECHO_N "(cached) $ECHO_C" >&6
10046 ac_check_lib_save_LIBS=$LIBS
10047 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10049 cat >conftest.$ac_ext <<_ACEOF
10052 cat confdefs.h >>conftest.$ac_ext
10053 cat >>conftest.$ac_ext <<_ACEOF
10054 /* end confdefs.h. */
10056 /* Override any GCC internal prototype to avoid an error.
10057 Use char because int might match the return type of a GCC
10058 builtin and then its argument prototype would still apply. */
10066 return gluLookAt ();
10071 rm -f conftest.$ac_objext conftest$ac_exeext
10072 if { (ac_try="$ac_link"
10073 case "(($ac_try" in
10074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10075 *) ac_try_echo
=$ac_try;;
10077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10078 (eval "$ac_link") 2>conftest.er1
10080 grep -v '^ *+' conftest.er1
>conftest.err
10082 cat conftest.err
>&5
10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084 (exit $ac_status); } &&
10085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10086 { (case "(($ac_try" in
10087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10088 *) ac_try_echo=$ac_try;;
10090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10091 (eval "$ac_try") 2>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; } &&
10095 { ac_try='test -s conftest$ac_exeext'
10096 { (case "(($ac_try" in
10097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10098 *) ac_try_echo
=$ac_try;;
10100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10101 (eval "$ac_try") 2>&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); }; }; then
10105 ac_cv_lib_GLU_gluLookAt
=yes
10107 echo "$as_me: failed program was:" >&5
10108 sed 's/^/| /' conftest.
$ac_ext >&5
10110 ac_cv_lib_GLU_gluLookAt
=no
10113 rm -f core conftest.err conftest.
$ac_objext \
10114 conftest
$ac_exeext conftest.
$ac_ext
10115 LIBS
=$ac_check_lib_save_LIBS
10117 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10118 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10119 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10120 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
10121 GLU32FILES
='$(GLU32FILES)'
10127 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
10128 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
10129 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
10130 echo $ECHO_N "(cached) $ECHO_C" >&6
10132 ac_check_lib_save_LIBS
=$LIBS
10133 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
10134 cat >conftest.
$ac_ext <<_ACEOF
10137 cat confdefs.h
>>conftest.
$ac_ext
10138 cat >>conftest.
$ac_ext <<_ACEOF
10139 /* end confdefs.h. */
10141 /* Override any GCC internal prototype to avoid an error.
10142 Use char because int might match the return type of a GCC
10143 builtin and then its argument prototype would still apply. */
10147 char glutMainLoop ();
10151 return glutMainLoop ();
10156 rm -f conftest.
$ac_objext conftest
$ac_exeext
10157 if { (ac_try
="$ac_link"
10158 case "(($ac_try" in
10159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10160 *) ac_try_echo=$ac_try;;
10162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10163 (eval "$ac_link") 2>conftest.er1
10165 grep -v '^ *+' conftest.er1 >conftest.err
10167 cat conftest.err >&5
10168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169 (exit $ac_status); } &&
10170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10171 { (case "(($ac_try" in
10172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10173 *) ac_try_echo
=$ac_try;;
10175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10176 (eval "$ac_try") 2>&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; } &&
10180 { ac_try
='test -s conftest$ac_exeext'
10181 { (case "(($ac_try" in
10182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10183 *) ac_try_echo=$ac_try;;
10185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10186 (eval "$ac_try") 2>&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); }; }; then
10190 ac_cv_lib_glut_glutMainLoop=yes
10192 echo "$as_me: failed program was:" >&5
10193 sed 's/^/| /' conftest.$ac_ext >&5
10195 ac_cv_lib_glut_glutMainLoop=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 LIBS=$ac_check_lib_save_LIBS
10202 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
10203 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
10204 if test $ac_cv_lib_glut_glutMainLoop = yes; then
10205 GLUT_LIBS="-lglut -lXmu -lXi"
10207 GLUT32FILES='$(GLUT32FILES)'
10217 for ac_header in audio/audiolib.h
10219 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10224 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 ac_res=`eval echo '${'$as_ac_Header'}'`
10227 { echo "$as_me:$LINENO: result: $ac_res" >&5
10228 echo "${ECHO_T}$ac_res" >&6; }
10230 # Is the header compilable?
10231 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10232 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10233 cat >conftest.$ac_ext <<_ACEOF
10236 cat confdefs.h >>conftest.$ac_ext
10237 cat >>conftest.$ac_ext <<_ACEOF
10238 /* end confdefs.h. */
10239 $ac_includes_default
10240 #include <$ac_header>
10242 rm -f conftest.$ac_objext
10243 if { (ac_try="$ac_compile"
10244 case "(($ac_try" in
10245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10246 *) ac_try_echo
=$ac_try;;
10248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10249 (eval "$ac_compile") 2>conftest.er1
10251 grep -v '^ *+' conftest.er1
>conftest.err
10253 cat conftest.err
>&5
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); } &&
10256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10257 { (case "(($ac_try" in
10258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10259 *) ac_try_echo=$ac_try;;
10261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10262 (eval "$ac_try") 2>&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); }; } &&
10266 { ac_try='test -s conftest.$ac_objext'
10267 { (case "(($ac_try" in
10268 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10269 *) ac_try_echo
=$ac_try;;
10271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10272 (eval "$ac_try") 2>&5
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; }; then
10276 ac_header_compiler
=yes
10278 echo "$as_me: failed program was:" >&5
10279 sed 's/^/| /' conftest.
$ac_ext >&5
10281 ac_header_compiler
=no
10284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10285 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10286 echo "${ECHO_T}$ac_header_compiler" >&6; }
10288 # Is the header present?
10289 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10290 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10291 cat >conftest.
$ac_ext <<_ACEOF
10294 cat confdefs.h
>>conftest.
$ac_ext
10295 cat >>conftest.
$ac_ext <<_ACEOF
10296 /* end confdefs.h. */
10297 #include <$ac_header>
10299 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10300 case "(($ac_try" in
10301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10302 *) ac_try_echo=$ac_try;;
10304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10307 grep -v '^ *+' conftest.er1 >conftest.err
10309 cat conftest.err >&5
10310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10311 (exit $ac_status); } >/dev/null; then
10312 if test -s conftest.err; then
10313 ac_cpp_err=$ac_c_preproc_warn_flag
10314 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10321 if test -z "$ac_cpp_err"; then
10322 ac_header_preproc=yes
10324 echo "$as_me: failed program was:" >&5
10325 sed 's/^/| /' conftest.$ac_ext >&5
10327 ac_header_preproc=no
10330 rm -f conftest.err conftest.$ac_ext
10331 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10332 echo "${ECHO_T}$ac_header_preproc" >&6; }
10334 # So? What about this header?
10335 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10337 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10338 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10340 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10341 ac_header_preproc=yes
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10345 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10347 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10348 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10349 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10350 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10351 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10354 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10355 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10357 ## ------------------------------------ ##
10358 ## Report this to wine-devel@winehq.org ##
10359 ## ------------------------------------ ##
10361 ) | sed "s/^/$as_me: WARNING: /" >&2
10364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10369 eval "$as_ac_Header=\$ac_header_preproc"
10371 ac_res=`eval echo '${'$as_ac_Header'}'`
10372 { echo "$as_me:$LINENO: result: $ac_res" >&5
10373 echo "${ECHO_T}$ac_res" >&6; }
10376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10377 cat >>confdefs.h <<_ACEOF
10378 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10381 for ac_header in audio/soundlib.h
10383 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10387 echo $ECHO_N "(cached) $ECHO_C" >&6
10389 cat >conftest.$ac_ext <<_ACEOF
10392 cat confdefs.h >>conftest.$ac_ext
10393 cat >>conftest.$ac_ext <<_ACEOF
10394 /* end confdefs.h. */
10395 #include <audio/audiolib.h>
10397 #include <$ac_header>
10399 rm -f conftest.$ac_objext
10400 if { (ac_try="$ac_compile"
10401 case "(($ac_try" in
10402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10403 *) ac_try_echo
=$ac_try;;
10405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10406 (eval "$ac_compile") 2>conftest.er1
10408 grep -v '^ *+' conftest.er1
>conftest.err
10410 cat conftest.err
>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); } &&
10413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10414 { (case "(($ac_try" in
10415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10416 *) ac_try_echo=$ac_try;;
10418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10419 (eval "$ac_try") 2>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; } &&
10423 { ac_try='test -s conftest.$ac_objext'
10424 { (case "(($ac_try" in
10425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10426 *) ac_try_echo
=$ac_try;;
10428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10429 (eval "$ac_try") 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; }; then
10433 eval "$as_ac_Header=yes"
10435 echo "$as_me: failed program was:" >&5
10436 sed 's/^/| /' conftest.
$ac_ext >&5
10438 eval "$as_ac_Header=no"
10441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10443 ac_res
=`eval echo '${'$as_ac_Header'}'`
10444 { echo "$as_me:$LINENO: result: $ac_res" >&5
10445 echo "${ECHO_T}$ac_res" >&6; }
10446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10447 cat >>confdefs.h
<<_ACEOF
10448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10455 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10456 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10457 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10458 echo $ECHO_N "(cached) $ECHO_C" >&6
10460 ac_check_lib_save_LIBS
=$LIBS
10461 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_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 AuCreateFlow ();
10479 return AuCreateFlow ();
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_audio_AuCreateFlow=yes
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.$ac_ext >&5
10523 ac_cv_lib_audio_AuCreateFlow=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_audio_AuCreateFlow" >&5
10531 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10532 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10534 cat >>confdefs.h <<\_ACEOF
10538 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10546 CPPFLAGS="$ac_save_CPPFLAGS"
10563 if test "$PKG_CONFIG" != "false"
10565 ac_save_CPPFLAGS="$CPPFLAGS"
10566 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0
2>/dev
/null
`"
10567 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0
2>/dev
/null
`"
10568 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10570 for ac_header in libxml/parser.h
10572 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10574 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10577 echo $ECHO_N "(cached) $ECHO_C" >&6
10579 ac_res=`eval echo '${'$as_ac_Header'}'`
10580 { echo "$as_me:$LINENO: result: $ac_res" >&5
10581 echo "${ECHO_T}$ac_res" >&6; }
10583 # Is the header compilable?
10584 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10585 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10586 cat >conftest.$ac_ext <<_ACEOF
10589 cat confdefs.h >>conftest.$ac_ext
10590 cat >>conftest.$ac_ext <<_ACEOF
10591 /* end confdefs.h. */
10592 $ac_includes_default
10593 #include <$ac_header>
10595 rm -f conftest.$ac_objext
10596 if { (ac_try="$ac_compile"
10597 case "(($ac_try" in
10598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10599 *) ac_try_echo
=$ac_try;;
10601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10602 (eval "$ac_compile") 2>conftest.er1
10604 grep -v '^ *+' conftest.er1
>conftest.err
10606 cat conftest.err
>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); } &&
10609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
10619 { ac_try='test -s conftest.$ac_objext'
10620 { (case "(($ac_try" in
10621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10622 *) ac_try_echo
=$ac_try;;
10624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10625 (eval "$ac_try") 2>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); }; }; then
10629 ac_header_compiler
=yes
10631 echo "$as_me: failed program was:" >&5
10632 sed 's/^/| /' conftest.
$ac_ext >&5
10634 ac_header_compiler
=no
10637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10638 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10639 echo "${ECHO_T}$ac_header_compiler" >&6; }
10641 # Is the header present?
10642 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10644 cat >conftest.
$ac_ext <<_ACEOF
10647 cat confdefs.h
>>conftest.
$ac_ext
10648 cat >>conftest.
$ac_ext <<_ACEOF
10649 /* end confdefs.h. */
10650 #include <$ac_header>
10652 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10653 case "(($ac_try" in
10654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10655 *) ac_try_echo=$ac_try;;
10657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10660 grep -v '^ *+' conftest.er1 >conftest.err
10662 cat conftest.err >&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); } >/dev/null; then
10665 if test -s conftest.err; then
10666 ac_cpp_err=$ac_c_preproc_warn_flag
10667 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10674 if test -z "$ac_cpp_err"; then
10675 ac_header_preproc=yes
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.$ac_ext >&5
10680 ac_header_preproc=no
10683 rm -f conftest.err conftest.$ac_ext
10684 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10685 echo "${ECHO_T}$ac_header_preproc" >&6; }
10687 # So? What about this header?
10688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10694 ac_header_preproc=yes
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10710 ## ------------------------------------ ##
10711 ## Report this to wine-devel@winehq.org ##
10712 ## ------------------------------------ ##
10714 ) | sed "s/^/$as_me: WARNING: /" >&2
10717 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10719 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10720 echo $ECHO_N "(cached) $ECHO_C" >&6
10722 eval "$as_ac_Header=\$ac_header_preproc"
10724 ac_res=`eval echo '${'$as_ac_Header'}'`
10725 { echo "$as_me:$LINENO: result: $ac_res" >&5
10726 echo "${ECHO_T}$ac_res" >&6; }
10729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10730 cat >>confdefs.h <<_ACEOF
10731 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10733 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10734 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10735 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10736 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 ac_check_lib_save_LIBS=$LIBS
10739 LIBS="-lxml2 $ac_xml_libs $LIBS"
10740 cat >conftest.$ac_ext <<_ACEOF
10743 cat confdefs.h >>conftest.$ac_ext
10744 cat >>conftest.$ac_ext <<_ACEOF
10745 /* end confdefs.h. */
10747 /* Override any GCC internal prototype to avoid an error.
10748 Use char because int might match the return type of a GCC
10749 builtin and then its argument prototype would still apply. */
10753 char xmlParseMemory ();
10757 return xmlParseMemory ();
10762 rm -f conftest.$ac_objext conftest$ac_exeext
10763 if { (ac_try="$ac_link"
10764 case "(($ac_try" in
10765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10766 *) ac_try_echo
=$ac_try;;
10768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10769 (eval "$ac_link") 2>conftest.er1
10771 grep -v '^ *+' conftest.er1
>conftest.err
10773 cat conftest.err
>&5
10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775 (exit $ac_status); } &&
10776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10777 { (case "(($ac_try" in
10778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10779 *) ac_try_echo=$ac_try;;
10781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10782 (eval "$ac_try") 2>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); }; } &&
10786 { ac_try='test -s conftest$ac_exeext'
10787 { (case "(($ac_try" in
10788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10789 *) ac_try_echo
=$ac_try;;
10791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10792 (eval "$ac_try") 2>&5
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); }; }; then
10796 ac_cv_lib_xml2_xmlParseMemory
=yes
10798 echo "$as_me: failed program was:" >&5
10799 sed 's/^/| /' conftest.
$ac_ext >&5
10801 ac_cv_lib_xml2_xmlParseMemory
=no
10804 rm -f core conftest.err conftest.
$ac_objext \
10805 conftest
$ac_exeext conftest.
$ac_ext
10806 LIBS
=$ac_check_lib_save_LIBS
10808 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10809 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10810 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10812 cat >>confdefs.h
<<\_ACEOF
10813 #define HAVE_LIBXML2 1
10816 XML2LIBS
="$ac_xml_libs"
10817 XML2INCL
="$ac_xml_cflags"
10820 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10821 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10822 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10823 echo $ECHO_N "(cached) $ECHO_C" >&6
10825 ac_check_lib_save_LIBS
=$LIBS
10826 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10827 cat >conftest.
$ac_ext <<_ACEOF
10830 cat confdefs.h
>>conftest.
$ac_ext
10831 cat >>conftest.
$ac_ext <<_ACEOF
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10840 char xmlReadMemory ();
10844 return xmlReadMemory ();
10849 rm -f conftest.
$ac_objext conftest
$ac_exeext
10850 if { (ac_try
="$ac_link"
10851 case "(($ac_try" in
10852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10853 *) ac_try_echo=$ac_try;;
10855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10856 (eval "$ac_link") 2>conftest.er1
10858 grep -v '^ *+' conftest.er1 >conftest.err
10860 cat conftest.err >&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 (exit $ac_status); } &&
10863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10864 { (case "(($ac_try" in
10865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10866 *) ac_try_echo
=$ac_try;;
10868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10869 (eval "$ac_try") 2>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; } &&
10873 { ac_try
='test -s conftest$ac_exeext'
10874 { (case "(($ac_try" in
10875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10876 *) ac_try_echo=$ac_try;;
10878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10879 (eval "$ac_try") 2>&5
10881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10882 (exit $ac_status); }; }; then
10883 ac_cv_lib_xml2_xmlReadMemory=yes
10885 echo "$as_me: failed program was:" >&5
10886 sed 's/^/| /' conftest.$ac_ext >&5
10888 ac_cv_lib_xml2_xmlReadMemory=no
10891 rm -f core conftest.err conftest.$ac_objext \
10892 conftest$ac_exeext conftest.$ac_ext
10893 LIBS=$ac_check_lib_save_LIBS
10895 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10896 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10897 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10899 cat >>confdefs.h <<\_ACEOF
10900 #define HAVE_XMLREADMEMORY 1
10910 CPPFLAGS="$ac_save_CPPFLAGS"
10911 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
10912 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
10913 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10916 for ac_header in libxslt/pattern.h libxslt/transform.h
10918 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10919 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10921 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10922 echo $ECHO_N "(cached) $ECHO_C" >&6
10924 cat >conftest.$ac_ext <<_ACEOF
10927 cat confdefs.h >>conftest.$ac_ext
10928 cat >>conftest.$ac_ext <<_ACEOF
10929 /* end confdefs.h. */
10930 #ifdef HAVE_LIBXSLT_PATTERN_H
10931 # include <libxslt/pattern.h>
10934 #include <$ac_header>
10936 rm -f conftest.$ac_objext
10937 if { (ac_try="$ac_compile"
10938 case "(($ac_try" in
10939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10940 *) ac_try_echo
=$ac_try;;
10942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10943 (eval "$ac_compile") 2>conftest.er1
10945 grep -v '^ *+' conftest.er1
>conftest.err
10947 cat conftest.err
>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } &&
10950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10951 { (case "(($ac_try" in
10952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10953 *) ac_try_echo=$ac_try;;
10955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10956 (eval "$ac_try") 2>&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); }; } &&
10960 { ac_try='test -s conftest.$ac_objext'
10961 { (case "(($ac_try" in
10962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10963 *) ac_try_echo
=$ac_try;;
10965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10966 (eval "$ac_try") 2>&5
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); }; }; then
10970 eval "$as_ac_Header=yes"
10972 echo "$as_me: failed program was:" >&5
10973 sed 's/^/| /' conftest.
$ac_ext >&5
10975 eval "$as_ac_Header=no"
10978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10980 ac_res
=`eval echo '${'$as_ac_Header'}'`
10981 { echo "$as_me:$LINENO: result: $ac_res" >&5
10982 echo "${ECHO_T}$ac_res" >&6; }
10983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10984 cat >>confdefs.h
<<_ACEOF
10985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10987 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10988 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10989 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10990 echo $ECHO_N "(cached) $ECHO_C" >&6
10992 ac_check_lib_save_LIBS
=$LIBS
10993 LIBS
="-lxslt $ac_xslt_libs $LIBS"
10994 cat >conftest.
$ac_ext <<_ACEOF
10997 cat confdefs.h
>>conftest.
$ac_ext
10998 cat >>conftest.
$ac_ext <<_ACEOF
10999 /* end confdefs.h. */
11001 /* Override any GCC internal prototype to avoid an error.
11002 Use char because int might match the return type of a GCC
11003 builtin and then its argument prototype would still apply. */
11007 char xsltCompilePattern ();
11011 return xsltCompilePattern ();
11016 rm -f conftest.
$ac_objext conftest
$ac_exeext
11017 if { (ac_try
="$ac_link"
11018 case "(($ac_try" in
11019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11020 *) ac_try_echo=$ac_try;;
11022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11023 (eval "$ac_link") 2>conftest.er1
11025 grep -v '^ *+' conftest.er1 >conftest.err
11027 cat conftest.err >&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); } &&
11030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11031 { (case "(($ac_try" in
11032 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11033 *) ac_try_echo
=$ac_try;;
11035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11036 (eval "$ac_try") 2>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); }; } &&
11040 { ac_try
='test -s conftest$ac_exeext'
11041 { (case "(($ac_try" in
11042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11043 *) ac_try_echo=$ac_try;;
11045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11046 (eval "$ac_try") 2>&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); }; }; then
11050 ac_cv_lib_xslt_xsltCompilePattern=yes
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11055 ac_cv_lib_xslt_xsltCompilePattern=no
11058 rm -f core conftest.err conftest.$ac_objext \
11059 conftest$ac_exeext conftest.$ac_ext
11060 LIBS=$ac_check_lib_save_LIBS
11062 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11063 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11064 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11066 cat >>confdefs.h <<\_ACEOF
11067 #define HAVE_LIBXSLT 1
11070 XSLTLIBS="$ac_xslt_libs"
11071 XSLTINCL="$ac_xslt_cflags"
11079 CPPFLAGS="$ac_save_CPPFLAGS"
11084 if test "$PKG_CONFIG" != "false"
11086 ac_save_CPPFLAGS="$CPPFLAGS"
11087 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
11088 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
11089 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11092 for ac_header in dbus/dbus.h hal/libhal.h
11094 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11095 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11096 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11101 ac_res=`eval echo '${'$as_ac_Header'}'`
11102 { echo "$as_me:$LINENO: result: $ac_res" >&5
11103 echo "${ECHO_T}$ac_res" >&6; }
11105 # Is the header compilable?
11106 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11108 cat >conftest.$ac_ext <<_ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 $ac_includes_default
11115 #include <$ac_header>
11117 rm -f conftest.$ac_objext
11118 if { (ac_try="$ac_compile"
11119 case "(($ac_try" in
11120 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11121 *) ac_try_echo
=$ac_try;;
11123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11124 (eval "$ac_compile") 2>conftest.er1
11126 grep -v '^ *+' conftest.er1
>conftest.err
11128 cat conftest.err
>&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); } &&
11131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11132 { (case "(($ac_try" in
11133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11134 *) ac_try_echo=$ac_try;;
11136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11137 (eval "$ac_try") 2>&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); }; } &&
11141 { ac_try='test -s conftest.$ac_objext'
11142 { (case "(($ac_try" in
11143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11144 *) ac_try_echo
=$ac_try;;
11146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11147 (eval "$ac_try") 2>&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }; }; then
11151 ac_header_compiler
=yes
11153 echo "$as_me: failed program was:" >&5
11154 sed 's/^/| /' conftest.
$ac_ext >&5
11156 ac_header_compiler
=no
11159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11160 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11161 echo "${ECHO_T}$ac_header_compiler" >&6; }
11163 # Is the header present?
11164 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11166 cat >conftest.
$ac_ext <<_ACEOF
11169 cat confdefs.h
>>conftest.
$ac_ext
11170 cat >>conftest.
$ac_ext <<_ACEOF
11171 /* end confdefs.h. */
11172 #include <$ac_header>
11174 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11175 case "(($ac_try" in
11176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11177 *) ac_try_echo=$ac_try;;
11179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11180 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11182 grep -v '^ *+' conftest.er1 >conftest.err
11184 cat conftest.err >&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } >/dev/null; then
11187 if test -s conftest.err; then
11188 ac_cpp_err=$ac_c_preproc_warn_flag
11189 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11196 if test -z "$ac_cpp_err"; then
11197 ac_header_preproc=yes
11199 echo "$as_me: failed program was:" >&5
11200 sed 's/^/| /' conftest.$ac_ext >&5
11202 ac_header_preproc=no
11205 rm -f conftest.err conftest.$ac_ext
11206 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11207 echo "${ECHO_T}$ac_header_preproc" >&6; }
11209 # So? What about this header?
11210 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11212 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11213 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11215 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11216 ac_header_preproc=yes
11219 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11220 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11221 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11222 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11223 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11224 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11225 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11226 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11229 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11230 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11232 ## ------------------------------------ ##
11233 ## Report this to wine-devel@winehq.org ##
11234 ## ------------------------------------ ##
11236 ) | sed "s/^/$as_me: WARNING: /" >&2
11239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11244 eval "$as_ac_Header=\$ac_header_preproc"
11246 ac_res=`eval echo '${'$as_ac_Header'}'`
11247 { echo "$as_me:$LINENO: result: $ac_res" >&5
11248 echo "${ECHO_T}$ac_res" >&6; }
11251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11252 cat >>confdefs.h <<_ACEOF
11253 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11260 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11262 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
11263 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
11264 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
11265 echo $ECHO_N "(cached) $ECHO_C" >&6
11267 ac_check_lib_save_LIBS=$LIBS
11269 cat >conftest.$ac_ext <<_ACEOF
11272 cat confdefs.h >>conftest.$ac_ext
11273 cat >>conftest.$ac_ext <<_ACEOF
11274 /* end confdefs.h. */
11276 /* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
11282 char libhal_ctx_new ();
11286 return libhal_ctx_new ();
11291 rm -f conftest.$ac_objext conftest$ac_exeext
11292 if { (ac_try="$ac_link"
11293 case "(($ac_try" in
11294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11295 *) ac_try_echo
=$ac_try;;
11297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11298 (eval "$ac_link") 2>conftest.er1
11300 grep -v '^ *+' conftest.er1
>conftest.err
11302 cat conftest.err
>&5
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); } &&
11305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11306 { (case "(($ac_try" in
11307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11308 *) ac_try_echo=$ac_try;;
11310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11311 (eval "$ac_try") 2>&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); }; } &&
11315 { ac_try='test -s conftest$ac_exeext'
11316 { (case "(($ac_try" in
11317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11318 *) ac_try_echo
=$ac_try;;
11320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11321 (eval "$ac_try") 2>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); }; }; then
11325 ac_cv_lib_hal_libhal_ctx_new
=yes
11327 echo "$as_me: failed program was:" >&5
11328 sed 's/^/| /' conftest.
$ac_ext >&5
11330 ac_cv_lib_hal_libhal_ctx_new
=no
11333 rm -f core conftest.err conftest.
$ac_objext \
11334 conftest
$ac_exeext conftest.
$ac_ext
11335 LIBS
=$ac_check_lib_save_LIBS
11337 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
11338 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
11339 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
11340 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11341 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11342 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11343 echo $ECHO_N "(cached) $ECHO_C" >&6
11345 ac_check_lib_save_LIBS
=$LIBS
11346 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
11347 cat >conftest.
$ac_ext <<_ACEOF
11350 cat confdefs.h
>>conftest.
$ac_ext
11351 cat >>conftest.
$ac_ext <<_ACEOF
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11360 char dbus_connection_close ();
11364 return dbus_connection_close ();
11369 rm -f conftest.
$ac_objext conftest
$ac_exeext
11370 if { (ac_try
="$ac_link"
11371 case "(($ac_try" in
11372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11373 *) ac_try_echo=$ac_try;;
11375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11376 (eval "$ac_link") 2>conftest.er1
11378 grep -v '^ *+' conftest.er1 >conftest.err
11380 cat conftest.err >&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); } &&
11383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11384 { (case "(($ac_try" in
11385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11386 *) ac_try_echo
=$ac_try;;
11388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11389 (eval "$ac_try") 2>&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); }; } &&
11393 { ac_try
='test -s conftest$ac_exeext'
11394 { (case "(($ac_try" in
11395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11396 *) ac_try_echo=$ac_try;;
11398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11399 (eval "$ac_try") 2>&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); }; }; then
11403 ac_cv_lib_dbus_1_dbus_connection_close=yes
11405 echo "$as_me: failed program was:" >&5
11406 sed 's/^/| /' conftest.$ac_ext >&5
11408 ac_cv_lib_dbus_1_dbus_connection_close=no
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11415 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11416 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11417 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11419 cat >>confdefs.h <<\_ACEOF
11420 #define HAVE_LIBHAL 1
11423 HALINCL="$ac_hal_cflags"
11429 CPPFLAGS="$ac_save_CPPFLAGS"
11433 if test "x$with_curses" != "xno"
11435 if test "$ac_cv_header_ncurses_h" = "yes"
11437 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11438 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11439 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11440 echo $ECHO_N "(cached) $ECHO_C" >&6
11442 ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-lncurses $LIBS"
11444 cat >conftest.$ac_ext <<_ACEOF
11447 cat confdefs.h >>conftest.$ac_ext
11448 cat >>conftest.$ac_ext <<_ACEOF
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11466 rm -f conftest.$ac_objext conftest$ac_exeext
11467 if { (ac_try="$ac_link"
11468 case "(($ac_try" in
11469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11470 *) ac_try_echo
=$ac_try;;
11472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11473 (eval "$ac_link") 2>conftest.er1
11475 grep -v '^ *+' conftest.er1
>conftest.err
11477 cat conftest.err
>&5
11478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479 (exit $ac_status); } &&
11480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11481 { (case "(($ac_try" in
11482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11483 *) ac_try_echo=$ac_try;;
11485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11486 (eval "$ac_try") 2>&5
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); }; } &&
11490 { ac_try='test -s conftest$ac_exeext'
11491 { (case "(($ac_try" in
11492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11493 *) ac_try_echo
=$ac_try;;
11495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11496 (eval "$ac_try") 2>&5
11498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11499 (exit $ac_status); }; }; then
11500 ac_cv_lib_ncurses_waddch
=yes
11502 echo "$as_me: failed program was:" >&5
11503 sed 's/^/| /' conftest.
$ac_ext >&5
11505 ac_cv_lib_ncurses_waddch
=no
11508 rm -f core conftest.err conftest.
$ac_objext \
11509 conftest
$ac_exeext conftest.
$ac_ext
11510 LIBS
=$ac_check_lib_save_LIBS
11512 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11513 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11514 if test $ac_cv_lib_ncurses_waddch = yes; then
11516 cat >>confdefs.h
<<\_ACEOF
11517 #define HAVE_LIBNCURSES 1
11520 CURSESLIBS
="-lncurses"
11523 elif test "$ac_cv_header_curses_h" = "yes"
11525 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11526 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11527 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11528 echo $ECHO_N "(cached) $ECHO_C" >&6
11530 ac_check_lib_save_LIBS
=$LIBS
11531 LIBS
="-lcurses $LIBS"
11532 cat >conftest.
$ac_ext <<_ACEOF
11535 cat confdefs.h
>>conftest.
$ac_ext
11536 cat >>conftest.
$ac_ext <<_ACEOF
11537 /* end confdefs.h. */
11539 /* Override any GCC internal prototype to avoid an error.
11540 Use char because int might match the return type of a GCC
11541 builtin and then its argument prototype would still apply. */
11554 rm -f conftest.
$ac_objext conftest
$ac_exeext
11555 if { (ac_try
="$ac_link"
11556 case "(($ac_try" in
11557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11558 *) ac_try_echo=$ac_try;;
11560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11561 (eval "$ac_link") 2>conftest.er1
11563 grep -v '^ *+' conftest.er1 >conftest.err
11565 cat conftest.err >&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } &&
11568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11569 { (case "(($ac_try" in
11570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11571 *) ac_try_echo
=$ac_try;;
11573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11574 (eval "$ac_try") 2>&5
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; } &&
11578 { ac_try
='test -s conftest$ac_exeext'
11579 { (case "(($ac_try" in
11580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11581 *) ac_try_echo=$ac_try;;
11583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11584 (eval "$ac_try") 2>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); }; }; then
11588 ac_cv_lib_curses_waddch=yes
11590 echo "$as_me: failed program was:" >&5
11591 sed 's/^/| /' conftest.$ac_ext >&5
11593 ac_cv_lib_curses_waddch=no
11596 rm -f core conftest.err conftest.$ac_objext \
11597 conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_lib_save_LIBS
11600 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11601 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11602 if test $ac_cv_lib_curses_waddch = yes; then
11604 cat >>confdefs.h <<\_ACEOF
11605 #define HAVE_LIBCURSES 1
11608 CURSESLIBS="-lcurses"
11612 ac_save_LIBS="$LIBS"
11613 LIBS="$LIBS $CURSESLIBS"
11615 for ac_func in mousemask
11617 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11618 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11620 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11621 echo $ECHO_N "(cached) $ECHO_C" >&6
11623 cat >conftest.$ac_ext <<_ACEOF
11626 cat confdefs.h >>conftest.$ac_ext
11627 cat >>conftest.$ac_ext <<_ACEOF
11628 /* end confdefs.h. */
11629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11631 #define $ac_func innocuous_$ac_func
11633 /* System header to define __stub macros and hopefully few prototypes,
11634 which can conflict with char $ac_func (); below.
11635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11636 <limits.h> exists even on freestanding compilers. */
11639 # include <limits.h>
11641 # include <assert.h>
11646 /* Override any GCC internal prototype to avoid an error.
11647 Use char because int might match the return type of a GCC
11648 builtin and then its argument prototype would still apply. */
11653 /* The GNU C library defines this for functions which it implements
11654 to always fail with ENOSYS. Some functions are actually named
11655 something starting with __ and the normal name is an alias. */
11656 #if defined __stub_$ac_func || defined __stub___$ac_func
11663 return $ac_func ();
11668 rm -f conftest.$ac_objext conftest$ac_exeext
11669 if { (ac_try="$ac_link"
11670 case "(($ac_try" in
11671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11672 *) ac_try_echo
=$ac_try;;
11674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11675 (eval "$ac_link") 2>conftest.er1
11677 grep -v '^ *+' conftest.er1
>conftest.err
11679 cat conftest.err
>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); } &&
11682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11683 { (case "(($ac_try" in
11684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11685 *) ac_try_echo=$ac_try;;
11687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11688 (eval "$ac_try") 2>&5
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); }; } &&
11692 { ac_try='test -s conftest$ac_exeext'
11693 { (case "(($ac_try" in
11694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11695 *) ac_try_echo
=$ac_try;;
11697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11698 (eval "$ac_try") 2>&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); }; }; then
11702 eval "$as_ac_var=yes"
11704 echo "$as_me: failed program was:" >&5
11705 sed 's/^/| /' conftest.
$ac_ext >&5
11707 eval "$as_ac_var=no"
11710 rm -f core conftest.err conftest.
$ac_objext \
11711 conftest
$ac_exeext conftest.
$ac_ext
11713 ac_res
=`eval echo '${'$as_ac_var'}'`
11714 { echo "$as_me:$LINENO: result: $ac_res" >&5
11715 echo "${ECHO_T}$ac_res" >&6; }
11716 if test `eval echo '${'$as_ac_var'}'` = yes; then
11717 cat >>confdefs.h
<<_ACEOF
11718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11724 LIBS
="$ac_save_LIBS"
11728 # Extract the first word of "sane-config", so it can be a program name with args.
11729 set dummy sane-config
; ac_word
=$2
11730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11732 if test "${ac_cv_prog_sane_devel+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 if test -n "$sane_devel"; then
11736 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
11738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11739 for as_dir
in $PATH
11742 test -z "$as_dir" && as_dir
=.
11743 for ac_exec_ext
in '' $ac_executable_extensions; do
11744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11745 ac_cv_prog_sane_devel
="sane-config"
11746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11753 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
11756 sane_devel
=$ac_cv_prog_sane_devel
11757 if test -n "$sane_devel"; then
11758 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11759 echo "${ECHO_T}$sane_devel" >&6; }
11761 { echo "$as_me:$LINENO: result: no" >&5
11762 echo "${ECHO_T}no" >&6; }
11770 if test "$sane_devel" != "no"
11772 SANELIBS
="`$sane_devel --libs`"
11773 SANEINCL
="`$sane_devel --cflags`"
11774 ac_save_CPPFLAGS
="$CPPFLAGS"
11775 ac_save_LIBS
="$LIBS"
11776 CPPFLAGS
="$CPPFLAGS $SANEINCL"
11777 LIBS
="$LIBS $SANELIBS"
11778 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11779 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11780 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11781 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11782 echo $ECHO_N "(cached) $ECHO_C" >&6
11784 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11785 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11787 # Is the header compilable?
11788 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11789 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11790 cat >conftest.
$ac_ext <<_ACEOF
11793 cat confdefs.h
>>conftest.
$ac_ext
11794 cat >>conftest.
$ac_ext <<_ACEOF
11795 /* end confdefs.h. */
11796 $ac_includes_default
11797 #include <sane/sane.h>
11799 rm -f conftest.
$ac_objext
11800 if { (ac_try
="$ac_compile"
11801 case "(($ac_try" in
11802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11803 *) ac_try_echo=$ac_try;;
11805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11806 (eval "$ac_compile") 2>conftest.er1
11808 grep -v '^ *+' conftest.er1 >conftest.err
11810 cat conftest.err >&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); } &&
11813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11814 { (case "(($ac_try" in
11815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11816 *) ac_try_echo
=$ac_try;;
11818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11819 (eval "$ac_try") 2>&5
11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11822 (exit $ac_status); }; } &&
11823 { ac_try
='test -s conftest.$ac_objext'
11824 { (case "(($ac_try" in
11825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11826 *) ac_try_echo=$ac_try;;
11828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11829 (eval "$ac_try") 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; }; then
11833 ac_header_compiler=yes
11835 echo "$as_me: failed program was:" >&5
11836 sed 's/^/| /' conftest.$ac_ext >&5
11838 ac_header_compiler=no
11841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11842 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11843 echo "${ECHO_T}$ac_header_compiler" >&6; }
11845 # Is the header present?
11846 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11847 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11848 cat >conftest.$ac_ext <<_ACEOF
11851 cat confdefs.h >>conftest.$ac_ext
11852 cat >>conftest.$ac_ext <<_ACEOF
11853 /* end confdefs.h. */
11854 #include <sane/sane.h>
11856 if { (ac_try="$ac_cpp conftest.$ac_ext"
11857 case "(($ac_try" in
11858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11859 *) ac_try_echo
=$ac_try;;
11861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11862 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11864 grep -v '^ *+' conftest.er1
>conftest.err
11866 cat conftest.err
>&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); } >/dev
/null
; then
11869 if test -s conftest.err
; then
11870 ac_cpp_err
=$ac_c_preproc_warn_flag
11871 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11878 if test -z "$ac_cpp_err"; then
11879 ac_header_preproc
=yes
11881 echo "$as_me: failed program was:" >&5
11882 sed 's/^/| /' conftest.
$ac_ext >&5
11884 ac_header_preproc
=no
11887 rm -f conftest.err conftest.
$ac_ext
11888 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11889 echo "${ECHO_T}$ac_header_preproc" >&6; }
11891 # So? What about this header?
11892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11894 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11895 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11896 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11897 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11898 ac_header_preproc
=yes
11901 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11902 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11903 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11904 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11905 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11906 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11907 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11908 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11909 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11910 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11911 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11912 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11914 ## ------------------------------------ ##
11915 ## Report this to wine-devel@winehq.org ##
11916 ## ------------------------------------ ##
11918 ) |
sed "s/^/$as_me: WARNING: /" >&2
11921 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11922 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11923 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 ac_cv_header_sane_sane_h
=$ac_header_preproc
11928 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11929 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11932 if test $ac_cv_header_sane_sane_h = yes; then
11933 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11934 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11935 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6
11938 ac_check_lib_save_LIBS
=$LIBS
11939 LIBS
="-lsane $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 sane_open ();
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_sane_sane_open=yes
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.$ac_ext >&5
12001 ac_cv_lib_sane_sane_open=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_sane_sane_open" >&5
12009 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
12010 if test $ac_cv_lib_sane_sane_open = yes; then
12012 cat >>confdefs.h <<\_ACEOF
12013 #define HAVE_SANE 1
12027 LIBS="$ac_save_LIBS"
12028 CPPFLAGS="$ac_save_CPPFLAGS"
12031 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12032 set dummy gphoto2-config; ac_word=$2
12033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12035 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12036 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 if test -n "$gphoto2_devel"; then
12039 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12042 for as_dir in $PATH
12045 test -z "$as_dir" && as_dir=.
12046 for ac_exec_ext in '' $ac_executable_extensions; do
12047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12048 ac_cv_prog_gphoto2_devel="gphoto2-config"
12049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12056 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12059 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12060 if test -n "$gphoto2_devel"; then
12061 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12062 echo "${ECHO_T}$gphoto2_devel" >&6; }
12064 { echo "$as_me:$LINENO: result: no" >&5
12065 echo "${ECHO_T}no" >&6; }
12069 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12070 set dummy gphoto2-port-config; ac_word=$2
12071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12073 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 if test -n "$gphoto2port_devel"; then
12077 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12080 for as_dir in $PATH
12083 test -z "$as_dir" && as_dir=.
12084 for ac_exec_ext in '' $ac_executable_extensions; do
12085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12086 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12094 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12097 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12098 if test -n "$gphoto2port_devel"; then
12099 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12100 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12102 { echo "$as_me:$LINENO: result: no" >&5
12103 echo "${ECHO_T}no" >&6; }
12111 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12113 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12115 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12118 -L/usr/lib|-L/usr/lib64) ;;
12119 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
12122 ac_save_CPPFLAGS="$CPPFLAGS"
12123 ac_save_LIBS="$LIBS"
12124 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
12125 LIBS="$LIBS $GPHOTO2LIBS"
12126 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12127 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12128 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12129 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12130 echo $ECHO_N "(cached) $ECHO_C" >&6
12132 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12133 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12135 # Is the header compilable?
12136 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12137 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12138 cat >conftest.$ac_ext <<_ACEOF
12141 cat confdefs.h >>conftest.$ac_ext
12142 cat >>conftest.$ac_ext <<_ACEOF
12143 /* end confdefs.h. */
12144 $ac_includes_default
12145 #include <gphoto2-camera.h>
12147 rm -f conftest.$ac_objext
12148 if { (ac_try="$ac_compile"
12149 case "(($ac_try" in
12150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12151 *) ac_try_echo
=$ac_try;;
12153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12154 (eval "$ac_compile") 2>conftest.er1
12156 grep -v '^ *+' conftest.er1
>conftest.err
12158 cat conftest.err
>&5
12159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12160 (exit $ac_status); } &&
12161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12162 { (case "(($ac_try" in
12163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12164 *) ac_try_echo=$ac_try;;
12166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12167 (eval "$ac_try") 2>&5
12169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12170 (exit $ac_status); }; } &&
12171 { ac_try='test -s conftest.$ac_objext'
12172 { (case "(($ac_try" in
12173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12174 *) ac_try_echo
=$ac_try;;
12176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12177 (eval "$ac_try") 2>&5
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); }; }; then
12181 ac_header_compiler
=yes
12183 echo "$as_me: failed program was:" >&5
12184 sed 's/^/| /' conftest.
$ac_ext >&5
12186 ac_header_compiler
=no
12189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12190 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12191 echo "${ECHO_T}$ac_header_compiler" >&6; }
12193 # Is the header present?
12194 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12195 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12196 cat >conftest.
$ac_ext <<_ACEOF
12199 cat confdefs.h
>>conftest.
$ac_ext
12200 cat >>conftest.
$ac_ext <<_ACEOF
12201 /* end confdefs.h. */
12202 #include <gphoto2-camera.h>
12204 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12205 case "(($ac_try" in
12206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12207 *) ac_try_echo=$ac_try;;
12209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12212 grep -v '^ *+' conftest.er1 >conftest.err
12214 cat conftest.err >&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } >/dev/null; then
12217 if test -s conftest.err; then
12218 ac_cpp_err=$ac_c_preproc_warn_flag
12219 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12226 if test -z "$ac_cpp_err"; then
12227 ac_header_preproc=yes
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.$ac_ext >&5
12232 ac_header_preproc=no
12235 rm -f conftest.err conftest.$ac_ext
12236 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12237 echo "${ECHO_T}$ac_header_preproc" >&6; }
12239 # So? What about this header?
12240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12242 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12243 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12244 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12245 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12246 ac_header_preproc=yes
12249 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12250 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12251 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12252 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12253 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12254 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12255 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12256 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12257 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12258 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12259 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12260 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12262 ## ------------------------------------ ##
12263 ## Report this to wine-devel@winehq.org ##
12264 ## ------------------------------------ ##
12266 ) | sed "s/^/$as_me: WARNING: /" >&2
12269 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12270 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12271 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12272 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12276 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12277 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12280 if test $ac_cv_header_gphoto2_camera_h = yes; then
12281 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12282 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12283 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12284 echo $ECHO_N "(cached) $ECHO_C" >&6
12286 ac_check_lib_save_LIBS=$LIBS
12287 LIBS="-lgphoto2 $LIBS"
12288 cat >conftest.$ac_ext <<_ACEOF
12291 cat confdefs.h >>conftest.$ac_ext
12292 cat >>conftest.$ac_ext <<_ACEOF
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12301 char gp_camera_new ();
12305 return gp_camera_new ();
12310 rm -f conftest.$ac_objext conftest$ac_exeext
12311 if { (ac_try="$ac_link"
12312 case "(($ac_try" in
12313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12314 *) ac_try_echo
=$ac_try;;
12316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12317 (eval "$ac_link") 2>conftest.er1
12319 grep -v '^ *+' conftest.er1
>conftest.err
12321 cat conftest.err
>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } &&
12324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12325 { (case "(($ac_try" in
12326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12327 *) ac_try_echo=$ac_try;;
12329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12330 (eval "$ac_try") 2>&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; } &&
12334 { ac_try='test -s conftest$ac_exeext'
12335 { (case "(($ac_try" in
12336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12337 *) ac_try_echo
=$ac_try;;
12339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12340 (eval "$ac_try") 2>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; }; then
12344 ac_cv_lib_gphoto2_gp_camera_new
=yes
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.
$ac_ext >&5
12349 ac_cv_lib_gphoto2_gp_camera_new
=no
12352 rm -f core conftest.err conftest.
$ac_objext \
12353 conftest
$ac_exeext conftest.
$ac_ext
12354 LIBS
=$ac_check_lib_save_LIBS
12356 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12357 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12358 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12360 cat >>confdefs.h
<<\_ACEOF
12361 #define HAVE_GPHOTO2 1
12375 LIBS
="$ac_save_LIBS"
12376 CPPFLAGS
="$ac_save_CPPFLAGS"
12379 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12382 for i
in ${ICU_LIB_DIR-/usr/lib}/libsicu
${ICU_LIB_DIR-/usr/lib}/libicu
12384 TEST_ICUUC_LIB
="${ICUUC_LIB-${i}uc.a}"
12385 TEST_ICUDATA_LIB
="${ICUDATA_LIB-${i}data.a}"
12386 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
12387 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
12388 LIBS
="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12389 cat >conftest.
$ac_ext <<_ACEOF
12392 cat confdefs.h
>>conftest.
$ac_ext
12393 cat >>conftest.
$ac_ext <<_ACEOF
12394 /* end confdefs.h. */
12395 #include <unicode/ubidi.h>
12404 rm -f conftest.
$ac_objext conftest
$ac_exeext
12405 if { (ac_try
="$ac_link"
12406 case "(($ac_try" in
12407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12408 *) ac_try_echo=$ac_try;;
12410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12411 (eval "$ac_link") 2>conftest.er1
12413 grep -v '^ *+' conftest.er1 >conftest.err
12415 cat conftest.err >&5
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 (exit $ac_status); } &&
12418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12419 { (case "(($ac_try" in
12420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12421 *) ac_try_echo
=$ac_try;;
12423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12424 (eval "$ac_try") 2>&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); }; } &&
12428 { ac_try
='test -s conftest$ac_exeext'
12429 { (case "(($ac_try" in
12430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12431 *) ac_try_echo=$ac_try;;
12433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12434 (eval "$ac_try") 2>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; }; then
12439 cat >>confdefs.h <<\_ACEOF
12443 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12445 { echo "$as_me:$LINENO: result: yes" >&5
12446 echo "${ECHO_T}yes" >&6; }
12448 echo "$as_me: failed program was:" >&5
12449 sed 's/^/| /' conftest.$ac_ext >&5
12451 { echo "$as_me:$LINENO: result: no" >&5
12452 echo "${ECHO_T}no" >&6; }
12455 rm -f core conftest.err conftest.$ac_objext \
12456 conftest$ac_exeext conftest.$ac_ext
12463 if test "$ac_cv_header_resolv_h" = "yes"
12465 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12466 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12467 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12468 echo $ECHO_N "(cached) $ECHO_C" >&6
12470 ac_check_lib_save_LIBS=$LIBS
12471 LIBS="-lresolv $LIBS"
12472 cat >conftest.$ac_ext <<_ACEOF
12475 cat confdefs.h >>conftest.$ac_ext
12476 cat >>conftest.$ac_ext <<_ACEOF
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12489 return res_query ();
12494 rm -f conftest.$ac_objext conftest$ac_exeext
12495 if { (ac_try="$ac_link"
12496 case "(($ac_try" in
12497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12498 *) ac_try_echo
=$ac_try;;
12500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12501 (eval "$ac_link") 2>conftest.er1
12503 grep -v '^ *+' conftest.er1
>conftest.err
12505 cat conftest.err
>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); } &&
12508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12509 { (case "(($ac_try" in
12510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12511 *) ac_try_echo=$ac_try;;
12513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12514 (eval "$ac_try") 2>&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); }; } &&
12518 { ac_try='test -s conftest$ac_exeext'
12519 { (case "(($ac_try" in
12520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12521 *) ac_try_echo
=$ac_try;;
12523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12524 (eval "$ac_try") 2>&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); }; }; then
12528 ac_cv_lib_resolv_res_query
=yes
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.
$ac_ext >&5
12533 ac_cv_lib_resolv_res_query
=no
12536 rm -f core conftest.err conftest.
$ac_objext \
12537 conftest
$ac_exeext conftest.
$ac_ext
12538 LIBS
=$ac_check_lib_save_LIBS
12540 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12541 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12542 if test $ac_cv_lib_resolv_res_query = yes; then
12544 cat >>confdefs.h
<<\_ACEOF
12545 #define HAVE_RESOLV 1
12548 RESOLVLIBS
="-lresolv"
12555 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12557 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12558 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12559 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12560 echo $ECHO_N "(cached) $ECHO_C" >&6
12562 ac_check_lib_save_LIBS
=$LIBS
12563 LIBS
="-llcms $LIBS"
12564 cat >conftest.
$ac_ext <<_ACEOF
12567 cat confdefs.h
>>conftest.
$ac_ext
12568 cat >>conftest.
$ac_ext <<_ACEOF
12569 /* end confdefs.h. */
12571 /* Override any GCC internal prototype to avoid an error.
12572 Use char because int might match the return type of a GCC
12573 builtin and then its argument prototype would still apply. */
12577 char cmsOpenProfileFromFile ();
12581 return cmsOpenProfileFromFile ();
12586 rm -f conftest.
$ac_objext conftest
$ac_exeext
12587 if { (ac_try
="$ac_link"
12588 case "(($ac_try" in
12589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12590 *) ac_try_echo=$ac_try;;
12592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12593 (eval "$ac_link") 2>conftest.er1
12595 grep -v '^ *+' conftest.er1 >conftest.err
12597 cat conftest.err >&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); } &&
12600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12601 { (case "(($ac_try" in
12602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12603 *) ac_try_echo
=$ac_try;;
12605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12606 (eval "$ac_try") 2>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); }; } &&
12610 { ac_try
='test -s conftest$ac_exeext'
12611 { (case "(($ac_try" in
12612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12613 *) ac_try_echo=$ac_try;;
12615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12616 (eval "$ac_try") 2>&5
12618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12619 (exit $ac_status); }; }; then
12620 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12622 echo "$as_me: failed program was:" >&5
12623 sed 's/^/| /' conftest.$ac_ext >&5
12625 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12628 rm -f core conftest.err conftest.$ac_objext \
12629 conftest$ac_exeext conftest.$ac_ext
12630 LIBS=$ac_check_lib_save_LIBS
12632 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12633 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12634 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12636 cat >>confdefs.h <<\_ACEOF
12637 #define HAVE_LCMS 1
12647 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12649 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12650 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12651 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12652 echo $ECHO_N "(cached) $ECHO_C" >&6
12654 ac_check_lib_save_LIBS=$LIBS
12655 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12656 cat >conftest.$ac_ext <<_ACEOF
12659 cat confdefs.h >>conftest.$ac_ext
12660 cat >>conftest.$ac_ext <<_ACEOF
12661 /* end confdefs.h. */
12663 /* Override any GCC internal prototype to avoid an error.
12664 Use char because int might match the return type of a GCC
12665 builtin and then its argument prototype would still apply. */
12669 char ldap_initialize ();
12673 return ldap_initialize ();
12678 rm -f conftest.$ac_objext conftest$ac_exeext
12679 if { (ac_try="$ac_link"
12680 case "(($ac_try" in
12681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12682 *) ac_try_echo
=$ac_try;;
12684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12685 (eval "$ac_link") 2>conftest.er1
12687 grep -v '^ *+' conftest.er1
>conftest.err
12689 cat conftest.err
>&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); } &&
12692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12693 { (case "(($ac_try" in
12694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12695 *) ac_try_echo=$ac_try;;
12697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12698 (eval "$ac_try") 2>&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); }; } &&
12702 { ac_try='test -s conftest$ac_exeext'
12703 { (case "(($ac_try" in
12704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12705 *) ac_try_echo
=$ac_try;;
12707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12708 (eval "$ac_try") 2>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; }; then
12712 ac_cv_lib_ldap_r_ldap_initialize
=yes
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.
$ac_ext >&5
12717 ac_cv_lib_ldap_r_ldap_initialize
=no
12720 rm -f core conftest.err conftest.
$ac_objext \
12721 conftest
$ac_exeext conftest.
$ac_ext
12722 LIBS
=$ac_check_lib_save_LIBS
12724 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12725 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12726 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12727 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12728 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12729 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12730 echo $ECHO_N "(cached) $ECHO_C" >&6
12732 ac_check_lib_save_LIBS
=$LIBS
12733 LIBS
="-llber $LIBPTHREAD $LIBS"
12734 cat >conftest.
$ac_ext <<_ACEOF
12737 cat confdefs.h
>>conftest.
$ac_ext
12738 cat >>conftest.
$ac_ext <<_ACEOF
12739 /* end confdefs.h. */
12741 /* Override any GCC internal prototype to avoid an error.
12742 Use char because int might match the return type of a GCC
12743 builtin and then its argument prototype would still apply. */
12751 return ber_init ();
12756 rm -f conftest.
$ac_objext conftest
$ac_exeext
12757 if { (ac_try
="$ac_link"
12758 case "(($ac_try" in
12759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12760 *) ac_try_echo=$ac_try;;
12762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12763 (eval "$ac_link") 2>conftest.er1
12765 grep -v '^ *+' conftest.er1 >conftest.err
12767 cat conftest.err >&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); } &&
12770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12771 { (case "(($ac_try" in
12772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12773 *) ac_try_echo
=$ac_try;;
12775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12776 (eval "$ac_try") 2>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); }; } &&
12780 { ac_try
='test -s conftest$ac_exeext'
12781 { (case "(($ac_try" in
12782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12783 *) ac_try_echo=$ac_try;;
12785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12786 (eval "$ac_try") 2>&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); }; }; then
12790 ac_cv_lib_lber_ber_init=yes
12792 echo "$as_me: failed program was:" >&5
12793 sed 's/^/| /' conftest.$ac_ext >&5
12795 ac_cv_lib_lber_ber_init=no
12798 rm -f core conftest.err conftest.$ac_objext \
12799 conftest$ac_exeext conftest.$ac_ext
12800 LIBS=$ac_check_lib_save_LIBS
12802 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12803 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12804 if test $ac_cv_lib_lber_ber_init = yes; then
12806 cat >>confdefs.h <<\_ACEOF
12807 #define HAVE_LDAP 1
12810 LDAPLIBS="-lldap_r -llber"
12815 ac_wine_check_funcs_save_LIBS="$LIBS"
12816 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12822 ldap_count_references \
12823 ldap_first_reference \
12824 ldap_next_reference \
12825 ldap_parse_reference
12827 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12828 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12830 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12831 echo $ECHO_N "(cached) $ECHO_C" >&6
12833 cat >conftest.$ac_ext <<_ACEOF
12836 cat confdefs.h >>conftest.$ac_ext
12837 cat >>conftest.$ac_ext <<_ACEOF
12838 /* end confdefs.h. */
12839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12841 #define $ac_func innocuous_$ac_func
12843 /* System header to define __stub macros and hopefully few prototypes,
12844 which can conflict with char $ac_func (); below.
12845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12846 <limits.h> exists even on freestanding compilers. */
12849 # include <limits.h>
12851 # include <assert.h>
12856 /* Override any GCC internal prototype to avoid an error.
12857 Use char because int might match the return type of a GCC
12858 builtin and then its argument prototype would still apply. */
12863 /* The GNU C library defines this for functions which it implements
12864 to always fail with ENOSYS. Some functions are actually named
12865 something starting with __ and the normal name is an alias. */
12866 #if defined __stub_$ac_func || defined __stub___$ac_func
12873 return $ac_func ();
12878 rm -f conftest.$ac_objext conftest$ac_exeext
12879 if { (ac_try="$ac_link"
12880 case "(($ac_try" in
12881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12882 *) ac_try_echo
=$ac_try;;
12884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12885 (eval "$ac_link") 2>conftest.er1
12887 grep -v '^ *+' conftest.er1
>conftest.err
12889 cat conftest.err
>&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); } &&
12892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12893 { (case "(($ac_try" in
12894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12895 *) ac_try_echo=$ac_try;;
12897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12898 (eval "$ac_try") 2>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); }; } &&
12902 { ac_try='test -s conftest$ac_exeext'
12903 { (case "(($ac_try" in
12904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12905 *) ac_try_echo
=$ac_try;;
12907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12908 (eval "$ac_try") 2>&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; }; then
12912 eval "$as_ac_var=yes"
12914 echo "$as_me: failed program was:" >&5
12915 sed 's/^/| /' conftest.
$ac_ext >&5
12917 eval "$as_ac_var=no"
12920 rm -f core conftest.err conftest.
$ac_objext \
12921 conftest
$ac_exeext conftest.
$ac_ext
12923 ac_res
=`eval echo '${'$as_ac_var'}'`
12924 { echo "$as_me:$LINENO: result: $ac_res" >&5
12925 echo "${ECHO_T}$ac_res" >&6; }
12926 if test `eval echo '${'$as_ac_var'}'` = yes; then
12927 cat >>confdefs.h
<<_ACEOF
12928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12934 LIBS
="$ac_wine_check_funcs_save_LIBS"
12941 # Extract the first word of "freetype-config", so it can be a program name with args.
12942 set dummy freetype-config
; ac_word
=$2
12943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12945 if test "${ac_cv_prog_ft_devel+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 if test -n "$ft_devel"; then
12949 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
12951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12952 for as_dir
in $PATH
12955 test -z "$as_dir" && as_dir
=.
12956 for ac_exec_ext
in '' $ac_executable_extensions; do
12957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12958 ac_cv_prog_ft_devel
="freetype-config"
12959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12966 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
12969 ft_devel
=$ac_cv_prog_ft_devel
12970 if test -n "$ft_devel"; then
12971 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12972 echo "${ECHO_T}$ft_devel" >&6; }
12974 { echo "$as_me:$LINENO: result: no" >&5
12975 echo "${ECHO_T}no" >&6; }
12979 if test "$ft_devel" = "no"
12981 # Extract the first word of "freetype2-config", so it can be a program name with args.
12982 set dummy freetype2-config
; ac_word
=$2
12983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12985 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12986 echo $ECHO_N "(cached) $ECHO_C" >&6
12988 if test -n "$ft_devel2"; then
12989 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
12991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12992 for as_dir
in $PATH
12995 test -z "$as_dir" && as_dir
=.
12996 for ac_exec_ext
in '' $ac_executable_extensions; do
12997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12998 ac_cv_prog_ft_devel2
="freetype2-config"
12999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13006 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
13009 ft_devel2
=$ac_cv_prog_ft_devel2
13010 if test -n "$ft_devel2"; then
13011 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
13012 echo "${ECHO_T}$ft_devel2" >&6; }
13014 { echo "$as_me:$LINENO: result: no" >&5
13015 echo "${ECHO_T}no" >&6; }
13019 if test "$ft_devel2" = "freetype2-config"
13021 ft_devel
=$ft_devel2
13025 if test "$ft_devel" = "no"
13027 wine_cv_msg_freetype
=yes
13029 FREETYPELIBS
=`$ft_devel --libs`
13030 FREETYPEINCL
=`$ft_devel --cflags`
13031 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
13032 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
13033 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 ac_check_lib_save_LIBS
=$LIBS
13037 LIBS
="-lfreetype $FREETYPELIBS $LIBS"
13038 cat >conftest.
$ac_ext <<_ACEOF
13041 cat confdefs.h
>>conftest.
$ac_ext
13042 cat >>conftest.
$ac_ext <<_ACEOF
13043 /* end confdefs.h. */
13045 /* Override any GCC internal prototype to avoid an error.
13046 Use char because int might match the return type of a GCC
13047 builtin and then its argument prototype would still apply. */
13051 char FT_Init_FreeType ();
13055 return FT_Init_FreeType ();
13060 rm -f conftest.
$ac_objext conftest
$ac_exeext
13061 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
13069 grep -v '^ *+' conftest.er1 >conftest.err
13071 cat conftest.err >&5
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); } &&
13074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13075 { (case "(($ac_try" in
13076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13077 *) ac_try_echo
=$ac_try;;
13079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13080 (eval "$ac_try") 2>&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }; } &&
13084 { ac_try
='test -s conftest$ac_exeext'
13085 { (case "(($ac_try" in
13086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13087 *) ac_try_echo=$ac_try;;
13089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13090 (eval "$ac_try") 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }; }; then
13094 ac_cv_lib_freetype_FT_Init_FreeType=yes
13096 echo "$as_me: failed program was:" >&5
13097 sed 's/^/| /' conftest.$ac_ext >&5
13099 ac_cv_lib_freetype_FT_Init_FreeType=no
13102 rm -f core conftest.err conftest.$ac_objext \
13103 conftest$ac_exeext conftest.$ac_ext
13104 LIBS=$ac_check_lib_save_LIBS
13106 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
13107 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
13108 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
13114 if test "$ft_lib" = "no"
13116 wine_cv_msg_freetype=yes
13120 ac_save_CPPFLAGS="$CPPFLAGS"
13121 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
13133 for ac_header in ft2build.h \
13134 freetype/freetype.h \
13135 freetype/ftglyph.h \
13136 freetype/tttables.h \
13137 freetype/ftnames.h \
13138 freetype/ftsnames.h \
13139 freetype/ttnameid.h \
13140 freetype/ftoutln.h \
13141 freetype/ftwinfnt.h \
13142 freetype/ftmodapi.h \
13143 freetype/internal/sfnt.h
13145 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13146 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13151 cat >conftest.$ac_ext <<_ACEOF
13154 cat confdefs.h >>conftest.$ac_ext
13155 cat >>conftest.$ac_ext <<_ACEOF
13156 /* end confdefs.h. */
13157 #if HAVE_FT2BUILD_H
13158 #include <ft2build.h>
13161 #include <$ac_header>
13163 rm -f conftest.$ac_objext
13164 if { (ac_try="$ac_compile"
13165 case "(($ac_try" in
13166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13167 *) ac_try_echo
=$ac_try;;
13169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13170 (eval "$ac_compile") 2>conftest.er1
13172 grep -v '^ *+' conftest.er1
>conftest.err
13174 cat conftest.err
>&5
13175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176 (exit $ac_status); } &&
13177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13178 { (case "(($ac_try" in
13179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13180 *) ac_try_echo=$ac_try;;
13182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13183 (eval "$ac_try") 2>&5
13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); }; } &&
13187 { ac_try='test -s conftest.$ac_objext'
13188 { (case "(($ac_try" in
13189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13190 *) ac_try_echo
=$ac_try;;
13192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13193 (eval "$ac_try") 2>&5
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); }; }; then
13197 eval "$as_ac_Header=yes"
13199 echo "$as_me: failed program was:" >&5
13200 sed 's/^/| /' conftest.
$ac_ext >&5
13202 eval "$as_ac_Header=no"
13205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13207 ac_res
=`eval echo '${'$as_ac_Header'}'`
13208 { echo "$as_me:$LINENO: result: $ac_res" >&5
13209 echo "${ECHO_T}$ac_res" >&6; }
13210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13211 cat >>confdefs.h
<<_ACEOF
13212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13219 cat >conftest.
$ac_ext <<_ACEOF
13222 cat confdefs.h
>>conftest.
$ac_ext
13223 cat >>conftest.
$ac_ext <<_ACEOF
13224 /* end confdefs.h. */
13225 #include <ft2build.h>
13226 #include <freetype/fttrigon.h>
13228 if { (ac_try
="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
13236 grep -v '^ *+' conftest.er1 >conftest.err
13238 cat conftest.err >&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); } >/dev/null; then
13241 if test -s conftest.err; then
13242 ac_cpp_err=$ac_c_preproc_warn_flag
13243 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13250 if test -z "$ac_cpp_err"; then
13252 cat >>confdefs.h <<\_ACEOF
13253 #define HAVE_FREETYPE_FTTRIGON_H 1
13256 wine_cv_fttrigon=yes
13258 echo "$as_me: failed program was:" >&5
13259 sed 's/^/| /' conftest.$ac_ext >&5
13261 wine_cv_fttrigon=no
13264 rm -f conftest.err conftest.$ac_ext
13265 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13266 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13267 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13268 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 cat >conftest.$ac_ext <<_ACEOF
13273 cat confdefs.h >>conftest.$ac_ext
13274 cat >>conftest.$ac_ext <<_ACEOF
13275 /* end confdefs.h. */
13276 #include <freetype/ftmodapi.h>
13278 typedef FT_TrueTypeEngineType ac__type_new_;
13282 if ((ac__type_new_ *) 0)
13284 if (sizeof (ac__type_new_))
13290 rm -f conftest.$ac_objext
13291 if { (ac_try="$ac_compile"
13292 case "(($ac_try" in
13293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13294 *) ac_try_echo
=$ac_try;;
13296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13297 (eval "$ac_compile") 2>conftest.er1
13299 grep -v '^ *+' conftest.er1
>conftest.err
13301 cat conftest.err
>&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); } &&
13304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13305 { (case "(($ac_try" in
13306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13307 *) ac_try_echo=$ac_try;;
13309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13310 (eval "$ac_try") 2>&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; } &&
13314 { ac_try='test -s conftest.$ac_objext'
13315 { (case "(($ac_try" in
13316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13317 *) ac_try_echo
=$ac_try;;
13319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13320 (eval "$ac_try") 2>&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); }; }; then
13324 ac_cv_type_FT_TrueTypeEngineType
=yes
13326 echo "$as_me: failed program was:" >&5
13327 sed 's/^/| /' conftest.
$ac_ext >&5
13329 ac_cv_type_FT_TrueTypeEngineType
=no
13332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13334 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13335 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13336 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13338 cat >>confdefs.h
<<_ACEOF
13339 #define HAVE_FT_TRUETYPEENGINETYPE 1
13345 ac_save_CFLAGS
="$CFLAGS"
13346 CFLAGS
="$CFLAGS $FREETYPELIBS"
13348 for ac_func
in FT_Load_Sfnt_Table
13350 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13351 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13353 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13354 echo $ECHO_N "(cached) $ECHO_C" >&6
13356 cat >conftest.
$ac_ext <<_ACEOF
13359 cat confdefs.h
>>conftest.
$ac_ext
13360 cat >>conftest.
$ac_ext <<_ACEOF
13361 /* end confdefs.h. */
13362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13364 #define $ac_func innocuous_$ac_func
13366 /* System header to define __stub macros and hopefully few prototypes,
13367 which can conflict with char $ac_func (); below.
13368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13369 <limits.h> exists even on freestanding compilers. */
13372 # include <limits.h>
13374 # include <assert.h>
13379 /* Override any GCC internal prototype to avoid an error.
13380 Use char because int might match the return type of a GCC
13381 builtin and then its argument prototype would still apply. */
13386 /* The GNU C library defines this for functions which it implements
13387 to always fail with ENOSYS. Some functions are actually named
13388 something starting with __ and the normal name is an alias. */
13389 #if defined __stub_$ac_func || defined __stub___$ac_func
13396 return $ac_func ();
13401 rm -f conftest.
$ac_objext conftest
$ac_exeext
13402 if { (ac_try
="$ac_link"
13403 case "(($ac_try" in
13404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13405 *) ac_try_echo=$ac_try;;
13407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13408 (eval "$ac_link") 2>conftest.er1
13410 grep -v '^ *+' conftest.er1 >conftest.err
13412 cat conftest.err >&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); } &&
13415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13416 { (case "(($ac_try" in
13417 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13418 *) ac_try_echo
=$ac_try;;
13420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13421 (eval "$ac_try") 2>&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; } &&
13425 { ac_try
='test -s conftest$ac_exeext'
13426 { (case "(($ac_try" in
13427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13428 *) ac_try_echo=$ac_try;;
13430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13431 (eval "$ac_try") 2>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); }; }; then
13435 eval "$as_ac_var=yes"
13437 echo "$as_me: failed program was:" >&5
13438 sed 's/^/| /' conftest.$ac_ext >&5
13440 eval "$as_ac_var=no"
13443 rm -f core conftest.err conftest.$ac_objext \
13444 conftest$ac_exeext conftest.$ac_ext
13446 ac_res=`eval echo '${'$as_ac_var'}'`
13447 { echo "$as_me:$LINENO: result: $ac_res" >&5
13448 echo "${ECHO_T}$ac_res" >&6; }
13449 if test `eval echo '${'$as_ac_var'}'` = yes; then
13450 cat >>confdefs.h <<_ACEOF
13451 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13457 CFLAGS="$ac_save_CFLAGS"
13458 CPPFLAGS="$ac_save_CPPFLAGS"
13459 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13462 cat >>confdefs.h <<\_ACEOF
13463 #define HAVE_FREETYPE 1
13466 wine_cv_msg_freetype=no
13470 wine_cv_msg_freetype=yes
13475 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13477 FONTSSUBDIRS="fonts"
13481 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13482 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13483 if test "${ac_cv_c_ppdev+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 cat >conftest.$ac_ext <<_ACEOF
13489 cat confdefs.h >>conftest.$ac_ext
13490 cat >>conftest.$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13492 #include <linux/ppdev.h>
13496 ioctl (1,PPCLAIM,0)
13501 rm -f conftest.$ac_objext
13502 if { (ac_try="$ac_compile"
13503 case "(($ac_try" in
13504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13505 *) ac_try_echo
=$ac_try;;
13507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13508 (eval "$ac_compile") 2>conftest.er1
13510 grep -v '^ *+' conftest.er1
>conftest.err
13512 cat conftest.err
>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); } &&
13515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13516 { (case "(($ac_try" in
13517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13518 *) ac_try_echo=$ac_try;;
13520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13521 (eval "$ac_try") 2>&5
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); }; } &&
13525 { ac_try='test -s conftest.$ac_objext'
13526 { (case "(($ac_try" in
13527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13528 *) ac_try_echo
=$ac_try;;
13530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13531 (eval "$ac_try") 2>&5
13533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13534 (exit $ac_status); }; }; then
13535 ac_cv_c_ppdev
="yes"
13537 echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.
$ac_ext >&5
13543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13546 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13547 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13548 if test "$ac_cv_c_ppdev" = "yes"
13551 cat >>confdefs.h
<<\_ACEOF
13552 #define HAVE_PPDEV 1
13557 { echo "$as_me:$LINENO: checking for va_copy" >&5
13558 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13559 if test "${ac_cv_c_va_copy+set}" = set; then
13560 echo $ECHO_N "(cached) $ECHO_C" >&6
13562 cat >conftest.
$ac_ext <<_ACEOF
13565 cat confdefs.h
>>conftest.
$ac_ext
13566 cat >>conftest.
$ac_ext <<_ACEOF
13567 /* end confdefs.h. */
13568 #include <stdarg.h>
13579 rm -f conftest.
$ac_objext conftest
$ac_exeext
13580 if { (ac_try
="$ac_link"
13581 case "(($ac_try" in
13582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13583 *) ac_try_echo=$ac_try;;
13585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13586 (eval "$ac_link") 2>conftest.er1
13588 grep -v '^ *+' conftest.er1 >conftest.err
13590 cat conftest.err >&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); } &&
13593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13594 { (case "(($ac_try" in
13595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13596 *) ac_try_echo
=$ac_try;;
13598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13599 (eval "$ac_try") 2>&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; } &&
13603 { ac_try
='test -s conftest$ac_exeext'
13604 { (case "(($ac_try" in
13605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13606 *) ac_try_echo=$ac_try;;
13608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13609 (eval "$ac_try") 2>&5
13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612 (exit $ac_status); }; }; then
13613 ac_cv_c_va_copy="yes"
13615 echo "$as_me: failed program was:" >&5
13616 sed 's/^/| /' conftest.$ac_ext >&5
13618 ac_cv_c_va_copy="no"
13621 rm -f core conftest.err conftest.$ac_objext \
13622 conftest$ac_exeext conftest.$ac_ext
13625 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13626 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13627 if test "$ac_cv_c_va_copy" = "yes"
13630 cat >>confdefs.h <<\_ACEOF
13631 #define HAVE_VA_COPY 1
13635 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13636 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13637 if test "${ac_cv_c___va_copy+set}" = set; then
13638 echo $ECHO_N "(cached) $ECHO_C" >&6
13640 cat >conftest.$ac_ext <<_ACEOF
13643 cat confdefs.h >>conftest.$ac_ext
13644 cat >>conftest.$ac_ext <<_ACEOF
13645 /* end confdefs.h. */
13646 #include <stdarg.h>
13651 __va_copy(ap1,ap2);
13657 rm -f conftest.$ac_objext conftest$ac_exeext
13658 if { (ac_try="$ac_link"
13659 case "(($ac_try" in
13660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13661 *) ac_try_echo
=$ac_try;;
13663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13664 (eval "$ac_link") 2>conftest.er1
13666 grep -v '^ *+' conftest.er1
>conftest.err
13668 cat conftest.err
>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); } &&
13671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13672 { (case "(($ac_try" in
13673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13674 *) ac_try_echo=$ac_try;;
13676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13677 (eval "$ac_try") 2>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; } &&
13681 { ac_try='test -s conftest$ac_exeext'
13682 { (case "(($ac_try" in
13683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13684 *) ac_try_echo
=$ac_try;;
13686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13687 (eval "$ac_try") 2>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); }; }; then
13691 ac_cv_c___va_copy
="yes"
13693 echo "$as_me: failed program was:" >&5
13694 sed 's/^/| /' conftest.
$ac_ext >&5
13696 ac_cv_c___va_copy
="no"
13699 rm -f core conftest.err conftest.
$ac_objext \
13700 conftest
$ac_exeext conftest.
$ac_ext
13703 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13704 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13705 if test "$ac_cv_c___va_copy" = "yes"
13708 cat >>confdefs.h
<<\_ACEOF
13709 #define HAVE___VA_COPY 1
13714 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13715 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13716 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13717 echo $ECHO_N "(cached) $ECHO_C" >&6
13719 cat >conftest.
$ac_ext <<_ACEOF
13722 cat confdefs.h
>>conftest.
$ac_ext
13723 cat >>conftest.
$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13725 #include <setjmp.h>
13730 sigsetjmp( buf, 1 );
13731 siglongjmp( buf, 1 );
13736 rm -f conftest.
$ac_objext conftest
$ac_exeext
13737 if { (ac_try
="$ac_link"
13738 case "(($ac_try" in
13739 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13740 *) ac_try_echo=$ac_try;;
13742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13743 (eval "$ac_link") 2>conftest.er1
13745 grep -v '^ *+' conftest.er1 >conftest.err
13747 cat conftest.err >&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); } &&
13750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13751 { (case "(($ac_try" in
13752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13753 *) ac_try_echo
=$ac_try;;
13755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13756 (eval "$ac_try") 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; } &&
13760 { ac_try
='test -s conftest$ac_exeext'
13761 { (case "(($ac_try" in
13762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13763 *) ac_try_echo=$ac_try;;
13765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13766 (eval "$ac_try") 2>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); }; }; then
13770 ac_cv_c_sigsetjmp="yes"
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.$ac_ext >&5
13775 ac_cv_c_sigsetjmp="no"
13778 rm -f core conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13782 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13783 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13784 if test "$ac_cv_c_sigsetjmp" = "yes"
13787 cat >>confdefs.h <<\_ACEOF
13788 #define HAVE_SIGSETJMP 1
13793 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13794 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13795 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13798 cat >conftest.$ac_ext <<_ACEOF
13801 cat confdefs.h >>conftest.$ac_ext
13802 cat >>conftest.$ac_ext <<_ACEOF
13803 /* end confdefs.h. */
13804 #define _GNU_SOURCE
13805 #include <pthread.h>
13807 typedef pthread_rwlock_t ac__type_new_;
13811 if ((ac__type_new_ *) 0)
13813 if (sizeof (ac__type_new_))
13819 rm -f conftest.$ac_objext
13820 if { (ac_try="$ac_compile"
13821 case "(($ac_try" in
13822 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13823 *) ac_try_echo
=$ac_try;;
13825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13826 (eval "$ac_compile") 2>conftest.er1
13828 grep -v '^ *+' conftest.er1
>conftest.err
13830 cat conftest.err
>&5
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); } &&
13833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13834 { (case "(($ac_try" in
13835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13836 *) ac_try_echo=$ac_try;;
13838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13839 (eval "$ac_try") 2>&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; } &&
13843 { ac_try='test -s conftest.$ac_objext'
13844 { (case "(($ac_try" in
13845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13846 *) ac_try_echo
=$ac_try;;
13848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13849 (eval "$ac_try") 2>&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); }; }; then
13853 ac_cv_type_pthread_rwlock_t
=yes
13855 echo "$as_me: failed program was:" >&5
13856 sed 's/^/| /' conftest.
$ac_ext >&5
13858 ac_cv_type_pthread_rwlock_t
=no
13861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13863 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13864 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13865 if test $ac_cv_type_pthread_rwlock_t = yes; then
13867 cat >>confdefs.h
<<_ACEOF
13868 #define HAVE_PTHREAD_RWLOCK_T 1
13873 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13874 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13875 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13876 echo $ECHO_N "(cached) $ECHO_C" >&6
13878 cat >conftest.
$ac_ext <<_ACEOF
13881 cat confdefs.h
>>conftest.
$ac_ext
13882 cat >>conftest.
$ac_ext <<_ACEOF
13883 /* end confdefs.h. */
13884 #define _GNU_SOURCE
13885 #include <pthread.h>
13887 typedef pthread_rwlockattr_t ac__type_new_;
13891 if ((ac__type_new_ *) 0)
13893 if (sizeof (ac__type_new_))
13899 rm -f conftest.
$ac_objext
13900 if { (ac_try
="$ac_compile"
13901 case "(($ac_try" in
13902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13903 *) ac_try_echo=$ac_try;;
13905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13906 (eval "$ac_compile") 2>conftest.er1
13908 grep -v '^ *+' conftest.er1 >conftest.err
13910 cat conftest.err >&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); } &&
13913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13914 { (case "(($ac_try" in
13915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13916 *) ac_try_echo
=$ac_try;;
13918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13919 (eval "$ac_try") 2>&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); }; } &&
13923 { ac_try
='test -s conftest.$ac_objext'
13924 { (case "(($ac_try" in
13925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13926 *) ac_try_echo=$ac_try;;
13928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13929 (eval "$ac_try") 2>&5
13931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13932 (exit $ac_status); }; }; then
13933 ac_cv_type_pthread_rwlockattr_t=yes
13935 echo "$as_me: failed program was:" >&5
13936 sed 's/^/| /' conftest.$ac_ext >&5
13938 ac_cv_type_pthread_rwlockattr_t=no
13941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13943 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13944 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13945 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13947 cat >>confdefs.h <<_ACEOF
13948 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13955 ac_wine_check_funcs_save_LIBS="$LIBS"
13956 LIBS="$LIBS $LIBPTHREAD"
13962 pthread_attr_get_np \
13963 pthread_getattr_np \
13964 pthread_get_stackaddr_np \
13965 pthread_get_stacksize_np
13967 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13968 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13970 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13971 echo $ECHO_N "(cached) $ECHO_C" >&6
13973 cat >conftest.$ac_ext <<_ACEOF
13976 cat confdefs.h >>conftest.$ac_ext
13977 cat >>conftest.$ac_ext <<_ACEOF
13978 /* end confdefs.h. */
13979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13981 #define $ac_func innocuous_$ac_func
13983 /* System header to define __stub macros and hopefully few prototypes,
13984 which can conflict with char $ac_func (); below.
13985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13986 <limits.h> exists even on freestanding compilers. */
13989 # include <limits.h>
13991 # include <assert.h>
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
14003 /* The GNU C library defines this for functions which it implements
14004 to always fail with ENOSYS. Some functions are actually named
14005 something starting with __ and the normal name is an alias. */
14006 #if defined __stub_$ac_func || defined __stub___$ac_func
14013 return $ac_func ();
14018 rm -f conftest.$ac_objext conftest$ac_exeext
14019 if { (ac_try="$ac_link"
14020 case "(($ac_try" in
14021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14022 *) ac_try_echo
=$ac_try;;
14024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14025 (eval "$ac_link") 2>conftest.er1
14027 grep -v '^ *+' conftest.er1
>conftest.err
14029 cat conftest.err
>&5
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 (exit $ac_status); } &&
14032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14033 { (case "(($ac_try" in
14034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14035 *) ac_try_echo=$ac_try;;
14037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14038 (eval "$ac_try") 2>&5
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); }; } &&
14042 { ac_try='test -s conftest$ac_exeext'
14043 { (case "(($ac_try" in
14044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14045 *) ac_try_echo
=$ac_try;;
14047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14048 (eval "$ac_try") 2>&5
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051 (exit $ac_status); }; }; then
14052 eval "$as_ac_var=yes"
14054 echo "$as_me: failed program was:" >&5
14055 sed 's/^/| /' conftest.
$ac_ext >&5
14057 eval "$as_ac_var=no"
14060 rm -f core conftest.err conftest.
$ac_objext \
14061 conftest
$ac_exeext conftest.
$ac_ext
14063 ac_res
=`eval echo '${'$as_ac_var'}'`
14064 { echo "$as_me:$LINENO: result: $ac_res" >&5
14065 echo "${ECHO_T}$ac_res" >&6; }
14066 if test `eval echo '${'$as_ac_var'}'` = yes; then
14067 cat >>confdefs.h
<<_ACEOF
14068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14074 LIBS
="$ac_wine_check_funcs_save_LIBS"
14076 # Extract the first word of "artsc-config", so it can be a program name with args.
14077 set dummy artsc-config
; ac_word
=$2
14078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14080 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
14081 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 case $ARTSCCONFIG in
14085 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
14088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14089 for as_dir
in $PATH
14092 test -z "$as_dir" && as_dir
=.
14093 for ac_exec_ext
in '' $ac_executable_extensions; do
14094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14095 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14106 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
14107 if test -n "$ARTSCCONFIG"; then
14108 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
14109 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
14111 { echo "$as_me:$LINENO: result: no" >&5
14112 echo "${ECHO_T}no" >&6; }
14116 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
14119 for i
in `$ARTSCCONFIG --cflags`
14122 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
14126 for i
in `$ARTSCCONFIG --libs`
14129 -L/usr
/lib|
-L/usr
/lib64
) ;;
14130 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
14133 save_CFLAGS
="$CFLAGS"
14134 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
14135 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
14136 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
14137 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
14138 echo $ECHO_N "(cached) $ECHO_C" >&6
14140 ac_check_lib_save_LIBS
=$LIBS
14141 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
14142 cat >conftest.
$ac_ext <<_ACEOF
14145 cat confdefs.h
>>conftest.
$ac_ext
14146 cat >>conftest.
$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14149 /* Override any GCC internal prototype to avoid an error.
14150 Use char because int might match the return type of a GCC
14151 builtin and then its argument prototype would still apply. */
14159 return arts_init ();
14164 rm -f conftest.
$ac_objext conftest
$ac_exeext
14165 if { (ac_try
="$ac_link"
14166 case "(($ac_try" in
14167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14168 *) ac_try_echo=$ac_try;;
14170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14171 (eval "$ac_link") 2>conftest.er1
14173 grep -v '^ *+' conftest.er1 >conftest.err
14175 cat conftest.err >&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); } &&
14178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14179 { (case "(($ac_try" in
14180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14181 *) ac_try_echo
=$ac_try;;
14183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14184 (eval "$ac_try") 2>&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; } &&
14188 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
14198 ac_cv_lib_artsc_arts_init=yes
14200 echo "$as_me: failed program was:" >&5
14201 sed 's/^/| /' conftest.$ac_ext >&5
14203 ac_cv_lib_artsc_arts_init=no
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14208 LIBS=$ac_check_lib_save_LIBS
14210 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
14211 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
14212 if test $ac_cv_lib_artsc_arts_init = yes; then
14213 cat >conftest.$ac_ext <<_ACEOF
14216 cat confdefs.h >>conftest.$ac_ext
14217 cat >>conftest.$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14223 arts_stream_t stream;
14228 rm -f conftest.$ac_objext
14229 if { (ac_try="$ac_compile"
14230 case "(($ac_try" in
14231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14232 *) ac_try_echo
=$ac_try;;
14234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14235 (eval "$ac_compile") 2>conftest.er1
14237 grep -v '^ *+' conftest.er1
>conftest.err
14239 cat conftest.err
>&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); } &&
14242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14243 { (case "(($ac_try" in
14244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14245 *) ac_try_echo=$ac_try;;
14247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14248 (eval "$ac_try") 2>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; } &&
14252 { ac_try='test -s conftest.$ac_objext'
14253 { (case "(($ac_try" in
14254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14255 *) ac_try_echo
=$ac_try;;
14257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14258 (eval "$ac_try") 2>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; }; then
14262 ARTSLIBS
=$ARTSC_LIBS
14264 ARTSINCL
=$ARTSC_CFLAGS
14267 cat >>confdefs.h
<<\_ACEOF
14268 #define HAVE_ARTS 1
14272 echo "$as_me: failed program was:" >&5
14273 sed 's/^/| /' conftest.
$ac_ext >&5
14278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14281 CFLAGS
="$save_CFLAGS"
14284 # Extract the first word of "esd-config", so it can be a program name with args.
14285 set dummy esd-config
; ac_word
=$2
14286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14288 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14289 echo $ECHO_N "(cached) $ECHO_C" >&6
14293 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
14296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14297 for as_dir
in $PATH
14300 test -z "$as_dir" && as_dir
=.
14301 for ac_exec_ext
in '' $ac_executable_extensions; do
14302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14303 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
14304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14314 ESDCONFIG
=$ac_cv_path_ESDCONFIG
14315 if test -n "$ESDCONFIG"; then
14316 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14317 echo "${ECHO_T}$ESDCONFIG" >&6; }
14319 { echo "$as_me:$LINENO: result: no" >&5
14320 echo "${ECHO_T}no" >&6; }
14324 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
14327 for i
in `$ESDCONFIG --cflags`
14330 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
14333 ESD_LIBS
=`$ESDCONFIG --libs`
14334 save_CFLAGS
="$CFLAGS"
14335 CFLAGS
="$CFLAGS $ESD_CFLAGS"
14336 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14337 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14338 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14341 ac_check_lib_save_LIBS
=$LIBS
14343 cat >conftest.
$ac_ext <<_ACEOF
14346 cat confdefs.h
>>conftest.
$ac_ext
14347 cat >>conftest.
$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14350 /* Override any GCC internal prototype to avoid an error.
14351 Use char because int might match the return type of a GCC
14352 builtin and then its argument prototype would still apply. */
14356 char esd_open_sound ();
14360 return esd_open_sound ();
14365 rm -f conftest.
$ac_objext conftest
$ac_exeext
14366 if { (ac_try
="$ac_link"
14367 case "(($ac_try" in
14368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14369 *) ac_try_echo=$ac_try;;
14371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14372 (eval "$ac_link") 2>conftest.er1
14374 grep -v '^ *+' conftest.er1 >conftest.err
14376 cat conftest.err >&5
14377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378 (exit $ac_status); } &&
14379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14380 { (case "(($ac_try" in
14381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14382 *) ac_try_echo
=$ac_try;;
14384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14385 (eval "$ac_try") 2>&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); }; } &&
14389 { ac_try
='test -s conftest$ac_exeext'
14390 { (case "(($ac_try" in
14391 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14392 *) ac_try_echo=$ac_try;;
14394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14395 (eval "$ac_try") 2>&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }; }; then
14399 ac_cv_lib_esd_esd_open_sound=yes
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14404 ac_cv_lib_esd_esd_open_sound=no
14407 rm -f core conftest.err conftest.$ac_objext \
14408 conftest$ac_exeext conftest.$ac_ext
14409 LIBS=$ac_check_lib_save_LIBS
14411 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14412 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14413 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14416 ESDINCL=$ESD_CFLAGS
14419 cat >>confdefs.h <<\_ACEOF
14425 CFLAGS="$save_CFLAGS"
14430 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14432 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14433 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14434 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 ac_check_lib_save_LIBS=$LIBS
14438 LIBS="-lasound $LIBS"
14439 cat >conftest.$ac_ext <<_ACEOF
14442 cat confdefs.h >>conftest.$ac_ext
14443 cat >>conftest.$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14446 /* Override any GCC internal prototype to avoid an error.
14447 Use char because int might match the return type of a GCC
14448 builtin and then its argument prototype would still apply. */
14452 char snd_pcm_hw_params_get_access ();
14456 return snd_pcm_hw_params_get_access ();
14461 rm -f conftest.$ac_objext conftest$ac_exeext
14462 if { (ac_try="$ac_link"
14463 case "(($ac_try" in
14464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14465 *) ac_try_echo
=$ac_try;;
14467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14468 (eval "$ac_link") 2>conftest.er1
14470 grep -v '^ *+' conftest.er1
>conftest.err
14472 cat conftest.err
>&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); } &&
14475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14476 { (case "(($ac_try" in
14477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14478 *) ac_try_echo=$ac_try;;
14480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14481 (eval "$ac_try") 2>&5
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }; } &&
14485 { ac_try='test -s conftest$ac_exeext'
14486 { (case "(($ac_try" in
14487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14488 *) ac_try_echo
=$ac_try;;
14490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14491 (eval "$ac_try") 2>&5
14493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); }; }; then
14495 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
14497 echo "$as_me: failed program was:" >&5
14498 sed 's/^/| /' conftest.
$ac_ext >&5
14500 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
14503 rm -f core conftest.err conftest.
$ac_objext \
14504 conftest
$ac_exeext conftest.
$ac_ext
14505 LIBS
=$ac_check_lib_save_LIBS
14507 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14508 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14509 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14510 cat >conftest.
$ac_ext <<_ACEOF
14513 cat confdefs.h
>>conftest.
$ac_ext
14514 cat >>conftest.
$ac_ext <<_ACEOF
14515 /* end confdefs.h. */
14516 #ifdef HAVE_ALSA_ASOUNDLIB_H
14517 #include <alsa/asoundlib.h>
14518 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14519 #include <sys/asoundlib.h>
14524 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14529 rm -f conftest.
$ac_objext
14530 if { (ac_try
="$ac_compile"
14531 case "(($ac_try" in
14532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14533 *) ac_try_echo=$ac_try;;
14535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14536 (eval "$ac_compile") 2>conftest.er1
14538 grep -v '^ *+' conftest.er1 >conftest.err
14540 cat conftest.err >&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); } &&
14543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14544 { (case "(($ac_try" in
14545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14546 *) ac_try_echo
=$ac_try;;
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_try") 2>&5
14551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14552 (exit $ac_status); }; } &&
14553 { ac_try
='test -s conftest.$ac_objext'
14554 { (case "(($ac_try" in
14555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14556 *) ac_try_echo=$ac_try;;
14558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14559 (eval "$ac_try") 2>&5
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; }; then
14564 cat >>confdefs.h <<\_ACEOF
14565 #define HAVE_ALSA 1
14568 ALSALIBS="-lasound"
14570 echo "$as_me: failed program was:" >&5
14571 sed 's/^/| /' conftest.$ac_ext >&5
14576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14584 if test "$ac_cv_header_libaudioio_h" = "yes"
14586 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14587 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14588 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14591 ac_check_lib_save_LIBS=$LIBS
14592 LIBS="-laudioio $LIBS"
14593 cat >conftest.$ac_ext <<_ACEOF
14596 cat confdefs.h >>conftest.$ac_ext
14597 cat >>conftest.$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14600 /* Override any GCC internal prototype to avoid an error.
14601 Use char because int might match the return type of a GCC
14602 builtin and then its argument prototype would still apply. */
14606 char AudioIOGetVersion ();
14610 return AudioIOGetVersion ();
14615 rm -f conftest.$ac_objext conftest$ac_exeext
14616 if { (ac_try="$ac_link"
14617 case "(($ac_try" in
14618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14619 *) ac_try_echo
=$ac_try;;
14621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14622 (eval "$ac_link") 2>conftest.er1
14624 grep -v '^ *+' conftest.er1
>conftest.err
14626 cat conftest.err
>&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); } &&
14629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14630 { (case "(($ac_try" in
14631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14632 *) ac_try_echo=$ac_try;;
14634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14635 (eval "$ac_try") 2>&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); }; } &&
14639 { ac_try='test -s conftest$ac_exeext'
14640 { (case "(($ac_try" in
14641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14642 *) ac_try_echo
=$ac_try;;
14644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14645 (eval "$ac_try") 2>&5
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); }; }; then
14649 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.
$ac_ext >&5
14654 ac_cv_lib_audioio_AudioIOGetVersion
=no
14657 rm -f core conftest.err conftest.
$ac_objext \
14658 conftest
$ac_exeext conftest.
$ac_ext
14659 LIBS
=$ac_check_lib_save_LIBS
14661 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14662 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14663 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14664 AUDIOIOLIBS
="-laudioio"
14666 cat >>confdefs.h
<<\_ACEOF
14667 #define HAVE_LIBAUDIOIO 1
14675 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14677 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14678 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14679 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14680 echo $ECHO_N "(cached) $ECHO_C" >&6
14682 ac_check_lib_save_LIBS
=$LIBS
14683 LIBS
="-lcapi20 $LIBS"
14684 cat >conftest.
$ac_ext <<_ACEOF
14687 cat confdefs.h
>>conftest.
$ac_ext
14688 cat >>conftest.
$ac_ext <<_ACEOF
14689 /* end confdefs.h. */
14691 /* Override any GCC internal prototype to avoid an error.
14692 Use char because int might match the return type of a GCC
14693 builtin and then its argument prototype would still apply. */
14697 char capi20_register ();
14701 return capi20_register ();
14706 rm -f conftest.
$ac_objext conftest
$ac_exeext
14707 if { (ac_try
="$ac_link"
14708 case "(($ac_try" in
14709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14710 *) ac_try_echo=$ac_try;;
14712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14713 (eval "$ac_link") 2>conftest.er1
14715 grep -v '^ *+' conftest.er1 >conftest.err
14717 cat conftest.err >&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); } &&
14720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14721 { (case "(($ac_try" in
14722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14723 *) ac_try_echo
=$ac_try;;
14725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14726 (eval "$ac_try") 2>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; } &&
14730 { ac_try
='test -s conftest$ac_exeext'
14731 { (case "(($ac_try" in
14732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14733 *) ac_try_echo=$ac_try;;
14735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14736 (eval "$ac_try") 2>&5
14738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739 (exit $ac_status); }; }; then
14740 ac_cv_lib_capi20_capi20_register=yes
14742 echo "$as_me: failed program was:" >&5
14743 sed 's/^/| /' conftest.$ac_ext >&5
14745 ac_cv_lib_capi20_capi20_register=no
14748 rm -f core conftest.err conftest.$ac_objext \
14749 conftest$ac_exeext conftest.$ac_ext
14750 LIBS=$ac_check_lib_save_LIBS
14752 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14753 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14754 if test $ac_cv_lib_capi20_capi20_register = yes; then
14756 cat >>confdefs.h <<\_ACEOF
14757 #define HAVE_CAPI4LINUX 1
14765 if test "$ac_cv_header_gif_lib_h" = "yes"
14767 cat >conftest.$ac_ext <<_ACEOF
14770 cat confdefs.h >>conftest.$ac_ext
14771 cat >>conftest.$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14773 #include <gif_lib.h>
14777 static typeof(DGifOpen) * func;
14782 rm -f conftest.$ac_objext
14783 if { (ac_try="$ac_compile"
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_compile") 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_objext'
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
14817 cat >>confdefs.h
<<\_ACEOF
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.
$ac_ext >&5
14828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14834 if test "x${GCC}" = "xyes"
14836 EXTRACFLAGS
="-Wall -pipe"
14838 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14839 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14840 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14841 echo $ECHO_N "(cached) $ECHO_C" >&6
14843 if test "$cross_compiling" = yes; then
14844 ac_cv_c_gcc_strength_bug
="yes"
14846 cat >conftest.
$ac_ext <<_ACEOF
14849 cat confdefs.h
>>conftest.
$ac_ext
14850 cat >>conftest.
$ac_ext <<_ACEOF
14851 /* end confdefs.h. */
14853 int L[4] = {0,1,2,3};
14855 static int Array[3];
14856 unsigned int B = 3;
14858 for(i=0; i<B; i++) Array[i] = i - 3;
14859 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14862 exit( Array[1] != -2 || L[2] != 3);
14865 rm -f conftest
$ac_exeext
14866 if { (ac_try
="$ac_link"
14867 case "(($ac_try" in
14868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14869 *) ac_try_echo=$ac_try;;
14871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14872 (eval "$ac_link") 2>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14876 { (case "(($ac_try" in
14877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14878 *) ac_try_echo
=$ac_try;;
14880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14881 (eval "$ac_try") 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; }; then
14885 ac_cv_c_gcc_strength_bug
="no"
14887 echo "$as_me: program exited with status $ac_status" >&5
14888 echo "$as_me: failed program was:" >&5
14889 sed 's/^/| /' conftest.
$ac_ext >&5
14891 ( exit $ac_status )
14892 ac_cv_c_gcc_strength_bug
="yes"
14894 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14899 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14900 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14901 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14903 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
14906 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14907 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14908 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14909 echo $ECHO_N "(cached) $ECHO_C" >&6
14911 ac_wine_try_cflags_saved
=$CFLAGS
14912 CFLAGS
="$CFLAGS -fshort-wchar"
14913 cat >conftest.
$ac_ext <<_ACEOF
14916 cat confdefs.h
>>conftest.
$ac_ext
14917 cat >>conftest.
$ac_ext <<_ACEOF
14918 /* end confdefs.h. */
14928 rm -f conftest.
$ac_objext conftest
$ac_exeext
14929 if { (ac_try
="$ac_link"
14930 case "(($ac_try" in
14931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14932 *) ac_try_echo=$ac_try;;
14934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14935 (eval "$ac_link") 2>conftest.er1
14937 grep -v '^ *+' conftest.er1 >conftest.err
14939 cat conftest.err >&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14943 { (case "(($ac_try" in
14944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14945 *) ac_try_echo
=$ac_try;;
14947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14948 (eval "$ac_try") 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; } &&
14952 { ac_try
='test -s conftest$ac_exeext'
14953 { (case "(($ac_try" in
14954 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14955 *) ac_try_echo=$ac_try;;
14957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14958 (eval "$ac_try") 2>&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); }; }; then
14962 ac_cv_c_gcc_fshort_wchar="yes"
14964 echo "$as_me: failed program was:" >&5
14965 sed 's/^/| /' conftest.$ac_ext >&5
14967 ac_cv_c_gcc_fshort_wchar="no"
14970 rm -f core conftest.err conftest.$ac_objext \
14971 conftest$ac_exeext conftest.$ac_ext
14972 CFLAGS=$ac_wine_try_cflags_saved
14974 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
14975 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
14976 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
14979 cat >>confdefs.h <<\_ACEOF
14980 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14985 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
14986 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
14987 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
14988 echo $ECHO_N "(cached) $ECHO_C" >&6
14990 ac_wine_try_cflags_saved=$CFLAGS
14991 CFLAGS="$CFLAGS -fno-strict-aliasing"
14992 cat >conftest.$ac_ext <<_ACEOF
14995 cat confdefs.h >>conftest.$ac_ext
14996 cat >>conftest.$ac_ext <<_ACEOF
14997 /* end confdefs.h. */
15007 rm -f conftest.$ac_objext conftest$ac_exeext
15008 if { (ac_try="$ac_link"
15009 case "(($ac_try" in
15010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15011 *) ac_try_echo
=$ac_try;;
15013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15014 (eval "$ac_link") 2>conftest.er1
15016 grep -v '^ *+' conftest.er1
>conftest.err
15018 cat conftest.err
>&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); } &&
15021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15022 { (case "(($ac_try" in
15023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15024 *) ac_try_echo=$ac_try;;
15026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15027 (eval "$ac_try") 2>&5
15029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15030 (exit $ac_status); }; } &&
15031 { ac_try='test -s conftest$ac_exeext'
15032 { (case "(($ac_try" in
15033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15034 *) ac_try_echo
=$ac_try;;
15036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15037 (eval "$ac_try") 2>&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; }; then
15041 ac_cv_c_gcc_no_strict_aliasing
="yes"
15043 echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.
$ac_ext >&5
15046 ac_cv_c_gcc_no_strict_aliasing
="no"
15049 rm -f core conftest.err conftest.
$ac_objext \
15050 conftest
$ac_exeext conftest.
$ac_ext
15051 CFLAGS
=$ac_wine_try_cflags_saved
15053 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
15054 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
15055 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
15057 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
15060 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
15061 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
15062 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
15063 echo $ECHO_N "(cached) $ECHO_C" >&6
15065 ac_wine_try_cflags_saved
=$CFLAGS
15066 CFLAGS
="$CFLAGS -gstabs+"
15067 cat >conftest.
$ac_ext <<_ACEOF
15070 cat confdefs.h
>>conftest.
$ac_ext
15071 cat >>conftest.
$ac_ext <<_ACEOF
15072 /* end confdefs.h. */
15082 rm -f conftest.
$ac_objext conftest
$ac_exeext
15083 if { (ac_try
="$ac_link"
15084 case "(($ac_try" in
15085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15086 *) ac_try_echo=$ac_try;;
15088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15089 (eval "$ac_link") 2>conftest.er1
15091 grep -v '^ *+' conftest.er1 >conftest.err
15093 cat conftest.err >&5
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15097 { (case "(($ac_try" in
15098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15099 *) ac_try_echo
=$ac_try;;
15101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15102 (eval "$ac_try") 2>&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); }; } &&
15106 { ac_try
='test -s conftest$ac_exeext'
15107 { (case "(($ac_try" in
15108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15109 *) ac_try_echo=$ac_try;;
15111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15112 (eval "$ac_try") 2>&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); }; }; then
15116 ac_cv_c_gcc_gstabs="yes"
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.$ac_ext >&5
15121 ac_cv_c_gcc_gstabs="no"
15124 rm -f core conftest.err conftest.$ac_objext \
15125 conftest$ac_exeext conftest.$ac_ext
15126 CFLAGS=$ac_wine_try_cflags_saved
15128 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
15129 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
15130 if test "$ac_cv_c_gcc_gstabs" = "yes"
15132 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
15135 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
15136 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
15137 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 ac_wine_try_cflags_saved=$CFLAGS
15141 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15142 cat >conftest.$ac_ext <<_ACEOF
15145 cat confdefs.h >>conftest.$ac_ext
15146 cat >>conftest.$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15157 rm -f conftest.$ac_objext conftest$ac_exeext
15158 if { (ac_try="$ac_link"
15159 case "(($ac_try" in
15160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15161 *) ac_try_echo
=$ac_try;;
15163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15164 (eval "$ac_link") 2>conftest.er1
15166 grep -v '^ *+' conftest.er1
>conftest.err
15168 cat conftest.err
>&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } &&
15171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15172 { (case "(($ac_try" in
15173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15174 *) ac_try_echo=$ac_try;;
15176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15177 (eval "$ac_try") 2>&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); }; } &&
15181 { ac_try='test -s conftest$ac_exeext'
15182 { (case "(($ac_try" in
15183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15184 *) ac_try_echo
=$ac_try;;
15186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15187 (eval "$ac_try") 2>&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); }; }; then
15191 ac_cv_c_gcc_decl_after_statement
="yes"
15193 echo "$as_me: failed program was:" >&5
15194 sed 's/^/| /' conftest.
$ac_ext >&5
15196 ac_cv_c_gcc_decl_after_statement
="no"
15199 rm -f core conftest.err conftest.
$ac_objext \
15200 conftest
$ac_exeext conftest.
$ac_ext
15201 CFLAGS
=$ac_wine_try_cflags_saved
15203 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
15204 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
15205 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
15207 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
15210 saved_CFLAGS
="$CFLAGS"
15211 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
15212 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15213 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15214 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15217 cat >conftest.
$ac_ext <<_ACEOF
15220 cat confdefs.h
>>conftest.
$ac_ext
15221 cat >>conftest.
$ac_ext <<_ACEOF
15222 /* end confdefs.h. */
15223 #include <string.h>
15232 rm -f conftest.
$ac_objext
15233 if { (ac_try
="$ac_compile"
15234 case "(($ac_try" in
15235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15236 *) ac_try_echo=$ac_try;;
15238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15239 (eval "$ac_compile") 2>conftest.er1
15241 grep -v '^ *+' conftest.er1 >conftest.err
15243 cat conftest.err >&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); } &&
15246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15247 { (case "(($ac_try" in
15248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15249 *) ac_try_echo
=$ac_try;;
15251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15252 (eval "$ac_try") 2>&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); }; } &&
15256 { ac_try
='test -s conftest.$ac_objext'
15257 { (case "(($ac_try" in
15258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15259 *) ac_try_echo=$ac_try;;
15261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15262 (eval "$ac_try") 2>&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); }; }; then
15266 ac_cv_c_string_h_warnings=no
15268 echo "$as_me: failed program was:" >&5
15269 sed 's/^/| /' conftest.$ac_ext >&5
15271 ac_cv_c_string_h_warnings=yes
15274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15276 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15277 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15278 CFLAGS="$saved_CFLAGS"
15279 if test "$ac_cv_c_string_h_warnings" = "no"
15281 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15286 saved_CFLAGS="$CFLAGS"
15287 CFLAGS="$CFLAGS -Werror"
15288 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15289 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15290 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15291 echo $ECHO_N "(cached) $ECHO_C" >&6
15293 cat >conftest.$ac_ext <<_ACEOF
15296 cat confdefs.h >>conftest.$ac_ext
15297 cat >>conftest.$ac_ext <<_ACEOF
15298 /* end confdefs.h. */
15303 int iswlower(unsigned short);
15308 rm -f conftest.$ac_objext
15309 if { (ac_try="$ac_compile"
15310 case "(($ac_try" in
15311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15312 *) ac_try_echo
=$ac_try;;
15314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15315 (eval "$ac_compile") 2>conftest.er1
15317 grep -v '^ *+' conftest.er1
>conftest.err
15319 cat conftest.err
>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } &&
15322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15323 { (case "(($ac_try" in
15324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15325 *) ac_try_echo=$ac_try;;
15327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15328 (eval "$ac_try") 2>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; } &&
15332 { ac_try='test -s conftest.$ac_objext'
15333 { (case "(($ac_try" in
15334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15335 *) ac_try_echo
=$ac_try;;
15337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15338 (eval "$ac_try") 2>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; }; then
15342 ac_cv_c_builtin_wchar_ctype
=no
15344 echo "$as_me: failed program was:" >&5
15345 sed 's/^/| /' conftest.
$ac_ext >&5
15347 ac_cv_c_builtin_wchar_ctype
=yes
15350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15352 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15353 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15354 CFLAGS
="$saved_CFLAGS"
15355 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15357 BUILTINFLAG
="-fno-builtin"
15362 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15363 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15364 if test "${ac_cv_asm_func_def+set}" = set; then
15365 echo $ECHO_N "(cached) $ECHO_C" >&6
15367 cat >conftest.
$ac_ext <<_ACEOF
15370 cat confdefs.h
>>conftest.
$ac_ext
15371 cat >>conftest.
$ac_ext <<_ACEOF
15372 /* end confdefs.h. */
15373 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"); }
15383 rm -f conftest.
$ac_objext conftest
$ac_exeext
15384 if { (ac_try
="$ac_link"
15385 case "(($ac_try" in
15386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15387 *) ac_try_echo=$ac_try;;
15389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15390 (eval "$ac_link") 2>conftest.er1
15392 grep -v '^ *+' conftest.er1 >conftest.err
15394 cat conftest.err >&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); } &&
15397 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15398 { (case "(($ac_try" in
15399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15400 *) ac_try_echo
=$ac_try;;
15402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15403 (eval "$ac_try") 2>&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; } &&
15407 { ac_try
='test -s conftest$ac_exeext'
15408 { (case "(($ac_try" in
15409 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15410 *) ac_try_echo=$ac_try;;
15412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15413 (eval "$ac_try") 2>&5
15415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416 (exit $ac_status); }; }; then
15417 ac_cv_asm_func_def=".def"
15419 echo "$as_me: failed program was:" >&5
15420 sed 's/^/| /' conftest.$ac_ext >&5
15422 cat >conftest.$ac_ext <<_ACEOF
15425 cat confdefs.h >>conftest.$ac_ext
15426 cat >>conftest.$ac_ext <<_ACEOF
15427 /* end confdefs.h. */
15428 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
15438 rm -f conftest.$ac_objext conftest$ac_exeext
15439 if { (ac_try="$ac_link"
15440 case "(($ac_try" in
15441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15442 *) ac_try_echo
=$ac_try;;
15444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15445 (eval "$ac_link") 2>conftest.er1
15447 grep -v '^ *+' conftest.er1
>conftest.err
15449 cat conftest.err
>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15453 { (case "(($ac_try" in
15454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15455 *) ac_try_echo=$ac_try;;
15457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15458 (eval "$ac_try") 2>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); }; } &&
15462 { ac_try='test -s conftest$ac_exeext'
15463 { (case "(($ac_try" in
15464 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15465 *) ac_try_echo
=$ac_try;;
15467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15468 (eval "$ac_try") 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15472 ac_cv_asm_func_def
=".type @function"
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.
$ac_ext >&5
15477 cat >conftest.
$ac_ext <<_ACEOF
15480 cat confdefs.h
>>conftest.
$ac_ext
15481 cat >>conftest.
$ac_ext <<_ACEOF
15482 /* end confdefs.h. */
15483 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
15493 rm -f conftest.
$ac_objext conftest
$ac_exeext
15494 if { (ac_try
="$ac_link"
15495 case "(($ac_try" in
15496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15497 *) ac_try_echo=$ac_try;;
15499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15500 (eval "$ac_link") 2>conftest.er1
15502 grep -v '^ *+' conftest.er1 >conftest.err
15504 cat conftest.err >&5
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); } &&
15507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15508 { (case "(($ac_try" in
15509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15510 *) ac_try_echo
=$ac_try;;
15512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15513 (eval "$ac_try") 2>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; } &&
15517 { ac_try
='test -s conftest$ac_exeext'
15518 { (case "(($ac_try" in
15519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15520 *) ac_try_echo=$ac_try;;
15522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15523 (eval "$ac_try") 2>&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; }; then
15527 ac_cv_asm_func_def=".type 2"
15529 echo "$as_me: failed program was:" >&5
15530 sed 's/^/| /' conftest.$ac_ext >&5
15532 ac_cv_asm_func_def="unknown"
15535 rm -f core conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15543 rm -f core conftest.err conftest.$ac_objext \
15544 conftest$ac_exeext conftest.$ac_ext
15546 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15547 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15551 case "$ac_cv_asm_func_def" in
15553 cat >>confdefs.h <<\_ACEOF
15554 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15558 cat >>confdefs.h <<\_ACEOF
15559 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15563 cat >>confdefs.h <<\_ACEOF
15564 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15568 cat >>confdefs.h <<\_ACEOF
15569 #define __ASM_FUNC(name) ""
15575 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15576 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15577 if test "${ac_cv_c_extern_prefix+set}" = set; then
15578 echo $ECHO_N "(cached) $ECHO_C" >&6
15580 cat >conftest.$ac_ext <<_ACEOF
15583 cat confdefs.h >>conftest.$ac_ext
15584 cat >>conftest.$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15586 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15587 extern int ac_test;
15591 if (ac_test) return 1
15596 rm -f conftest.$ac_objext conftest$ac_exeext
15597 if { (ac_try="$ac_link"
15598 case "(($ac_try" in
15599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15600 *) ac_try_echo
=$ac_try;;
15602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15603 (eval "$ac_link") 2>conftest.er1
15605 grep -v '^ *+' conftest.er1
>conftest.err
15607 cat conftest.err
>&5
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); } &&
15610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15611 { (case "(($ac_try" in
15612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15613 *) ac_try_echo=$ac_try;;
15615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15616 (eval "$ac_try") 2>&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; } &&
15620 { ac_try='test -s conftest$ac_exeext'
15621 { (case "(($ac_try" in
15622 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15623 *) ac_try_echo
=$ac_try;;
15625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15626 (eval "$ac_try") 2>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); }; }; then
15630 ac_cv_c_extern_prefix
="yes"
15632 echo "$as_me: failed program was:" >&5
15633 sed 's/^/| /' conftest.
$ac_ext >&5
15635 ac_cv_c_extern_prefix
="no"
15638 rm -f core conftest.err conftest.
$ac_objext \
15639 conftest
$ac_exeext conftest.
$ac_ext
15641 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15642 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15646 if test "$ac_cv_c_extern_prefix" = "yes"
15648 cat >>confdefs.h
<<\_ACEOF
15649 #define __ASM_NAME(name) "_" name
15653 cat >>confdefs.h
<<\_ACEOF
15654 #define __ASM_NAME(name) name
15662 DLLFLAGS
="-D_REENTRANT"
15677 if test -n "$ac_tool_prefix"; then
15678 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15679 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
15680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15682 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15683 echo $ECHO_N "(cached) $ECHO_C" >&6
15685 if test -n "$DLLTOOL"; then
15686 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15689 for as_dir
in $PATH
15692 test -z "$as_dir" && as_dir
=.
15693 for ac_exec_ext
in '' $ac_executable_extensions; do
15694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15695 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
15696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15705 DLLTOOL
=$ac_cv_prog_DLLTOOL
15706 if test -n "$DLLTOOL"; then
15707 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15708 echo "${ECHO_T}$DLLTOOL" >&6; }
15710 { echo "$as_me:$LINENO: result: no" >&5
15711 echo "${ECHO_T}no" >&6; }
15716 if test -z "$ac_cv_prog_DLLTOOL"; then
15717 ac_ct_DLLTOOL
=$DLLTOOL
15718 # Extract the first word of "dlltool", so it can be a program name with args.
15719 set dummy dlltool
; ac_word
=$2
15720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15722 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15723 echo $ECHO_N "(cached) $ECHO_C" >&6
15725 if test -n "$ac_ct_DLLTOOL"; then
15726 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
15728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15729 for as_dir
in $PATH
15732 test -z "$as_dir" && as_dir
=.
15733 for ac_exec_ext
in '' $ac_executable_extensions; do
15734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15735 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
15736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15745 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
15746 if test -n "$ac_ct_DLLTOOL"; then
15747 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15748 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15750 { echo "$as_me:$LINENO: result: no" >&5
15751 echo "${ECHO_T}no" >&6; }
15754 if test "x$ac_ct_DLLTOOL" = x
; then
15757 case $cross_compiling:$ac_tool_warned in
15759 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15760 whose name does not start with the host triplet. If you think this
15761 configuration is useful to you, please write to autoconf@gnu.org." >&5
15762 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15763 whose name does not start with the host triplet. If you think this
15764 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15765 ac_tool_warned
=yes ;;
15767 DLLTOOL
=$ac_ct_DLLTOOL
15770 DLLTOOL
="$ac_cv_prog_DLLTOOL"
15773 if test -n "$ac_tool_prefix"; then
15774 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15775 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
15776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15778 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15781 if test -n "$DLLWRAP"; then
15782 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
15784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15785 for as_dir
in $PATH
15788 test -z "$as_dir" && as_dir
=.
15789 for ac_exec_ext
in '' $ac_executable_extensions; do
15790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15791 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
15792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15801 DLLWRAP
=$ac_cv_prog_DLLWRAP
15802 if test -n "$DLLWRAP"; then
15803 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15804 echo "${ECHO_T}$DLLWRAP" >&6; }
15806 { echo "$as_me:$LINENO: result: no" >&5
15807 echo "${ECHO_T}no" >&6; }
15812 if test -z "$ac_cv_prog_DLLWRAP"; then
15813 ac_ct_DLLWRAP
=$DLLWRAP
15814 # Extract the first word of "dllwrap", so it can be a program name with args.
15815 set dummy dllwrap
; ac_word
=$2
15816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15818 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15819 echo $ECHO_N "(cached) $ECHO_C" >&6
15821 if test -n "$ac_ct_DLLWRAP"; then
15822 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
15824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15825 for as_dir
in $PATH
15828 test -z "$as_dir" && as_dir
=.
15829 for ac_exec_ext
in '' $ac_executable_extensions; do
15830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15831 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
15832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15841 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
15842 if test -n "$ac_ct_DLLWRAP"; then
15843 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15844 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15846 { echo "$as_me:$LINENO: result: no" >&5
15847 echo "${ECHO_T}no" >&6; }
15850 if test "x$ac_ct_DLLWRAP" = x
; then
15853 case $cross_compiling:$ac_tool_warned in
15855 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15856 whose name does not start with the host triplet. If you think this
15857 configuration is useful to you, please write to autoconf@gnu.org." >&5
15858 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15859 whose name does not start with the host triplet. If you think this
15860 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15861 ac_tool_warned
=yes ;;
15863 DLLWRAP
=$ac_ct_DLLWRAP
15866 DLLWRAP
="$ac_cv_prog_DLLWRAP"
15869 if test "$DLLWRAP" = "false"; then
15879 if test "$ac_cv_header_dlfcn_h" = "yes"
15882 for ac_func
in dlopen
15884 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15885 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15887 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15888 echo $ECHO_N "(cached) $ECHO_C" >&6
15890 cat >conftest.
$ac_ext <<_ACEOF
15893 cat confdefs.h
>>conftest.
$ac_ext
15894 cat >>conftest.
$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15898 #define $ac_func innocuous_$ac_func
15900 /* System header to define __stub macros and hopefully few prototypes,
15901 which can conflict with char $ac_func (); below.
15902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15903 <limits.h> exists even on freestanding compilers. */
15906 # include <limits.h>
15908 # include <assert.h>
15913 /* Override any GCC internal prototype to avoid an error.
15914 Use char because int might match the return type of a GCC
15915 builtin and then its argument prototype would still apply. */
15920 /* The GNU C library defines this for functions which it implements
15921 to always fail with ENOSYS. Some functions are actually named
15922 something starting with __ and the normal name is an alias. */
15923 #if defined __stub_$ac_func || defined __stub___$ac_func
15930 return $ac_func ();
15935 rm -f conftest.
$ac_objext conftest
$ac_exeext
15936 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
15944 grep -v '^ *+' conftest.er1 >conftest.err
15946 cat conftest.err >&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15950 { (case "(($ac_try" in
15951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15952 *) ac_try_echo
=$ac_try;;
15954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15955 (eval "$ac_try") 2>&5
15957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15958 (exit $ac_status); }; } &&
15959 { ac_try
='test -s conftest$ac_exeext'
15960 { (case "(($ac_try" in
15961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15962 *) ac_try_echo=$ac_try;;
15964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15965 (eval "$ac_try") 2>&5
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15969 eval "$as_ac_var=yes"
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.$ac_ext >&5
15974 eval "$as_ac_var=no"
15977 rm -f core conftest.err conftest.$ac_objext \
15978 conftest$ac_exeext conftest.$ac_ext
15980 ac_res=`eval echo '${'$as_ac_var'}'`
15981 { echo "$as_me:$LINENO: result: $ac_res" >&5
15982 echo "${ECHO_T}$ac_res" >&6; }
15983 if test `eval echo '${'$as_ac_var'}'` = yes; then
15984 cat >>confdefs.h <<_ACEOF
15985 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
15989 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15990 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15991 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15992 echo $ECHO_N "(cached) $ECHO_C" >&6
15994 ac_check_lib_save_LIBS=$LIBS
15996 cat >conftest.$ac_ext <<_ACEOF
15999 cat confdefs.h >>conftest.$ac_ext
16000 cat >>conftest.$ac_ext <<_ACEOF
16001 /* end confdefs.h. */
16003 /* Override any GCC internal prototype to avoid an error.
16004 Use char because int might match the return type of a GCC
16005 builtin and then its argument prototype would still apply. */
16018 rm -f conftest.$ac_objext conftest$ac_exeext
16019 if { (ac_try="$ac_link"
16020 case "(($ac_try" in
16021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16022 *) ac_try_echo
=$ac_try;;
16024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16025 (eval "$ac_link") 2>conftest.er1
16027 grep -v '^ *+' conftest.er1
>conftest.err
16029 cat conftest.err
>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); } &&
16032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16033 { (case "(($ac_try" in
16034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16035 *) ac_try_echo=$ac_try;;
16037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16038 (eval "$ac_try") 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; } &&
16042 { ac_try='test -s conftest$ac_exeext'
16043 { (case "(($ac_try" in
16044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16045 *) ac_try_echo
=$ac_try;;
16047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16048 (eval "$ac_try") 2>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 ac_cv_lib_dl_dlopen
=yes
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.
$ac_ext >&5
16057 ac_cv_lib_dl_dlopen
=no
16060 rm -f core conftest.err conftest.
$ac_objext \
16061 conftest
$ac_exeext conftest.
$ac_ext
16062 LIBS
=$ac_check_lib_save_LIBS
16064 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16065 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16066 if test $ac_cv_lib_dl_dlopen = yes; then
16068 cat >>confdefs.h
<<\_ACEOF
16069 #define HAVE_DLOPEN 1
16080 ac_wine_check_funcs_save_LIBS
="$LIBS"
16081 LIBS
="$LIBS $DLLIBS"
16083 for ac_func
in dladdr
16085 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16088 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16089 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 cat >conftest.
$ac_ext <<_ACEOF
16094 cat confdefs.h
>>conftest.
$ac_ext
16095 cat >>conftest.
$ac_ext <<_ACEOF
16096 /* end confdefs.h. */
16097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16099 #define $ac_func innocuous_$ac_func
16101 /* System header to define __stub macros and hopefully few prototypes,
16102 which can conflict with char $ac_func (); below.
16103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16104 <limits.h> exists even on freestanding compilers. */
16107 # include <limits.h>
16109 # include <assert.h>
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16121 /* The GNU C library defines this for functions which it implements
16122 to always fail with ENOSYS. Some functions are actually named
16123 something starting with __ and the normal name is an alias. */
16124 #if defined __stub_$ac_func || defined __stub___$ac_func
16131 return $ac_func ();
16136 rm -f conftest.
$ac_objext conftest
$ac_exeext
16137 if { (ac_try
="$ac_link"
16138 case "(($ac_try" in
16139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16140 *) ac_try_echo=$ac_try;;
16142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16143 (eval "$ac_link") 2>conftest.er1
16145 grep -v '^ *+' conftest.er1 >conftest.err
16147 cat conftest.err >&5
16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16149 (exit $ac_status); } &&
16150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16151 { (case "(($ac_try" in
16152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16153 *) ac_try_echo
=$ac_try;;
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_try") 2>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; } &&
16160 { ac_try
='test -s conftest$ac_exeext'
16161 { (case "(($ac_try" in
16162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16163 *) ac_try_echo=$ac_try;;
16165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16166 (eval "$ac_try") 2>&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); }; }; then
16170 eval "$as_ac_var=yes"
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.$ac_ext >&5
16175 eval "$as_ac_var=no"
16178 rm -f core conftest.err conftest.$ac_objext \
16179 conftest$ac_exeext conftest.$ac_ext
16181 ac_res=`eval echo '${'$as_ac_var'}'`
16182 { echo "$as_me:$LINENO: result: $ac_res" >&5
16183 echo "${ECHO_T}$ac_res" >&6; }
16184 if test `eval echo '${'$as_ac_var'}'` = yes; then
16185 cat >>confdefs.h <<_ACEOF
16186 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16192 LIBS="$ac_wine_check_funcs_save_LIBS"
16197 if test "$LIBEXT" = "so"
16199 DLLFLAGS="$DLLFLAGS -fPIC"
16201 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
16202 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
16203 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
16204 echo $ECHO_N "(cached) $ECHO_C" >&6
16206 ac_wine_try_cflags_saved=$CFLAGS
16207 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
16208 cat >conftest.$ac_ext <<_ACEOF
16211 rm -f conftest.$ac_objext conftest$ac_exeext
16212 if { (ac_try="$ac_link"
16213 case "(($ac_try" in
16214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16215 *) ac_try_echo
=$ac_try;;
16217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16218 (eval "$ac_link") 2>conftest.er1
16220 grep -v '^ *+' conftest.er1
>conftest.err
16222 cat conftest.err
>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); } &&
16225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16226 { (case "(($ac_try" in
16227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16228 *) ac_try_echo=$ac_try;;
16230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16231 (eval "$ac_try") 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; } &&
16235 { ac_try='test -s conftest$ac_exeext'
16236 { (case "(($ac_try" in
16237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16238 *) ac_try_echo
=$ac_try;;
16240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16241 (eval "$ac_try") 2>&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }; }; then
16245 ac_cv_c_dll_gnuelf
="yes"
16247 echo "$as_me: failed program was:" >&5
16248 sed 's/^/| /' conftest.
$ac_ext >&5
16250 ac_cv_c_dll_gnuelf
="no"
16253 rm -f core conftest.err conftest.
$ac_objext \
16254 conftest
$ac_exeext conftest.
$ac_ext
16255 CFLAGS
=$ac_wine_try_cflags_saved
16257 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
16258 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
16259 if test "$ac_cv_c_dll_gnuelf" = "yes"
16261 LDSHARED
="\$(CC) -shared"
16262 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
16263 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
16264 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
16265 if test "${ac_cv_c_sonames+set}" = set; then
16266 echo $ECHO_N "(cached) $ECHO_C" >&6
16268 ac_wine_try_cflags_saved
=$CFLAGS
16269 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
16270 cat >conftest.
$ac_ext <<_ACEOF
16273 cat confdefs.h
>>conftest.
$ac_ext
16274 cat >>conftest.
$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16285 rm -f conftest.
$ac_objext conftest
$ac_exeext
16286 if { (ac_try
="$ac_link"
16287 case "(($ac_try" in
16288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16289 *) ac_try_echo=$ac_try;;
16291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16292 (eval "$ac_link") 2>conftest.er1
16294 grep -v '^ *+' conftest.er1 >conftest.err
16296 cat conftest.err >&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } &&
16299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16300 { (case "(($ac_try" in
16301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16302 *) ac_try_echo
=$ac_try;;
16304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16305 (eval "$ac_try") 2>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; } &&
16309 { ac_try
='test -s conftest$ac_exeext'
16310 { (case "(($ac_try" in
16311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16312 *) ac_try_echo=$ac_try;;
16314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16315 (eval "$ac_try") 2>&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); }; }; then
16319 ac_cv_c_sonames="yes"
16321 echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.$ac_ext >&5
16324 ac_cv_c_sonames="no"
16327 rm -f core conftest.err conftest.$ac_objext \
16328 conftest$ac_exeext conftest.$ac_ext
16329 CFLAGS=$ac_wine_try_cflags_saved
16331 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
16332 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
16333 if test "$ac_cv_c_sonames" = "yes"
16335 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
16337 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
16338 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
16339 if test "${ac_cv_c_h_sonames+set}" = set; then
16340 echo $ECHO_N "(cached) $ECHO_C" >&6
16342 ac_wine_try_cflags_saved=$CFLAGS
16343 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
16344 cat >conftest.$ac_ext <<_ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16359 rm -f conftest.$ac_objext conftest$ac_exeext
16360 if { (ac_try="$ac_link"
16361 case "(($ac_try" in
16362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16363 *) ac_try_echo
=$ac_try;;
16365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16366 (eval "$ac_link") 2>conftest.er1
16368 grep -v '^ *+' conftest.er1
>conftest.err
16370 cat conftest.err
>&5
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); } &&
16373 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16374 { (case "(($ac_try" in
16375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16376 *) ac_try_echo=$ac_try;;
16378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16379 (eval "$ac_try") 2>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; } &&
16383 { ac_try='test -s conftest$ac_exeext'
16384 { (case "(($ac_try" in
16385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16386 *) ac_try_echo
=$ac_try;;
16388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16389 (eval "$ac_try") 2>&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; }; then
16393 ac_cv_c_h_sonames
="yes"
16395 echo "$as_me: failed program was:" >&5
16396 sed 's/^/| /' conftest.
$ac_ext >&5
16398 ac_cv_c_h_sonames
="no"
16401 rm -f core conftest.err conftest.
$ac_objext \
16402 conftest
$ac_exeext conftest.
$ac_ext
16403 CFLAGS
=$ac_wine_try_cflags_saved
16405 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
16406 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
16407 if test "$ac_cv_c_h_sonames" = "yes"
16409 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
16413 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
16414 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
16415 if test "${ac_cv_c_dll_zdefs+set}" = set; then
16416 echo $ECHO_N "(cached) $ECHO_C" >&6
16418 ac_wine_try_cflags_saved
=$CFLAGS
16419 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
16420 cat >conftest.
$ac_ext <<_ACEOF
16423 cat confdefs.h
>>conftest.
$ac_ext
16424 cat >>conftest.
$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16435 rm -f conftest.
$ac_objext conftest
$ac_exeext
16436 if { (ac_try
="$ac_link"
16437 case "(($ac_try" in
16438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16439 *) ac_try_echo=$ac_try;;
16441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16442 (eval "$ac_link") 2>conftest.er1
16444 grep -v '^ *+' conftest.er1 >conftest.err
16446 cat conftest.err >&5
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); } &&
16449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16450 { (case "(($ac_try" in
16451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16452 *) ac_try_echo
=$ac_try;;
16454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16455 (eval "$ac_try") 2>&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; } &&
16459 { ac_try
='test -s conftest$ac_exeext'
16460 { (case "(($ac_try" in
16461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16462 *) ac_try_echo=$ac_try;;
16464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16465 (eval "$ac_try") 2>&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; }; then
16469 ac_cv_c_dll_zdefs="yes"
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16474 ac_cv_c_dll_zdefs="no"
16477 rm -f core conftest.err conftest.$ac_objext \
16478 conftest$ac_exeext conftest.$ac_ext
16479 CFLAGS=$ac_wine_try_cflags_saved
16481 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
16482 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
16483 if test "$ac_cv_c_dll_zdefs" = "yes"
16485 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
16488 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
16489 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
16490 if test "${ac_cv_c_dll_init_fini+set}" = set; then
16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 ac_wine_try_cflags_saved=$CFLAGS
16494 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
16495 cat >conftest.$ac_ext <<_ACEOF
16498 cat confdefs.h >>conftest.$ac_ext
16499 cat >>conftest.$ac_ext <<_ACEOF
16500 /* end confdefs.h. */
16510 rm -f conftest.$ac_objext conftest$ac_exeext
16511 if { (ac_try="$ac_link"
16512 case "(($ac_try" in
16513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16514 *) ac_try_echo
=$ac_try;;
16516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16517 (eval "$ac_link") 2>conftest.er1
16519 grep -v '^ *+' conftest.er1
>conftest.err
16521 cat conftest.err
>&5
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); } &&
16524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16525 { (case "(($ac_try" in
16526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16527 *) ac_try_echo=$ac_try;;
16529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16530 (eval "$ac_try") 2>&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; } &&
16534 { ac_try='test -s conftest$ac_exeext'
16535 { (case "(($ac_try" in
16536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16537 *) ac_try_echo
=$ac_try;;
16539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16540 (eval "$ac_try") 2>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; }; then
16544 ac_cv_c_dll_init_fini
="yes"
16546 echo "$as_me: failed program was:" >&5
16547 sed 's/^/| /' conftest.
$ac_ext >&5
16549 ac_cv_c_dll_init_fini
="no"
16552 rm -f core conftest.err conftest.
$ac_objext \
16553 conftest
$ac_exeext conftest.
$ac_ext
16554 CFLAGS
=$ac_wine_try_cflags_saved
16556 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
16557 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
16558 if test "$ac_cv_c_dll_init_fini" = "yes"
16560 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
16563 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
16564 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
16565 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
16566 echo $ECHO_N "(cached) $ECHO_C" >&6
16568 echo '{ global: *; };' >conftest.map
16569 ac_wine_try_cflags_saved
=$CFLAGS
16570 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
16571 cat >conftest.
$ac_ext <<_ACEOF
16574 cat confdefs.h
>>conftest.
$ac_ext
16575 cat >>conftest.
$ac_ext <<_ACEOF
16576 /* end confdefs.h. */
16586 rm -f conftest.
$ac_objext conftest
$ac_exeext
16587 if { (ac_try
="$ac_link"
16588 case "(($ac_try" in
16589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16590 *) ac_try_echo=$ac_try;;
16592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16593 (eval "$ac_link") 2>conftest.er1
16595 grep -v '^ *+' conftest.er1 >conftest.err
16597 cat conftest.err >&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); } &&
16600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16601 { (case "(($ac_try" in
16602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16603 *) ac_try_echo
=$ac_try;;
16605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16606 (eval "$ac_try") 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; } &&
16610 { ac_try
='test -s conftest$ac_exeext'
16611 { (case "(($ac_try" in
16612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16613 *) ac_try_echo=$ac_try;;
16615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16616 (eval "$ac_try") 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; }; then
16620 ac_cv_c_ld_version_scripts="yes"
16622 echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.$ac_ext >&5
16625 ac_cv_c_ld_version_scripts="no"
16628 rm -f core conftest.err conftest.$ac_objext \
16629 conftest$ac_exeext conftest.$ac_ext
16630 CFLAGS=$ac_wine_try_cflags_saved
16633 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
16634 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
16635 if test "$ac_cv_c_ld_version_scripts" = "yes"
16637 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
16640 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
16641 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
16642 if test "${ac_cv_c_export_dynamic+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 ac_wine_try_cflags_saved=$CFLAGS
16646 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
16647 cat >conftest.$ac_ext <<_ACEOF
16650 cat confdefs.h >>conftest.$ac_ext
16651 cat >>conftest.$ac_ext <<_ACEOF
16652 /* end confdefs.h. */
16662 rm -f conftest.$ac_objext conftest$ac_exeext
16663 if { (ac_try="$ac_link"
16664 case "(($ac_try" in
16665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16666 *) ac_try_echo
=$ac_try;;
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_link") 2>conftest.er1
16671 grep -v '^ *+' conftest.er1
>conftest.err
16673 cat conftest.err
>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } &&
16676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16677 { (case "(($ac_try" in
16678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16679 *) ac_try_echo=$ac_try;;
16681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16682 (eval "$ac_try") 2>&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); }; } &&
16686 { ac_try='test -s conftest$ac_exeext'
16687 { (case "(($ac_try" in
16688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16689 *) ac_try_echo
=$ac_try;;
16691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16692 (eval "$ac_try") 2>&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); }; }; then
16696 ac_cv_c_export_dynamic
="yes"
16698 echo "$as_me: failed program was:" >&5
16699 sed 's/^/| /' conftest.
$ac_ext >&5
16701 ac_cv_c_export_dynamic
="no"
16704 rm -f core conftest.err conftest.
$ac_objext \
16705 conftest
$ac_exeext conftest.
$ac_ext
16706 CFLAGS
=$ac_wine_try_cflags_saved
16708 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
16709 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
16710 if test "$ac_cv_c_export_dynamic" = "yes"
16712 LDEXECFLAGS
="-Wl,--export-dynamic"
16716 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
16717 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
16718 if test "${ac_cv_ld_rpath+set}" = set; then
16719 echo $ECHO_N "(cached) $ECHO_C" >&6
16721 ac_wine_try_cflags_saved
=$CFLAGS
16722 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
16723 cat >conftest.
$ac_ext <<_ACEOF
16726 cat confdefs.h
>>conftest.
$ac_ext
16727 cat >>conftest.
$ac_ext <<_ACEOF
16728 /* end confdefs.h. */
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
16772 ac_cv_ld_rpath="yes"
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16777 ac_cv_ld_rpath="no"
16780 rm -f core conftest.err conftest.$ac_objext \
16781 conftest$ac_exeext conftest.$ac_ext
16782 CFLAGS=$ac_wine_try_cflags_saved
16784 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
16785 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
16786 if test "$ac_cv_ld_rpath" = "yes"
16788 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
16790 LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(dlldir
) \$
(libdir
)\
`"
16795 *i[3456789]86* | x86_64)
16796 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
16797 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
16798 if test "${ac_cv_ld_reloc_exec+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16801 ac_wine_try_cflags_saved=$CFLAGS
16802 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16803 cat >conftest.$ac_ext <<_ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16818 rm -f conftest.$ac_objext conftest$ac_exeext
16819 if { (ac_try="$ac_link"
16820 case "(($ac_try" in
16821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16822 *) ac_try_echo
=$ac_try;;
16824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16825 (eval "$ac_link") 2>conftest.er1
16827 grep -v '^ *+' conftest.er1
>conftest.err
16829 cat conftest.err
>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } &&
16832 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16833 { (case "(($ac_try" in
16834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16835 *) ac_try_echo=$ac_try;;
16837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16838 (eval "$ac_try") 2>&5
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }; } &&
16842 { ac_try='test -s conftest$ac_exeext'
16843 { (case "(($ac_try" in
16844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16845 *) ac_try_echo
=$ac_try;;
16847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16848 (eval "$ac_try") 2>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; }; then
16852 ac_cv_ld_reloc_exec
="yes"
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.
$ac_ext >&5
16857 ac_cv_ld_reloc_exec
="no"
16860 rm -f core conftest.err conftest.
$ac_objext \
16861 conftest
$ac_exeext conftest.
$ac_ext
16862 CFLAGS
=$ac_wine_try_cflags_saved
16864 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16865 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16866 if test "$ac_cv_ld_reloc_exec" = "yes"
16868 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16874 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16875 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16876 if test "${ac_cv_c_dll_unixware+set}" = set; then
16877 echo $ECHO_N "(cached) $ECHO_C" >&6
16879 ac_wine_try_cflags_saved
=$CFLAGS
16880 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16881 cat >conftest.
$ac_ext <<_ACEOF
16884 rm -f conftest.
$ac_objext conftest
$ac_exeext
16885 if { (ac_try
="$ac_link"
16886 case "(($ac_try" in
16887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16888 *) ac_try_echo=$ac_try;;
16890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16891 (eval "$ac_link") 2>conftest.er1
16893 grep -v '^ *+' conftest.er1 >conftest.err
16895 cat conftest.err >&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } &&
16898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16899 { (case "(($ac_try" in
16900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16901 *) ac_try_echo
=$ac_try;;
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_try") 2>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }; } &&
16908 { ac_try
='test -s conftest$ac_exeext'
16909 { (case "(($ac_try" in
16910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16911 *) ac_try_echo=$ac_try;;
16913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16914 (eval "$ac_try") 2>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; }; then
16918 ac_cv_c_dll_unixware="yes"
16920 echo "$as_me: failed program was:" >&5
16921 sed 's/^/| /' conftest.$ac_ext >&5
16923 ac_cv_c_dll_unixware="no"
16926 rm -f core conftest.err conftest.$ac_objext \
16927 conftest$ac_exeext conftest.$ac_ext
16928 CFLAGS=$ac_wine_try_cflags_saved
16930 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16931 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16932 if test "$ac_cv_c_dll_unixware" = "yes"
16934 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16935 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16938 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
16939 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
16940 if test "${ac_cv_c_dll_macho+set}" = set; then
16941 echo $ECHO_N "(cached) $ECHO_C" >&6
16943 ac_wine_try_cflags_saved=$CFLAGS
16944 CFLAGS="$CFLAGS -bundle"
16945 cat >conftest.$ac_ext <<_ACEOF
16948 rm -f conftest.$ac_objext conftest$ac_exeext
16949 if { (ac_try="$ac_link"
16950 case "(($ac_try" in
16951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16952 *) ac_try_echo
=$ac_try;;
16954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16955 (eval "$ac_link") 2>conftest.er1
16957 grep -v '^ *+' conftest.er1
>conftest.err
16959 cat conftest.err
>&5
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } &&
16962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16963 { (case "(($ac_try" in
16964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16965 *) ac_try_echo=$ac_try;;
16967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16968 (eval "$ac_try") 2>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; } &&
16972 { ac_try='test -s conftest$ac_exeext'
16973 { (case "(($ac_try" in
16974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16975 *) ac_try_echo
=$ac_try;;
16977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16978 (eval "$ac_try") 2>&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); }; }; then
16982 ac_cv_c_dll_macho
="yes"
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.
$ac_ext >&5
16987 ac_cv_c_dll_macho
="no"
16990 rm -f core conftest.err conftest.
$ac_objext \
16991 conftest
$ac_exeext conftest.
$ac_ext
16992 CFLAGS
=$ac_wine_try_cflags_saved
16994 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
16995 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
16996 if test "$ac_cv_c_dll_macho" = "yes"
16999 LDDLLFLAGS
="-bundle"
17000 LDSHARED
="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
17001 STRIP
="$STRIP -u -r"
17002 COREFOUNDATIONLIB
="-framework CoreFoundation"
17004 IOKITLIB
="-framework IOKit -framework CoreFoundation"
17006 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
17008 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
17010 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices"
17015 CFLAGS
="$CFLAGS -ffixed-r13"
17016 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning"
17021 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
17022 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
17023 if test "${ac_cv_c_dll_hpux+set}" = set; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 ac_wine_try_cflags_saved
=$CFLAGS
17027 CFLAGS
="$CFLAGS -shared"
17028 cat >conftest.
$ac_ext <<_ACEOF
17031 rm -f conftest.
$ac_objext conftest
$ac_exeext
17032 if { (ac_try
="$ac_link"
17033 case "(($ac_try" in
17034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17035 *) ac_try_echo=$ac_try;;
17037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17038 (eval "$ac_link") 2>conftest.er1
17040 grep -v '^ *+' conftest.er1 >conftest.err
17042 cat conftest.err >&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); } &&
17045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17046 { (case "(($ac_try" in
17047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17048 *) ac_try_echo
=$ac_try;;
17050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17051 (eval "$ac_try") 2>&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); }; } &&
17055 { ac_try
='test -s conftest$ac_exeext'
17056 { (case "(($ac_try" in
17057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17058 *) ac_try_echo=$ac_try;;
17060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17061 (eval "$ac_try") 2>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); }; }; then
17065 ac_cv_c_dll_hpux="yes"
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.$ac_ext >&5
17070 ac_cv_c_dll_hpux="no"
17073 rm -f core conftest.err conftest.$ac_objext \
17074 conftest$ac_exeext conftest.$ac_ext
17075 CFLAGS=$ac_wine_try_cflags_saved
17077 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
17078 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
17079 if test "$ac_cv_c_dll_hpux" = "yes"
17083 LDDLLFLAGS="-shared -fPIC"
17084 LDSHARED="\$(CC) -shared"
17093 if test "$cross_compiling" = "no"
17095 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
17097 # Extract the first word of "$ac_prog", so it can be a program name with args.
17098 set dummy $ac_prog; ac_word=$2
17099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17101 if test "${ac_cv_prog_CROSSCC+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17104 if test -n "$CROSSCC"; then
17105 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
17107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17108 for as_dir in $PATH
17111 test -z "$as_dir" && as_dir=.
17112 for ac_exec_ext in '' $ac_executable_extensions; do
17113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17114 ac_cv_prog_CROSSCC="$ac_prog"
17115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17124 CROSSCC=$ac_cv_prog_CROSSCC
17125 if test -n "$CROSSCC"; then
17126 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
17127 echo "${ECHO_T}$CROSSCC" >&6; }
17129 { echo "$as_me:$LINENO: result: no" >&5
17130 echo "${ECHO_T}no" >&6; }
17134 test -n "$CROSSCC" && break
17136 test -n "$CROSSCC" || CROSSCC="false"
17138 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
17140 # Extract the first word of "$ac_prog", so it can be a program name with args.
17141 set dummy $ac_prog; ac_word=$2
17142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17144 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17145 echo $ECHO_N "(cached) $ECHO_C" >&6
17147 if test -n "$DLLTOOL"; then
17148 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
17150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17151 for as_dir in $PATH
17154 test -z "$as_dir" && as_dir=.
17155 for ac_exec_ext in '' $ac_executable_extensions; do
17156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17157 ac_cv_prog_DLLTOOL="$ac_prog"
17158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17167 DLLTOOL=$ac_cv_prog_DLLTOOL
17168 if test -n "$DLLTOOL"; then
17169 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17170 echo "${ECHO_T}$DLLTOOL" >&6; }
17172 { echo "$as_me:$LINENO: result: no" >&5
17173 echo "${ECHO_T}no" >&6; }
17177 test -n "$DLLTOOL" && break
17179 test -n "$DLLTOOL" || DLLTOOL="false"
17181 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
17183 # Extract the first word of "$ac_prog", so it can be a program name with args.
17184 set dummy $ac_prog; ac_word=$2
17185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17187 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
17188 echo $ECHO_N "(cached) $ECHO_C" >&6
17190 if test -n "$CROSSWINDRES"; then
17191 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
17193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17194 for as_dir in $PATH
17197 test -z "$as_dir" && as_dir=.
17198 for ac_exec_ext in '' $ac_executable_extensions; do
17199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17200 ac_cv_prog_CROSSWINDRES="$ac_prog"
17201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17210 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
17211 if test -n "$CROSSWINDRES"; then
17212 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
17213 echo "${ECHO_T}$CROSSWINDRES" >&6; }
17215 { echo "$as_me:$LINENO: result: no" >&5
17216 echo "${ECHO_T}no" >&6; }
17220 test -n "$CROSSWINDRES" && break
17222 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
17224 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
17229 if test "$LIBEXT" = "a"; then
17230 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
17231 It is currently not possible to build Wine without shared library
17232 (.so) support to allow transparent switch between .so and .dll files.
17233 If you are using Linux, you will need a newer binutils.
17235 echo "$as_me: error: could not find a way to build shared libraries.
17236 It is currently not possible to build Wine without shared library
17237 (.so) support to allow transparent switch between .so and .dll files.
17238 If you are using Linux, you will need a newer binutils.
17240 { (exit 1); exit 1; }; }
17245 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
17248 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
17251 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
17259 SOCKETLIBS="-lws2_32"
17264 MAIN_BINARY="wine-pthread"
17268 linux* | k*bsd*-gnu)
17269 MAIN_BINARY="wine-glibc"
17271 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
17278 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
17280 # Extract the first word of "ldd", so it can be a program name with args.
17281 set dummy ldd; ac_word=$2
17282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17284 if test "${ac_cv_path_LDD+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
17292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17293 as_dummy="/sbin:/usr/sbin:$PATH"
17294 for as_dir in $as_dummy
17297 test -z "$as_dir" && as_dir=.
17298 for ac_exec_ext in '' $ac_executable_extensions; do
17299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17300 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
17301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17308 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
17312 LDD=$ac_cv_path_LDD
17313 if test -n "$LDD"; then
17314 { echo "$as_me:$LINENO: result: $LDD" >&5
17315 echo "${ECHO_T}$LDD" >&6; }
17317 { echo "$as_me:$LINENO: result: no" >&5
17318 echo "${ECHO_T}no" >&6; }
17322 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
17323 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
17324 if test "${ac_cv_lib_soname_X11+set}" = set; then
17325 echo $ECHO_N "(cached) $ECHO_C" >&6
17327 ac_get_soname_save_LIBS=$LIBS
17328 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
17329 cat >conftest.$ac_ext <<_ACEOF
17332 cat confdefs.h >>conftest.$ac_ext
17333 cat >>conftest.$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17336 /* Override any GCC internal prototype to avoid an error.
17337 Use char because int might match the return type of a GCC
17338 builtin and then its argument prototype would still apply. */
17342 char XCreateWindow ();
17346 return XCreateWindow ();
17351 rm -f conftest.$ac_objext conftest$ac_exeext
17352 if { (ac_try="$ac_link"
17353 case "(($ac_try" in
17354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17355 *) ac_try_echo
=$ac_try;;
17357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17358 (eval "$ac_link") 2>conftest.er1
17360 grep -v '^ *+' conftest.er1
>conftest.err
17362 cat conftest.err
>&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); } &&
17365 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17366 { (case "(($ac_try" in
17367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17368 *) ac_try_echo=$ac_try;;
17370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17371 (eval "$ac_try") 2>&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); }; } &&
17375 { ac_try='test -s conftest$ac_exeext'
17376 { (case "(($ac_try" in
17377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17378 *) ac_try_echo
=$ac_try;;
17380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17381 (eval "$ac_try") 2>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); }; }; then
17386 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'` ;;
17387 so
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17389 if test "x$ac_cv_lib_soname_X11" = "x"
17391 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
17394 echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.
$ac_ext >&5
17397 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
17400 rm -f core conftest.err conftest.
$ac_objext \
17401 conftest
$ac_exeext conftest.
$ac_ext
17402 LIBS
=$ac_get_soname_save_LIBS
17404 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
17405 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
17406 if test "${ac_cv_lib_soname_X11+set}" = set; then
17408 cat >>confdefs.h
<<_ACEOF
17409 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
17414 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
17415 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
17416 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 ac_get_soname_save_LIBS
=$LIBS
17420 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
17421 cat >conftest.
$ac_ext <<_ACEOF
17424 cat confdefs.h
>>conftest.
$ac_ext
17425 cat >>conftest.
$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17428 /* Override any GCC internal prototype to avoid an error.
17429 Use char because int might match the return type of a GCC
17430 builtin and then its argument prototype would still apply. */
17434 char XextCreateExtension ();
17438 return XextCreateExtension ();
17443 rm -f conftest.
$ac_objext conftest
$ac_exeext
17444 if { (ac_try
="$ac_link"
17445 case "(($ac_try" in
17446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_link") 2>conftest.er1
17452 grep -v '^ *+' conftest.er1 >conftest.err
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } &&
17457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17458 { (case "(($ac_try" in
17459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17460 *) ac_try_echo
=$ac_try;;
17462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17463 (eval "$ac_try") 2>&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); }; } &&
17467 { ac_try
='test -s conftest$ac_exeext'
17468 { (case "(($ac_try" in
17469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17470 *) ac_try_echo=$ac_try;;
17472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17473 (eval "$ac_try") 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17478 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'` ;;
17479 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXext
\\.so |
sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17481 if test "x$ac_cv_lib_soname_Xext" = "x"
17483 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17486 echo "$as_me: failed program was:" >&5
17487 sed 's/^/| /' conftest.$ac_ext >&5
17489 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
17492 rm -f core conftest.err conftest.$ac_objext \
17493 conftest$ac_exeext conftest.$ac_ext
17494 LIBS=$ac_get_soname_save_LIBS
17496 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
17497 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
17498 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17500 cat >>confdefs.h <<_ACEOF
17501 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
17506 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
17507 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
17508 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17509 echo $ECHO_N "(cached) $ECHO_C" >&6
17511 ac_get_soname_save_LIBS=$LIBS
17512 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17513 cat >conftest.$ac_ext <<_ACEOF
17516 cat confdefs.h >>conftest.$ac_ext
17517 cat >>conftest.$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17520 /* Override any GCC internal prototype to avoid an error.
17521 Use char because int might match the return type of a GCC
17522 builtin and then its argument prototype would still apply. */
17526 char XOpenDevice ();
17530 return XOpenDevice ();
17535 rm -f conftest.$ac_objext conftest$ac_exeext
17536 if { (ac_try="$ac_link"
17537 case "(($ac_try" in
17538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17539 *) ac_try_echo
=$ac_try;;
17541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17542 (eval "$ac_link") 2>conftest.er1
17544 grep -v '^ *+' conftest.er1
>conftest.err
17546 cat conftest.err
>&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } &&
17549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17550 { (case "(($ac_try" in
17551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17552 *) ac_try_echo=$ac_try;;
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_try") 2>&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); }; } &&
17559 { ac_try='test -s conftest$ac_exeext'
17560 { (case "(($ac_try" in
17561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17562 *) ac_try_echo
=$ac_try;;
17564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17565 (eval "$ac_try") 2>&5
17567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568 (exit $ac_status); }; }; then
17570 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'` ;;
17571 so
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17573 if test "x$ac_cv_lib_soname_Xi" = "x"
17575 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.
$ac_ext >&5
17581 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
17584 rm -f core conftest.err conftest.
$ac_objext \
17585 conftest
$ac_exeext conftest.
$ac_ext
17586 LIBS
=$ac_get_soname_save_LIBS
17588 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
17589 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
17590 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17592 cat >>confdefs.h
<<_ACEOF
17593 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
17598 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
17599 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
17600 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 ac_get_soname_save_LIBS
=$LIBS
17604 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17605 cat >conftest.
$ac_ext <<_ACEOF
17608 cat confdefs.h
>>conftest.
$ac_ext
17609 cat >>conftest.
$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17612 /* Override any GCC internal prototype to avoid an error.
17613 Use char because int might match the return type of a GCC
17614 builtin and then its argument prototype would still apply. */
17618 char XRenderQueryExtension ();
17622 return XRenderQueryExtension ();
17627 rm -f conftest.
$ac_objext conftest
$ac_exeext
17628 if { (ac_try
="$ac_link"
17629 case "(($ac_try" in
17630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_link") 2>conftest.er1
17636 grep -v '^ *+' conftest.er1 >conftest.err
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } &&
17641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17642 { (case "(($ac_try" in
17643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17644 *) ac_try_echo
=$ac_try;;
17646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17647 (eval "$ac_try") 2>&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); }; } &&
17651 { ac_try
='test -s conftest$ac_exeext'
17652 { (case "(($ac_try" in
17653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17654 *) ac_try_echo=$ac_try;;
17656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17657 (eval "$ac_try") 2>&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; }; then
17662 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'` ;;
17663 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrender
\\.so |
sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17665 if test "x$ac_cv_lib_soname_Xrender" = "x"
17667 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17670 echo "$as_me: failed program was:" >&5
17671 sed 's/^/| /' conftest.$ac_ext >&5
17673 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
17676 rm -f core conftest.err conftest.$ac_objext \
17677 conftest$ac_exeext conftest.$ac_ext
17678 LIBS=$ac_get_soname_save_LIBS
17680 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
17681 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
17682 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17684 cat >>confdefs.h <<_ACEOF
17685 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
17690 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
17691 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
17692 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17695 ac_get_soname_save_LIBS=$LIBS
17696 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17697 cat >conftest.$ac_ext <<_ACEOF
17700 cat confdefs.h >>conftest.$ac_ext
17701 cat >>conftest.$ac_ext <<_ACEOF
17702 /* end confdefs.h. */
17704 /* Override any GCC internal prototype to avoid an error.
17705 Use char because int might match the return type of a GCC
17706 builtin and then its argument prototype would still apply. */
17710 char XRRQueryExtension ();
17714 return XRRQueryExtension ();
17719 rm -f conftest.$ac_objext conftest$ac_exeext
17720 if { (ac_try="$ac_link"
17721 case "(($ac_try" in
17722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17723 *) ac_try_echo
=$ac_try;;
17725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17726 (eval "$ac_link") 2>conftest.er1
17728 grep -v '^ *+' conftest.er1
>conftest.err
17730 cat conftest.err
>&5
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); } &&
17733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17734 { (case "(($ac_try" in
17735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17736 *) ac_try_echo=$ac_try;;
17738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17739 (eval "$ac_try") 2>&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; } &&
17743 { ac_try='test -s conftest$ac_exeext'
17744 { (case "(($ac_try" in
17745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17746 *) ac_try_echo
=$ac_try;;
17748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17749 (eval "$ac_try") 2>&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); }; }; then
17754 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'` ;;
17755 so
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17757 if test "x$ac_cv_lib_soname_Xrandr" = "x"
17759 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
17762 echo "$as_me: failed program was:" >&5
17763 sed 's/^/| /' conftest.
$ac_ext >&5
17765 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
17768 rm -f core conftest.err conftest.
$ac_objext \
17769 conftest
$ac_exeext conftest.
$ac_ext
17770 LIBS
=$ac_get_soname_save_LIBS
17772 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
17773 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
17774 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17776 cat >>confdefs.h
<<_ACEOF
17777 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17782 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17783 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17784 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17785 echo $ECHO_N "(cached) $ECHO_C" >&6
17787 ac_get_soname_save_LIBS
=$LIBS
17788 LIBS
="-lfreetype $X_LIBS $LIBS"
17789 cat >conftest.
$ac_ext <<_ACEOF
17792 cat confdefs.h
>>conftest.
$ac_ext
17793 cat >>conftest.
$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17796 /* Override any GCC internal prototype to avoid an error.
17797 Use char because int might match the return type of a GCC
17798 builtin and then its argument prototype would still apply. */
17802 char FT_Init_FreeType ();
17806 return FT_Init_FreeType ();
17811 rm -f conftest.
$ac_objext conftest
$ac_exeext
17812 if { (ac_try
="$ac_link"
17813 case "(($ac_try" in
17814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17815 *) ac_try_echo=$ac_try;;
17817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17818 (eval "$ac_link") 2>conftest.er1
17820 grep -v '^ *+' conftest.er1 >conftest.err
17822 cat conftest.err >&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); } &&
17825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17826 { (case "(($ac_try" in
17827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17828 *) ac_try_echo
=$ac_try;;
17830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17831 (eval "$ac_try") 2>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; } &&
17835 { ac_try
='test -s conftest$ac_exeext'
17836 { (case "(($ac_try" in
17837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17838 *) ac_try_echo=$ac_try;;
17840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17841 (eval "$ac_try") 2>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; }; then
17846 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'` ;;
17847 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfreetype
\\.so |
sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17849 if test "x$ac_cv_lib_soname_freetype" = "x"
17851 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.$ac_ext >&5
17857 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
17860 rm -f core conftest.err conftest.$ac_objext \
17861 conftest$ac_exeext conftest.$ac_ext
17862 LIBS=$ac_get_soname_save_LIBS
17864 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17865 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17866 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17868 cat >>confdefs.h <<_ACEOF
17869 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17874 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17875 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17876 if test "${ac_cv_lib_soname_GL+set}" = set; then
17877 echo $ECHO_N "(cached) $ECHO_C" >&6
17879 ac_get_soname_save_LIBS=$LIBS
17880 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17881 cat >conftest.$ac_ext <<_ACEOF
17884 cat confdefs.h >>conftest.$ac_ext
17885 cat >>conftest.$ac_ext <<_ACEOF
17886 /* end confdefs.h. */
17888 /* Override any GCC internal prototype to avoid an error.
17889 Use char because int might match the return type of a GCC
17890 builtin and then its argument prototype would still apply. */
17894 char glXQueryExtension ();
17898 return glXQueryExtension ();
17903 rm -f conftest.$ac_objext conftest$ac_exeext
17904 if { (ac_try="$ac_link"
17905 case "(($ac_try" in
17906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17907 *) ac_try_echo
=$ac_try;;
17909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17910 (eval "$ac_link") 2>conftest.er1
17912 grep -v '^ *+' conftest.er1
>conftest.err
17914 cat conftest.err
>&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); } &&
17917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17918 { (case "(($ac_try" in
17919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17920 *) ac_try_echo=$ac_try;;
17922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17923 (eval "$ac_try") 2>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); }; } &&
17927 { ac_try='test -s conftest$ac_exeext'
17928 { (case "(($ac_try" in
17929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17930 *) ac_try_echo
=$ac_try;;
17932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17933 (eval "$ac_try") 2>&5
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); }; }; then
17938 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'` ;;
17939 so
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17941 if test "x$ac_cv_lib_soname_GL" = "x"
17943 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.
$ac_ext >&5
17949 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
17952 rm -f core conftest.err conftest.
$ac_objext \
17953 conftest
$ac_exeext conftest.
$ac_ext
17954 LIBS
=$ac_get_soname_save_LIBS
17956 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17957 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17958 if test "${ac_cv_lib_soname_GL+set}" = set; then
17960 cat >>confdefs.h
<<_ACEOF
17961 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17966 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
17967 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
17968 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
17969 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 ac_get_soname_save_LIBS
=$LIBS
17972 LIBS
="-ldbus-1 $LIBS"
17973 cat >conftest.
$ac_ext <<_ACEOF
17976 cat confdefs.h
>>conftest.
$ac_ext
17977 cat >>conftest.
$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17980 /* Override any GCC internal prototype to avoid an error.
17981 Use char because int might match the return type of a GCC
17982 builtin and then its argument prototype would still apply. */
17986 char dbus_error_init ();
17990 return dbus_error_init ();
17995 rm -f conftest.
$ac_objext conftest
$ac_exeext
17996 if { (ac_try
="$ac_link"
17997 case "(($ac_try" in
17998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17999 *) ac_try_echo=$ac_try;;
18001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18002 (eval "$ac_link") 2>conftest.er1
18004 grep -v '^ *+' conftest.er1 >conftest.err
18006 cat conftest.err >&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); } &&
18009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18010 { (case "(($ac_try" in
18011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18012 *) ac_try_echo
=$ac_try;;
18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18015 (eval "$ac_try") 2>&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; } &&
18019 { ac_try
='test -s conftest$ac_exeext'
18020 { (case "(($ac_try" in
18021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18022 *) ac_try_echo=$ac_try;;
18024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18025 (eval "$ac_try") 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; }; then
18030 dylib) ac_cv_lib_soname_dbus_1=`otool
-L conftest
$ac_exeext |
grep libdbus-1
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18031 so) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libdbus-1
\\.so |
sed -e "s/^.*\(libdbus-1\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18033 if test "x$ac_cv_lib_soname_dbus_1" = "x"
18035 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18038 echo "$as_me: failed program was:" >&5
18039 sed 's/^/| /' conftest.$ac_ext >&5
18041 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
18044 rm -f core conftest.err conftest.$ac_objext \
18045 conftest$ac_exeext conftest.$ac_ext
18046 LIBS=$ac_get_soname_save_LIBS
18048 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
18049 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
18050 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18052 cat >>confdefs.h <<_ACEOF
18053 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
18058 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
18059 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
18060 if test "${ac_cv_lib_soname_hal+set}" = set; then
18061 echo $ECHO_N "(cached) $ECHO_C" >&6
18063 ac_get_soname_save_LIBS=$LIBS
18065 cat >conftest.$ac_ext <<_ACEOF
18068 cat confdefs.h >>conftest.$ac_ext
18069 cat >>conftest.$ac_ext <<_ACEOF
18070 /* end confdefs.h. */
18072 /* Override any GCC internal prototype to avoid an error.
18073 Use char because int might match the return type of a GCC
18074 builtin and then its argument prototype would still apply. */
18078 char libhal_ctx_new ();
18082 return libhal_ctx_new ();
18087 rm -f conftest.$ac_objext conftest$ac_exeext
18088 if { (ac_try="$ac_link"
18089 case "(($ac_try" in
18090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18091 *) ac_try_echo
=$ac_try;;
18093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18094 (eval "$ac_link") 2>conftest.er1
18096 grep -v '^ *+' conftest.er1
>conftest.err
18098 cat conftest.err
>&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); } &&
18101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18102 { (case "(($ac_try" in
18103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18104 *) ac_try_echo=$ac_try;;
18106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18107 (eval "$ac_try") 2>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; } &&
18111 { ac_try='test -s conftest$ac_exeext'
18112 { (case "(($ac_try" in
18113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18114 *) ac_try_echo
=$ac_try;;
18116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18117 (eval "$ac_try") 2>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; }; then
18122 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'` ;;
18123 so
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18125 if test "x$ac_cv_lib_soname_hal" = "x"
18127 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.
$ac_ext >&5
18133 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
18136 rm -f core conftest.err conftest.
$ac_objext \
18137 conftest
$ac_exeext conftest.
$ac_ext
18138 LIBS
=$ac_get_soname_save_LIBS
18140 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
18141 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
18142 if test "${ac_cv_lib_soname_hal+set}" = set; then
18144 cat >>confdefs.h
<<_ACEOF
18145 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
18150 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
18151 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
18152 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18153 echo $ECHO_N "(cached) $ECHO_C" >&6
18155 ac_get_soname_save_LIBS
=$LIBS
18156 LIBS
="-ltxc_dxtn $LIBS"
18157 cat >conftest.
$ac_ext <<_ACEOF
18160 cat confdefs.h
>>conftest.
$ac_ext
18161 cat >>conftest.
$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18164 /* Override any GCC internal prototype to avoid an error.
18165 Use char because int might match the return type of a GCC
18166 builtin and then its argument prototype would still apply. */
18170 char fetch_2d_texel_rgba_dxt1 ();
18174 return fetch_2d_texel_rgba_dxt1 ();
18179 rm -f conftest.
$ac_objext conftest
$ac_exeext
18180 if { (ac_try
="$ac_link"
18181 case "(($ac_try" in
18182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_link") 2>conftest.er1
18188 grep -v '^ *+' conftest.er1 >conftest.err
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } &&
18193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18194 { (case "(($ac_try" in
18195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18196 *) ac_try_echo
=$ac_try;;
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_try") 2>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); }; } &&
18203 { ac_try
='test -s conftest$ac_exeext'
18204 { (case "(($ac_try" in
18205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18206 *) ac_try_echo=$ac_try;;
18208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18209 (eval "$ac_try") 2>&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); }; }; then
18214 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'` ;;
18215 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'` ;;
18217 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
18219 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18225 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
18228 rm -f core conftest.err conftest.$ac_objext \
18229 conftest$ac_exeext conftest.$ac_ext
18230 LIBS=$ac_get_soname_save_LIBS
18232 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
18233 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
18234 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18236 cat >>confdefs.h <<_ACEOF
18237 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
18242 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
18243 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
18244 if test "${ac_cv_lib_soname_cups+set}" = set; then
18245 echo $ECHO_N "(cached) $ECHO_C" >&6
18247 ac_get_soname_save_LIBS=$LIBS
18248 LIBS="-lcups $LIBS"
18249 cat >conftest.$ac_ext <<_ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18256 /* Override any GCC internal prototype to avoid an error.
18257 Use char because int might match the return type of a GCC
18258 builtin and then its argument prototype would still apply. */
18262 char cupsGetDefault ();
18266 return cupsGetDefault ();
18271 rm -f conftest.$ac_objext conftest$ac_exeext
18272 if { (ac_try="$ac_link"
18273 case "(($ac_try" in
18274 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18275 *) ac_try_echo
=$ac_try;;
18277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18278 (eval "$ac_link") 2>conftest.er1
18280 grep -v '^ *+' conftest.er1
>conftest.err
18282 cat conftest.err
>&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); } &&
18285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18286 { (case "(($ac_try" in
18287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18288 *) ac_try_echo=$ac_try;;
18290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18291 (eval "$ac_try") 2>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; } &&
18295 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18306 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'` ;;
18307 so
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18309 if test "x$ac_cv_lib_soname_cups" = "x"
18311 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
18314 echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.
$ac_ext >&5
18317 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
18320 rm -f core conftest.err conftest.
$ac_objext \
18321 conftest
$ac_exeext conftest.
$ac_ext
18322 LIBS
=$ac_get_soname_save_LIBS
18324 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
18325 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
18326 if test "${ac_cv_lib_soname_cups+set}" = set; then
18328 cat >>confdefs.h
<<_ACEOF
18329 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
18334 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
18335 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
18336 if test "${ac_cv_lib_soname_jack+set}" = set; then
18337 echo $ECHO_N "(cached) $ECHO_C" >&6
18339 ac_get_soname_save_LIBS
=$LIBS
18340 LIBS
="-ljack $LIBS"
18341 cat >conftest.
$ac_ext <<_ACEOF
18344 cat confdefs.h
>>conftest.
$ac_ext
18345 cat >>conftest.
$ac_ext <<_ACEOF
18346 /* end confdefs.h. */
18348 /* Override any GCC internal prototype to avoid an error.
18349 Use char because int might match the return type of a GCC
18350 builtin and then its argument prototype would still apply. */
18354 char jack_client_new ();
18358 return jack_client_new ();
18363 rm -f conftest.
$ac_objext conftest
$ac_exeext
18364 if { (ac_try
="$ac_link"
18365 case "(($ac_try" in
18366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18367 *) ac_try_echo=$ac_try;;
18369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18370 (eval "$ac_link") 2>conftest.er1
18372 grep -v '^ *+' conftest.er1 >conftest.err
18374 cat conftest.err >&5
18375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18376 (exit $ac_status); } &&
18377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18378 { (case "(($ac_try" in
18379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18380 *) ac_try_echo
=$ac_try;;
18382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18383 (eval "$ac_try") 2>&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; } &&
18387 { ac_try
='test -s conftest$ac_exeext'
18388 { (case "(($ac_try" in
18389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18390 *) ac_try_echo=$ac_try;;
18392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18393 (eval "$ac_try") 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; }; then
18398 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'` ;;
18399 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjack
\\.so |
sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18401 if test "x$ac_cv_lib_soname_jack" = "x"
18403 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18409 ac_cv_lib_soname_jack="libjack.$LIBEXT"
18412 rm -f core conftest.err conftest.$ac_objext \
18413 conftest$ac_exeext conftest.$ac_ext
18414 LIBS=$ac_get_soname_save_LIBS
18416 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
18417 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
18418 if test "${ac_cv_lib_soname_jack+set}" = set; then
18420 cat >>confdefs.h <<_ACEOF
18421 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
18426 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
18427 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
18428 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18429 echo $ECHO_N "(cached) $ECHO_C" >&6
18431 ac_get_soname_save_LIBS=$LIBS
18432 LIBS="-lfontconfig $LIBS"
18433 cat >conftest.$ac_ext <<_ACEOF
18436 cat confdefs.h >>conftest.$ac_ext
18437 cat >>conftest.$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18440 /* Override any GCC internal prototype to avoid an error.
18441 Use char because int might match the return type of a GCC
18442 builtin and then its argument prototype would still apply. */
18455 rm -f conftest.$ac_objext conftest$ac_exeext
18456 if { (ac_try="$ac_link"
18457 case "(($ac_try" in
18458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18459 *) ac_try_echo
=$ac_try;;
18461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18462 (eval "$ac_link") 2>conftest.er1
18464 grep -v '^ *+' conftest.er1
>conftest.err
18466 cat conftest.err
>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } &&
18469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18470 { (case "(($ac_try" in
18471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18472 *) ac_try_echo=$ac_try;;
18474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18475 (eval "$ac_try") 2>&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); }; } &&
18479 { ac_try='test -s conftest$ac_exeext'
18480 { (case "(($ac_try" in
18481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18482 *) ac_try_echo
=$ac_try;;
18484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18485 (eval "$ac_try") 2>&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); }; }; then
18490 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'` ;;
18491 so
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18493 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18495 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.
$ac_ext >&5
18501 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
18504 rm -f core conftest.err conftest.
$ac_objext \
18505 conftest
$ac_exeext conftest.
$ac_ext
18506 LIBS
=$ac_get_soname_save_LIBS
18508 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
18509 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
18510 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18512 cat >>confdefs.h
<<_ACEOF
18513 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
18518 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
18519 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
18520 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18523 ac_get_soname_save_LIBS
=$LIBS
18525 cat >conftest.
$ac_ext <<_ACEOF
18528 cat confdefs.h
>>conftest.
$ac_ext
18529 cat >>conftest.
$ac_ext <<_ACEOF
18530 /* end confdefs.h. */
18532 /* Override any GCC internal prototype to avoid an error.
18533 Use char because int might match the return type of a GCC
18534 builtin and then its argument prototype would still apply. */
18538 char SSL_library_init ();
18542 return SSL_library_init ();
18547 rm -f conftest.
$ac_objext conftest
$ac_exeext
18548 if { (ac_try
="$ac_link"
18549 case "(($ac_try" in
18550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18551 *) ac_try_echo=$ac_try;;
18553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18554 (eval "$ac_link") 2>conftest.er1
18556 grep -v '^ *+' conftest.er1 >conftest.err
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } &&
18561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18562 { (case "(($ac_try" in
18563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18564 *) ac_try_echo
=$ac_try;;
18566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18567 (eval "$ac_try") 2>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; } &&
18571 { ac_try
='test -s conftest$ac_exeext'
18572 { (case "(($ac_try" in
18573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_try") 2>&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; }; then
18582 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'` ;;
18583 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libssl
\\.so |
sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18585 if test "x$ac_cv_lib_soname_ssl" = "x"
18587 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18590 echo "$as_me: failed program was:" >&5
18591 sed 's/^/| /' conftest.$ac_ext >&5
18593 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
18596 rm -f core conftest.err conftest.$ac_objext \
18597 conftest$ac_exeext conftest.$ac_ext
18598 LIBS=$ac_get_soname_save_LIBS
18600 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
18601 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
18602 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18604 cat >>confdefs.h <<_ACEOF
18605 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
18610 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
18611 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
18612 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18613 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 ac_get_soname_save_LIBS=$LIBS
18616 LIBS="-lcrypto $LIBS"
18617 cat >conftest.$ac_ext <<_ACEOF
18620 cat confdefs.h >>conftest.$ac_ext
18621 cat >>conftest.$ac_ext <<_ACEOF
18622 /* end confdefs.h. */
18624 /* Override any GCC internal prototype to avoid an error.
18625 Use char because int might match the return type of a GCC
18626 builtin and then its argument prototype would still apply. */
18630 char BIO_new_socket ();
18634 return BIO_new_socket ();
18639 rm -f conftest.$ac_objext conftest$ac_exeext
18640 if { (ac_try="$ac_link"
18641 case "(($ac_try" in
18642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18643 *) ac_try_echo
=$ac_try;;
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646 (eval "$ac_link") 2>conftest.er1
18648 grep -v '^ *+' conftest.er1
>conftest.err
18650 cat conftest.err
>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } &&
18653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18654 { (case "(($ac_try" in
18655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18656 *) ac_try_echo=$ac_try;;
18658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18659 (eval "$ac_try") 2>&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); }; } &&
18663 { ac_try='test -s conftest$ac_exeext'
18664 { (case "(($ac_try" in
18665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18666 *) ac_try_echo
=$ac_try;;
18668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18669 (eval "$ac_try") 2>&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18674 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'` ;;
18675 so
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18677 if test "x$ac_cv_lib_soname_crypto" = "x"
18679 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
18682 echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.
$ac_ext >&5
18685 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
18688 rm -f core conftest.err conftest.
$ac_objext \
18689 conftest
$ac_exeext conftest.
$ac_ext
18690 LIBS
=$ac_get_soname_save_LIBS
18692 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
18693 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
18694 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18696 cat >>confdefs.h
<<_ACEOF
18697 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
18702 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
18703 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
18704 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 ac_get_soname_save_LIBS
=$LIBS
18708 LIBS
="-lncurses $LIBS"
18709 cat >conftest.
$ac_ext <<_ACEOF
18712 cat confdefs.h
>>conftest.
$ac_ext
18713 cat >>conftest.
$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18716 /* Override any GCC internal prototype to avoid an error.
18717 Use char because int might match the return type of a GCC
18718 builtin and then its argument prototype would still apply. */
18731 rm -f conftest.
$ac_objext conftest
$ac_exeext
18732 if { (ac_try
="$ac_link"
18733 case "(($ac_try" in
18734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18735 *) ac_try_echo=$ac_try;;
18737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18738 (eval "$ac_link") 2>conftest.er1
18740 grep -v '^ *+' conftest.er1 >conftest.err
18742 cat conftest.err >&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); } &&
18745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18746 { (case "(($ac_try" in
18747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18748 *) ac_try_echo
=$ac_try;;
18750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18751 (eval "$ac_try") 2>&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }; } &&
18755 { ac_try
='test -s conftest$ac_exeext'
18756 { (case "(($ac_try" in
18757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18758 *) ac_try_echo=$ac_try;;
18760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18761 (eval "$ac_try") 2>&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; }; then
18766 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'` ;;
18767 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libncurses
\\.so |
sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18769 if test "x$ac_cv_lib_soname_ncurses" = "x"
18771 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18774 echo "$as_me: failed program was:" >&5
18775 sed 's/^/| /' conftest.$ac_ext >&5
18777 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
18780 rm -f core conftest.err conftest.$ac_objext \
18781 conftest$ac_exeext conftest.$ac_ext
18782 LIBS=$ac_get_soname_save_LIBS
18784 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
18785 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
18786 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18788 cat >>confdefs.h <<_ACEOF
18789 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
18794 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
18795 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
18796 if test "${ac_cv_lib_soname_curses+set}" = set; then
18797 echo $ECHO_N "(cached) $ECHO_C" >&6
18799 ac_get_soname_save_LIBS=$LIBS
18800 LIBS="-lcurses $LIBS"
18801 cat >conftest.$ac_ext <<_ACEOF
18804 cat confdefs.h >>conftest.$ac_ext
18805 cat >>conftest.$ac_ext <<_ACEOF
18806 /* end confdefs.h. */
18808 /* Override any GCC internal prototype to avoid an error.
18809 Use char because int might match the return type of a GCC
18810 builtin and then its argument prototype would still apply. */
18823 rm -f conftest.$ac_objext conftest$ac_exeext
18824 if { (ac_try="$ac_link"
18825 case "(($ac_try" in
18826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18827 *) ac_try_echo
=$ac_try;;
18829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18830 (eval "$ac_link") 2>conftest.er1
18832 grep -v '^ *+' conftest.er1
>conftest.err
18834 cat conftest.err
>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); } &&
18837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18838 { (case "(($ac_try" in
18839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18840 *) ac_try_echo=$ac_try;;
18842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18843 (eval "$ac_try") 2>&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); }; } &&
18847 { ac_try='test -s conftest$ac_exeext'
18848 { (case "(($ac_try" in
18849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18850 *) ac_try_echo
=$ac_try;;
18852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18853 (eval "$ac_try") 2>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; }; then
18858 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'` ;;
18859 so
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18861 if test "x$ac_cv_lib_soname_curses" = "x"
18863 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
18866 echo "$as_me: failed program was:" >&5
18867 sed 's/^/| /' conftest.
$ac_ext >&5
18869 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
18872 rm -f core conftest.err conftest.
$ac_objext \
18873 conftest
$ac_exeext conftest.
$ac_ext
18874 LIBS
=$ac_get_soname_save_LIBS
18876 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18877 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18878 if test "${ac_cv_lib_soname_curses+set}" = set; then
18880 cat >>confdefs.h
<<_ACEOF
18881 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18886 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18887 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18888 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18889 echo $ECHO_N "(cached) $ECHO_C" >&6
18891 ac_get_soname_save_LIBS
=$LIBS
18892 LIBS
="-ljpeg $LIBS"
18893 cat >conftest.
$ac_ext <<_ACEOF
18896 cat confdefs.h
>>conftest.
$ac_ext
18897 cat >>conftest.
$ac_ext <<_ACEOF
18898 /* end confdefs.h. */
18900 /* Override any GCC internal prototype to avoid an error.
18901 Use char because int might match the return type of a GCC
18902 builtin and then its argument prototype would still apply. */
18906 char jpeg_start_decompress ();
18910 return jpeg_start_decompress ();
18915 rm -f conftest.
$ac_objext conftest
$ac_exeext
18916 if { (ac_try
="$ac_link"
18917 case "(($ac_try" in
18918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18919 *) ac_try_echo=$ac_try;;
18921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18922 (eval "$ac_link") 2>conftest.er1
18924 grep -v '^ *+' conftest.er1 >conftest.err
18926 cat conftest.err >&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); } &&
18929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18930 { (case "(($ac_try" in
18931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18932 *) ac_try_echo
=$ac_try;;
18934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18935 (eval "$ac_try") 2>&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; } &&
18939 { ac_try
='test -s conftest$ac_exeext'
18940 { (case "(($ac_try" in
18941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18942 *) ac_try_echo=$ac_try;;
18944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18945 (eval "$ac_try") 2>&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18950 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'` ;;
18951 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libjpeg
\\.so |
sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18953 if test "x$ac_cv_lib_soname_jpeg" = "x"
18955 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.$ac_ext >&5
18961 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18964 rm -f core conftest.err conftest.$ac_objext \
18965 conftest$ac_exeext conftest.$ac_ext
18966 LIBS=$ac_get_soname_save_LIBS
18968 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18969 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18970 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18972 cat >>confdefs.h <<_ACEOF
18973 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18978 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
18979 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
18980 if test "${ac_cv_lib_soname_ungif+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18983 ac_get_soname_save_LIBS=$LIBS
18984 LIBS="-lungif $LIBS"
18985 cat >conftest.$ac_ext <<_ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18992 /* Override any GCC internal prototype to avoid an error.
18993 Use char because int might match the return type of a GCC
18994 builtin and then its argument prototype would still apply. */
19002 return DGifOpen ();
19007 rm -f conftest.$ac_objext conftest$ac_exeext
19008 if { (ac_try="$ac_link"
19009 case "(($ac_try" in
19010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19011 *) ac_try_echo
=$ac_try;;
19013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19014 (eval "$ac_link") 2>conftest.er1
19016 grep -v '^ *+' conftest.er1
>conftest.err
19018 cat conftest.err
>&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); } &&
19021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19022 { (case "(($ac_try" in
19023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19024 *) ac_try_echo=$ac_try;;
19026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19027 (eval "$ac_try") 2>&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }; } &&
19031 { ac_try='test -s conftest$ac_exeext'
19032 { (case "(($ac_try" in
19033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19034 *) ac_try_echo
=$ac_try;;
19036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19037 (eval "$ac_try") 2>&5
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); }; }; then
19042 dylib
) ac_cv_lib_soname_ungif
=`otool -L conftest$ac_exeext | grep libungif\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libungif\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
19043 so
) ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.so | sed -e "s/^.*\(libungif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19045 if test "x$ac_cv_lib_soname_ungif" = "x"
19047 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
19050 echo "$as_me: failed program was:" >&5
19051 sed 's/^/| /' conftest.
$ac_ext >&5
19053 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
19056 rm -f core conftest.err conftest.
$ac_objext \
19057 conftest
$ac_exeext conftest.
$ac_ext
19058 LIBS
=$ac_get_soname_save_LIBS
19060 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
19061 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
19062 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19064 cat >>confdefs.h
<<_ACEOF
19065 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
19070 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
19071 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
19072 if test "${ac_cv_lib_soname_gif+set}" = set; then
19073 echo $ECHO_N "(cached) $ECHO_C" >&6
19075 ac_get_soname_save_LIBS
=$LIBS
19077 cat >conftest.
$ac_ext <<_ACEOF
19080 cat confdefs.h
>>conftest.
$ac_ext
19081 cat >>conftest.
$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19084 /* Override any GCC internal prototype to avoid an error.
19085 Use char because int might match the return type of a GCC
19086 builtin and then its argument prototype would still apply. */
19094 return DGifOpen ();
19099 rm -f conftest.
$ac_objext conftest
$ac_exeext
19100 if { (ac_try
="$ac_link"
19101 case "(($ac_try" in
19102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_link") 2>conftest.er1
19108 grep -v '^ *+' conftest.er1 >conftest.err
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } &&
19113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19114 { (case "(($ac_try" in
19115 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19116 *) ac_try_echo
=$ac_try;;
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_try") 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try
='test -s conftest$ac_exeext'
19124 { (case "(($ac_try" in
19125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19126 *) ac_try_echo=$ac_try;;
19128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19129 (eval "$ac_try") 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; }; then
19134 dylib) ac_cv_lib_soname_gif=`otool
-L conftest
$ac_exeext |
grep libgif
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libgif\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
19135 so) ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libgif
\\.so |
sed -e "s/^.*\(libgif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19137 if test "x$ac_cv_lib_soname_gif" = "x"
19139 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19142 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.$ac_ext >&5
19145 ac_cv_lib_soname_gif="libgif.$LIBEXT"
19148 rm -f core conftest.err conftest.$ac_objext \
19149 conftest$ac_exeext conftest.$ac_ext
19150 LIBS=$ac_get_soname_save_LIBS
19152 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
19153 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
19154 if test "${ac_cv_lib_soname_gif+set}" = set; then
19156 cat >>confdefs.h <<_ACEOF
19157 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
19162 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
19163 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
19164 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19165 echo $ECHO_N "(cached) $ECHO_C" >&6
19167 ac_get_soname_save_LIBS=$LIBS
19168 LIBS="-lcapi20 $LIBS"
19169 cat >conftest.$ac_ext <<_ACEOF
19172 cat confdefs.h >>conftest.$ac_ext
19173 cat >>conftest.$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19176 /* Override any GCC internal prototype to avoid an error.
19177 Use char because int might match the return type of a GCC
19178 builtin and then its argument prototype would still apply. */
19182 char capi20_isinstalled ();
19186 return capi20_isinstalled ();
19191 rm -f conftest.$ac_objext conftest$ac_exeext
19192 if { (ac_try="$ac_link"
19193 case "(($ac_try" in
19194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19195 *) ac_try_echo
=$ac_try;;
19197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19198 (eval "$ac_link") 2>conftest.er1
19200 grep -v '^ *+' conftest.er1
>conftest.err
19202 cat conftest.err
>&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } &&
19205 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try='test -s conftest$ac_exeext'
19216 { (case "(($ac_try" in
19217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19218 *) ac_try_echo
=$ac_try;;
19220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19221 (eval "$ac_try") 2>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); }; }; then
19226 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'` ;;
19227 so
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19229 if test "x$ac_cv_lib_soname_capi20" = "x"
19231 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.
$ac_ext >&5
19237 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
19240 rm -f core conftest.err conftest.
$ac_objext \
19241 conftest
$ac_exeext conftest.
$ac_ext
19242 LIBS
=$ac_get_soname_save_LIBS
19244 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
19245 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
19246 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19248 cat >>confdefs.h
<<_ACEOF
19249 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
19393 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19394 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19396 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19397 echo $ECHO_N "(cached) $ECHO_C" >&6
19399 cat >conftest.
$ac_ext <<_ACEOF
19402 cat confdefs.h
>>conftest.
$ac_ext
19403 cat >>conftest.
$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19407 #define $ac_func innocuous_$ac_func
19409 /* System header to define __stub macros and hopefully few prototypes,
19410 which can conflict with char $ac_func (); below.
19411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19412 <limits.h> exists even on freestanding compilers. */
19415 # include <limits.h>
19417 # include <assert.h>
19422 /* Override any GCC internal prototype to avoid an error.
19423 Use char because int might match the return type of a GCC
19424 builtin and then its argument prototype would still apply. */
19429 /* The GNU C library defines this for functions which it implements
19430 to always fail with ENOSYS. Some functions are actually named
19431 something starting with __ and the normal name is an alias. */
19432 #if defined __stub_$ac_func || defined __stub___$ac_func
19439 return $ac_func ();
19444 rm -f conftest.
$ac_objext conftest
$ac_exeext
19445 if { (ac_try
="$ac_link"
19446 case "(($ac_try" in
19447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19448 *) ac_try_echo=$ac_try;;
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_link") 2>conftest.er1
19453 grep -v '^ *+' conftest.er1 >conftest.err
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } &&
19458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19459 { (case "(($ac_try" in
19460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19461 *) ac_try_echo
=$ac_try;;
19463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19464 (eval "$ac_try") 2>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; } &&
19468 { ac_try
='test -s conftest$ac_exeext'
19469 { (case "(($ac_try" in
19470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19471 *) ac_try_echo=$ac_try;;
19473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19474 (eval "$ac_try") 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 eval "$as_ac_var=yes"
19480 echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.$ac_ext >&5
19483 eval "$as_ac_var=no"
19486 rm -f core conftest.err conftest.$ac_objext \
19487 conftest$ac_exeext conftest.$ac_ext
19489 ac_res=`eval echo '${'$as_ac_var'}'`
19490 { echo "$as_me:$LINENO: result: $ac_res" >&5
19491 echo "${ECHO_T}$ac_res" >&6; }
19492 if test `eval echo '${'$as_ac_var'}'` = yes; then
19493 cat >>confdefs.h <<_ACEOF
19494 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
19503 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19504 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19505 if test "${ac_cv_c_const+set}" = set; then
19506 echo $ECHO_N "(cached) $ECHO_C" >&6
19508 cat >conftest.$ac_ext <<_ACEOF
19511 cat confdefs.h >>conftest.$ac_ext
19512 cat >>conftest.$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19518 /* FIXME: Include the comments suggested by Paul. */
19519 #ifndef __cplusplus
19520 /* Ultrix mips cc rejects this. */
19521 typedef int charset[2];
19523 /* SunOS 4.1.1 cc rejects this. */
19524 char const *const *ccp;
19526 /* NEC SVR4.0.2 mips cc rejects this. */
19527 struct point {int x, y;};
19528 static struct point const zero = {0,0};
19529 /* AIX XL C 1.02.0.0 rejects this.
19530 It does not let you subtract one const X* pointer from another in
19531 an arm of an if-expression whose if-part is not a constant
19533 const char *g = "string";
19534 ccp = &g + (g ? g-g : 0);
19535 /* HPUX 7.0 cc rejects these. */
19538 ccp = (char const *const *) p;
19539 { /* SCO 3.2v4 cc rejects this. */
19541 char const *s = 0 ? (char *) 0 : (char const *) 0;
19546 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19547 int x[] = {25, 17};
19548 const int *foo = &x[0];
19551 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19552 typedef const int *iptr;
19556 { /* AIX XL C 1.02.0.0 rejects this saying
19557 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19558 struct s { int j; const int *ap[3]; };
19559 struct s *b; b->j = 5;
19561 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19562 const int foo = 10;
19563 if (!foo) return 0;
19565 return !x[0] && !zero.x;
19572 rm -f conftest.$ac_objext
19573 if { (ac_try="$ac_compile"
19574 case "(($ac_try" in
19575 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19576 *) ac_try_echo
=$ac_try;;
19578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19579 (eval "$ac_compile") 2>conftest.er1
19581 grep -v '^ *+' conftest.er1
>conftest.err
19583 cat conftest.err
>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); } &&
19586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19587 { (case "(($ac_try" in
19588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19589 *) ac_try_echo=$ac_try;;
19591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19592 (eval "$ac_try") 2>&5
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); }; } &&
19596 { ac_try='test -s conftest.$ac_objext'
19597 { (case "(($ac_try" in
19598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19599 *) ac_try_echo
=$ac_try;;
19601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19602 (eval "$ac_try") 2>&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); }; }; then
19608 echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.
$ac_ext >&5
19614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19616 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19617 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19618 if test $ac_cv_c_const = no
; then
19620 cat >>confdefs.h
<<\_ACEOF
19626 { echo "$as_me:$LINENO: checking for inline" >&5
19627 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19628 if test "${ac_cv_c_inline+set}" = set; then
19629 echo $ECHO_N "(cached) $ECHO_C" >&6
19632 for ac_kw
in inline __inline__ __inline
; do
19633 cat >conftest.
$ac_ext <<_ACEOF
19636 cat confdefs.h
>>conftest.
$ac_ext
19637 cat >>conftest.
$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19639 #ifndef __cplusplus
19641 static $ac_kw foo_t static_foo () {return 0; }
19642 $ac_kw foo_t foo () {return 0; }
19646 rm -f conftest.
$ac_objext
19647 if { (ac_try
="$ac_compile"
19648 case "(($ac_try" in
19649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19650 *) ac_try_echo=$ac_try;;
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_compile") 2>conftest.er1
19655 grep -v '^ *+' conftest.er1 >conftest.err
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } &&
19660 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19661 { (case "(($ac_try" in
19662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19663 *) ac_try_echo
=$ac_try;;
19665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19666 (eval "$ac_try") 2>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; } &&
19670 { ac_try
='test -s conftest.$ac_objext'
19671 { (case "(($ac_try" in
19672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19673 *) ac_try_echo=$ac_try;;
19675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19676 (eval "$ac_try") 2>&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 ac_cv_c_inline=$ac_kw
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.$ac_ext >&5
19688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 test "$ac_cv_c_inline" != no && break
19693 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19694 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19697 case $ac_cv_c_inline in
19700 case $ac_cv_c_inline in
19702 *) ac_val=$ac_cv_c_inline;;
19704 cat >>confdefs.h <<_ACEOF
19705 #ifndef __cplusplus
19706 #define inline $ac_val
19712 { echo "$as_me:$LINENO: checking for mode_t" >&5
19713 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19714 if test "${ac_cv_type_mode_t+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 cat >conftest.$ac_ext <<_ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 $ac_includes_default
19724 typedef mode_t ac__type_new_;
19728 if ((ac__type_new_ *) 0)
19730 if (sizeof (ac__type_new_))
19736 rm -f conftest.$ac_objext
19737 if { (ac_try="$ac_compile"
19738 case "(($ac_try" in
19739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19740 *) ac_try_echo
=$ac_try;;
19742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19743 (eval "$ac_compile") 2>conftest.er1
19745 grep -v '^ *+' conftest.er1
>conftest.err
19747 cat conftest.err
>&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); } &&
19750 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19751 { (case "(($ac_try" in
19752 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_try") 2>&5
19758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759 (exit $ac_status); }; } &&
19760 { ac_try='test -s conftest.$ac_objext'
19761 { (case "(($ac_try" in
19762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19763 *) ac_try_echo
=$ac_try;;
19765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19766 (eval "$ac_try") 2>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; }; then
19770 ac_cv_type_mode_t
=yes
19772 echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.
$ac_ext >&5
19775 ac_cv_type_mode_t
=no
19778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19780 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19781 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19782 if test $ac_cv_type_mode_t = yes; then
19784 cat >>confdefs.h
<<_ACEOF
19785 #define HAVE_MODE_T 1
19790 { echo "$as_me:$LINENO: checking for off_t" >&5
19791 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19792 if test "${ac_cv_type_off_t+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19795 cat >conftest.
$ac_ext <<_ACEOF
19798 cat confdefs.h
>>conftest.
$ac_ext
19799 cat >>conftest.
$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 $ac_includes_default
19802 typedef off_t ac__type_new_;
19806 if ((ac__type_new_ *) 0)
19808 if (sizeof (ac__type_new_))
19814 rm -f conftest.
$ac_objext
19815 if { (ac_try
="$ac_compile"
19816 case "(($ac_try" in
19817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19818 *) ac_try_echo=$ac_try;;
19820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19821 (eval "$ac_compile") 2>conftest.er1
19823 grep -v '^ *+' conftest.er1 >conftest.err
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } &&
19828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19829 { (case "(($ac_try" in
19830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19831 *) ac_try_echo
=$ac_try;;
19833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19834 (eval "$ac_try") 2>&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); }; } &&
19838 { ac_try
='test -s conftest.$ac_objext'
19839 { (case "(($ac_try" in
19840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19841 *) ac_try_echo=$ac_try;;
19843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19844 (eval "$ac_try") 2>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; }; then
19848 ac_cv_type_off_t=yes
19850 echo "$as_me: failed program was:" >&5
19851 sed 's/^/| /' conftest.$ac_ext >&5
19853 ac_cv_type_off_t=no
19856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19858 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19859 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19860 if test $ac_cv_type_off_t = yes; then
19862 cat >>confdefs.h <<_ACEOF
19863 #define HAVE_OFF_T 1
19868 { echo "$as_me:$LINENO: checking for pid_t" >&5
19869 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19870 if test "${ac_cv_type_pid_t+set}" = set; then
19871 echo $ECHO_N "(cached) $ECHO_C" >&6
19873 cat >conftest.$ac_ext <<_ACEOF
19876 cat confdefs.h >>conftest.$ac_ext
19877 cat >>conftest.$ac_ext <<_ACEOF
19878 /* end confdefs.h. */
19879 $ac_includes_default
19880 typedef pid_t ac__type_new_;
19884 if ((ac__type_new_ *) 0)
19886 if (sizeof (ac__type_new_))
19892 rm -f conftest.$ac_objext
19893 if { (ac_try="$ac_compile"
19894 case "(($ac_try" in
19895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19896 *) ac_try_echo
=$ac_try;;
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_compile") 2>conftest.er1
19901 grep -v '^ *+' conftest.er1
>conftest.err
19903 cat conftest.err
>&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); } &&
19906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19907 { (case "(($ac_try" in
19908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19909 *) ac_try_echo=$ac_try;;
19911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19912 (eval "$ac_try") 2>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; } &&
19916 { ac_try='test -s conftest.$ac_objext'
19917 { (case "(($ac_try" in
19918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19919 *) ac_try_echo
=$ac_try;;
19921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19922 (eval "$ac_try") 2>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; }; then
19926 ac_cv_type_pid_t
=yes
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.
$ac_ext >&5
19931 ac_cv_type_pid_t
=no
19934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19936 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19937 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19938 if test $ac_cv_type_pid_t = yes; then
19940 cat >>confdefs.h
<<_ACEOF
19941 #define HAVE_PID_T 1
19946 { echo "$as_me:$LINENO: checking for size_t" >&5
19947 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19948 if test "${ac_cv_type_size_t+set}" = set; then
19949 echo $ECHO_N "(cached) $ECHO_C" >&6
19951 cat >conftest.
$ac_ext <<_ACEOF
19954 cat confdefs.h
>>conftest.
$ac_ext
19955 cat >>conftest.
$ac_ext <<_ACEOF
19956 /* end confdefs.h. */
19957 $ac_includes_default
19958 typedef size_t ac__type_new_;
19962 if ((ac__type_new_ *) 0)
19964 if (sizeof (ac__type_new_))
19970 rm -f conftest.
$ac_objext
19971 if { (ac_try
="$ac_compile"
19972 case "(($ac_try" in
19973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19974 *) ac_try_echo=$ac_try;;
19976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19977 (eval "$ac_compile") 2>conftest.er1
19979 grep -v '^ *+' conftest.er1 >conftest.err
19981 cat conftest.err >&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } &&
19984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19985 { (case "(($ac_try" in
19986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19987 *) ac_try_echo
=$ac_try;;
19989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19990 (eval "$ac_try") 2>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); }; } &&
19994 { ac_try
='test -s conftest.$ac_objext'
19995 { (case "(($ac_try" in
19996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19997 *) ac_try_echo=$ac_try;;
19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_try") 2>&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); }; }; then
20004 ac_cv_type_size_t=yes
20006 echo "$as_me: failed program was:" >&5
20007 sed 's/^/| /' conftest.$ac_ext >&5
20009 ac_cv_type_size_t=no
20012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20014 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20015 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20016 if test $ac_cv_type_size_t = yes; then
20018 cat >>confdefs.h <<_ACEOF
20019 #define HAVE_SIZE_T 1
20024 { echo "$as_me:$LINENO: checking for ssize_t" >&5
20025 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
20026 if test "${ac_cv_type_ssize_t+set}" = set; then
20027 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 cat >conftest.$ac_ext <<_ACEOF
20032 cat confdefs.h >>conftest.$ac_ext
20033 cat >>conftest.$ac_ext <<_ACEOF
20034 /* end confdefs.h. */
20035 $ac_includes_default
20036 typedef ssize_t ac__type_new_;
20040 if ((ac__type_new_ *) 0)
20042 if (sizeof (ac__type_new_))
20048 rm -f conftest.$ac_objext
20049 if { (ac_try="$ac_compile"
20050 case "(($ac_try" in
20051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20052 *) ac_try_echo
=$ac_try;;
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_compile") 2>conftest.er1
20057 grep -v '^ *+' conftest.er1
>conftest.err
20059 cat conftest.err
>&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } &&
20062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20063 { (case "(($ac_try" in
20064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20065 *) ac_try_echo=$ac_try;;
20067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20068 (eval "$ac_try") 2>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; } &&
20072 { ac_try='test -s conftest.$ac_objext'
20073 { (case "(($ac_try" in
20074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20075 *) ac_try_echo
=$ac_try;;
20077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20078 (eval "$ac_try") 2>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; }; then
20082 ac_cv_type_ssize_t
=yes
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.
$ac_ext >&5
20087 ac_cv_type_ssize_t
=no
20090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20092 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
20093 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
20094 if test $ac_cv_type_ssize_t = yes; then
20096 cat >>confdefs.h
<<_ACEOF
20097 #define HAVE_SSIZE_T 1
20102 { echo "$as_me:$LINENO: checking for long long" >&5
20103 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20104 if test "${ac_cv_type_long_long+set}" = set; then
20105 echo $ECHO_N "(cached) $ECHO_C" >&6
20107 cat >conftest.
$ac_ext <<_ACEOF
20110 cat confdefs.h
>>conftest.
$ac_ext
20111 cat >>conftest.
$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 $ac_includes_default
20114 typedef long long ac__type_new_;
20118 if ((ac__type_new_ *) 0)
20120 if (sizeof (ac__type_new_))
20126 rm -f conftest.
$ac_objext
20127 if { (ac_try
="$ac_compile"
20128 case "(($ac_try" in
20129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20130 *) ac_try_echo=$ac_try;;
20132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20133 (eval "$ac_compile") 2>conftest.er1
20135 grep -v '^ *+' conftest.er1 >conftest.err
20137 cat conftest.err >&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } &&
20140 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20141 { (case "(($ac_try" in
20142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20143 *) ac_try_echo
=$ac_try;;
20145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20146 (eval "$ac_try") 2>&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); }; } &&
20150 { ac_try
='test -s conftest.$ac_objext'
20151 { (case "(($ac_try" in
20152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20153 *) ac_try_echo=$ac_try;;
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_try") 2>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); }; }; then
20160 ac_cv_type_long_long=yes
20162 echo "$as_me: failed program was:" >&5
20163 sed 's/^/| /' conftest.$ac_ext >&5
20165 ac_cv_type_long_long=no
20168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20170 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20171 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20172 if test $ac_cv_type_long_long = yes; then
20174 cat >>confdefs.h <<_ACEOF
20175 #define HAVE_LONG_LONG 1
20180 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
20181 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
20182 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
20183 echo $ECHO_N "(cached) $ECHO_C" >&6
20185 cat >conftest.$ac_ext <<_ACEOF
20188 cat confdefs.h >>conftest.$ac_ext
20189 cat >>conftest.$ac_ext <<_ACEOF
20190 /* end confdefs.h. */
20191 $ac_includes_default
20192 typedef fsblkcnt_t ac__type_new_;
20196 if ((ac__type_new_ *) 0)
20198 if (sizeof (ac__type_new_))
20204 rm -f conftest.$ac_objext
20205 if { (ac_try="$ac_compile"
20206 case "(($ac_try" in
20207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20208 *) ac_try_echo
=$ac_try;;
20210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20211 (eval "$ac_compile") 2>conftest.er1
20213 grep -v '^ *+' conftest.er1
>conftest.err
20215 cat conftest.err
>&5
20216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20217 (exit $ac_status); } &&
20218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20219 { (case "(($ac_try" in
20220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20221 *) ac_try_echo=$ac_try;;
20223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20224 (eval "$ac_try") 2>&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); }; } &&
20228 { ac_try='test -s conftest.$ac_objext'
20229 { (case "(($ac_try" in
20230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20231 *) ac_try_echo
=$ac_try;;
20233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20234 (eval "$ac_try") 2>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; }; then
20238 ac_cv_type_fsblkcnt_t
=yes
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.
$ac_ext >&5
20243 ac_cv_type_fsblkcnt_t
=no
20246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20248 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
20249 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
20250 if test $ac_cv_type_fsblkcnt_t = yes; then
20252 cat >>confdefs.h
<<_ACEOF
20253 #define HAVE_FSBLKCNT_T 1
20258 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
20259 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
20260 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20263 cat >conftest.
$ac_ext <<_ACEOF
20266 cat confdefs.h
>>conftest.
$ac_ext
20267 cat >>conftest.
$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20269 $ac_includes_default
20270 typedef fsfilcnt_t ac__type_new_;
20274 if ((ac__type_new_ *) 0)
20276 if (sizeof (ac__type_new_))
20282 rm -f conftest.
$ac_objext
20283 if { (ac_try
="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20291 grep -v '^ *+' conftest.er1 >conftest.err
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } &&
20296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20297 { (case "(($ac_try" in
20298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20299 *) ac_try_echo
=$ac_try;;
20301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20302 (eval "$ac_try") 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; } &&
20306 { ac_try
='test -s conftest.$ac_objext'
20307 { (case "(($ac_try" in
20308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;;
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_try") 2>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); }; }; then
20316 ac_cv_type_fsfilcnt_t=yes
20318 echo "$as_me: failed program was:" >&5
20319 sed 's/^/| /' conftest.$ac_ext >&5
20321 ac_cv_type_fsfilcnt_t=no
20324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20326 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20327 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
20328 if test $ac_cv_type_fsfilcnt_t = yes; then
20330 cat >>confdefs.h <<_ACEOF
20331 #define HAVE_FSFILCNT_T 1
20337 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20338 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20339 if test "${ac_cv_type_sigset_t+set}" = set; then
20340 echo $ECHO_N "(cached) $ECHO_C" >&6
20342 cat >conftest.$ac_ext <<_ACEOF
20345 cat confdefs.h >>conftest.$ac_ext
20346 cat >>conftest.$ac_ext <<_ACEOF
20347 /* end confdefs.h. */
20348 #include <signal.h>
20350 typedef sigset_t ac__type_new_;
20354 if ((ac__type_new_ *) 0)
20356 if (sizeof (ac__type_new_))
20362 rm -f conftest.$ac_objext
20363 if { (ac_try="$ac_compile"
20364 case "(($ac_try" in
20365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20366 *) ac_try_echo
=$ac_try;;
20368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20369 (eval "$ac_compile") 2>conftest.er1
20371 grep -v '^ *+' conftest.er1
>conftest.err
20373 cat conftest.err
>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); } &&
20376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20377 { (case "(($ac_try" in
20378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20379 *) ac_try_echo=$ac_try;;
20381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20382 (eval "$ac_try") 2>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; } &&
20386 { ac_try='test -s conftest.$ac_objext'
20387 { (case "(($ac_try" in
20388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20389 *) ac_try_echo
=$ac_try;;
20391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20392 (eval "$ac_try") 2>&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); }; }; then
20396 ac_cv_type_sigset_t
=yes
20398 echo "$as_me: failed program was:" >&5
20399 sed 's/^/| /' conftest.
$ac_ext >&5
20401 ac_cv_type_sigset_t
=no
20404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20406 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20407 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20408 if test $ac_cv_type_sigset_t = yes; then
20410 cat >>confdefs.h
<<_ACEOF
20411 #define HAVE_SIGSET_T 1
20417 { echo "$as_me:$LINENO: checking for request_sense" >&5
20418 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20419 if test "${ac_cv_type_request_sense+set}" = set; then
20420 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 cat >conftest.
$ac_ext <<_ACEOF
20425 cat confdefs.h
>>conftest.
$ac_ext
20426 cat >>conftest.
$ac_ext <<_ACEOF
20427 /* end confdefs.h. */
20428 #include <linux/cdrom.h>
20430 typedef request_sense ac__type_new_;
20434 if ((ac__type_new_ *) 0)
20436 if (sizeof (ac__type_new_))
20442 rm -f conftest.
$ac_objext
20443 if { (ac_try
="$ac_compile"
20444 case "(($ac_try" in
20445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20446 *) ac_try_echo=$ac_try;;
20448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20449 (eval "$ac_compile") 2>conftest.er1
20451 grep -v '^ *+' conftest.er1 >conftest.err
20453 cat conftest.err >&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); } &&
20456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20457 { (case "(($ac_try" in
20458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20459 *) ac_try_echo
=$ac_try;;
20461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20462 (eval "$ac_try") 2>&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; } &&
20466 { ac_try
='test -s conftest.$ac_objext'
20467 { (case "(($ac_try" in
20468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20469 *) ac_try_echo=$ac_try;;
20471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20472 (eval "$ac_try") 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20476 ac_cv_type_request_sense=yes
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.$ac_ext >&5
20481 ac_cv_type_request_sense=no
20484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20486 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20487 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20488 if test $ac_cv_type_request_sense = yes; then
20490 cat >>confdefs.h <<_ACEOF
20491 #define HAVE_REQUEST_SENSE 1
20498 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20499 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20500 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20503 cat >conftest.$ac_ext <<_ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 #ifdef HAVE_LINUX_INPUT_H
20510 #include <linux/input.h>
20516 static struct ff_effect ac_aggr;
20517 if (ac_aggr.direction)
20523 rm -f conftest.$ac_objext
20524 if { (ac_try="$ac_compile"
20525 case "(($ac_try" in
20526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20527 *) ac_try_echo
=$ac_try;;
20529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20530 (eval "$ac_compile") 2>conftest.er1
20532 grep -v '^ *+' conftest.er1
>conftest.err
20534 cat conftest.err
>&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); } &&
20537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20538 { (case "(($ac_try" in
20539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20540 *) ac_try_echo=$ac_try;;
20542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20543 (eval "$ac_try") 2>&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); }; } &&
20547 { ac_try='test -s conftest.$ac_objext'
20548 { (case "(($ac_try" in
20549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20550 *) ac_try_echo
=$ac_try;;
20552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20553 (eval "$ac_try") 2>&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; }; then
20557 ac_cv_member_struct_ff_effect_direction
=yes
20559 echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.
$ac_ext >&5
20562 cat >conftest.
$ac_ext <<_ACEOF
20565 cat confdefs.h
>>conftest.
$ac_ext
20566 cat >>conftest.
$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 #ifdef HAVE_LINUX_INPUT_H
20569 #include <linux/input.h>
20575 static struct ff_effect ac_aggr;
20576 if (sizeof ac_aggr.direction)
20582 rm -f conftest.
$ac_objext
20583 if { (ac_try
="$ac_compile"
20584 case "(($ac_try" in
20585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20586 *) ac_try_echo=$ac_try;;
20588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20589 (eval "$ac_compile") 2>conftest.er1
20591 grep -v '^ *+' conftest.er1 >conftest.err
20593 cat conftest.err >&5
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); } &&
20596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20597 { (case "(($ac_try" in
20598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20599 *) ac_try_echo
=$ac_try;;
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_try") 2>&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); }; } &&
20606 { ac_try
='test -s conftest.$ac_objext'
20607 { (case "(($ac_try" in
20608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20609 *) ac_try_echo=$ac_try;;
20611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20612 (eval "$ac_try") 2>&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); }; }; then
20616 ac_cv_member_struct_ff_effect_direction=yes
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.$ac_ext >&5
20621 ac_cv_member_struct_ff_effect_direction=no
20624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20629 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20630 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20631 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20633 cat >>confdefs.h <<_ACEOF
20634 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20641 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20642 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20643 if test "${wine_cv_have_sigaddset+set}" = set; then
20644 echo $ECHO_N "(cached) $ECHO_C" >&6
20646 cat >conftest.$ac_ext <<_ACEOF
20649 cat confdefs.h >>conftest.$ac_ext
20650 cat >>conftest.$ac_ext <<_ACEOF
20651 /* end confdefs.h. */
20652 #include <signal.h>
20656 sigset_t set; sigaddset(&set,SIGTERM);
20661 rm -f conftest.$ac_objext conftest$ac_exeext
20662 if { (ac_try="$ac_link"
20663 case "(($ac_try" in
20664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20665 *) ac_try_echo
=$ac_try;;
20667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20668 (eval "$ac_link") 2>conftest.er1
20670 grep -v '^ *+' conftest.er1
>conftest.err
20672 cat conftest.err
>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); } &&
20675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20676 { (case "(($ac_try" in
20677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20678 *) ac_try_echo=$ac_try;;
20680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20681 (eval "$ac_try") 2>&5
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); }; } &&
20685 { ac_try='test -s conftest$ac_exeext'
20686 { (case "(($ac_try" in
20687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20688 *) ac_try_echo
=$ac_try;;
20690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20691 (eval "$ac_try") 2>&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; }; then
20695 wine_cv_have_sigaddset
=yes
20697 echo "$as_me: failed program was:" >&5
20698 sed 's/^/| /' conftest.
$ac_ext >&5
20700 wine_cv_have_sigaddset
=no
20703 rm -f core conftest.err conftest.
$ac_objext \
20704 conftest
$ac_exeext conftest.
$ac_ext
20706 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20707 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20708 if test "$wine_cv_have_sigaddset" = "yes"
20711 cat >>confdefs.h
<<\_ACEOF
20712 #define HAVE_SIGADDSET 1
20718 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20719 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20720 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20721 echo $ECHO_N "(cached) $ECHO_C" >&6
20723 cat >conftest.
$ac_ext <<_ACEOF
20726 cat confdefs.h
>>conftest.
$ac_ext
20727 cat >>conftest.
$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20738 struct hostent *result;
20745 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20746 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20752 rm -f conftest.
$ac_objext conftest
$ac_exeext
20753 if { (ac_try
="$ac_link"
20754 case "(($ac_try" in
20755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20756 *) ac_try_echo=$ac_try;;
20758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20759 (eval "$ac_link") 2>conftest.er1
20761 grep -v '^ *+' conftest.er1 >conftest.err
20763 cat conftest.err >&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); } &&
20766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20767 { (case "(($ac_try" in
20768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20769 *) ac_try_echo
=$ac_try;;
20771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20772 (eval "$ac_try") 2>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; } &&
20776 { ac_try
='test -s conftest$ac_exeext'
20777 { (case "(($ac_try" in
20778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20779 *) ac_try_echo=$ac_try;;
20781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20782 (eval "$ac_try") 2>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); }; }; then
20786 wine_cv_linux_gethostbyname_r_6=yes
20788 echo "$as_me: failed program was:" >&5
20789 sed 's/^/| /' conftest.$ac_ext >&5
20791 wine_cv_linux_gethostbyname_r_6=no
20795 rm -f core conftest.err conftest.$ac_objext \
20796 conftest$ac_exeext conftest.$ac_ext
20799 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20800 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20801 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20804 cat >>confdefs.h <<\_ACEOF
20805 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20810 if test "$ac_cv_header_linux_joystick_h" = "yes"
20812 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20813 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20814 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20815 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 cat >conftest.$ac_ext <<_ACEOF
20820 cat confdefs.h >>conftest.$ac_ext
20821 cat >>conftest.$ac_ext <<_ACEOF
20822 /* end confdefs.h. */
20824 #include <sys/ioctl.h>
20825 #include <linux/joystick.h>
20827 struct js_event blub;
20828 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20829 #error "no 2.2 header"
20840 rm -f conftest.$ac_objext
20841 if { (ac_try="$ac_compile"
20842 case "(($ac_try" in
20843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20844 *) ac_try_echo
=$ac_try;;
20846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20847 (eval "$ac_compile") 2>conftest.er1
20849 grep -v '^ *+' conftest.er1
>conftest.err
20851 cat conftest.err
>&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } &&
20854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20855 { (case "(($ac_try" in
20856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20857 *) ac_try_echo=$ac_try;;
20859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20860 (eval "$ac_try") 2>&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; } &&
20864 { ac_try='test -s conftest.$ac_objext'
20865 { (case "(($ac_try" in
20866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20867 *) ac_try_echo
=$ac_try;;
20869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20870 (eval "$ac_try") 2>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); }; }; then
20874 wine_cv_linux_joystick_22_api
=yes
20876 echo "$as_me: failed program was:" >&5
20877 sed 's/^/| /' conftest.
$ac_ext >&5
20879 wine_cv_linux_joystick_22_api
=no
20882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20885 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20886 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20887 if test "$wine_cv_linux_joystick_22_api" = "yes"
20890 cat >>confdefs.h
<<\_ACEOF
20891 #define HAVE_LINUX_22_JOYSTICK_API 1
20898 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20899 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20900 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20903 cat >conftest.
$ac_ext <<_ACEOF
20906 cat confdefs.h
>>conftest.
$ac_ext
20907 cat >>conftest.
$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909 #include <sys/types.h>
20910 #ifdef HAVE_SYS_PARAM_H
20911 # include <sys/param.h>
20913 #ifdef HAVE_SYS_MOUNT_H
20914 # include <sys/mount.h>
20916 #ifdef HAVE_SYS_VFS_H
20917 # include <sys/vfs.h>
20919 #ifdef HAVE_SYS_STATFS_H
20920 # include <sys/statfs.h>
20926 static struct statfs ac_aggr;
20927 if (ac_aggr.f_bfree)
20933 rm -f conftest.
$ac_objext
20934 if { (ac_try
="$ac_compile"
20935 case "(($ac_try" in
20936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20937 *) ac_try_echo=$ac_try;;
20939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20940 (eval "$ac_compile") 2>conftest.er1
20942 grep -v '^ *+' conftest.er1 >conftest.err
20944 cat conftest.err >&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } &&
20947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20948 { (case "(($ac_try" in
20949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20950 *) ac_try_echo
=$ac_try;;
20952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20953 (eval "$ac_try") 2>&5
20955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20956 (exit $ac_status); }; } &&
20957 { ac_try
='test -s conftest.$ac_objext'
20958 { (case "(($ac_try" in
20959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20960 *) ac_try_echo=$ac_try;;
20962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20963 (eval "$ac_try") 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 ac_cv_member_struct_statfs_f_bfree=yes
20969 echo "$as_me: failed program was:" >&5
20970 sed 's/^/| /' conftest.$ac_ext >&5
20972 cat >conftest.$ac_ext <<_ACEOF
20975 cat confdefs.h >>conftest.$ac_ext
20976 cat >>conftest.$ac_ext <<_ACEOF
20977 /* end confdefs.h. */
20978 #include <sys/types.h>
20979 #ifdef HAVE_SYS_PARAM_H
20980 # include <sys/param.h>
20982 #ifdef HAVE_SYS_MOUNT_H
20983 # include <sys/mount.h>
20985 #ifdef HAVE_SYS_VFS_H
20986 # include <sys/vfs.h>
20988 #ifdef HAVE_SYS_STATFS_H
20989 # include <sys/statfs.h>
20995 static struct statfs ac_aggr;
20996 if (sizeof ac_aggr.f_bfree)
21002 rm -f conftest.$ac_objext
21003 if { (ac_try="$ac_compile"
21004 case "(($ac_try" in
21005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21006 *) ac_try_echo
=$ac_try;;
21008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21009 (eval "$ac_compile") 2>conftest.er1
21011 grep -v '^ *+' conftest.er1
>conftest.err
21013 cat conftest.err
>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21017 { (case "(($ac_try" in
21018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21019 *) ac_try_echo=$ac_try;;
21021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21022 (eval "$ac_try") 2>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; } &&
21026 { ac_try='test -s conftest.$ac_objext'
21027 { (case "(($ac_try" in
21028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21029 *) ac_try_echo
=$ac_try;;
21031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21032 (eval "$ac_try") 2>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; }; then
21036 ac_cv_member_struct_statfs_f_bfree
=yes
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.
$ac_ext >&5
21041 ac_cv_member_struct_statfs_f_bfree
=no
21044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21049 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
21050 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
21051 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
21053 cat >>confdefs.h
<<_ACEOF
21054 #define HAVE_STRUCT_STATFS_F_BFREE 1
21059 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
21060 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
21061 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
21062 echo $ECHO_N "(cached) $ECHO_C" >&6
21064 cat >conftest.
$ac_ext <<_ACEOF
21067 cat confdefs.h
>>conftest.
$ac_ext
21068 cat >>conftest.
$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 #include <sys/types.h>
21071 #ifdef HAVE_SYS_PARAM_H
21072 # include <sys/param.h>
21074 #ifdef HAVE_SYS_MOUNT_H
21075 # include <sys/mount.h>
21077 #ifdef HAVE_SYS_VFS_H
21078 # include <sys/vfs.h>
21080 #ifdef HAVE_SYS_STATFS_H
21081 # include <sys/statfs.h>
21087 static struct statfs ac_aggr;
21088 if (ac_aggr.f_bavail)
21094 rm -f conftest.
$ac_objext
21095 if { (ac_try
="$ac_compile"
21096 case "(($ac_try" in
21097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21098 *) ac_try_echo=$ac_try;;
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_compile") 2>conftest.er1
21103 grep -v '^ *+' conftest.er1 >conftest.err
21105 cat conftest.err >&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } &&
21108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21109 { (case "(($ac_try" in
21110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21111 *) ac_try_echo
=$ac_try;;
21113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21114 (eval "$ac_try") 2>&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); }; } &&
21118 { ac_try
='test -s conftest.$ac_objext'
21119 { (case "(($ac_try" in
21120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21121 *) ac_try_echo=$ac_try;;
21123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21124 (eval "$ac_try") 2>&5
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); }; }; then
21128 ac_cv_member_struct_statfs_f_bavail=yes
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.$ac_ext >&5
21133 cat >conftest.$ac_ext <<_ACEOF
21136 cat confdefs.h >>conftest.$ac_ext
21137 cat >>conftest.$ac_ext <<_ACEOF
21138 /* end confdefs.h. */
21139 #include <sys/types.h>
21140 #ifdef HAVE_SYS_PARAM_H
21141 # include <sys/param.h>
21143 #ifdef HAVE_SYS_MOUNT_H
21144 # include <sys/mount.h>
21146 #ifdef HAVE_SYS_VFS_H
21147 # include <sys/vfs.h>
21149 #ifdef HAVE_SYS_STATFS_H
21150 # include <sys/statfs.h>
21156 static struct statfs ac_aggr;
21157 if (sizeof ac_aggr.f_bavail)
21163 rm -f conftest.$ac_objext
21164 if { (ac_try="$ac_compile"
21165 case "(($ac_try" in
21166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21167 *) ac_try_echo
=$ac_try;;
21169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21170 (eval "$ac_compile") 2>conftest.er1
21172 grep -v '^ *+' conftest.er1
>conftest.err
21174 cat conftest.err
>&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); } &&
21177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21178 { (case "(($ac_try" in
21179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21180 *) ac_try_echo=$ac_try;;
21182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183 (eval "$ac_try") 2>&5
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); }; } &&
21187 { ac_try='test -s conftest.$ac_objext'
21188 { (case "(($ac_try" in
21189 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21190 *) ac_try_echo
=$ac_try;;
21192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21193 (eval "$ac_try") 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; }; then
21197 ac_cv_member_struct_statfs_f_bavail
=yes
21199 echo "$as_me: failed program was:" >&5
21200 sed 's/^/| /' conftest.
$ac_ext >&5
21202 ac_cv_member_struct_statfs_f_bavail
=no
21205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21210 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
21211 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
21212 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
21214 cat >>confdefs.h
<<_ACEOF
21215 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
21220 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
21221 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
21222 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
21223 echo $ECHO_N "(cached) $ECHO_C" >&6
21225 cat >conftest.
$ac_ext <<_ACEOF
21228 cat confdefs.h
>>conftest.
$ac_ext
21229 cat >>conftest.
$ac_ext <<_ACEOF
21230 /* end confdefs.h. */
21231 #include <sys/types.h>
21232 #ifdef HAVE_SYS_PARAM_H
21233 # include <sys/param.h>
21235 #ifdef HAVE_SYS_MOUNT_H
21236 # include <sys/mount.h>
21238 #ifdef HAVE_SYS_VFS_H
21239 # include <sys/vfs.h>
21241 #ifdef HAVE_SYS_STATFS_H
21242 # include <sys/statfs.h>
21248 static struct statfs ac_aggr;
21249 if (ac_aggr.f_frsize)
21255 rm -f conftest.
$ac_objext
21256 if { (ac_try
="$ac_compile"
21257 case "(($ac_try" in
21258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21259 *) ac_try_echo=$ac_try;;
21261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262 (eval "$ac_compile") 2>conftest.er1
21264 grep -v '^ *+' conftest.er1 >conftest.err
21266 cat conftest.err >&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21270 { (case "(($ac_try" in
21271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21272 *) ac_try_echo
=$ac_try;;
21274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21275 (eval "$ac_try") 2>&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; } &&
21279 { ac_try
='test -s conftest.$ac_objext'
21280 { (case "(($ac_try" in
21281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21282 *) ac_try_echo=$ac_try;;
21284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21285 (eval "$ac_try") 2>&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); }; }; then
21289 ac_cv_member_struct_statfs_f_frsize=yes
21291 echo "$as_me: failed program was:" >&5
21292 sed 's/^/| /' conftest.$ac_ext >&5
21294 cat >conftest.$ac_ext <<_ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 #include <sys/types.h>
21301 #ifdef HAVE_SYS_PARAM_H
21302 # include <sys/param.h>
21304 #ifdef HAVE_SYS_MOUNT_H
21305 # include <sys/mount.h>
21307 #ifdef HAVE_SYS_VFS_H
21308 # include <sys/vfs.h>
21310 #ifdef HAVE_SYS_STATFS_H
21311 # include <sys/statfs.h>
21317 static struct statfs ac_aggr;
21318 if (sizeof ac_aggr.f_frsize)
21324 rm -f conftest.$ac_objext
21325 if { (ac_try="$ac_compile"
21326 case "(($ac_try" in
21327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21328 *) ac_try_echo
=$ac_try;;
21330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21331 (eval "$ac_compile") 2>conftest.er1
21333 grep -v '^ *+' conftest.er1
>conftest.err
21335 cat conftest.err
>&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } &&
21338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21339 { (case "(($ac_try" in
21340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21341 *) ac_try_echo=$ac_try;;
21343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21344 (eval "$ac_try") 2>&5
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); }; } &&
21348 { ac_try='test -s conftest.$ac_objext'
21349 { (case "(($ac_try" in
21350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21351 *) ac_try_echo
=$ac_try;;
21353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21354 (eval "$ac_try") 2>&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); }; }; then
21358 ac_cv_member_struct_statfs_f_frsize
=yes
21360 echo "$as_me: failed program was:" >&5
21361 sed 's/^/| /' conftest.
$ac_ext >&5
21363 ac_cv_member_struct_statfs_f_frsize
=no
21366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21371 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21372 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21373 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21375 cat >>confdefs.h
<<_ACEOF
21376 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21381 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21382 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21383 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21384 echo $ECHO_N "(cached) $ECHO_C" >&6
21386 cat >conftest.
$ac_ext <<_ACEOF
21389 cat confdefs.h
>>conftest.
$ac_ext
21390 cat >>conftest.
$ac_ext <<_ACEOF
21391 /* end confdefs.h. */
21392 #include <sys/types.h>
21393 #ifdef HAVE_SYS_PARAM_H
21394 # include <sys/param.h>
21396 #ifdef HAVE_SYS_MOUNT_H
21397 # include <sys/mount.h>
21399 #ifdef HAVE_SYS_VFS_H
21400 # include <sys/vfs.h>
21402 #ifdef HAVE_SYS_STATFS_H
21403 # include <sys/statfs.h>
21409 static struct statfs ac_aggr;
21410 if (ac_aggr.f_ffree)
21416 rm -f conftest.
$ac_objext
21417 if { (ac_try
="$ac_compile"
21418 case "(($ac_try" in
21419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21420 *) ac_try_echo=$ac_try;;
21422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21423 (eval "$ac_compile") 2>conftest.er1
21425 grep -v '^ *+' conftest.er1 >conftest.err
21427 cat conftest.err >&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } &&
21430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21431 { (case "(($ac_try" in
21432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21433 *) ac_try_echo
=$ac_try;;
21435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21436 (eval "$ac_try") 2>&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); }; } &&
21440 { ac_try
='test -s conftest.$ac_objext'
21441 { (case "(($ac_try" in
21442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21443 *) ac_try_echo=$ac_try;;
21445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21446 (eval "$ac_try") 2>&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); }; }; then
21450 ac_cv_member_struct_statfs_f_ffree=yes
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.$ac_ext >&5
21455 cat >conftest.$ac_ext <<_ACEOF
21458 cat confdefs.h >>conftest.$ac_ext
21459 cat >>conftest.$ac_ext <<_ACEOF
21460 /* end confdefs.h. */
21461 #include <sys/types.h>
21462 #ifdef HAVE_SYS_PARAM_H
21463 # include <sys/param.h>
21465 #ifdef HAVE_SYS_MOUNT_H
21466 # include <sys/mount.h>
21468 #ifdef HAVE_SYS_VFS_H
21469 # include <sys/vfs.h>
21471 #ifdef HAVE_SYS_STATFS_H
21472 # include <sys/statfs.h>
21478 static struct statfs ac_aggr;
21479 if (sizeof ac_aggr.f_ffree)
21485 rm -f conftest.$ac_objext
21486 if { (ac_try="$ac_compile"
21487 case "(($ac_try" in
21488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21489 *) ac_try_echo
=$ac_try;;
21491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21492 (eval "$ac_compile") 2>conftest.er1
21494 grep -v '^ *+' conftest.er1
>conftest.err
21496 cat conftest.err
>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); } &&
21499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21500 { (case "(($ac_try" in
21501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_try") 2>&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); }; } &&
21509 { ac_try='test -s conftest.$ac_objext'
21510 { (case "(($ac_try" in
21511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21512 *) ac_try_echo
=$ac_try;;
21514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21515 (eval "$ac_try") 2>&5
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; }; then
21519 ac_cv_member_struct_statfs_f_ffree
=yes
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.
$ac_ext >&5
21524 ac_cv_member_struct_statfs_f_ffree
=no
21527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21532 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21533 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21534 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21536 cat >>confdefs.h
<<_ACEOF
21537 #define HAVE_STRUCT_STATFS_F_FFREE 1
21542 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21543 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21544 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21545 echo $ECHO_N "(cached) $ECHO_C" >&6
21547 cat >conftest.
$ac_ext <<_ACEOF
21550 cat confdefs.h
>>conftest.
$ac_ext
21551 cat >>conftest.
$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 #include <sys/types.h>
21554 #ifdef HAVE_SYS_PARAM_H
21555 # include <sys/param.h>
21557 #ifdef HAVE_SYS_MOUNT_H
21558 # include <sys/mount.h>
21560 #ifdef HAVE_SYS_VFS_H
21561 # include <sys/vfs.h>
21563 #ifdef HAVE_SYS_STATFS_H
21564 # include <sys/statfs.h>
21570 static struct statfs ac_aggr;
21571 if (ac_aggr.f_favail)
21577 rm -f conftest.
$ac_objext
21578 if { (ac_try
="$ac_compile"
21579 case "(($ac_try" in
21580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21581 *) ac_try_echo=$ac_try;;
21583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21584 (eval "$ac_compile") 2>conftest.er1
21586 grep -v '^ *+' conftest.er1 >conftest.err
21588 cat conftest.err >&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); } &&
21591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21592 { (case "(($ac_try" in
21593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21594 *) ac_try_echo
=$ac_try;;
21596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21597 (eval "$ac_try") 2>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); }; } &&
21601 { ac_try
='test -s conftest.$ac_objext'
21602 { (case "(($ac_try" in
21603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21604 *) ac_try_echo=$ac_try;;
21606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21607 (eval "$ac_try") 2>&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); }; }; then
21611 ac_cv_member_struct_statfs_f_favail=yes
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.$ac_ext >&5
21616 cat >conftest.$ac_ext <<_ACEOF
21619 cat confdefs.h >>conftest.$ac_ext
21620 cat >>conftest.$ac_ext <<_ACEOF
21621 /* end confdefs.h. */
21622 #include <sys/types.h>
21623 #ifdef HAVE_SYS_PARAM_H
21624 # include <sys/param.h>
21626 #ifdef HAVE_SYS_MOUNT_H
21627 # include <sys/mount.h>
21629 #ifdef HAVE_SYS_VFS_H
21630 # include <sys/vfs.h>
21632 #ifdef HAVE_SYS_STATFS_H
21633 # include <sys/statfs.h>
21639 static struct statfs ac_aggr;
21640 if (sizeof ac_aggr.f_favail)
21646 rm -f conftest.$ac_objext
21647 if { (ac_try="$ac_compile"
21648 case "(($ac_try" in
21649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21650 *) ac_try_echo
=$ac_try;;
21652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21653 (eval "$ac_compile") 2>conftest.er1
21655 grep -v '^ *+' conftest.er1
>conftest.err
21657 cat conftest.err
>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } &&
21660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21661 { (case "(($ac_try" in
21662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21663 *) ac_try_echo=$ac_try;;
21665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_try") 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; } &&
21670 { ac_try='test -s conftest.$ac_objext'
21671 { (case "(($ac_try" in
21672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21673 *) ac_try_echo
=$ac_try;;
21675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21676 (eval "$ac_try") 2>&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); }; }; then
21680 ac_cv_member_struct_statfs_f_favail
=yes
21682 echo "$as_me: failed program was:" >&5
21683 sed 's/^/| /' conftest.
$ac_ext >&5
21685 ac_cv_member_struct_statfs_f_favail
=no
21688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21693 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21694 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21695 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21697 cat >>confdefs.h
<<_ACEOF
21698 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21703 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21704 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21705 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21706 echo $ECHO_N "(cached) $ECHO_C" >&6
21708 cat >conftest.
$ac_ext <<_ACEOF
21711 cat confdefs.h
>>conftest.
$ac_ext
21712 cat >>conftest.
$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 #include <sys/types.h>
21715 #ifdef HAVE_SYS_PARAM_H
21716 # include <sys/param.h>
21718 #ifdef HAVE_SYS_MOUNT_H
21719 # include <sys/mount.h>
21721 #ifdef HAVE_SYS_VFS_H
21722 # include <sys/vfs.h>
21724 #ifdef HAVE_SYS_STATFS_H
21725 # include <sys/statfs.h>
21731 static struct statfs ac_aggr;
21732 if (ac_aggr.f_namelen)
21738 rm -f conftest.
$ac_objext
21739 if { (ac_try
="$ac_compile"
21740 case "(($ac_try" in
21741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21742 *) ac_try_echo=$ac_try;;
21744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21745 (eval "$ac_compile") 2>conftest.er1
21747 grep -v '^ *+' conftest.er1 >conftest.err
21749 cat conftest.err >&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); } &&
21752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21753 { (case "(($ac_try" in
21754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21755 *) ac_try_echo
=$ac_try;;
21757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21758 (eval "$ac_try") 2>&5
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); }; } &&
21762 { ac_try
='test -s conftest.$ac_objext'
21763 { (case "(($ac_try" in
21764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21765 *) ac_try_echo=$ac_try;;
21767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21768 (eval "$ac_try") 2>&5
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); }; }; then
21772 ac_cv_member_struct_statfs_f_namelen=yes
21774 echo "$as_me: failed program was:" >&5
21775 sed 's/^/| /' conftest.$ac_ext >&5
21777 cat >conftest.$ac_ext <<_ACEOF
21780 cat confdefs.h >>conftest.$ac_ext
21781 cat >>conftest.$ac_ext <<_ACEOF
21782 /* end confdefs.h. */
21783 #include <sys/types.h>
21784 #ifdef HAVE_SYS_PARAM_H
21785 # include <sys/param.h>
21787 #ifdef HAVE_SYS_MOUNT_H
21788 # include <sys/mount.h>
21790 #ifdef HAVE_SYS_VFS_H
21791 # include <sys/vfs.h>
21793 #ifdef HAVE_SYS_STATFS_H
21794 # include <sys/statfs.h>
21800 static struct statfs ac_aggr;
21801 if (sizeof ac_aggr.f_namelen)
21807 rm -f conftest.$ac_objext
21808 if { (ac_try="$ac_compile"
21809 case "(($ac_try" in
21810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21811 *) ac_try_echo
=$ac_try;;
21813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21814 (eval "$ac_compile") 2>conftest.er1
21816 grep -v '^ *+' conftest.er1
>conftest.err
21818 cat conftest.err
>&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); } &&
21821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21822 { (case "(($ac_try" in
21823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21824 *) ac_try_echo=$ac_try;;
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_try") 2>&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; } &&
21831 { ac_try='test -s conftest.$ac_objext'
21832 { (case "(($ac_try" in
21833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21834 *) ac_try_echo
=$ac_try;;
21836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21837 (eval "$ac_try") 2>&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); }; }; then
21841 ac_cv_member_struct_statfs_f_namelen
=yes
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.
$ac_ext >&5
21846 ac_cv_member_struct_statfs_f_namelen
=no
21849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21854 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21855 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21856 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21858 cat >>confdefs.h
<<_ACEOF
21859 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21866 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21867 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21868 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21871 cat >conftest.
$ac_ext <<_ACEOF
21874 cat confdefs.h
>>conftest.
$ac_ext
21875 cat >>conftest.
$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 #ifdef HAVE_SYS_STATVFS_H
21878 #include <sys/statvfs.h>
21884 static struct statvfs ac_aggr;
21885 if (ac_aggr.f_blocks)
21891 rm -f conftest.
$ac_objext
21892 if { (ac_try
="$ac_compile"
21893 case "(($ac_try" in
21894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21895 *) ac_try_echo=$ac_try;;
21897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21898 (eval "$ac_compile") 2>conftest.er1
21900 grep -v '^ *+' conftest.er1 >conftest.err
21902 cat conftest.err >&5
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); } &&
21905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21906 { (case "(($ac_try" in
21907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21908 *) ac_try_echo
=$ac_try;;
21910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21911 (eval "$ac_try") 2>&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; } &&
21915 { ac_try
='test -s conftest.$ac_objext'
21916 { (case "(($ac_try" in
21917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_try") 2>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; }; then
21925 ac_cv_member_struct_statvfs_f_blocks=yes
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.$ac_ext >&5
21930 cat >conftest.$ac_ext <<_ACEOF
21933 cat confdefs.h >>conftest.$ac_ext
21934 cat >>conftest.$ac_ext <<_ACEOF
21935 /* end confdefs.h. */
21936 #ifdef HAVE_SYS_STATVFS_H
21937 #include <sys/statvfs.h>
21943 static struct statvfs ac_aggr;
21944 if (sizeof ac_aggr.f_blocks)
21950 rm -f conftest.$ac_objext
21951 if { (ac_try="$ac_compile"
21952 case "(($ac_try" in
21953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21954 *) ac_try_echo
=$ac_try;;
21956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21957 (eval "$ac_compile") 2>conftest.er1
21959 grep -v '^ *+' conftest.er1
>conftest.err
21961 cat conftest.err
>&5
21962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21963 (exit $ac_status); } &&
21964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21965 { (case "(($ac_try" in
21966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_try") 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); }; } &&
21974 { ac_try='test -s conftest.$ac_objext'
21975 { (case "(($ac_try" in
21976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21977 *) ac_try_echo
=$ac_try;;
21979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21980 (eval "$ac_try") 2>&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); }; }; then
21984 ac_cv_member_struct_statvfs_f_blocks
=yes
21986 echo "$as_me: failed program was:" >&5
21987 sed 's/^/| /' conftest.
$ac_ext >&5
21989 ac_cv_member_struct_statvfs_f_blocks
=no
21992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21997 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21998 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21999 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
22001 cat >>confdefs.h
<<_ACEOF
22002 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
22009 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
22010 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
22011 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
22012 echo $ECHO_N "(cached) $ECHO_C" >&6
22014 cat >conftest.
$ac_ext <<_ACEOF
22017 cat confdefs.h
>>conftest.
$ac_ext
22018 cat >>conftest.
$ac_ext <<_ACEOF
22019 /* end confdefs.h. */
22020 #include <sys/types.h>
22021 #ifdef HAVE_SYS_SOCKET_H
22022 # include <sys/socket.h>
22024 #ifdef HAVE_SYS_UN_H
22025 # include <sys/un.h>
22031 static struct msghdr ac_aggr;
22032 if (ac_aggr.msg_accrights)
22038 rm -f conftest.
$ac_objext
22039 if { (ac_try
="$ac_compile"
22040 case "(($ac_try" in
22041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22042 *) ac_try_echo=$ac_try;;
22044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22045 (eval "$ac_compile") 2>conftest.er1
22047 grep -v '^ *+' conftest.er1 >conftest.err
22049 cat conftest.err >&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); } &&
22052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22053 { (case "(($ac_try" in
22054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22055 *) ac_try_echo
=$ac_try;;
22057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22058 (eval "$ac_try") 2>&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); }; } &&
22062 { ac_try
='test -s conftest.$ac_objext'
22063 { (case "(($ac_try" in
22064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22065 *) ac_try_echo=$ac_try;;
22067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22068 (eval "$ac_try") 2>&5
22070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22071 (exit $ac_status); }; }; then
22072 ac_cv_member_struct_msghdr_msg_accrights=yes
22074 echo "$as_me: failed program was:" >&5
22075 sed 's/^/| /' conftest.$ac_ext >&5
22077 cat >conftest.$ac_ext <<_ACEOF
22080 cat confdefs.h >>conftest.$ac_ext
22081 cat >>conftest.$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 #include <sys/types.h>
22084 #ifdef HAVE_SYS_SOCKET_H
22085 # include <sys/socket.h>
22087 #ifdef HAVE_SYS_UN_H
22088 # include <sys/un.h>
22094 static struct msghdr ac_aggr;
22095 if (sizeof ac_aggr.msg_accrights)
22101 rm -f conftest.$ac_objext
22102 if { (ac_try="$ac_compile"
22103 case "(($ac_try" in
22104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22105 *) ac_try_echo
=$ac_try;;
22107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22108 (eval "$ac_compile") 2>conftest.er1
22110 grep -v '^ *+' conftest.er1
>conftest.err
22112 cat conftest.err
>&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22116 { (case "(($ac_try" in
22117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22118 *) ac_try_echo=$ac_try;;
22120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22121 (eval "$ac_try") 2>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; } &&
22125 { ac_try='test -s conftest.$ac_objext'
22126 { (case "(($ac_try" in
22127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22128 *) ac_try_echo
=$ac_try;;
22130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22131 (eval "$ac_try") 2>&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; }; then
22135 ac_cv_member_struct_msghdr_msg_accrights
=yes
22137 echo "$as_me: failed program was:" >&5
22138 sed 's/^/| /' conftest.
$ac_ext >&5
22140 ac_cv_member_struct_msghdr_msg_accrights
=no
22143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22148 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
22149 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
22150 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
22152 cat >>confdefs.h
<<_ACEOF
22153 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
22158 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
22159 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
22160 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22163 cat >conftest.
$ac_ext <<_ACEOF
22166 cat confdefs.h
>>conftest.
$ac_ext
22167 cat >>conftest.
$ac_ext <<_ACEOF
22168 /* end confdefs.h. */
22169 #include <sys/types.h>
22170 #ifdef HAVE_SYS_SOCKET_H
22171 # include <sys/socket.h>
22173 #ifdef HAVE_SYS_UN_H
22174 # include <sys/un.h>
22180 static struct sockaddr ac_aggr;
22181 if (ac_aggr.sa_len)
22187 rm -f conftest.
$ac_objext
22188 if { (ac_try
="$ac_compile"
22189 case "(($ac_try" in
22190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22191 *) ac_try_echo=$ac_try;;
22193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22194 (eval "$ac_compile") 2>conftest.er1
22196 grep -v '^ *+' conftest.er1 >conftest.err
22198 cat conftest.err >&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } &&
22201 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22202 { (case "(($ac_try" in
22203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22204 *) ac_try_echo
=$ac_try;;
22206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22207 (eval "$ac_try") 2>&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; } &&
22211 { ac_try
='test -s conftest.$ac_objext'
22212 { (case "(($ac_try" in
22213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22214 *) ac_try_echo=$ac_try;;
22216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22217 (eval "$ac_try") 2>&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; }; then
22221 ac_cv_member_struct_sockaddr_sa_len=yes
22223 echo "$as_me: failed program was:" >&5
22224 sed 's/^/| /' conftest.$ac_ext >&5
22226 cat >conftest.$ac_ext <<_ACEOF
22229 cat confdefs.h >>conftest.$ac_ext
22230 cat >>conftest.$ac_ext <<_ACEOF
22231 /* end confdefs.h. */
22232 #include <sys/types.h>
22233 #ifdef HAVE_SYS_SOCKET_H
22234 # include <sys/socket.h>
22236 #ifdef HAVE_SYS_UN_H
22237 # include <sys/un.h>
22243 static struct sockaddr ac_aggr;
22244 if (sizeof ac_aggr.sa_len)
22250 rm -f conftest.$ac_objext
22251 if { (ac_try="$ac_compile"
22252 case "(($ac_try" in
22253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22254 *) ac_try_echo
=$ac_try;;
22256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22257 (eval "$ac_compile") 2>conftest.er1
22259 grep -v '^ *+' conftest.er1
>conftest.err
22261 cat conftest.err
>&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); } &&
22264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22265 { (case "(($ac_try" in
22266 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22267 *) ac_try_echo=$ac_try;;
22269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22270 (eval "$ac_try") 2>&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); }; } &&
22274 { ac_try='test -s conftest.$ac_objext'
22275 { (case "(($ac_try" in
22276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22277 *) ac_try_echo
=$ac_try;;
22279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22280 (eval "$ac_try") 2>&5
22282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22283 (exit $ac_status); }; }; then
22284 ac_cv_member_struct_sockaddr_sa_len
=yes
22286 echo "$as_me: failed program was:" >&5
22287 sed 's/^/| /' conftest.
$ac_ext >&5
22289 ac_cv_member_struct_sockaddr_sa_len
=no
22292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22297 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22298 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22299 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22301 cat >>confdefs.h
<<_ACEOF
22302 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
22307 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
22308 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
22309 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
22310 echo $ECHO_N "(cached) $ECHO_C" >&6
22312 cat >conftest.
$ac_ext <<_ACEOF
22315 cat confdefs.h
>>conftest.
$ac_ext
22316 cat >>conftest.
$ac_ext <<_ACEOF
22317 /* end confdefs.h. */
22318 #include <sys/types.h>
22319 #ifdef HAVE_SYS_SOCKET_H
22320 # include <sys/socket.h>
22322 #ifdef HAVE_SYS_UN_H
22323 # include <sys/un.h>
22329 static struct sockaddr_un ac_aggr;
22330 if (ac_aggr.sun_len)
22336 rm -f conftest.
$ac_objext
22337 if { (ac_try
="$ac_compile"
22338 case "(($ac_try" in
22339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22340 *) ac_try_echo=$ac_try;;
22342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22343 (eval "$ac_compile") 2>conftest.er1
22345 grep -v '^ *+' conftest.er1 >conftest.err
22347 cat conftest.err >&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } &&
22350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22351 { (case "(($ac_try" in
22352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22353 *) ac_try_echo
=$ac_try;;
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_try") 2>&5
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); }; } &&
22360 { ac_try
='test -s conftest.$ac_objext'
22361 { (case "(($ac_try" in
22362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22363 *) ac_try_echo=$ac_try;;
22365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22366 (eval "$ac_try") 2>&5
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); }; }; then
22370 ac_cv_member_struct_sockaddr_un_sun_len=yes
22372 echo "$as_me: failed program was:" >&5
22373 sed 's/^/| /' conftest.$ac_ext >&5
22375 cat >conftest.$ac_ext <<_ACEOF
22378 cat confdefs.h >>conftest.$ac_ext
22379 cat >>conftest.$ac_ext <<_ACEOF
22380 /* end confdefs.h. */
22381 #include <sys/types.h>
22382 #ifdef HAVE_SYS_SOCKET_H
22383 # include <sys/socket.h>
22385 #ifdef HAVE_SYS_UN_H
22386 # include <sys/un.h>
22392 static struct sockaddr_un ac_aggr;
22393 if (sizeof ac_aggr.sun_len)
22399 rm -f conftest.$ac_objext
22400 if { (ac_try="$ac_compile"
22401 case "(($ac_try" in
22402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22403 *) ac_try_echo
=$ac_try;;
22405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22406 (eval "$ac_compile") 2>conftest.er1
22408 grep -v '^ *+' conftest.er1
>conftest.err
22410 cat conftest.err
>&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } &&
22413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22414 { (case "(($ac_try" in
22415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22416 *) ac_try_echo=$ac_try;;
22418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22419 (eval "$ac_try") 2>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; } &&
22423 { ac_try='test -s conftest.$ac_objext'
22424 { (case "(($ac_try" in
22425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22426 *) ac_try_echo
=$ac_try;;
22428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22429 (eval "$ac_try") 2>&5
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); }; }; then
22433 ac_cv_member_struct_sockaddr_un_sun_len
=yes
22435 echo "$as_me: failed program was:" >&5
22436 sed 's/^/| /' conftest.
$ac_ext >&5
22438 ac_cv_member_struct_sockaddr_un_sun_len
=no
22441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22446 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22447 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22448 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22450 cat >>confdefs.h
<<_ACEOF
22451 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22458 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22459 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22460 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22463 cat >conftest.
$ac_ext <<_ACEOF
22466 cat confdefs.h
>>conftest.
$ac_ext
22467 cat >>conftest.
$ac_ext <<_ACEOF
22468 /* end confdefs.h. */
22469 #include <sys/types.h>
22470 #ifdef HAVE_SCSI_SG_H
22471 #include <scsi/sg.h>
22477 static scsireq_t ac_aggr;
22484 rm -f conftest.
$ac_objext
22485 if { (ac_try
="$ac_compile"
22486 case "(($ac_try" in
22487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_compile") 2>conftest.er1
22493 grep -v '^ *+' conftest.er1 >conftest.err
22495 cat conftest.err >&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } &&
22498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22499 { (case "(($ac_try" in
22500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22501 *) ac_try_echo
=$ac_try;;
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_try") 2>&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); }; } &&
22508 { ac_try
='test -s conftest.$ac_objext'
22509 { (case "(($ac_try" in
22510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22511 *) ac_try_echo=$ac_try;;
22513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22514 (eval "$ac_try") 2>&5
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); }; }; then
22518 ac_cv_member_scsireq_t_cmd=yes
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22523 cat >conftest.$ac_ext <<_ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 #include <sys/types.h>
22530 #ifdef HAVE_SCSI_SG_H
22531 #include <scsi/sg.h>
22537 static scsireq_t ac_aggr;
22538 if (sizeof ac_aggr.cmd)
22544 rm -f conftest.$ac_objext
22545 if { (ac_try="$ac_compile"
22546 case "(($ac_try" in
22547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22548 *) ac_try_echo
=$ac_try;;
22550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22551 (eval "$ac_compile") 2>conftest.er1
22553 grep -v '^ *+' conftest.er1
>conftest.err
22555 cat conftest.err
>&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22559 { (case "(($ac_try" in
22560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_try") 2>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); }; } &&
22568 { ac_try='test -s conftest.$ac_objext'
22569 { (case "(($ac_try" in
22570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22571 *) ac_try_echo
=$ac_try;;
22573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_try") 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22578 ac_cv_member_scsireq_t_cmd
=yes
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.
$ac_ext >&5
22583 ac_cv_member_scsireq_t_cmd
=no
22586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22591 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22592 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22593 if test $ac_cv_member_scsireq_t_cmd = yes; then
22595 cat >>confdefs.h
<<_ACEOF
22596 #define HAVE_SCSIREQ_T_CMD 1
22601 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22602 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22603 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22604 echo $ECHO_N "(cached) $ECHO_C" >&6
22606 cat >conftest.
$ac_ext <<_ACEOF
22609 cat confdefs.h
>>conftest.
$ac_ext
22610 cat >>conftest.
$ac_ext <<_ACEOF
22611 /* end confdefs.h. */
22612 #include <sys/types.h>
22613 #ifdef HAVE_SCSI_SG_H
22614 #include <scsi/sg.h>
22620 static sg_io_hdr_t ac_aggr;
22621 if (ac_aggr.interface_id)
22627 rm -f conftest.
$ac_objext
22628 if { (ac_try
="$ac_compile"
22629 case "(($ac_try" in
22630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_compile") 2>conftest.er1
22636 grep -v '^ *+' conftest.er1 >conftest.err
22638 cat conftest.err >&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } &&
22641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22642 { (case "(($ac_try" in
22643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22644 *) ac_try_echo
=$ac_try;;
22646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22647 (eval "$ac_try") 2>&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); }; } &&
22651 { ac_try
='test -s conftest.$ac_objext'
22652 { (case "(($ac_try" in
22653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22654 *) ac_try_echo=$ac_try;;
22656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22657 (eval "$ac_try") 2>&5
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); }; }; then
22661 ac_cv_member_sg_io_hdr_t_interface_id=yes
22663 echo "$as_me: failed program was:" >&5
22664 sed 's/^/| /' conftest.$ac_ext >&5
22666 cat >conftest.$ac_ext <<_ACEOF
22669 cat confdefs.h >>conftest.$ac_ext
22670 cat >>conftest.$ac_ext <<_ACEOF
22671 /* end confdefs.h. */
22672 #include <sys/types.h>
22673 #ifdef HAVE_SCSI_SG_H
22674 #include <scsi/sg.h>
22680 static sg_io_hdr_t ac_aggr;
22681 if (sizeof ac_aggr.interface_id)
22687 rm -f conftest.$ac_objext
22688 if { (ac_try="$ac_compile"
22689 case "(($ac_try" in
22690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22691 *) ac_try_echo
=$ac_try;;
22693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_compile") 2>conftest.er1
22696 grep -v '^ *+' conftest.er1
>conftest.err
22698 cat conftest.err
>&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } &&
22701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22702 { (case "(($ac_try" in
22703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_try") 2>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; } &&
22711 { ac_try='test -s conftest.$ac_objext'
22712 { (case "(($ac_try" in
22713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22714 *) ac_try_echo
=$ac_try;;
22716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22717 (eval "$ac_try") 2>&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22721 ac_cv_member_sg_io_hdr_t_interface_id
=yes
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.
$ac_ext >&5
22726 ac_cv_member_sg_io_hdr_t_interface_id
=no
22729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22734 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22735 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22736 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22738 cat >>confdefs.h
<<_ACEOF
22739 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22746 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22747 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22748 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22749 echo $ECHO_N "(cached) $ECHO_C" >&6
22751 cat >conftest.
$ac_ext <<_ACEOF
22754 cat confdefs.h
>>conftest.
$ac_ext
22755 cat >>conftest.
$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 #include <signal.h>
22762 static siginfo_t ac_aggr;
22769 rm -f conftest.
$ac_objext
22770 if { (ac_try
="$ac_compile"
22771 case "(($ac_try" in
22772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22773 *) ac_try_echo=$ac_try;;
22775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22776 (eval "$ac_compile") 2>conftest.er1
22778 grep -v '^ *+' conftest.er1 >conftest.err
22780 cat conftest.err >&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } &&
22783 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22784 { (case "(($ac_try" in
22785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22786 *) ac_try_echo
=$ac_try;;
22788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22789 (eval "$ac_try") 2>&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); }; } &&
22793 { ac_try
='test -s conftest.$ac_objext'
22794 { (case "(($ac_try" in
22795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_try") 2>&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22803 ac_cv_member_siginfo_t_si_fd=yes
22805 echo "$as_me: failed program was:" >&5
22806 sed 's/^/| /' conftest.$ac_ext >&5
22808 cat >conftest.$ac_ext <<_ACEOF
22811 cat confdefs.h >>conftest.$ac_ext
22812 cat >>conftest.$ac_ext <<_ACEOF
22813 /* end confdefs.h. */
22814 #include <signal.h>
22819 static siginfo_t ac_aggr;
22820 if (sizeof ac_aggr.si_fd)
22826 rm -f conftest.$ac_objext
22827 if { (ac_try="$ac_compile"
22828 case "(($ac_try" in
22829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22830 *) ac_try_echo
=$ac_try;;
22832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22833 (eval "$ac_compile") 2>conftest.er1
22835 grep -v '^ *+' conftest.er1
>conftest.err
22837 cat conftest.err
>&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); } &&
22840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22841 { (case "(($ac_try" in
22842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22843 *) ac_try_echo=$ac_try;;
22845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22846 (eval "$ac_try") 2>&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); }; } &&
22850 { ac_try='test -s conftest.$ac_objext'
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_try") 2>&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; }; then
22860 ac_cv_member_siginfo_t_si_fd
=yes
22862 echo "$as_me: failed program was:" >&5
22863 sed 's/^/| /' conftest.
$ac_ext >&5
22865 ac_cv_member_siginfo_t_si_fd
=no
22868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22873 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22874 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22875 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22877 cat >>confdefs.h
<<_ACEOF
22878 #define HAVE_SIGINFO_T_SI_FD 1
22885 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22886 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22887 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22888 echo $ECHO_N "(cached) $ECHO_C" >&6
22890 cat >conftest.
$ac_ext <<_ACEOF
22893 cat confdefs.h
>>conftest.
$ac_ext
22894 cat >>conftest.
$ac_ext <<_ACEOF
22895 /* end confdefs.h. */
22896 #include <sys/types.h>
22897 #ifdef HAVE_SYS_MTIO_H
22898 #include <sys/mtio.h>
22904 static struct mtget ac_aggr;
22905 if (ac_aggr.mt_blksiz)
22911 rm -f conftest.
$ac_objext
22912 if { (ac_try
="$ac_compile"
22913 case "(($ac_try" in
22914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22915 *) ac_try_echo=$ac_try;;
22917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22918 (eval "$ac_compile") 2>conftest.er1
22920 grep -v '^ *+' conftest.er1 >conftest.err
22922 cat conftest.err >&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22926 { (case "(($ac_try" in
22927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22928 *) ac_try_echo
=$ac_try;;
22930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22931 (eval "$ac_try") 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; } &&
22935 { ac_try
='test -s conftest.$ac_objext'
22936 { (case "(($ac_try" in
22937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22938 *) ac_try_echo=$ac_try;;
22940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22941 (eval "$ac_try") 2>&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; }; then
22945 ac_cv_member_struct_mtget_mt_blksiz=yes
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22950 cat >conftest.$ac_ext <<_ACEOF
22953 cat confdefs.h >>conftest.$ac_ext
22954 cat >>conftest.$ac_ext <<_ACEOF
22955 /* end confdefs.h. */
22956 #include <sys/types.h>
22957 #ifdef HAVE_SYS_MTIO_H
22958 #include <sys/mtio.h>
22964 static struct mtget ac_aggr;
22965 if (sizeof ac_aggr.mt_blksiz)
22971 rm -f conftest.$ac_objext
22972 if { (ac_try="$ac_compile"
22973 case "(($ac_try" in
22974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22975 *) ac_try_echo
=$ac_try;;
22977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22978 (eval "$ac_compile") 2>conftest.er1
22980 grep -v '^ *+' conftest.er1
>conftest.err
22982 cat conftest.err
>&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } &&
22985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22986 { (case "(($ac_try" in
22987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22988 *) ac_try_echo=$ac_try;;
22990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22991 (eval "$ac_try") 2>&5
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } &&
22995 { ac_try='test -s conftest.$ac_objext'
22996 { (case "(($ac_try" in
22997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22998 *) ac_try_echo
=$ac_try;;
23000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23001 (eval "$ac_try") 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23005 ac_cv_member_struct_mtget_mt_blksiz
=yes
23007 echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.
$ac_ext >&5
23010 ac_cv_member_struct_mtget_mt_blksiz
=no
23013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23018 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
23019 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
23020 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
23022 cat >>confdefs.h
<<_ACEOF
23023 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
23028 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
23029 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
23030 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
23031 echo $ECHO_N "(cached) $ECHO_C" >&6
23033 cat >conftest.
$ac_ext <<_ACEOF
23036 cat confdefs.h
>>conftest.
$ac_ext
23037 cat >>conftest.
$ac_ext <<_ACEOF
23038 /* end confdefs.h. */
23039 #include <sys/types.h>
23040 #ifdef HAVE_SYS_MTIO_H
23041 #include <sys/mtio.h>
23047 static struct mtget ac_aggr;
23048 if (ac_aggr.mt_gstat)
23054 rm -f conftest.
$ac_objext
23055 if { (ac_try
="$ac_compile"
23056 case "(($ac_try" in
23057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23058 *) ac_try_echo=$ac_try;;
23060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23061 (eval "$ac_compile") 2>conftest.er1
23063 grep -v '^ *+' conftest.er1 >conftest.err
23065 cat conftest.err >&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } &&
23068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23069 { (case "(($ac_try" in
23070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23071 *) ac_try_echo
=$ac_try;;
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_try") 2>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; } &&
23078 { ac_try
='test -s conftest.$ac_objext'
23079 { (case "(($ac_try" in
23080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23081 *) ac_try_echo=$ac_try;;
23083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23084 (eval "$ac_try") 2>&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); }; }; then
23088 ac_cv_member_struct_mtget_mt_gstat=yes
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5
23093 cat >conftest.$ac_ext <<_ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23099 #include <sys/types.h>
23100 #ifdef HAVE_SYS_MTIO_H
23101 #include <sys/mtio.h>
23107 static struct mtget ac_aggr;
23108 if (sizeof ac_aggr.mt_gstat)
23114 rm -f conftest.$ac_objext
23115 if { (ac_try="$ac_compile"
23116 case "(($ac_try" in
23117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23118 *) ac_try_echo
=$ac_try;;
23120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23121 (eval "$ac_compile") 2>conftest.er1
23123 grep -v '^ *+' conftest.er1
>conftest.err
23125 cat conftest.err
>&5
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); } &&
23128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23129 { (case "(($ac_try" in
23130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23131 *) ac_try_echo=$ac_try;;
23133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23134 (eval "$ac_try") 2>&5
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; } &&
23138 { ac_try='test -s conftest.$ac_objext'
23139 { (case "(($ac_try" in
23140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23141 *) ac_try_echo
=$ac_try;;
23143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23144 (eval "$ac_try") 2>&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; }; then
23148 ac_cv_member_struct_mtget_mt_gstat
=yes
23150 echo "$as_me: failed program was:" >&5
23151 sed 's/^/| /' conftest.
$ac_ext >&5
23153 ac_cv_member_struct_mtget_mt_gstat
=no
23156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23161 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
23162 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
23163 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
23165 cat >>confdefs.h
<<_ACEOF
23166 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
23171 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
23172 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
23173 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
23174 echo $ECHO_N "(cached) $ECHO_C" >&6
23176 cat >conftest.
$ac_ext <<_ACEOF
23179 cat confdefs.h
>>conftest.
$ac_ext
23180 cat >>conftest.
$ac_ext <<_ACEOF
23181 /* end confdefs.h. */
23182 #include <sys/types.h>
23183 #ifdef HAVE_SYS_MTIO_H
23184 #include <sys/mtio.h>
23190 static struct mtget ac_aggr;
23191 if (ac_aggr.mt_blkno)
23197 rm -f conftest.
$ac_objext
23198 if { (ac_try
="$ac_compile"
23199 case "(($ac_try" in
23200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23201 *) ac_try_echo=$ac_try;;
23203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23204 (eval "$ac_compile") 2>conftest.er1
23206 grep -v '^ *+' conftest.er1 >conftest.err
23208 cat conftest.err >&5
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); } &&
23211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23212 { (case "(($ac_try" in
23213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23214 *) ac_try_echo
=$ac_try;;
23216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23217 (eval "$ac_try") 2>&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); }; } &&
23221 { ac_try
='test -s conftest.$ac_objext'
23222 { (case "(($ac_try" in
23223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23224 *) ac_try_echo=$ac_try;;
23226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23227 (eval "$ac_try") 2>&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); }; }; then
23231 ac_cv_member_struct_mtget_mt_blkno=yes
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.$ac_ext >&5
23236 cat >conftest.$ac_ext <<_ACEOF
23239 cat confdefs.h >>conftest.$ac_ext
23240 cat >>conftest.$ac_ext <<_ACEOF
23241 /* end confdefs.h. */
23242 #include <sys/types.h>
23243 #ifdef HAVE_SYS_MTIO_H
23244 #include <sys/mtio.h>
23250 static struct mtget ac_aggr;
23251 if (sizeof ac_aggr.mt_blkno)
23257 rm -f conftest.$ac_objext
23258 if { (ac_try="$ac_compile"
23259 case "(($ac_try" in
23260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23261 *) ac_try_echo
=$ac_try;;
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_compile") 2>conftest.er1
23266 grep -v '^ *+' conftest.er1
>conftest.err
23268 cat conftest.err
>&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } &&
23271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23272 { (case "(($ac_try" in
23273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23274 *) ac_try_echo=$ac_try;;
23276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23277 (eval "$ac_try") 2>&5
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); }; } &&
23281 { ac_try='test -s conftest.$ac_objext'
23282 { (case "(($ac_try" in
23283 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23284 *) ac_try_echo
=$ac_try;;
23286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23287 (eval "$ac_try") 2>&5
23289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23290 (exit $ac_status); }; }; then
23291 ac_cv_member_struct_mtget_mt_blkno
=yes
23293 echo "$as_me: failed program was:" >&5
23294 sed 's/^/| /' conftest.
$ac_ext >&5
23296 ac_cv_member_struct_mtget_mt_blkno
=no
23299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23304 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
23305 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
23306 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
23308 cat >>confdefs.h
<<_ACEOF
23309 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
23316 { echo "$as_me:$LINENO: checking for struct option.name" >&5
23317 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
23318 if test "${ac_cv_member_struct_option_name+set}" = set; then
23319 echo $ECHO_N "(cached) $ECHO_C" >&6
23321 cat >conftest.
$ac_ext <<_ACEOF
23324 cat confdefs.h
>>conftest.
$ac_ext
23325 cat >>conftest.
$ac_ext <<_ACEOF
23326 /* end confdefs.h. */
23327 #ifdef HAVE_GETOPT_H
23328 #include <getopt.h>
23334 static struct option ac_aggr;
23341 rm -f conftest.
$ac_objext
23342 if { (ac_try
="$ac_compile"
23343 case "(($ac_try" in
23344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23345 *) ac_try_echo=$ac_try;;
23347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23348 (eval "$ac_compile") 2>conftest.er1
23350 grep -v '^ *+' conftest.er1 >conftest.err
23352 cat conftest.err >&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } &&
23355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23356 { (case "(($ac_try" in
23357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23358 *) ac_try_echo
=$ac_try;;
23360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23361 (eval "$ac_try") 2>&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); }; } &&
23365 { ac_try
='test -s conftest.$ac_objext'
23366 { (case "(($ac_try" in
23367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23368 *) ac_try_echo=$ac_try;;
23370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23371 (eval "$ac_try") 2>&5
23373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23374 (exit $ac_status); }; }; then
23375 ac_cv_member_struct_option_name=yes
23377 echo "$as_me: failed program was:" >&5
23378 sed 's/^/| /' conftest.$ac_ext >&5
23380 cat >conftest.$ac_ext <<_ACEOF
23383 cat confdefs.h >>conftest.$ac_ext
23384 cat >>conftest.$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23386 #ifdef HAVE_GETOPT_H
23387 #include <getopt.h>
23393 static struct option ac_aggr;
23394 if (sizeof ac_aggr.name)
23400 rm -f conftest.$ac_objext
23401 if { (ac_try="$ac_compile"
23402 case "(($ac_try" in
23403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23404 *) ac_try_echo
=$ac_try;;
23406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23407 (eval "$ac_compile") 2>conftest.er1
23409 grep -v '^ *+' conftest.er1
>conftest.err
23411 cat conftest.err
>&5
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); } &&
23414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23415 { (case "(($ac_try" in
23416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23417 *) ac_try_echo=$ac_try;;
23419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23420 (eval "$ac_try") 2>&5
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); }; } &&
23424 { ac_try='test -s conftest.$ac_objext'
23425 { (case "(($ac_try" in
23426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23427 *) ac_try_echo
=$ac_try;;
23429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23430 (eval "$ac_try") 2>&5
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); }; }; then
23434 ac_cv_member_struct_option_name
=yes
23436 echo "$as_me: failed program was:" >&5
23437 sed 's/^/| /' conftest.
$ac_ext >&5
23439 ac_cv_member_struct_option_name
=no
23442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23447 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23448 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23449 if test $ac_cv_member_struct_option_name = yes; then
23451 cat >>confdefs.h
<<_ACEOF
23452 #define HAVE_STRUCT_OPTION_NAME 1
23459 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23460 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23461 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23462 echo $ECHO_N "(cached) $ECHO_C" >&6
23464 cat >conftest.
$ac_ext <<_ACEOF
23467 cat confdefs.h
>>conftest.
$ac_ext
23468 cat >>conftest.
$ac_ext <<_ACEOF
23469 /* end confdefs.h. */
23470 $ac_includes_default
23474 static struct stat ac_aggr;
23475 if (ac_aggr.st_blocks)
23481 rm -f conftest.
$ac_objext
23482 if { (ac_try
="$ac_compile"
23483 case "(($ac_try" in
23484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23485 *) ac_try_echo=$ac_try;;
23487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23488 (eval "$ac_compile") 2>conftest.er1
23490 grep -v '^ *+' conftest.er1 >conftest.err
23492 cat conftest.err >&5
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); } &&
23495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23496 { (case "(($ac_try" in
23497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23498 *) ac_try_echo
=$ac_try;;
23500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23501 (eval "$ac_try") 2>&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; } &&
23505 { ac_try
='test -s conftest.$ac_objext'
23506 { (case "(($ac_try" in
23507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23508 *) ac_try_echo=$ac_try;;
23510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23511 (eval "$ac_try") 2>&5
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); }; }; then
23515 ac_cv_member_struct_stat_st_blocks=yes
23517 echo "$as_me: failed program was:" >&5
23518 sed 's/^/| /' conftest.$ac_ext >&5
23520 cat >conftest.$ac_ext <<_ACEOF
23523 cat confdefs.h >>conftest.$ac_ext
23524 cat >>conftest.$ac_ext <<_ACEOF
23525 /* end confdefs.h. */
23526 $ac_includes_default
23530 static struct stat ac_aggr;
23531 if (sizeof ac_aggr.st_blocks)
23537 rm -f conftest.$ac_objext
23538 if { (ac_try="$ac_compile"
23539 case "(($ac_try" in
23540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23541 *) ac_try_echo
=$ac_try;;
23543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23544 (eval "$ac_compile") 2>conftest.er1
23546 grep -v '^ *+' conftest.er1
>conftest.err
23548 cat conftest.err
>&5
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); } &&
23551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23552 { (case "(($ac_try" in
23553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23554 *) ac_try_echo=$ac_try;;
23556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23557 (eval "$ac_try") 2>&5
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); }; } &&
23561 { ac_try='test -s conftest.$ac_objext'
23562 { (case "(($ac_try" in
23563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23564 *) ac_try_echo
=$ac_try;;
23566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23567 (eval "$ac_try") 2>&5
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); }; }; then
23571 ac_cv_member_struct_stat_st_blocks
=yes
23573 echo "$as_me: failed program was:" >&5
23574 sed 's/^/| /' conftest.
$ac_ext >&5
23576 ac_cv_member_struct_stat_st_blocks
=no
23579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23584 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23585 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23586 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23588 cat >>confdefs.h
<<_ACEOF
23589 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23596 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23597 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23598 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23601 cat >conftest.
$ac_ext <<_ACEOF
23604 cat confdefs.h
>>conftest.
$ac_ext
23605 cat >>conftest.
$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23607 #ifdef HAVE_SYS_TYPES_H
23608 #include <sys/types.h>
23610 #ifdef HAVE_NETINET_IN_H
23611 #include <netinet/in.h>
23617 static struct sockaddr_in6 ac_aggr;
23618 if (ac_aggr.sin6_scope_id)
23624 rm -f conftest.
$ac_objext
23625 if { (ac_try
="$ac_compile"
23626 case "(($ac_try" in
23627 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23628 *) ac_try_echo=$ac_try;;
23630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23631 (eval "$ac_compile") 2>conftest.er1
23633 grep -v '^ *+' conftest.er1 >conftest.err
23635 cat conftest.err >&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); } &&
23638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23639 { (case "(($ac_try" in
23640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23641 *) ac_try_echo
=$ac_try;;
23643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_try") 2>&5
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); }; } &&
23648 { ac_try
='test -s conftest.$ac_objext'
23649 { (case "(($ac_try" in
23650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23651 *) ac_try_echo=$ac_try;;
23653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23654 (eval "$ac_try") 2>&5
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; }; then
23658 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23660 echo "$as_me: failed program was:" >&5
23661 sed 's/^/| /' conftest.$ac_ext >&5
23663 cat >conftest.$ac_ext <<_ACEOF
23666 cat confdefs.h >>conftest.$ac_ext
23667 cat >>conftest.$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23669 #ifdef HAVE_SYS_TYPES_H
23670 #include <sys/types.h>
23672 #ifdef HAVE_NETINET_IN_H
23673 #include <netinet/in.h>
23679 static struct sockaddr_in6 ac_aggr;
23680 if (sizeof ac_aggr.sin6_scope_id)
23686 rm -f conftest.$ac_objext
23687 if { (ac_try="$ac_compile"
23688 case "(($ac_try" in
23689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23690 *) ac_try_echo
=$ac_try;;
23692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23693 (eval "$ac_compile") 2>conftest.er1
23695 grep -v '^ *+' conftest.er1
>conftest.err
23697 cat conftest.err
>&5
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); } &&
23700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23701 { (case "(($ac_try" in
23702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23703 *) ac_try_echo=$ac_try;;
23705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23706 (eval "$ac_try") 2>&5
23708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 (exit $ac_status); }; } &&
23710 { ac_try='test -s conftest.$ac_objext'
23711 { (case "(($ac_try" in
23712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23713 *) ac_try_echo
=$ac_try;;
23715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23716 (eval "$ac_try") 2>&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23720 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
23722 echo "$as_me: failed program was:" >&5
23723 sed 's/^/| /' conftest.
$ac_ext >&5
23725 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
23728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23733 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23734 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23735 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23737 cat >>confdefs.h
<<_ACEOF
23738 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23745 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23746 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23747 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23748 echo $ECHO_N "(cached) $ECHO_C" >&6
23750 cat >conftest.
$ac_ext <<_ACEOF
23753 cat confdefs.h
>>conftest.
$ac_ext
23754 cat >>conftest.
$ac_ext <<_ACEOF
23755 /* end confdefs.h. */
23756 #ifdef HAVE_SYS_TYPES_H
23757 #include <sys/types.h>
23759 #ifdef HAVE_NETINET_IN_H
23760 # include <netinet/in.h>
23762 #ifdef HAVE_ARPA_NAMESER_H
23763 # include <arpa/nameser.h>
23769 static ns_msg ac_aggr;
23770 if (ac_aggr._msg_ptr)
23776 rm -f conftest.
$ac_objext
23777 if { (ac_try
="$ac_compile"
23778 case "(($ac_try" in
23779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23780 *) ac_try_echo=$ac_try;;
23782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23783 (eval "$ac_compile") 2>conftest.er1
23785 grep -v '^ *+' conftest.er1 >conftest.err
23787 cat conftest.err >&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); } &&
23790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23791 { (case "(($ac_try" in
23792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23793 *) ac_try_echo
=$ac_try;;
23795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23796 (eval "$ac_try") 2>&5
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); }; } &&
23800 { ac_try
='test -s conftest.$ac_objext'
23801 { (case "(($ac_try" in
23802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_try") 2>&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; }; then
23810 ac_cv_member_ns_msg__msg_ptr=yes
23812 echo "$as_me: failed program was:" >&5
23813 sed 's/^/| /' conftest.$ac_ext >&5
23815 cat >conftest.$ac_ext <<_ACEOF
23818 cat confdefs.h >>conftest.$ac_ext
23819 cat >>conftest.$ac_ext <<_ACEOF
23820 /* end confdefs.h. */
23821 #ifdef HAVE_SYS_TYPES_H
23822 #include <sys/types.h>
23824 #ifdef HAVE_NETINET_IN_H
23825 # include <netinet/in.h>
23827 #ifdef HAVE_ARPA_NAMESER_H
23828 # include <arpa/nameser.h>
23834 static ns_msg ac_aggr;
23835 if (sizeof ac_aggr._msg_ptr)
23841 rm -f conftest.$ac_objext
23842 if { (ac_try="$ac_compile"
23843 case "(($ac_try" in
23844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23845 *) ac_try_echo
=$ac_try;;
23847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23848 (eval "$ac_compile") 2>conftest.er1
23850 grep -v '^ *+' conftest.er1
>conftest.err
23852 cat conftest.err
>&5
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); } &&
23855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23856 { (case "(($ac_try" in
23857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23858 *) ac_try_echo=$ac_try;;
23860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23861 (eval "$ac_try") 2>&5
23863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23864 (exit $ac_status); }; } &&
23865 { ac_try='test -s conftest.$ac_objext'
23866 { (case "(($ac_try" in
23867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23868 *) ac_try_echo
=$ac_try;;
23870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23871 (eval "$ac_try") 2>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23875 ac_cv_member_ns_msg__msg_ptr
=yes
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.
$ac_ext >&5
23880 ac_cv_member_ns_msg__msg_ptr
=no
23883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23888 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23889 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23890 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23892 cat >>confdefs.h
<<_ACEOF
23893 #define HAVE_NS_MSG__MSG_PTR 1
23900 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23901 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23902 if test "${ac_cv_have_timezone+set}" = set; then
23903 echo $ECHO_N "(cached) $ECHO_C" >&6
23905 cat >conftest.
$ac_ext <<_ACEOF
23908 cat confdefs.h
>>conftest.
$ac_ext
23909 cat >>conftest.
$ac_ext <<_ACEOF
23910 /* end confdefs.h. */
23920 rm -f conftest.
$ac_objext conftest
$ac_exeext
23921 if { (ac_try
="$ac_link"
23922 case "(($ac_try" in
23923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23924 *) ac_try_echo=$ac_try;;
23926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23927 (eval "$ac_link") 2>conftest.er1
23929 grep -v '^ *+' conftest.er1 >conftest.err
23931 cat conftest.err >&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } &&
23934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23935 { (case "(($ac_try" in
23936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23937 *) ac_try_echo
=$ac_try;;
23939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23940 (eval "$ac_try") 2>&5
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); }; } &&
23944 { ac_try
='test -s conftest$ac_exeext'
23945 { (case "(($ac_try" in
23946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23947 *) ac_try_echo=$ac_try;;
23949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23950 (eval "$ac_try") 2>&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); }; }; then
23954 ac_cv_have_timezone="yes"
23956 echo "$as_me: failed program was:" >&5
23957 sed 's/^/| /' conftest.$ac_ext >&5
23959 ac_cv_have_timezone="no"
23962 rm -f core conftest.err conftest.$ac_objext \
23963 conftest$ac_exeext conftest.$ac_ext
23965 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23966 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23967 if test "$ac_cv_have_timezone" = "yes"
23970 cat >>confdefs.h <<\_ACEOF
23971 #define HAVE_TIMEZONE 1
23975 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23976 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23977 if test "${ac_cv_have_daylight+set}" = set; then
23978 echo $ECHO_N "(cached) $ECHO_C" >&6
23980 cat >conftest.$ac_ext <<_ACEOF
23983 cat confdefs.h >>conftest.$ac_ext
23984 cat >>conftest.$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23995 rm -f conftest.$ac_objext conftest$ac_exeext
23996 if { (ac_try="$ac_link"
23997 case "(($ac_try" in
23998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23999 *) ac_try_echo
=$ac_try;;
24001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_link") 2>conftest.er1
24004 grep -v '^ *+' conftest.er1
>conftest.err
24006 cat conftest.err
>&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } &&
24009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24010 { (case "(($ac_try" in
24011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24012 *) ac_try_echo=$ac_try;;
24014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24015 (eval "$ac_try") 2>&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); }; } &&
24019 { ac_try='test -s conftest$ac_exeext'
24020 { (case "(($ac_try" in
24021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24022 *) ac_try_echo
=$ac_try;;
24024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24025 (eval "$ac_try") 2>&5
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); }; }; then
24029 ac_cv_have_daylight
="yes"
24031 echo "$as_me: failed program was:" >&5
24032 sed 's/^/| /' conftest.
$ac_ext >&5
24034 ac_cv_have_daylight
="no"
24037 rm -f core conftest.err conftest.
$ac_objext \
24038 conftest
$ac_exeext conftest.
$ac_ext
24040 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
24041 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
24042 if test "$ac_cv_have_daylight" = "yes"
24045 cat >>confdefs.h
<<\_ACEOF
24046 #define HAVE_DAYLIGHT 1
24053 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
24054 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
24055 if test "${ac_cv_cpp_def___i386__+set}" = set; then
24056 echo $ECHO_N "(cached) $ECHO_C" >&6
24058 cat >conftest.
$ac_ext <<_ACEOF
24061 cat confdefs.h
>>conftest.
$ac_ext
24062 cat >>conftest.
$ac_ext <<_ACEOF
24063 /* end confdefs.h. */
24068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24069 $EGREP "yes" >/dev
/null
2>&1; then
24070 ac_cv_cpp_def___i386__
=yes
24072 ac_cv_cpp_def___i386__
=no
24077 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
24078 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
24079 if test $ac_cv_cpp_def___i386__ = yes; then
24080 CFLAGS
="$CFLAGS -D__i386__"
24081 LINTFLAGS
="$LINTFLAGS -D__i386__"
24084 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
24085 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
24086 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
24087 echo $ECHO_N "(cached) $ECHO_C" >&6
24089 cat >conftest.
$ac_ext <<_ACEOF
24092 cat confdefs.h
>>conftest.
$ac_ext
24093 cat >>conftest.
$ac_ext <<_ACEOF
24094 /* end confdefs.h. */
24099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24100 $EGREP "yes" >/dev
/null
2>&1; then
24101 ac_cv_cpp_def___x86_64__
=yes
24103 ac_cv_cpp_def___x86_64__
=no
24108 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
24109 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
24110 if test $ac_cv_cpp_def___x86_64__ = yes; then
24111 CFLAGS
="$CFLAGS -D__x86_64__"
24112 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
24115 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
24116 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
24117 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
24118 echo $ECHO_N "(cached) $ECHO_C" >&6
24120 cat >conftest.
$ac_ext <<_ACEOF
24123 cat confdefs.h
>>conftest.
$ac_ext
24124 cat >>conftest.
$ac_ext <<_ACEOF
24125 /* end confdefs.h. */
24130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24131 $EGREP "yes" >/dev
/null
2>&1; then
24132 ac_cv_cpp_def__WIN64
=yes
24134 ac_cv_cpp_def__WIN64
=no
24139 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
24140 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
24141 if test $ac_cv_cpp_def__WIN64 = yes; then
24142 CFLAGS
="$CFLAGS -D_WIN64"
24143 LINTFLAGS
="$LINTFLAGS -D_WIN64"
24146 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
24147 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
24148 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
24149 echo $ECHO_N "(cached) $ECHO_C" >&6
24151 cat >conftest.
$ac_ext <<_ACEOF
24154 cat confdefs.h
>>conftest.
$ac_ext
24155 cat >>conftest.
$ac_ext <<_ACEOF
24156 /* end confdefs.h. */
24161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24162 $EGREP "yes" >/dev
/null
2>&1; then
24163 ac_cv_cpp_def___ALPHA__
=yes
24165 ac_cv_cpp_def___ALPHA__
=no
24170 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
24171 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
24172 if test $ac_cv_cpp_def___ALPHA__ = yes; then
24173 CFLAGS
="$CFLAGS -D__ALPHA__"
24174 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
24177 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
24178 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
24179 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
24180 echo $ECHO_N "(cached) $ECHO_C" >&6
24182 cat >conftest.
$ac_ext <<_ACEOF
24185 cat confdefs.h
>>conftest.
$ac_ext
24186 cat >>conftest.
$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24193 $EGREP "yes" >/dev
/null
2>&1; then
24194 ac_cv_cpp_def___sparc__
=yes
24196 ac_cv_cpp_def___sparc__
=no
24201 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
24202 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
24203 if test $ac_cv_cpp_def___sparc__ = yes; then
24204 CFLAGS
="$CFLAGS -D__sparc__"
24205 LINTFLAGS
="$LINTFLAGS -D__sparc__"
24208 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
24209 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
24210 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
24211 echo $ECHO_N "(cached) $ECHO_C" >&6
24213 cat >conftest.
$ac_ext <<_ACEOF
24216 cat confdefs.h
>>conftest.
$ac_ext
24217 cat >>conftest.
$ac_ext <<_ACEOF
24218 /* end confdefs.h. */
24219 #ifndef __powerpc__
24223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24224 $EGREP "yes" >/dev
/null
2>&1; then
24225 ac_cv_cpp_def___powerpc__
=yes
24227 ac_cv_cpp_def___powerpc__
=no
24232 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
24233 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
24234 if test $ac_cv_cpp_def___powerpc__ = yes; then
24235 CFLAGS
="$CFLAGS -D__powerpc__"
24236 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
24241 case $host_vendor in
24242 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
24243 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
24244 if test "${ac_cv_cpp_def___sun__+set}" = set; then
24245 echo $ECHO_N "(cached) $ECHO_C" >&6
24247 cat >conftest.
$ac_ext <<_ACEOF
24250 cat confdefs.h
>>conftest.
$ac_ext
24251 cat >>conftest.
$ac_ext <<_ACEOF
24252 /* end confdefs.h. */
24257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24258 $EGREP "yes" >/dev
/null
2>&1; then
24259 ac_cv_cpp_def___sun__
=yes
24261 ac_cv_cpp_def___sun__
=no
24266 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
24267 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
24268 if test $ac_cv_cpp_def___sun__ = yes; then
24269 CFLAGS
="$CFLAGS -D__sun__"
24270 LINTFLAGS
="$LINTFLAGS -D__sun__"
24279 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
24281 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
24283 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
24285 ac_config_commands
="$ac_config_commands dlls/user/resources"
24287 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
24289 ac_config_commands
="$ac_config_commands include/wine"
24292 MAKE_RULES
=Make.rules
24295 MAKE_DLL_RULES
=dlls
/Makedll.rules
24298 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
24301 MAKE_TEST_RULES
=dlls
/Maketest.rules
24304 MAKE_PROG_RULES
=programs
/Makeprog.rules
24307 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
24310 cat >confcache
<<\_ACEOF
24311 # This file is a shell script that caches the results of configure
24312 # tests run on this system so they can be shared between configure
24313 # scripts and configure runs, see configure's option --config-cache.
24314 # It is not useful on other systems. If it contains results you don't
24315 # want to keep, you may remove or edit it.
24317 # config.status only pays attention to the cache file if you give it
24318 # the --recheck option to rerun configure.
24320 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24321 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24322 # following values.
24326 # The following way of writing the cache mishandles newlines in values,
24327 # but we know of no workaround that is simple, portable, and efficient.
24328 # So, we kill variables containing newlines.
24329 # Ultrix sh set writes to stderr and can't be redirected directly,
24330 # and sets the high bit in the cache file unless we assign to the vars.
24332 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24333 eval ac_val
=\$
$ac_var
24337 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24338 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24341 _ | IFS | as_nl
) ;; #(
24342 *) $as_unset $ac_var ;;
24348 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24349 *${as_nl}ac_space
=\
*)
24350 # `set' does not quote correctly, so add quotes (double-quote
24351 # substitution turns \\\\ into \\, and sed turns \\ into \).
24354 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24357 # `set' quotes correctly as required by POSIX, so do not add quotes.
24358 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24367 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24369 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24371 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24372 if test -w "$cache_file"; then
24373 test "x$cache_file" != "x/dev/null" &&
24374 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24375 echo "$as_me: updating cache $cache_file" >&6;}
24376 cat confcache
>$cache_file
24378 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24379 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24384 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24385 # Let make expand exec_prefix.
24386 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24388 DEFS
=-DHAVE_CONFIG_H
24392 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24393 # 1. Remove the extension, and $U if already installed.
24394 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24395 ac_i
=`echo "$ac_i" | sed "$ac_script"`
24396 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24397 # will be set to the directory where LIBOBJS objects are built.
24398 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24399 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24401 LIBOBJS
=$ac_libobjs
24403 LTLIBOBJS
=$ac_ltlibobjs
24407 : ${CONFIG_STATUS=./config.status}
24408 ac_clean_files_save
=$ac_clean_files
24409 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24410 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24411 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24412 cat >$CONFIG_STATUS <<_ACEOF
24414 # Generated by $as_me.
24415 # Run this file to recreate the current configuration.
24416 # Compiler output produced by configure, useful for debugging
24417 # configure, is in config.log if it exists.
24420 ac_cs_recheck=false
24422 SHELL=\${CONFIG_SHELL-$SHELL}
24425 cat >>$CONFIG_STATUS <<\_ACEOF
24426 ## --------------------- ##
24427 ## M4sh Initialization. ##
24428 ## --------------------- ##
24430 # Be Bourne compatible
24431 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24434 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24435 # is contrary to our usage. Disable this feature.
24436 alias -g '${1+"$@"}'='"$@"'
24437 setopt NO_GLOB_SUBST
24439 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
24441 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
24442 DUALCASE
=1; export DUALCASE
# for MKS sh
24446 # Avoid depending upon Character Ranges.
24447 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24448 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24449 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24450 as_cr_digits
='0123456789'
24451 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24453 # The user is always right.
24454 if test "${PATH_SEPARATOR+set}" != set; then
24455 echo "#! /bin/sh" >conf$$.sh
24456 echo "exit 0" >>conf$$.sh
24458 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24466 # Support unset when possible.
24467 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
24475 # We need space, tab and new line, in precisely that order. Quoting is
24476 # there to prevent editors from complaining about space-tab.
24477 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24478 # splitting by setting IFS to empty value.)
24483 # Find who we are. Look in the path if we contain no directory separator.
24485 *[\\/]* ) as_myself
=$0 ;;
24486 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24487 for as_dir
in $PATH
24490 test -z "$as_dir" && as_dir
=.
24491 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24497 # We did not find ourselves, most probably we were run as `sh COMMAND'
24498 # in which case we are not to be found in the path.
24499 if test "x$as_myself" = x
; then
24502 if test ! -f "$as_myself"; then
24503 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24504 { (exit 1); exit 1; }
24507 # Work around bugs in pre-3.0 UWIN ksh.
24508 for as_var
in ENV MAIL MAILPATH
24509 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24517 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24518 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24519 LC_TELEPHONE LC_TIME
24521 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24522 eval $as_var=C
; export $as_var
24524 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24528 # Required to use basename.
24529 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24530 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24536 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24537 as_basename
=basename
24543 # Name of the executable.
24544 as_me
=`$as_basename -- "$0" ||
24545 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24546 X"$0" : 'X\(//\)$' \| \
24547 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24549 sed '/^.*\/\([^/][^/]*\)\/*$/{
24568 as_lineno_1
=$LINENO
24569 as_lineno_2
=$LINENO
24570 test "x$as_lineno_1" != "x$as_lineno_2" &&
24571 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
24573 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24574 # uniformly replaced by the line number. The first 'sed' inserts a
24575 # line-number line after each line using $LINENO; the second 'sed'
24576 # does the real work. The second script uses 'N' to pair each
24577 # line-number line with the line containing $LINENO, and appends
24578 # trailing '-' during substitution so that $LINENO is not a special
24579 # case at line end.
24580 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24581 # scripts with optimization help from Paolo Bonzini. Blame Lee
24582 # E. McMahon (1931-1989) for sed's syntax. :-)
24594 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24597 ' >$as_me.lineno
&&
24598 chmod +x
"$as_me.lineno" ||
24599 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24600 { (exit 1); exit 1; }; }
24602 # Don't try to exec as it changes $[0], causing all sort of problems
24603 # (the dirname of $[0] is not the place where we might find the
24604 # original and so on. Autoconf is especially sensitive to this).
24605 .
"./$as_me.lineno"
24606 # Exit status is that of the last command.
24611 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24617 ECHO_C
= ECHO_N
= ECHO_T
=
24618 case `echo -n x` in
24620 case `echo 'x\c'` in
24621 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24628 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24629 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24635 rm -f conf$$ conf$$.exe conf$$.
file
24636 if test -d conf$$.dir
; then
24637 rm -f conf$$.dir
/conf$$.
file
24643 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24645 # ... but there are two gotchas:
24646 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24647 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24648 # In both cases, we have to default to `cp -p'.
24649 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24651 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24656 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24657 rmdir conf$$.dir
2>/dev
/null
24659 if mkdir
-p .
2>/dev
/null
; then
24662 test -d .
/-p && rmdir .
/-p
24666 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24667 # systems may use methods other than mode bits to determine executability.
24668 cat >conf$$.
file <<_ASEOF
24672 chmod +x conf$$.
file
24673 if test -x conf$$.
file >/dev
/null
2>&1; then
24674 as_executable_p
="test -x"
24680 # Sed expression to map a string onto a valid CPP name.
24681 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24683 # Sed expression to map a string onto a valid variable name.
24684 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24689 # Save the log message, to keep $[0] and so on meaningful, and to
24690 # report actual input values of CONFIG_FILES etc. instead of their
24691 # values after options handling.
24693 This file was extended by Wine $as_me 0.9.18, which was
24694 generated by GNU Autoconf 2.60a. Invocation command line was
24696 CONFIG_FILES = $CONFIG_FILES
24697 CONFIG_HEADERS = $CONFIG_HEADERS
24698 CONFIG_LINKS = $CONFIG_LINKS
24699 CONFIG_COMMANDS = $CONFIG_COMMANDS
24702 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24707 cat >>$CONFIG_STATUS <<_ACEOF
24708 # Files that config.status was made for.
24709 config_files="$ac_config_files"
24710 config_headers="$ac_config_headers"
24711 config_commands="$ac_config_commands"
24715 cat >>$CONFIG_STATUS <<\_ACEOF
24717 \`$as_me' instantiates files from templates according to the
24718 current configuration.
24720 Usage: $0 [OPTIONS] [FILE]...
24722 -h, --help print this help, then exit
24723 -V, --version print version number, then exit
24724 -q, --quiet do not print progress messages
24725 -d, --debug don't remove temporary files
24726 --recheck update $as_me by reconfiguring in the same conditions
24727 --file=FILE[:TEMPLATE]
24728 instantiate the configuration file FILE
24729 --header=FILE[:TEMPLATE]
24730 instantiate the configuration header FILE
24732 Configuration files:
24735 Configuration headers:
24738 Configuration commands:
24741 Report bugs to <bug-autoconf@gnu.org>."
24744 cat >>$CONFIG_STATUS <<_ACEOF
24746 Wine config.status 0.9.18
24747 configured by $0, generated by GNU Autoconf 2.60a,
24748 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24750 Copyright (C) 2006 Free Software Foundation, Inc.
24751 This config.status script is free software; the Free Software Foundation
24752 gives unlimited permission to copy, distribute and modify it."
24759 cat >>$CONFIG_STATUS <<\_ACEOF
24760 # If no file are specified by the user, then we need to provide default
24761 # value. By we need to know if files were specified by the user.
24767 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24768 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24779 # Handling of the options.
24780 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24782 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24783 echo "$ac_cs_version"; exit ;;
24784 --debug |
--debu |
--deb |
--de |
--d |
-d )
24786 --file |
--fil |
--fi |
--f )
24788 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24789 ac_need_defaults
=false
;;
24790 --header |
--heade |
--head |
--hea )
24792 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24793 ac_need_defaults
=false
;;
24795 # Conflict between --help and --header
24796 { echo "$as_me: error: ambiguous option: $1
24797 Try \`$0 --help' for more information." >&2
24798 { (exit 1); exit 1; }; };;
24799 --help |
--hel |
-h )
24800 echo "$ac_cs_usage"; exit ;;
24801 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24802 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24805 # This is an error.
24806 -*) { echo "$as_me: error: unrecognized option: $1
24807 Try \`$0 --help' for more information." >&2
24808 { (exit 1); exit 1; }; } ;;
24810 *) ac_config_targets
="$ac_config_targets $1"
24811 ac_need_defaults
=false
;;
24817 ac_configure_extra_args
=
24819 if $ac_cs_silent; then
24821 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24825 cat >>$CONFIG_STATUS <<_ACEOF
24826 if \$ac_cs_recheck; then
24827 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24828 CONFIG_SHELL=$SHELL
24829 export CONFIG_SHELL
24830 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24834 cat >>$CONFIG_STATUS <<\_ACEOF
24838 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24839 ## Running $as_me. ##
24845 cat >>$CONFIG_STATUS <<_ACEOF
24848 cat >>$CONFIG_STATUS <<\_ACEOF
24850 # Handling of arguments.
24851 for ac_config_target
in $ac_config_targets
24853 case $ac_config_target in
24854 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24855 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24856 "dlls/gdi/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24857 "dlls/kernel/messages") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24858 "dlls/user/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
24859 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24860 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
24861 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
24862 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
24863 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24864 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
24865 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
24866 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24867 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
24868 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
24869 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24870 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24871 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
24872 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24873 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
24874 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
24875 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24876 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24877 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24878 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24879 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24880 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
24881 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24882 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
24883 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24884 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24885 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24886 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24887 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24888 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
24889 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24890 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24891 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24892 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24893 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24894 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24895 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24896 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24897 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24898 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24899 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24900 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24901 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24902 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24903 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24904 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24905 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24906 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24907 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
24908 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
24909 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24910 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24911 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
24912 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24913 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
24914 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24915 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24916 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24917 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24918 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24919 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24920 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24921 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24922 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
24923 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24924 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24925 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24926 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
24927 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24928 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
24929 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24930 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24931 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24932 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24933 "dlls/gdi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
24934 "dlls/gdi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
24935 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
24936 "dlls/glut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
24937 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24938 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24939 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
24940 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
24941 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24942 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24943 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
24944 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24945 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24946 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24947 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
24948 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24949 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
24950 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24951 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24952 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
24953 "dlls/kernel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
24954 "dlls/kernel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
24955 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
24956 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24957 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24958 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24959 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24960 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24961 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24962 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24963 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
24964 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
24965 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24966 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24967 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24968 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
24969 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24970 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24971 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24972 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24973 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24974 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
24975 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24976 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24977 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24978 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24979 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24980 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24981 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
24982 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24983 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24984 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24985 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24986 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24987 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24988 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24989 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24990 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24991 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24992 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24993 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24994 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24995 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24996 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24997 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24998 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24999 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
25000 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
25001 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
25002 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
25003 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
25004 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
25005 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
25006 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
25007 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
25008 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
25009 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
25010 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
25011 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
25012 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
25013 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
25014 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
25015 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
25016 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
25017 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
25018 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
25019 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
25020 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
25021 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
25022 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
25023 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
25024 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
25025 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
25026 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
25027 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
25028 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
25029 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
25030 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
25031 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
25032 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
25033 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
25034 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
25035 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
25036 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
25037 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
25038 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
25039 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
25040 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
25041 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
25042 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
25043 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
25044 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
25045 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
25046 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
25047 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
25048 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
25049 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
25050 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
25051 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
25052 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
25053 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
25054 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
25055 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
25056 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
25057 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
25058 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
25059 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
25060 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
25061 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
25062 "dlls/user/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
25063 "dlls/user/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
25064 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
25065 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
25066 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
25067 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
25068 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
25069 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
25070 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
25071 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
25072 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
25073 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
25074 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
25075 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
25076 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
25077 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
25078 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
25079 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
25080 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
25081 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
25082 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
25083 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
25084 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
25085 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
25086 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
25087 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
25088 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
25089 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
25090 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
25091 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
25092 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
25093 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
25094 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
25095 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
25096 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
25097 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
25098 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
25099 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
25100 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
25101 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
25102 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
25103 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
25104 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
25105 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
25106 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
25107 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
25108 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
25109 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
25110 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
25111 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
25112 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
25113 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
25114 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
25115 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
25116 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
25117 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
25118 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
25119 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
25120 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
25121 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
25122 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
25123 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
25124 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
25125 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
25126 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
25127 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
25128 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
25129 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
25130 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
25131 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
25132 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
25133 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
25134 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
25135 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
25136 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
25137 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
25138 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
25139 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
25140 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
25141 "programs/wcmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
25142 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
25143 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
25144 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
25145 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
25146 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
25147 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
25148 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
25149 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
25150 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
25151 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
25152 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
25153 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
25154 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
25155 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
25156 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
25157 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
25158 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
25159 "tools/winapi/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
25160 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
25161 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
25162 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
25163 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
25164 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
25166 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25167 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25168 { (exit 1); exit 1; }; };;
25173 # If the user did not use the arguments to specify the items to instantiate,
25174 # then the envvar interface is used. Set only those that are not.
25175 # We use the long form for the default assignment because of an extremely
25176 # bizarre bug on SunOS 4.1.3.
25177 if $ac_need_defaults; then
25178 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25179 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25180 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25183 # Have a temporary directory for convenience. Make it in the build tree
25184 # simply because there is no reason against having it here, and in addition,
25185 # creating and moving files from /tmp can sometimes cause problems.
25186 # Hook for its removal unless debugging.
25187 # Note that there is a small window in which the directory will not be cleaned:
25188 # after its creation but before its name has been assigned to `$tmp'.
25192 trap 'exit_status=$?
25193 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25195 trap '{ (exit 1); exit 1; }' 1 2 13 15
25197 # Create a (secure) tmp directory for tmp files.
25200 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25201 test -n "$tmp" && test -d "$tmp"
25204 tmp
=.
/conf$$
-$RANDOM
25205 (umask 077 && mkdir
"$tmp")
25208 echo "$me: cannot create a temporary directory in ." >&2
25209 { (exit 1); exit 1; }
25213 # Set up the sed scripts for CONFIG_FILES section.
25216 # No need to generate the scripts if there are no CONFIG_FILES.
25217 # This happens for instance when ./config.status config.h
25218 if test -n "$CONFIG_FILES"; then
25222 # Create sed commands to just substitute file output variables.
25224 # Remaining file output variables are in a fragment that also has non-file
25230 for ac_last_try
in false false false false false
:; do
25231 cat >conf$
$subs.
sed <<_ACEOF
25232 SHELL!$SHELL$ac_delim
25233 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25234 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25235 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25236 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25237 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25238 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25239 exec_prefix!$exec_prefix$ac_delim
25240 prefix!$prefix$ac_delim
25241 program_transform_name!$program_transform_name$ac_delim
25242 bindir!$bindir$ac_delim
25243 sbindir!$sbindir$ac_delim
25244 libexecdir!$libexecdir$ac_delim
25245 datarootdir!$datarootdir$ac_delim
25246 datadir!$datadir$ac_delim
25247 sysconfdir!$sysconfdir$ac_delim
25248 sharedstatedir!$sharedstatedir$ac_delim
25249 localstatedir!$localstatedir$ac_delim
25250 includedir!$includedir$ac_delim
25251 oldincludedir!$oldincludedir$ac_delim
25252 docdir!$docdir$ac_delim
25253 infodir!$infodir$ac_delim
25254 htmldir!$htmldir$ac_delim
25255 dvidir!$dvidir$ac_delim
25256 pdfdir!$pdfdir$ac_delim
25257 psdir!$psdir$ac_delim
25258 libdir!$libdir$ac_delim
25259 localedir!$localedir$ac_delim
25260 mandir!$mandir$ac_delim
25261 DEFS!$DEFS$ac_delim
25262 ECHO_C!$ECHO_C$ac_delim
25263 ECHO_N!$ECHO_N$ac_delim
25264 ECHO_T!$ECHO_T$ac_delim
25265 LIBS!$LIBS$ac_delim
25266 build_alias!$build_alias$ac_delim
25267 host_alias!$host_alias$ac_delim
25268 target_alias!$target_alias$ac_delim
25269 build!$build$ac_delim
25270 build_cpu!$build_cpu$ac_delim
25271 build_vendor!$build_vendor$ac_delim
25272 build_os!$build_os$ac_delim
25273 host!$host$ac_delim
25274 host_cpu!$host_cpu$ac_delim
25275 host_vendor!$host_vendor$ac_delim
25276 host_os!$host_os$ac_delim
25277 WIN16_FILES!$WIN16_FILES$ac_delim
25278 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
25279 SET_MAKE!$SET_MAKE$ac_delim
25281 CFLAGS!$CFLAGS$ac_delim
25282 LDFLAGS!$LDFLAGS$ac_delim
25283 CPPFLAGS!$CPPFLAGS$ac_delim
25284 ac_ct_CC!$ac_ct_CC$ac_delim
25285 EXEEXT!$EXEEXT$ac_delim
25286 OBJEXT!$OBJEXT$ac_delim
25288 CXXFLAGS!$CXXFLAGS$ac_delim
25289 ac_ct_CXX!$ac_ct_CXX$ac_delim
25290 CPPBIN!$CPPBIN$ac_delim
25291 TOOLSDIR!$TOOLSDIR$ac_delim
25292 XMKMF!$XMKMF$ac_delim
25294 X_CFLAGS!$X_CFLAGS$ac_delim
25295 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
25296 X_LIBS!$X_LIBS$ac_delim
25297 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
25299 LEXLIB!$LEXLIB$ac_delim
25300 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
25301 XLEX!$XLEX$ac_delim
25302 BISON!$BISON$ac_delim
25304 ac_ct_AS!$ac_ct_AS$ac_delim
25307 RANLIB!$RANLIB$ac_delim
25308 STRIP!$STRIP$ac_delim
25309 WINDRES!$WINDRES$ac_delim
25310 LN_S!$LN_S$ac_delim
25312 GREP!$GREP$ac_delim
25313 EGREP!$EGREP$ac_delim
25316 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
25318 elif $ac_last_try; then
25319 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25320 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25321 { (exit 1); exit 1; }; }
25323 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25327 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25328 if test -n "$ac_eof"; then
25329 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25330 ac_eof
=`expr $ac_eof + 1`
25333 cat >>$CONFIG_STATUS <<_ACEOF
25334 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25335 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25336 /^[ ]*@MAKE_RULES@[ ]*$/{
25340 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25344 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25345 r $MAKE_IMPLIB_RULES
25348 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25352 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25358 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25359 s/^/s,@/; s/!/@,|#_!!_#|/
25362 s/'"$ac_delim"'$/,g/; t
25364 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25365 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25366 rm -f conf$
$subs.
sed
25367 cat >>$CONFIG_STATUS <<_ACEOF
25373 for ac_last_try
in false false false false false
:; do
25374 cat >conf$
$subs.
sed <<_ACEOF
25375 LDCONFIG!$LDCONFIG$ac_delim
25376 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25377 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25378 INSTALL_DATA!$INSTALL_DATA$ac_delim
25379 LINT!$LINT$ac_delim
25380 LINTFLAGS!$LINTFLAGS$ac_delim
25381 FONTFORGE!$FONTFORGE$ac_delim
25382 PKG_CONFIG!$PKG_CONFIG$ac_delim
25383 PRELINK!$PRELINK$ac_delim
25384 LIBPTHREAD!$LIBPTHREAD$ac_delim
25385 XLIB!$XLIB$ac_delim
25386 XFILES!$XFILES$ac_delim
25387 OPENGLFILES!$OPENGLFILES$ac_delim
25388 GLU32FILES!$GLU32FILES$ac_delim
25389 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25390 GLUT_LIBS!$GLUT_LIBS$ac_delim
25391 GLUT32FILES!$GLUT32FILES$ac_delim
25392 NASLIBS!$NASLIBS$ac_delim
25393 XML2LIBS!$XML2LIBS$ac_delim
25394 XML2INCL!$XML2INCL$ac_delim
25395 XSLTLIBS!$XSLTLIBS$ac_delim
25396 XSLTINCL!$XSLTINCL$ac_delim
25397 HALINCL!$HALINCL$ac_delim
25398 CURSESLIBS!$CURSESLIBS$ac_delim
25399 sane_devel!$sane_devel$ac_delim
25400 SANELIBS!$SANELIBS$ac_delim
25401 SANEINCL!$SANEINCL$ac_delim
25402 gphoto2_devel!$gphoto2_devel$ac_delim
25403 gphoto2port_devel!$gphoto2port_devel$ac_delim
25404 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25405 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25406 ICULIBS!$ICULIBS$ac_delim
25407 RESOLVLIBS!$RESOLVLIBS$ac_delim
25408 LCMSLIBS!$LCMSLIBS$ac_delim
25409 LDAPLIBS!$LDAPLIBS$ac_delim
25410 FREETYPELIBS!$FREETYPELIBS$ac_delim
25411 FREETYPEINCL!$FREETYPEINCL$ac_delim
25412 ft_devel!$ft_devel$ac_delim
25413 ft_devel2!$ft_devel2$ac_delim
25414 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25415 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25416 ARTSLIBS!$ARTSLIBS$ac_delim
25417 ARTSINCL!$ARTSINCL$ac_delim
25418 ESDCONFIG!$ESDCONFIG$ac_delim
25419 ESDLIBS!$ESDLIBS$ac_delim
25420 ESDINCL!$ESDINCL$ac_delim
25421 ALSALIBS!$ALSALIBS$ac_delim
25422 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25423 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25424 BUILTINFLAG!$BUILTINFLAG$ac_delim
25425 DLLEXT!$DLLEXT$ac_delim
25426 DLLFLAGS!$DLLFLAGS$ac_delim
25427 DLLIBS!$DLLIBS$ac_delim
25428 LDSHARED!$LDSHARED$ac_delim
25429 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25430 LIBEXT!$LIBEXT$ac_delim
25431 IMPLIBEXT!$IMPLIBEXT$ac_delim
25432 DLLTOOL!$DLLTOOL$ac_delim
25433 DLLWRAP!$DLLWRAP$ac_delim
25434 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25435 LDEXERPATH!$LDEXERPATH$ac_delim
25436 LDDLLRPATH!$LDDLLRPATH$ac_delim
25437 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25438 IOKITLIB!$IOKITLIB$ac_delim
25439 COREAUDIO!$COREAUDIO$ac_delim
25440 CROSSTEST!$CROSSTEST$ac_delim
25441 CROSSCC!$CROSSCC$ac_delim
25442 CROSSWINDRES!$CROSSWINDRES$ac_delim
25443 LDPATH!$LDPATH$ac_delim
25444 CRTLIBS!$CRTLIBS$ac_delim
25445 SOCKETLIBS!$SOCKETLIBS$ac_delim
25446 MAIN_BINARY!$MAIN_BINARY$ac_delim
25447 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25449 LIBOBJS!$LIBOBJS$ac_delim
25450 LTLIBOBJS!$LTLIBOBJS$ac_delim
25453 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
25455 elif $ac_last_try; then
25456 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25457 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25458 { (exit 1); exit 1; }; }
25460 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25464 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25465 if test -n "$ac_eof"; then
25466 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25467 ac_eof
=`expr $ac_eof + 1`
25470 cat >>$CONFIG_STATUS <<_ACEOF
25471 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25472 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25475 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25476 s/^/s,@/; s/!/@,|#_!!_#|/
25479 s/'"$ac_delim"'$/,g/; t
25481 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25482 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25483 rm -f conf$
$subs.
sed
25484 cat >>$CONFIG_STATUS <<_ACEOF
25491 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25492 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25493 # trailing colons and then remove the whole line if VPATH becomes empty
25494 # (actually we leave an empty line to preserve line numbers).
25495 if test "x$srcdir" = x.
; then
25496 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25497 s/:*\$(srcdir):*/:/
25498 s/:*\${srcdir}:*/:/
25500 s/^\([^=]*=[ ]*\):*/\1/
25506 cat >>$CONFIG_STATUS <<\_ACEOF
25507 fi # test -n "$CONFIG_FILES"
25510 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
25513 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25515 case $ac_mode$ac_tag in
25517 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25518 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25519 { (exit 1); exit 1; }; };;
25520 :[FH
]-) ac_tag
=-:-;;
25521 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25538 -) ac_f
="$tmp/stdin";;
25539 *) # Look for the file first in the build tree, then in the source tree
25540 # (if the path is not absolute). The absolute path cannot be DOS-style,
25541 # because $ac_f cannot contain `:'.
25545 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25547 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25548 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25549 { (exit 1); exit 1; }; };;
25551 ac_file_inputs
="$ac_file_inputs $ac_f"
25554 # Let's still pretend it is `configure' which instantiates (i.e., don't
25555 # use $as_me), people would be surprised to read:
25556 # /* config.h. Generated by config.status. */
25557 configure_input
="Generated from "`IFS=:
25558 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25559 if test x
"$ac_file" != x-
; then
25560 configure_input
="$ac_file. $configure_input"
25561 { echo "$as_me:$LINENO: creating $ac_file" >&5
25562 echo "$as_me: creating $ac_file" >&6;}
25566 *:-:* |
*:-) cat >"$tmp/stdin";;
25571 ac_dir
=`$as_dirname -- "$ac_file" ||
25572 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25573 X"$ac_file" : 'X\(//\)[^/]' \| \
25574 X"$ac_file" : 'X\(//\)$' \| \
25575 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25581 /^X\(\/\/\)[^/].*/{
25596 -*) as_dir
=.
/$as_dir;;
25598 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25602 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25603 *) as_qdir
=$as_dir;;
25605 as_dirs
="'$as_qdir' $as_dirs"
25606 as_dir
=`$as_dirname -- "$as_dir" ||
25607 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25608 X"$as_dir" : 'X\(//\)[^/]' \| \
25609 X"$as_dir" : 'X\(//\)$' \| \
25610 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25616 /^X\(\/\/\)[^/].*/{
25629 test -d "$as_dir" && break
25631 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25632 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25633 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25634 { (exit 1); exit 1; }; }; }
25638 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25640 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25641 # A ".." for each directory in $ac_dir_suffix.
25642 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25643 case $ac_top_builddir_sub in
25644 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25645 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25648 ac_abs_top_builddir
=$ac_pwd
25649 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25650 # for backward compatibility:
25651 ac_top_builddir
=$ac_top_build_prefix
25654 .
) # We are building in place.
25656 ac_top_srcdir
=$ac_top_builddir_sub
25657 ac_abs_top_srcdir
=$ac_pwd ;;
25658 [\\/]* | ?
:[\\/]* ) # Absolute name.
25659 ac_srcdir
=$srcdir$ac_dir_suffix;
25660 ac_top_srcdir
=$srcdir
25661 ac_abs_top_srcdir
=$srcdir ;;
25662 *) # Relative name.
25663 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25664 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25665 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25667 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25677 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25678 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25682 cat >>$CONFIG_STATUS <<\_ACEOF
25683 # If the template does not know about datarootdir, expand it.
25684 # FIXME: This hack should be removed a few years after 2.60.
25685 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25687 case `sed -n '/datarootdir/ {
25696 ' $ac_file_inputs` in
25697 *datarootdir
*) ac_datarootdir_seen
=yes;;
25698 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25699 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25700 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25702 cat >>$CONFIG_STATUS <<_ACEOF
25703 ac_datarootdir_hack='
25704 s&@datadir@&$datadir&g
25705 s&@docdir@&$docdir&g
25706 s&@infodir@&$infodir&g
25707 s&@localedir@&$localedir&g
25708 s&@mandir@&$mandir&g
25709 s&\\\${datarootdir}&$datarootdir&g' ;;
25713 # Neutralize VPATH when `$srcdir' = `.'.
25714 # Shell code in configure.ac might set extrasub.
25715 # FIXME: do we really want to maintain this feature?
25716 cat >>$CONFIG_STATUS <<_ACEOF
25720 cat >>$CONFIG_STATUS <<\_ACEOF
25722 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25723 s
&@configure_input@
&$configure_input&;t t
25724 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25725 s
&@srcdir@
&$ac_srcdir&;t t
25726 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25727 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25728 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25729 s
&@builddir@
&$ac_builddir&;t t
25730 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25731 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25732 s
&@INSTALL@
&$ac_INSTALL&;t t
25733 $ac_datarootdir_hack
25734 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
25736 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25737 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25738 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25739 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25740 which seems to be undefined. Please make sure it is defined." >&5
25741 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25742 which seems to be undefined. Please make sure it is defined." >&2;}
25746 -) cat "$tmp/out"; rm -f "$tmp/out";;
25747 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25756 # Transform confdefs.h into a sed script `conftest.defines', that
25757 # substitutes the proper values into config.h.in to produce config.h.
25758 rm -f conftest.defines conftest.
tail
25759 # First, append a space to every undef/define line, to ease matching.
25760 echo 's/$/ /' >conftest.defines
25761 # Then, protect against being on the right side of a sed subst, or in
25762 # an unquoted here document, in config.status. If some macros were
25763 # called several times there might be several #defines for the same
25764 # symbol, which is useless. But do not sort them, since the last
25765 # AC_DEFINE must be honored.
25766 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25767 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25768 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25769 # PARAMS is the parameter list in the macro definition--in most cases, it's
25770 # just an empty string.
25771 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25772 ac_dB
='\\)[ (].*,\\1define\\2'
25780 s/^[ ]*#[ ]*define[ ][ ]*//
25785 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25786 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25787 ' >>conftest.defines
25789 # Remove the space that was appended to ease matching.
25790 # Then replace #undef with comments. This is necessary, for
25791 # example, in the case of _POSIX_SOURCE, which is predefined and required
25792 # on some systems where configure will not decide to define it.
25793 # (The regexp can be short, since the line contains either #define or #undef.)
25795 s,^[ #]*u.*,/* & */,' >>conftest.defines
25797 # Break up conftest.defines:
25798 ac_max_sed_lines
=50
25800 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25801 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25802 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25804 ac_in
='$ac_file_inputs'
25805 ac_out
='"$tmp/out1"'
25806 ac_nxt
='"$tmp/out2"'
25810 # Write a here document:
25811 cat >>$CONFIG_STATUS <<_ACEOF
25812 # First, check the format of the line:
25813 cat >"\$tmp/defines.sed" <<\\CEOF
25814 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25815 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25819 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25821 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25822 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25823 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25824 grep . conftest.
tail >/dev
/null ||
break
25825 rm -f conftest.defines
25826 mv conftest.
tail conftest.defines
25828 rm -f conftest.defines conftest.
tail
25830 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25831 cat >>$CONFIG_STATUS <<\_ACEOF
25832 if test x
"$ac_file" != x-
; then
25833 echo "/* $configure_input */" >"$tmp/config.h"
25834 cat "$ac_result" >>"$tmp/config.h"
25835 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25836 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25837 echo "$as_me: $ac_file is unchanged" >&6;}
25840 mv "$tmp/config.h" $ac_file
25843 echo "/* $configure_input */"
25849 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25850 echo "$as_me: executing $ac_file commands" >&6;}
25855 case $ac_file$ac_mode in
25856 "dlls/gdi/enhmfdrv":C
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25857 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
25858 "dlls/gdi/mfdrv":C
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25859 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
25860 "dlls/kernel/messages":C
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25861 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
25862 "dlls/user/resources":C
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25863 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
25864 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25865 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
25866 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
25867 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
25873 { (exit 0); exit 0; }
25875 chmod +x
$CONFIG_STATUS
25876 ac_clean_files
=$ac_clean_files_save
25879 # configure is writing to config.log, and then calls config.status.
25880 # config.status does its own redirection, appending to config.log.
25881 # Unfortunately, on DOS this fails, as config.log is still kept open
25882 # by configure, so config.status won't be able to write to it; its
25883 # output is simply discarded. So we exec the FD to /dev/null,
25884 # effectively closing config.log, so it can be properly (re)opened and
25885 # appended to by config.status. When coming back to configure, we
25886 # need to make the FD available again.
25887 if test "$no_create" != yes; then
25889 ac_config_status_args
=
25890 test "$silent" = yes &&
25891 ac_config_status_args
="$ac_config_status_args --quiet"
25893 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25895 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25896 # would make configure fail if this is the last instruction.
25897 $ac_cs_success ||
{ (exit 1); exit 1; }
25901 if test "$have_x" = "no"
25904 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25905 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25906 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25907 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25908 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25909 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25910 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25911 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25914 if test "$wine_cv_opengl_version_OK" = "no"
25917 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
25918 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
25919 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25920 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25923 if test "$wine_cv_msg_freetype" = "yes"
25926 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25927 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25928 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25929 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25930 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25931 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25932 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25933 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25936 if test -z "$FONTSSUBDIRS"
25939 if test "$FONTFORGE" = "false"
25941 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25942 echo "$as_me: WARNING: FontForge is missing." >&2;}
25944 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25945 echo "$as_me: WARNING: FreeType is missing." >&2;}
25947 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25948 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25951 if test -z "$ALSALIBS" -a \
25952 -z "$ARTSC_LIBS" -a \
25953 -z "$AUDIOIOLIBS" -a \
25955 -z "$ESD_LIBS" -a \
25956 -z "$ac_cv_lib_soname_jack" -a \
25957 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25958 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25959 "$ac_cv_header_soundcard_h" != "yes"
25962 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25963 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25964 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25965 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25966 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25967 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25971 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."