2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.19.
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.19'
563 PACKAGE_STRING
='Wine 0.9.19'
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.19 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.19:";;
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.19
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.19, 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
=
2456 { echo "$as_me:$LINENO: result: $ac_file" >&5
2457 echo "${ECHO_T}$ac_file" >&6; }
2458 if test -z "$ac_file"; then
2459 echo "$as_me: failed program was:" >&5
2460 sed 's/^/| /' conftest.
$ac_ext >&5
2462 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2463 See \`config.log' for more details." >&5
2464 echo "$as_me: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&2;}
2466 { (exit 77); exit 77; }; }
2469 ac_exeext
=$ac_cv_exeext
2471 # Check that the compiler produces executables we can run. If not, either
2472 # the compiler is broken, or we cross compile.
2473 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2474 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2475 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2476 # If not cross compiling, check that we can run a simple program.
2477 if test "$cross_compiling" != yes; then
2478 if { ac_try
='./$ac_file'
2479 { (case "(($ac_try" in
2480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2481 *) ac_try_echo=$ac_try;;
2483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2484 (eval "$ac_try") 2>&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2490 if test "$cross_compiling" = maybe; then
2493 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details.
" >&5
2496 echo "$as_me: error
: cannot run C compiled programs.
2497 If you meant to cross compile
, use \
`--host'.
2498 See \`config.log
' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2503 { echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6; }
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check that the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2512 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6; }
2515 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2517 if { (ac_try="$ac_link"
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523 (eval "$ac_link") 2>&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; then
2527 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2528 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2529 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2531 for ac_file
in conftest.exe conftest conftest.
*; do
2532 test -f "$ac_file" ||
continue
2534 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2535 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2541 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2542 See \`config.log' for more details." >&5
2543 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2544 See \`config.log' for more details." >&2;}
2545 { (exit 1); exit 1; }; }
2548 rm -f conftest
$ac_cv_exeext
2549 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2550 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2552 rm -f conftest.
$ac_ext
2553 EXEEXT
=$ac_cv_exeext
2555 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2556 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2557 if test "${ac_cv_objext+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 cat >conftest.
$ac_ext <<_ACEOF
2563 cat confdefs.h
>>conftest.
$ac_ext
2564 cat >>conftest.
$ac_ext <<_ACEOF
2565 /* end confdefs.h. */
2575 rm -f conftest.o conftest.obj
2576 if { (ac_try
="$ac_compile"
2578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2582 (eval "$ac_compile") 2>&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; then
2586 for ac_file in conftest.o conftest.obj conftest.*; do
2587 test -f "$ac_file" || continue;
2589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2590 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.$ac_ext >&5
2598 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2599 See \`config.log
' for more details." >&5
2600 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2601 See \`config.log' for more details.
" >&2;}
2602 { (exit 1); exit 1; }; }
2605 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2607 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2608 echo "${ECHO_T}$ac_cv_objext" >&6; }
2609 OBJEXT=$ac_cv_objext
2611 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2612 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2613 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2614 echo $ECHO_N "(cached
) $ECHO_C" >&6
2616 cat >conftest.$ac_ext <<_ACEOF
2619 cat confdefs.h >>conftest.$ac_ext
2620 cat >>conftest.$ac_ext <<_ACEOF
2621 /* end confdefs.h. */
2634 rm -f conftest.$ac_objext
2635 if { (ac_try="$ac_compile"
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2640 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2641 (eval "$ac_compile") 2>conftest.er1
2643 grep -v '^ *+' conftest.er1 >conftest.err
2645 cat conftest.err >&5
2646 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2649 { (case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2653 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2654 (eval "$ac_try") 2>&5
2656 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2657 (exit $ac_status); }; } &&
2658 { ac_try='test -s conftest.$ac_objext'
2659 { (case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2663 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2664 (eval "$ac_try") 2>&5
2666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2667 (exit $ac_status); }; }; then
2670 echo "$as_me: failed program was
:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2686 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached
) $ECHO_C" >&6
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2694 cat >conftest.$ac_ext <<_ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2718 grep -v '^ *+' conftest.er1 >conftest.err
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2722 (exit $ac_status); } &&
2723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2724 { (case "(($ac_try" in
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2728 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2729 (eval "$ac_try") 2>&5
2731 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2732 (exit $ac_status); }; } &&
2733 { ac_try='test -s conftest.$ac_objext'
2734 { (case "(($ac_try" in
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2739 (eval "$ac_try") 2>&5
2741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2742 (exit $ac_status); }; }; then
2745 echo "$as_me: failed program was
:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2749 cat >conftest.$ac_ext <<_ACEOF
2752 cat confdefs.h >>conftest.$ac_ext
2753 cat >>conftest.$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2764 rm -f conftest.$ac_objext
2765 if { (ac_try="$ac_compile"
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_compile") 2>conftest.er1
2773 grep -v '^ *+' conftest.er1 >conftest.err
2775 cat conftest.err >&5
2776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2777 (exit $ac_status); } &&
2778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2779 { (case "(($ac_try" in
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2783 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2784 (eval "$ac_try") 2>&5
2786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2787 (exit $ac_status); }; } &&
2788 { ac_try='test -s conftest.$ac_objext'
2789 { (case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2793 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2794 (eval "$ac_try") 2>&5
2796 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2797 (exit $ac_status); }; }; then
2800 echo "$as_me: failed program was
:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2803 ac_c_werror_flag=$ac_save_c_werror_flag
2805 cat >conftest.$ac_ext <<_ACEOF
2808 cat confdefs.h >>conftest.$ac_ext
2809 cat >>conftest.$ac_ext <<_ACEOF
2810 /* end confdefs.h. */
2820 rm -f conftest.$ac_objext
2821 if { (ac_try="$ac_compile"
2823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2824 *) ac_try_echo=$ac_try;;
2826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2827 (eval "$ac_compile") 2>conftest.er1
2829 grep -v '^ *+' conftest.er1 >conftest.err
2831 cat conftest.err >&5
2832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2835 { (case "(($ac_try" in
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2839 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2840 (eval "$ac_try") 2>&5
2842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2843 (exit $ac_status); }; } &&
2844 { ac_try='test -s conftest.$ac_objext'
2845 { (case "(($ac_try" in
2846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 *) ac_try_echo=$ac_try;;
2849 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2850 (eval "$ac_try") 2>&5
2852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2853 (exit $ac_status); }; }; then
2856 echo "$as_me: failed program was
:" >&5
2857 sed 's/^/| /' conftest.$ac_ext >&5
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 ac_c_werror_flag=$ac_save_c_werror_flag
2871 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2872 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2873 if test "$ac_test_CFLAGS" = set; then
2874 CFLAGS=$ac_save_CFLAGS
2875 elif test $ac_cv_prog_cc_g = yes; then
2876 if test "$GCC" = yes; then
2882 if test "$GCC" = yes; then
2888 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2889 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2890 if test "${ac_cv_prog_cc_c89+set}" = set; then
2891 echo $ECHO_N "(cached
) $ECHO_C" >&6
2893 ac_cv_prog_cc_c89=no
2895 cat >conftest.$ac_ext <<_ACEOF
2898 cat confdefs.h >>conftest.$ac_ext
2899 cat >>conftest.$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2903 #include <sys/types.h>
2904 #include <sys/stat.h>
2905 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2906 struct buf { int x; };
2907 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2908 static char *e (p, i)
2914 static char *f (char * (*g) (char **, int), char **p, ...)
2919 s = g (p, va_arg (v,int));
2924 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2925 function prototypes and stuff, but not '\xHH' hex character constants.
2926 These don't provoke an error unfortunately, instead are silently treated
2927 as 'x'. The following induces an error, until -std is added to get
2928 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2929 array size at least. It's necessary to write '\x00'==0 to get something
2930 that's true only with -std. */
2931 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2933 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2934 inside strings and character constants. */
2936 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2938 int test (int i, double x);
2939 struct s1 {int (*f) (int a);};
2940 struct s2 {int (*f) (double a);};
2941 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2947 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2952 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2953 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2955 CC="$ac_save_CC $ac_arg"
2956 rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compile") 2>conftest.er1
2965 grep -v '^ *+' conftest.er1 >conftest.err
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2969 (exit $ac_status); } &&
2970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2971 { (case "(($ac_try" in
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2976 (eval "$ac_try") 2>&5
2978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2979 (exit $ac_status); }; } &&
2980 { ac_try='test -s conftest.$ac_objext'
2981 { (case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_try") 2>&5
2988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2989 (exit $ac_status); }; }; then
2990 ac_cv_prog_cc_c89=$ac_arg
2992 echo "$as_me: failed program was
:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2998 rm -f core conftest.err conftest.$ac_objext
2999 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3001 rm -f conftest.$ac_ext
3006 case "x
$ac_cv_prog_cc_c89" in
3008 { echo "$as_me:$LINENO: result
: none needed
" >&5
3009 echo "${ECHO_T}none needed
" >&6; } ;;
3011 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3012 echo "${ECHO_T}unsupported
" >&6; } ;;
3014 CC="$CC $ac_cv_prog_cc_c89"
3015 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3016 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3021 ac_cpp='$CPP $CPPFLAGS'
3022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027 ac_cpp='$CXXCPP $CPPFLAGS'
3028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3031 if test -z "$CXX"; then
3032 if test -n "$CCC"; then
3035 if test -n "$ac_tool_prefix"; then
3036 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3038 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3039 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3040 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3041 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3042 if test "${ac_cv_prog_CXX+set}" = set; then
3043 echo $ECHO_N "(cached
) $ECHO_C" >&6
3045 if test -n "$CXX"; then
3046 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 test -z "$as_dir" && as_dir=.
3053 for ac_exec_ext in '' $ac_executable_extensions; do
3054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3055 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3056 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3066 if test -n "$CXX"; then
3067 { echo "$as_me:$LINENO: result
: $CXX" >&5
3068 echo "${ECHO_T}$CXX" >&6; }
3070 { echo "$as_me:$LINENO: result
: no
" >&5
3071 echo "${ECHO_T}no
" >&6; }
3075 test -n "$CXX" && break
3078 if test -z "$CXX"; then
3080 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3082 # Extract the first word of "$ac_prog", so it can be a program name with args.
3083 set dummy $ac_prog; ac_word=$2
3084 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3085 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3086 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3087 echo $ECHO_N "(cached
) $ECHO_C" >&6
3089 if test -n "$ac_ct_CXX"; then
3090 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 test -z "$as_dir" && as_dir=.
3097 for ac_exec_ext in '' $ac_executable_extensions; do
3098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3099 ac_cv_prog_ac_ct_CXX="$ac_prog"
3100 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3109 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3110 if test -n "$ac_ct_CXX"; then
3111 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3112 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3114 { echo "$as_me:$LINENO: result
: no
" >&5
3115 echo "${ECHO_T}no
" >&6; }
3119 test -n "$ac_ct_CXX" && break
3122 if test "x
$ac_ct_CXX" = x; then
3125 case $cross_compiling:$ac_tool_warned in
3127 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3128 whose name does not start with the
host triplet. If you think this
3129 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3130 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3131 whose name does not start with the
host triplet. If you think this
3132 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3133 ac_tool_warned=yes ;;
3141 # Provide some information about the compiler.
3142 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3143 ac_compiler=`set X $ac_compile; echo $2`
3144 { (ac_try="$ac_compiler --version >&5"
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3150 (eval "$ac_compiler --version >&5") 2>&5
3152 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3153 (exit $ac_status); }
3154 { (ac_try="$ac_compiler -v >&5"
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3160 (eval "$ac_compiler -v >&5") 2>&5
3162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3163 (exit $ac_status); }
3164 { (ac_try="$ac_compiler -V >&5"
3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_compiler -V >&5") 2>&5
3172 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3173 (exit $ac_status); }
3175 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3176 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3177 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3178 echo $ECHO_N "(cached
) $ECHO_C" >&6
3180 cat >conftest.$ac_ext <<_ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3198 rm -f conftest.$ac_objext
3199 if { (ac_try="$ac_compile"
3201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3205 (eval "$ac_compile") 2>conftest.er1
3207 grep -v '^ *+' conftest.er1 >conftest.err
3209 cat conftest.err >&5
3210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3211 (exit $ac_status); } &&
3212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3213 { (case "(($ac_try" in
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3218 (eval "$ac_try") 2>&5
3220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3221 (exit $ac_status); }; } &&
3222 { ac_try='test -s conftest.$ac_objext'
3223 { (case "(($ac_try" in
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3228 (eval "$ac_try") 2>&5
3230 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3231 (exit $ac_status); }; }; then
3234 echo "$as_me: failed program was
:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3244 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3245 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3246 GXX=`test $ac_compiler_gnu = yes && echo yes`
3247 ac_test_CXXFLAGS=${CXXFLAGS+set}
3248 ac_save_CXXFLAGS=$CXXFLAGS
3249 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3250 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3251 if test "${ac_cv_prog_cxx_g+set}" = set; then
3252 echo $ECHO_N "(cached
) $ECHO_C" >&6
3254 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3255 ac_cxx_werror_flag=yes
3258 cat >conftest.$ac_ext <<_ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3273 rm -f conftest.$ac_objext
3274 if { (ac_try="$ac_compile"
3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3277 *) ac_try_echo=$ac_try;;
3279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3280 (eval "$ac_compile") 2>conftest.er1
3282 grep -v '^ *+' conftest.er1 >conftest.err
3284 cat conftest.err >&5
3285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3286 (exit $ac_status); } &&
3287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3288 { (case "(($ac_try" in
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_try") 2>&5
3295 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3296 (exit $ac_status); }; } &&
3297 { ac_try='test -s conftest.$ac_objext'
3298 { (case "(($ac_try" in
3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300 *) ac_try_echo=$ac_try;;
3302 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3303 (eval "$ac_try") 2>&5
3305 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3306 (exit $ac_status); }; }; then
3307 ac_cv_prog_cxx_g=yes
3309 echo "$as_me: failed program was
:" >&5
3310 sed 's/^/| /' conftest.$ac_ext >&5
3313 cat >conftest.$ac_ext <<_ACEOF
3316 cat confdefs.h >>conftest.$ac_ext
3317 cat >>conftest.$ac_ext <<_ACEOF
3318 /* end confdefs.h. */
3328 rm -f conftest.$ac_objext
3329 if { (ac_try="$ac_compile"
3331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332 *) ac_try_echo=$ac_try;;
3334 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3335 (eval "$ac_compile") 2>conftest.er1
3337 grep -v '^ *+' conftest.er1 >conftest.err
3339 cat conftest.err >&5
3340 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3341 (exit $ac_status); } &&
3342 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3343 { (case "(($ac_try" in
3344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3347 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3348 (eval "$ac_try") 2>&5
3350 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3351 (exit $ac_status); }; } &&
3352 { ac_try='test -s conftest.$ac_objext'
3353 { (case "(($ac_try" in
3354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355 *) ac_try_echo=$ac_try;;
3357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3358 (eval "$ac_try") 2>&5
3360 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3361 (exit $ac_status); }; }; then
3364 echo "$as_me: failed program was
:" >&5
3365 sed 's/^/| /' conftest.$ac_ext >&5
3367 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3369 cat >conftest.$ac_ext <<_ACEOF
3372 cat confdefs.h >>conftest.$ac_ext
3373 cat >>conftest.$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3384 rm -f conftest.$ac_objext
3385 if { (ac_try="$ac_compile"
3387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3390 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3391 (eval "$ac_compile") 2>conftest.er1
3393 grep -v '^ *+' conftest.er1 >conftest.err
3395 cat conftest.err >&5
3396 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3397 (exit $ac_status); } &&
3398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3399 { (case "(($ac_try" in
3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401 *) ac_try_echo=$ac_try;;
3403 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3404 (eval "$ac_try") 2>&5
3406 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3407 (exit $ac_status); }; } &&
3408 { ac_try='test -s conftest.$ac_objext'
3409 { (case "(($ac_try" in
3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3411 *) ac_try_echo=$ac_try;;
3413 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3414 (eval "$ac_try") 2>&5
3416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3417 (exit $ac_status); }; }; then
3418 ac_cv_prog_cxx_g=yes
3420 echo "$as_me: failed program was
:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3435 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3436 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3437 if test "$ac_test_CXXFLAGS" = set; then
3438 CXXFLAGS=$ac_save_CXXFLAGS
3439 elif test $ac_cv_prog_cxx_g = yes; then
3440 if test "$GXX" = yes; then
3446 if test "$GXX" = yes; then
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3458 if test -n "$ac_tool_prefix"; then
3459 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3460 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3461 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3462 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3463 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3464 echo $ECHO_N "(cached
) $ECHO_C" >&6
3466 if test -n "$CPPBIN"; then
3467 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473 test -z "$as_dir" && as_dir=.
3474 for ac_exec_ext in '' $ac_executable_extensions; do
3475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3476 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3477 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3486 CPPBIN=$ac_cv_prog_CPPBIN
3487 if test -n "$CPPBIN"; then
3488 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3489 echo "${ECHO_T}$CPPBIN" >&6; }
3491 { echo "$as_me:$LINENO: result
: no
" >&5
3492 echo "${ECHO_T}no
" >&6; }
3497 if test -z "$ac_cv_prog_CPPBIN"; then
3498 ac_ct_CPPBIN=$CPPBIN
3499 # Extract the first word of "cpp
", so it can be a program name with args.
3500 set dummy cpp; ac_word=$2
3501 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3502 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3503 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3504 echo $ECHO_N "(cached
) $ECHO_C" >&6
3506 if test -n "$ac_ct_CPPBIN"; then
3507 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 test -z "$as_dir" && as_dir=.
3514 for ac_exec_ext in '' $ac_executable_extensions; do
3515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3516 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3517 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3526 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3527 if test -n "$ac_ct_CPPBIN"; then
3528 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3529 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3531 { echo "$as_me:$LINENO: result
: no
" >&5
3532 echo "${ECHO_T}no
" >&6; }
3535 if test "x
$ac_ct_CPPBIN" = x; then
3538 case $cross_compiling:$ac_tool_warned in
3540 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3541 whose name does not start with the
host triplet. If you think this
3542 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3543 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3544 whose name does not start with the
host triplet. If you think this
3545 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3546 ac_tool_warned=yes ;;
3548 CPPBIN=$ac_ct_CPPBIN
3551 CPPBIN="$ac_cv_prog_CPPBIN"
3555 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3556 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3557 if test "${wine_cv_toolsdir+set}" = set; then
3558 echo $ECHO_N "(cached
) $ECHO_C" >&6
3560 if test -z "$with_wine_tools"; then
3561 if test "$cross_compiling" = "yes"; then
3562 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3563 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3564 { (exit 1); exit 1; }; }
3566 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3568 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3569 case $with_wine_tools in
3570 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3571 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3574 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3575 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3576 { (exit 1); exit 1; }; }
3579 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3580 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3581 TOOLSDIR=$wine_cv_toolsdir
3586 ac_cpp='$CPP $CPPFLAGS'
3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3590 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3591 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3592 # On Suns, sometimes $CPP names a directory.
3593 if test -n "$CPP" && test -d "$CPP"; then
3596 if test -z "$CPP"; then
3597 if test "${ac_cv_prog_CPP+set}" = set; then
3598 echo $ECHO_N "(cached
) $ECHO_C" >&6
3600 # Double quotes because CPP needs to be expanded
3601 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3604 for ac_c_preproc_warn_flag in '' yes
3606 # Use a header file that comes with gcc, so configuring glibc
3607 # with a fresh cross-compiler works.
3608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3609 # <limits.h> exists even on freestanding compilers.
3610 # On the NeXT, cc -E runs the code through the compiler's parser,
3611 # not just through cpp. "Syntax error
" is here to catch this case.
3612 cat >conftest.$ac_ext <<_ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3619 # include <limits.h>
3621 # include <assert.h>
3625 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628 *) ac_try_echo=$ac_try;;
3630 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3631 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3633 grep -v '^ *+' conftest.er1 >conftest.err
3635 cat conftest.err >&5
3636 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3637 (exit $ac_status); } >/dev/null; then
3638 if test -s conftest.err; then
3639 ac_cpp_err=$ac_c_preproc_warn_flag
3640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3647 if test -z "$ac_cpp_err"; then
3650 echo "$as_me: failed program was
:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Broken: fails on valid input.
3657 rm -f conftest.err conftest.$ac_ext
3659 # OK, works on sane cases. Now check whether nonexistent headers
3660 # can be detected and how.
3661 cat >conftest.$ac_ext <<_ACEOF
3664 cat confdefs.h >>conftest.$ac_ext
3665 cat >>conftest.$ac_ext <<_ACEOF
3666 /* end confdefs.h. */
3667 #include <ac_nonexistent.h>
3669 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3672 *) ac_try_echo=$ac_try;;
3674 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3675 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3677 grep -v '^ *+' conftest.er1 >conftest.err
3679 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3681 (exit $ac_status); } >/dev/null; then
3682 if test -s conftest.err; then
3683 ac_cpp_err=$ac_c_preproc_warn_flag
3684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3691 if test -z "$ac_cpp_err"; then
3692 # Broken: success on invalid input.
3695 echo "$as_me: failed program was
:" >&5
3696 sed 's/^/| /' conftest.$ac_ext >&5
3698 # Passes both tests.
3703 rm -f conftest.err conftest.$ac_ext
3706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3707 rm -f conftest.err conftest.$ac_ext
3708 if $ac_preproc_ok; then
3720 { echo "$as_me:$LINENO: result
: $CPP" >&5
3721 echo "${ECHO_T}$CPP" >&6; }
3723 for ac_c_preproc_warn_flag in '' yes
3725 # Use a header file that comes with gcc, so configuring glibc
3726 # with a fresh cross-compiler works.
3727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3728 # <limits.h> exists even on freestanding compilers.
3729 # On the NeXT, cc -E runs the code through the compiler's parser,
3730 # not just through cpp. "Syntax error
" is here to catch this case.
3731 cat >conftest.$ac_ext <<_ACEOF
3734 cat confdefs.h >>conftest.$ac_ext
3735 cat >>conftest.$ac_ext <<_ACEOF
3736 /* end confdefs.h. */
3738 # include <limits.h>
3740 # include <assert.h>
3744 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747 *) ac_try_echo=$ac_try;;
3749 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3750 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3752 grep -v '^ *+' conftest.er1 >conftest.err
3754 cat conftest.err >&5
3755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3756 (exit $ac_status); } >/dev/null; then
3757 if test -s conftest.err; then
3758 ac_cpp_err=$ac_c_preproc_warn_flag
3759 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3766 if test -z "$ac_cpp_err"; then
3769 echo "$as_me: failed program was
:" >&5
3770 sed 's/^/| /' conftest.$ac_ext >&5
3772 # Broken: fails on valid input.
3776 rm -f conftest.err conftest.$ac_ext
3778 # OK, works on sane cases. Now check whether nonexistent headers
3779 # can be detected and how.
3780 cat >conftest.$ac_ext <<_ACEOF
3783 cat confdefs.h >>conftest.$ac_ext
3784 cat >>conftest.$ac_ext <<_ACEOF
3785 /* end confdefs.h. */
3786 #include <ac_nonexistent.h>
3788 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791 *) ac_try_echo=$ac_try;;
3793 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3794 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3796 grep -v '^ *+' conftest.er1 >conftest.err
3798 cat conftest.err >&5
3799 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3800 (exit $ac_status); } >/dev/null; then
3801 if test -s conftest.err; then
3802 ac_cpp_err=$ac_c_preproc_warn_flag
3803 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3810 if test -z "$ac_cpp_err"; then
3811 # Broken: success on invalid input.
3814 echo "$as_me: failed program was
:" >&5
3815 sed 's/^/| /' conftest.$ac_ext >&5
3817 # Passes both tests.
3822 rm -f conftest.err conftest.$ac_ext
3825 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3826 rm -f conftest.err conftest.$ac_ext
3827 if $ac_preproc_ok; then
3830 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3831 See \
`config.log' for more details." >&5
3832 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3833 See \`config.log
' for more details." >&2;}
3834 { (exit 1); exit 1; }; }
3838 ac_cpp='$CPP $CPPFLAGS'
3839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3840 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3844 { echo "$as_me:$LINENO: checking for X" >&5
3845 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3848 # Check whether --with-x was given.
3849 if test "${with_x+set}" = set; then
3853 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3854 if test "x$with_x" = xno; then
3855 # The user explicitly disabled X.
3858 case $x_includes,$x_libraries in #(
3859 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3860 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3861 { (exit 1); exit 1; }; };; #(
3862 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 # One or both of the vars are not set, and there is no cached value.
3866 ac_x_includes=no ac_x_libraries=no
3867 rm -f -r conftest.dir
3868 if mkdir conftest.dir; then
3870 cat >Imakefile <<'_ACEOF'
3872 @echo incroot='${INCROOT}'
3874 @echo usrlibdir='${USRLIBDIR}'
3876 @echo libdir='${LIBDIR}'
3878 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3879 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3880 for ac_var in incroot usrlibdir libdir; do
3881 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3883 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3884 for ac_extension in a so sl; do
3885 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3886 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3887 ac_im_usrlibdir=$ac_im_libdir; break
3890 # Screen out bogus values from the imake configuration. They are
3891 # bogus both because they are the default anyway, and because
3892 # using them would break gcc on systems where it needs fixed includes.
3893 case $ac_im_incroot in
3894 /usr/include) ac_x_includes= ;;
3895 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3897 case $ac_im_usrlibdir in
3899 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3903 rm -f -r conftest.dir
3906 # Standard set of common directories for X headers.
3907 # Check X11 before X11Rn because it is often a symlink to the current release.
3919 /usr
/local
/X11
/include
3920 /usr
/local
/X11R
6/include
3921 /usr
/local
/X11R
5/include
3922 /usr
/local
/X11R
4/include
3924 /usr
/local
/include
/X11
3925 /usr
/local
/include
/X11R6
3926 /usr
/local
/include
/X11R5
3927 /usr
/local
/include
/X11R4
3931 /usr
/XFree86
/include
/X11
3935 /usr
/unsupported
/include
3937 /usr
/local
/x11r
5/include
3938 /usr
/lpp
/Xamples
/include
3940 /usr
/openwin
/include
3941 /usr
/openwin
/share
/include
'
3943 if test "$ac_x_includes" = no; then
3944 # Guess where to find include files, by looking for Xlib.h.
3945 # First, try using that file with no special directory specified.
3946 cat >conftest.$ac_ext <<_ACEOF
3949 cat confdefs.h >>conftest.$ac_ext
3950 cat >>conftest.$ac_ext <<_ACEOF
3951 /* end confdefs.h. */
3952 #include <X11/Xlib.h>
3954 if { (ac_try="$ac_cpp conftest.$ac_ext"
3956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3957 *) ac_try_echo=$ac_try;;
3959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3962 grep -v '^
*+' conftest.er1 >conftest.err
3964 cat conftest.err >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); } >/dev/null; then
3967 if test -s conftest.err; then
3968 ac_cpp_err=$ac_c_preproc_warn_flag
3969 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3976 if test -z "$ac_cpp_err"; then
3977 # We can compile using X headers with no special include directory.
3980 echo "$as_me: failed program was:" >&5
3981 sed 's
/^
/|
/' conftest.$ac_ext >&5
3983 for ac_dir in $ac_x_header_dirs; do
3984 if test -r "$ac_dir/X11/Xlib.h"; then
3985 ac_x_includes=$ac_dir
3991 rm -f conftest.err conftest.$ac_ext
3992 fi # $ac_x_includes = no
3994 if test "$ac_x_libraries" = no; then
3995 # Check for the libraries.
3996 # See if we find them without any special options.
3997 # Don't add to
$LIBS permanently.
4000 cat >conftest.
$ac_ext <<_ACEOF
4003 cat confdefs.h
>>conftest.
$ac_ext
4004 cat >>conftest.
$ac_ext <<_ACEOF
4005 /* end confdefs.h. */
4006 #include <X11/Xlib.h>
4015 rm -f conftest.
$ac_objext conftest
$ac_exeext
4016 if { (ac_try
="$ac_link"
4018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4022 (eval "$ac_link") 2>conftest.er1
4024 grep -v '^ *+' conftest.er1 >conftest.err
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } &&
4029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4030 { (case "(($ac_try" in
4031 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4032 *) ac_try_echo
=$ac_try;;
4034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4035 (eval "$ac_try") 2>&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; } &&
4039 { ac_try
='test -s conftest$ac_exeext'
4040 { (case "(($ac_try" in
4041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4045 (eval "$ac_try") 2>&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }; }; then
4050 # We can link X programs with no special library path.
4053 echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4057 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4059 # Don't even attempt the hair of trying to link an X program!
4060 for ac_extension in a so sl; do
4061 if test -r "$ac_dir/libX11.$ac_extension"; then
4062 ac_x_libraries=$ac_dir
4069 rm -f core conftest.err conftest.$ac_objext \
4070 conftest$ac_exeext conftest.$ac_ext
4071 fi # $ac_x_libraries = no
4073 case $ac_x_includes,$ac_x_libraries in #(
4075 # Didn't find X, or a directory has "'" in its name.
4076 ac_cv_have_x="have_x=no";; #(
4078 # Record where we found X for the cache.
4079 ac_cv_have_x="have_x=yes\
4080 ac_x_includes='$ac_x_includes'\
4081 ac_x_libraries='$ac_x_libraries'"
4087 eval "$ac_cv_have_x"
4090 if test "$have_x" != yes; then
4091 { echo "$as_me:$LINENO: result: $have_x" >&5
4092 echo "${ECHO_T}$have_x" >&6; }
4095 # If each of the values was on the command line, it overrides each guess.
4096 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4097 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4098 # Update the cache value to reflect the command line values.
4099 ac_cv_have_x="have_x=yes\
4100 ac_x_includes='$x_includes'\
4101 ac_x_libraries='$x_libraries'"
4102 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4103 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4106 if test "$no_x" = yes; then
4107 # Not all programs may use this symbol, but it does not hurt to define it.
4109 cat >>confdefs.h <<\_ACEOF
4110 #define X_DISPLAY_MISSING 1
4113 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4115 if test -n "$x_includes"; then
4116 X_CFLAGS="$X_CFLAGS -I$x_includes"
4119 # It would also be nice to do this for all -L options, not just this one.
4120 if test -n "$x_libraries"; then
4121 X_LIBS="$X_LIBS -L$x_libraries"
4122 # For Solaris; some versions of Sun CC require a space after -R and
4123 # others require no space. Words are not sufficient . . . .
4124 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4125 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4126 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4127 ac_xsave_c_werror_flag=$ac_c_werror_flag
4128 ac_c_werror_flag=yes
4129 cat >conftest.$ac_ext <<_ACEOF
4132 cat confdefs.h >>conftest.$ac_ext
4133 cat >>conftest.$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4144 rm -f conftest.$ac_objext conftest$ac_exeext
4145 if { (ac_try="$ac_link"
4147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4148 *) ac_try_echo
=$ac_try;;
4150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4151 (eval "$ac_link") 2>conftest.er1
4153 grep -v '^ *+' conftest.er1
>conftest.err
4155 cat conftest.err
>&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); } &&
4158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4159 { (case "(($ac_try" in
4160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4164 (eval "$ac_try") 2>&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; } &&
4168 { ac_try='test -s conftest$ac_exeext'
4169 { (case "(($ac_try" in
4170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4171 *) ac_try_echo
=$ac_try;;
4173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4174 (eval "$ac_try") 2>&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; }; then
4178 { echo "$as_me:$LINENO: result: no" >&5
4179 echo "${ECHO_T}no" >&6; }
4180 X_LIBS
="$X_LIBS -R$x_libraries"
4182 echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.
$ac_ext >&5
4185 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4186 cat >conftest.
$ac_ext <<_ACEOF
4189 cat confdefs.h
>>conftest.
$ac_ext
4190 cat >>conftest.
$ac_ext <<_ACEOF
4191 /* end confdefs.h. */
4201 rm -f conftest.
$ac_objext conftest
$ac_exeext
4202 if { (ac_try
="$ac_link"
4204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4208 (eval "$ac_link") 2>conftest.er1
4210 grep -v '^ *+' conftest.er1 >conftest.err
4212 cat conftest.err >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4216 { (case "(($ac_try" in
4217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4218 *) ac_try_echo
=$ac_try;;
4220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4221 (eval "$ac_try") 2>&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; } &&
4225 { ac_try
='test -s conftest$ac_exeext'
4226 { (case "(($ac_try" in
4227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231 (eval "$ac_try") 2>&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4235 { echo "$as_me:$LINENO: result: yes" >&5
4236 echo "${ECHO_T}yes" >&6; }
4237 X_LIBS="$X_LIBS -R $x_libraries"
4239 echo "$as_me: failed program was:" >&5
4240 sed 's/^/| /' conftest.$ac_ext >&5
4242 { echo "$as_me:$LINENO: result: neither works" >&5
4243 echo "${ECHO_T}neither works" >&6; }
4246 rm -f core conftest.err conftest.$ac_objext \
4247 conftest$ac_exeext conftest.$ac_ext
4250 rm -f core conftest.err conftest.$ac_objext \
4251 conftest$ac_exeext conftest.$ac_ext
4252 ac_c_werror_flag=$ac_xsave_c_werror_flag
4256 # Check for system-dependent libraries X programs must link with.
4257 # Do this before checking for the system-independent R6 libraries
4258 # (-lICE), since we may need -lsocket or whatever for X linking.
4260 if test "$ISC" = yes; then
4261 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4263 # Martyn Johnson says this is needed for Ultrix, if the X
4264 # libraries were built with DECnet support. And Karl Berry says
4265 # the Alpha needs dnet_stub (dnet does not exist).
4266 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4267 cat >conftest.$ac_ext <<_ACEOF
4270 cat confdefs.h >>conftest.$ac_ext
4271 cat >>conftest.$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4274 /* Override any GCC internal prototype to avoid an error.
4275 Use char because int might match the return type of a GCC
4276 builtin and then its argument prototype would still apply. */
4280 char XOpenDisplay ();
4284 return XOpenDisplay ();
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4293 *) ac_try_echo
=$ac_try;;
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4298 grep -v '^ *+' conftest.er1
>conftest.err
4300 cat conftest.err
>&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } &&
4303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4304 { (case "(($ac_try" in
4305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4309 (eval "$ac_try") 2>&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; } &&
4313 { ac_try='test -s conftest$ac_exeext'
4314 { (case "(($ac_try" in
4315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4316 *) ac_try_echo
=$ac_try;;
4318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4319 (eval "$ac_try") 2>&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); }; }; then
4325 echo "$as_me: failed program was:" >&5
4326 sed 's/^/| /' conftest.
$ac_ext >&5
4328 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4329 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4330 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4333 ac_check_lib_save_LIBS
=$LIBS
4335 cat >conftest.
$ac_ext <<_ACEOF
4338 cat confdefs.h
>>conftest.
$ac_ext
4339 cat >>conftest.
$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4342 /* Override any GCC internal prototype to avoid an error.
4343 Use char because int might match the return type of a GCC
4344 builtin and then its argument prototype would still apply. */
4352 return dnet_ntoa ();
4357 rm -f conftest.
$ac_objext conftest
$ac_exeext
4358 if { (ac_try
="$ac_link"
4360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4361 *) ac_try_echo=$ac_try;;
4363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4364 (eval "$ac_link") 2>conftest.er1
4366 grep -v '^ *+' conftest.er1 >conftest.err
4368 cat conftest.err >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } &&
4371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4372 { (case "(($ac_try" in
4373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4374 *) ac_try_echo
=$ac_try;;
4376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4377 (eval "$ac_try") 2>&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; } &&
4381 { ac_try
='test -s conftest$ac_exeext'
4382 { (case "(($ac_try" in
4383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4384 *) ac_try_echo=$ac_try;;
4386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4387 (eval "$ac_try") 2>&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; }; then
4391 ac_cv_lib_dnet_dnet_ntoa=yes
4393 echo "$as_me: failed program was:" >&5
4394 sed 's/^/| /' conftest.$ac_ext >&5
4396 ac_cv_lib_dnet_dnet_ntoa=no
4399 rm -f core conftest.err conftest.$ac_objext \
4400 conftest$ac_exeext conftest.$ac_ext
4401 LIBS=$ac_check_lib_save_LIBS
4403 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4404 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4405 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4406 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4409 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4410 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4411 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4412 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 ac_check_lib_save_LIBS=$LIBS
4416 LIBS="-ldnet_stub $LIBS"
4417 cat >conftest.$ac_ext <<_ACEOF
4420 cat confdefs.h >>conftest.$ac_ext
4421 cat >>conftest.$ac_ext <<_ACEOF
4422 /* end confdefs.h. */
4424 /* Override any GCC internal prototype to avoid an error.
4425 Use char because int might match the return type of a GCC
4426 builtin and then its argument prototype would still apply. */
4434 return dnet_ntoa ();
4439 rm -f conftest.$ac_objext conftest$ac_exeext
4440 if { (ac_try="$ac_link"
4442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4443 *) ac_try_echo
=$ac_try;;
4445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4446 (eval "$ac_link") 2>conftest.er1
4448 grep -v '^ *+' conftest.er1
>conftest.err
4450 cat conftest.err
>&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } &&
4453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4454 { (case "(($ac_try" in
4455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4456 *) ac_try_echo=$ac_try;;
4458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4459 (eval "$ac_try") 2>&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; } &&
4463 { ac_try='test -s conftest$ac_exeext'
4464 { (case "(($ac_try" in
4465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4466 *) ac_try_echo
=$ac_try;;
4468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4469 (eval "$ac_try") 2>&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; }; then
4473 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4475 echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.
$ac_ext >&5
4478 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4481 rm -f core conftest.err conftest.
$ac_objext \
4482 conftest
$ac_exeext conftest.
$ac_ext
4483 LIBS
=$ac_check_lib_save_LIBS
4485 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4486 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4487 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4488 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4494 rm -f core conftest.err conftest.
$ac_objext \
4495 conftest
$ac_exeext conftest.
$ac_ext
4496 LIBS
="$ac_xsave_LIBS"
4498 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4499 # to get the SysV transport functions.
4500 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4502 # The nsl library prevents programs from opening the X display
4503 # on Irix 5.2, according to T.E. Dickey.
4504 # The functions gethostbyname, getservbyname, and inet_addr are
4505 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4506 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4507 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4508 if test "${ac_cv_func_gethostbyname+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 cat >conftest.
$ac_ext <<_ACEOF
4514 cat confdefs.h
>>conftest.
$ac_ext
4515 cat >>conftest.
$ac_ext <<_ACEOF
4516 /* end confdefs.h. */
4517 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4519 #define gethostbyname innocuous_gethostbyname
4521 /* System header to define __stub macros and hopefully few prototypes,
4522 which can conflict with char gethostbyname (); below.
4523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4524 <limits.h> exists even on freestanding compilers. */
4527 # include <limits.h>
4529 # include <assert.h>
4532 #undef gethostbyname
4534 /* Override any GCC internal prototype to avoid an error.
4535 Use char because int might match the return type of a GCC
4536 builtin and then its argument prototype would still apply. */
4540 char gethostbyname ();
4541 /* The GNU C library defines this for functions which it implements
4542 to always fail with ENOSYS. Some functions are actually named
4543 something starting with __ and the normal name is an alias. */
4544 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4551 return gethostbyname ();
4556 rm -f conftest.
$ac_objext conftest
$ac_exeext
4557 if { (ac_try
="$ac_link"
4559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4560 *) ac_try_echo=$ac_try;;
4562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4563 (eval "$ac_link") 2>conftest.er1
4565 grep -v '^ *+' conftest.er1 >conftest.err
4567 cat conftest.err >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); } &&
4570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4571 { (case "(($ac_try" in
4572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4573 *) ac_try_echo
=$ac_try;;
4575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4576 (eval "$ac_try") 2>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); }; } &&
4580 { ac_try
='test -s conftest$ac_exeext'
4581 { (case "(($ac_try" in
4582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4583 *) ac_try_echo=$ac_try;;
4585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4586 (eval "$ac_try") 2>&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; }; then
4590 ac_cv_func_gethostbyname=yes
4592 echo "$as_me: failed program was:" >&5
4593 sed 's/^/| /' conftest.$ac_ext >&5
4595 ac_cv_func_gethostbyname=no
4598 rm -f core conftest.err conftest.$ac_objext \
4599 conftest$ac_exeext conftest.$ac_ext
4601 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4602 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4604 if test $ac_cv_func_gethostbyname = no; then
4605 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4606 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4607 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4610 ac_check_lib_save_LIBS=$LIBS
4612 cat >conftest.$ac_ext <<_ACEOF
4615 cat confdefs.h >>conftest.$ac_ext
4616 cat >>conftest.$ac_ext <<_ACEOF
4617 /* end confdefs.h. */
4619 /* Override any GCC internal prototype to avoid an error.
4620 Use char because int might match the return type of a GCC
4621 builtin and then its argument prototype would still apply. */
4625 char gethostbyname ();
4629 return gethostbyname ();
4634 rm -f conftest.$ac_objext conftest$ac_exeext
4635 if { (ac_try="$ac_link"
4637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4638 *) ac_try_echo
=$ac_try;;
4640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4641 (eval "$ac_link") 2>conftest.er1
4643 grep -v '^ *+' conftest.er1
>conftest.err
4645 cat conftest.err
>&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); } &&
4648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4649 { (case "(($ac_try" in
4650 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4651 *) ac_try_echo=$ac_try;;
4653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4654 (eval "$ac_try") 2>&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); }; } &&
4658 { ac_try='test -s conftest$ac_exeext'
4659 { (case "(($ac_try" in
4660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4661 *) ac_try_echo
=$ac_try;;
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664 (eval "$ac_try") 2>&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; }; then
4668 ac_cv_lib_nsl_gethostbyname
=yes
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.
$ac_ext >&5
4673 ac_cv_lib_nsl_gethostbyname
=no
4676 rm -f core conftest.err conftest.
$ac_objext \
4677 conftest
$ac_exeext conftest.
$ac_ext
4678 LIBS
=$ac_check_lib_save_LIBS
4680 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4681 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4682 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4683 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4686 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4687 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4688 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4689 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 ac_check_lib_save_LIBS
=$LIBS
4694 cat >conftest.
$ac_ext <<_ACEOF
4697 cat confdefs.h
>>conftest.
$ac_ext
4698 cat >>conftest.
$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4701 /* Override any GCC internal prototype to avoid an error.
4702 Use char because int might match the return type of a GCC
4703 builtin and then its argument prototype would still apply. */
4707 char gethostbyname ();
4711 return gethostbyname ();
4716 rm -f conftest.
$ac_objext conftest
$ac_exeext
4717 if { (ac_try
="$ac_link"
4719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4720 *) ac_try_echo=$ac_try;;
4722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4723 (eval "$ac_link") 2>conftest.er1
4725 grep -v '^ *+' conftest.er1 >conftest.err
4727 cat conftest.err >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } &&
4730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4731 { (case "(($ac_try" in
4732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4733 *) ac_try_echo
=$ac_try;;
4735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4736 (eval "$ac_try") 2>&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }; } &&
4740 { ac_try
='test -s conftest$ac_exeext'
4741 { (case "(($ac_try" in
4742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4746 (eval "$ac_try") 2>&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; }; then
4750 ac_cv_lib_bsd_gethostbyname=yes
4752 echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.$ac_ext >&5
4755 ac_cv_lib_bsd_gethostbyname=no
4758 rm -f core conftest.err conftest.$ac_objext \
4759 conftest$ac_exeext conftest.$ac_ext
4760 LIBS=$ac_check_lib_save_LIBS
4762 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4763 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4764 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4765 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4771 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4772 # socket/setsockopt and other routines are undefined under SCO ODT
4773 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4774 # on later versions), says Simon Leinen: it contains gethostby*
4775 # variants that don't use the name server (or something). -lsocket
4776 # must be given before -lnsl if both are needed. We assume that
4777 # if connect needs -lnsl, so does gethostbyname.
4778 { echo "$as_me:$LINENO: checking for connect" >&5
4779 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4780 if test "${ac_cv_func_connect+set}" = set; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 cat >conftest.$ac_ext <<_ACEOF
4786 cat confdefs.h >>conftest.$ac_ext
4787 cat >>conftest.$ac_ext <<_ACEOF
4788 /* end confdefs.h. */
4789 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4791 #define connect innocuous_connect
4793 /* System header to define __stub macros and hopefully few prototypes,
4794 which can conflict with char connect (); below.
4795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4796 <limits.h> exists even on freestanding compilers. */
4799 # include <limits.h>
4801 # include <assert.h>
4806 /* Override any GCC internal prototype to avoid an error.
4807 Use char because int might match the return type of a GCC
4808 builtin and then its argument prototype would still apply. */
4813 /* The GNU C library defines this for functions which it implements
4814 to always fail with ENOSYS. Some functions are actually named
4815 something starting with __ and the normal name is an alias. */
4816 #if defined __stub_connect || defined __stub___connect
4828 rm -f conftest.$ac_objext conftest$ac_exeext
4829 if { (ac_try="$ac_link"
4831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4832 *) ac_try_echo
=$ac_try;;
4834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835 (eval "$ac_link") 2>conftest.er1
4837 grep -v '^ *+' conftest.er1
>conftest.err
4839 cat conftest.err
>&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); } &&
4842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4843 { (case "(($ac_try" in
4844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4848 (eval "$ac_try") 2>&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); }; } &&
4852 { ac_try='test -s conftest$ac_exeext'
4853 { (case "(($ac_try" in
4854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4855 *) ac_try_echo
=$ac_try;;
4857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4858 (eval "$ac_try") 2>&5
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); }; }; then
4862 ac_cv_func_connect
=yes
4864 echo "$as_me: failed program was:" >&5
4865 sed 's/^/| /' conftest.
$ac_ext >&5
4867 ac_cv_func_connect
=no
4870 rm -f core conftest.err conftest.
$ac_objext \
4871 conftest
$ac_exeext conftest.
$ac_ext
4873 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4874 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4876 if test $ac_cv_func_connect = no
; then
4877 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4878 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4879 if test "${ac_cv_lib_socket_connect+set}" = set; then
4880 echo $ECHO_N "(cached) $ECHO_C" >&6
4882 ac_check_lib_save_LIBS
=$LIBS
4883 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4884 cat >conftest.
$ac_ext <<_ACEOF
4887 cat confdefs.h
>>conftest.
$ac_ext
4888 cat >>conftest.
$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4891 /* Override any GCC internal prototype to avoid an error.
4892 Use char because int might match the return type of a GCC
4893 builtin and then its argument prototype would still apply. */
4906 rm -f conftest.
$ac_objext conftest
$ac_exeext
4907 if { (ac_try
="$ac_link"
4909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4910 *) ac_try_echo=$ac_try;;
4912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4913 (eval "$ac_link") 2>conftest.er1
4915 grep -v '^ *+' conftest.er1 >conftest.err
4917 cat conftest.err >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); } &&
4920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4921 { (case "(($ac_try" in
4922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4923 *) ac_try_echo
=$ac_try;;
4925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4926 (eval "$ac_try") 2>&5
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); }; } &&
4930 { ac_try
='test -s conftest$ac_exeext'
4931 { (case "(($ac_try" in
4932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4933 *) ac_try_echo=$ac_try;;
4935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4936 (eval "$ac_try") 2>&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; }; then
4940 ac_cv_lib_socket_connect=yes
4942 echo "$as_me: failed program was:" >&5
4943 sed 's/^/| /' conftest.$ac_ext >&5
4945 ac_cv_lib_socket_connect=no
4948 rm -f core conftest.err conftest.$ac_objext \
4949 conftest$ac_exeext conftest.$ac_ext
4950 LIBS=$ac_check_lib_save_LIBS
4952 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4953 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4954 if test $ac_cv_lib_socket_connect = yes; then
4955 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4960 # Guillermo Gomez says -lposix is necessary on A/UX.
4961 { echo "$as_me:$LINENO: checking for remove" >&5
4962 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4963 if test "${ac_cv_func_remove+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4966 cat >conftest.$ac_ext <<_ACEOF
4969 cat confdefs.h >>conftest.$ac_ext
4970 cat >>conftest.$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4972 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4974 #define remove innocuous_remove
4976 /* System header to define __stub macros and hopefully few prototypes,
4977 which can conflict with char remove (); below.
4978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4979 <limits.h> exists even on freestanding compilers. */
4982 # include <limits.h>
4984 # include <assert.h>
4989 /* Override any GCC internal prototype to avoid an error.
4990 Use char because int might match the return type of a GCC
4991 builtin and then its argument prototype would still apply. */
4996 /* The GNU C library defines this for functions which it implements
4997 to always fail with ENOSYS. Some functions are actually named
4998 something starting with __ and the normal name is an alias. */
4999 #if defined __stub_remove || defined __stub___remove
5011 rm -f conftest.$ac_objext conftest$ac_exeext
5012 if { (ac_try="$ac_link"
5014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5015 *) ac_try_echo
=$ac_try;;
5017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5018 (eval "$ac_link") 2>conftest.er1
5020 grep -v '^ *+' conftest.er1
>conftest.err
5022 cat conftest.err
>&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } &&
5025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5026 { (case "(($ac_try" in
5027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5028 *) ac_try_echo=$ac_try;;
5030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5031 (eval "$ac_try") 2>&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); }; } &&
5035 { ac_try='test -s conftest$ac_exeext'
5036 { (case "(($ac_try" in
5037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5038 *) ac_try_echo
=$ac_try;;
5040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5041 (eval "$ac_try") 2>&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; }; then
5045 ac_cv_func_remove
=yes
5047 echo "$as_me: failed program was:" >&5
5048 sed 's/^/| /' conftest.
$ac_ext >&5
5050 ac_cv_func_remove
=no
5053 rm -f core conftest.err conftest.
$ac_objext \
5054 conftest
$ac_exeext conftest.
$ac_ext
5056 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5057 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5059 if test $ac_cv_func_remove = no
; then
5060 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5061 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5062 if test "${ac_cv_lib_posix_remove+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5065 ac_check_lib_save_LIBS
=$LIBS
5066 LIBS
="-lposix $LIBS"
5067 cat >conftest.
$ac_ext <<_ACEOF
5070 cat confdefs.h
>>conftest.
$ac_ext
5071 cat >>conftest.
$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5074 /* Override any GCC internal prototype to avoid an error.
5075 Use char because int might match the return type of a GCC
5076 builtin and then its argument prototype would still apply. */
5089 rm -f conftest.
$ac_objext conftest
$ac_exeext
5090 if { (ac_try
="$ac_link"
5092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5093 *) ac_try_echo=$ac_try;;
5095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5096 (eval "$ac_link") 2>conftest.er1
5098 grep -v '^ *+' conftest.er1 >conftest.err
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } &&
5103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5104 { (case "(($ac_try" in
5105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5106 *) ac_try_echo
=$ac_try;;
5108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5109 (eval "$ac_try") 2>&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; } &&
5113 { ac_try
='test -s conftest$ac_exeext'
5114 { (case "(($ac_try" in
5115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5116 *) ac_try_echo=$ac_try;;
5118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5119 (eval "$ac_try") 2>&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); }; }; then
5123 ac_cv_lib_posix_remove=yes
5125 echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5128 ac_cv_lib_posix_remove=no
5131 rm -f core conftest.err conftest.$ac_objext \
5132 conftest$ac_exeext conftest.$ac_ext
5133 LIBS=$ac_check_lib_save_LIBS
5135 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5136 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5137 if test $ac_cv_lib_posix_remove = yes; then
5138 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5143 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5144 { echo "$as_me:$LINENO: checking for shmat" >&5
5145 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5146 if test "${ac_cv_func_shmat+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 cat >conftest.$ac_ext <<_ACEOF
5152 cat confdefs.h >>conftest.$ac_ext
5153 cat >>conftest.$ac_ext <<_ACEOF
5154 /* end confdefs.h. */
5155 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5157 #define shmat innocuous_shmat
5159 /* System header to define __stub macros and hopefully few prototypes,
5160 which can conflict with char shmat (); below.
5161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5162 <limits.h> exists even on freestanding compilers. */
5165 # include <limits.h>
5167 # include <assert.h>
5172 /* Override any GCC internal prototype to avoid an error.
5173 Use char because int might match the return type of a GCC
5174 builtin and then its argument prototype would still apply. */
5179 /* The GNU C library defines this for functions which it implements
5180 to always fail with ENOSYS. Some functions are actually named
5181 something starting with __ and the normal name is an alias. */
5182 #if defined __stub_shmat || defined __stub___shmat
5194 rm -f conftest.$ac_objext conftest$ac_exeext
5195 if { (ac_try="$ac_link"
5197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5198 *) ac_try_echo
=$ac_try;;
5200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5201 (eval "$ac_link") 2>conftest.er1
5203 grep -v '^ *+' conftest.er1
>conftest.err
5205 cat conftest.err
>&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } &&
5208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5209 { (case "(($ac_try" in
5210 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5211 *) ac_try_echo=$ac_try;;
5213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5214 (eval "$ac_try") 2>&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }; } &&
5218 { ac_try='test -s conftest$ac_exeext'
5219 { (case "(($ac_try" in
5220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5221 *) ac_try_echo
=$ac_try;;
5223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5224 (eval "$ac_try") 2>&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }; }; then
5228 ac_cv_func_shmat
=yes
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.
$ac_ext >&5
5236 rm -f core conftest.err conftest.
$ac_objext \
5237 conftest
$ac_exeext conftest.
$ac_ext
5239 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5240 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5242 if test $ac_cv_func_shmat = no
; then
5243 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5244 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5245 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 ac_check_lib_save_LIBS
=$LIBS
5250 cat >conftest.
$ac_ext <<_ACEOF
5253 cat confdefs.h
>>conftest.
$ac_ext
5254 cat >>conftest.
$ac_ext <<_ACEOF
5255 /* end confdefs.h. */
5257 /* Override any GCC internal prototype to avoid an error.
5258 Use char because int might match the return type of a GCC
5259 builtin and then its argument prototype would still apply. */
5272 rm -f conftest.
$ac_objext conftest
$ac_exeext
5273 if { (ac_try
="$ac_link"
5275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5279 (eval "$ac_link") 2>conftest.er1
5281 grep -v '^ *+' conftest.er1 >conftest.err
5283 cat conftest.err >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); } &&
5286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5287 { (case "(($ac_try" in
5288 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5289 *) ac_try_echo
=$ac_try;;
5291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5292 (eval "$ac_try") 2>&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); }; } &&
5296 { ac_try
='test -s conftest$ac_exeext'
5297 { (case "(($ac_try" in
5298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5299 *) ac_try_echo=$ac_try;;
5301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5302 (eval "$ac_try") 2>&5
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5306 ac_cv_lib_ipc_shmat=yes
5308 echo "$as_me: failed program was:" >&5
5309 sed 's/^/| /' conftest.$ac_ext >&5
5311 ac_cv_lib_ipc_shmat=no
5314 rm -f core conftest.err conftest.$ac_objext \
5315 conftest$ac_exeext conftest.$ac_ext
5316 LIBS=$ac_check_lib_save_LIBS
5318 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5319 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5320 if test $ac_cv_lib_ipc_shmat = yes; then
5321 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5327 # Check for libraries that X11R6 Xt/Xaw programs need.
5328 ac_save_LDFLAGS=$LDFLAGS
5329 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5330 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5331 # check for ICE first), but we must link in the order -lSM -lICE or
5332 # we get undefined symbols. So assume we have SM if we have ICE.
5333 # These have to be linked with before -lX11, unlike the other
5334 # libraries we check for below, so use a different variable.
5335 # John Interrante, Karl Berry
5336 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5337 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5338 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5339 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 ac_check_lib_save_LIBS=$LIBS
5342 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5343 cat >conftest.$ac_ext <<_ACEOF
5346 cat confdefs.h >>conftest.$ac_ext
5347 cat >>conftest.$ac_ext <<_ACEOF
5348 /* end confdefs.h. */
5350 /* Override any GCC internal prototype to avoid an error.
5351 Use char because int might match the return type of a GCC
5352 builtin and then its argument prototype would still apply. */
5356 char IceConnectionNumber ();
5360 return IceConnectionNumber ();
5365 rm -f conftest.$ac_objext conftest$ac_exeext
5366 if { (ac_try="$ac_link"
5368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5369 *) ac_try_echo
=$ac_try;;
5371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5372 (eval "$ac_link") 2>conftest.er1
5374 grep -v '^ *+' conftest.er1
>conftest.err
5376 cat conftest.err
>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } &&
5379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5380 { (case "(($ac_try" in
5381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5382 *) ac_try_echo=$ac_try;;
5384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5385 (eval "$ac_try") 2>&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }; } &&
5389 { ac_try='test -s conftest$ac_exeext'
5390 { (case "(($ac_try" in
5391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5392 *) ac_try_echo
=$ac_try;;
5394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5395 (eval "$ac_try") 2>&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; }; then
5399 ac_cv_lib_ICE_IceConnectionNumber
=yes
5401 echo "$as_me: failed program was:" >&5
5402 sed 's/^/| /' conftest.
$ac_ext >&5
5404 ac_cv_lib_ICE_IceConnectionNumber
=no
5407 rm -f core conftest.err conftest.
$ac_objext \
5408 conftest
$ac_exeext conftest.
$ac_ext
5409 LIBS
=$ac_check_lib_save_LIBS
5411 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5412 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5413 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5414 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5417 LDFLAGS
=$ac_save_LDFLAGS
5421 for ac_prog
in flex
lex
5423 # Extract the first word of "$ac_prog", so it can be a program name with args.
5424 set dummy
$ac_prog; ac_word
=$2
5425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5427 if test "${ac_cv_prog_LEX+set}" = set; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 if test -n "$LEX"; then
5431 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5437 test -z "$as_dir" && as_dir
=.
5438 for ac_exec_ext
in '' $ac_executable_extensions; do
5439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5440 ac_cv_prog_LEX
="$ac_prog"
5441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 if test -n "$LEX"; then
5452 { echo "$as_me:$LINENO: result: $LEX" >&5
5453 echo "${ECHO_T}$LEX" >&6; }
5455 { echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6; }
5460 test -n "$LEX" && break
5462 test -n "$LEX" || LEX
=":"
5464 if test -z "$LEXLIB"
5466 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5467 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5468 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5469 echo $ECHO_N "(cached) $ECHO_C" >&6
5471 ac_check_lib_save_LIBS
=$LIBS
5473 cat >conftest.
$ac_ext <<_ACEOF
5476 cat confdefs.h
>>conftest.
$ac_ext
5477 cat >>conftest.
$ac_ext <<_ACEOF
5478 /* end confdefs.h. */
5480 /* Override any GCC internal prototype to avoid an error.
5481 Use char because int might match the return type of a GCC
5482 builtin and then its argument prototype would still apply. */
5495 rm -f conftest.
$ac_objext conftest
$ac_exeext
5496 if { (ac_try
="$ac_link"
5498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5499 *) ac_try_echo=$ac_try;;
5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5502 (eval "$ac_link") 2>conftest.er1
5504 grep -v '^ *+' conftest.er1 >conftest.err
5506 cat conftest.err >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); } &&
5509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5510 { (case "(($ac_try" in
5511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5512 *) ac_try_echo
=$ac_try;;
5514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5515 (eval "$ac_try") 2>&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); }; } &&
5519 { ac_try
='test -s conftest$ac_exeext'
5520 { (case "(($ac_try" in
5521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5522 *) ac_try_echo=$ac_try;;
5524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5525 (eval "$ac_try") 2>&5
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; }; then
5529 ac_cv_lib_fl_yywrap=yes
5531 echo "$as_me: failed program was:" >&5
5532 sed 's/^/| /' conftest.$ac_ext >&5
5534 ac_cv_lib_fl_yywrap=no
5537 rm -f core conftest.err conftest.$ac_objext \
5538 conftest$ac_exeext conftest.$ac_ext
5539 LIBS=$ac_check_lib_save_LIBS
5541 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5542 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5543 if test $ac_cv_lib_fl_yywrap = yes; then
5546 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5547 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5548 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 ac_check_lib_save_LIBS=$LIBS
5553 cat >conftest.$ac_ext <<_ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5560 /* Override any GCC internal prototype to avoid an error.
5561 Use char because int might match the return type of a GCC
5562 builtin and then its argument prototype would still apply. */
5575 rm -f conftest.$ac_objext conftest$ac_exeext
5576 if { (ac_try="$ac_link"
5578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5579 *) ac_try_echo
=$ac_try;;
5581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5582 (eval "$ac_link") 2>conftest.er1
5584 grep -v '^ *+' conftest.er1
>conftest.err
5586 cat conftest.err
>&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); } &&
5589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5590 { (case "(($ac_try" in
5591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5592 *) ac_try_echo=$ac_try;;
5594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5595 (eval "$ac_try") 2>&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); }; } &&
5599 { ac_try='test -s conftest$ac_exeext'
5600 { (case "(($ac_try" in
5601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5602 *) ac_try_echo
=$ac_try;;
5604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5605 (eval "$ac_try") 2>&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); }; }; then
5609 ac_cv_lib_l_yywrap
=yes
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.
$ac_ext >&5
5614 ac_cv_lib_l_yywrap
=no
5617 rm -f core conftest.err conftest.
$ac_objext \
5618 conftest
$ac_exeext conftest.
$ac_ext
5619 LIBS
=$ac_check_lib_save_LIBS
5621 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5622 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5623 if test $ac_cv_lib_l_yywrap = yes; then
5631 if test "x$LEX" != "x:"; then
5632 { echo "$as_me:$LINENO: checking lex output file root" >&5
5633 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5634 if test "${ac_cv_prog_lex_root+set}" = set; then
5635 echo $ECHO_N "(cached) $ECHO_C" >&6
5637 # The minimal lex program is just a single line: %%. But some broken lexes
5638 # (Solaris, I think it was) want two %% lines, so accommodate them.
5639 cat >conftest.l
<<_ACEOF
5643 { (ac_try
="$LEX conftest.l"
5645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5646 *) ac_try_echo=$ac_try;;
5648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5649 (eval "$LEX conftest.l") 2>&5
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); }
5653 if test -f lex.yy.c; then
5654 ac_cv_prog_lex_root=lex.yy
5655 elif test -f lexyy.c; then
5656 ac_cv_prog_lex_root=lexyy
5658 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5659 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5660 { (exit 1); exit 1; }; }
5663 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5664 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5666 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5668 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5669 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5670 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 # POSIX says lex can declare yytext either as a pointer or an array; the
5674 # default is implementation-dependent. Figure out which it is, since
5675 # not all implementations provide the %pointer and %array declarations.
5676 ac_cv_prog_lex_yytext_pointer=no
5677 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5679 LIBS="$LIBS $LEXLIB"
5680 cat >conftest.$ac_ext <<_ACEOF
5681 `cat $LEX_OUTPUT_ROOT.c
`
5683 rm -f conftest.$ac_objext conftest$ac_exeext
5684 if { (ac_try="$ac_link"
5686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5687 *) ac_try_echo
=$ac_try;;
5689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5690 (eval "$ac_link") 2>conftest.er1
5692 grep -v '^ *+' conftest.er1
>conftest.err
5694 cat conftest.err
>&5
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); } &&
5697 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5698 { (case "(($ac_try" in
5699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5700 *) ac_try_echo=$ac_try;;
5702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5703 (eval "$ac_try") 2>&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; } &&
5707 { ac_try='test -s conftest$ac_exeext'
5708 { (case "(($ac_try" in
5709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5710 *) ac_try_echo
=$ac_try;;
5712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5713 (eval "$ac_try") 2>&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 ac_cv_prog_lex_yytext_pointer
=yes
5719 echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.
$ac_ext >&5
5725 rm -f core conftest.err conftest.
$ac_objext \
5726 conftest
$ac_exeext conftest.
$ac_ext
5728 rm -f "${LEX_OUTPUT_ROOT}.c"
5731 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5732 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5733 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5735 cat >>confdefs.h
<<\_ACEOF
5736 #define YYTEXT_POINTER 1
5743 for ac_prog
in $LEX flex
lex
5745 # Extract the first word of "$ac_prog", so it can be a program name with args.
5746 set dummy
$ac_prog; ac_word
=$2
5747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5749 if test "${ac_cv_prog_XLEX+set}" = set; then
5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5752 if test -n "$XLEX"; then
5753 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
5755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5759 test -z "$as_dir" && as_dir
=.
5760 for ac_exec_ext
in '' $ac_executable_extensions; do
5761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5762 ac_cv_prog_XLEX
="$ac_prog"
5763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 XLEX
=$ac_cv_prog_XLEX
5773 if test -n "$XLEX"; then
5774 { echo "$as_me:$LINENO: result: $XLEX" >&5
5775 echo "${ECHO_T}$XLEX" >&6; }
5777 { echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6; }
5782 test -n "$XLEX" && break
5784 test -n "$XLEX" || XLEX
="none"
5786 if test "$XLEX" = "none"
5788 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5789 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5790 { (exit 1); exit 1; }; }
5793 for ac_prog
in bison
5795 # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy
$ac_prog; ac_word
=$2
5797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5799 if test "${ac_cv_prog_BISON+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5802 if test -n "$BISON"; then
5803 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir
=.
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_BISON
="$ac_prog"
5813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 BISON
=$ac_cv_prog_BISON
5823 if test -n "$BISON"; then
5824 { echo "$as_me:$LINENO: result: $BISON" >&5
5825 echo "${ECHO_T}$BISON" >&6; }
5827 { echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6; }
5832 test -n "$BISON" && break
5834 test -n "$BISON" || BISON
="none"
5836 if test "$BISON" = "none"
5838 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5839 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5840 { (exit 1); exit 1; }; }
5843 if test -n "$ac_tool_prefix"; then
5844 for ac_prog
in gas as
5846 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5847 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5850 if test "${ac_cv_prog_AS+set}" = set; then
5851 echo $ECHO_N "(cached) $ECHO_C" >&6
5853 if test -n "$AS"; then
5854 ac_cv_prog_AS
="$AS" # Let the user override the test.
5856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5860 test -z "$as_dir" && as_dir
=.
5861 for ac_exec_ext
in '' $ac_executable_extensions; do
5862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5863 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 if test -n "$AS"; then
5875 { echo "$as_me:$LINENO: result: $AS" >&5
5876 echo "${ECHO_T}$AS" >&6; }
5878 { echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6; }
5883 test -n "$AS" && break
5886 if test -z "$AS"; then
5888 for ac_prog
in gas as
5890 # Extract the first word of "$ac_prog", so it can be a program name with args.
5891 set dummy
$ac_prog; ac_word
=$2
5892 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5894 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 if test -n "$ac_ct_AS"; then
5898 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir
=.
5905 for ac_exec_ext
in '' $ac_executable_extensions; do
5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5907 ac_cv_prog_ac_ct_AS
="$ac_prog"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5918 if test -n "$ac_ct_AS"; then
5919 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5920 echo "${ECHO_T}$ac_ct_AS" >&6; }
5922 { echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6; }
5927 test -n "$ac_ct_AS" && break
5930 if test "x$ac_ct_AS" = x
; then
5933 case $cross_compiling:$ac_tool_warned in
5935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5936 whose name does not start with the host triplet. If you think this
5937 configuration is useful to you, please write to autoconf@gnu.org." >&5
5938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5939 whose name does not start with the host triplet. If you think this
5940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5941 ac_tool_warned
=yes ;;
5947 if test -n "$ac_tool_prefix"; then
5948 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5949 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5952 if test "${ac_cv_prog_LD+set}" = set; then
5953 echo $ECHO_N "(cached) $ECHO_C" >&6
5955 if test -n "$LD"; then
5956 ac_cv_prog_LD
="$LD" # Let the user override the test.
5958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5962 test -z "$as_dir" && as_dir
=.
5963 for ac_exec_ext
in '' $ac_executable_extensions; do
5964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5965 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 if test -n "$LD"; then
5977 { echo "$as_me:$LINENO: result: $LD" >&5
5978 echo "${ECHO_T}$LD" >&6; }
5980 { echo "$as_me:$LINENO: result: no" >&5
5981 echo "${ECHO_T}no" >&6; }
5986 if test -z "$ac_cv_prog_LD"; then
5988 # Extract the first word of "ld", so it can be a program name with args.
5989 set dummy ld
; ac_word
=$2
5990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5992 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5993 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 if test -n "$ac_ct_LD"; then
5996 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6002 test -z "$as_dir" && as_dir
=.
6003 for ac_exec_ext
in '' $ac_executable_extensions; do
6004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6005 ac_cv_prog_ac_ct_LD
="ld"
6006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6016 if test -n "$ac_ct_LD"; then
6017 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
6018 echo "${ECHO_T}$ac_ct_LD" >&6; }
6020 { echo "$as_me:$LINENO: result: no" >&5
6021 echo "${ECHO_T}no" >&6; }
6024 if test "x$ac_ct_LD" = x
; then
6027 case $cross_compiling:$ac_tool_warned in
6029 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6030 whose name does not start with the host triplet. If you think this
6031 configuration is useful to you, please write to autoconf@gnu.org." >&5
6032 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6033 whose name does not start with the host triplet. If you think this
6034 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6035 ac_tool_warned
=yes ;;
6043 if test -n "$ac_tool_prefix"; then
6044 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6045 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6048 if test "${ac_cv_prog_AR+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 if test -n "$AR"; then
6052 ac_cv_prog_AR
="$AR" # Let the user override the test.
6054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6058 test -z "$as_dir" && as_dir
=.
6059 for ac_exec_ext
in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 if test -n "$AR"; then
6073 { echo "$as_me:$LINENO: result: $AR" >&5
6074 echo "${ECHO_T}$AR" >&6; }
6076 { echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6; }
6082 if test -z "$ac_cv_prog_AR"; then
6084 # Extract the first word of "ar", so it can be a program name with args.
6085 set dummy
ar; ac_word
=$2
6086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6088 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6089 echo $ECHO_N "(cached) $ECHO_C" >&6
6091 if test -n "$ac_ct_AR"; then
6092 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6098 test -z "$as_dir" && as_dir
=.
6099 for ac_exec_ext
in '' $ac_executable_extensions; do
6100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6101 ac_cv_prog_ac_ct_AR
="ar"
6102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6112 if test -n "$ac_ct_AR"; then
6113 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6114 echo "${ECHO_T}$ac_ct_AR" >&6; }
6116 { echo "$as_me:$LINENO: result: no" >&5
6117 echo "${ECHO_T}no" >&6; }
6120 if test "x$ac_ct_AR" = x
; then
6123 case $cross_compiling:$ac_tool_warned in
6125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6126 whose name does not start with the host triplet. If you think this
6127 configuration is useful to you, please write to autoconf@gnu.org." >&5
6128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6129 whose name does not start with the host triplet. If you think this
6130 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6131 ac_tool_warned
=yes ;;
6139 if test -n "$ac_tool_prefix"; then
6140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6141 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6144 if test "${ac_cv_prog_RANLIB+set}" = set; then
6145 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 if test -n "$RANLIB"; then
6148 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6154 test -z "$as_dir" && as_dir
=.
6155 for ac_exec_ext
in '' $ac_executable_extensions; do
6156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6157 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6167 RANLIB
=$ac_cv_prog_RANLIB
6168 if test -n "$RANLIB"; then
6169 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6170 echo "${ECHO_T}$RANLIB" >&6; }
6172 { echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6; }
6178 if test -z "$ac_cv_prog_RANLIB"; then
6179 ac_ct_RANLIB
=$RANLIB
6180 # Extract the first word of "ranlib", so it can be a program name with args.
6181 set dummy ranlib
; ac_word
=$2
6182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6185 echo $ECHO_N "(cached) $ECHO_C" >&6
6187 if test -n "$ac_ct_RANLIB"; then
6188 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6194 test -z "$as_dir" && as_dir
=.
6195 for ac_exec_ext
in '' $ac_executable_extensions; do
6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6197 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6207 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6208 if test -n "$ac_ct_RANLIB"; then
6209 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6210 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6212 { echo "$as_me:$LINENO: result: no" >&5
6213 echo "${ECHO_T}no" >&6; }
6216 if test "x$ac_ct_RANLIB" = x
; then
6219 case $cross_compiling:$ac_tool_warned in
6221 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6222 whose name does not start with the host triplet. If you think this
6223 configuration is useful to you, please write to autoconf@gnu.org." >&5
6224 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6225 whose name does not start with the host triplet. If you think this
6226 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6227 ac_tool_warned
=yes ;;
6229 RANLIB
=$ac_ct_RANLIB
6232 RANLIB
="$ac_cv_prog_RANLIB"
6235 if test -n "$ac_tool_prefix"; then
6236 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6237 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6240 if test "${ac_cv_prog_STRIP+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 if test -n "$STRIP"; then
6244 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir
=.
6251 for ac_exec_ext
in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 STRIP
=$ac_cv_prog_STRIP
6264 if test -n "$STRIP"; then
6265 { echo "$as_me:$LINENO: result: $STRIP" >&5
6266 echo "${ECHO_T}$STRIP" >&6; }
6268 { echo "$as_me:$LINENO: result: no" >&5
6269 echo "${ECHO_T}no" >&6; }
6274 if test -z "$ac_cv_prog_STRIP"; then
6276 # Extract the first word of "strip", so it can be a program name with args.
6277 set dummy strip
; ac_word
=$2
6278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6280 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6281 echo $ECHO_N "(cached) $ECHO_C" >&6
6283 if test -n "$ac_ct_STRIP"; then
6284 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6290 test -z "$as_dir" && as_dir
=.
6291 for ac_exec_ext
in '' $ac_executable_extensions; do
6292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6293 ac_cv_prog_ac_ct_STRIP
="strip"
6294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6303 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6304 if test -n "$ac_ct_STRIP"; then
6305 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6306 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6308 { echo "$as_me:$LINENO: result: no" >&5
6309 echo "${ECHO_T}no" >&6; }
6312 if test "x$ac_ct_STRIP" = x
; then
6315 case $cross_compiling:$ac_tool_warned in
6317 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6318 whose name does not start with the host triplet. If you think this
6319 configuration is useful to you, please write to autoconf@gnu.org." >&5
6320 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6321 whose name does not start with the host triplet. If you think this
6322 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6323 ac_tool_warned
=yes ;;
6328 STRIP
="$ac_cv_prog_STRIP"
6331 if test -n "$ac_tool_prefix"; then
6332 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6333 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
6334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6336 if test "${ac_cv_prog_WINDRES+set}" = set; then
6337 echo $ECHO_N "(cached) $ECHO_C" >&6
6339 if test -n "$WINDRES"; then
6340 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
6342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6346 test -z "$as_dir" && as_dir
=.
6347 for ac_exec_ext
in '' $ac_executable_extensions; do
6348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6349 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
6350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6359 WINDRES
=$ac_cv_prog_WINDRES
6360 if test -n "$WINDRES"; then
6361 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6362 echo "${ECHO_T}$WINDRES" >&6; }
6364 { echo "$as_me:$LINENO: result: no" >&5
6365 echo "${ECHO_T}no" >&6; }
6370 if test -z "$ac_cv_prog_WINDRES"; then
6371 ac_ct_WINDRES
=$WINDRES
6372 # Extract the first word of "windres", so it can be a program name with args.
6373 set dummy windres
; ac_word
=$2
6374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6376 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 if test -n "$ac_ct_WINDRES"; then
6380 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
6382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir
=.
6387 for ac_exec_ext
in '' $ac_executable_extensions; do
6388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6389 ac_cv_prog_ac_ct_WINDRES
="windres"
6390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
6400 if test -n "$ac_ct_WINDRES"; then
6401 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6402 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6404 { echo "$as_me:$LINENO: result: no" >&5
6405 echo "${ECHO_T}no" >&6; }
6408 if test "x$ac_ct_WINDRES" = x
; then
6411 case $cross_compiling:$ac_tool_warned in
6413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6414 whose name does not start with the host triplet. If you think this
6415 configuration is useful to you, please write to autoconf@gnu.org." >&5
6416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6417 whose name does not start with the host triplet. If you think this
6418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6419 ac_tool_warned
=yes ;;
6421 WINDRES
=$ac_ct_WINDRES
6424 WINDRES
="$ac_cv_prog_WINDRES"
6427 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6428 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6430 if test "$LN_S" = "ln -s"; then
6431 { echo "$as_me:$LINENO: result: yes" >&5
6432 echo "${ECHO_T}yes" >&6; }
6434 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6435 echo "${ECHO_T}no, using $LN_S" >&6; }
6438 { echo "$as_me:$LINENO: checking whether ln works" >&5
6439 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6440 rm -f conf$$ conf$$.
file
6442 if ln conf$$.
file conf$$
2>/dev
/null
; then
6445 { echo "$as_me:$LINENO: result: yes" >&5
6446 echo "${ECHO_T}yes" >&6; }
6450 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6451 echo "${ECHO_T}no, using $LN" >&6; }
6453 rm -f conf$$ conf$$.
file
6454 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6455 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6456 if test "${ac_cv_path_GREP+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6459 # Extract the first word of "grep ggrep" to use in msg output
6460 if test -z "$GREP"; then
6461 set dummy
grep ggrep
; ac_prog_name
=$2
6462 if test "${ac_cv_path_GREP+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 ac_path_GREP_found
=false
6466 # Loop through the user's path and test for each of PROGNAME-LIST
6467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6468 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6471 test -z "$as_dir" && as_dir
=.
6472 for ac_prog
in grep ggrep
; do
6473 for ac_exec_ext
in '' $ac_executable_extensions; do
6474 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6475 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
6476 # Check for GNU ac_path_GREP and select it if it is found.
6477 # Check for GNU $ac_path_GREP
6478 case `"$ac_path_GREP" --version 2>&1` in
6480 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6483 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6486 cat "conftest.in" "conftest.in" >"conftest.tmp"
6487 mv "conftest.tmp" "conftest.in"
6488 cp "conftest.in" "conftest.nl"
6489 echo 'GREP' >> "conftest.nl"
6490 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6491 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6492 ac_count
=`expr $ac_count + 1`
6493 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6494 # Best one so far, save it but keep looking for a better one
6495 ac_cv_path_GREP
="$ac_path_GREP"
6496 ac_path_GREP_max
=$ac_count
6498 # 10*(2^10) chars as input seems more than enough
6499 test $ac_count -gt 10 && break
6501 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6505 $ac_path_GREP_found && break 3
6515 GREP
="$ac_cv_path_GREP"
6516 if test -z "$GREP"; then
6517 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6518 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6519 { (exit 1); exit 1; }; }
6523 ac_cv_path_GREP
=$GREP
6528 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6529 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6530 GREP
="$ac_cv_path_GREP"
6533 { echo "$as_me:$LINENO: checking for egrep" >&5
6534 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6535 if test "${ac_cv_path_EGREP+set}" = set; then
6536 echo $ECHO_N "(cached) $ECHO_C" >&6
6538 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6539 then ac_cv_path_EGREP
="$GREP -E"
6541 # Extract the first word of "egrep" to use in msg output
6542 if test -z "$EGREP"; then
6543 set dummy
egrep; ac_prog_name
=$2
6544 if test "${ac_cv_path_EGREP+set}" = set; then
6545 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 ac_path_EGREP_found
=false
6548 # Loop through the user's path and test for each of PROGNAME-LIST
6549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6550 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6553 test -z "$as_dir" && as_dir
=.
6554 for ac_prog
in egrep; do
6555 for ac_exec_ext
in '' $ac_executable_extensions; do
6556 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6557 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
6558 # Check for GNU ac_path_EGREP and select it if it is found.
6559 # Check for GNU $ac_path_EGREP
6560 case `"$ac_path_EGREP" --version 2>&1` in
6562 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6565 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6568 cat "conftest.in" "conftest.in" >"conftest.tmp"
6569 mv "conftest.tmp" "conftest.in"
6570 cp "conftest.in" "conftest.nl"
6571 echo 'EGREP' >> "conftest.nl"
6572 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6573 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6574 ac_count
=`expr $ac_count + 1`
6575 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6576 # Best one so far, save it but keep looking for a better one
6577 ac_cv_path_EGREP
="$ac_path_EGREP"
6578 ac_path_EGREP_max
=$ac_count
6580 # 10*(2^10) chars as input seems more than enough
6581 test $ac_count -gt 10 && break
6583 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6587 $ac_path_EGREP_found && break 3
6597 EGREP
="$ac_cv_path_EGREP"
6598 if test -z "$EGREP"; then
6599 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6600 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6601 { (exit 1); exit 1; }; }
6605 ac_cv_path_EGREP
=$EGREP
6611 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6612 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6613 EGREP
="$ac_cv_path_EGREP"
6616 # Extract the first word of "ldconfig", so it can be a program name with args.
6617 set dummy ldconfig
; ac_word
=$2
6618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6620 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6621 echo $ECHO_N "(cached) $ECHO_C" >&6
6625 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6629 for as_dir
in /sbin
/usr
/sbin
$PATH
6632 test -z "$as_dir" && as_dir
=.
6633 for ac_exec_ext
in '' $ac_executable_extensions; do
6634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6635 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6647 LDCONFIG
=$ac_cv_path_LDCONFIG
6648 if test -n "$LDCONFIG"; then
6649 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6650 echo "${ECHO_T}$LDCONFIG" >&6; }
6652 { echo "$as_me:$LINENO: result: no" >&5
6653 echo "${ECHO_T}no" >&6; }
6657 # Find a good install program. We prefer a C program (faster),
6658 # so one script is as good as another. But avoid the broken or
6659 # incompatible versions:
6660 # SysV /etc/install, /usr/sbin/install
6661 # SunOS /usr/etc/install
6662 # IRIX /sbin/install
6664 # AmigaOS /C/install, which installs bootblocks on floppy discs
6665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6668 # OS/2's system install, which has a completely different semantic
6669 # ./install, which can be erroneously created by make from ./install.sh.
6670 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6671 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6672 if test -z "$INSTALL"; then
6673 if test "${ac_cv_path_install+set}" = set; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6680 test -z "$as_dir" && as_dir
=.
6681 # Account for people who put trailing slashes in PATH elements.
6683 .
/ | .
// |
/cC
/* | \
6684 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6685 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6688 # OSF1 and SCO ODT 3.0 have their own names for install.
6689 # Don't use installbsd from OSF since it installs stuff as root
6691 for ac_prog
in ginstall scoinst
install; do
6692 for ac_exec_ext
in '' $ac_executable_extensions; do
6693 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6694 if test $ac_prog = install &&
6695 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6696 # AIX install. It has an incompatible calling convention.
6698 elif test $ac_prog = install &&
6699 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6700 # program-specific install script used by HP pwplus--don't use.
6703 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6716 if test "${ac_cv_path_install+set}" = set; then
6717 INSTALL
=$ac_cv_path_install
6719 # As a last resort, use the slow shell script. Don't cache a
6720 # value for INSTALL within a source directory, because that will
6721 # break other packages using the cache if that directory is
6722 # removed, or if the value is a relative name.
6723 INSTALL
=$ac_install_sh
6726 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6727 echo "${ECHO_T}$INSTALL" >&6; }
6729 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6730 # It thinks the first close brace ends the variable substitution.
6731 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6733 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6735 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6738 [\\/$
]* | ?
:[\\/]* ) ;;
6739 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6742 for ac_prog
in lclint lint
6744 # Extract the first word of "$ac_prog", so it can be a program name with args.
6745 set dummy
$ac_prog; ac_word
=$2
6746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6748 if test "${ac_cv_prog_LINT+set}" = set; then
6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6751 if test -n "$LINT"; then
6752 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6758 test -z "$as_dir" && as_dir
=.
6759 for ac_exec_ext
in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_LINT
="$ac_prog"
6762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6771 LINT
=$ac_cv_prog_LINT
6772 if test -n "$LINT"; then
6773 { echo "$as_me:$LINENO: result: $LINT" >&5
6774 echo "${ECHO_T}$LINT" >&6; }
6776 { echo "$as_me:$LINENO: result: no" >&5
6777 echo "${ECHO_T}no" >&6; }
6781 test -n "$LINT" && break
6784 if test "$LINT" = "lint"
6786 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6791 for ac_prog
in fontforge
6793 # Extract the first word of "$ac_prog", so it can be a program name with args.
6794 set dummy
$ac_prog; ac_word
=$2
6795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6797 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6800 if test -n "$FONTFORGE"; then
6801 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6807 test -z "$as_dir" && as_dir
=.
6808 for ac_exec_ext
in '' $ac_executable_extensions; do
6809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6810 ac_cv_prog_FONTFORGE
="$ac_prog"
6811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6820 FONTFORGE
=$ac_cv_prog_FONTFORGE
6821 if test -n "$FONTFORGE"; then
6822 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6823 echo "${ECHO_T}$FONTFORGE" >&6; }
6825 { echo "$as_me:$LINENO: result: no" >&5
6826 echo "${ECHO_T}no" >&6; }
6830 test -n "$FONTFORGE" && break
6832 test -n "$FONTFORGE" || FONTFORGE
="false"
6834 for ac_prog
in pkg-config
6836 # Extract the first word of "$ac_prog", so it can be a program name with args.
6837 set dummy
$ac_prog; ac_word
=$2
6838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6840 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6841 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 if test -n "$PKG_CONFIG"; then
6844 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6850 test -z "$as_dir" && as_dir
=.
6851 for ac_exec_ext
in '' $ac_executable_extensions; do
6852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6853 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6863 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6864 if test -n "$PKG_CONFIG"; then
6865 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6866 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6868 { echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6; }
6873 test -n "$PKG_CONFIG" && break
6875 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6880 # Extract the first word of "prelink", so it can be a program name with args.
6881 set dummy prelink
; ac_word
=$2
6882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6884 if test "${ac_cv_path_PRELINK+set}" = set; then
6885 echo $ECHO_N "(cached) $ECHO_C" >&6
6889 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6893 for as_dir
in /sbin
/usr
/sbin
$PATH
6896 test -z "$as_dir" && as_dir
=.
6897 for ac_exec_ext
in '' $ac_executable_extensions; do
6898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6899 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6907 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6911 PRELINK
=$ac_cv_path_PRELINK
6912 if test -n "$PRELINK"; then
6913 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6914 echo "${ECHO_T}$PRELINK" >&6; }
6916 { echo "$as_me:$LINENO: result: no" >&5
6917 echo "${ECHO_T}no" >&6; }
6926 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6927 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6928 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6931 ac_check_lib_save_LIBS
=$LIBS
6933 cat >conftest.
$ac_ext <<_ACEOF
6936 cat confdefs.h
>>conftest.
$ac_ext
6937 cat >>conftest.
$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6940 /* Override any GCC internal prototype to avoid an error.
6941 Use char because int might match the return type of a GCC
6942 builtin and then its argument prototype would still apply. */
6946 char i386_set_ldt ();
6950 return i386_set_ldt ();
6955 rm -f conftest.
$ac_objext conftest
$ac_exeext
6956 if { (ac_try
="$ac_link"
6958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6959 *) ac_try_echo=$ac_try;;
6961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6962 (eval "$ac_link") 2>conftest.er1
6964 grep -v '^ *+' conftest.er1 >conftest.err
6966 cat conftest.err >&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); } &&
6969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6970 { (case "(($ac_try" in
6971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6972 *) ac_try_echo
=$ac_try;;
6974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6975 (eval "$ac_try") 2>&5
6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978 (exit $ac_status); }; } &&
6979 { ac_try
='test -s conftest$ac_exeext'
6980 { (case "(($ac_try" in
6981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6982 *) ac_try_echo=$ac_try;;
6984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6985 (eval "$ac_try") 2>&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; }; then
6989 ac_cv_lib_i386_i386_set_ldt=yes
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.$ac_ext >&5
6994 ac_cv_lib_i386_i386_set_ldt=no
6997 rm -f core conftest.err conftest.$ac_objext \
6998 conftest$ac_exeext conftest.$ac_ext
6999 LIBS=$ac_check_lib_save_LIBS
7001 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7002 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
7003 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
7004 cat >>confdefs.h <<_ACEOF
7005 #define HAVE_LIBI386 1
7013 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
7014 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
7015 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
7016 echo $ECHO_N "(cached) $ECHO_C" >&6
7018 ac_check_lib_save_LIBS=$LIBS
7019 LIBS="-lossaudio $LIBS"
7020 cat >conftest.$ac_ext <<_ACEOF
7023 cat confdefs.h >>conftest.$ac_ext
7024 cat >>conftest.$ac_ext <<_ACEOF
7025 /* end confdefs.h. */
7027 /* Override any GCC internal prototype to avoid an error.
7028 Use char because int might match the return type of a GCC
7029 builtin and then its argument prototype would still apply. */
7037 return _oss_ioctl ();
7042 rm -f conftest.$ac_objext conftest$ac_exeext
7043 if { (ac_try="$ac_link"
7045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7046 *) ac_try_echo
=$ac_try;;
7048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7049 (eval "$ac_link") 2>conftest.er1
7051 grep -v '^ *+' conftest.er1
>conftest.err
7053 cat conftest.err
>&5
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); } &&
7056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7057 { (case "(($ac_try" in
7058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7059 *) ac_try_echo=$ac_try;;
7061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7062 (eval "$ac_try") 2>&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; } &&
7066 { ac_try='test -s conftest$ac_exeext'
7067 { (case "(($ac_try" in
7068 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7069 *) ac_try_echo
=$ac_try;;
7071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7072 (eval "$ac_try") 2>&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7076 ac_cv_lib_ossaudio__oss_ioctl
=yes
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.
$ac_ext >&5
7081 ac_cv_lib_ossaudio__oss_ioctl
=no
7084 rm -f core conftest.err conftest.
$ac_objext \
7085 conftest
$ac_exeext conftest.
$ac_ext
7086 LIBS
=$ac_check_lib_save_LIBS
7088 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7089 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7090 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7091 cat >>confdefs.h
<<_ACEOF
7092 #define HAVE_LIBOSSAUDIO 1
7095 LIBS
="-lossaudio $LIBS"
7100 for ac_func
in gethostbyname
7102 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7105 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7106 echo $ECHO_N "(cached) $ECHO_C" >&6
7108 cat >conftest.
$ac_ext <<_ACEOF
7111 cat confdefs.h
>>conftest.
$ac_ext
7112 cat >>conftest.
$ac_ext <<_ACEOF
7113 /* end confdefs.h. */
7114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7116 #define $ac_func innocuous_$ac_func
7118 /* System header to define __stub macros and hopefully few prototypes,
7119 which can conflict with char $ac_func (); below.
7120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7121 <limits.h> exists even on freestanding compilers. */
7124 # include <limits.h>
7126 # include <assert.h>
7131 /* Override any GCC internal prototype to avoid an error.
7132 Use char because int might match the return type of a GCC
7133 builtin and then its argument prototype would still apply. */
7138 /* The GNU C library defines this for functions which it implements
7139 to always fail with ENOSYS. Some functions are actually named
7140 something starting with __ and the normal name is an alias. */
7141 #if defined __stub_$ac_func || defined __stub___$ac_func
7153 rm -f conftest.
$ac_objext conftest
$ac_exeext
7154 if { (ac_try
="$ac_link"
7156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7157 *) ac_try_echo=$ac_try;;
7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7160 (eval "$ac_link") 2>conftest.er1
7162 grep -v '^ *+' conftest.er1 >conftest.err
7164 cat conftest.err >&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); } &&
7167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7168 { (case "(($ac_try" in
7169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7170 *) ac_try_echo
=$ac_try;;
7172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7173 (eval "$ac_try") 2>&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; } &&
7177 { ac_try
='test -s conftest$ac_exeext'
7178 { (case "(($ac_try" in
7179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7180 *) ac_try_echo=$ac_try;;
7182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7183 (eval "$ac_try") 2>&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); }; }; then
7187 eval "$as_ac_var=yes"
7189 echo "$as_me: failed program was:" >&5
7190 sed 's/^/| /' conftest.$ac_ext >&5
7192 eval "$as_ac_var=no"
7195 rm -f core conftest.err conftest.$ac_objext \
7196 conftest$ac_exeext conftest.$ac_ext
7198 ac_res=`eval echo '${'$as_ac_var'}'`
7199 { echo "$as_me:$LINENO: result: $ac_res" >&5
7200 echo "${ECHO_T}$ac_res" >&6; }
7201 if test `eval echo '${'$as_ac_var'}'` = yes; then
7202 cat >>confdefs.h <<_ACEOF
7203 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7208 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7209 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
7210 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7211 echo $ECHO_N "(cached) $ECHO_C" >&6
7213 ac_check_lib_save_LIBS=$LIBS
7215 cat >conftest.$ac_ext <<_ACEOF
7218 cat confdefs.h >>conftest.$ac_ext
7219 cat >>conftest.$ac_ext <<_ACEOF
7220 /* end confdefs.h. */
7222 /* Override any GCC internal prototype to avoid an error.
7223 Use char because int might match the return type of a GCC
7224 builtin and then its argument prototype would still apply. */
7228 char gethostbyname ();
7232 return gethostbyname ();
7237 rm -f conftest.$ac_objext conftest$ac_exeext
7238 if { (ac_try="$ac_link"
7240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7241 *) ac_try_echo
=$ac_try;;
7243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7244 (eval "$ac_link") 2>conftest.er1
7246 grep -v '^ *+' conftest.er1
>conftest.err
7248 cat conftest.err
>&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); } &&
7251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7252 { (case "(($ac_try" in
7253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7254 *) ac_try_echo=$ac_try;;
7256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7257 (eval "$ac_try") 2>&5
7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); }; } &&
7261 { ac_try='test -s conftest$ac_exeext'
7262 { (case "(($ac_try" in
7263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7264 *) ac_try_echo
=$ac_try;;
7266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7267 (eval "$ac_try") 2>&5
7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); }; }; then
7271 ac_cv_lib_nsl_gethostbyname
=yes
7273 echo "$as_me: failed program was:" >&5
7274 sed 's/^/| /' conftest.
$ac_ext >&5
7276 ac_cv_lib_nsl_gethostbyname
=no
7279 rm -f core conftest.err conftest.
$ac_objext \
7280 conftest
$ac_exeext conftest.
$ac_ext
7281 LIBS
=$ac_check_lib_save_LIBS
7283 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7284 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
7285 if test $ac_cv_lib_nsl_gethostbyname = yes; then
7286 cat >>confdefs.h
<<_ACEOF
7287 #define HAVE_LIBNSL 1
7298 for ac_func
in connect
7300 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7301 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7303 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7304 echo $ECHO_N "(cached) $ECHO_C" >&6
7306 cat >conftest.
$ac_ext <<_ACEOF
7309 cat confdefs.h
>>conftest.
$ac_ext
7310 cat >>conftest.
$ac_ext <<_ACEOF
7311 /* end confdefs.h. */
7312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7314 #define $ac_func innocuous_$ac_func
7316 /* System header to define __stub macros and hopefully few prototypes,
7317 which can conflict with char $ac_func (); below.
7318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7319 <limits.h> exists even on freestanding compilers. */
7322 # include <limits.h>
7324 # include <assert.h>
7329 /* Override any GCC internal prototype to avoid an error.
7330 Use char because int might match the return type of a GCC
7331 builtin and then its argument prototype would still apply. */
7336 /* The GNU C library defines this for functions which it implements
7337 to always fail with ENOSYS. Some functions are actually named
7338 something starting with __ and the normal name is an alias. */
7339 #if defined __stub_$ac_func || defined __stub___$ac_func
7351 rm -f conftest.
$ac_objext conftest
$ac_exeext
7352 if { (ac_try
="$ac_link"
7354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7355 *) ac_try_echo=$ac_try;;
7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7358 (eval "$ac_link") 2>conftest.er1
7360 grep -v '^ *+' conftest.er1 >conftest.err
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } &&
7365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7366 { (case "(($ac_try" in
7367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7368 *) ac_try_echo
=$ac_try;;
7370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7371 (eval "$ac_try") 2>&5
7373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374 (exit $ac_status); }; } &&
7375 { ac_try
='test -s conftest$ac_exeext'
7376 { (case "(($ac_try" in
7377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_try") 2>&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 eval "$as_ac_var=yes"
7387 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7390 eval "$as_ac_var=no"
7393 rm -f core conftest.err conftest.$ac_objext \
7394 conftest$ac_exeext conftest.$ac_ext
7396 ac_res=`eval echo '${'$as_ac_var'}'`
7397 { echo "$as_me:$LINENO: result: $ac_res" >&5
7398 echo "${ECHO_T}$ac_res" >&6; }
7399 if test `eval echo '${'$as_ac_var'}'` = yes; then
7400 cat >>confdefs.h <<_ACEOF
7401 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7406 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7407 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
7408 if test "${ac_cv_lib_socket_connect+set}" = set; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7411 ac_check_lib_save_LIBS=$LIBS
7412 LIBS="-lsocket $LIBS"
7413 cat >conftest.$ac_ext <<_ACEOF
7416 cat confdefs.h >>conftest.$ac_ext
7417 cat >>conftest.$ac_ext <<_ACEOF
7418 /* end confdefs.h. */
7420 /* Override any GCC internal prototype to avoid an error.
7421 Use char because int might match the return type of a GCC
7422 builtin and then its argument prototype would still apply. */
7435 rm -f conftest.$ac_objext conftest$ac_exeext
7436 if { (ac_try="$ac_link"
7438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7439 *) ac_try_echo
=$ac_try;;
7441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7442 (eval "$ac_link") 2>conftest.er1
7444 grep -v '^ *+' conftest.er1
>conftest.err
7446 cat conftest.err
>&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); } &&
7449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7450 { (case "(($ac_try" in
7451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7452 *) ac_try_echo=$ac_try;;
7454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7455 (eval "$ac_try") 2>&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; } &&
7459 { ac_try='test -s conftest$ac_exeext'
7460 { (case "(($ac_try" in
7461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7462 *) ac_try_echo
=$ac_try;;
7464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7465 (eval "$ac_try") 2>&5
7467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7468 (exit $ac_status); }; }; then
7469 ac_cv_lib_socket_connect
=yes
7471 echo "$as_me: failed program was:" >&5
7472 sed 's/^/| /' conftest.
$ac_ext >&5
7474 ac_cv_lib_socket_connect
=no
7477 rm -f core conftest.err conftest.
$ac_objext \
7478 conftest
$ac_exeext conftest.
$ac_ext
7479 LIBS
=$ac_check_lib_save_LIBS
7481 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7482 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
7483 if test $ac_cv_lib_socket_connect = yes; then
7484 cat >>confdefs.h
<<_ACEOF
7485 #define HAVE_LIBSOCKET 1
7488 LIBS
="-lsocket $LIBS"
7496 for ac_func
in inet_aton
7498 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7499 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7501 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 cat >conftest.
$ac_ext <<_ACEOF
7507 cat confdefs.h
>>conftest.
$ac_ext
7508 cat >>conftest.
$ac_ext <<_ACEOF
7509 /* end confdefs.h. */
7510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7512 #define $ac_func innocuous_$ac_func
7514 /* System header to define __stub macros and hopefully few prototypes,
7515 which can conflict with char $ac_func (); below.
7516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7517 <limits.h> exists even on freestanding compilers. */
7520 # include <limits.h>
7522 # include <assert.h>
7527 /* Override any GCC internal prototype to avoid an error.
7528 Use char because int might match the return type of a GCC
7529 builtin and then its argument prototype would still apply. */
7534 /* The GNU C library defines this for functions which it implements
7535 to always fail with ENOSYS. Some functions are actually named
7536 something starting with __ and the normal name is an alias. */
7537 #if defined __stub_$ac_func || defined __stub___$ac_func
7549 rm -f conftest.
$ac_objext conftest
$ac_exeext
7550 if { (ac_try
="$ac_link"
7552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7553 *) ac_try_echo=$ac_try;;
7555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7556 (eval "$ac_link") 2>conftest.er1
7558 grep -v '^ *+' conftest.er1 >conftest.err
7560 cat conftest.err >&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); } &&
7563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7564 { (case "(($ac_try" in
7565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7566 *) ac_try_echo
=$ac_try;;
7568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7569 (eval "$ac_try") 2>&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; } &&
7573 { ac_try
='test -s conftest$ac_exeext'
7574 { (case "(($ac_try" in
7575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7576 *) ac_try_echo=$ac_try;;
7578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7579 (eval "$ac_try") 2>&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); }; }; then
7583 eval "$as_ac_var=yes"
7585 echo "$as_me: failed program was:" >&5
7586 sed 's/^/| /' conftest.$ac_ext >&5
7588 eval "$as_ac_var=no"
7591 rm -f core conftest.err conftest.$ac_objext \
7592 conftest$ac_exeext conftest.$ac_ext
7594 ac_res=`eval echo '${'$as_ac_var'}'`
7595 { echo "$as_me:$LINENO: result: $ac_res" >&5
7596 echo "${ECHO_T}$ac_res" >&6; }
7597 if test `eval echo '${'$as_ac_var'}'` = yes; then
7598 cat >>confdefs.h <<_ACEOF
7599 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7604 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7605 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7606 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7607 echo $ECHO_N "(cached) $ECHO_C" >&6
7609 ac_check_lib_save_LIBS=$LIBS
7610 LIBS="-lresolv $LIBS"
7611 cat >conftest.$ac_ext <<_ACEOF
7614 cat confdefs.h >>conftest.$ac_ext
7615 cat >>conftest.$ac_ext <<_ACEOF
7616 /* end confdefs.h. */
7618 /* Override any GCC internal prototype to avoid an error.
7619 Use char because int might match the return type of a GCC
7620 builtin and then its argument prototype would still apply. */
7628 return inet_aton ();
7633 rm -f conftest.$ac_objext conftest$ac_exeext
7634 if { (ac_try="$ac_link"
7636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7637 *) ac_try_echo
=$ac_try;;
7639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7640 (eval "$ac_link") 2>conftest.er1
7642 grep -v '^ *+' conftest.er1
>conftest.err
7644 cat conftest.err
>&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); } &&
7647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7648 { (case "(($ac_try" in
7649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7650 *) ac_try_echo=$ac_try;;
7652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7653 (eval "$ac_try") 2>&5
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); }; } &&
7657 { ac_try='test -s conftest$ac_exeext'
7658 { (case "(($ac_try" in
7659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7660 *) ac_try_echo
=$ac_try;;
7662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7663 (eval "$ac_try") 2>&5
7665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); }; }; then
7667 ac_cv_lib_resolv_inet_aton
=yes
7669 echo "$as_me: failed program was:" >&5
7670 sed 's/^/| /' conftest.
$ac_ext >&5
7672 ac_cv_lib_resolv_inet_aton
=no
7675 rm -f core conftest.err conftest.
$ac_objext \
7676 conftest
$ac_exeext conftest.
$ac_ext
7677 LIBS
=$ac_check_lib_save_LIBS
7679 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7680 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7681 if test $ac_cv_lib_resolv_inet_aton = yes; then
7682 cat >>confdefs.h
<<_ACEOF
7683 #define HAVE_LIBRESOLV 1
7686 LIBS
="-lresolv $LIBS"
7694 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7695 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7696 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7697 echo $ECHO_N "(cached) $ECHO_C" >&6
7699 ac_check_lib_save_LIBS
=$LIBS
7701 cat >conftest.
$ac_ext <<_ACEOF
7704 cat confdefs.h
>>conftest.
$ac_ext
7705 cat >>conftest.
$ac_ext <<_ACEOF
7706 /* end confdefs.h. */
7708 /* Override any GCC internal prototype to avoid an error.
7709 Use char because int might match the return type of a GCC
7710 builtin and then its argument prototype would still apply. */
7714 char _xpg4_setrunelocale ();
7718 return _xpg4_setrunelocale ();
7723 rm -f conftest.
$ac_objext conftest
$ac_exeext
7724 if { (ac_try
="$ac_link"
7726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7727 *) ac_try_echo=$ac_try;;
7729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7730 (eval "$ac_link") 2>conftest.er1
7732 grep -v '^ *+' conftest.er1 >conftest.err
7734 cat conftest.err >&5
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); } &&
7737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7738 { (case "(($ac_try" in
7739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7740 *) ac_try_echo
=$ac_try;;
7742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7743 (eval "$ac_try") 2>&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 (exit $ac_status); }; } &&
7747 { ac_try
='test -s conftest$ac_exeext'
7748 { (case "(($ac_try" in
7749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7750 *) ac_try_echo=$ac_try;;
7752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7753 (eval "$ac_try") 2>&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; }; then
7757 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7759 echo "$as_me: failed program was:" >&5
7760 sed 's/^/| /' conftest.$ac_ext >&5
7762 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7765 rm -f core conftest.err conftest.$ac_objext \
7766 conftest$ac_exeext conftest.$ac_ext
7767 LIBS=$ac_check_lib_save_LIBS
7769 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7770 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7771 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7772 cat >>confdefs.h <<_ACEOF
7773 #define HAVE_LIBXPG4 1
7781 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7782 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7783 if test "${ac_cv_lib_poll_poll+set}" = set; then
7784 echo $ECHO_N "(cached) $ECHO_C" >&6
7786 ac_check_lib_save_LIBS=$LIBS
7788 cat >conftest.$ac_ext <<_ACEOF
7791 cat confdefs.h >>conftest.$ac_ext
7792 cat >>conftest.$ac_ext <<_ACEOF
7793 /* end confdefs.h. */
7795 /* Override any GCC internal prototype to avoid an error.
7796 Use char because int might match the return type of a GCC
7797 builtin and then its argument prototype would still apply. */
7810 rm -f conftest.$ac_objext conftest$ac_exeext
7811 if { (ac_try="$ac_link"
7813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7814 *) ac_try_echo
=$ac_try;;
7816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7817 (eval "$ac_link") 2>conftest.er1
7819 grep -v '^ *+' conftest.er1
>conftest.err
7821 cat conftest.err
>&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); } &&
7824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7825 { (case "(($ac_try" in
7826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7827 *) ac_try_echo=$ac_try;;
7829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7830 (eval "$ac_try") 2>&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); }; } &&
7834 { ac_try='test -s conftest$ac_exeext'
7835 { (case "(($ac_try" in
7836 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7837 *) ac_try_echo
=$ac_try;;
7839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7840 (eval "$ac_try") 2>&5
7842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843 (exit $ac_status); }; }; then
7844 ac_cv_lib_poll_poll
=yes
7846 echo "$as_me: failed program was:" >&5
7847 sed 's/^/| /' conftest.
$ac_ext >&5
7849 ac_cv_lib_poll_poll
=no
7852 rm -f core conftest.err conftest.
$ac_objext \
7853 conftest
$ac_exeext conftest.
$ac_ext
7854 LIBS
=$ac_check_lib_save_LIBS
7856 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7857 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7858 if test $ac_cv_lib_poll_poll = yes; then
7859 cat >>confdefs.h
<<_ACEOF
7860 #define HAVE_LIBPOLL 1
7867 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7868 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7869 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7872 ac_check_lib_save_LIBS
=$LIBS
7873 LIBS
="-lpthread $LIBS"
7874 cat >conftest.
$ac_ext <<_ACEOF
7877 cat confdefs.h
>>conftest.
$ac_ext
7878 cat >>conftest.
$ac_ext <<_ACEOF
7879 /* end confdefs.h. */
7881 /* Override any GCC internal prototype to avoid an error.
7882 Use char because int might match the return type of a GCC
7883 builtin and then its argument prototype would still apply. */
7887 char pthread_create ();
7891 return pthread_create ();
7896 rm -f conftest.
$ac_objext conftest
$ac_exeext
7897 if { (ac_try
="$ac_link"
7899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7900 *) ac_try_echo=$ac_try;;
7902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7903 (eval "$ac_link") 2>conftest.er1
7905 grep -v '^ *+' conftest.er1 >conftest.err
7907 cat conftest.err >&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); } &&
7910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7911 { (case "(($ac_try" in
7912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7913 *) ac_try_echo
=$ac_try;;
7915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7916 (eval "$ac_try") 2>&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); }; } &&
7920 { ac_try
='test -s conftest$ac_exeext'
7921 { (case "(($ac_try" in
7922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7923 *) ac_try_echo=$ac_try;;
7925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7926 (eval "$ac_try") 2>&5
7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); }; }; then
7930 ac_cv_lib_pthread_pthread_create=yes
7932 echo "$as_me: failed program was:" >&5
7933 sed 's/^/| /' conftest.$ac_ext >&5
7935 ac_cv_lib_pthread_pthread_create=no
7938 rm -f core conftest.err conftest.$ac_objext \
7939 conftest$ac_exeext conftest.$ac_ext
7940 LIBS=$ac_check_lib_save_LIBS
7942 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7943 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7944 if test $ac_cv_lib_pthread_pthread_create = yes; then
7945 LIBPTHREAD="-lpthread"
7962 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7963 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7964 if test "${ac_cv_header_stdc+set}" = set; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7967 cat >conftest.$ac_ext <<_ACEOF
7970 cat confdefs.h >>conftest.$ac_ext
7971 cat >>conftest.$ac_ext <<_ACEOF
7972 /* end confdefs.h. */
7986 rm -f conftest.$ac_objext
7987 if { (ac_try="$ac_compile"
7989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7990 *) ac_try_echo
=$ac_try;;
7992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7993 (eval "$ac_compile") 2>conftest.er1
7995 grep -v '^ *+' conftest.er1
>conftest.err
7997 cat conftest.err
>&5
7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 (exit $ac_status); } &&
8000 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8001 { (case "(($ac_try" in
8002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8003 *) ac_try_echo=$ac_try;;
8005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8006 (eval "$ac_try") 2>&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); }; } &&
8010 { ac_try='test -s conftest.$ac_objext'
8011 { (case "(($ac_try" in
8012 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8013 *) ac_try_echo
=$ac_try;;
8015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8016 (eval "$ac_try") 2>&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; }; then
8020 ac_cv_header_stdc
=yes
8022 echo "$as_me: failed program was:" >&5
8023 sed 's/^/| /' conftest.
$ac_ext >&5
8025 ac_cv_header_stdc
=no
8028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8030 if test $ac_cv_header_stdc = yes; then
8031 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8032 cat >conftest.
$ac_ext <<_ACEOF
8035 cat confdefs.h
>>conftest.
$ac_ext
8036 cat >>conftest.
$ac_ext <<_ACEOF
8037 /* end confdefs.h. */
8041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8042 $EGREP "memchr" >/dev
/null
2>&1; then
8045 ac_cv_header_stdc
=no
8051 if test $ac_cv_header_stdc = yes; then
8052 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8053 cat >conftest.
$ac_ext <<_ACEOF
8056 cat confdefs.h
>>conftest.
$ac_ext
8057 cat >>conftest.
$ac_ext <<_ACEOF
8058 /* end confdefs.h. */
8062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8063 $EGREP "free" >/dev
/null
2>&1; then
8066 ac_cv_header_stdc
=no
8072 if test $ac_cv_header_stdc = yes; then
8073 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8074 if test "$cross_compiling" = yes; then
8077 cat >conftest.
$ac_ext <<_ACEOF
8080 cat confdefs.h
>>conftest.
$ac_ext
8081 cat >>conftest.
$ac_ext <<_ACEOF
8082 /* end confdefs.h. */
8085 #if ((' ' & 0x0FF) == 0x020)
8086 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8087 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8089 # define ISLOWER(c) \
8090 (('a' <= (c) && (c) <= 'i') \
8091 || ('j' <= (c) && (c) <= 'r') \
8092 || ('s' <= (c) && (c) <= 'z'))
8093 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8096 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8101 for (i = 0; i < 256; i++)
8102 if (XOR (islower (i), ISLOWER (i))
8103 || toupper (i) != TOUPPER (i))
8108 rm -f conftest
$ac_exeext
8109 if { (ac_try
="$ac_link"
8111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8112 *) ac_try_echo=$ac_try;;
8114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8115 (eval "$ac_link") 2>&5
8117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8118 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8119 { (case "(($ac_try" in
8120 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8121 *) ac_try_echo
=$ac_try;;
8123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8124 (eval "$ac_try") 2>&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; }; then
8130 echo "$as_me: program exited with status $ac_status" >&5
8131 echo "$as_me: failed program was:" >&5
8132 sed 's/^/| /' conftest.
$ac_ext >&5
8135 ac_cv_header_stdc
=no
8137 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8143 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8144 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8145 if test $ac_cv_header_stdc = yes; then
8147 cat >>confdefs.h
<<\_ACEOF
8148 #define STDC_HEADERS 1
8153 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8163 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8164 inttypes.h stdint.h unistd.h
8166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8169 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8170 echo $ECHO_N "(cached) $ECHO_C" >&6
8172 cat >conftest.
$ac_ext <<_ACEOF
8175 cat confdefs.h
>>conftest.
$ac_ext
8176 cat >>conftest.
$ac_ext <<_ACEOF
8177 /* end confdefs.h. */
8178 $ac_includes_default
8180 #include <$ac_header>
8182 rm -f conftest.
$ac_objext
8183 if { (ac_try
="$ac_compile"
8185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8186 *) ac_try_echo=$ac_try;;
8188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8189 (eval "$ac_compile") 2>conftest.er1
8191 grep -v '^ *+' conftest.er1 >conftest.err
8193 cat conftest.err >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } &&
8196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8197 { (case "(($ac_try" in
8198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8199 *) ac_try_echo
=$ac_try;;
8201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8202 (eval "$ac_try") 2>&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; } &&
8206 { ac_try
='test -s conftest.$ac_objext'
8207 { (case "(($ac_try" in
8208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8209 *) ac_try_echo=$ac_try;;
8211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8212 (eval "$ac_try") 2>&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); }; }; then
8216 eval "$as_ac_Header=yes"
8218 echo "$as_me: failed program was:" >&5
8219 sed 's/^/| /' conftest.$ac_ext >&5
8221 eval "$as_ac_Header=no"
8224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8226 ac_res=`eval echo '${'$as_ac_Header'}'`
8227 { echo "$as_me:$LINENO: result: $ac_res" >&5
8228 echo "${ECHO_T}$ac_res" >&6; }
8229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8230 cat >>confdefs.h <<_ACEOF
8231 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8348 AudioUnit/AudioUnit.h \
8349 CoreAudio/CoreAudio.h \
8362 fontconfig/fontconfig.h \
8388 machine/soundcard.h \
8393 netinet/in_systm.h \
8458 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8460 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8462 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8463 echo $ECHO_N "(cached) $ECHO_C" >&6
8465 ac_res=`eval echo '${'$as_ac_Header'}'`
8466 { echo "$as_me:$LINENO: result: $ac_res" >&5
8467 echo "${ECHO_T}$ac_res" >&6; }
8469 # Is the header compilable?
8470 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8472 cat >conftest.$ac_ext <<_ACEOF
8475 cat confdefs.h >>conftest.$ac_ext
8476 cat >>conftest.$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8478 $ac_includes_default
8479 #include <$ac_header>
8481 rm -f conftest.$ac_objext
8482 if { (ac_try="$ac_compile"
8484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8485 *) ac_try_echo
=$ac_try;;
8487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8488 (eval "$ac_compile") 2>conftest.er1
8490 grep -v '^ *+' conftest.er1
>conftest.err
8492 cat conftest.err
>&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } &&
8495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8496 { (case "(($ac_try" in
8497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8498 *) ac_try_echo=$ac_try;;
8500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8501 (eval "$ac_try") 2>&5
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 (exit $ac_status); }; } &&
8505 { ac_try='test -s conftest.$ac_objext'
8506 { (case "(($ac_try" in
8507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8508 *) ac_try_echo
=$ac_try;;
8510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8511 (eval "$ac_try") 2>&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); }; }; then
8515 ac_header_compiler
=yes
8517 echo "$as_me: failed program was:" >&5
8518 sed 's/^/| /' conftest.
$ac_ext >&5
8520 ac_header_compiler
=no
8523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8524 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8525 echo "${ECHO_T}$ac_header_compiler" >&6; }
8527 # Is the header present?
8528 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8530 cat >conftest.
$ac_ext <<_ACEOF
8533 cat confdefs.h
>>conftest.
$ac_ext
8534 cat >>conftest.
$ac_ext <<_ACEOF
8535 /* end confdefs.h. */
8536 #include <$ac_header>
8538 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8541 *) ac_try_echo=$ac_try;;
8543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8544 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8546 grep -v '^ *+' conftest.er1 >conftest.err
8548 cat conftest.err >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); } >/dev/null; then
8551 if test -s conftest.err; then
8552 ac_cpp_err=$ac_c_preproc_warn_flag
8553 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8560 if test -z "$ac_cpp_err"; then
8561 ac_header_preproc=yes
8563 echo "$as_me: failed program was:" >&5
8564 sed 's/^/| /' conftest.$ac_ext >&5
8566 ac_header_preproc=no
8569 rm -f conftest.err conftest.$ac_ext
8570 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8571 echo "${ECHO_T}$ac_header_preproc" >&6; }
8573 # So? What about this header?
8574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8576 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8577 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8579 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8580 ac_header_preproc=yes
8583 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8584 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8585 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8586 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8588 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8590 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8594 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8596 ## ------------------------------------ ##
8597 ## Report this to wine-devel@winehq.org ##
8598 ## ------------------------------------ ##
8600 ) | sed "s/^/$as_me: WARNING: /" >&2
8603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8606 echo $ECHO_N "(cached) $ECHO_C" >&6
8608 eval "$as_ac_Header=\$ac_header_preproc"
8610 ac_res=`eval echo '${'$as_ac_Header'}'`
8611 { echo "$as_me:$LINENO: result: $ac_res" >&5
8612 echo "${ECHO_T}$ac_res" >&6; }
8615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8616 cat >>confdefs.h <<_ACEOF
8617 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8624 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8625 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8626 if test "${ac_cv_header_stat_broken+set}" = set; then
8627 echo $ECHO_N "(cached) $ECHO_C" >&6
8629 cat >conftest.$ac_ext <<_ACEOF
8632 cat confdefs.h >>conftest.$ac_ext
8633 cat >>conftest.$ac_ext <<_ACEOF
8634 /* end confdefs.h. */
8635 #include <sys/types.h>
8636 #include <sys/stat.h>
8638 #if defined S_ISBLK && defined S_IFDIR
8639 # if S_ISBLK (S_IFDIR)
8644 #if defined S_ISBLK && defined S_IFCHR
8645 # if S_ISBLK (S_IFCHR)
8650 #if defined S_ISLNK && defined S_IFREG
8651 # if S_ISLNK (S_IFREG)
8656 #if defined S_ISSOCK && defined S_IFREG
8657 # if S_ISSOCK (S_IFREG)
8663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8664 $EGREP "You lose" >/dev/null 2>&1; then
8665 ac_cv_header_stat_broken=yes
8667 ac_cv_header_stat_broken=no
8672 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8673 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8674 if test $ac_cv_header_stat_broken = yes; then
8676 cat >>confdefs.h <<\_ACEOF
8677 #define STAT_MACROS_BROKEN 1
8688 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
8690 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8691 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8693 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8694 echo $ECHO_N "(cached) $ECHO_C" >&6
8696 cat >conftest.$ac_ext <<_ACEOF
8699 cat confdefs.h >>conftest.$ac_ext
8700 cat >>conftest.$ac_ext <<_ACEOF
8701 /* end confdefs.h. */
8702 #include <sys/types.h>
8703 #if HAVE_SYS_PARAM_H
8704 # include <sys/param.h>
8707 #include <$ac_header>
8709 rm -f conftest.$ac_objext
8710 if { (ac_try="$ac_compile"
8712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8713 *) ac_try_echo
=$ac_try;;
8715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8716 (eval "$ac_compile") 2>conftest.er1
8718 grep -v '^ *+' conftest.er1
>conftest.err
8720 cat conftest.err
>&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); } &&
8723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8724 { (case "(($ac_try" in
8725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8726 *) ac_try_echo=$ac_try;;
8728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8729 (eval "$ac_try") 2>&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; } &&
8733 { ac_try='test -s conftest.$ac_objext'
8734 { (case "(($ac_try" in
8735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8736 *) ac_try_echo
=$ac_try;;
8738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8739 (eval "$ac_try") 2>&5
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); }; }; then
8743 eval "$as_ac_Header=yes"
8745 echo "$as_me: failed program was:" >&5
8746 sed 's/^/| /' conftest.
$ac_ext >&5
8748 eval "$as_ac_Header=no"
8751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8753 ac_res
=`eval echo '${'$as_ac_Header'}'`
8754 { echo "$as_me:$LINENO: result: $ac_res" >&5
8755 echo "${ECHO_T}$ac_res" >&6; }
8756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8757 cat >>confdefs.h
<<_ACEOF
8758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8772 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
8774 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8777 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8778 echo $ECHO_N "(cached) $ECHO_C" >&6
8780 cat >conftest.
$ac_ext <<_ACEOF
8783 cat confdefs.h
>>conftest.
$ac_ext
8784 cat >>conftest.
$ac_ext <<_ACEOF
8785 /* end confdefs.h. */
8786 #include <sys/types.h>
8787 #if HAVE_SYS_SOCKET_H
8788 # include <sys/socket.h>
8791 #include <$ac_header>
8793 rm -f conftest.
$ac_objext
8794 if { (ac_try
="$ac_compile"
8796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8797 *) ac_try_echo=$ac_try;;
8799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8800 (eval "$ac_compile") 2>conftest.er1
8802 grep -v '^ *+' conftest.er1 >conftest.err
8804 cat conftest.err >&5
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 (exit $ac_status); } &&
8807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8808 { (case "(($ac_try" in
8809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8810 *) ac_try_echo
=$ac_try;;
8812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8813 (eval "$ac_try") 2>&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); }; } &&
8817 { ac_try
='test -s conftest.$ac_objext'
8818 { (case "(($ac_try" in
8819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8820 *) ac_try_echo=$ac_try;;
8822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8823 (eval "$ac_try") 2>&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; }; then
8827 eval "$as_ac_Header=yes"
8829 echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.$ac_ext >&5
8832 eval "$as_ac_Header=no"
8835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8837 ac_res=`eval echo '${'$as_ac_Header'}'`
8838 { echo "$as_me:$LINENO: result: $ac_res" >&5
8839 echo "${ECHO_T}$ac_res" >&6; }
8840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8841 cat >>confdefs.h <<_ACEOF
8842 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8851 for ac_header in linux/ipx.h
8853 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8854 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6
8859 cat >conftest.$ac_ext <<_ACEOF
8862 cat confdefs.h >>conftest.$ac_ext
8863 cat >>conftest.$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8865 #include <sys/types.h>
8866 #ifdef HAVE_ASM_TYPES_H
8867 # include <asm/types.h>
8869 #if HAVE_SYS_SOCKET_H
8870 # include <sys/socket.h>
8873 #include <$ac_header>
8875 rm -f conftest.$ac_objext
8876 if { (ac_try="$ac_compile"
8878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8879 *) ac_try_echo
=$ac_try;;
8881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8882 (eval "$ac_compile") 2>conftest.er1
8884 grep -v '^ *+' conftest.er1
>conftest.err
8886 cat conftest.err
>&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); } &&
8889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8890 { (case "(($ac_try" in
8891 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8892 *) ac_try_echo=$ac_try;;
8894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8895 (eval "$ac_try") 2>&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; } &&
8899 { ac_try='test -s conftest.$ac_objext'
8900 { (case "(($ac_try" in
8901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8902 *) ac_try_echo
=$ac_try;;
8904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8905 (eval "$ac_try") 2>&5
8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908 (exit $ac_status); }; }; then
8909 eval "$as_ac_Header=yes"
8911 echo "$as_me: failed program was:" >&5
8912 sed 's/^/| /' conftest.
$ac_ext >&5
8914 eval "$as_ac_Header=no"
8917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8919 ac_res
=`eval echo '${'$as_ac_Header'}'`
8920 { echo "$as_me:$LINENO: result: $ac_res" >&5
8921 echo "${ECHO_T}$ac_res" >&6; }
8922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8923 cat >>confdefs.h
<<_ACEOF
8924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8933 for ac_header
in resolv.h
8935 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8936 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8938 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8939 echo $ECHO_N "(cached) $ECHO_C" >&6
8941 cat >conftest.
$ac_ext <<_ACEOF
8944 cat confdefs.h
>>conftest.
$ac_ext
8945 cat >>conftest.
$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8947 #include <sys/types.h>
8948 #if HAVE_SYS_SOCKET_H
8949 # include <sys/socket.h>
8951 #if HAVE_NETINET_IN_H
8952 # include <netinet/in.h>
8954 #if HAVE_ARPA_NAMESER_H
8955 # include <arpa/nameser.h>
8958 #include <$ac_header>
8960 rm -f conftest.
$ac_objext
8961 if { (ac_try
="$ac_compile"
8963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8964 *) ac_try_echo=$ac_try;;
8966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8967 (eval "$ac_compile") 2>conftest.er1
8969 grep -v '^ *+' conftest.er1 >conftest.err
8971 cat conftest.err >&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); } &&
8974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
8984 { ac_try
='test -s conftest.$ac_objext'
8985 { (case "(($ac_try" in
8986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8987 *) ac_try_echo=$ac_try;;
8989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8990 (eval "$ac_try") 2>&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); }; }; then
8994 eval "$as_ac_Header=yes"
8996 echo "$as_me: failed program was:" >&5
8997 sed 's/^/| /' conftest.$ac_ext >&5
8999 eval "$as_ac_Header=no"
9002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9004 ac_res=`eval echo '${'$as_ac_Header'}'`
9005 { echo "$as_me:$LINENO: result: $ac_res" >&5
9006 echo "${ECHO_T}$ac_res" >&6; }
9007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9008 cat >>confdefs.h <<_ACEOF
9009 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9018 for ac_header in ucontext.h
9020 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9021 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 cat >conftest.$ac_ext <<_ACEOF
9029 cat confdefs.h >>conftest.$ac_ext
9030 cat >>conftest.$ac_ext <<_ACEOF
9031 /* end confdefs.h. */
9034 #include <$ac_header>
9036 rm -f conftest.$ac_objext
9037 if { (ac_try="$ac_compile"
9039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9040 *) ac_try_echo
=$ac_try;;
9042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9043 (eval "$ac_compile") 2>conftest.er1
9045 grep -v '^ *+' conftest.er1
>conftest.err
9047 cat conftest.err
>&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); } &&
9050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9051 { (case "(($ac_try" in
9052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9053 *) ac_try_echo=$ac_try;;
9055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9056 (eval "$ac_try") 2>&5
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }; } &&
9060 { ac_try='test -s conftest.$ac_objext'
9061 { (case "(($ac_try" in
9062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9063 *) ac_try_echo
=$ac_try;;
9065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9066 (eval "$ac_try") 2>&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); }; }; then
9070 eval "$as_ac_Header=yes"
9072 echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.
$ac_ext >&5
9075 eval "$as_ac_Header=no"
9078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9080 ac_res
=`eval echo '${'$as_ac_Header'}'`
9081 { echo "$as_me:$LINENO: result: $ac_res" >&5
9082 echo "${ECHO_T}$ac_res" >&6; }
9083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9084 cat >>confdefs.h
<<_ACEOF
9085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9094 for ac_header
in linux
/videodev.h
9096 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9097 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9099 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9102 cat >conftest.
$ac_ext <<_ACEOF
9105 cat confdefs.h
>>conftest.
$ac_ext
9106 cat >>conftest.
$ac_ext <<_ACEOF
9107 /* end confdefs.h. */
9108 #ifdef HAVE_SYS_TIME_H
9109 #include <sys/time.h>
9111 #include <sys/types.h>
9112 #ifdef HAVE_ASM_TYPES_H
9113 #include <asm/types.h>
9116 #include <$ac_header>
9118 rm -f conftest.
$ac_objext
9119 if { (ac_try
="$ac_compile"
9121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9122 *) ac_try_echo=$ac_try;;
9124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9125 (eval "$ac_compile") 2>conftest.er1
9127 grep -v '^ *+' conftest.er1 >conftest.err
9129 cat conftest.err >&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } &&
9132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9133 { (case "(($ac_try" in
9134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9135 *) ac_try_echo
=$ac_try;;
9137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9138 (eval "$ac_try") 2>&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); }; } &&
9142 { ac_try
='test -s conftest.$ac_objext'
9143 { (case "(($ac_try" in
9144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9145 *) ac_try_echo=$ac_try;;
9147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9148 (eval "$ac_try") 2>&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); }; }; then
9152 eval "$as_ac_Header=yes"
9154 echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.$ac_ext >&5
9157 eval "$as_ac_Header=no"
9160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9162 ac_res=`eval echo '${'$as_ac_Header'}'`
9163 { echo "$as_me:$LINENO: result: $ac_res" >&5
9164 echo "${ECHO_T}$ac_res" >&6; }
9165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9166 cat >>confdefs.h <<_ACEOF
9167 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9176 for ac_header in linux/capi.h
9178 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9179 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9182 echo $ECHO_N "(cached) $ECHO_C" >&6
9184 cat >conftest.$ac_ext <<_ACEOF
9187 cat confdefs.h >>conftest.$ac_ext
9188 cat >>conftest.$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9192 #include <$ac_header>
9194 rm -f conftest.$ac_objext
9195 if { (ac_try="$ac_compile"
9197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9198 *) ac_try_echo
=$ac_try;;
9200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9201 (eval "$ac_compile") 2>conftest.er1
9203 grep -v '^ *+' conftest.er1
>conftest.err
9205 cat conftest.err
>&5
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); } &&
9208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9209 { (case "(($ac_try" in
9210 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9211 *) ac_try_echo=$ac_try;;
9213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9214 (eval "$ac_try") 2>&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); }; } &&
9218 { ac_try='test -s conftest.$ac_objext'
9219 { (case "(($ac_try" in
9220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9221 *) ac_try_echo
=$ac_try;;
9223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9224 (eval "$ac_try") 2>&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); }; }; then
9228 eval "$as_ac_Header=yes"
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.
$ac_ext >&5
9233 eval "$as_ac_Header=no"
9236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9238 ac_res
=`eval echo '${'$as_ac_Header'}'`
9239 { echo "$as_me:$LINENO: result: $ac_res" >&5
9240 echo "${ECHO_T}$ac_res" >&6; }
9241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9242 cat >>confdefs.h
<<_ACEOF
9243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9252 if test "$have_x" = "yes"
9255 ac_save_CPPFLAGS
="$CPPFLAGS"
9256 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9267 for ac_header
in X11
/Xlib.h \
9270 X11
/extensions
/shape.h \
9271 X11
/extensions
/XInput.h \
9272 X11
/extensions
/XShm.h \
9273 X11
/extensions
/Xrandr.h \
9274 X11
/extensions
/Xrender.h \
9275 X11
/extensions
/xf86vmode.h
9277 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9278 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9280 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9281 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 cat >conftest.
$ac_ext <<_ACEOF
9286 cat confdefs.h
>>conftest.
$ac_ext
9287 cat >>conftest.
$ac_ext <<_ACEOF
9288 /* end confdefs.h. */
9289 #ifdef HAVE_X11_XLIB_H
9290 # include <X11/Xlib.h>
9292 #ifdef HAVE_X11_XUTIL_H
9293 # include <X11/Xutil.h>
9296 #include <$ac_header>
9298 rm -f conftest.
$ac_objext
9299 if { (ac_try
="$ac_compile"
9301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9302 *) ac_try_echo=$ac_try;;
9304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9305 (eval "$ac_compile") 2>conftest.er1
9307 grep -v '^ *+' conftest.er1 >conftest.err
9309 cat conftest.err >&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 (exit $ac_status); } &&
9312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9313 { (case "(($ac_try" in
9314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9315 *) ac_try_echo
=$ac_try;;
9317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9318 (eval "$ac_try") 2>&5
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); }; } &&
9322 { ac_try
='test -s conftest.$ac_objext'
9323 { (case "(($ac_try" in
9324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9325 *) ac_try_echo=$ac_try;;
9327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9328 (eval "$ac_try") 2>&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); }; }; then
9332 eval "$as_ac_Header=yes"
9334 echo "$as_me: failed program was:" >&5
9335 sed 's/^/| /' conftest.$ac_ext >&5
9337 eval "$as_ac_Header=no"
9340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9342 ac_res=`eval echo '${'$as_ac_Header'}'`
9343 { echo "$as_me:$LINENO: result: $ac_res" >&5
9344 echo "${ECHO_T}$ac_res" >&6; }
9345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9346 cat >>confdefs.h <<_ACEOF
9347 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9355 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9357 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9358 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9359 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9362 ac_check_lib_save_LIBS=$LIBS
9363 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9364 cat >conftest.$ac_ext <<_ACEOF
9367 cat confdefs.h >>conftest.$ac_ext
9368 cat >>conftest.$ac_ext <<_ACEOF
9369 /* end confdefs.h. */
9371 /* Override any GCC internal prototype to avoid an error.
9372 Use char because int might match the return type of a GCC
9373 builtin and then its argument prototype would still apply. */
9377 char XkbQueryExtension ();
9381 return XkbQueryExtension ();
9386 rm -f conftest.$ac_objext conftest$ac_exeext
9387 if { (ac_try="$ac_link"
9389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9390 *) ac_try_echo
=$ac_try;;
9392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9393 (eval "$ac_link") 2>conftest.er1
9395 grep -v '^ *+' conftest.er1
>conftest.err
9397 cat conftest.err
>&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); } &&
9400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9401 { (case "(($ac_try" in
9402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9403 *) ac_try_echo=$ac_try;;
9405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9406 (eval "$ac_try") 2>&5
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); }; } &&
9410 { ac_try='test -s conftest$ac_exeext'
9411 { (case "(($ac_try" in
9412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9413 *) ac_try_echo
=$ac_try;;
9415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9416 (eval "$ac_try") 2>&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); }; }; then
9420 ac_cv_lib_X11_XkbQueryExtension
=yes
9422 echo "$as_me: failed program was:" >&5
9423 sed 's/^/| /' conftest.
$ac_ext >&5
9425 ac_cv_lib_X11_XkbQueryExtension
=no
9428 rm -f core conftest.err conftest.
$ac_objext \
9429 conftest
$ac_exeext conftest.
$ac_ext
9430 LIBS
=$ac_check_lib_save_LIBS
9432 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9433 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9434 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9436 cat >>confdefs.h
<<\_ACEOF
9444 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9446 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9447 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9448 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9449 echo $ECHO_N "(cached) $ECHO_C" >&6
9451 ac_check_lib_save_LIBS
=$LIBS
9452 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9453 cat >conftest.
$ac_ext <<_ACEOF
9456 cat confdefs.h
>>conftest.
$ac_ext
9457 cat >>conftest.
$ac_ext <<_ACEOF
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9466 char XShmQueryExtension ();
9470 return XShmQueryExtension ();
9475 rm -f conftest.
$ac_objext conftest
$ac_exeext
9476 if { (ac_try
="$ac_link"
9478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9479 *) ac_try_echo=$ac_try;;
9481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9482 (eval "$ac_link") 2>conftest.er1
9484 grep -v '^ *+' conftest.er1 >conftest.err
9486 cat conftest.err >&5
9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488 (exit $ac_status); } &&
9489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9490 { (case "(($ac_try" in
9491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9492 *) ac_try_echo
=$ac_try;;
9494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9495 (eval "$ac_try") 2>&5
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; } &&
9499 { ac_try
='test -s conftest$ac_exeext'
9500 { (case "(($ac_try" in
9501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9502 *) ac_try_echo=$ac_try;;
9504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9505 (eval "$ac_try") 2>&5
9507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508 (exit $ac_status); }; }; then
9509 ac_cv_lib_Xext_XShmQueryExtension=yes
9511 echo "$as_me: failed program was:" >&5
9512 sed 's/^/| /' conftest.$ac_ext >&5
9514 ac_cv_lib_Xext_XShmQueryExtension=no
9517 rm -f core conftest.err conftest.$ac_objext \
9518 conftest$ac_exeext conftest.$ac_ext
9519 LIBS=$ac_check_lib_save_LIBS
9521 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9522 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9523 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9525 cat >>confdefs.h <<\_ACEOF
9526 #define HAVE_LIBXXSHM 1
9533 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9535 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9536 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9537 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9538 echo $ECHO_N "(cached) $ECHO_C" >&6
9540 ac_check_lib_save_LIBS=$LIBS
9541 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9542 cat >conftest.$ac_ext <<_ACEOF
9545 cat confdefs.h >>conftest.$ac_ext
9546 cat >>conftest.$ac_ext <<_ACEOF
9547 /* end confdefs.h. */
9549 /* Override any GCC internal prototype to avoid an error.
9550 Use char because int might match the return type of a GCC
9551 builtin and then its argument prototype would still apply. */
9555 char XShapeQueryExtension ();
9559 return XShapeQueryExtension ();
9564 rm -f conftest.$ac_objext conftest$ac_exeext
9565 if { (ac_try="$ac_link"
9567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9568 *) ac_try_echo
=$ac_try;;
9570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9571 (eval "$ac_link") 2>conftest.er1
9573 grep -v '^ *+' conftest.er1
>conftest.err
9575 cat conftest.err
>&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); } &&
9578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9579 { (case "(($ac_try" in
9580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9581 *) ac_try_echo=$ac_try;;
9583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9584 (eval "$ac_try") 2>&5
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }; } &&
9588 { ac_try='test -s conftest$ac_exeext'
9589 { (case "(($ac_try" in
9590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9591 *) ac_try_echo
=$ac_try;;
9593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9594 (eval "$ac_try") 2>&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); }; }; then
9598 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9600 echo "$as_me: failed program was:" >&5
9601 sed 's/^/| /' conftest.
$ac_ext >&5
9603 ac_cv_lib_Xext_XShapeQueryExtension
=no
9606 rm -f core conftest.err conftest.
$ac_objext \
9607 conftest
$ac_exeext conftest.
$ac_ext
9608 LIBS
=$ac_check_lib_save_LIBS
9610 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9611 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9612 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9614 cat >>confdefs.h
<<\_ACEOF
9615 #define HAVE_LIBXSHAPE 1
9622 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9624 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9625 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9626 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9627 echo $ECHO_N "(cached) $ECHO_C" >&6
9629 ac_check_lib_save_LIBS
=$LIBS
9630 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9631 cat >conftest.
$ac_ext <<_ACEOF
9634 cat confdefs.h
>>conftest.
$ac_ext
9635 cat >>conftest.
$ac_ext <<_ACEOF
9636 /* end confdefs.h. */
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9644 char XF86VidModeQueryExtension ();
9648 return XF86VidModeQueryExtension ();
9653 rm -f conftest.
$ac_objext conftest
$ac_exeext
9654 if { (ac_try
="$ac_link"
9656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9657 *) ac_try_echo=$ac_try;;
9659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9660 (eval "$ac_link") 2>conftest.er1
9662 grep -v '^ *+' conftest.er1 >conftest.err
9664 cat conftest.err >&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); } &&
9667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9668 { (case "(($ac_try" in
9669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9670 *) ac_try_echo
=$ac_try;;
9672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9673 (eval "$ac_try") 2>&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); }; } &&
9677 { ac_try
='test -s conftest$ac_exeext'
9678 { (case "(($ac_try" in
9679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9680 *) ac_try_echo=$ac_try;;
9682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9683 (eval "$ac_try") 2>&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); }; }; then
9687 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9689 echo "$as_me: failed program was:" >&5
9690 sed 's/^/| /' conftest.$ac_ext >&5
9692 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9695 rm -f core conftest.err conftest.$ac_objext \
9696 conftest$ac_exeext conftest.$ac_ext
9697 LIBS=$ac_check_lib_save_LIBS
9699 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9700 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9701 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9703 cat >>confdefs.h <<\_ACEOF
9704 #define HAVE_LIBXXF86VM 1
9707 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9713 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9715 cat >conftest.$ac_ext <<_ACEOF
9718 cat confdefs.h >>conftest.$ac_ext
9719 cat >>conftest.$ac_ext <<_ACEOF
9720 /* end confdefs.h. */
9721 #include <X11/Xlib.h>
9722 #include <X11/extensions/Xrandr.h>
9726 static typeof(XRRSetScreenConfigAndRate) * func;
9731 rm -f conftest.$ac_objext
9732 if { (ac_try="$ac_compile"
9734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9735 *) ac_try_echo
=$ac_try;;
9737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9738 (eval "$ac_compile") 2>conftest.er1
9740 grep -v '^ *+' conftest.er1
>conftest.err
9742 cat conftest.err
>&5
9743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744 (exit $ac_status); } &&
9745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9746 { (case "(($ac_try" in
9747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9748 *) ac_try_echo=$ac_try;;
9750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9751 (eval "$ac_try") 2>&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); }; } &&
9755 { ac_try='test -s conftest.$ac_objext'
9756 { (case "(($ac_try" in
9757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9758 *) ac_try_echo
=$ac_try;;
9760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9761 (eval "$ac_try") 2>&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); }; }; then
9766 cat >>confdefs.h
<<\_ACEOF
9767 #define HAVE_LIBXRANDR 1
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.
$ac_ext >&5
9777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9780 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9782 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9783 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9784 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
9787 ac_check_lib_save_LIBS
=$LIBS
9788 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9789 cat >conftest.
$ac_ext <<_ACEOF
9792 cat confdefs.h
>>conftest.
$ac_ext
9793 cat >>conftest.
$ac_ext <<_ACEOF
9794 /* end confdefs.h. */
9796 /* Override any GCC internal prototype to avoid an error.
9797 Use char because int might match the return type of a GCC
9798 builtin and then its argument prototype would still apply. */
9802 char XRenderSetPictureTransform ();
9806 return XRenderSetPictureTransform ();
9811 rm -f conftest.
$ac_objext conftest
$ac_exeext
9812 if { (ac_try
="$ac_link"
9814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9815 *) ac_try_echo=$ac_try;;
9817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9818 (eval "$ac_link") 2>conftest.er1
9820 grep -v '^ *+' conftest.er1 >conftest.err
9822 cat conftest.err >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); } &&
9825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9826 { (case "(($ac_try" in
9827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9828 *) ac_try_echo
=$ac_try;;
9830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9831 (eval "$ac_try") 2>&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; } &&
9835 { ac_try
='test -s conftest$ac_exeext'
9836 { (case "(($ac_try" in
9837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9838 *) ac_try_echo=$ac_try;;
9840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9841 (eval "$ac_try") 2>&5
9843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9844 (exit $ac_status); }; }; then
9845 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9847 echo "$as_me: failed program was:" >&5
9848 sed 's/^/| /' conftest.$ac_ext >&5
9850 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9853 rm -f core conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 LIBS=$ac_check_lib_save_LIBS
9857 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9858 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9859 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9861 cat >>confdefs.h <<\_ACEOF
9862 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9869 if test "x$with_opengl" != "xno"
9875 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9877 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9881 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 cat >conftest.$ac_ext <<_ACEOF
9886 cat confdefs.h >>conftest.$ac_ext
9887 cat >>conftest.$ac_ext <<_ACEOF
9888 /* end confdefs.h. */
9889 #ifdef HAVE_GL_GLX_H
9890 # include <GL/glx.h>
9893 #include <$ac_header>
9895 rm -f conftest.$ac_objext
9896 if { (ac_try="$ac_compile"
9898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9899 *) ac_try_echo
=$ac_try;;
9901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9902 (eval "$ac_compile") 2>conftest.er1
9904 grep -v '^ *+' conftest.er1
>conftest.err
9906 cat conftest.err
>&5
9907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908 (exit $ac_status); } &&
9909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9910 { (case "(($ac_try" in
9911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9912 *) ac_try_echo=$ac_try;;
9914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9915 (eval "$ac_try") 2>&5
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 (exit $ac_status); }; } &&
9919 { ac_try='test -s conftest.$ac_objext'
9920 { (case "(($ac_try" in
9921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9922 *) ac_try_echo
=$ac_try;;
9924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9925 (eval "$ac_try") 2>&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; }; then
9929 eval "$as_ac_Header=yes"
9931 echo "$as_me: failed program was:" >&5
9932 sed 's/^/| /' conftest.
$ac_ext >&5
9934 eval "$as_ac_Header=no"
9937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9939 ac_res
=`eval echo '${'$as_ac_Header'}'`
9940 { echo "$as_me:$LINENO: result: $ac_res" >&5
9941 echo "${ECHO_T}$ac_res" >&6; }
9942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9943 cat >>confdefs.h
<<_ACEOF
9944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9951 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9953 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9954 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9955 if test "${wine_cv_opengl_version_OK+set}" = set; then
9956 echo $ECHO_N "(cached) $ECHO_C" >&6
9958 cat >conftest.
$ac_ext <<_ACEOF
9961 cat confdefs.h
>>conftest.
$ac_ext
9962 cat >>conftest.
$ac_ext <<_ACEOF
9963 /* end confdefs.h. */
9968 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9973 rm -f conftest.
$ac_objext
9974 if { (ac_try
="$ac_compile"
9976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9977 *) ac_try_echo=$ac_try;;
9979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9980 (eval "$ac_compile") 2>conftest.er1
9982 grep -v '^ *+' conftest.er1 >conftest.err
9984 cat conftest.err >&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); } &&
9987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9988 { (case "(($ac_try" in
9989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9990 *) ac_try_echo
=$ac_try;;
9992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9993 (eval "$ac_try") 2>&5
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); }; } &&
9997 { ac_try
='test -s conftest.$ac_objext'
9998 { (case "(($ac_try" in
9999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10000 *) ac_try_echo=$ac_try;;
10002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10003 (eval "$ac_try") 2>&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); }; }; then
10007 wine_cv_opengl_version_OK="yes"
10009 echo "$as_me: failed program was:" >&5
10010 sed 's/^/| /' conftest.$ac_ext >&5
10012 wine_cv_opengl_version_OK="no"
10016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10019 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
10020 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
10022 if test "$wine_cv_opengl_version_OK" = "yes"
10024 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
10025 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
10026 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
10027 echo $ECHO_N "(cached) $ECHO_C" >&6
10029 ac_check_lib_save_LIBS=$LIBS
10030 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10031 cat >conftest.$ac_ext <<_ACEOF
10034 cat confdefs.h >>conftest.$ac_ext
10035 cat >>conftest.$ac_ext <<_ACEOF
10036 /* end confdefs.h. */
10038 /* Override any GCC internal prototype to avoid an error.
10039 Use char because int might match the return type of a GCC
10040 builtin and then its argument prototype would still apply. */
10044 char glXCreateContext ();
10048 return glXCreateContext ();
10053 rm -f conftest.$ac_objext conftest$ac_exeext
10054 if { (ac_try="$ac_link"
10055 case "(($ac_try" in
10056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10057 *) ac_try_echo
=$ac_try;;
10059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10060 (eval "$ac_link") 2>conftest.er1
10062 grep -v '^ *+' conftest.er1
>conftest.err
10064 cat conftest.err
>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); } &&
10067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10068 { (case "(($ac_try" in
10069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10070 *) ac_try_echo=$ac_try;;
10072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10073 (eval "$ac_try") 2>&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); }; } &&
10077 { ac_try='test -s conftest$ac_exeext'
10078 { (case "(($ac_try" in
10079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10080 *) ac_try_echo
=$ac_try;;
10082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10083 (eval "$ac_try") 2>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; }; then
10087 ac_cv_lib_GL_glXCreateContext
=yes
10089 echo "$as_me: failed program was:" >&5
10090 sed 's/^/| /' conftest.
$ac_ext >&5
10092 ac_cv_lib_GL_glXCreateContext
=no
10095 rm -f core conftest.err conftest.
$ac_objext \
10096 conftest
$ac_exeext conftest.
$ac_ext
10097 LIBS
=$ac_check_lib_save_LIBS
10099 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
10100 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
10101 if test $ac_cv_lib_GL_glXCreateContext = yes; then
10107 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
10109 OPENGLFILES
='$(OPENGLFILES)'
10111 cat >>confdefs.h
<<\_ACEOF
10112 #define HAVE_OPENGL 1
10116 if test -f /usr
/X11R
6/lib
/libGL.a
10118 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
10119 This prevents linking to OpenGL. Delete the file and restart configure." >&5
10120 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
10121 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
10122 { (exit 1); exit 1; }; }
10126 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10127 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10128 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10129 echo $ECHO_N "(cached) $ECHO_C" >&6
10131 ac_check_lib_save_LIBS
=$LIBS
10132 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_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. */
10151 return gluLookAt ();
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_GLU_gluLookAt=yes
10192 echo "$as_me: failed program was:" >&5
10193 sed 's/^/| /' conftest.$ac_ext >&5
10195 ac_cv_lib_GLU_gluLookAt=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_GLU_gluLookAt" >&5
10203 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10204 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10205 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10206 GLU32FILES='$(GLU32FILES)'
10212 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
10213 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
10214 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
10215 echo $ECHO_N "(cached) $ECHO_C" >&6
10217 ac_check_lib_save_LIBS=$LIBS
10218 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
10219 cat >conftest.$ac_ext <<_ACEOF
10222 cat confdefs.h >>conftest.$ac_ext
10223 cat >>conftest.$ac_ext <<_ACEOF
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10232 char glutMainLoop ();
10236 return glutMainLoop ();
10241 rm -f conftest.$ac_objext conftest$ac_exeext
10242 if { (ac_try="$ac_link"
10243 case "(($ac_try" in
10244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10245 *) ac_try_echo
=$ac_try;;
10247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10248 (eval "$ac_link") 2>conftest.er1
10250 grep -v '^ *+' conftest.er1
>conftest.err
10252 cat conftest.err
>&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); } &&
10255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10256 { (case "(($ac_try" in
10257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_try") 2>&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); }; } &&
10265 { ac_try='test -s conftest$ac_exeext'
10266 { (case "(($ac_try" in
10267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10268 *) ac_try_echo
=$ac_try;;
10270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10271 (eval "$ac_try") 2>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; }; then
10275 ac_cv_lib_glut_glutMainLoop
=yes
10277 echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.
$ac_ext >&5
10280 ac_cv_lib_glut_glutMainLoop
=no
10283 rm -f core conftest.err conftest.
$ac_objext \
10284 conftest
$ac_exeext conftest.
$ac_ext
10285 LIBS
=$ac_check_lib_save_LIBS
10287 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
10288 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
10289 if test $ac_cv_lib_glut_glutMainLoop = yes; then
10290 GLUT_LIBS
="-lglut -lXmu -lXi"
10292 GLUT32FILES
='$(GLUT32FILES)'
10302 for ac_header
in audio
/audiolib.h
10304 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10305 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10306 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10308 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10311 ac_res
=`eval echo '${'$as_ac_Header'}'`
10312 { echo "$as_me:$LINENO: result: $ac_res" >&5
10313 echo "${ECHO_T}$ac_res" >&6; }
10315 # Is the header compilable?
10316 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10318 cat >conftest.
$ac_ext <<_ACEOF
10321 cat confdefs.h
>>conftest.
$ac_ext
10322 cat >>conftest.
$ac_ext <<_ACEOF
10323 /* end confdefs.h. */
10324 $ac_includes_default
10325 #include <$ac_header>
10327 rm -f conftest.
$ac_objext
10328 if { (ac_try
="$ac_compile"
10329 case "(($ac_try" in
10330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10331 *) ac_try_echo=$ac_try;;
10333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10334 (eval "$ac_compile") 2>conftest.er1
10336 grep -v '^ *+' conftest.er1 >conftest.err
10338 cat conftest.err >&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); } &&
10341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10342 { (case "(($ac_try" in
10343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10344 *) ac_try_echo
=$ac_try;;
10346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10347 (eval "$ac_try") 2>&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try
='test -s conftest.$ac_objext'
10352 { (case "(($ac_try" in
10353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10354 *) ac_try_echo=$ac_try;;
10356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10357 (eval "$ac_try") 2>&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); }; }; then
10361 ac_header_compiler=yes
10363 echo "$as_me: failed program was:" >&5
10364 sed 's/^/| /' conftest.$ac_ext >&5
10366 ac_header_compiler=no
10369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10370 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10371 echo "${ECHO_T}$ac_header_compiler" >&6; }
10373 # Is the header present?
10374 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10376 cat >conftest.$ac_ext <<_ACEOF
10379 cat confdefs.h >>conftest.$ac_ext
10380 cat >>conftest.$ac_ext <<_ACEOF
10381 /* end confdefs.h. */
10382 #include <$ac_header>
10384 if { (ac_try="$ac_cpp conftest.$ac_ext"
10385 case "(($ac_try" in
10386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10387 *) ac_try_echo
=$ac_try;;
10389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10392 grep -v '^ *+' conftest.er1
>conftest.err
10394 cat conftest.err
>&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } >/dev
/null
; then
10397 if test -s conftest.err
; then
10398 ac_cpp_err
=$ac_c_preproc_warn_flag
10399 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10406 if test -z "$ac_cpp_err"; then
10407 ac_header_preproc
=yes
10409 echo "$as_me: failed program was:" >&5
10410 sed 's/^/| /' conftest.
$ac_ext >&5
10412 ac_header_preproc
=no
10415 rm -f conftest.err conftest.
$ac_ext
10416 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10417 echo "${ECHO_T}$ac_header_preproc" >&6; }
10419 # So? What about this header?
10420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10426 ac_header_preproc
=yes
10429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10433 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10435 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10436 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10439 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10442 ## ------------------------------------ ##
10443 ## Report this to wine-devel@winehq.org ##
10444 ## ------------------------------------ ##
10446 ) |
sed "s/^/$as_me: WARNING: /" >&2
10449 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10451 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10452 echo $ECHO_N "(cached) $ECHO_C" >&6
10454 eval "$as_ac_Header=\$ac_header_preproc"
10456 ac_res
=`eval echo '${'$as_ac_Header'}'`
10457 { echo "$as_me:$LINENO: result: $ac_res" >&5
10458 echo "${ECHO_T}$ac_res" >&6; }
10461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10462 cat >>confdefs.h
<<_ACEOF
10463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10466 for ac_header
in audio
/soundlib.h
10468 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10471 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10474 cat >conftest.
$ac_ext <<_ACEOF
10477 cat confdefs.h
>>conftest.
$ac_ext
10478 cat >>conftest.
$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10480 #include <audio/audiolib.h>
10482 #include <$ac_header>
10484 rm -f conftest.
$ac_objext
10485 if { (ac_try
="$ac_compile"
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_compile") 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_objext'
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 eval "$as_ac_Header=yes"
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.$ac_ext >&5
10523 eval "$as_ac_Header=no"
10526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10528 ac_res=`eval echo '${'$as_ac_Header'}'`
10529 { echo "$as_me:$LINENO: result: $ac_res" >&5
10530 echo "${ECHO_T}$ac_res" >&6; }
10531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10532 cat >>confdefs.h <<_ACEOF
10533 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10540 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10541 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10542 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10543 echo $ECHO_N "(cached) $ECHO_C" >&6
10545 ac_check_lib_save_LIBS=$LIBS
10546 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10547 cat >conftest.$ac_ext <<_ACEOF
10550 cat confdefs.h >>conftest.$ac_ext
10551 cat >>conftest.$ac_ext <<_ACEOF
10552 /* end confdefs.h. */
10554 /* Override any GCC internal prototype to avoid an error.
10555 Use char because int might match the return type of a GCC
10556 builtin and then its argument prototype would still apply. */
10560 char AuCreateFlow ();
10564 return AuCreateFlow ();
10569 rm -f conftest.$ac_objext conftest$ac_exeext
10570 if { (ac_try="$ac_link"
10571 case "(($ac_try" in
10572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10573 *) ac_try_echo
=$ac_try;;
10575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10576 (eval "$ac_link") 2>conftest.er1
10578 grep -v '^ *+' conftest.er1
>conftest.err
10580 cat conftest.err
>&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); } &&
10583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10584 { (case "(($ac_try" in
10585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10586 *) ac_try_echo=$ac_try;;
10588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10589 (eval "$ac_try") 2>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; } &&
10593 { ac_try='test -s conftest$ac_exeext'
10594 { (case "(($ac_try" in
10595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10596 *) ac_try_echo
=$ac_try;;
10598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10599 (eval "$ac_try") 2>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; }; then
10603 ac_cv_lib_audio_AuCreateFlow
=yes
10605 echo "$as_me: failed program was:" >&5
10606 sed 's/^/| /' conftest.
$ac_ext >&5
10608 ac_cv_lib_audio_AuCreateFlow
=no
10611 rm -f core conftest.err conftest.
$ac_objext \
10612 conftest
$ac_exeext conftest.
$ac_ext
10613 LIBS
=$ac_check_lib_save_LIBS
10615 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10616 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10617 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10619 cat >>confdefs.h
<<\_ACEOF
10623 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10631 CPPFLAGS
="$ac_save_CPPFLAGS"
10648 if test "$PKG_CONFIG" != "false"
10650 ac_save_CPPFLAGS
="$CPPFLAGS"
10651 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10652 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10653 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
10655 for ac_header
in libxml
/parser.h
10657 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10658 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10661 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 ac_res
=`eval echo '${'$as_ac_Header'}'`
10665 { echo "$as_me:$LINENO: result: $ac_res" >&5
10666 echo "${ECHO_T}$ac_res" >&6; }
10668 # Is the header compilable?
10669 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10670 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10671 cat >conftest.
$ac_ext <<_ACEOF
10674 cat confdefs.h
>>conftest.
$ac_ext
10675 cat >>conftest.
$ac_ext <<_ACEOF
10676 /* end confdefs.h. */
10677 $ac_includes_default
10678 #include <$ac_header>
10680 rm -f conftest.
$ac_objext
10681 if { (ac_try
="$ac_compile"
10682 case "(($ac_try" in
10683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10684 *) ac_try_echo=$ac_try;;
10686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10687 (eval "$ac_compile") 2>conftest.er1
10689 grep -v '^ *+' conftest.er1 >conftest.err
10691 cat conftest.err >&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); } &&
10694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10695 { (case "(($ac_try" in
10696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10697 *) ac_try_echo
=$ac_try;;
10699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10700 (eval "$ac_try") 2>&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); }; } &&
10704 { ac_try
='test -s conftest.$ac_objext'
10705 { (case "(($ac_try" in
10706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10707 *) ac_try_echo=$ac_try;;
10709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10710 (eval "$ac_try") 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; }; then
10714 ac_header_compiler=yes
10716 echo "$as_me: failed program was:" >&5
10717 sed 's/^/| /' conftest.$ac_ext >&5
10719 ac_header_compiler=no
10722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10723 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10724 echo "${ECHO_T}$ac_header_compiler" >&6; }
10726 # Is the header present?
10727 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10729 cat >conftest.$ac_ext <<_ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h. */
10735 #include <$ac_header>
10737 if { (ac_try="$ac_cpp conftest.$ac_ext"
10738 case "(($ac_try" in
10739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10740 *) ac_try_echo
=$ac_try;;
10742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10745 grep -v '^ *+' conftest.er1
>conftest.err
10747 cat conftest.err
>&5
10748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749 (exit $ac_status); } >/dev
/null
; then
10750 if test -s conftest.err
; then
10751 ac_cpp_err
=$ac_c_preproc_warn_flag
10752 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10759 if test -z "$ac_cpp_err"; then
10760 ac_header_preproc
=yes
10762 echo "$as_me: failed program was:" >&5
10763 sed 's/^/| /' conftest.
$ac_ext >&5
10765 ac_header_preproc
=no
10768 rm -f conftest.err conftest.
$ac_ext
10769 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10770 echo "${ECHO_T}$ac_header_preproc" >&6; }
10772 # So? What about this header?
10773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10779 ac_header_preproc
=yes
10782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10795 ## ------------------------------------ ##
10796 ## Report this to wine-devel@winehq.org ##
10797 ## ------------------------------------ ##
10799 ) |
sed "s/^/$as_me: WARNING: /" >&2
10802 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10804 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 eval "$as_ac_Header=\$ac_header_preproc"
10809 ac_res
=`eval echo '${'$as_ac_Header'}'`
10810 { echo "$as_me:$LINENO: result: $ac_res" >&5
10811 echo "${ECHO_T}$ac_res" >&6; }
10814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10815 cat >>confdefs.h
<<_ACEOF
10816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10818 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10819 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10820 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10823 ac_check_lib_save_LIBS
=$LIBS
10824 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10825 cat >conftest.
$ac_ext <<_ACEOF
10828 cat confdefs.h
>>conftest.
$ac_ext
10829 cat >>conftest.
$ac_ext <<_ACEOF
10830 /* end confdefs.h. */
10832 /* Override any GCC internal prototype to avoid an error.
10833 Use char because int might match the return type of a GCC
10834 builtin and then its argument prototype would still apply. */
10838 char xmlParseMemory ();
10842 return xmlParseMemory ();
10847 rm -f conftest.
$ac_objext conftest
$ac_exeext
10848 if { (ac_try
="$ac_link"
10849 case "(($ac_try" in
10850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10851 *) ac_try_echo=$ac_try;;
10853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10854 (eval "$ac_link") 2>conftest.er1
10856 grep -v '^ *+' conftest.er1 >conftest.err
10858 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } &&
10861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10862 { (case "(($ac_try" in
10863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10864 *) ac_try_echo
=$ac_try;;
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_try") 2>&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); }; } &&
10871 { ac_try
='test -s conftest$ac_exeext'
10872 { (case "(($ac_try" in
10873 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10874 *) ac_try_echo=$ac_try;;
10876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10877 (eval "$ac_try") 2>&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); }; }; then
10881 ac_cv_lib_xml2_xmlParseMemory=yes
10883 echo "$as_me: failed program was:" >&5
10884 sed 's/^/| /' conftest.$ac_ext >&5
10886 ac_cv_lib_xml2_xmlParseMemory=no
10889 rm -f core conftest.err conftest.$ac_objext \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_lib_save_LIBS
10893 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10894 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10895 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10897 cat >>confdefs.h <<\_ACEOF
10898 #define HAVE_LIBXML2 1
10901 XML2LIBS="$ac_xml_libs"
10902 XML2INCL="$ac_xml_cflags"
10905 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10906 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10907 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10908 echo $ECHO_N "(cached) $ECHO_C" >&6
10910 ac_check_lib_save_LIBS=$LIBS
10911 LIBS="-lxml2 $ac_xml_libs $LIBS"
10912 cat >conftest.$ac_ext <<_ACEOF
10915 cat confdefs.h >>conftest.$ac_ext
10916 cat >>conftest.$ac_ext <<_ACEOF
10917 /* end confdefs.h. */
10919 /* Override any GCC internal prototype to avoid an error.
10920 Use char because int might match the return type of a GCC
10921 builtin and then its argument prototype would still apply. */
10925 char xmlReadMemory ();
10929 return xmlReadMemory ();
10934 rm -f conftest.$ac_objext conftest$ac_exeext
10935 if { (ac_try="$ac_link"
10936 case "(($ac_try" in
10937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10938 *) ac_try_echo
=$ac_try;;
10940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10941 (eval "$ac_link") 2>conftest.er1
10943 grep -v '^ *+' conftest.er1
>conftest.err
10945 cat conftest.err
>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } &&
10948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10949 { (case "(($ac_try" in
10950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10951 *) ac_try_echo=$ac_try;;
10953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10954 (eval "$ac_try") 2>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); }; } &&
10958 { ac_try='test -s conftest$ac_exeext'
10959 { (case "(($ac_try" in
10960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10961 *) ac_try_echo
=$ac_try;;
10963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10964 (eval "$ac_try") 2>&5
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 ac_cv_lib_xml2_xmlReadMemory
=yes
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.
$ac_ext >&5
10973 ac_cv_lib_xml2_xmlReadMemory
=no
10976 rm -f core conftest.err conftest.
$ac_objext \
10977 conftest
$ac_exeext conftest.
$ac_ext
10978 LIBS
=$ac_check_lib_save_LIBS
10980 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10981 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10982 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10984 cat >>confdefs.h
<<\_ACEOF
10985 #define HAVE_XMLREADMEMORY 1
10995 CPPFLAGS
="$ac_save_CPPFLAGS"
10996 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10997 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10998 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
11001 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11003 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11006 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11007 echo $ECHO_N "(cached) $ECHO_C" >&6
11009 cat >conftest.
$ac_ext <<_ACEOF
11012 cat confdefs.h
>>conftest.
$ac_ext
11013 cat >>conftest.
$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 #ifdef HAVE_LIBXSLT_PATTERN_H
11016 # include <libxslt/pattern.h>
11019 #include <$ac_header>
11021 rm -f conftest.
$ac_objext
11022 if { (ac_try
="$ac_compile"
11023 case "(($ac_try" in
11024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11025 *) ac_try_echo=$ac_try;;
11027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11028 (eval "$ac_compile") 2>conftest.er1
11030 grep -v '^ *+' conftest.er1 >conftest.err
11032 cat conftest.err >&5
11033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11034 (exit $ac_status); } &&
11035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11036 { (case "(($ac_try" in
11037 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11038 *) ac_try_echo
=$ac_try;;
11040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11041 (eval "$ac_try") 2>&5
11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); }; } &&
11045 { ac_try
='test -s conftest.$ac_objext'
11046 { (case "(($ac_try" in
11047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11048 *) ac_try_echo=$ac_try;;
11050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11051 (eval "$ac_try") 2>&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }; }; then
11055 eval "$as_ac_Header=yes"
11057 echo "$as_me: failed program was:" >&5
11058 sed 's/^/| /' conftest.$ac_ext >&5
11060 eval "$as_ac_Header=no"
11063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11065 ac_res=`eval echo '${'$as_ac_Header'}'`
11066 { echo "$as_me:$LINENO: result: $ac_res" >&5
11067 echo "${ECHO_T}$ac_res" >&6; }
11068 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11069 cat >>confdefs.h <<_ACEOF
11070 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11072 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11073 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11074 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11075 echo $ECHO_N "(cached) $ECHO_C" >&6
11077 ac_check_lib_save_LIBS=$LIBS
11078 LIBS="-lxslt $ac_xslt_libs $LIBS"
11079 cat >conftest.$ac_ext <<_ACEOF
11082 cat confdefs.h >>conftest.$ac_ext
11083 cat >>conftest.$ac_ext <<_ACEOF
11084 /* end confdefs.h. */
11086 /* Override any GCC internal prototype to avoid an error.
11087 Use char because int might match the return type of a GCC
11088 builtin and then its argument prototype would still apply. */
11092 char xsltCompilePattern ();
11096 return xsltCompilePattern ();
11101 rm -f conftest.$ac_objext conftest$ac_exeext
11102 if { (ac_try="$ac_link"
11103 case "(($ac_try" in
11104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11105 *) ac_try_echo
=$ac_try;;
11107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11108 (eval "$ac_link") 2>conftest.er1
11110 grep -v '^ *+' conftest.er1
>conftest.err
11112 cat conftest.err
>&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); } &&
11115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11116 { (case "(($ac_try" in
11117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11118 *) ac_try_echo=$ac_try;;
11120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11121 (eval "$ac_try") 2>&5
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; } &&
11125 { ac_try='test -s conftest$ac_exeext'
11126 { (case "(($ac_try" in
11127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11128 *) ac_try_echo
=$ac_try;;
11130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11131 (eval "$ac_try") 2>&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; }; then
11135 ac_cv_lib_xslt_xsltCompilePattern
=yes
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.
$ac_ext >&5
11140 ac_cv_lib_xslt_xsltCompilePattern
=no
11143 rm -f core conftest.err conftest.
$ac_objext \
11144 conftest
$ac_exeext conftest.
$ac_ext
11145 LIBS
=$ac_check_lib_save_LIBS
11147 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11148 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11149 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11151 cat >>confdefs.h
<<\_ACEOF
11152 #define HAVE_LIBXSLT 1
11155 XSLTLIBS
="$ac_xslt_libs"
11156 XSLTINCL
="$ac_xslt_cflags"
11164 CPPFLAGS
="$ac_save_CPPFLAGS"
11169 if test "$PKG_CONFIG" != "false"
11171 ac_save_CPPFLAGS
="$CPPFLAGS"
11172 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
11173 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11174 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
11177 for ac_header
in dbus
/dbus.h hal
/libhal.h
11179 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11180 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11181 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11183 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11184 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 ac_res
=`eval echo '${'$as_ac_Header'}'`
11187 { echo "$as_me:$LINENO: result: $ac_res" >&5
11188 echo "${ECHO_T}$ac_res" >&6; }
11190 # Is the header compilable?
11191 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11193 cat >conftest.
$ac_ext <<_ACEOF
11196 cat confdefs.h
>>conftest.
$ac_ext
11197 cat >>conftest.
$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11199 $ac_includes_default
11200 #include <$ac_header>
11202 rm -f conftest.
$ac_objext
11203 if { (ac_try
="$ac_compile"
11204 case "(($ac_try" in
11205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11206 *) ac_try_echo=$ac_try;;
11208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11209 (eval "$ac_compile") 2>conftest.er1
11211 grep -v '^ *+' conftest.er1 >conftest.err
11213 cat conftest.err >&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); } &&
11216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11217 { (case "(($ac_try" in
11218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11219 *) ac_try_echo
=$ac_try;;
11221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11222 (eval "$ac_try") 2>&5
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; } &&
11226 { ac_try
='test -s conftest.$ac_objext'
11227 { (case "(($ac_try" in
11228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11229 *) ac_try_echo=$ac_try;;
11231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11232 (eval "$ac_try") 2>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); }; }; then
11236 ac_header_compiler=yes
11238 echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.$ac_ext >&5
11241 ac_header_compiler=no
11244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11245 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11246 echo "${ECHO_T}$ac_header_compiler" >&6; }
11248 # Is the header present?
11249 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11251 cat >conftest.$ac_ext <<_ACEOF
11254 cat confdefs.h >>conftest.$ac_ext
11255 cat >>conftest.$ac_ext <<_ACEOF
11256 /* end confdefs.h. */
11257 #include <$ac_header>
11259 if { (ac_try="$ac_cpp conftest.$ac_ext"
11260 case "(($ac_try" in
11261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11262 *) ac_try_echo
=$ac_try;;
11264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11267 grep -v '^ *+' conftest.er1
>conftest.err
11269 cat conftest.err
>&5
11270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); } >/dev
/null
; then
11272 if test -s conftest.err
; then
11273 ac_cpp_err
=$ac_c_preproc_warn_flag
11274 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11281 if test -z "$ac_cpp_err"; then
11282 ac_header_preproc
=yes
11284 echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.
$ac_ext >&5
11287 ac_header_preproc
=no
11290 rm -f conftest.err conftest.
$ac_ext
11291 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11292 echo "${ECHO_T}$ac_header_preproc" >&6; }
11294 # So? What about this header?
11295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11301 ac_header_preproc
=yes
11304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11317 ## ------------------------------------ ##
11318 ## Report this to wine-devel@winehq.org ##
11319 ## ------------------------------------ ##
11321 ) |
sed "s/^/$as_me: WARNING: /" >&2
11324 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11326 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11327 echo $ECHO_N "(cached) $ECHO_C" >&6
11329 eval "$as_ac_Header=\$ac_header_preproc"
11331 ac_res
=`eval echo '${'$as_ac_Header'}'`
11332 { echo "$as_me:$LINENO: result: $ac_res" >&5
11333 echo "${ECHO_T}$ac_res" >&6; }
11336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11337 cat >>confdefs.h
<<_ACEOF
11338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11345 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11347 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
11348 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
11349 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
11350 echo $ECHO_N "(cached) $ECHO_C" >&6
11352 ac_check_lib_save_LIBS
=$LIBS
11354 cat >conftest.
$ac_ext <<_ACEOF
11357 cat confdefs.h
>>conftest.
$ac_ext
11358 cat >>conftest.
$ac_ext <<_ACEOF
11359 /* end confdefs.h. */
11361 /* Override any GCC internal prototype to avoid an error.
11362 Use char because int might match the return type of a GCC
11363 builtin and then its argument prototype would still apply. */
11367 char libhal_ctx_new ();
11371 return libhal_ctx_new ();
11376 rm -f conftest.
$ac_objext conftest
$ac_exeext
11377 if { (ac_try
="$ac_link"
11378 case "(($ac_try" in
11379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11380 *) ac_try_echo=$ac_try;;
11382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11383 (eval "$ac_link") 2>conftest.er1
11385 grep -v '^ *+' conftest.er1 >conftest.err
11387 cat conftest.err >&5
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); } &&
11390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11391 { (case "(($ac_try" in
11392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11393 *) ac_try_echo
=$ac_try;;
11395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11396 (eval "$ac_try") 2>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; } &&
11400 { ac_try
='test -s conftest$ac_exeext'
11401 { (case "(($ac_try" in
11402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11403 *) ac_try_echo=$ac_try;;
11405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11406 (eval "$ac_try") 2>&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 ac_cv_lib_hal_libhal_ctx_new=yes
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11415 ac_cv_lib_hal_libhal_ctx_new=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
11423 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
11424 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
11425 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11426 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11427 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11430 ac_check_lib_save_LIBS=$LIBS
11431 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11432 cat >conftest.$ac_ext <<_ACEOF
11435 cat confdefs.h >>conftest.$ac_ext
11436 cat >>conftest.$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11445 char dbus_connection_close ();
11449 return dbus_connection_close ();
11454 rm -f conftest.$ac_objext conftest$ac_exeext
11455 if { (ac_try="$ac_link"
11456 case "(($ac_try" in
11457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11458 *) ac_try_echo
=$ac_try;;
11460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11461 (eval "$ac_link") 2>conftest.er1
11463 grep -v '^ *+' conftest.er1
>conftest.err
11465 cat conftest.err
>&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); } &&
11468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11469 { (case "(($ac_try" in
11470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11471 *) ac_try_echo=$ac_try;;
11473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11474 (eval "$ac_try") 2>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); }; } &&
11478 { ac_try='test -s conftest$ac_exeext'
11479 { (case "(($ac_try" in
11480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11481 *) ac_try_echo
=$ac_try;;
11483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11484 (eval "$ac_try") 2>&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); }; }; then
11488 ac_cv_lib_dbus_1_dbus_connection_close
=yes
11490 echo "$as_me: failed program was:" >&5
11491 sed 's/^/| /' conftest.
$ac_ext >&5
11493 ac_cv_lib_dbus_1_dbus_connection_close
=no
11496 rm -f core conftest.err conftest.
$ac_objext \
11497 conftest
$ac_exeext conftest.
$ac_ext
11498 LIBS
=$ac_check_lib_save_LIBS
11500 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11501 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11502 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11504 cat >>confdefs.h
<<\_ACEOF
11505 #define HAVE_LIBHAL 1
11508 HALINCL
="$ac_hal_cflags"
11514 CPPFLAGS
="$ac_save_CPPFLAGS"
11518 if test "x$with_curses" != "xno"
11520 if test "$ac_cv_header_ncurses_h" = "yes"
11522 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
11523 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
11524 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
11525 echo $ECHO_N "(cached) $ECHO_C" >&6
11527 ac_check_lib_save_LIBS
=$LIBS
11528 LIBS
="-lncurses $LIBS"
11529 cat >conftest.
$ac_ext <<_ACEOF
11532 cat confdefs.h
>>conftest.
$ac_ext
11533 cat >>conftest.
$ac_ext <<_ACEOF
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11551 rm -f conftest.
$ac_objext conftest
$ac_exeext
11552 if { (ac_try
="$ac_link"
11553 case "(($ac_try" in
11554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11555 *) ac_try_echo=$ac_try;;
11557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11558 (eval "$ac_link") 2>conftest.er1
11560 grep -v '^ *+' conftest.er1 >conftest.err
11562 cat conftest.err >&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } &&
11565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11566 { (case "(($ac_try" in
11567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11568 *) ac_try_echo
=$ac_try;;
11570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11571 (eval "$ac_try") 2>&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; } &&
11575 { ac_try
='test -s conftest$ac_exeext'
11576 { (case "(($ac_try" in
11577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11578 *) ac_try_echo=$ac_try;;
11580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11581 (eval "$ac_try") 2>&5
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); }; }; then
11585 ac_cv_lib_ncurses_waddch=yes
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.$ac_ext >&5
11590 ac_cv_lib_ncurses_waddch=no
11593 rm -f core conftest.err conftest.$ac_objext \
11594 conftest$ac_exeext conftest.$ac_ext
11595 LIBS=$ac_check_lib_save_LIBS
11597 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
11598 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
11599 if test $ac_cv_lib_ncurses_waddch = yes; then
11601 cat >>confdefs.h <<\_ACEOF
11602 #define HAVE_LIBNCURSES 1
11605 CURSESLIBS="-lncurses"
11608 elif test "$ac_cv_header_curses_h" = "yes"
11610 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11611 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11612 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11615 ac_check_lib_save_LIBS=$LIBS
11616 LIBS="-lcurses $LIBS"
11617 cat >conftest.$ac_ext <<_ACEOF
11620 cat confdefs.h >>conftest.$ac_ext
11621 cat >>conftest.$ac_ext <<_ACEOF
11622 /* end confdefs.h. */
11624 /* Override any GCC internal prototype to avoid an error.
11625 Use char because int might match the return type of a GCC
11626 builtin and then its argument prototype would still apply. */
11639 rm -f conftest.$ac_objext conftest$ac_exeext
11640 if { (ac_try="$ac_link"
11641 case "(($ac_try" in
11642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11643 *) ac_try_echo
=$ac_try;;
11645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11646 (eval "$ac_link") 2>conftest.er1
11648 grep -v '^ *+' conftest.er1
>conftest.err
11650 cat conftest.err
>&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); } &&
11653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11654 { (case "(($ac_try" in
11655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11656 *) ac_try_echo=$ac_try;;
11658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11659 (eval "$ac_try") 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; } &&
11663 { ac_try='test -s conftest$ac_exeext'
11664 { (case "(($ac_try" in
11665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11666 *) ac_try_echo
=$ac_try;;
11668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11669 (eval "$ac_try") 2>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; }; then
11673 ac_cv_lib_curses_waddch
=yes
11675 echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.
$ac_ext >&5
11678 ac_cv_lib_curses_waddch
=no
11681 rm -f core conftest.err conftest.
$ac_objext \
11682 conftest
$ac_exeext conftest.
$ac_ext
11683 LIBS
=$ac_check_lib_save_LIBS
11685 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11686 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11687 if test $ac_cv_lib_curses_waddch = yes; then
11689 cat >>confdefs.h
<<\_ACEOF
11690 #define HAVE_LIBCURSES 1
11693 CURSESLIBS
="-lcurses"
11697 ac_save_LIBS
="$LIBS"
11698 LIBS
="$LIBS $CURSESLIBS"
11700 for ac_func
in mousemask
11702 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11703 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11705 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11706 echo $ECHO_N "(cached) $ECHO_C" >&6
11708 cat >conftest.
$ac_ext <<_ACEOF
11711 cat confdefs.h
>>conftest.
$ac_ext
11712 cat >>conftest.
$ac_ext <<_ACEOF
11713 /* end confdefs.h. */
11714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11716 #define $ac_func innocuous_$ac_func
11718 /* System header to define __stub macros and hopefully few prototypes,
11719 which can conflict with char $ac_func (); below.
11720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11721 <limits.h> exists even on freestanding compilers. */
11724 # include <limits.h>
11726 # include <assert.h>
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11738 /* The GNU C library defines this for functions which it implements
11739 to always fail with ENOSYS. Some functions are actually named
11740 something starting with __ and the normal name is an alias. */
11741 #if defined __stub_$ac_func || defined __stub___$ac_func
11748 return $ac_func ();
11753 rm -f conftest.
$ac_objext conftest
$ac_exeext
11754 if { (ac_try
="$ac_link"
11755 case "(($ac_try" in
11756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11757 *) ac_try_echo=$ac_try;;
11759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11760 (eval "$ac_link") 2>conftest.er1
11762 grep -v '^ *+' conftest.er1 >conftest.err
11764 cat conftest.err >&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); } &&
11767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11768 { (case "(($ac_try" in
11769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11770 *) ac_try_echo
=$ac_try;;
11772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11773 (eval "$ac_try") 2>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; } &&
11777 { ac_try
='test -s conftest$ac_exeext'
11778 { (case "(($ac_try" in
11779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11780 *) ac_try_echo=$ac_try;;
11782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11783 (eval "$ac_try") 2>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; }; then
11787 eval "$as_ac_var=yes"
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.$ac_ext >&5
11792 eval "$as_ac_var=no"
11795 rm -f core conftest.err conftest.$ac_objext \
11796 conftest$ac_exeext conftest.$ac_ext
11798 ac_res=`eval echo '${'$as_ac_var'}'`
11799 { echo "$as_me:$LINENO: result: $ac_res" >&5
11800 echo "${ECHO_T}$ac_res" >&6; }
11801 if test `eval echo '${'$as_ac_var'}'` = yes; then
11802 cat >>confdefs.h <<_ACEOF
11803 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11809 LIBS="$ac_save_LIBS"
11813 # Extract the first word of "sane-config", so it can be a program name with args.
11814 set dummy sane-config; ac_word=$2
11815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11817 if test "${ac_cv_prog_sane_devel+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 if test -n "$sane_devel"; then
11821 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11824 for as_dir in $PATH
11827 test -z "$as_dir" && as_dir=.
11828 for ac_exec_ext in '' $ac_executable_extensions; do
11829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11830 ac_cv_prog_sane_devel="sane-config"
11831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11838 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11841 sane_devel=$ac_cv_prog_sane_devel
11842 if test -n "$sane_devel"; then
11843 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11844 echo "${ECHO_T}$sane_devel" >&6; }
11846 { echo "$as_me:$LINENO: result: no" >&5
11847 echo "${ECHO_T}no" >&6; }
11855 if test "$sane_devel" != "no"
11857 SANELIBS="`$sane_devel --libs`"
11858 SANEINCL="`$sane_devel --cflags`"
11859 ac_save_CPPFLAGS="$CPPFLAGS"
11860 ac_save_LIBS="$LIBS"
11861 CPPFLAGS="$CPPFLAGS $SANEINCL"
11862 LIBS="$LIBS $SANELIBS"
11863 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11864 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11865 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11866 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11867 echo $ECHO_N "(cached) $ECHO_C" >&6
11869 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11870 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11872 # Is the header compilable?
11873 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11874 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11875 cat >conftest.$ac_ext <<_ACEOF
11878 cat confdefs.h >>conftest.$ac_ext
11879 cat >>conftest.$ac_ext <<_ACEOF
11880 /* end confdefs.h. */
11881 $ac_includes_default
11882 #include <sane/sane.h>
11884 rm -f conftest.$ac_objext
11885 if { (ac_try="$ac_compile"
11886 case "(($ac_try" in
11887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11888 *) ac_try_echo
=$ac_try;;
11890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11891 (eval "$ac_compile") 2>conftest.er1
11893 grep -v '^ *+' conftest.er1
>conftest.err
11895 cat conftest.err
>&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } &&
11898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11899 { (case "(($ac_try" in
11900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11901 *) ac_try_echo=$ac_try;;
11903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11904 (eval "$ac_try") 2>&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); }; } &&
11908 { ac_try='test -s conftest.$ac_objext'
11909 { (case "(($ac_try" in
11910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11911 *) ac_try_echo
=$ac_try;;
11913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11914 (eval "$ac_try") 2>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; }; then
11918 ac_header_compiler
=yes
11920 echo "$as_me: failed program was:" >&5
11921 sed 's/^/| /' conftest.
$ac_ext >&5
11923 ac_header_compiler
=no
11926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11927 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11928 echo "${ECHO_T}$ac_header_compiler" >&6; }
11930 # Is the header present?
11931 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11932 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11933 cat >conftest.
$ac_ext <<_ACEOF
11936 cat confdefs.h
>>conftest.
$ac_ext
11937 cat >>conftest.
$ac_ext <<_ACEOF
11938 /* end confdefs.h. */
11939 #include <sane/sane.h>
11941 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11942 case "(($ac_try" in
11943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11944 *) ac_try_echo=$ac_try;;
11946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11949 grep -v '^ *+' conftest.er1 >conftest.err
11951 cat conftest.err >&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); } >/dev/null; then
11954 if test -s conftest.err; then
11955 ac_cpp_err=$ac_c_preproc_warn_flag
11956 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11963 if test -z "$ac_cpp_err"; then
11964 ac_header_preproc=yes
11966 echo "$as_me: failed program was:" >&5
11967 sed 's/^/| /' conftest.$ac_ext >&5
11969 ac_header_preproc=no
11972 rm -f conftest.err conftest.$ac_ext
11973 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11974 echo "${ECHO_T}$ac_header_preproc" >&6; }
11976 # So? What about this header?
11977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11979 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11980 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11981 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11982 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11983 ac_header_preproc=yes
11986 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11987 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11988 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11989 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11990 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11991 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11992 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11993 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11994 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11995 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11996 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11997 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11999 ## ------------------------------------ ##
12000 ## Report this to wine-devel@winehq.org ##
12001 ## ------------------------------------ ##
12003 ) | sed "s/^/$as_me: WARNING: /" >&2
12006 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12007 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12008 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12009 echo $ECHO_N "(cached) $ECHO_C" >&6
12011 ac_cv_header_sane_sane_h=$ac_header_preproc
12013 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12014 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12017 if test $ac_cv_header_sane_sane_h = yes; then
12018 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
12019 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
12020 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 ac_check_lib_save_LIBS=$LIBS
12024 LIBS="-lsane $LIBS"
12025 cat >conftest.$ac_ext <<_ACEOF
12028 cat confdefs.h >>conftest.$ac_ext
12029 cat >>conftest.$ac_ext <<_ACEOF
12030 /* end confdefs.h. */
12032 /* Override any GCC internal prototype to avoid an error.
12033 Use char because int might match the return type of a GCC
12034 builtin and then its argument prototype would still apply. */
12042 return sane_open ();
12047 rm -f conftest.$ac_objext conftest$ac_exeext
12048 if { (ac_try="$ac_link"
12049 case "(($ac_try" in
12050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12051 *) ac_try_echo
=$ac_try;;
12053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12054 (eval "$ac_link") 2>conftest.er1
12056 grep -v '^ *+' conftest.er1
>conftest.err
12058 cat conftest.err
>&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } &&
12061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12062 { (case "(($ac_try" in
12063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12064 *) ac_try_echo=$ac_try;;
12066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12067 (eval "$ac_try") 2>&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); }; } &&
12071 { ac_try='test -s conftest$ac_exeext'
12072 { (case "(($ac_try" in
12073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12074 *) ac_try_echo
=$ac_try;;
12076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12077 (eval "$ac_try") 2>&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); }; }; then
12081 ac_cv_lib_sane_sane_open
=yes
12083 echo "$as_me: failed program was:" >&5
12084 sed 's/^/| /' conftest.
$ac_ext >&5
12086 ac_cv_lib_sane_sane_open
=no
12089 rm -f core conftest.err conftest.
$ac_objext \
12090 conftest
$ac_exeext conftest.
$ac_ext
12091 LIBS
=$ac_check_lib_save_LIBS
12093 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
12094 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
12095 if test $ac_cv_lib_sane_sane_open = yes; then
12097 cat >>confdefs.h
<<\_ACEOF
12098 #define HAVE_SANE 1
12112 LIBS
="$ac_save_LIBS"
12113 CPPFLAGS
="$ac_save_CPPFLAGS"
12116 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12117 set dummy gphoto2-config
; ac_word
=$2
12118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12120 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12121 echo $ECHO_N "(cached) $ECHO_C" >&6
12123 if test -n "$gphoto2_devel"; then
12124 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
12126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12127 for as_dir
in $PATH
12130 test -z "$as_dir" && as_dir
=.
12131 for ac_exec_ext
in '' $ac_executable_extensions; do
12132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12133 ac_cv_prog_gphoto2_devel
="gphoto2-config"
12134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12141 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
12144 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
12145 if test -n "$gphoto2_devel"; then
12146 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12147 echo "${ECHO_T}$gphoto2_devel" >&6; }
12149 { echo "$as_me:$LINENO: result: no" >&5
12150 echo "${ECHO_T}no" >&6; }
12154 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12155 set dummy gphoto2-port-config
; ac_word
=$2
12156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12158 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12159 echo $ECHO_N "(cached) $ECHO_C" >&6
12161 if test -n "$gphoto2port_devel"; then
12162 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
12164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12165 for as_dir
in $PATH
12168 test -z "$as_dir" && as_dir
=.
12169 for ac_exec_ext
in '' $ac_executable_extensions; do
12170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12171 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
12172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12179 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
12182 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
12183 if test -n "$gphoto2port_devel"; then
12184 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12185 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12187 { echo "$as_me:$LINENO: result: no" >&5
12188 echo "${ECHO_T}no" >&6; }
12196 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12198 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12200 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12203 -L/usr
/lib|
-L/usr
/lib64
) ;;
12204 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
12207 ac_save_CPPFLAGS
="$CPPFLAGS"
12208 ac_save_LIBS
="$LIBS"
12209 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
12210 LIBS
="$LIBS $GPHOTO2LIBS"
12211 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12212 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12213 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12214 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12217 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12218 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12220 # Is the header compilable?
12221 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12222 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12223 cat >conftest.
$ac_ext <<_ACEOF
12226 cat confdefs.h
>>conftest.
$ac_ext
12227 cat >>conftest.
$ac_ext <<_ACEOF
12228 /* end confdefs.h. */
12229 $ac_includes_default
12230 #include <gphoto2-camera.h>
12232 rm -f conftest.
$ac_objext
12233 if { (ac_try
="$ac_compile"
12234 case "(($ac_try" in
12235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12236 *) ac_try_echo=$ac_try;;
12238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12239 (eval "$ac_compile") 2>conftest.er1
12241 grep -v '^ *+' conftest.er1 >conftest.err
12243 cat conftest.err >&5
12244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 (exit $ac_status); } &&
12246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12247 { (case "(($ac_try" in
12248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12249 *) ac_try_echo
=$ac_try;;
12251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12252 (eval "$ac_try") 2>&5
12254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12255 (exit $ac_status); }; } &&
12256 { ac_try
='test -s conftest.$ac_objext'
12257 { (case "(($ac_try" in
12258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12259 *) ac_try_echo=$ac_try;;
12261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12262 (eval "$ac_try") 2>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); }; }; then
12266 ac_header_compiler=yes
12268 echo "$as_me: failed program was:" >&5
12269 sed 's/^/| /' conftest.$ac_ext >&5
12271 ac_header_compiler=no
12274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12275 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12276 echo "${ECHO_T}$ac_header_compiler" >&6; }
12278 # Is the header present?
12279 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12280 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12281 cat >conftest.$ac_ext <<_ACEOF
12284 cat confdefs.h >>conftest.$ac_ext
12285 cat >>conftest.$ac_ext <<_ACEOF
12286 /* end confdefs.h. */
12287 #include <gphoto2-camera.h>
12289 if { (ac_try="$ac_cpp conftest.$ac_ext"
12290 case "(($ac_try" in
12291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12292 *) ac_try_echo
=$ac_try;;
12294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12297 grep -v '^ *+' conftest.er1
>conftest.err
12299 cat conftest.err
>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); } >/dev
/null
; then
12302 if test -s conftest.err
; then
12303 ac_cpp_err
=$ac_c_preproc_warn_flag
12304 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12311 if test -z "$ac_cpp_err"; then
12312 ac_header_preproc
=yes
12314 echo "$as_me: failed program was:" >&5
12315 sed 's/^/| /' conftest.
$ac_ext >&5
12317 ac_header_preproc
=no
12320 rm -f conftest.err conftest.
$ac_ext
12321 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12322 echo "${ECHO_T}$ac_header_preproc" >&6; }
12324 # So? What about this header?
12325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12327 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12328 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12329 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12330 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12331 ac_header_preproc
=yes
12334 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12335 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12336 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12337 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12338 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12339 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12341 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12342 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12343 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12344 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12345 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12347 ## ------------------------------------ ##
12348 ## Report this to wine-devel@winehq.org ##
12349 ## ------------------------------------ ##
12351 ) |
sed "s/^/$as_me: WARNING: /" >&2
12354 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12355 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12356 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12359 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
12361 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12362 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12365 if test $ac_cv_header_gphoto2_camera_h = yes; then
12366 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12367 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12368 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12369 echo $ECHO_N "(cached) $ECHO_C" >&6
12371 ac_check_lib_save_LIBS
=$LIBS
12372 LIBS
="-lgphoto2 $LIBS"
12373 cat >conftest.
$ac_ext <<_ACEOF
12376 cat confdefs.h
>>conftest.
$ac_ext
12377 cat >>conftest.
$ac_ext <<_ACEOF
12378 /* end confdefs.h. */
12380 /* Override any GCC internal prototype to avoid an error.
12381 Use char because int might match the return type of a GCC
12382 builtin and then its argument prototype would still apply. */
12386 char gp_camera_new ();
12390 return gp_camera_new ();
12395 rm -f conftest.
$ac_objext conftest
$ac_exeext
12396 if { (ac_try
="$ac_link"
12397 case "(($ac_try" in
12398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12399 *) ac_try_echo=$ac_try;;
12401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12402 (eval "$ac_link") 2>conftest.er1
12404 grep -v '^ *+' conftest.er1 >conftest.err
12406 cat conftest.err >&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); } &&
12409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12410 { (case "(($ac_try" in
12411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12412 *) ac_try_echo
=$ac_try;;
12414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12415 (eval "$ac_try") 2>&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); }; } &&
12419 { ac_try
='test -s conftest$ac_exeext'
12420 { (case "(($ac_try" in
12421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12422 *) ac_try_echo=$ac_try;;
12424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12425 (eval "$ac_try") 2>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; }; then
12429 ac_cv_lib_gphoto2_gp_camera_new=yes
12431 echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.$ac_ext >&5
12434 ac_cv_lib_gphoto2_gp_camera_new=no
12437 rm -f core conftest.err conftest.$ac_objext \
12438 conftest$ac_exeext conftest.$ac_ext
12439 LIBS=$ac_check_lib_save_LIBS
12441 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12442 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12443 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12445 cat >>confdefs.h <<\_ACEOF
12446 #define HAVE_GPHOTO2 1
12460 LIBS="$ac_save_LIBS"
12461 CPPFLAGS="$ac_save_CPPFLAGS"
12464 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12467 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
12469 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
12470 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
12471 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
12472 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
12473 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12474 cat >conftest.$ac_ext <<_ACEOF
12477 cat confdefs.h >>conftest.$ac_ext
12478 cat >>conftest.$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12480 #include <unicode/ubidi.h>
12489 rm -f conftest.$ac_objext conftest$ac_exeext
12490 if { (ac_try="$ac_link"
12491 case "(($ac_try" in
12492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12493 *) ac_try_echo
=$ac_try;;
12495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12496 (eval "$ac_link") 2>conftest.er1
12498 grep -v '^ *+' conftest.er1
>conftest.err
12500 cat conftest.err
>&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } &&
12503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12504 { (case "(($ac_try" in
12505 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12506 *) ac_try_echo=$ac_try;;
12508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12509 (eval "$ac_try") 2>&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; } &&
12513 { ac_try='test -s conftest$ac_exeext'
12514 { (case "(($ac_try" in
12515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12516 *) ac_try_echo
=$ac_try;;
12518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12519 (eval "$ac_try") 2>&5
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); }; }; then
12524 cat >>confdefs.h
<<\_ACEOF
12528 ICULIBS
="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
12530 { echo "$as_me:$LINENO: result: yes" >&5
12531 echo "${ECHO_T}yes" >&6; }
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.
$ac_ext >&5
12536 { echo "$as_me:$LINENO: result: no" >&5
12537 echo "${ECHO_T}no" >&6; }
12540 rm -f core conftest.err conftest.
$ac_objext \
12541 conftest
$ac_exeext conftest.
$ac_ext
12548 if test "$ac_cv_header_resolv_h" = "yes"
12550 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12551 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12552 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12555 ac_check_lib_save_LIBS
=$LIBS
12556 LIBS
="-lresolv $LIBS"
12557 cat >conftest.
$ac_ext <<_ACEOF
12560 cat confdefs.h
>>conftest.
$ac_ext
12561 cat >>conftest.
$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12564 /* Override any GCC internal prototype to avoid an error.
12565 Use char because int might match the return type of a GCC
12566 builtin and then its argument prototype would still apply. */
12574 return res_query ();
12579 rm -f conftest.
$ac_objext conftest
$ac_exeext
12580 if { (ac_try
="$ac_link"
12581 case "(($ac_try" in
12582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12583 *) ac_try_echo=$ac_try;;
12585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12586 (eval "$ac_link") 2>conftest.er1
12588 grep -v '^ *+' conftest.er1 >conftest.err
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (case "(($ac_try" in
12595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12596 *) ac_try_echo
=$ac_try;;
12598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12599 (eval "$ac_try") 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; } &&
12603 { ac_try
='test -s conftest$ac_exeext'
12604 { (case "(($ac_try" in
12605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12606 *) ac_try_echo=$ac_try;;
12608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12609 (eval "$ac_try") 2>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); }; }; then
12613 ac_cv_lib_resolv_res_query=yes
12615 echo "$as_me: failed program was:" >&5
12616 sed 's/^/| /' conftest.$ac_ext >&5
12618 ac_cv_lib_resolv_res_query=no
12621 rm -f core conftest.err conftest.$ac_objext \
12622 conftest$ac_exeext conftest.$ac_ext
12623 LIBS=$ac_check_lib_save_LIBS
12625 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12626 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12627 if test $ac_cv_lib_resolv_res_query = yes; then
12629 cat >>confdefs.h <<\_ACEOF
12630 #define HAVE_RESOLV 1
12633 RESOLVLIBS="-lresolv"
12640 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12642 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12643 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12644 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 ac_check_lib_save_LIBS=$LIBS
12648 LIBS="-llcms $LIBS"
12649 cat >conftest.$ac_ext <<_ACEOF
12652 cat confdefs.h >>conftest.$ac_ext
12653 cat >>conftest.$ac_ext <<_ACEOF
12654 /* end confdefs.h. */
12656 /* Override any GCC internal prototype to avoid an error.
12657 Use char because int might match the return type of a GCC
12658 builtin and then its argument prototype would still apply. */
12662 char cmsOpenProfileFromFile ();
12666 return cmsOpenProfileFromFile ();
12671 rm -f conftest.$ac_objext conftest$ac_exeext
12672 if { (ac_try="$ac_link"
12673 case "(($ac_try" in
12674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12675 *) ac_try_echo
=$ac_try;;
12677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12678 (eval "$ac_link") 2>conftest.er1
12680 grep -v '^ *+' conftest.er1
>conftest.err
12682 cat conftest.err
>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); } &&
12685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12686 { (case "(($ac_try" in
12687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12688 *) ac_try_echo=$ac_try;;
12690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12691 (eval "$ac_try") 2>&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; } &&
12695 { ac_try='test -s conftest$ac_exeext'
12696 { (case "(($ac_try" in
12697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12698 *) ac_try_echo
=$ac_try;;
12700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12701 (eval "$ac_try") 2>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); }; }; then
12705 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
12707 echo "$as_me: failed program was:" >&5
12708 sed 's/^/| /' conftest.
$ac_ext >&5
12710 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
12713 rm -f core conftest.err conftest.
$ac_objext \
12714 conftest
$ac_exeext conftest.
$ac_ext
12715 LIBS
=$ac_check_lib_save_LIBS
12717 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12718 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12719 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12721 cat >>confdefs.h
<<\_ACEOF
12722 #define HAVE_LCMS 1
12732 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12734 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12735 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12736 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12739 ac_check_lib_save_LIBS
=$LIBS
12740 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12741 cat >conftest.
$ac_ext <<_ACEOF
12744 cat confdefs.h
>>conftest.
$ac_ext
12745 cat >>conftest.
$ac_ext <<_ACEOF
12746 /* end confdefs.h. */
12748 /* Override any GCC internal prototype to avoid an error.
12749 Use char because int might match the return type of a GCC
12750 builtin and then its argument prototype would still apply. */
12754 char ldap_initialize ();
12758 return ldap_initialize ();
12763 rm -f conftest.
$ac_objext conftest
$ac_exeext
12764 if { (ac_try
="$ac_link"
12765 case "(($ac_try" in
12766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12767 *) ac_try_echo=$ac_try;;
12769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12770 (eval "$ac_link") 2>conftest.er1
12772 grep -v '^ *+' conftest.er1 >conftest.err
12774 cat conftest.err >&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); } &&
12777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12778 { (case "(($ac_try" in
12779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12780 *) ac_try_echo
=$ac_try;;
12782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12783 (eval "$ac_try") 2>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; } &&
12787 { ac_try
='test -s conftest$ac_exeext'
12788 { (case "(($ac_try" in
12789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12790 *) ac_try_echo=$ac_try;;
12792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12793 (eval "$ac_try") 2>&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; }; then
12797 ac_cv_lib_ldap_r_ldap_initialize=yes
12799 echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.$ac_ext >&5
12802 ac_cv_lib_ldap_r_ldap_initialize=no
12805 rm -f core conftest.err conftest.$ac_objext \
12806 conftest$ac_exeext conftest.$ac_ext
12807 LIBS=$ac_check_lib_save_LIBS
12809 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12810 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12811 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12812 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12813 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12814 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12815 echo $ECHO_N "(cached) $ECHO_C" >&6
12817 ac_check_lib_save_LIBS=$LIBS
12818 LIBS="-llber $LIBPTHREAD $LIBS"
12819 cat >conftest.$ac_ext <<_ACEOF
12822 cat confdefs.h >>conftest.$ac_ext
12823 cat >>conftest.$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12826 /* Override any GCC internal prototype to avoid an error.
12827 Use char because int might match the return type of a GCC
12828 builtin and then its argument prototype would still apply. */
12836 return ber_init ();
12841 rm -f conftest.$ac_objext conftest$ac_exeext
12842 if { (ac_try="$ac_link"
12843 case "(($ac_try" in
12844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12845 *) ac_try_echo
=$ac_try;;
12847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12848 (eval "$ac_link") 2>conftest.er1
12850 grep -v '^ *+' conftest.er1
>conftest.err
12852 cat conftest.err
>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); } &&
12855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12856 { (case "(($ac_try" in
12857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12858 *) ac_try_echo=$ac_try;;
12860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12861 (eval "$ac_try") 2>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); }; } &&
12865 { ac_try='test -s conftest$ac_exeext'
12866 { (case "(($ac_try" in
12867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12868 *) ac_try_echo
=$ac_try;;
12870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12871 (eval "$ac_try") 2>&5
12873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12874 (exit $ac_status); }; }; then
12875 ac_cv_lib_lber_ber_init
=yes
12877 echo "$as_me: failed program was:" >&5
12878 sed 's/^/| /' conftest.
$ac_ext >&5
12880 ac_cv_lib_lber_ber_init
=no
12883 rm -f core conftest.err conftest.
$ac_objext \
12884 conftest
$ac_exeext conftest.
$ac_ext
12885 LIBS
=$ac_check_lib_save_LIBS
12887 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12888 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12889 if test $ac_cv_lib_lber_ber_init = yes; then
12891 cat >>confdefs.h
<<\_ACEOF
12892 #define HAVE_LDAP 1
12895 LDAPLIBS
="-lldap_r -llber"
12900 ac_wine_check_funcs_save_LIBS
="$LIBS"
12901 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12907 ldap_count_references \
12908 ldap_first_reference \
12909 ldap_next_reference \
12910 ldap_parse_reference
12912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12913 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12915 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12916 echo $ECHO_N "(cached) $ECHO_C" >&6
12918 cat >conftest.
$ac_ext <<_ACEOF
12921 cat confdefs.h
>>conftest.
$ac_ext
12922 cat >>conftest.
$ac_ext <<_ACEOF
12923 /* end confdefs.h. */
12924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12926 #define $ac_func innocuous_$ac_func
12928 /* System header to define __stub macros and hopefully few prototypes,
12929 which can conflict with char $ac_func (); below.
12930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12931 <limits.h> exists even on freestanding compilers. */
12934 # include <limits.h>
12936 # include <assert.h>
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12948 /* The GNU C library defines this for functions which it implements
12949 to always fail with ENOSYS. Some functions are actually named
12950 something starting with __ and the normal name is an alias. */
12951 #if defined __stub_$ac_func || defined __stub___$ac_func
12958 return $ac_func ();
12963 rm -f conftest.
$ac_objext conftest
$ac_exeext
12964 if { (ac_try
="$ac_link"
12965 case "(($ac_try" in
12966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12967 *) ac_try_echo=$ac_try;;
12969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12970 (eval "$ac_link") 2>conftest.er1
12972 grep -v '^ *+' conftest.er1 >conftest.err
12974 cat conftest.err >&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } &&
12977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12978 { (case "(($ac_try" in
12979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12980 *) ac_try_echo
=$ac_try;;
12982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12983 (eval "$ac_try") 2>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); }; } &&
12987 { ac_try
='test -s conftest$ac_exeext'
12988 { (case "(($ac_try" in
12989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12990 *) ac_try_echo=$ac_try;;
12992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12993 (eval "$ac_try") 2>&5
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); }; }; then
12997 eval "$as_ac_var=yes"
12999 echo "$as_me: failed program was:" >&5
13000 sed 's/^/| /' conftest.$ac_ext >&5
13002 eval "$as_ac_var=no"
13005 rm -f core conftest.err conftest.$ac_objext \
13006 conftest$ac_exeext conftest.$ac_ext
13008 ac_res=`eval echo '${'$as_ac_var'}'`
13009 { echo "$as_me:$LINENO: result: $ac_res" >&5
13010 echo "${ECHO_T}$ac_res" >&6; }
13011 if test `eval echo '${'$as_ac_var'}'` = yes; then
13012 cat >>confdefs.h <<_ACEOF
13013 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13019 LIBS="$ac_wine_check_funcs_save_LIBS"
13026 # Extract the first word of "freetype-config", so it can be a program name with args.
13027 set dummy freetype-config; ac_word=$2
13028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13030 if test "${ac_cv_prog_ft_devel+set}" = set; then
13031 echo $ECHO_N "(cached) $ECHO_C" >&6
13033 if test -n "$ft_devel"; then
13034 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13037 for as_dir in $PATH
13040 test -z "$as_dir" && as_dir=.
13041 for ac_exec_ext in '' $ac_executable_extensions; do
13042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13043 ac_cv_prog_ft_devel="freetype-config"
13044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13051 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
13054 ft_devel=$ac_cv_prog_ft_devel
13055 if test -n "$ft_devel"; then
13056 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13057 echo "${ECHO_T}$ft_devel" >&6; }
13059 { echo "$as_me:$LINENO: result: no" >&5
13060 echo "${ECHO_T}no" >&6; }
13064 if test "$ft_devel" = "no"
13066 # Extract the first word of "freetype2-config", so it can be a program name with args.
13067 set dummy freetype2-config; ac_word=$2
13068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13070 if test "${ac_cv_prog_ft_devel2+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 if test -n "$ft_devel2"; then
13074 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
13076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13077 for as_dir in $PATH
13080 test -z "$as_dir" && as_dir=.
13081 for ac_exec_ext in '' $ac_executable_extensions; do
13082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13083 ac_cv_prog_ft_devel2="freetype2-config"
13084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13091 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
13094 ft_devel2=$ac_cv_prog_ft_devel2
13095 if test -n "$ft_devel2"; then
13096 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
13097 echo "${ECHO_T}$ft_devel2" >&6; }
13099 { echo "$as_me:$LINENO: result: no" >&5
13100 echo "${ECHO_T}no" >&6; }
13104 if test "$ft_devel2" = "freetype2-config"
13106 ft_devel=$ft_devel2
13110 if test "$ft_devel" = "no"
13112 wine_cv_msg_freetype=yes
13114 FREETYPELIBS=`$ft_devel --libs`
13115 FREETYPEINCL=`$ft_devel --cflags`
13116 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
13117 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
13118 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
13119 echo $ECHO_N "(cached) $ECHO_C" >&6
13121 ac_check_lib_save_LIBS=$LIBS
13122 LIBS="-lfreetype $FREETYPELIBS $LIBS"
13123 cat >conftest.$ac_ext <<_ACEOF
13126 cat confdefs.h >>conftest.$ac_ext
13127 cat >>conftest.$ac_ext <<_ACEOF
13128 /* end confdefs.h. */
13130 /* Override any GCC internal prototype to avoid an error.
13131 Use char because int might match the return type of a GCC
13132 builtin and then its argument prototype would still apply. */
13136 char FT_Init_FreeType ();
13140 return FT_Init_FreeType ();
13145 rm -f conftest.$ac_objext conftest$ac_exeext
13146 if { (ac_try="$ac_link"
13147 case "(($ac_try" in
13148 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13149 *) ac_try_echo
=$ac_try;;
13151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13152 (eval "$ac_link") 2>conftest.er1
13154 grep -v '^ *+' conftest.er1
>conftest.err
13156 cat conftest.err
>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); } &&
13159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13160 { (case "(($ac_try" in
13161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13162 *) ac_try_echo=$ac_try;;
13164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13165 (eval "$ac_try") 2>&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; } &&
13169 { ac_try='test -s conftest$ac_exeext'
13170 { (case "(($ac_try" in
13171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13172 *) ac_try_echo
=$ac_try;;
13174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13175 (eval "$ac_try") 2>&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); }; }; then
13179 ac_cv_lib_freetype_FT_Init_FreeType
=yes
13181 echo "$as_me: failed program was:" >&5
13182 sed 's/^/| /' conftest.
$ac_ext >&5
13184 ac_cv_lib_freetype_FT_Init_FreeType
=no
13187 rm -f core conftest.err conftest.
$ac_objext \
13188 conftest
$ac_exeext conftest.
$ac_ext
13189 LIBS
=$ac_check_lib_save_LIBS
13191 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
13192 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
13193 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
13199 if test "$ft_lib" = "no"
13201 wine_cv_msg_freetype
=yes
13205 ac_save_CPPFLAGS
="$CPPFLAGS"
13206 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
13218 for ac_header
in ft2build.h \
13219 freetype
/freetype.h \
13220 freetype
/ftglyph.h \
13221 freetype
/tttables.h \
13222 freetype
/ftnames.h \
13223 freetype
/ftsnames.h \
13224 freetype
/ttnameid.h \
13225 freetype
/ftoutln.h \
13226 freetype
/ftwinfnt.h \
13227 freetype
/ftmodapi.h \
13228 freetype
/internal
/sfnt.h
13230 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13233 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
13236 cat >conftest.
$ac_ext <<_ACEOF
13239 cat confdefs.h
>>conftest.
$ac_ext
13240 cat >>conftest.
$ac_ext <<_ACEOF
13241 /* end confdefs.h. */
13242 #if HAVE_FT2BUILD_H
13243 #include <ft2build.h>
13246 #include <$ac_header>
13248 rm -f conftest.
$ac_objext
13249 if { (ac_try
="$ac_compile"
13250 case "(($ac_try" in
13251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13252 *) ac_try_echo=$ac_try;;
13254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13255 (eval "$ac_compile") 2>conftest.er1
13257 grep -v '^ *+' conftest.er1 >conftest.err
13259 cat conftest.err >&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); } &&
13262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13263 { (case "(($ac_try" in
13264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13265 *) ac_try_echo
=$ac_try;;
13267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13268 (eval "$ac_try") 2>&5
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); }; } &&
13272 { ac_try
='test -s conftest.$ac_objext'
13273 { (case "(($ac_try" in
13274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13275 *) ac_try_echo=$ac_try;;
13277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13278 (eval "$ac_try") 2>&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); }; }; then
13282 eval "$as_ac_Header=yes"
13284 echo "$as_me: failed program was:" >&5
13285 sed 's/^/| /' conftest.$ac_ext >&5
13287 eval "$as_ac_Header=no"
13290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13292 ac_res=`eval echo '${'$as_ac_Header'}'`
13293 { echo "$as_me:$LINENO: result: $ac_res" >&5
13294 echo "${ECHO_T}$ac_res" >&6; }
13295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13296 cat >>confdefs.h <<_ACEOF
13297 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13304 cat >conftest.$ac_ext <<_ACEOF
13307 cat confdefs.h >>conftest.$ac_ext
13308 cat >>conftest.$ac_ext <<_ACEOF
13309 /* end confdefs.h. */
13310 #include <ft2build.h>
13311 #include <freetype/fttrigon.h>
13313 if { (ac_try="$ac_cpp conftest.$ac_ext"
13314 case "(($ac_try" in
13315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13316 *) ac_try_echo
=$ac_try;;
13318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13319 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13321 grep -v '^ *+' conftest.er1
>conftest.err
13323 cat conftest.err
>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } >/dev
/null
; then
13326 if test -s conftest.err
; then
13327 ac_cpp_err
=$ac_c_preproc_warn_flag
13328 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13335 if test -z "$ac_cpp_err"; then
13337 cat >>confdefs.h
<<\_ACEOF
13338 #define HAVE_FREETYPE_FTTRIGON_H 1
13341 wine_cv_fttrigon
=yes
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.
$ac_ext >&5
13346 wine_cv_fttrigon
=no
13349 rm -f conftest.err conftest.
$ac_ext
13350 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13351 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13352 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13355 cat >conftest.
$ac_ext <<_ACEOF
13358 cat confdefs.h
>>conftest.
$ac_ext
13359 cat >>conftest.
$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13361 #include <freetype/ftmodapi.h>
13363 typedef FT_TrueTypeEngineType ac__type_new_;
13367 if ((ac__type_new_ *) 0)
13369 if (sizeof (ac__type_new_))
13375 rm -f conftest.
$ac_objext
13376 if { (ac_try
="$ac_compile"
13377 case "(($ac_try" in
13378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_compile") 2>conftest.er1
13384 grep -v '^ *+' conftest.er1 >conftest.err
13386 cat conftest.err >&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); } &&
13389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13390 { (case "(($ac_try" in
13391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13392 *) ac_try_echo
=$ac_try;;
13394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13395 (eval "$ac_try") 2>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; } &&
13399 { ac_try
='test -s conftest.$ac_objext'
13400 { (case "(($ac_try" in
13401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13402 *) ac_try_echo=$ac_try;;
13404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13405 (eval "$ac_try") 2>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); }; }; then
13409 ac_cv_type_FT_TrueTypeEngineType=yes
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.$ac_ext >&5
13414 ac_cv_type_FT_TrueTypeEngineType=no
13417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13419 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13420 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13421 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13423 cat >>confdefs.h <<_ACEOF
13424 #define HAVE_FT_TRUETYPEENGINETYPE 1
13430 ac_save_CFLAGS="$CFLAGS"
13431 CFLAGS="$CFLAGS $FREETYPELIBS"
13433 for ac_func in FT_Load_Sfnt_Table
13435 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13436 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13438 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13439 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 cat >conftest.$ac_ext <<_ACEOF
13444 cat confdefs.h >>conftest.$ac_ext
13445 cat >>conftest.$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13449 #define $ac_func innocuous_$ac_func
13451 /* System header to define __stub macros and hopefully few prototypes,
13452 which can conflict with char $ac_func (); below.
13453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13454 <limits.h> exists even on freestanding compilers. */
13457 # include <limits.h>
13459 # include <assert.h>
13464 /* Override any GCC internal prototype to avoid an error.
13465 Use char because int might match the return type of a GCC
13466 builtin and then its argument prototype would still apply. */
13471 /* The GNU C library defines this for functions which it implements
13472 to always fail with ENOSYS. Some functions are actually named
13473 something starting with __ and the normal name is an alias. */
13474 #if defined __stub_$ac_func || defined __stub___$ac_func
13481 return $ac_func ();
13486 rm -f conftest.$ac_objext conftest$ac_exeext
13487 if { (ac_try="$ac_link"
13488 case "(($ac_try" in
13489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13490 *) ac_try_echo
=$ac_try;;
13492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13493 (eval "$ac_link") 2>conftest.er1
13495 grep -v '^ *+' conftest.er1
>conftest.err
13497 cat conftest.err
>&5
13498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } &&
13500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13501 { (case "(($ac_try" in
13502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13503 *) ac_try_echo=$ac_try;;
13505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_try") 2>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); }; } &&
13510 { ac_try='test -s conftest$ac_exeext'
13511 { (case "(($ac_try" in
13512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13513 *) ac_try_echo
=$ac_try;;
13515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13516 (eval "$ac_try") 2>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; }; then
13520 eval "$as_ac_var=yes"
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.
$ac_ext >&5
13525 eval "$as_ac_var=no"
13528 rm -f core conftest.err conftest.
$ac_objext \
13529 conftest
$ac_exeext conftest.
$ac_ext
13531 ac_res
=`eval echo '${'$as_ac_var'}'`
13532 { echo "$as_me:$LINENO: result: $ac_res" >&5
13533 echo "${ECHO_T}$ac_res" >&6; }
13534 if test `eval echo '${'$as_ac_var'}'` = yes; then
13535 cat >>confdefs.h
<<_ACEOF
13536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13542 CFLAGS
="$ac_save_CFLAGS"
13543 CPPFLAGS
="$ac_save_CPPFLAGS"
13544 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13547 cat >>confdefs.h
<<\_ACEOF
13548 #define HAVE_FREETYPE 1
13551 wine_cv_msg_freetype
=no
13555 wine_cv_msg_freetype
=yes
13560 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13562 FONTSSUBDIRS
="fonts"
13566 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13567 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13568 if test "${ac_cv_c_ppdev+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 cat >conftest.
$ac_ext <<_ACEOF
13574 cat confdefs.h
>>conftest.
$ac_ext
13575 cat >>conftest.
$ac_ext <<_ACEOF
13576 /* end confdefs.h. */
13577 #include <linux/ppdev.h>
13581 ioctl (1,PPCLAIM,0)
13586 rm -f conftest.
$ac_objext
13587 if { (ac_try
="$ac_compile"
13588 case "(($ac_try" in
13589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13590 *) ac_try_echo=$ac_try;;
13592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13593 (eval "$ac_compile") 2>conftest.er1
13595 grep -v '^ *+' conftest.er1 >conftest.err
13597 cat conftest.err >&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); } &&
13600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13601 { (case "(($ac_try" in
13602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13603 *) ac_try_echo
=$ac_try;;
13605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13606 (eval "$ac_try") 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; } &&
13610 { ac_try
='test -s conftest.$ac_objext'
13611 { (case "(($ac_try" in
13612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13613 *) ac_try_echo=$ac_try;;
13615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13616 (eval "$ac_try") 2>&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); }; }; then
13620 ac_cv_c_ppdev="yes"
13622 echo "$as_me: failed program was:" >&5
13623 sed 's/^/| /' conftest.$ac_ext >&5
13628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13631 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13632 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13633 if test "$ac_cv_c_ppdev" = "yes"
13636 cat >>confdefs.h <<\_ACEOF
13637 #define HAVE_PPDEV 1
13642 { echo "$as_me:$LINENO: checking for va_copy" >&5
13643 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13644 if test "${ac_cv_c_va_copy+set}" = set; then
13645 echo $ECHO_N "(cached) $ECHO_C" >&6
13647 cat >conftest.$ac_ext <<_ACEOF
13650 cat confdefs.h >>conftest.$ac_ext
13651 cat >>conftest.$ac_ext <<_ACEOF
13652 /* end confdefs.h. */
13653 #include <stdarg.h>
13664 rm -f conftest.$ac_objext conftest$ac_exeext
13665 if { (ac_try="$ac_link"
13666 case "(($ac_try" in
13667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13668 *) ac_try_echo
=$ac_try;;
13670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13671 (eval "$ac_link") 2>conftest.er1
13673 grep -v '^ *+' conftest.er1
>conftest.err
13675 cat conftest.err
>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } &&
13678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13679 { (case "(($ac_try" in
13680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13681 *) ac_try_echo=$ac_try;;
13683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13684 (eval "$ac_try") 2>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); }; } &&
13688 { ac_try='test -s conftest$ac_exeext'
13689 { (case "(($ac_try" in
13690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13691 *) ac_try_echo
=$ac_try;;
13693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13694 (eval "$ac_try") 2>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }; }; then
13698 ac_cv_c_va_copy
="yes"
13700 echo "$as_me: failed program was:" >&5
13701 sed 's/^/| /' conftest.
$ac_ext >&5
13703 ac_cv_c_va_copy
="no"
13706 rm -f core conftest.err conftest.
$ac_objext \
13707 conftest
$ac_exeext conftest.
$ac_ext
13710 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13711 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13712 if test "$ac_cv_c_va_copy" = "yes"
13715 cat >>confdefs.h
<<\_ACEOF
13716 #define HAVE_VA_COPY 1
13720 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13721 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13722 if test "${ac_cv_c___va_copy+set}" = set; then
13723 echo $ECHO_N "(cached) $ECHO_C" >&6
13725 cat >conftest.
$ac_ext <<_ACEOF
13728 cat confdefs.h
>>conftest.
$ac_ext
13729 cat >>conftest.
$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #include <stdarg.h>
13736 __va_copy(ap1,ap2);
13742 rm -f conftest.
$ac_objext conftest
$ac_exeext
13743 if { (ac_try
="$ac_link"
13744 case "(($ac_try" in
13745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13746 *) ac_try_echo=$ac_try;;
13748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13749 (eval "$ac_link") 2>conftest.er1
13751 grep -v '^ *+' conftest.er1 >conftest.err
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } &&
13756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13757 { (case "(($ac_try" in
13758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13759 *) ac_try_echo
=$ac_try;;
13761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13762 (eval "$ac_try") 2>&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); }; } &&
13766 { ac_try
='test -s conftest$ac_exeext'
13767 { (case "(($ac_try" in
13768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13769 *) ac_try_echo=$ac_try;;
13771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13772 (eval "$ac_try") 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; }; then
13776 ac_cv_c___va_copy="yes"
13778 echo "$as_me: failed program was:" >&5
13779 sed 's/^/| /' conftest.$ac_ext >&5
13781 ac_cv_c___va_copy="no"
13784 rm -f core conftest.err conftest.$ac_objext \
13785 conftest$ac_exeext conftest.$ac_ext
13788 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13789 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13790 if test "$ac_cv_c___va_copy" = "yes"
13793 cat >>confdefs.h <<\_ACEOF
13794 #define HAVE___VA_COPY 1
13799 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13800 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13801 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13804 cat >conftest.$ac_ext <<_ACEOF
13807 cat confdefs.h >>conftest.$ac_ext
13808 cat >>conftest.$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13810 #include <setjmp.h>
13815 sigsetjmp( buf, 1 );
13816 siglongjmp( buf, 1 );
13821 rm -f conftest.$ac_objext conftest$ac_exeext
13822 if { (ac_try="$ac_link"
13823 case "(($ac_try" in
13824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13825 *) ac_try_echo
=$ac_try;;
13827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13828 (eval "$ac_link") 2>conftest.er1
13830 grep -v '^ *+' conftest.er1
>conftest.err
13832 cat conftest.err
>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } &&
13835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13836 { (case "(($ac_try" in
13837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13838 *) ac_try_echo=$ac_try;;
13840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13841 (eval "$ac_try") 2>&5
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); }; } &&
13845 { ac_try='test -s conftest$ac_exeext'
13846 { (case "(($ac_try" in
13847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13848 *) ac_try_echo
=$ac_try;;
13850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13851 (eval "$ac_try") 2>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; }; then
13855 ac_cv_c_sigsetjmp
="yes"
13857 echo "$as_me: failed program was:" >&5
13858 sed 's/^/| /' conftest.
$ac_ext >&5
13860 ac_cv_c_sigsetjmp
="no"
13863 rm -f core conftest.err conftest.
$ac_objext \
13864 conftest
$ac_exeext conftest.
$ac_ext
13867 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13868 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13869 if test "$ac_cv_c_sigsetjmp" = "yes"
13872 cat >>confdefs.h
<<\_ACEOF
13873 #define HAVE_SIGSETJMP 1
13878 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13879 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13880 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13881 echo $ECHO_N "(cached) $ECHO_C" >&6
13883 cat >conftest.
$ac_ext <<_ACEOF
13886 cat confdefs.h
>>conftest.
$ac_ext
13887 cat >>conftest.
$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13889 #define _GNU_SOURCE
13890 #include <pthread.h>
13892 typedef pthread_rwlock_t ac__type_new_;
13896 if ((ac__type_new_ *) 0)
13898 if (sizeof (ac__type_new_))
13904 rm -f conftest.
$ac_objext
13905 if { (ac_try
="$ac_compile"
13906 case "(($ac_try" in
13907 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13908 *) ac_try_echo=$ac_try;;
13910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13911 (eval "$ac_compile") 2>conftest.er1
13913 grep -v '^ *+' conftest.er1 >conftest.err
13915 cat conftest.err >&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13919 { (case "(($ac_try" in
13920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13921 *) ac_try_echo
=$ac_try;;
13923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13924 (eval "$ac_try") 2>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }; } &&
13928 { ac_try
='test -s conftest.$ac_objext'
13929 { (case "(($ac_try" in
13930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13931 *) ac_try_echo=$ac_try;;
13933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13934 (eval "$ac_try") 2>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; }; then
13938 ac_cv_type_pthread_rwlock_t=yes
13940 echo "$as_me: failed program was:" >&5
13941 sed 's/^/| /' conftest.$ac_ext >&5
13943 ac_cv_type_pthread_rwlock_t=no
13946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13948 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13949 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13950 if test $ac_cv_type_pthread_rwlock_t = yes; then
13952 cat >>confdefs.h <<_ACEOF
13953 #define HAVE_PTHREAD_RWLOCK_T 1
13958 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13959 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13960 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13961 echo $ECHO_N "(cached) $ECHO_C" >&6
13963 cat >conftest.$ac_ext <<_ACEOF
13966 cat confdefs.h >>conftest.$ac_ext
13967 cat >>conftest.$ac_ext <<_ACEOF
13968 /* end confdefs.h. */
13969 #define _GNU_SOURCE
13970 #include <pthread.h>
13972 typedef pthread_rwlockattr_t ac__type_new_;
13976 if ((ac__type_new_ *) 0)
13978 if (sizeof (ac__type_new_))
13984 rm -f conftest.$ac_objext
13985 if { (ac_try="$ac_compile"
13986 case "(($ac_try" in
13987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13988 *) ac_try_echo
=$ac_try;;
13990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13991 (eval "$ac_compile") 2>conftest.er1
13993 grep -v '^ *+' conftest.er1
>conftest.err
13995 cat conftest.err
>&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); } &&
13998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13999 { (case "(($ac_try" in
14000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14001 *) ac_try_echo=$ac_try;;
14003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14004 (eval "$ac_try") 2>&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); }; } &&
14008 { ac_try='test -s conftest.$ac_objext'
14009 { (case "(($ac_try" in
14010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14011 *) ac_try_echo
=$ac_try;;
14013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14014 (eval "$ac_try") 2>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); }; }; then
14018 ac_cv_type_pthread_rwlockattr_t
=yes
14020 echo "$as_me: failed program was:" >&5
14021 sed 's/^/| /' conftest.
$ac_ext >&5
14023 ac_cv_type_pthread_rwlockattr_t
=no
14026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14028 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14029 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14030 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14032 cat >>confdefs.h
<<_ACEOF
14033 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14040 ac_wine_check_funcs_save_LIBS
="$LIBS"
14041 LIBS
="$LIBS $LIBPTHREAD"
14047 pthread_attr_get_np \
14048 pthread_getattr_np \
14049 pthread_get_stackaddr_np \
14050 pthread_get_stacksize_np
14052 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14053 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14055 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14058 cat >conftest.
$ac_ext <<_ACEOF
14061 cat confdefs.h
>>conftest.
$ac_ext
14062 cat >>conftest.
$ac_ext <<_ACEOF
14063 /* end confdefs.h. */
14064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14066 #define $ac_func innocuous_$ac_func
14068 /* System header to define __stub macros and hopefully few prototypes,
14069 which can conflict with char $ac_func (); below.
14070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14071 <limits.h> exists even on freestanding compilers. */
14074 # include <limits.h>
14076 # include <assert.h>
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14088 /* The GNU C library defines this for functions which it implements
14089 to always fail with ENOSYS. Some functions are actually named
14090 something starting with __ and the normal name is an alias. */
14091 #if defined __stub_$ac_func || defined __stub___$ac_func
14098 return $ac_func ();
14103 rm -f conftest.
$ac_objext conftest
$ac_exeext
14104 if { (ac_try
="$ac_link"
14105 case "(($ac_try" in
14106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14107 *) ac_try_echo=$ac_try;;
14109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14110 (eval "$ac_link") 2>conftest.er1
14112 grep -v '^ *+' conftest.er1 >conftest.err
14114 cat conftest.err >&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } &&
14117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14118 { (case "(($ac_try" in
14119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14120 *) ac_try_echo
=$ac_try;;
14122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14123 (eval "$ac_try") 2>&5
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; } &&
14127 { ac_try
='test -s conftest$ac_exeext'
14128 { (case "(($ac_try" in
14129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14130 *) ac_try_echo=$ac_try;;
14132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14133 (eval "$ac_try") 2>&5
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); }; }; then
14137 eval "$as_ac_var=yes"
14139 echo "$as_me: failed program was:" >&5
14140 sed 's/^/| /' conftest.$ac_ext >&5
14142 eval "$as_ac_var=no"
14145 rm -f core conftest.err conftest.$ac_objext \
14146 conftest$ac_exeext conftest.$ac_ext
14148 ac_res=`eval echo '${'$as_ac_var'}'`
14149 { echo "$as_me:$LINENO: result: $ac_res" >&5
14150 echo "${ECHO_T}$ac_res" >&6; }
14151 if test `eval echo '${'$as_ac_var'}'` = yes; then
14152 cat >>confdefs.h <<_ACEOF
14153 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
14159 LIBS="$ac_wine_check_funcs_save_LIBS"
14161 # Extract the first word of "artsc-config", so it can be a program name with args.
14162 set dummy artsc-config; ac_word=$2
14163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14165 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
14166 echo $ECHO_N "(cached) $ECHO_C" >&6
14168 case $ARTSCCONFIG in
14170 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
14173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14174 for as_dir in $PATH
14177 test -z "$as_dir" && as_dir=.
14178 for ac_exec_ext in '' $ac_executable_extensions; do
14179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14180 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
14181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14191 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
14192 if test -n "$ARTSCCONFIG"; then
14193 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
14194 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
14196 { echo "$as_me:$LINENO: result: no" >&5
14197 echo "${ECHO_T}no" >&6; }
14201 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
14204 for i in `$ARTSCCONFIG --cflags`
14207 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
14211 for i in `$ARTSCCONFIG --libs`
14214 -L/usr/lib|-L/usr/lib64) ;;
14215 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
14218 save_CFLAGS="$CFLAGS"
14219 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
14220 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
14221 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
14222 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
14223 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 ac_check_lib_save_LIBS=$LIBS
14226 LIBS="-lartsc $ARTSC_LIBS $LIBS"
14227 cat >conftest.$ac_ext <<_ACEOF
14230 cat confdefs.h >>conftest.$ac_ext
14231 cat >>conftest.$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14234 /* Override any GCC internal prototype to avoid an error.
14235 Use char because int might match the return type of a GCC
14236 builtin and then its argument prototype would still apply. */
14244 return arts_init ();
14249 rm -f conftest.$ac_objext conftest$ac_exeext
14250 if { (ac_try="$ac_link"
14251 case "(($ac_try" in
14252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14253 *) ac_try_echo
=$ac_try;;
14255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14256 (eval "$ac_link") 2>conftest.er1
14258 grep -v '^ *+' conftest.er1
>conftest.err
14260 cat conftest.err
>&5
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); } &&
14263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14264 { (case "(($ac_try" in
14265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14266 *) ac_try_echo=$ac_try;;
14268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14269 (eval "$ac_try") 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try='test -s conftest$ac_exeext'
14274 { (case "(($ac_try" in
14275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14276 *) ac_try_echo
=$ac_try;;
14278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14279 (eval "$ac_try") 2>&5
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; }; then
14283 ac_cv_lib_artsc_arts_init
=yes
14285 echo "$as_me: failed program was:" >&5
14286 sed 's/^/| /' conftest.
$ac_ext >&5
14288 ac_cv_lib_artsc_arts_init
=no
14291 rm -f core conftest.err conftest.
$ac_objext \
14292 conftest
$ac_exeext conftest.
$ac_ext
14293 LIBS
=$ac_check_lib_save_LIBS
14295 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
14296 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
14297 if test $ac_cv_lib_artsc_arts_init = yes; then
14298 cat >conftest.
$ac_ext <<_ACEOF
14301 cat confdefs.h
>>conftest.
$ac_ext
14302 cat >>conftest.
$ac_ext <<_ACEOF
14303 /* end confdefs.h. */
14308 arts_stream_t stream;
14313 rm -f conftest.
$ac_objext
14314 if { (ac_try
="$ac_compile"
14315 case "(($ac_try" in
14316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14317 *) ac_try_echo=$ac_try;;
14319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14320 (eval "$ac_compile") 2>conftest.er1
14322 grep -v '^ *+' conftest.er1 >conftest.err
14324 cat conftest.err >&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); } &&
14327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14328 { (case "(($ac_try" in
14329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14330 *) ac_try_echo
=$ac_try;;
14332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14333 (eval "$ac_try") 2>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; } &&
14337 { ac_try
='test -s conftest.$ac_objext'
14338 { (case "(($ac_try" in
14339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14340 *) ac_try_echo=$ac_try;;
14342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14343 (eval "$ac_try") 2>&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }; }; then
14347 ARTSLIBS=$ARTSC_LIBS
14349 ARTSINCL=$ARTSC_CFLAGS
14352 cat >>confdefs.h <<\_ACEOF
14353 #define HAVE_ARTS 1
14357 echo "$as_me: failed program was:" >&5
14358 sed 's/^/| /' conftest.$ac_ext >&5
14363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14366 CFLAGS="$save_CFLAGS"
14369 # Extract the first word of "esd-config", so it can be a program name with args.
14370 set dummy esd-config; ac_word=$2
14371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14373 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14378 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14382 for as_dir in $PATH
14385 test -z "$as_dir" && as_dir=.
14386 for ac_exec_ext in '' $ac_executable_extensions; do
14387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14388 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14399 ESDCONFIG=$ac_cv_path_ESDCONFIG
14400 if test -n "$ESDCONFIG"; then
14401 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14402 echo "${ECHO_T}$ESDCONFIG" >&6; }
14404 { echo "$as_me:$LINENO: result: no" >&5
14405 echo "${ECHO_T}no" >&6; }
14409 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
14412 for i in `$ESDCONFIG --cflags`
14415 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14418 ESD_LIBS=`$ESDCONFIG --libs`
14419 save_CFLAGS="$CFLAGS"
14420 CFLAGS="$CFLAGS $ESD_CFLAGS"
14421 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14422 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14423 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14426 ac_check_lib_save_LIBS=$LIBS
14428 cat >conftest.$ac_ext <<_ACEOF
14431 cat confdefs.h >>conftest.$ac_ext
14432 cat >>conftest.$ac_ext <<_ACEOF
14433 /* end confdefs.h. */
14435 /* Override any GCC internal prototype to avoid an error.
14436 Use char because int might match the return type of a GCC
14437 builtin and then its argument prototype would still apply. */
14441 char esd_open_sound ();
14445 return esd_open_sound ();
14450 rm -f conftest.$ac_objext conftest$ac_exeext
14451 if { (ac_try="$ac_link"
14452 case "(($ac_try" in
14453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14454 *) ac_try_echo
=$ac_try;;
14456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14457 (eval "$ac_link") 2>conftest.er1
14459 grep -v '^ *+' conftest.er1
>conftest.err
14461 cat conftest.err
>&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } &&
14464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14465 { (case "(($ac_try" in
14466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14467 *) ac_try_echo=$ac_try;;
14469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14470 (eval "$ac_try") 2>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; } &&
14474 { ac_try='test -s conftest$ac_exeext'
14475 { (case "(($ac_try" in
14476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14477 *) ac_try_echo
=$ac_try;;
14479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14480 (eval "$ac_try") 2>&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; }; then
14484 ac_cv_lib_esd_esd_open_sound
=yes
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.
$ac_ext >&5
14489 ac_cv_lib_esd_esd_open_sound
=no
14492 rm -f core conftest.err conftest.
$ac_objext \
14493 conftest
$ac_exeext conftest.
$ac_ext
14494 LIBS
=$ac_check_lib_save_LIBS
14496 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14497 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14498 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14501 ESDINCL
=$ESD_CFLAGS
14504 cat >>confdefs.h
<<\_ACEOF
14510 CFLAGS
="$save_CFLAGS"
14515 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14517 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14518 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14519 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14520 echo $ECHO_N "(cached) $ECHO_C" >&6
14522 ac_check_lib_save_LIBS
=$LIBS
14523 LIBS
="-lasound $LIBS"
14524 cat >conftest.
$ac_ext <<_ACEOF
14527 cat confdefs.h
>>conftest.
$ac_ext
14528 cat >>conftest.
$ac_ext <<_ACEOF
14529 /* end confdefs.h. */
14531 /* Override any GCC internal prototype to avoid an error.
14532 Use char because int might match the return type of a GCC
14533 builtin and then its argument prototype would still apply. */
14537 char snd_pcm_hw_params_get_access ();
14541 return snd_pcm_hw_params_get_access ();
14546 rm -f conftest.
$ac_objext conftest
$ac_exeext
14547 if { (ac_try
="$ac_link"
14548 case "(($ac_try" in
14549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14550 *) ac_try_echo=$ac_try;;
14552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14553 (eval "$ac_link") 2>conftest.er1
14555 grep -v '^ *+' conftest.er1 >conftest.err
14557 cat conftest.err >&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); } &&
14560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14561 { (case "(($ac_try" in
14562 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14563 *) ac_try_echo
=$ac_try;;
14565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14566 (eval "$ac_try") 2>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); }; } &&
14570 { ac_try
='test -s conftest$ac_exeext'
14571 { (case "(($ac_try" in
14572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14573 *) ac_try_echo=$ac_try;;
14575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14576 (eval "$ac_try") 2>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14585 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14588 rm -f core conftest.err conftest.$ac_objext \
14589 conftest$ac_exeext conftest.$ac_ext
14590 LIBS=$ac_check_lib_save_LIBS
14592 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14593 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14594 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14595 cat >conftest.$ac_ext <<_ACEOF
14598 cat confdefs.h >>conftest.$ac_ext
14599 cat >>conftest.$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14601 #ifdef HAVE_ALSA_ASOUNDLIB_H
14602 #include <alsa/asoundlib.h>
14603 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14604 #include <sys/asoundlib.h>
14609 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14614 rm -f conftest.$ac_objext
14615 if { (ac_try="$ac_compile"
14616 case "(($ac_try" in
14617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14618 *) ac_try_echo
=$ac_try;;
14620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14621 (eval "$ac_compile") 2>conftest.er1
14623 grep -v '^ *+' conftest.er1
>conftest.err
14625 cat conftest.err
>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } &&
14628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14629 { (case "(($ac_try" in
14630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14631 *) ac_try_echo=$ac_try;;
14633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14634 (eval "$ac_try") 2>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; } &&
14638 { ac_try='test -s conftest.$ac_objext'
14639 { (case "(($ac_try" in
14640 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14641 *) ac_try_echo
=$ac_try;;
14643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14644 (eval "$ac_try") 2>&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; }; then
14649 cat >>confdefs.h
<<\_ACEOF
14650 #define HAVE_ALSA 1
14653 ALSALIBS
="-lasound"
14655 echo "$as_me: failed program was:" >&5
14656 sed 's/^/| /' conftest.
$ac_ext >&5
14661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14669 if test "$ac_cv_header_libaudioio_h" = "yes"
14671 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14672 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14673 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14674 echo $ECHO_N "(cached) $ECHO_C" >&6
14676 ac_check_lib_save_LIBS
=$LIBS
14677 LIBS
="-laudioio $LIBS"
14678 cat >conftest.
$ac_ext <<_ACEOF
14681 cat confdefs.h
>>conftest.
$ac_ext
14682 cat >>conftest.
$ac_ext <<_ACEOF
14683 /* end confdefs.h. */
14685 /* Override any GCC internal prototype to avoid an error.
14686 Use char because int might match the return type of a GCC
14687 builtin and then its argument prototype would still apply. */
14691 char AudioIOGetVersion ();
14695 return AudioIOGetVersion ();
14700 rm -f conftest.
$ac_objext conftest
$ac_exeext
14701 if { (ac_try
="$ac_link"
14702 case "(($ac_try" in
14703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14704 *) ac_try_echo=$ac_try;;
14706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14707 (eval "$ac_link") 2>conftest.er1
14709 grep -v '^ *+' conftest.er1 >conftest.err
14711 cat conftest.err >&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); } &&
14714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14715 { (case "(($ac_try" in
14716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14717 *) ac_try_echo
=$ac_try;;
14719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14720 (eval "$ac_try") 2>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; } &&
14724 { ac_try
='test -s conftest$ac_exeext'
14725 { (case "(($ac_try" in
14726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14727 *) ac_try_echo=$ac_try;;
14729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14730 (eval "$ac_try") 2>&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); }; }; then
14734 ac_cv_lib_audioio_AudioIOGetVersion=yes
14736 echo "$as_me: failed program was:" >&5
14737 sed 's/^/| /' conftest.$ac_ext >&5
14739 ac_cv_lib_audioio_AudioIOGetVersion=no
14742 rm -f core conftest.err conftest.$ac_objext \
14743 conftest$ac_exeext conftest.$ac_ext
14744 LIBS=$ac_check_lib_save_LIBS
14746 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14747 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14748 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14749 AUDIOIOLIBS="-laudioio"
14751 cat >>confdefs.h <<\_ACEOF
14752 #define HAVE_LIBAUDIOIO 1
14760 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14762 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14763 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14764 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14765 echo $ECHO_N "(cached) $ECHO_C" >&6
14767 ac_check_lib_save_LIBS=$LIBS
14768 LIBS="-lcapi20 $LIBS"
14769 cat >conftest.$ac_ext <<_ACEOF
14772 cat confdefs.h >>conftest.$ac_ext
14773 cat >>conftest.$ac_ext <<_ACEOF
14774 /* end confdefs.h. */
14776 /* Override any GCC internal prototype to avoid an error.
14777 Use char because int might match the return type of a GCC
14778 builtin and then its argument prototype would still apply. */
14782 char capi20_register ();
14786 return capi20_register ();
14791 rm -f conftest.$ac_objext conftest$ac_exeext
14792 if { (ac_try="$ac_link"
14793 case "(($ac_try" in
14794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14795 *) ac_try_echo
=$ac_try;;
14797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14798 (eval "$ac_link") 2>conftest.er1
14800 grep -v '^ *+' conftest.er1
>conftest.err
14802 cat conftest.err
>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } &&
14805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14806 { (case "(($ac_try" in
14807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14808 *) ac_try_echo=$ac_try;;
14810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14811 (eval "$ac_try") 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; } &&
14815 { ac_try='test -s conftest$ac_exeext'
14816 { (case "(($ac_try" in
14817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14818 *) ac_try_echo
=$ac_try;;
14820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14821 (eval "$ac_try") 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; }; then
14825 ac_cv_lib_capi20_capi20_register
=yes
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.
$ac_ext >&5
14830 ac_cv_lib_capi20_capi20_register
=no
14833 rm -f core conftest.err conftest.
$ac_objext \
14834 conftest
$ac_exeext conftest.
$ac_ext
14835 LIBS
=$ac_check_lib_save_LIBS
14837 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14838 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14839 if test $ac_cv_lib_capi20_capi20_register = yes; then
14841 cat >>confdefs.h
<<\_ACEOF
14842 #define HAVE_CAPI4LINUX 1
14850 if test "$ac_cv_header_gif_lib_h" = "yes"
14852 cat >conftest.
$ac_ext <<_ACEOF
14855 cat confdefs.h
>>conftest.
$ac_ext
14856 cat >>conftest.
$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 #include <gif_lib.h>
14862 static typeof(DGifOpen) * func;
14867 rm -f conftest.
$ac_objext
14868 if { (ac_try
="$ac_compile"
14869 case "(($ac_try" in
14870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14871 *) ac_try_echo=$ac_try;;
14873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14874 (eval "$ac_compile") 2>conftest.er1
14876 grep -v '^ *+' conftest.er1 >conftest.err
14878 cat conftest.err >&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } &&
14881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14882 { (case "(($ac_try" in
14883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14884 *) ac_try_echo
=$ac_try;;
14886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14887 (eval "$ac_try") 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; } &&
14891 { ac_try
='test -s conftest.$ac_objext'
14892 { (case "(($ac_try" in
14893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14894 *) ac_try_echo=$ac_try;;
14896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14897 (eval "$ac_try") 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then
14902 cat >>confdefs.h <<\_ACEOF
14907 echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.$ac_ext >&5
14913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14919 if test "x${GCC}" = "xyes"
14921 EXTRACFLAGS="-Wall -pipe"
14923 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14924 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14925 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14926 echo $ECHO_N "(cached) $ECHO_C" >&6
14928 if test "$cross_compiling" = yes; then
14929 ac_cv_c_gcc_strength_bug="yes"
14931 cat >conftest.$ac_ext <<_ACEOF
14934 cat confdefs.h >>conftest.$ac_ext
14935 cat >>conftest.$ac_ext <<_ACEOF
14936 /* end confdefs.h. */
14938 int L[4] = {0,1,2,3};
14940 static int Array[3];
14941 unsigned int B = 3;
14943 for(i=0; i<B; i++) Array[i] = i - 3;
14944 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14947 exit( Array[1] != -2 || L[2] != 3);
14950 rm -f conftest$ac_exeext
14951 if { (ac_try="$ac_link"
14952 case "(($ac_try" in
14953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14954 *) ac_try_echo
=$ac_try;;
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_link") 2>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14961 { (case "(($ac_try" in
14962 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14963 *) ac_try_echo=$ac_try;;
14965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14966 (eval "$ac_try") 2>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); }; }; then
14970 ac_cv_c_gcc_strength_bug="no"
14972 echo "$as_me: program exited with status $ac_status" >&5
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14976 ( exit $ac_status )
14977 ac_cv_c_gcc_strength_bug="yes"
14979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14984 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14985 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14986 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14988 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14991 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
14992 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
14993 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 ac_wine_try_cflags_saved=$CFLAGS
14997 CFLAGS="$CFLAGS -fshort-wchar"
14998 cat >conftest.$ac_ext <<_ACEOF
15001 cat confdefs.h >>conftest.$ac_ext
15002 cat >>conftest.$ac_ext <<_ACEOF
15003 /* end confdefs.h. */
15013 rm -f conftest.$ac_objext conftest$ac_exeext
15014 if { (ac_try="$ac_link"
15015 case "(($ac_try" in
15016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15017 *) ac_try_echo
=$ac_try;;
15019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15020 (eval "$ac_link") 2>conftest.er1
15022 grep -v '^ *+' conftest.er1
>conftest.err
15024 cat conftest.err
>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); } &&
15027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15028 { (case "(($ac_try" in
15029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15030 *) ac_try_echo=$ac_try;;
15032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15033 (eval "$ac_try") 2>&5
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); }; } &&
15037 { ac_try='test -s conftest$ac_exeext'
15038 { (case "(($ac_try" in
15039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15040 *) ac_try_echo
=$ac_try;;
15042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15043 (eval "$ac_try") 2>&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; }; then
15047 ac_cv_c_gcc_fshort_wchar
="yes"
15049 echo "$as_me: failed program was:" >&5
15050 sed 's/^/| /' conftest.
$ac_ext >&5
15052 ac_cv_c_gcc_fshort_wchar
="no"
15055 rm -f core conftest.err conftest.
$ac_objext \
15056 conftest
$ac_exeext conftest.
$ac_ext
15057 CFLAGS
=$ac_wine_try_cflags_saved
15059 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
15060 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
15061 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
15064 cat >>confdefs.h
<<\_ACEOF
15065 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15070 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
15071 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
15072 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
15073 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 ac_wine_try_cflags_saved
=$CFLAGS
15076 CFLAGS
="$CFLAGS -fno-strict-aliasing"
15077 cat >conftest.
$ac_ext <<_ACEOF
15080 cat confdefs.h
>>conftest.
$ac_ext
15081 cat >>conftest.
$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15092 rm -f conftest.
$ac_objext conftest
$ac_exeext
15093 if { (ac_try
="$ac_link"
15094 case "(($ac_try" in
15095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15096 *) ac_try_echo=$ac_try;;
15098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15099 (eval "$ac_link") 2>conftest.er1
15101 grep -v '^ *+' conftest.er1 >conftest.err
15103 cat conftest.err >&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } &&
15106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15116 { ac_try
='test -s conftest$ac_exeext'
15117 { (case "(($ac_try" in
15118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15119 *) ac_try_echo=$ac_try;;
15121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15122 (eval "$ac_try") 2>&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; }; then
15126 ac_cv_c_gcc_no_strict_aliasing="yes"
15128 echo "$as_me: failed program was:" >&5
15129 sed 's/^/| /' conftest.$ac_ext >&5
15131 ac_cv_c_gcc_no_strict_aliasing="no"
15134 rm -f core conftest.err conftest.$ac_objext \
15135 conftest$ac_exeext conftest.$ac_ext
15136 CFLAGS=$ac_wine_try_cflags_saved
15138 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
15139 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
15140 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
15142 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15145 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
15146 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
15147 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
15148 echo $ECHO_N "(cached) $ECHO_C" >&6
15150 ac_wine_try_cflags_saved=$CFLAGS
15151 CFLAGS="$CFLAGS -gstabs+"
15152 cat >conftest.$ac_ext <<_ACEOF
15155 cat confdefs.h >>conftest.$ac_ext
15156 cat >>conftest.$ac_ext <<_ACEOF
15157 /* end confdefs.h. */
15167 rm -f conftest.$ac_objext conftest$ac_exeext
15168 if { (ac_try="$ac_link"
15169 case "(($ac_try" in
15170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15171 *) ac_try_echo
=$ac_try;;
15173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15174 (eval "$ac_link") 2>conftest.er1
15176 grep -v '^ *+' conftest.er1
>conftest.err
15178 cat conftest.err
>&5
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } &&
15181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15191 { ac_try='test -s conftest$ac_exeext'
15192 { (case "(($ac_try" in
15193 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15194 *) ac_try_echo
=$ac_try;;
15196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15197 (eval "$ac_try") 2>&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; }; then
15201 ac_cv_c_gcc_gstabs
="yes"
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.
$ac_ext >&5
15206 ac_cv_c_gcc_gstabs
="no"
15209 rm -f core conftest.err conftest.
$ac_objext \
15210 conftest
$ac_exeext conftest.
$ac_ext
15211 CFLAGS
=$ac_wine_try_cflags_saved
15213 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
15214 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
15215 if test "$ac_cv_c_gcc_gstabs" = "yes"
15217 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
15220 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
15221 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
15222 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15225 ac_wine_try_cflags_saved
=$CFLAGS
15226 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
15227 cat >conftest.
$ac_ext <<_ACEOF
15230 cat confdefs.h
>>conftest.
$ac_ext
15231 cat >>conftest.
$ac_ext <<_ACEOF
15232 /* end confdefs.h. */
15242 rm -f conftest.
$ac_objext conftest
$ac_exeext
15243 if { (ac_try
="$ac_link"
15244 case "(($ac_try" in
15245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15246 *) ac_try_echo=$ac_try;;
15248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15249 (eval "$ac_link") 2>conftest.er1
15251 grep -v '^ *+' conftest.er1 >conftest.err
15253 cat conftest.err >&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } &&
15256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15266 { ac_try
='test -s conftest$ac_exeext'
15267 { (case "(($ac_try" in
15268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15269 *) ac_try_echo=$ac_try;;
15271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15272 (eval "$ac_try") 2>&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); }; }; then
15276 ac_cv_c_gcc_decl_after_statement="yes"
15278 echo "$as_me: failed program was:" >&5
15279 sed 's/^/| /' conftest.$ac_ext >&5
15281 ac_cv_c_gcc_decl_after_statement="no"
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15286 CFLAGS=$ac_wine_try_cflags_saved
15288 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
15289 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
15290 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
15292 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15295 saved_CFLAGS="$CFLAGS"
15296 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15297 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15298 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15299 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15302 cat >conftest.$ac_ext <<_ACEOF
15305 cat confdefs.h >>conftest.$ac_ext
15306 cat >>conftest.$ac_ext <<_ACEOF
15307 /* end confdefs.h. */
15308 #include <string.h>
15317 rm -f conftest.$ac_objext
15318 if { (ac_try="$ac_compile"
15319 case "(($ac_try" in
15320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15321 *) ac_try_echo
=$ac_try;;
15323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15324 (eval "$ac_compile") 2>conftest.er1
15326 grep -v '^ *+' conftest.er1
>conftest.err
15328 cat conftest.err
>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); } &&
15331 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15332 { (case "(($ac_try" in
15333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15334 *) ac_try_echo=$ac_try;;
15336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15337 (eval "$ac_try") 2>&5
15339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); }; } &&
15341 { ac_try='test -s conftest.$ac_objext'
15342 { (case "(($ac_try" in
15343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15344 *) ac_try_echo
=$ac_try;;
15346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15347 (eval "$ac_try") 2>&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; }; then
15351 ac_cv_c_string_h_warnings
=no
15353 echo "$as_me: failed program was:" >&5
15354 sed 's/^/| /' conftest.
$ac_ext >&5
15356 ac_cv_c_string_h_warnings
=yes
15359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15361 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15362 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15363 CFLAGS
="$saved_CFLAGS"
15364 if test "$ac_cv_c_string_h_warnings" = "no"
15366 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
15371 saved_CFLAGS
="$CFLAGS"
15372 CFLAGS
="$CFLAGS -Werror"
15373 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15374 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15375 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15376 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 cat >conftest.
$ac_ext <<_ACEOF
15381 cat confdefs.h
>>conftest.
$ac_ext
15382 cat >>conftest.
$ac_ext <<_ACEOF
15383 /* end confdefs.h. */
15388 int iswlower(unsigned short);
15393 rm -f conftest.
$ac_objext
15394 if { (ac_try
="$ac_compile"
15395 case "(($ac_try" in
15396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15397 *) ac_try_echo=$ac_try;;
15399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15400 (eval "$ac_compile") 2>conftest.er1
15402 grep -v '^ *+' conftest.er1 >conftest.err
15404 cat conftest.err >&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); } &&
15407 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15417 { ac_try
='test -s conftest.$ac_objext'
15418 { (case "(($ac_try" in
15419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15420 *) ac_try_echo=$ac_try;;
15422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15423 (eval "$ac_try") 2>&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); }; }; then
15427 ac_cv_c_builtin_wchar_ctype=no
15429 echo "$as_me: failed program was:" >&5
15430 sed 's/^/| /' conftest.$ac_ext >&5
15432 ac_cv_c_builtin_wchar_ctype=yes
15435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15437 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15438 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15439 CFLAGS="$saved_CFLAGS"
15440 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15442 BUILTINFLAG="-fno-builtin"
15447 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15448 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15449 if test "${ac_cv_asm_func_def+set}" = set; then
15450 echo $ECHO_N "(cached) $ECHO_C" >&6
15452 cat >conftest.$ac_ext <<_ACEOF
15455 cat confdefs.h >>conftest.$ac_ext
15456 cat >>conftest.$ac_ext <<_ACEOF
15457 /* end confdefs.h. */
15458 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"); }
15468 rm -f conftest.$ac_objext conftest$ac_exeext
15469 if { (ac_try="$ac_link"
15470 case "(($ac_try" in
15471 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15472 *) ac_try_echo
=$ac_try;;
15474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15475 (eval "$ac_link") 2>conftest.er1
15477 grep -v '^ *+' conftest.er1
>conftest.err
15479 cat conftest.err
>&5
15480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481 (exit $ac_status); } &&
15482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15483 { (case "(($ac_try" in
15484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15485 *) ac_try_echo=$ac_try;;
15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15488 (eval "$ac_try") 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; } &&
15492 { ac_try='test -s conftest$ac_exeext'
15493 { (case "(($ac_try" in
15494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15495 *) ac_try_echo
=$ac_try;;
15497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15498 (eval "$ac_try") 2>&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }; }; then
15502 ac_cv_asm_func_def
=".def"
15504 echo "$as_me: failed program was:" >&5
15505 sed 's/^/| /' conftest.
$ac_ext >&5
15507 cat >conftest.
$ac_ext <<_ACEOF
15510 cat confdefs.h
>>conftest.
$ac_ext
15511 cat >>conftest.
$ac_ext <<_ACEOF
15512 /* end confdefs.h. */
15513 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
15523 rm -f conftest.
$ac_objext conftest
$ac_exeext
15524 if { (ac_try
="$ac_link"
15525 case "(($ac_try" in
15526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15527 *) ac_try_echo=$ac_try;;
15529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15530 (eval "$ac_link") 2>conftest.er1
15532 grep -v '^ *+' conftest.er1 >conftest.err
15534 cat conftest.err >&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } &&
15537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15538 { (case "(($ac_try" in
15539 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15540 *) ac_try_echo
=$ac_try;;
15542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15543 (eval "$ac_try") 2>&5
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; } &&
15547 { ac_try
='test -s conftest$ac_exeext'
15548 { (case "(($ac_try" in
15549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15550 *) ac_try_echo=$ac_try;;
15552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15553 (eval "$ac_try") 2>&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; }; then
15557 ac_cv_asm_func_def=".type @function"
15559 echo "$as_me: failed program was:" >&5
15560 sed 's/^/| /' conftest.$ac_ext >&5
15562 cat >conftest.$ac_ext <<_ACEOF
15565 cat confdefs.h >>conftest.$ac_ext
15566 cat >>conftest.$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
15578 rm -f conftest.$ac_objext conftest$ac_exeext
15579 if { (ac_try="$ac_link"
15580 case "(($ac_try" in
15581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15582 *) ac_try_echo
=$ac_try;;
15584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15585 (eval "$ac_link") 2>conftest.er1
15587 grep -v '^ *+' conftest.er1
>conftest.err
15589 cat conftest.err
>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); } &&
15592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15593 { (case "(($ac_try" in
15594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15595 *) ac_try_echo=$ac_try;;
15597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15598 (eval "$ac_try") 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; } &&
15602 { ac_try='test -s conftest$ac_exeext'
15603 { (case "(($ac_try" in
15604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15605 *) ac_try_echo
=$ac_try;;
15607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15608 (eval "$ac_try") 2>&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; }; then
15612 ac_cv_asm_func_def
=".type 2"
15614 echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.
$ac_ext >&5
15617 ac_cv_asm_func_def
="unknown"
15620 rm -f core conftest.err conftest.
$ac_objext \
15621 conftest
$ac_exeext conftest.
$ac_ext
15624 rm -f core conftest.err conftest.
$ac_objext \
15625 conftest
$ac_exeext conftest.
$ac_ext
15628 rm -f core conftest.err conftest.
$ac_objext \
15629 conftest
$ac_exeext conftest.
$ac_ext
15631 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15632 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15636 case "$ac_cv_asm_func_def" in
15638 cat >>confdefs.h
<<\_ACEOF
15639 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15643 cat >>confdefs.h
<<\_ACEOF
15644 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15648 cat >>confdefs.h
<<\_ACEOF
15649 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15653 cat >>confdefs.h
<<\_ACEOF
15654 #define __ASM_FUNC(name) ""
15660 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15661 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15662 if test "${ac_cv_c_extern_prefix+set}" = set; then
15663 echo $ECHO_N "(cached) $ECHO_C" >&6
15665 cat >conftest.
$ac_ext <<_ACEOF
15668 cat confdefs.h
>>conftest.
$ac_ext
15669 cat >>conftest.
$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15671 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15672 extern int ac_test;
15676 if (ac_test) return 1
15681 rm -f conftest.
$ac_objext conftest
$ac_exeext
15682 if { (ac_try
="$ac_link"
15683 case "(($ac_try" in
15684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15685 *) ac_try_echo=$ac_try;;
15687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15688 (eval "$ac_link") 2>conftest.er1
15690 grep -v '^ *+' conftest.er1 >conftest.err
15692 cat conftest.err >&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); } &&
15695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15696 { (case "(($ac_try" in
15697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15698 *) ac_try_echo
=$ac_try;;
15700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15701 (eval "$ac_try") 2>&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; } &&
15705 { ac_try
='test -s conftest$ac_exeext'
15706 { (case "(($ac_try" in
15707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15708 *) ac_try_echo=$ac_try;;
15710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15711 (eval "$ac_try") 2>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; }; then
15715 ac_cv_c_extern_prefix="yes"
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15720 ac_cv_c_extern_prefix="no"
15723 rm -f core conftest.err conftest.$ac_objext \
15724 conftest$ac_exeext conftest.$ac_ext
15726 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15727 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15731 if test "$ac_cv_c_extern_prefix" = "yes"
15733 cat >>confdefs.h <<\_ACEOF
15734 #define __ASM_NAME(name) "_" name
15738 cat >>confdefs.h <<\_ACEOF
15739 #define __ASM_NAME(name) name
15747 DLLFLAGS="-D_REENTRANT"
15762 if test -n "$ac_tool_prefix"; then
15763 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15764 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15767 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15768 echo $ECHO_N "(cached) $ECHO_C" >&6
15770 if test -n "$DLLTOOL"; then
15771 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15774 for as_dir in $PATH
15777 test -z "$as_dir" && as_dir=.
15778 for ac_exec_ext in '' $ac_executable_extensions; do
15779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15780 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15790 DLLTOOL=$ac_cv_prog_DLLTOOL
15791 if test -n "$DLLTOOL"; then
15792 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15793 echo "${ECHO_T}$DLLTOOL" >&6; }
15795 { echo "$as_me:$LINENO: result: no" >&5
15796 echo "${ECHO_T}no" >&6; }
15801 if test -z "$ac_cv_prog_DLLTOOL"; then
15802 ac_ct_DLLTOOL=$DLLTOOL
15803 # Extract the first word of "dlltool", so it can be a program name with args.
15804 set dummy dlltool; ac_word=$2
15805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15807 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15808 echo $ECHO_N "(cached) $ECHO_C" >&6
15810 if test -n "$ac_ct_DLLTOOL"; then
15811 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15814 for as_dir in $PATH
15817 test -z "$as_dir" && as_dir=.
15818 for ac_exec_ext in '' $ac_executable_extensions; do
15819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15820 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15830 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15831 if test -n "$ac_ct_DLLTOOL"; then
15832 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15833 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15835 { echo "$as_me:$LINENO: result: no" >&5
15836 echo "${ECHO_T}no" >&6; }
15839 if test "x$ac_ct_DLLTOOL" = x; then
15842 case $cross_compiling:$ac_tool_warned in
15844 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15845 whose name does not start with the host triplet. If you think this
15846 configuration is useful to you, please write to autoconf@gnu.org." >&5
15847 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15848 whose name does not start with the host triplet. If you think this
15849 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15850 ac_tool_warned=yes ;;
15852 DLLTOOL=$ac_ct_DLLTOOL
15855 DLLTOOL="$ac_cv_prog_DLLTOOL"
15858 if test -n "$ac_tool_prefix"; then
15859 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15860 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15863 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15866 if test -n "$DLLWRAP"; then
15867 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15870 for as_dir in $PATH
15873 test -z "$as_dir" && as_dir=.
15874 for ac_exec_ext in '' $ac_executable_extensions; do
15875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15876 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15886 DLLWRAP=$ac_cv_prog_DLLWRAP
15887 if test -n "$DLLWRAP"; then
15888 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15889 echo "${ECHO_T}$DLLWRAP" >&6; }
15891 { echo "$as_me:$LINENO: result: no" >&5
15892 echo "${ECHO_T}no" >&6; }
15897 if test -z "$ac_cv_prog_DLLWRAP"; then
15898 ac_ct_DLLWRAP=$DLLWRAP
15899 # Extract the first word of "dllwrap", so it can be a program name with args.
15900 set dummy dllwrap; ac_word=$2
15901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15903 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15904 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 if test -n "$ac_ct_DLLWRAP"; then
15907 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15910 for as_dir in $PATH
15913 test -z "$as_dir" && as_dir=.
15914 for ac_exec_ext in '' $ac_executable_extensions; do
15915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15916 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15926 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15927 if test -n "$ac_ct_DLLWRAP"; then
15928 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15929 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15931 { echo "$as_me:$LINENO: result: no" >&5
15932 echo "${ECHO_T}no" >&6; }
15935 if test "x$ac_ct_DLLWRAP" = x; then
15938 case $cross_compiling:$ac_tool_warned in
15940 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15941 whose name does not start with the host triplet. If you think this
15942 configuration is useful to you, please write to autoconf@gnu.org." >&5
15943 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15944 whose name does not start with the host triplet. If you think this
15945 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15946 ac_tool_warned=yes ;;
15948 DLLWRAP=$ac_ct_DLLWRAP
15951 DLLWRAP="$ac_cv_prog_DLLWRAP"
15954 if test "$DLLWRAP" = "false"; then
15964 if test "$ac_cv_header_dlfcn_h" = "yes"
15967 for ac_func in dlopen
15969 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
15970 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15972 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15975 cat >conftest.$ac_ext <<_ACEOF
15978 cat confdefs.h >>conftest.$ac_ext
15979 cat >>conftest.$ac_ext <<_ACEOF
15980 /* end confdefs.h. */
15981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15983 #define $ac_func innocuous_$ac_func
15985 /* System header to define __stub macros and hopefully few prototypes,
15986 which can conflict with char $ac_func (); below.
15987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15988 <limits.h> exists even on freestanding compilers. */
15991 # include <limits.h>
15993 # include <assert.h>
15998 /* Override any GCC internal prototype to avoid an error.
15999 Use char because int might match the return type of a GCC
16000 builtin and then its argument prototype would still apply. */
16005 /* The GNU C library defines this for functions which it implements
16006 to always fail with ENOSYS. Some functions are actually named
16007 something starting with __ and the normal name is an alias. */
16008 #if defined __stub_$ac_func || defined __stub___$ac_func
16015 return $ac_func ();
16020 rm -f conftest.$ac_objext conftest$ac_exeext
16021 if { (ac_try="$ac_link"
16022 case "(($ac_try" in
16023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16024 *) ac_try_echo
=$ac_try;;
16026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16027 (eval "$ac_link") 2>conftest.er1
16029 grep -v '^ *+' conftest.er1
>conftest.err
16031 cat conftest.err
>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16035 { (case "(($ac_try" in
16036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16037 *) ac_try_echo=$ac_try;;
16039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16040 (eval "$ac_try") 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; } &&
16044 { ac_try='test -s conftest$ac_exeext'
16045 { (case "(($ac_try" in
16046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16047 *) ac_try_echo
=$ac_try;;
16049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16050 (eval "$ac_try") 2>&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; }; then
16054 eval "$as_ac_var=yes"
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.
$ac_ext >&5
16059 eval "$as_ac_var=no"
16062 rm -f core conftest.err conftest.
$ac_objext \
16063 conftest
$ac_exeext conftest.
$ac_ext
16065 ac_res
=`eval echo '${'$as_ac_var'}'`
16066 { echo "$as_me:$LINENO: result: $ac_res" >&5
16067 echo "${ECHO_T}$ac_res" >&6; }
16068 if test `eval echo '${'$as_ac_var'}'` = yes; then
16069 cat >>confdefs.h
<<_ACEOF
16070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16074 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16075 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16076 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16077 echo $ECHO_N "(cached) $ECHO_C" >&6
16079 ac_check_lib_save_LIBS
=$LIBS
16081 cat >conftest.
$ac_ext <<_ACEOF
16084 cat confdefs.h
>>conftest.
$ac_ext
16085 cat >>conftest.
$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16088 /* Override any GCC internal prototype to avoid an error.
16089 Use char because int might match the return type of a GCC
16090 builtin and then its argument prototype would still apply. */
16103 rm -f conftest.
$ac_objext conftest
$ac_exeext
16104 if { (ac_try
="$ac_link"
16105 case "(($ac_try" in
16106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16107 *) ac_try_echo=$ac_try;;
16109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16110 (eval "$ac_link") 2>conftest.er1
16112 grep -v '^ *+' conftest.er1 >conftest.err
16114 cat conftest.err >&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); } &&
16117 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16118 { (case "(($ac_try" in
16119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16120 *) ac_try_echo
=$ac_try;;
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 (eval "$ac_try") 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; } &&
16127 { ac_try
='test -s conftest$ac_exeext'
16128 { (case "(($ac_try" in
16129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_try") 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; }; then
16137 ac_cv_lib_dl_dlopen=yes
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.$ac_ext >&5
16142 ac_cv_lib_dl_dlopen=no
16145 rm -f core conftest.err conftest.$ac_objext \
16146 conftest$ac_exeext conftest.$ac_ext
16147 LIBS=$ac_check_lib_save_LIBS
16149 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16150 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16151 if test $ac_cv_lib_dl_dlopen = yes; then
16153 cat >>confdefs.h <<\_ACEOF
16154 #define HAVE_DLOPEN 1
16165 ac_wine_check_funcs_save_LIBS="$LIBS"
16166 LIBS="$LIBS $DLLIBS"
16168 for ac_func in dladdr
16170 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
16171 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16173 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16174 echo $ECHO_N "(cached) $ECHO_C" >&6
16176 cat >conftest.$ac_ext <<_ACEOF
16179 cat confdefs.h >>conftest.$ac_ext
16180 cat >>conftest.$ac_ext <<_ACEOF
16181 /* end confdefs.h. */
16182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16184 #define $ac_func innocuous_$ac_func
16186 /* System header to define __stub macros and hopefully few prototypes,
16187 which can conflict with char $ac_func (); below.
16188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16189 <limits.h> exists even on freestanding compilers. */
16192 # include <limits.h>
16194 # include <assert.h>
16199 /* Override any GCC internal prototype to avoid an error.
16200 Use char because int might match the return type of a GCC
16201 builtin and then its argument prototype would still apply. */
16206 /* The GNU C library defines this for functions which it implements
16207 to always fail with ENOSYS. Some functions are actually named
16208 something starting with __ and the normal name is an alias. */
16209 #if defined __stub_$ac_func || defined __stub___$ac_func
16216 return $ac_func ();
16221 rm -f conftest.$ac_objext conftest$ac_exeext
16222 if { (ac_try="$ac_link"
16223 case "(($ac_try" in
16224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16225 *) ac_try_echo
=$ac_try;;
16227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16228 (eval "$ac_link") 2>conftest.er1
16230 grep -v '^ *+' conftest.er1
>conftest.err
16232 cat conftest.err
>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } &&
16235 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16245 { ac_try='test -s conftest$ac_exeext'
16246 { (case "(($ac_try" in
16247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16248 *) ac_try_echo
=$ac_try;;
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_try") 2>&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; }; then
16255 eval "$as_ac_var=yes"
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.
$ac_ext >&5
16260 eval "$as_ac_var=no"
16263 rm -f core conftest.err conftest.
$ac_objext \
16264 conftest
$ac_exeext conftest.
$ac_ext
16266 ac_res
=`eval echo '${'$as_ac_var'}'`
16267 { echo "$as_me:$LINENO: result: $ac_res" >&5
16268 echo "${ECHO_T}$ac_res" >&6; }
16269 if test `eval echo '${'$as_ac_var'}'` = yes; then
16270 cat >>confdefs.h
<<_ACEOF
16271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16277 LIBS
="$ac_wine_check_funcs_save_LIBS"
16282 if test "$LIBEXT" = "so"
16284 DLLFLAGS
="$DLLFLAGS -fPIC"
16286 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
16287 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
16288 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16291 ac_wine_try_cflags_saved
=$CFLAGS
16292 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
16293 cat >conftest.
$ac_ext <<_ACEOF
16296 rm -f conftest.
$ac_objext conftest
$ac_exeext
16297 if { (ac_try
="$ac_link"
16298 case "(($ac_try" in
16299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16300 *) ac_try_echo=$ac_try;;
16302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16303 (eval "$ac_link") 2>conftest.er1
16305 grep -v '^ *+' conftest.er1 >conftest.err
16307 cat conftest.err >&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } &&
16310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16311 { (case "(($ac_try" in
16312 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16313 *) ac_try_echo
=$ac_try;;
16315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16316 (eval "$ac_try") 2>&5
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); }; } &&
16320 { ac_try
='test -s conftest$ac_exeext'
16321 { (case "(($ac_try" in
16322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16323 *) ac_try_echo=$ac_try;;
16325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16326 (eval "$ac_try") 2>&5
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); }; }; then
16330 ac_cv_c_dll_gnuelf="yes"
16332 echo "$as_me: failed program was:" >&5
16333 sed 's/^/| /' conftest.$ac_ext >&5
16335 ac_cv_c_dll_gnuelf="no"
16338 rm -f core conftest.err conftest.$ac_objext \
16339 conftest$ac_exeext conftest.$ac_ext
16340 CFLAGS=$ac_wine_try_cflags_saved
16342 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
16343 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
16344 if test "$ac_cv_c_dll_gnuelf" = "yes"
16346 LDSHARED="\$(CC) -shared"
16347 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
16348 { echo "$as_me:$LINENO: checking whether the linker accepts soname" >&5
16349 echo $ECHO_N "checking whether the linker accepts soname... $ECHO_C" >&6; }
16350 if test "${ac_cv_c_sonames+set}" = set; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16353 ac_wine_try_cflags_saved=$CFLAGS
16354 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
16355 cat >conftest.$ac_ext <<_ACEOF
16358 cat confdefs.h >>conftest.$ac_ext
16359 cat >>conftest.$ac_ext <<_ACEOF
16360 /* end confdefs.h. */
16370 rm -f conftest.$ac_objext conftest$ac_exeext
16371 if { (ac_try="$ac_link"
16372 case "(($ac_try" in
16373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16374 *) ac_try_echo
=$ac_try;;
16376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16377 (eval "$ac_link") 2>conftest.er1
16379 grep -v '^ *+' conftest.er1
>conftest.err
16381 cat conftest.err
>&5
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); } &&
16384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16385 { (case "(($ac_try" in
16386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16387 *) ac_try_echo=$ac_try;;
16389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16390 (eval "$ac_try") 2>&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try='test -s conftest$ac_exeext'
16395 { (case "(($ac_try" in
16396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16397 *) ac_try_echo
=$ac_try;;
16399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16400 (eval "$ac_try") 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; }; then
16404 ac_cv_c_sonames
="yes"
16406 echo "$as_me: failed program was:" >&5
16407 sed 's/^/| /' conftest.
$ac_ext >&5
16409 ac_cv_c_sonames
="no"
16412 rm -f core conftest.err conftest.
$ac_objext \
16413 conftest
$ac_exeext conftest.
$ac_ext
16414 CFLAGS
=$ac_wine_try_cflags_saved
16416 { echo "$as_me:$LINENO: result: $ac_cv_c_sonames" >&5
16417 echo "${ECHO_T}$ac_cv_c_sonames" >&6; }
16418 if test "$ac_cv_c_sonames" = "yes"
16420 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
16422 { echo "$as_me:$LINENO: checking check to see if -h soname is an alternate" >&5
16423 echo $ECHO_N "checking check to see if -h soname is an alternate... $ECHO_C" >&6; }
16424 if test "${ac_cv_c_h_sonames+set}" = set; then
16425 echo $ECHO_N "(cached) $ECHO_C" >&6
16427 ac_wine_try_cflags_saved
=$CFLAGS
16428 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
16429 cat >conftest.
$ac_ext <<_ACEOF
16432 cat confdefs.h
>>conftest.
$ac_ext
16433 cat >>conftest.
$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16444 rm -f conftest.
$ac_objext conftest
$ac_exeext
16445 if { (ac_try
="$ac_link"
16446 case "(($ac_try" in
16447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16448 *) ac_try_echo=$ac_try;;
16450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16451 (eval "$ac_link") 2>conftest.er1
16453 grep -v '^ *+' conftest.er1 >conftest.err
16455 cat conftest.err >&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); } &&
16458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16459 { (case "(($ac_try" in
16460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16461 *) ac_try_echo
=$ac_try;;
16463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16464 (eval "$ac_try") 2>&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; } &&
16468 { ac_try
='test -s conftest$ac_exeext'
16469 { (case "(($ac_try" in
16470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16471 *) ac_try_echo=$ac_try;;
16473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16474 (eval "$ac_try") 2>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; }; then
16478 ac_cv_c_h_sonames="yes"
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.$ac_ext >&5
16483 ac_cv_c_h_sonames="no"
16486 rm -f core conftest.err conftest.$ac_objext \
16487 conftest$ac_exeext conftest.$ac_ext
16488 CFLAGS=$ac_wine_try_cflags_saved
16490 { echo "$as_me:$LINENO: result: $ac_cv_c_h_sonames" >&5
16491 echo "${ECHO_T}$ac_cv_c_h_sonames" >&6; }
16492 if test "$ac_cv_c_h_sonames" = "yes"
16494 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
16498 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
16499 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
16500 if test "${ac_cv_c_dll_zdefs+set}" = set; then
16501 echo $ECHO_N "(cached) $ECHO_C" >&6
16503 ac_wine_try_cflags_saved=$CFLAGS
16504 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
16505 cat >conftest.$ac_ext <<_ACEOF
16508 cat confdefs.h >>conftest.$ac_ext
16509 cat >>conftest.$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16520 rm -f conftest.$ac_objext conftest$ac_exeext
16521 if { (ac_try="$ac_link"
16522 case "(($ac_try" in
16523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16524 *) ac_try_echo
=$ac_try;;
16526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16527 (eval "$ac_link") 2>conftest.er1
16529 grep -v '^ *+' conftest.er1
>conftest.err
16531 cat conftest.err
>&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); } &&
16534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16544 { ac_try='test -s conftest$ac_exeext'
16545 { (case "(($ac_try" in
16546 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16547 *) ac_try_echo
=$ac_try;;
16549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16550 (eval "$ac_try") 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_cv_c_dll_zdefs
="yes"
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.
$ac_ext >&5
16559 ac_cv_c_dll_zdefs
="no"
16562 rm -f core conftest.err conftest.
$ac_objext \
16563 conftest
$ac_exeext conftest.
$ac_ext
16564 CFLAGS
=$ac_wine_try_cflags_saved
16566 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
16567 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
16568 if test "$ac_cv_c_dll_zdefs" = "yes"
16570 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
16573 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
16574 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
16575 if test "${ac_cv_c_dll_init_fini+set}" = set; then
16576 echo $ECHO_N "(cached) $ECHO_C" >&6
16578 ac_wine_try_cflags_saved
=$CFLAGS
16579 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
16580 cat >conftest.
$ac_ext <<_ACEOF
16583 cat confdefs.h
>>conftest.
$ac_ext
16584 cat >>conftest.
$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16595 rm -f conftest.
$ac_objext conftest
$ac_exeext
16596 if { (ac_try
="$ac_link"
16597 case "(($ac_try" in
16598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16599 *) ac_try_echo=$ac_try;;
16601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16602 (eval "$ac_link") 2>conftest.er1
16604 grep -v '^ *+' conftest.er1 >conftest.err
16606 cat conftest.err >&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } &&
16609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16610 { (case "(($ac_try" in
16611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16612 *) ac_try_echo
=$ac_try;;
16614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16615 (eval "$ac_try") 2>&5
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); }; } &&
16619 { ac_try
='test -s conftest$ac_exeext'
16620 { (case "(($ac_try" in
16621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16622 *) ac_try_echo=$ac_try;;
16624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16625 (eval "$ac_try") 2>&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; }; then
16629 ac_cv_c_dll_init_fini="yes"
16631 echo "$as_me: failed program was:" >&5
16632 sed 's/^/| /' conftest.$ac_ext >&5
16634 ac_cv_c_dll_init_fini="no"
16637 rm -f core conftest.err conftest.$ac_objext \
16638 conftest$ac_exeext conftest.$ac_ext
16639 CFLAGS=$ac_wine_try_cflags_saved
16641 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
16642 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
16643 if test "$ac_cv_c_dll_init_fini" = "yes"
16645 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
16648 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
16649 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
16650 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16653 echo '{ global: *; };' >conftest.map
16654 ac_wine_try_cflags_saved=$CFLAGS
16655 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
16656 cat >conftest.$ac_ext <<_ACEOF
16659 cat confdefs.h >>conftest.$ac_ext
16660 cat >>conftest.$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16671 rm -f conftest.$ac_objext conftest$ac_exeext
16672 if { (ac_try="$ac_link"
16673 case "(($ac_try" in
16674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16675 *) ac_try_echo
=$ac_try;;
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_link") 2>conftest.er1
16680 grep -v '^ *+' conftest.er1
>conftest.err
16682 cat conftest.err
>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } &&
16685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16686 { (case "(($ac_try" in
16687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16688 *) ac_try_echo=$ac_try;;
16690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16691 (eval "$ac_try") 2>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; } &&
16695 { ac_try='test -s conftest$ac_exeext'
16696 { (case "(($ac_try" in
16697 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16698 *) ac_try_echo
=$ac_try;;
16700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16701 (eval "$ac_try") 2>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; }; then
16705 ac_cv_c_ld_version_scripts
="yes"
16707 echo "$as_me: failed program was:" >&5
16708 sed 's/^/| /' conftest.
$ac_ext >&5
16710 ac_cv_c_ld_version_scripts
="no"
16713 rm -f core conftest.err conftest.
$ac_objext \
16714 conftest
$ac_exeext conftest.
$ac_ext
16715 CFLAGS
=$ac_wine_try_cflags_saved
16718 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
16719 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
16720 if test "$ac_cv_c_ld_version_scripts" = "yes"
16722 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
16725 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
16726 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
16727 if test "${ac_cv_c_export_dynamic+set}" = set; then
16728 echo $ECHO_N "(cached) $ECHO_C" >&6
16730 ac_wine_try_cflags_saved
=$CFLAGS
16731 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
16732 cat >conftest.
$ac_ext <<_ACEOF
16735 cat confdefs.h
>>conftest.
$ac_ext
16736 cat >>conftest.
$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16747 rm -f conftest.
$ac_objext conftest
$ac_exeext
16748 if { (ac_try
="$ac_link"
16749 case "(($ac_try" in
16750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16751 *) ac_try_echo=$ac_try;;
16753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16754 (eval "$ac_link") 2>conftest.er1
16756 grep -v '^ *+' conftest.er1 >conftest.err
16758 cat conftest.err >&5
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } &&
16761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16762 { (case "(($ac_try" in
16763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16764 *) ac_try_echo
=$ac_try;;
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_try") 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try
='test -s conftest$ac_exeext'
16772 { (case "(($ac_try" in
16773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16774 *) ac_try_echo=$ac_try;;
16776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16777 (eval "$ac_try") 2>&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; }; then
16781 ac_cv_c_export_dynamic="yes"
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.$ac_ext >&5
16786 ac_cv_c_export_dynamic="no"
16789 rm -f core conftest.err conftest.$ac_objext \
16790 conftest$ac_exeext conftest.$ac_ext
16791 CFLAGS=$ac_wine_try_cflags_saved
16793 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
16794 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
16795 if test "$ac_cv_c_export_dynamic" = "yes"
16797 LDEXECFLAGS="-Wl,--export-dynamic"
16801 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
16802 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
16803 if test "${ac_cv_ld_rpath+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 ac_wine_try_cflags_saved=$CFLAGS
16807 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
16808 cat >conftest.$ac_ext <<_ACEOF
16811 cat confdefs.h >>conftest.$ac_ext
16812 cat >>conftest.$ac_ext <<_ACEOF
16813 /* end confdefs.h. */
16823 rm -f conftest.$ac_objext conftest$ac_exeext
16824 if { (ac_try="$ac_link"
16825 case "(($ac_try" in
16826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16827 *) ac_try_echo
=$ac_try;;
16829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16830 (eval "$ac_link") 2>conftest.er1
16832 grep -v '^ *+' conftest.er1
>conftest.err
16834 cat conftest.err
>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16838 { (case "(($ac_try" in
16839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16840 *) ac_try_echo=$ac_try;;
16842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16843 (eval "$ac_try") 2>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try='test -s conftest$ac_exeext'
16848 { (case "(($ac_try" in
16849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16850 *) ac_try_echo
=$ac_try;;
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_try") 2>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); }; }; then
16857 ac_cv_ld_rpath
="yes"
16859 echo "$as_me: failed program was:" >&5
16860 sed 's/^/| /' conftest.
$ac_ext >&5
16862 ac_cv_ld_rpath
="no"
16865 rm -f core conftest.err conftest.
$ac_objext \
16866 conftest
$ac_exeext conftest.
$ac_ext
16867 CFLAGS
=$ac_wine_try_cflags_saved
16869 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
16870 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
16871 if test "$ac_cv_ld_rpath" = "yes"
16873 LDEXERPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
16875 LDDLLRPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
16880 *i
[3456789]86* | x86_64
)
16881 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
16882 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
16883 if test "${ac_cv_ld_reloc_exec+set}" = set; then
16884 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 ac_wine_try_cflags_saved
=$CFLAGS
16887 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
16888 cat >conftest.
$ac_ext <<_ACEOF
16891 cat confdefs.h
>>conftest.
$ac_ext
16892 cat >>conftest.
$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16903 rm -f conftest.
$ac_objext conftest
$ac_exeext
16904 if { (ac_try
="$ac_link"
16905 case "(($ac_try" in
16906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16907 *) ac_try_echo=$ac_try;;
16909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16910 (eval "$ac_link") 2>conftest.er1
16912 grep -v '^ *+' conftest.er1 >conftest.err
16914 cat conftest.err >&5
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); } &&
16917 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16918 { (case "(($ac_try" in
16919 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16920 *) ac_try_echo
=$ac_try;;
16922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16923 (eval "$ac_try") 2>&5
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try
='test -s conftest$ac_exeext'
16928 { (case "(($ac_try" in
16929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16930 *) ac_try_echo=$ac_try;;
16932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16933 (eval "$ac_try") 2>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; }; then
16937 ac_cv_ld_reloc_exec="yes"
16939 echo "$as_me: failed program was:" >&5
16940 sed 's/^/| /' conftest.$ac_ext >&5
16942 ac_cv_ld_reloc_exec="no"
16945 rm -f core conftest.err conftest.$ac_objext \
16946 conftest$ac_exeext conftest.$ac_ext
16947 CFLAGS=$ac_wine_try_cflags_saved
16949 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
16950 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
16951 if test "$ac_cv_ld_reloc_exec" = "yes"
16953 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16959 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16960 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16961 if test "${ac_cv_c_dll_unixware+set}" = set; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16964 ac_wine_try_cflags_saved=$CFLAGS
16965 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16966 cat >conftest.$ac_ext <<_ACEOF
16969 rm -f conftest.$ac_objext conftest$ac_exeext
16970 if { (ac_try="$ac_link"
16971 case "(($ac_try" in
16972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16973 *) ac_try_echo
=$ac_try;;
16975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16976 (eval "$ac_link") 2>conftest.er1
16978 grep -v '^ *+' conftest.er1
>conftest.err
16980 cat conftest.err
>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } &&
16983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16984 { (case "(($ac_try" in
16985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16986 *) ac_try_echo=$ac_try;;
16988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16989 (eval "$ac_try") 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try='test -s conftest$ac_exeext'
16994 { (case "(($ac_try" in
16995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16996 *) ac_try_echo
=$ac_try;;
16998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16999 (eval "$ac_try") 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; }; then
17003 ac_cv_c_dll_unixware
="yes"
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.
$ac_ext >&5
17008 ac_cv_c_dll_unixware
="no"
17011 rm -f core conftest.err conftest.
$ac_objext \
17012 conftest
$ac_exeext conftest.
$ac_ext
17013 CFLAGS
=$ac_wine_try_cflags_saved
17015 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
17016 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
17017 if test "$ac_cv_c_dll_unixware" = "yes"
17019 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
17020 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
17023 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
17024 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
17025 if test "${ac_cv_c_dll_macho+set}" = set; then
17026 echo $ECHO_N "(cached) $ECHO_C" >&6
17028 ac_wine_try_cflags_saved
=$CFLAGS
17029 CFLAGS
="$CFLAGS -bundle"
17030 cat >conftest.
$ac_ext <<_ACEOF
17033 rm -f conftest.
$ac_objext conftest
$ac_exeext
17034 if { (ac_try
="$ac_link"
17035 case "(($ac_try" in
17036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17037 *) ac_try_echo=$ac_try;;
17039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17040 (eval "$ac_link") 2>conftest.er1
17042 grep -v '^ *+' conftest.er1 >conftest.err
17044 cat conftest.err >&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17048 { (case "(($ac_try" in
17049 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17050 *) ac_try_echo
=$ac_try;;
17052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17053 (eval "$ac_try") 2>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; } &&
17057 { ac_try
='test -s conftest$ac_exeext'
17058 { (case "(($ac_try" in
17059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17060 *) ac_try_echo=$ac_try;;
17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17063 (eval "$ac_try") 2>&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); }; }; then
17067 ac_cv_c_dll_macho="yes"
17069 echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.$ac_ext >&5
17072 ac_cv_c_dll_macho="no"
17075 rm -f core conftest.err conftest.$ac_objext \
17076 conftest$ac_exeext conftest.$ac_ext
17077 CFLAGS=$ac_wine_try_cflags_saved
17079 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
17080 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
17081 if test "$ac_cv_c_dll_macho" = "yes"
17084 LDDLLFLAGS="-bundle -multiply_defined suppress"
17085 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
17086 STRIP="$STRIP -u -r"
17087 COREFOUNDATIONLIB="-framework CoreFoundation"
17089 IOKITLIB="-framework IOKit -framework CoreFoundation"
17091 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
17093 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
17095 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
17100 CFLAGS="$CFLAGS -ffixed-r13"
17101 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"
17106 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
17107 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
17108 if test "${ac_cv_c_dll_hpux+set}" = set; then
17109 echo $ECHO_N "(cached) $ECHO_C" >&6
17111 ac_wine_try_cflags_saved=$CFLAGS
17112 CFLAGS="$CFLAGS -shared"
17113 cat >conftest.$ac_ext <<_ACEOF
17116 rm -f conftest.$ac_objext conftest$ac_exeext
17117 if { (ac_try="$ac_link"
17118 case "(($ac_try" in
17119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17120 *) ac_try_echo
=$ac_try;;
17122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17123 (eval "$ac_link") 2>conftest.er1
17125 grep -v '^ *+' conftest.er1
>conftest.err
17127 cat conftest.err
>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); } &&
17130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17131 { (case "(($ac_try" in
17132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17133 *) ac_try_echo=$ac_try;;
17135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17136 (eval "$ac_try") 2>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; } &&
17140 { ac_try='test -s conftest$ac_exeext'
17141 { (case "(($ac_try" in
17142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17143 *) ac_try_echo
=$ac_try;;
17145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17146 (eval "$ac_try") 2>&5
17148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149 (exit $ac_status); }; }; then
17150 ac_cv_c_dll_hpux
="yes"
17152 echo "$as_me: failed program was:" >&5
17153 sed 's/^/| /' conftest.
$ac_ext >&5
17155 ac_cv_c_dll_hpux
="no"
17158 rm -f core conftest.err conftest.
$ac_objext \
17159 conftest
$ac_exeext conftest.
$ac_ext
17160 CFLAGS
=$ac_wine_try_cflags_saved
17162 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
17163 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
17164 if test "$ac_cv_c_dll_hpux" = "yes"
17168 LDDLLFLAGS
="-shared -fPIC"
17169 LDSHARED
="\$(CC) -shared"
17178 if test "$cross_compiling" = "no"
17180 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
17182 # Extract the first word of "$ac_prog", so it can be a program name with args.
17183 set dummy
$ac_prog; ac_word
=$2
17184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17186 if test "${ac_cv_prog_CROSSCC+set}" = set; then
17187 echo $ECHO_N "(cached) $ECHO_C" >&6
17189 if test -n "$CROSSCC"; then
17190 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
17192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17193 for as_dir
in $PATH
17196 test -z "$as_dir" && as_dir
=.
17197 for ac_exec_ext
in '' $ac_executable_extensions; do
17198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17199 ac_cv_prog_CROSSCC
="$ac_prog"
17200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17209 CROSSCC
=$ac_cv_prog_CROSSCC
17210 if test -n "$CROSSCC"; then
17211 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
17212 echo "${ECHO_T}$CROSSCC" >&6; }
17214 { echo "$as_me:$LINENO: result: no" >&5
17215 echo "${ECHO_T}no" >&6; }
17219 test -n "$CROSSCC" && break
17221 test -n "$CROSSCC" || CROSSCC
="false"
17223 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
17225 # Extract the first word of "$ac_prog", so it can be a program name with args.
17226 set dummy
$ac_prog; ac_word
=$2
17227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17229 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 if test -n "$DLLTOOL"; then
17233 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
17235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17236 for as_dir
in $PATH
17239 test -z "$as_dir" && as_dir
=.
17240 for ac_exec_ext
in '' $ac_executable_extensions; do
17241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17242 ac_cv_prog_DLLTOOL
="$ac_prog"
17243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17252 DLLTOOL
=$ac_cv_prog_DLLTOOL
17253 if test -n "$DLLTOOL"; then
17254 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
17255 echo "${ECHO_T}$DLLTOOL" >&6; }
17257 { echo "$as_me:$LINENO: result: no" >&5
17258 echo "${ECHO_T}no" >&6; }
17262 test -n "$DLLTOOL" && break
17264 test -n "$DLLTOOL" || DLLTOOL
="false"
17266 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
17268 # Extract the first word of "$ac_prog", so it can be a program name with args.
17269 set dummy
$ac_prog; ac_word
=$2
17270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17272 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
17273 echo $ECHO_N "(cached) $ECHO_C" >&6
17275 if test -n "$CROSSWINDRES"; then
17276 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
17278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17279 for as_dir
in $PATH
17282 test -z "$as_dir" && as_dir
=.
17283 for ac_exec_ext
in '' $ac_executable_extensions; do
17284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17285 ac_cv_prog_CROSSWINDRES
="$ac_prog"
17286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17295 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
17296 if test -n "$CROSSWINDRES"; then
17297 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
17298 echo "${ECHO_T}$CROSSWINDRES" >&6; }
17300 { echo "$as_me:$LINENO: result: no" >&5
17301 echo "${ECHO_T}no" >&6; }
17305 test -n "$CROSSWINDRES" && break
17307 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
17309 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
17314 if test "$LIBEXT" = "a"; then
17315 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
17316 It is currently not possible to build Wine without shared library
17317 (.so) support to allow transparent switch between .so and .dll files.
17318 If you are using Linux, you will need a newer binutils.
17320 echo "$as_me: error: could not find a way to build shared libraries.
17321 It is currently not possible to build Wine without shared library
17322 (.so) support to allow transparent switch between .so and .dll files.
17323 If you are using Linux, you will need a newer binutils.
17325 { (exit 1); exit 1; }; }
17330 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
17333 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
17336 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
17344 SOCKETLIBS
="-lws2_32"
17349 MAIN_BINARY
="wine-pthread"
17353 linux
* | k
*bsd
*-gnu)
17354 MAIN_BINARY
="wine-glibc"
17356 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
17363 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
17365 # Extract the first word of "ldd", so it can be a program name with args.
17366 set dummy ldd
; ac_word
=$2
17367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17369 if test "${ac_cv_path_LDD+set}" = set; then
17370 echo $ECHO_N "(cached) $ECHO_C" >&6
17374 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
17377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17378 as_dummy
="/sbin:/usr/sbin:$PATH"
17379 for as_dir
in $as_dummy
17382 test -z "$as_dir" && as_dir
=.
17383 for ac_exec_ext
in '' $ac_executable_extensions; do
17384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17385 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
17386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17393 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
17397 LDD
=$ac_cv_path_LDD
17398 if test -n "$LDD"; then
17399 { echo "$as_me:$LINENO: result: $LDD" >&5
17400 echo "${ECHO_T}$LDD" >&6; }
17402 { echo "$as_me:$LINENO: result: no" >&5
17403 echo "${ECHO_T}no" >&6; }
17407 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
17408 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
17409 if test "${ac_cv_lib_soname_X11+set}" = set; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 ac_get_soname_save_LIBS
=$LIBS
17413 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
17414 cat >conftest.
$ac_ext <<_ACEOF
17417 cat confdefs.h
>>conftest.
$ac_ext
17418 cat >>conftest.
$ac_ext <<_ACEOF
17419 /* end confdefs.h. */
17421 /* Override any GCC internal prototype to avoid an error.
17422 Use char because int might match the return type of a GCC
17423 builtin and then its argument prototype would still apply. */
17427 char XCreateWindow ();
17431 return XCreateWindow ();
17436 rm -f conftest.
$ac_objext conftest
$ac_exeext
17437 if { (ac_try
="$ac_link"
17438 case "(($ac_try" in
17439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17440 *) ac_try_echo=$ac_try;;
17442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17443 (eval "$ac_link") 2>conftest.er1
17445 grep -v '^ *+' conftest.er1 >conftest.err
17447 cat conftest.err >&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } &&
17450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17451 { (case "(($ac_try" in
17452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17453 *) ac_try_echo
=$ac_try;;
17455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17456 (eval "$ac_try") 2>&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; } &&
17460 { ac_try
='test -s conftest$ac_exeext'
17461 { (case "(($ac_try" in
17462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17463 *) ac_try_echo=$ac_try;;
17465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17466 (eval "$ac_try") 2>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17471 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'` ;;
17472 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libX11
\\.so |
sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17474 if test "x$ac_cv_lib_soname_X11" = "x"
17476 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.$ac_ext >&5
17482 ac_cv_lib_soname_X11="libX11.$LIBEXT"
17485 rm -f core conftest.err conftest.$ac_objext \
17486 conftest$ac_exeext conftest.$ac_ext
17487 LIBS=$ac_get_soname_save_LIBS
17489 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
17490 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
17491 if test "${ac_cv_lib_soname_X11+set}" = set; then
17493 cat >>confdefs.h <<_ACEOF
17494 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
17499 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
17500 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
17501 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17502 echo $ECHO_N "(cached) $ECHO_C" >&6
17504 ac_get_soname_save_LIBS=$LIBS
17505 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
17506 cat >conftest.$ac_ext <<_ACEOF
17509 cat confdefs.h >>conftest.$ac_ext
17510 cat >>conftest.$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17513 /* Override any GCC internal prototype to avoid an error.
17514 Use char because int might match the return type of a GCC
17515 builtin and then its argument prototype would still apply. */
17519 char XextCreateExtension ();
17523 return XextCreateExtension ();
17528 rm -f conftest.$ac_objext conftest$ac_exeext
17529 if { (ac_try="$ac_link"
17530 case "(($ac_try" in
17531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17532 *) ac_try_echo
=$ac_try;;
17534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17535 (eval "$ac_link") 2>conftest.er1
17537 grep -v '^ *+' conftest.er1
>conftest.err
17539 cat conftest.err
>&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } &&
17542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17543 { (case "(($ac_try" in
17544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17545 *) ac_try_echo=$ac_try;;
17547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17548 (eval "$ac_try") 2>&5
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try='test -s conftest$ac_exeext'
17553 { (case "(($ac_try" in
17554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17555 *) ac_try_echo
=$ac_try;;
17557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17558 (eval "$ac_try") 2>&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); }; }; then
17563 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'` ;;
17564 so
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17566 if test "x$ac_cv_lib_soname_Xext" = "x"
17568 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
17571 echo "$as_me: failed program was:" >&5
17572 sed 's/^/| /' conftest.
$ac_ext >&5
17574 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
17577 rm -f core conftest.err conftest.
$ac_objext \
17578 conftest
$ac_exeext conftest.
$ac_ext
17579 LIBS
=$ac_get_soname_save_LIBS
17581 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
17582 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
17583 if test "${ac_cv_lib_soname_Xext+set}" = set; then
17585 cat >>confdefs.h
<<_ACEOF
17586 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
17591 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
17592 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
17593 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17596 ac_get_soname_save_LIBS
=$LIBS
17597 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17598 cat >conftest.
$ac_ext <<_ACEOF
17601 cat confdefs.h
>>conftest.
$ac_ext
17602 cat >>conftest.
$ac_ext <<_ACEOF
17603 /* end confdefs.h. */
17605 /* Override any GCC internal prototype to avoid an error.
17606 Use char because int might match the return type of a GCC
17607 builtin and then its argument prototype would still apply. */
17611 char XOpenDevice ();
17615 return XOpenDevice ();
17620 rm -f conftest.
$ac_objext conftest
$ac_exeext
17621 if { (ac_try
="$ac_link"
17622 case "(($ac_try" in
17623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17624 *) ac_try_echo=$ac_try;;
17626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17627 (eval "$ac_link") 2>conftest.er1
17629 grep -v '^ *+' conftest.er1 >conftest.err
17631 cat conftest.err >&5
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); } &&
17634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17635 { (case "(($ac_try" in
17636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17637 *) ac_try_echo
=$ac_try;;
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_try") 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; } &&
17644 { ac_try
='test -s conftest$ac_exeext'
17645 { (case "(($ac_try" in
17646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17647 *) ac_try_echo=$ac_try;;
17649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17650 (eval "$ac_try") 2>&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); }; }; then
17655 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'` ;;
17656 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXi
\\.so |
sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17658 if test "x$ac_cv_lib_soname_Xi" = "x"
17660 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17666 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
17669 rm -f core conftest.err conftest.$ac_objext \
17670 conftest$ac_exeext conftest.$ac_ext
17671 LIBS=$ac_get_soname_save_LIBS
17673 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
17674 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
17675 if test "${ac_cv_lib_soname_Xi+set}" = set; then
17677 cat >>confdefs.h <<_ACEOF
17678 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
17683 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
17684 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
17685 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17686 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 ac_get_soname_save_LIBS=$LIBS
17689 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17690 cat >conftest.$ac_ext <<_ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17697 /* Override any GCC internal prototype to avoid an error.
17698 Use char because int might match the return type of a GCC
17699 builtin and then its argument prototype would still apply. */
17703 char XRenderQueryExtension ();
17707 return XRenderQueryExtension ();
17712 rm -f conftest.$ac_objext conftest$ac_exeext
17713 if { (ac_try="$ac_link"
17714 case "(($ac_try" in
17715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17716 *) ac_try_echo
=$ac_try;;
17718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17719 (eval "$ac_link") 2>conftest.er1
17721 grep -v '^ *+' conftest.er1
>conftest.err
17723 cat conftest.err
>&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } &&
17726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17727 { (case "(($ac_try" in
17728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17729 *) ac_try_echo=$ac_try;;
17731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17732 (eval "$ac_try") 2>&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; } &&
17736 { ac_try='test -s conftest$ac_exeext'
17737 { (case "(($ac_try" in
17738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17739 *) ac_try_echo
=$ac_try;;
17741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17742 (eval "$ac_try") 2>&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; }; then
17747 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'` ;;
17748 so
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17750 if test "x$ac_cv_lib_soname_Xrender" = "x"
17752 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.
$ac_ext >&5
17758 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
17761 rm -f core conftest.err conftest.
$ac_objext \
17762 conftest
$ac_exeext conftest.
$ac_ext
17763 LIBS
=$ac_get_soname_save_LIBS
17765 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
17766 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
17767 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
17769 cat >>confdefs.h
<<_ACEOF
17770 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
17775 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
17776 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
17777 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17778 echo $ECHO_N "(cached) $ECHO_C" >&6
17780 ac_get_soname_save_LIBS
=$LIBS
17781 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
17782 cat >conftest.
$ac_ext <<_ACEOF
17785 cat confdefs.h
>>conftest.
$ac_ext
17786 cat >>conftest.
$ac_ext <<_ACEOF
17787 /* end confdefs.h. */
17789 /* Override any GCC internal prototype to avoid an error.
17790 Use char because int might match the return type of a GCC
17791 builtin and then its argument prototype would still apply. */
17795 char XRRQueryExtension ();
17799 return XRRQueryExtension ();
17804 rm -f conftest.
$ac_objext conftest
$ac_exeext
17805 if { (ac_try
="$ac_link"
17806 case "(($ac_try" in
17807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17808 *) ac_try_echo=$ac_try;;
17810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17811 (eval "$ac_link") 2>conftest.er1
17813 grep -v '^ *+' conftest.er1 >conftest.err
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } &&
17818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17819 { (case "(($ac_try" in
17820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17821 *) ac_try_echo
=$ac_try;;
17823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17824 (eval "$ac_try") 2>&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; } &&
17828 { ac_try
='test -s conftest$ac_exeext'
17829 { (case "(($ac_try" in
17830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17831 *) ac_try_echo=$ac_try;;
17833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17834 (eval "$ac_try") 2>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }; }; then
17839 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'` ;;
17840 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrandr
\\.so |
sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17842 if test "x$ac_cv_lib_soname_Xrandr" = "x"
17844 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.$ac_ext >&5
17850 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
17853 rm -f core conftest.err conftest.$ac_objext \
17854 conftest$ac_exeext conftest.$ac_ext
17855 LIBS=$ac_get_soname_save_LIBS
17857 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
17858 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
17859 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
17861 cat >>confdefs.h <<_ACEOF
17862 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
17867 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
17868 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
17869 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17870 echo $ECHO_N "(cached) $ECHO_C" >&6
17872 ac_get_soname_save_LIBS=$LIBS
17873 LIBS="-lfreetype $X_LIBS $LIBS"
17874 cat >conftest.$ac_ext <<_ACEOF
17877 cat confdefs.h >>conftest.$ac_ext
17878 cat >>conftest.$ac_ext <<_ACEOF
17879 /* end confdefs.h. */
17881 /* Override any GCC internal prototype to avoid an error.
17882 Use char because int might match the return type of a GCC
17883 builtin and then its argument prototype would still apply. */
17887 char FT_Init_FreeType ();
17891 return FT_Init_FreeType ();
17896 rm -f conftest.$ac_objext conftest$ac_exeext
17897 if { (ac_try="$ac_link"
17898 case "(($ac_try" in
17899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17900 *) ac_try_echo
=$ac_try;;
17902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17903 (eval "$ac_link") 2>conftest.er1
17905 grep -v '^ *+' conftest.er1
>conftest.err
17907 cat conftest.err
>&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); } &&
17910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17911 { (case "(($ac_try" in
17912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17913 *) ac_try_echo=$ac_try;;
17915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17916 (eval "$ac_try") 2>&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; } &&
17920 { ac_try='test -s conftest$ac_exeext'
17921 { (case "(($ac_try" in
17922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17923 *) ac_try_echo
=$ac_try;;
17925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17926 (eval "$ac_try") 2>&5
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; }; then
17931 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'` ;;
17932 so
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17934 if test "x$ac_cv_lib_soname_freetype" = "x"
17936 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
17939 echo "$as_me: failed program was:" >&5
17940 sed 's/^/| /' conftest.
$ac_ext >&5
17942 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
17945 rm -f core conftest.err conftest.
$ac_objext \
17946 conftest
$ac_exeext conftest.
$ac_ext
17947 LIBS
=$ac_get_soname_save_LIBS
17949 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17950 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17951 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17953 cat >>confdefs.h
<<_ACEOF
17954 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17959 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17960 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17961 if test "${ac_cv_lib_soname_GL+set}" = set; then
17962 echo $ECHO_N "(cached) $ECHO_C" >&6
17964 ac_get_soname_save_LIBS
=$LIBS
17965 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17966 cat >conftest.
$ac_ext <<_ACEOF
17969 cat confdefs.h
>>conftest.
$ac_ext
17970 cat >>conftest.
$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17973 /* Override any GCC internal prototype to avoid an error.
17974 Use char because int might match the return type of a GCC
17975 builtin and then its argument prototype would still apply. */
17979 char glXQueryExtension ();
17983 return glXQueryExtension ();
17988 rm -f conftest.
$ac_objext conftest
$ac_exeext
17989 if { (ac_try
="$ac_link"
17990 case "(($ac_try" in
17991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17992 *) ac_try_echo=$ac_try;;
17994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17995 (eval "$ac_link") 2>conftest.er1
17997 grep -v '^ *+' conftest.er1 >conftest.err
17999 cat conftest.err >&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); } &&
18002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18003 { (case "(($ac_try" in
18004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18005 *) ac_try_echo
=$ac_try;;
18007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18008 (eval "$ac_try") 2>&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; } &&
18012 { ac_try
='test -s conftest$ac_exeext'
18013 { (case "(($ac_try" in
18014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18015 *) ac_try_echo=$ac_try;;
18017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18018 (eval "$ac_try") 2>&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; }; then
18023 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'` ;;
18024 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libGL
\\.so |
sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18026 if test "x$ac_cv_lib_soname_GL" = "x"
18028 ac_cv_lib_soname_GL="libGL.$LIBEXT"
18031 echo "$as_me: failed program was:" >&5
18032 sed 's/^/| /' conftest.$ac_ext >&5
18034 ac_cv_lib_soname_GL="libGL.$LIBEXT"
18037 rm -f core conftest.err conftest.$ac_objext \
18038 conftest$ac_exeext conftest.$ac_ext
18039 LIBS=$ac_get_soname_save_LIBS
18041 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
18042 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
18043 if test "${ac_cv_lib_soname_GL+set}" = set; then
18045 cat >>confdefs.h <<_ACEOF
18046 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
18051 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
18052 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
18053 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18054 echo $ECHO_N "(cached) $ECHO_C" >&6
18056 ac_get_soname_save_LIBS=$LIBS
18057 LIBS="-ldbus-1 $LIBS"
18058 cat >conftest.$ac_ext <<_ACEOF
18061 cat confdefs.h >>conftest.$ac_ext
18062 cat >>conftest.$ac_ext <<_ACEOF
18063 /* end confdefs.h. */
18065 /* Override any GCC internal prototype to avoid an error.
18066 Use char because int might match the return type of a GCC
18067 builtin and then its argument prototype would still apply. */
18071 char dbus_error_init ();
18075 return dbus_error_init ();
18080 rm -f conftest.$ac_objext conftest$ac_exeext
18081 if { (ac_try="$ac_link"
18082 case "(($ac_try" in
18083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18084 *) ac_try_echo
=$ac_try;;
18086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18087 (eval "$ac_link") 2>conftest.er1
18089 grep -v '^ *+' conftest.er1
>conftest.err
18091 cat conftest.err
>&5
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); } &&
18094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18095 { (case "(($ac_try" in
18096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18097 *) ac_try_echo=$ac_try;;
18099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18100 (eval "$ac_try") 2>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; } &&
18104 { ac_try='test -s conftest$ac_exeext'
18105 { (case "(($ac_try" in
18106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18107 *) ac_try_echo
=$ac_try;;
18109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18110 (eval "$ac_try") 2>&5
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); }; }; then
18115 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'` ;;
18116 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'` ;;
18118 if test "x$ac_cv_lib_soname_dbus_1" = "x"
18120 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.
$ac_ext >&5
18126 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
18129 rm -f core conftest.err conftest.
$ac_objext \
18130 conftest
$ac_exeext conftest.
$ac_ext
18131 LIBS
=$ac_get_soname_save_LIBS
18133 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
18134 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
18135 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
18137 cat >>confdefs.h
<<_ACEOF
18138 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
18143 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
18144 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
18145 if test "${ac_cv_lib_soname_hal+set}" = set; then
18146 echo $ECHO_N "(cached) $ECHO_C" >&6
18148 ac_get_soname_save_LIBS
=$LIBS
18150 cat >conftest.
$ac_ext <<_ACEOF
18153 cat confdefs.h
>>conftest.
$ac_ext
18154 cat >>conftest.
$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18157 /* Override any GCC internal prototype to avoid an error.
18158 Use char because int might match the return type of a GCC
18159 builtin and then its argument prototype would still apply. */
18163 char libhal_ctx_new ();
18167 return libhal_ctx_new ();
18172 rm -f conftest.
$ac_objext conftest
$ac_exeext
18173 if { (ac_try
="$ac_link"
18174 case "(($ac_try" in
18175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18176 *) ac_try_echo=$ac_try;;
18178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18179 (eval "$ac_link") 2>conftest.er1
18181 grep -v '^ *+' conftest.er1 >conftest.err
18183 cat conftest.err >&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); } &&
18186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18187 { (case "(($ac_try" in
18188 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18189 *) ac_try_echo
=$ac_try;;
18191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18192 (eval "$ac_try") 2>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; } &&
18196 { ac_try
='test -s conftest$ac_exeext'
18197 { (case "(($ac_try" in
18198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18199 *) ac_try_echo=$ac_try;;
18201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18202 (eval "$ac_try") 2>&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); }; }; then
18207 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'` ;;
18208 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.so |
sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18210 if test "x$ac_cv_lib_soname_hal" = "x"
18212 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18215 echo "$as_me: failed program was:" >&5
18216 sed 's/^/| /' conftest.$ac_ext >&5
18218 ac_cv_lib_soname_hal="libhal.$LIBEXT"
18221 rm -f core conftest.err conftest.$ac_objext \
18222 conftest$ac_exeext conftest.$ac_ext
18223 LIBS=$ac_get_soname_save_LIBS
18225 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
18226 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
18227 if test "${ac_cv_lib_soname_hal+set}" = set; then
18229 cat >>confdefs.h <<_ACEOF
18230 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
18235 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
18236 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
18237 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18238 echo $ECHO_N "(cached) $ECHO_C" >&6
18240 ac_get_soname_save_LIBS=$LIBS
18241 LIBS="-ltxc_dxtn $LIBS"
18242 cat >conftest.$ac_ext <<_ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18249 /* Override any GCC internal prototype to avoid an error.
18250 Use char because int might match the return type of a GCC
18251 builtin and then its argument prototype would still apply. */
18255 char fetch_2d_texel_rgba_dxt1 ();
18259 return fetch_2d_texel_rgba_dxt1 ();
18264 rm -f conftest.$ac_objext conftest$ac_exeext
18265 if { (ac_try="$ac_link"
18266 case "(($ac_try" in
18267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18268 *) ac_try_echo
=$ac_try;;
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18271 (eval "$ac_link") 2>conftest.er1
18273 grep -v '^ *+' conftest.er1
>conftest.err
18275 cat conftest.err
>&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } &&
18278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18279 { (case "(($ac_try" in
18280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18281 *) ac_try_echo=$ac_try;;
18283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18284 (eval "$ac_try") 2>&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; } &&
18288 { ac_try='test -s conftest$ac_exeext'
18289 { (case "(($ac_try" in
18290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18291 *) ac_try_echo
=$ac_try;;
18293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18294 (eval "$ac_try") 2>&5
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; }; then
18299 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'` ;;
18300 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'` ;;
18302 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
18304 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
18307 echo "$as_me: failed program was:" >&5
18308 sed 's/^/| /' conftest.
$ac_ext >&5
18310 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
18313 rm -f core conftest.err conftest.
$ac_objext \
18314 conftest
$ac_exeext conftest.
$ac_ext
18315 LIBS
=$ac_get_soname_save_LIBS
18317 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
18318 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
18319 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
18321 cat >>confdefs.h
<<_ACEOF
18322 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
18327 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
18328 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
18329 if test "${ac_cv_lib_soname_cups+set}" = set; then
18330 echo $ECHO_N "(cached) $ECHO_C" >&6
18332 ac_get_soname_save_LIBS
=$LIBS
18333 LIBS
="-lcups $LIBS"
18334 cat >conftest.
$ac_ext <<_ACEOF
18337 cat confdefs.h
>>conftest.
$ac_ext
18338 cat >>conftest.
$ac_ext <<_ACEOF
18339 /* end confdefs.h. */
18341 /* Override any GCC internal prototype to avoid an error.
18342 Use char because int might match the return type of a GCC
18343 builtin and then its argument prototype would still apply. */
18347 char cupsGetDefault ();
18351 return cupsGetDefault ();
18356 rm -f conftest.
$ac_objext conftest
$ac_exeext
18357 if { (ac_try
="$ac_link"
18358 case "(($ac_try" in
18359 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18360 *) ac_try_echo=$ac_try;;
18362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18363 (eval "$ac_link") 2>conftest.er1
18365 grep -v '^ *+' conftest.er1 >conftest.err
18367 cat conftest.err >&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); } &&
18370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18371 { (case "(($ac_try" in
18372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18373 *) ac_try_echo
=$ac_try;;
18375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18376 (eval "$ac_try") 2>&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; } &&
18380 { ac_try
='test -s conftest$ac_exeext'
18381 { (case "(($ac_try" in
18382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18383 *) ac_try_echo=$ac_try;;
18385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18386 (eval "$ac_try") 2>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; }; then
18391 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'` ;;
18392 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.so |
sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18394 if test "x$ac_cv_lib_soname_cups" = "x"
18396 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18399 echo "$as_me: failed program was:" >&5
18400 sed 's/^/| /' conftest.$ac_ext >&5
18402 ac_cv_lib_soname_cups="libcups.$LIBEXT"
18405 rm -f core conftest.err conftest.$ac_objext \
18406 conftest$ac_exeext conftest.$ac_ext
18407 LIBS=$ac_get_soname_save_LIBS
18409 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
18410 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
18411 if test "${ac_cv_lib_soname_cups+set}" = set; then
18413 cat >>confdefs.h <<_ACEOF
18414 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
18419 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
18420 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
18421 if test "${ac_cv_lib_soname_jack+set}" = set; then
18422 echo $ECHO_N "(cached) $ECHO_C" >&6
18424 ac_get_soname_save_LIBS=$LIBS
18425 LIBS="-ljack $LIBS"
18426 cat >conftest.$ac_ext <<_ACEOF
18429 cat confdefs.h >>conftest.$ac_ext
18430 cat >>conftest.$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18433 /* Override any GCC internal prototype to avoid an error.
18434 Use char because int might match the return type of a GCC
18435 builtin and then its argument prototype would still apply. */
18439 char jack_client_new ();
18443 return jack_client_new ();
18448 rm -f conftest.$ac_objext conftest$ac_exeext
18449 if { (ac_try="$ac_link"
18450 case "(($ac_try" in
18451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18452 *) ac_try_echo
=$ac_try;;
18454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18455 (eval "$ac_link") 2>conftest.er1
18457 grep -v '^ *+' conftest.er1
>conftest.err
18459 cat conftest.err
>&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } &&
18462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18463 { (case "(($ac_try" in
18464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18465 *) ac_try_echo=$ac_try;;
18467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18468 (eval "$ac_try") 2>&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; } &&
18472 { ac_try='test -s conftest$ac_exeext'
18473 { (case "(($ac_try" in
18474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18475 *) ac_try_echo
=$ac_try;;
18477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18478 (eval "$ac_try") 2>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; }; then
18483 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'` ;;
18484 so
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18486 if test "x$ac_cv_lib_soname_jack" = "x"
18488 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
18491 echo "$as_me: failed program was:" >&5
18492 sed 's/^/| /' conftest.
$ac_ext >&5
18494 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
18497 rm -f core conftest.err conftest.
$ac_objext \
18498 conftest
$ac_exeext conftest.
$ac_ext
18499 LIBS
=$ac_get_soname_save_LIBS
18501 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
18502 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
18503 if test "${ac_cv_lib_soname_jack+set}" = set; then
18505 cat >>confdefs.h
<<_ACEOF
18506 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
18511 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
18512 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
18513 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18514 echo $ECHO_N "(cached) $ECHO_C" >&6
18516 ac_get_soname_save_LIBS
=$LIBS
18517 LIBS
="-lfontconfig $LIBS"
18518 cat >conftest.
$ac_ext <<_ACEOF
18521 cat confdefs.h
>>conftest.
$ac_ext
18522 cat >>conftest.
$ac_ext <<_ACEOF
18523 /* end confdefs.h. */
18525 /* Override any GCC internal prototype to avoid an error.
18526 Use char because int might match the return type of a GCC
18527 builtin and then its argument prototype would still apply. */
18540 rm -f conftest.
$ac_objext conftest
$ac_exeext
18541 if { (ac_try
="$ac_link"
18542 case "(($ac_try" in
18543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18544 *) ac_try_echo=$ac_try;;
18546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18547 (eval "$ac_link") 2>conftest.er1
18549 grep -v '^ *+' conftest.er1 >conftest.err
18551 cat conftest.err >&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } &&
18554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18555 { (case "(($ac_try" in
18556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18557 *) ac_try_echo
=$ac_try;;
18559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18560 (eval "$ac_try") 2>&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; } &&
18564 { ac_try
='test -s conftest$ac_exeext'
18565 { (case "(($ac_try" in
18566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18567 *) ac_try_echo=$ac_try;;
18569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18570 (eval "$ac_try") 2>&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; }; then
18575 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'` ;;
18576 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.so |
sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18578 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18580 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18583 echo "$as_me: failed program was:" >&5
18584 sed 's/^/| /' conftest.$ac_ext >&5
18586 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
18589 rm -f core conftest.err conftest.$ac_objext \
18590 conftest$ac_exeext conftest.$ac_ext
18591 LIBS=$ac_get_soname_save_LIBS
18593 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
18594 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
18595 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
18597 cat >>confdefs.h <<_ACEOF
18598 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
18603 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
18604 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
18605 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18606 echo $ECHO_N "(cached) $ECHO_C" >&6
18608 ac_get_soname_save_LIBS=$LIBS
18610 cat >conftest.$ac_ext <<_ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18617 /* Override any GCC internal prototype to avoid an error.
18618 Use char because int might match the return type of a GCC
18619 builtin and then its argument prototype would still apply. */
18623 char SSL_library_init ();
18627 return SSL_library_init ();
18632 rm -f conftest.$ac_objext conftest$ac_exeext
18633 if { (ac_try="$ac_link"
18634 case "(($ac_try" in
18635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18636 *) ac_try_echo
=$ac_try;;
18638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18639 (eval "$ac_link") 2>conftest.er1
18641 grep -v '^ *+' conftest.er1
>conftest.err
18643 cat conftest.err
>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); } &&
18646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18647 { (case "(($ac_try" in
18648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18649 *) ac_try_echo=$ac_try;;
18651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18652 (eval "$ac_try") 2>&5
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); }; } &&
18656 { ac_try='test -s conftest$ac_exeext'
18657 { (case "(($ac_try" in
18658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18659 *) ac_try_echo
=$ac_try;;
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_try") 2>&5
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; }; then
18667 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'` ;;
18668 so
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18670 if test "x$ac_cv_lib_soname_ssl" = "x"
18672 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.
$ac_ext >&5
18678 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
18681 rm -f core conftest.err conftest.
$ac_objext \
18682 conftest
$ac_exeext conftest.
$ac_ext
18683 LIBS
=$ac_get_soname_save_LIBS
18685 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
18686 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
18687 if test "${ac_cv_lib_soname_ssl+set}" = set; then
18689 cat >>confdefs.h
<<_ACEOF
18690 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
18695 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
18696 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
18697 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 ac_get_soname_save_LIBS
=$LIBS
18701 LIBS
="-lcrypto $LIBS"
18702 cat >conftest.
$ac_ext <<_ACEOF
18705 cat confdefs.h
>>conftest.
$ac_ext
18706 cat >>conftest.
$ac_ext <<_ACEOF
18707 /* end confdefs.h. */
18709 /* Override any GCC internal prototype to avoid an error.
18710 Use char because int might match the return type of a GCC
18711 builtin and then its argument prototype would still apply. */
18715 char BIO_new_socket ();
18719 return BIO_new_socket ();
18724 rm -f conftest.
$ac_objext conftest
$ac_exeext
18725 if { (ac_try
="$ac_link"
18726 case "(($ac_try" in
18727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_link") 2>conftest.er1
18733 grep -v '^ *+' conftest.er1 >conftest.err
18735 cat conftest.err >&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } &&
18738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18739 { (case "(($ac_try" in
18740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18741 *) ac_try_echo
=$ac_try;;
18743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18744 (eval "$ac_try") 2>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; } &&
18748 { ac_try
='test -s conftest$ac_exeext'
18749 { (case "(($ac_try" in
18750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18751 *) ac_try_echo=$ac_try;;
18753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18754 (eval "$ac_try") 2>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); }; }; then
18759 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'` ;;
18760 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.so |
sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18762 if test "x$ac_cv_lib_soname_crypto" = "x"
18764 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.$ac_ext >&5
18770 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
18773 rm -f core conftest.err conftest.$ac_objext \
18774 conftest$ac_exeext conftest.$ac_ext
18775 LIBS=$ac_get_soname_save_LIBS
18777 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
18778 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
18779 if test "${ac_cv_lib_soname_crypto+set}" = set; then
18781 cat >>confdefs.h <<_ACEOF
18782 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
18787 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
18788 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
18789 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18790 echo $ECHO_N "(cached) $ECHO_C" >&6
18792 ac_get_soname_save_LIBS=$LIBS
18793 LIBS="-lncurses $LIBS"
18794 cat >conftest.$ac_ext <<_ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18801 /* Override any GCC internal prototype to avoid an error.
18802 Use char because int might match the return type of a GCC
18803 builtin and then its argument prototype would still apply. */
18816 rm -f conftest.$ac_objext conftest$ac_exeext
18817 if { (ac_try="$ac_link"
18818 case "(($ac_try" in
18819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18820 *) ac_try_echo
=$ac_try;;
18822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18823 (eval "$ac_link") 2>conftest.er1
18825 grep -v '^ *+' conftest.er1
>conftest.err
18827 cat conftest.err
>&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); } &&
18830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18831 { (case "(($ac_try" in
18832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18833 *) ac_try_echo=$ac_try;;
18835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18836 (eval "$ac_try") 2>&5
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; } &&
18840 { ac_try='test -s conftest$ac_exeext'
18841 { (case "(($ac_try" in
18842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18843 *) ac_try_echo
=$ac_try;;
18845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18846 (eval "$ac_try") 2>&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; }; then
18851 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'` ;;
18852 so
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18854 if test "x$ac_cv_lib_soname_ncurses" = "x"
18856 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.
$ac_ext >&5
18862 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
18865 rm -f core conftest.err conftest.
$ac_objext \
18866 conftest
$ac_exeext conftest.
$ac_ext
18867 LIBS
=$ac_get_soname_save_LIBS
18869 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
18870 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
18871 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
18873 cat >>confdefs.h
<<_ACEOF
18874 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
18879 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
18880 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
18881 if test "${ac_cv_lib_soname_curses+set}" = set; then
18882 echo $ECHO_N "(cached) $ECHO_C" >&6
18884 ac_get_soname_save_LIBS
=$LIBS
18885 LIBS
="-lcurses $LIBS"
18886 cat >conftest.
$ac_ext <<_ACEOF
18889 cat confdefs.h
>>conftest.
$ac_ext
18890 cat >>conftest.
$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18893 /* Override any GCC internal prototype to avoid an error.
18894 Use char because int might match the return type of a GCC
18895 builtin and then its argument prototype would still apply. */
18908 rm -f conftest.
$ac_objext conftest
$ac_exeext
18909 if { (ac_try
="$ac_link"
18910 case "(($ac_try" in
18911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18912 *) ac_try_echo=$ac_try;;
18914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18915 (eval "$ac_link") 2>conftest.er1
18917 grep -v '^ *+' conftest.er1 >conftest.err
18919 cat conftest.err >&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); } &&
18922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18923 { (case "(($ac_try" in
18924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18925 *) ac_try_echo
=$ac_try;;
18927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_try") 2>&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); }; } &&
18932 { ac_try
='test -s conftest$ac_exeext'
18933 { (case "(($ac_try" in
18934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18935 *) ac_try_echo=$ac_try;;
18937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18938 (eval "$ac_try") 2>&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); }; }; then
18943 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'` ;;
18944 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.so |
sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18946 if test "x$ac_cv_lib_soname_curses" = "x"
18948 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18951 echo "$as_me: failed program was:" >&5
18952 sed 's/^/| /' conftest.$ac_ext >&5
18954 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
18957 rm -f core conftest.err conftest.$ac_objext \
18958 conftest$ac_exeext conftest.$ac_ext
18959 LIBS=$ac_get_soname_save_LIBS
18961 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
18962 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
18963 if test "${ac_cv_lib_soname_curses+set}" = set; then
18965 cat >>confdefs.h <<_ACEOF
18966 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
18971 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
18972 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
18973 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18974 echo $ECHO_N "(cached) $ECHO_C" >&6
18976 ac_get_soname_save_LIBS=$LIBS
18977 LIBS="-ljpeg $LIBS"
18978 cat >conftest.$ac_ext <<_ACEOF
18981 cat confdefs.h >>conftest.$ac_ext
18982 cat >>conftest.$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18985 /* Override any GCC internal prototype to avoid an error.
18986 Use char because int might match the return type of a GCC
18987 builtin and then its argument prototype would still apply. */
18991 char jpeg_start_decompress ();
18995 return jpeg_start_decompress ();
19000 rm -f conftest.$ac_objext conftest$ac_exeext
19001 if { (ac_try="$ac_link"
19002 case "(($ac_try" in
19003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19004 *) ac_try_echo
=$ac_try;;
19006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19007 (eval "$ac_link") 2>conftest.er1
19009 grep -v '^ *+' conftest.er1
>conftest.err
19011 cat conftest.err
>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } &&
19014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19015 { (case "(($ac_try" in
19016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19017 *) ac_try_echo=$ac_try;;
19019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19020 (eval "$ac_try") 2>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; } &&
19024 { ac_try='test -s conftest$ac_exeext'
19025 { (case "(($ac_try" in
19026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19027 *) ac_try_echo
=$ac_try;;
19029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19030 (eval "$ac_try") 2>&5
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; }; then
19035 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'` ;;
19036 so
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19038 if test "x$ac_cv_lib_soname_jpeg" = "x"
19040 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
19043 echo "$as_me: failed program was:" >&5
19044 sed 's/^/| /' conftest.
$ac_ext >&5
19046 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
19049 rm -f core conftest.err conftest.
$ac_objext \
19050 conftest
$ac_exeext conftest.
$ac_ext
19051 LIBS
=$ac_get_soname_save_LIBS
19053 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
19054 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
19055 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
19057 cat >>confdefs.h
<<_ACEOF
19058 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
19063 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
19064 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
19065 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19066 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 ac_get_soname_save_LIBS
=$LIBS
19069 LIBS
="-lungif $LIBS"
19070 cat >conftest.
$ac_ext <<_ACEOF
19073 cat confdefs.h
>>conftest.
$ac_ext
19074 cat >>conftest.
$ac_ext <<_ACEOF
19075 /* end confdefs.h. */
19077 /* Override any GCC internal prototype to avoid an error.
19078 Use char because int might match the return type of a GCC
19079 builtin and then its argument prototype would still apply. */
19087 return DGifOpen ();
19092 rm -f conftest.
$ac_objext conftest
$ac_exeext
19093 if { (ac_try
="$ac_link"
19094 case "(($ac_try" in
19095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19096 *) ac_try_echo=$ac_try;;
19098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19099 (eval "$ac_link") 2>conftest.er1
19101 grep -v '^ *+' conftest.er1 >conftest.err
19103 cat conftest.err >&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } &&
19106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19107 { (case "(($ac_try" in
19108 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19109 *) ac_try_echo
=$ac_try;;
19111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19112 (eval "$ac_try") 2>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; } &&
19116 { ac_try
='test -s conftest$ac_exeext'
19117 { (case "(($ac_try" in
19118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_try") 2>&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; }; then
19127 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'` ;;
19128 so) ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libungif
\\.so |
sed -e "s/^.*\(libungif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19130 if test "x$ac_cv_lib_soname_ungif" = "x"
19132 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19138 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
19141 rm -f core conftest.err conftest.$ac_objext \
19142 conftest$ac_exeext conftest.$ac_ext
19143 LIBS=$ac_get_soname_save_LIBS
19145 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
19146 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
19147 if test "${ac_cv_lib_soname_ungif+set}" = set; then
19149 cat >>confdefs.h <<_ACEOF
19150 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
19155 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
19156 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
19157 if test "${ac_cv_lib_soname_gif+set}" = set; then
19158 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 ac_get_soname_save_LIBS=$LIBS
19162 cat >conftest.$ac_ext <<_ACEOF
19165 cat confdefs.h >>conftest.$ac_ext
19166 cat >>conftest.$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19169 /* Override any GCC internal prototype to avoid an error.
19170 Use char because int might match the return type of a GCC
19171 builtin and then its argument prototype would still apply. */
19179 return DGifOpen ();
19184 rm -f conftest.$ac_objext conftest$ac_exeext
19185 if { (ac_try="$ac_link"
19186 case "(($ac_try" in
19187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19188 *) ac_try_echo
=$ac_try;;
19190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_link") 2>conftest.er1
19193 grep -v '^ *+' conftest.er1
>conftest.err
19195 cat conftest.err
>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); } &&
19198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19199 { (case "(($ac_try" in
19200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19201 *) ac_try_echo=$ac_try;;
19203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19204 (eval "$ac_try") 2>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; } &&
19208 { ac_try='test -s conftest$ac_exeext'
19209 { (case "(($ac_try" in
19210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19211 *) ac_try_echo
=$ac_try;;
19213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19214 (eval "$ac_try") 2>&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); }; }; then
19219 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'` ;;
19220 so
) ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.so | sed -e "s/^.*\(libgif\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19222 if test "x$ac_cv_lib_soname_gif" = "x"
19224 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
19227 echo "$as_me: failed program was:" >&5
19228 sed 's/^/| /' conftest.
$ac_ext >&5
19230 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
19233 rm -f core conftest.err conftest.
$ac_objext \
19234 conftest
$ac_exeext conftest.
$ac_ext
19235 LIBS
=$ac_get_soname_save_LIBS
19237 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
19238 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
19239 if test "${ac_cv_lib_soname_gif+set}" = set; then
19241 cat >>confdefs.h
<<_ACEOF
19242 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
19247 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
19248 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
19249 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19250 echo $ECHO_N "(cached) $ECHO_C" >&6
19252 ac_get_soname_save_LIBS
=$LIBS
19253 LIBS
="-lcapi20 $LIBS"
19254 cat >conftest.
$ac_ext <<_ACEOF
19257 cat confdefs.h
>>conftest.
$ac_ext
19258 cat >>conftest.
$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19261 /* Override any GCC internal prototype to avoid an error.
19262 Use char because int might match the return type of a GCC
19263 builtin and then its argument prototype would still apply. */
19267 char capi20_isinstalled ();
19271 return capi20_isinstalled ();
19276 rm -f conftest.
$ac_objext conftest
$ac_exeext
19277 if { (ac_try
="$ac_link"
19278 case "(($ac_try" in
19279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19280 *) ac_try_echo=$ac_try;;
19282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19283 (eval "$ac_link") 2>conftest.er1
19285 grep -v '^ *+' conftest.er1 >conftest.err
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } &&
19290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19291 { (case "(($ac_try" in
19292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19293 *) ac_try_echo
=$ac_try;;
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_try") 2>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; } &&
19300 { ac_try
='test -s conftest$ac_exeext'
19301 { (case "(($ac_try" in
19302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19303 *) ac_try_echo=$ac_try;;
19305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19306 (eval "$ac_try") 2>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; }; then
19311 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'` ;;
19312 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.so |
sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
19314 if test "x$ac_cv_lib_soname_capi20" = "x"
19316 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19319 echo "$as_me: failed program was:" >&5
19320 sed 's/^/| /' conftest.$ac_ext >&5
19322 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
19325 rm -f core conftest.err conftest.$ac_objext \
19326 conftest$ac_exeext conftest.$ac_ext
19327 LIBS=$ac_get_soname_save_LIBS
19329 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
19330 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
19331 if test "${ac_cv_lib_soname_capi20+set}" = set; then
19333 cat >>confdefs.h <<_ACEOF
19334 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
19478 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
19479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
19480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
19481 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19484 cat >conftest.$ac_ext <<_ACEOF
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19492 #define $ac_func innocuous_$ac_func
19494 /* System header to define __stub macros and hopefully few prototypes,
19495 which can conflict with char $ac_func (); below.
19496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19497 <limits.h> exists even on freestanding compilers. */
19500 # include <limits.h>
19502 # include <assert.h>
19507 /* Override any GCC internal prototype to avoid an error.
19508 Use char because int might match the return type of a GCC
19509 builtin and then its argument prototype would still apply. */
19514 /* The GNU C library defines this for functions which it implements
19515 to always fail with ENOSYS. Some functions are actually named
19516 something starting with __ and the normal name is an alias. */
19517 #if defined __stub_$ac_func || defined __stub___$ac_func
19524 return $ac_func ();
19529 rm -f conftest.$ac_objext conftest$ac_exeext
19530 if { (ac_try="$ac_link"
19531 case "(($ac_try" in
19532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19533 *) ac_try_echo
=$ac_try;;
19535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19536 (eval "$ac_link") 2>conftest.er1
19538 grep -v '^ *+' conftest.er1
>conftest.err
19540 cat conftest.err
>&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); } &&
19543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19544 { (case "(($ac_try" in
19545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19546 *) ac_try_echo=$ac_try;;
19548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19549 (eval "$ac_try") 2>&5
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); }; } &&
19553 { ac_try='test -s conftest$ac_exeext'
19554 { (case "(($ac_try" in
19555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19556 *) ac_try_echo
=$ac_try;;
19558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19559 (eval "$ac_try") 2>&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; }; then
19563 eval "$as_ac_var=yes"
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.
$ac_ext >&5
19568 eval "$as_ac_var=no"
19571 rm -f core conftest.err conftest.
$ac_objext \
19572 conftest
$ac_exeext conftest.
$ac_ext
19574 ac_res
=`eval echo '${'$as_ac_var'}'`
19575 { echo "$as_me:$LINENO: result: $ac_res" >&5
19576 echo "${ECHO_T}$ac_res" >&6; }
19577 if test `eval echo '${'$as_ac_var'}'` = yes; then
19578 cat >>confdefs.h
<<_ACEOF
19579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19588 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19589 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19590 if test "${ac_cv_c_const+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19593 cat >conftest.
$ac_ext <<_ACEOF
19596 cat confdefs.h
>>conftest.
$ac_ext
19597 cat >>conftest.
$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19603 /* FIXME: Include the comments suggested by Paul. */
19604 #ifndef __cplusplus
19605 /* Ultrix mips cc rejects this. */
19606 typedef int charset[2];
19608 /* SunOS 4.1.1 cc rejects this. */
19609 char const *const *ccp;
19611 /* NEC SVR4.0.2 mips cc rejects this. */
19612 struct point {int x, y;};
19613 static struct point const zero = {0,0};
19614 /* AIX XL C 1.02.0.0 rejects this.
19615 It does not let you subtract one const X* pointer from another in
19616 an arm of an if-expression whose if-part is not a constant
19618 const char *g = "string";
19619 ccp = &g + (g ? g-g : 0);
19620 /* HPUX 7.0 cc rejects these. */
19623 ccp = (char const *const *) p;
19624 { /* SCO 3.2v4 cc rejects this. */
19626 char const *s = 0 ? (char *) 0 : (char const *) 0;
19631 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19632 int x[] = {25, 17};
19633 const int *foo = &x[0];
19636 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19637 typedef const int *iptr;
19641 { /* AIX XL C 1.02.0.0 rejects this saying
19642 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19643 struct s { int j; const int *ap[3]; };
19644 struct s *b; b->j = 5;
19646 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19647 const int foo = 10;
19648 if (!foo) return 0;
19650 return !x[0] && !zero.x;
19657 rm -f conftest.
$ac_objext
19658 if { (ac_try
="$ac_compile"
19659 case "(($ac_try" in
19660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19661 *) ac_try_echo=$ac_try;;
19663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19664 (eval "$ac_compile") 2>conftest.er1
19666 grep -v '^ *+' conftest.er1 >conftest.err
19668 cat conftest.err >&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); } &&
19671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19672 { (case "(($ac_try" in
19673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19674 *) ac_try_echo
=$ac_try;;
19676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19677 (eval "$ac_try") 2>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; } &&
19681 { ac_try
='test -s conftest.$ac_objext'
19682 { (case "(($ac_try" in
19683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_try") 2>&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; }; then
19693 echo "$as_me: failed program was:" >&5
19694 sed 's/^/| /' conftest.$ac_ext >&5
19699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19701 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19702 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19703 if test $ac_cv_c_const = no; then
19705 cat >>confdefs.h <<\_ACEOF
19711 { echo "$as_me:$LINENO: checking for inline" >&5
19712 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19713 if test "${ac_cv_c_inline+set}" = set; then
19714 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 for ac_kw in inline __inline__ __inline; do
19718 cat >conftest.$ac_ext <<_ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 #ifndef __cplusplus
19726 static $ac_kw foo_t static_foo () {return 0; }
19727 $ac_kw foo_t foo () {return 0; }
19731 rm -f conftest.$ac_objext
19732 if { (ac_try="$ac_compile"
19733 case "(($ac_try" in
19734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19735 *) ac_try_echo
=$ac_try;;
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_compile") 2>conftest.er1
19740 grep -v '^ *+' conftest.er1
>conftest.err
19742 cat conftest.err
>&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } &&
19745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19746 { (case "(($ac_try" in
19747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_try") 2>&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; } &&
19755 { ac_try='test -s conftest.$ac_objext'
19756 { (case "(($ac_try" in
19757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19758 *) ac_try_echo
=$ac_try;;
19760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19761 (eval "$ac_try") 2>&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); }; }; then
19765 ac_cv_c_inline
=$ac_kw
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.
$ac_ext >&5
19773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19774 test "$ac_cv_c_inline" != no
&& break
19778 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19779 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19782 case $ac_cv_c_inline in
19785 case $ac_cv_c_inline in
19787 *) ac_val
=$ac_cv_c_inline;;
19789 cat >>confdefs.h
<<_ACEOF
19790 #ifndef __cplusplus
19791 #define inline $ac_val
19797 { echo "$as_me:$LINENO: checking for mode_t" >&5
19798 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19799 if test "${ac_cv_type_mode_t+set}" = set; then
19800 echo $ECHO_N "(cached) $ECHO_C" >&6
19802 cat >conftest.
$ac_ext <<_ACEOF
19805 cat confdefs.h
>>conftest.
$ac_ext
19806 cat >>conftest.
$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 $ac_includes_default
19809 typedef mode_t ac__type_new_;
19813 if ((ac__type_new_ *) 0)
19815 if (sizeof (ac__type_new_))
19821 rm -f conftest.
$ac_objext
19822 if { (ac_try
="$ac_compile"
19823 case "(($ac_try" in
19824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19825 *) ac_try_echo=$ac_try;;
19827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19828 (eval "$ac_compile") 2>conftest.er1
19830 grep -v '^ *+' conftest.er1 >conftest.err
19832 cat conftest.err >&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } &&
19835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19836 { (case "(($ac_try" in
19837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19838 *) ac_try_echo
=$ac_try;;
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_try") 2>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; } &&
19845 { ac_try
='test -s conftest.$ac_objext'
19846 { (case "(($ac_try" in
19847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19848 *) ac_try_echo=$ac_try;;
19850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19851 (eval "$ac_try") 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; }; then
19855 ac_cv_type_mode_t=yes
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19860 ac_cv_type_mode_t=no
19863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19865 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19866 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19867 if test $ac_cv_type_mode_t = yes; then
19869 cat >>confdefs.h <<_ACEOF
19870 #define HAVE_MODE_T 1
19875 { echo "$as_me:$LINENO: checking for off_t" >&5
19876 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19877 if test "${ac_cv_type_off_t+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 cat >conftest.$ac_ext <<_ACEOF
19883 cat confdefs.h >>conftest.$ac_ext
19884 cat >>conftest.$ac_ext <<_ACEOF
19885 /* end confdefs.h. */
19886 $ac_includes_default
19887 typedef off_t ac__type_new_;
19891 if ((ac__type_new_ *) 0)
19893 if (sizeof (ac__type_new_))
19899 rm -f conftest.$ac_objext
19900 if { (ac_try="$ac_compile"
19901 case "(($ac_try" in
19902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19903 *) ac_try_echo
=$ac_try;;
19905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19906 (eval "$ac_compile") 2>conftest.er1
19908 grep -v '^ *+' conftest.er1
>conftest.err
19910 cat conftest.err
>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } &&
19913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19914 { (case "(($ac_try" in
19915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19916 *) ac_try_echo=$ac_try;;
19918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19919 (eval "$ac_try") 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; } &&
19923 { ac_try='test -s conftest.$ac_objext'
19924 { (case "(($ac_try" in
19925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19926 *) ac_try_echo
=$ac_try;;
19928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19929 (eval "$ac_try") 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; }; then
19933 ac_cv_type_off_t
=yes
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.
$ac_ext >&5
19938 ac_cv_type_off_t
=no
19941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19943 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19944 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19945 if test $ac_cv_type_off_t = yes; then
19947 cat >>confdefs.h
<<_ACEOF
19948 #define HAVE_OFF_T 1
19953 { echo "$as_me:$LINENO: checking for pid_t" >&5
19954 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19955 if test "${ac_cv_type_pid_t+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 cat >conftest.
$ac_ext <<_ACEOF
19961 cat confdefs.h
>>conftest.
$ac_ext
19962 cat >>conftest.
$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 $ac_includes_default
19965 typedef pid_t ac__type_new_;
19969 if ((ac__type_new_ *) 0)
19971 if (sizeof (ac__type_new_))
19977 rm -f conftest.
$ac_objext
19978 if { (ac_try
="$ac_compile"
19979 case "(($ac_try" in
19980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19981 *) ac_try_echo=$ac_try;;
19983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19984 (eval "$ac_compile") 2>conftest.er1
19986 grep -v '^ *+' conftest.er1 >conftest.err
19988 cat conftest.err >&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); } &&
19991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19992 { (case "(($ac_try" in
19993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19994 *) ac_try_echo
=$ac_try;;
19996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19997 (eval "$ac_try") 2>&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; } &&
20001 { ac_try
='test -s conftest.$ac_objext'
20002 { (case "(($ac_try" in
20003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20004 *) ac_try_echo=$ac_try;;
20006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20007 (eval "$ac_try") 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20011 ac_cv_type_pid_t=yes
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20016 ac_cv_type_pid_t=no
20019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20021 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20022 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
20023 if test $ac_cv_type_pid_t = yes; then
20025 cat >>confdefs.h <<_ACEOF
20026 #define HAVE_PID_T 1
20031 { echo "$as_me:$LINENO: checking for size_t" >&5
20032 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20033 if test "${ac_cv_type_size_t+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20036 cat >conftest.$ac_ext <<_ACEOF
20039 cat confdefs.h >>conftest.$ac_ext
20040 cat >>conftest.$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20042 $ac_includes_default
20043 typedef size_t ac__type_new_;
20047 if ((ac__type_new_ *) 0)
20049 if (sizeof (ac__type_new_))
20055 rm -f conftest.$ac_objext
20056 if { (ac_try="$ac_compile"
20057 case "(($ac_try" in
20058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20059 *) ac_try_echo
=$ac_try;;
20061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20062 (eval "$ac_compile") 2>conftest.er1
20064 grep -v '^ *+' conftest.er1
>conftest.err
20066 cat conftest.err
>&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); } &&
20069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20070 { (case "(($ac_try" in
20071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20072 *) ac_try_echo=$ac_try;;
20074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20075 (eval "$ac_try") 2>&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); }; } &&
20079 { ac_try='test -s conftest.$ac_objext'
20080 { (case "(($ac_try" in
20081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20082 *) ac_try_echo
=$ac_try;;
20084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20085 (eval "$ac_try") 2>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 ac_cv_type_size_t
=yes
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.
$ac_ext >&5
20094 ac_cv_type_size_t
=no
20097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20099 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20100 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20101 if test $ac_cv_type_size_t = yes; then
20103 cat >>confdefs.h
<<_ACEOF
20104 #define HAVE_SIZE_T 1
20109 { echo "$as_me:$LINENO: checking for ssize_t" >&5
20110 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
20111 if test "${ac_cv_type_ssize_t+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20114 cat >conftest.
$ac_ext <<_ACEOF
20117 cat confdefs.h
>>conftest.
$ac_ext
20118 cat >>conftest.
$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 $ac_includes_default
20121 typedef ssize_t ac__type_new_;
20125 if ((ac__type_new_ *) 0)
20127 if (sizeof (ac__type_new_))
20133 rm -f conftest.
$ac_objext
20134 if { (ac_try
="$ac_compile"
20135 case "(($ac_try" in
20136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20137 *) ac_try_echo=$ac_try;;
20139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20140 (eval "$ac_compile") 2>conftest.er1
20142 grep -v '^ *+' conftest.er1 >conftest.err
20144 cat conftest.err >&5
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } &&
20147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20148 { (case "(($ac_try" in
20149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20150 *) ac_try_echo
=$ac_try;;
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_try") 2>&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; } &&
20157 { ac_try
='test -s conftest.$ac_objext'
20158 { (case "(($ac_try" in
20159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20160 *) ac_try_echo=$ac_try;;
20162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20163 (eval "$ac_try") 2>&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; }; then
20167 ac_cv_type_ssize_t=yes
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20172 ac_cv_type_ssize_t=no
20175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20177 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
20178 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
20179 if test $ac_cv_type_ssize_t = yes; then
20181 cat >>confdefs.h <<_ACEOF
20182 #define HAVE_SSIZE_T 1
20187 { echo "$as_me:$LINENO: checking for long long" >&5
20188 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20189 if test "${ac_cv_type_long_long+set}" = set; then
20190 echo $ECHO_N "(cached) $ECHO_C" >&6
20192 cat >conftest.$ac_ext <<_ACEOF
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 $ac_includes_default
20199 typedef long long ac__type_new_;
20203 if ((ac__type_new_ *) 0)
20205 if (sizeof (ac__type_new_))
20211 rm -f conftest.$ac_objext
20212 if { (ac_try="$ac_compile"
20213 case "(($ac_try" in
20214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20215 *) ac_try_echo
=$ac_try;;
20217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20218 (eval "$ac_compile") 2>conftest.er1
20220 grep -v '^ *+' conftest.er1
>conftest.err
20222 cat conftest.err
>&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } &&
20225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20226 { (case "(($ac_try" in
20227 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20228 *) ac_try_echo=$ac_try;;
20230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20231 (eval "$ac_try") 2>&5
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; } &&
20235 { ac_try='test -s conftest.$ac_objext'
20236 { (case "(($ac_try" in
20237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20238 *) ac_try_echo
=$ac_try;;
20240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20241 (eval "$ac_try") 2>&5
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; }; then
20245 ac_cv_type_long_long
=yes
20247 echo "$as_me: failed program was:" >&5
20248 sed 's/^/| /' conftest.
$ac_ext >&5
20250 ac_cv_type_long_long
=no
20253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20255 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20256 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20257 if test $ac_cv_type_long_long = yes; then
20259 cat >>confdefs.h
<<_ACEOF
20260 #define HAVE_LONG_LONG 1
20265 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
20266 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
20267 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
20268 echo $ECHO_N "(cached) $ECHO_C" >&6
20270 cat >conftest.
$ac_ext <<_ACEOF
20273 cat confdefs.h
>>conftest.
$ac_ext
20274 cat >>conftest.
$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20276 $ac_includes_default
20277 typedef fsblkcnt_t ac__type_new_;
20281 if ((ac__type_new_ *) 0)
20283 if (sizeof (ac__type_new_))
20289 rm -f conftest.
$ac_objext
20290 if { (ac_try
="$ac_compile"
20291 case "(($ac_try" in
20292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_compile") 2>conftest.er1
20298 grep -v '^ *+' conftest.er1 >conftest.err
20300 cat conftest.err >&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); } &&
20303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20304 { (case "(($ac_try" in
20305 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20306 *) ac_try_echo
=$ac_try;;
20308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20309 (eval "$ac_try") 2>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; } &&
20313 { ac_try
='test -s conftest.$ac_objext'
20314 { (case "(($ac_try" in
20315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20316 *) ac_try_echo=$ac_try;;
20318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20319 (eval "$ac_try") 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; }; then
20323 ac_cv_type_fsblkcnt_t=yes
20325 echo "$as_me: failed program was:" >&5
20326 sed 's/^/| /' conftest.$ac_ext >&5
20328 ac_cv_type_fsblkcnt_t=no
20331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20333 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
20334 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
20335 if test $ac_cv_type_fsblkcnt_t = yes; then
20337 cat >>confdefs.h <<_ACEOF
20338 #define HAVE_FSBLKCNT_T 1
20343 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
20344 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
20345 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
20346 echo $ECHO_N "(cached) $ECHO_C" >&6
20348 cat >conftest.$ac_ext <<_ACEOF
20351 cat confdefs.h >>conftest.$ac_ext
20352 cat >>conftest.$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20354 $ac_includes_default
20355 typedef fsfilcnt_t ac__type_new_;
20359 if ((ac__type_new_ *) 0)
20361 if (sizeof (ac__type_new_))
20367 rm -f conftest.$ac_objext
20368 if { (ac_try="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20371 *) ac_try_echo
=$ac_try;;
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20376 grep -v '^ *+' conftest.er1
>conftest.err
20378 cat conftest.err
>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } &&
20381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20382 { (case "(($ac_try" in
20383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20384 *) ac_try_echo=$ac_try;;
20386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20387 (eval "$ac_try") 2>&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; } &&
20391 { ac_try='test -s conftest.$ac_objext'
20392 { (case "(($ac_try" in
20393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20394 *) ac_try_echo
=$ac_try;;
20396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20397 (eval "$ac_try") 2>&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); }; }; then
20401 ac_cv_type_fsfilcnt_t
=yes
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.
$ac_ext >&5
20406 ac_cv_type_fsfilcnt_t
=no
20409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20411 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20412 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
20413 if test $ac_cv_type_fsfilcnt_t = yes; then
20415 cat >>confdefs.h
<<_ACEOF
20416 #define HAVE_FSFILCNT_T 1
20422 { echo "$as_me:$LINENO: checking for sigset_t" >&5
20423 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
20424 if test "${ac_cv_type_sigset_t+set}" = set; then
20425 echo $ECHO_N "(cached) $ECHO_C" >&6
20427 cat >conftest.
$ac_ext <<_ACEOF
20430 cat confdefs.h
>>conftest.
$ac_ext
20431 cat >>conftest.
$ac_ext <<_ACEOF
20432 /* end confdefs.h. */
20433 #include <signal.h>
20435 typedef sigset_t ac__type_new_;
20439 if ((ac__type_new_ *) 0)
20441 if (sizeof (ac__type_new_))
20447 rm -f conftest.
$ac_objext
20448 if { (ac_try
="$ac_compile"
20449 case "(($ac_try" in
20450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20451 *) ac_try_echo=$ac_try;;
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_compile") 2>conftest.er1
20456 grep -v '^ *+' conftest.er1 >conftest.err
20458 cat conftest.err >&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } &&
20461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20462 { (case "(($ac_try" in
20463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20464 *) ac_try_echo
=$ac_try;;
20466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20467 (eval "$ac_try") 2>&5
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); }; } &&
20471 { ac_try
='test -s conftest.$ac_objext'
20472 { (case "(($ac_try" in
20473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_try") 2>&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); }; }; then
20481 ac_cv_type_sigset_t=yes
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.$ac_ext >&5
20486 ac_cv_type_sigset_t=no
20489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20491 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20492 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
20493 if test $ac_cv_type_sigset_t = yes; then
20495 cat >>confdefs.h <<_ACEOF
20496 #define HAVE_SIGSET_T 1
20502 { echo "$as_me:$LINENO: checking for request_sense" >&5
20503 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
20504 if test "${ac_cv_type_request_sense+set}" = set; then
20505 echo $ECHO_N "(cached) $ECHO_C" >&6
20507 cat >conftest.$ac_ext <<_ACEOF
20510 cat confdefs.h >>conftest.$ac_ext
20511 cat >>conftest.$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 #include <linux/cdrom.h>
20515 typedef request_sense ac__type_new_;
20519 if ((ac__type_new_ *) 0)
20521 if (sizeof (ac__type_new_))
20527 rm -f conftest.$ac_objext
20528 if { (ac_try="$ac_compile"
20529 case "(($ac_try" in
20530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20531 *) ac_try_echo
=$ac_try;;
20533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20534 (eval "$ac_compile") 2>conftest.er1
20536 grep -v '^ *+' conftest.er1
>conftest.err
20538 cat conftest.err
>&5
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); } &&
20541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20542 { (case "(($ac_try" in
20543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20544 *) ac_try_echo=$ac_try;;
20546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20547 (eval "$ac_try") 2>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; } &&
20551 { ac_try='test -s conftest.$ac_objext'
20552 { (case "(($ac_try" in
20553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20554 *) ac_try_echo
=$ac_try;;
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_try") 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_cv_type_request_sense
=yes
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.
$ac_ext >&5
20566 ac_cv_type_request_sense
=no
20569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20571 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20572 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
20573 if test $ac_cv_type_request_sense = yes; then
20575 cat >>confdefs.h
<<_ACEOF
20576 #define HAVE_REQUEST_SENSE 1
20583 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
20584 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
20585 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
20586 echo $ECHO_N "(cached) $ECHO_C" >&6
20588 cat >conftest.
$ac_ext <<_ACEOF
20591 cat confdefs.h
>>conftest.
$ac_ext
20592 cat >>conftest.
$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 #ifdef HAVE_LINUX_INPUT_H
20595 #include <linux/input.h>
20601 static struct ff_effect ac_aggr;
20602 if (ac_aggr.direction)
20608 rm -f conftest.
$ac_objext
20609 if { (ac_try
="$ac_compile"
20610 case "(($ac_try" in
20611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20612 *) ac_try_echo=$ac_try;;
20614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20615 (eval "$ac_compile") 2>conftest.er1
20617 grep -v '^ *+' conftest.er1 >conftest.err
20619 cat conftest.err >&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } &&
20622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20623 { (case "(($ac_try" in
20624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20625 *) ac_try_echo
=$ac_try;;
20627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 (eval "$ac_try") 2>&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); }; } &&
20632 { ac_try
='test -s conftest.$ac_objext'
20633 { (case "(($ac_try" in
20634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20635 *) ac_try_echo=$ac_try;;
20637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20638 (eval "$ac_try") 2>&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; }; then
20642 ac_cv_member_struct_ff_effect_direction=yes
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.$ac_ext >&5
20647 cat >conftest.$ac_ext <<_ACEOF
20650 cat confdefs.h >>conftest.$ac_ext
20651 cat >>conftest.$ac_ext <<_ACEOF
20652 /* end confdefs.h. */
20653 #ifdef HAVE_LINUX_INPUT_H
20654 #include <linux/input.h>
20660 static struct ff_effect ac_aggr;
20661 if (sizeof ac_aggr.direction)
20667 rm -f conftest.$ac_objext
20668 if { (ac_try="$ac_compile"
20669 case "(($ac_try" in
20670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20671 *) ac_try_echo
=$ac_try;;
20673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20674 (eval "$ac_compile") 2>conftest.er1
20676 grep -v '^ *+' conftest.er1
>conftest.err
20678 cat conftest.err
>&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); } &&
20681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20682 { (case "(($ac_try" in
20683 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20684 *) ac_try_echo=$ac_try;;
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_try") 2>&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); }; } &&
20691 { ac_try='test -s conftest.$ac_objext'
20692 { (case "(($ac_try" in
20693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20694 *) ac_try_echo
=$ac_try;;
20696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_try") 2>&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701 ac_cv_member_struct_ff_effect_direction
=yes
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.
$ac_ext >&5
20706 ac_cv_member_struct_ff_effect_direction
=no
20709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20714 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20715 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20716 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20718 cat >>confdefs.h
<<_ACEOF
20719 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20726 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20727 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20728 if test "${wine_cv_have_sigaddset+set}" = set; then
20729 echo $ECHO_N "(cached) $ECHO_C" >&6
20731 cat >conftest.
$ac_ext <<_ACEOF
20734 cat confdefs.h
>>conftest.
$ac_ext
20735 cat >>conftest.
$ac_ext <<_ACEOF
20736 /* end confdefs.h. */
20737 #include <signal.h>
20741 sigset_t set; sigaddset(&set,SIGTERM);
20746 rm -f conftest.
$ac_objext conftest
$ac_exeext
20747 if { (ac_try
="$ac_link"
20748 case "(($ac_try" in
20749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20750 *) ac_try_echo=$ac_try;;
20752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20753 (eval "$ac_link") 2>conftest.er1
20755 grep -v '^ *+' conftest.er1 >conftest.err
20757 cat conftest.err >&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20761 { (case "(($ac_try" in
20762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20763 *) ac_try_echo
=$ac_try;;
20765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20766 (eval "$ac_try") 2>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; } &&
20770 { ac_try
='test -s conftest$ac_exeext'
20771 { (case "(($ac_try" in
20772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20773 *) ac_try_echo=$ac_try;;
20775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20776 (eval "$ac_try") 2>&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; }; then
20780 wine_cv_have_sigaddset=yes
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.$ac_ext >&5
20785 wine_cv_have_sigaddset=no
20788 rm -f core conftest.err conftest.$ac_objext \
20789 conftest$ac_exeext conftest.$ac_ext
20791 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20792 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20793 if test "$wine_cv_have_sigaddset" = "yes"
20796 cat >>confdefs.h <<\_ACEOF
20797 #define HAVE_SIGADDSET 1
20803 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20804 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20805 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20806 echo $ECHO_N "(cached) $ECHO_C" >&6
20808 cat >conftest.$ac_ext <<_ACEOF
20811 cat confdefs.h >>conftest.$ac_ext
20812 cat >>conftest.$ac_ext <<_ACEOF
20813 /* end confdefs.h. */
20823 struct hostent *result;
20830 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20831 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20837 rm -f conftest.$ac_objext conftest$ac_exeext
20838 if { (ac_try="$ac_link"
20839 case "(($ac_try" in
20840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20841 *) ac_try_echo
=$ac_try;;
20843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20844 (eval "$ac_link") 2>conftest.er1
20846 grep -v '^ *+' conftest.er1
>conftest.err
20848 cat conftest.err
>&5
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); } &&
20851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20852 { (case "(($ac_try" in
20853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20854 *) ac_try_echo=$ac_try;;
20856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20857 (eval "$ac_try") 2>&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; } &&
20861 { ac_try='test -s conftest$ac_exeext'
20862 { (case "(($ac_try" in
20863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20864 *) ac_try_echo
=$ac_try;;
20866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20867 (eval "$ac_try") 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); }; }; then
20871 wine_cv_linux_gethostbyname_r_6
=yes
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.
$ac_ext >&5
20876 wine_cv_linux_gethostbyname_r_6
=no
20880 rm -f core conftest.err conftest.
$ac_objext \
20881 conftest
$ac_exeext conftest.
$ac_ext
20884 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20885 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20886 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20889 cat >>confdefs.h
<<\_ACEOF
20890 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20895 if test "$ac_cv_header_linux_joystick_h" = "yes"
20897 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20898 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20899 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20900 echo $ECHO_N "(cached) $ECHO_C" >&6
20902 cat >conftest.
$ac_ext <<_ACEOF
20905 cat confdefs.h
>>conftest.
$ac_ext
20906 cat >>conftest.
$ac_ext <<_ACEOF
20907 /* end confdefs.h. */
20909 #include <sys/ioctl.h>
20910 #include <linux/joystick.h>
20912 struct js_event blub;
20913 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20914 #error "no 2.2 header"
20925 rm -f conftest.
$ac_objext
20926 if { (ac_try
="$ac_compile"
20927 case "(($ac_try" in
20928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20929 *) ac_try_echo=$ac_try;;
20931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20932 (eval "$ac_compile") 2>conftest.er1
20934 grep -v '^ *+' conftest.er1 >conftest.err
20936 cat conftest.err >&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); } &&
20939 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20940 { (case "(($ac_try" in
20941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20942 *) ac_try_echo
=$ac_try;;
20944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20945 (eval "$ac_try") 2>&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); }; } &&
20949 { ac_try
='test -s conftest.$ac_objext'
20950 { (case "(($ac_try" in
20951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20952 *) ac_try_echo=$ac_try;;
20954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20955 (eval "$ac_try") 2>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; }; then
20959 wine_cv_linux_joystick_22_api=yes
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.$ac_ext >&5
20964 wine_cv_linux_joystick_22_api=no
20967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20970 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20971 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20972 if test "$wine_cv_linux_joystick_22_api" = "yes"
20975 cat >>confdefs.h <<\_ACEOF
20976 #define HAVE_LINUX_22_JOYSTICK_API 1
20983 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20984 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20985 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20986 echo $ECHO_N "(cached) $ECHO_C" >&6
20988 cat >conftest.$ac_ext <<_ACEOF
20991 cat confdefs.h >>conftest.$ac_ext
20992 cat >>conftest.$ac_ext <<_ACEOF
20993 /* end confdefs.h. */
20994 #include <sys/types.h>
20995 #ifdef HAVE_SYS_PARAM_H
20996 # include <sys/param.h>
20998 #ifdef HAVE_SYS_MOUNT_H
20999 # include <sys/mount.h>
21001 #ifdef HAVE_SYS_VFS_H
21002 # include <sys/vfs.h>
21004 #ifdef HAVE_SYS_STATFS_H
21005 # include <sys/statfs.h>
21011 static struct statfs ac_aggr;
21012 if (ac_aggr.f_bfree)
21018 rm -f conftest.$ac_objext
21019 if { (ac_try="$ac_compile"
21020 case "(($ac_try" in
21021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21022 *) ac_try_echo
=$ac_try;;
21024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21025 (eval "$ac_compile") 2>conftest.er1
21027 grep -v '^ *+' conftest.er1
>conftest.err
21029 cat conftest.err
>&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21033 { (case "(($ac_try" in
21034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21035 *) ac_try_echo=$ac_try;;
21037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038 (eval "$ac_try") 2>&5
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; } &&
21042 { ac_try='test -s conftest.$ac_objext'
21043 { (case "(($ac_try" in
21044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21045 *) ac_try_echo
=$ac_try;;
21047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21048 (eval "$ac_try") 2>&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; }; then
21052 ac_cv_member_struct_statfs_f_bfree
=yes
21054 echo "$as_me: failed program was:" >&5
21055 sed 's/^/| /' conftest.
$ac_ext >&5
21057 cat >conftest.
$ac_ext <<_ACEOF
21060 cat confdefs.h
>>conftest.
$ac_ext
21061 cat >>conftest.
$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 #include <sys/types.h>
21064 #ifdef HAVE_SYS_PARAM_H
21065 # include <sys/param.h>
21067 #ifdef HAVE_SYS_MOUNT_H
21068 # include <sys/mount.h>
21070 #ifdef HAVE_SYS_VFS_H
21071 # include <sys/vfs.h>
21073 #ifdef HAVE_SYS_STATFS_H
21074 # include <sys/statfs.h>
21080 static struct statfs ac_aggr;
21081 if (sizeof ac_aggr.f_bfree)
21087 rm -f conftest.
$ac_objext
21088 if { (ac_try
="$ac_compile"
21089 case "(($ac_try" in
21090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21091 *) ac_try_echo=$ac_try;;
21093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_compile") 2>conftest.er1
21096 grep -v '^ *+' conftest.er1 >conftest.err
21098 cat conftest.err >&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } &&
21101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21102 { (case "(($ac_try" in
21103 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21104 *) ac_try_echo
=$ac_try;;
21106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21107 (eval "$ac_try") 2>&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); }; } &&
21111 { ac_try
='test -s conftest.$ac_objext'
21112 { (case "(($ac_try" in
21113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21114 *) ac_try_echo=$ac_try;;
21116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21117 (eval "$ac_try") 2>&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); }; }; then
21121 ac_cv_member_struct_statfs_f_bfree=yes
21123 echo "$as_me: failed program was:" >&5
21124 sed 's/^/| /' conftest.$ac_ext >&5
21126 ac_cv_member_struct_statfs_f_bfree=no
21129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21134 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
21135 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
21136 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
21138 cat >>confdefs.h <<_ACEOF
21139 #define HAVE_STRUCT_STATFS_F_BFREE 1
21144 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
21145 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
21146 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 cat >conftest.$ac_ext <<_ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 #include <sys/types.h>
21156 #ifdef HAVE_SYS_PARAM_H
21157 # include <sys/param.h>
21159 #ifdef HAVE_SYS_MOUNT_H
21160 # include <sys/mount.h>
21162 #ifdef HAVE_SYS_VFS_H
21163 # include <sys/vfs.h>
21165 #ifdef HAVE_SYS_STATFS_H
21166 # include <sys/statfs.h>
21172 static struct statfs ac_aggr;
21173 if (ac_aggr.f_bavail)
21179 rm -f conftest.$ac_objext
21180 if { (ac_try="$ac_compile"
21181 case "(($ac_try" in
21182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21183 *) ac_try_echo
=$ac_try;;
21185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21186 (eval "$ac_compile") 2>conftest.er1
21188 grep -v '^ *+' conftest.er1
>conftest.err
21190 cat conftest.err
>&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); } &&
21193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21194 { (case "(($ac_try" in
21195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21196 *) ac_try_echo=$ac_try;;
21198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21199 (eval "$ac_try") 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; } &&
21203 { ac_try='test -s conftest.$ac_objext'
21204 { (case "(($ac_try" in
21205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21206 *) ac_try_echo
=$ac_try;;
21208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21209 (eval "$ac_try") 2>&5
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); }; }; then
21213 ac_cv_member_struct_statfs_f_bavail
=yes
21215 echo "$as_me: failed program was:" >&5
21216 sed 's/^/| /' conftest.
$ac_ext >&5
21218 cat >conftest.
$ac_ext <<_ACEOF
21221 cat confdefs.h
>>conftest.
$ac_ext
21222 cat >>conftest.
$ac_ext <<_ACEOF
21223 /* end confdefs.h. */
21224 #include <sys/types.h>
21225 #ifdef HAVE_SYS_PARAM_H
21226 # include <sys/param.h>
21228 #ifdef HAVE_SYS_MOUNT_H
21229 # include <sys/mount.h>
21231 #ifdef HAVE_SYS_VFS_H
21232 # include <sys/vfs.h>
21234 #ifdef HAVE_SYS_STATFS_H
21235 # include <sys/statfs.h>
21241 static struct statfs ac_aggr;
21242 if (sizeof ac_aggr.f_bavail)
21248 rm -f conftest.
$ac_objext
21249 if { (ac_try
="$ac_compile"
21250 case "(($ac_try" in
21251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21252 *) ac_try_echo=$ac_try;;
21254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21255 (eval "$ac_compile") 2>conftest.er1
21257 grep -v '^ *+' conftest.er1 >conftest.err
21259 cat conftest.err >&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); } &&
21262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21263 { (case "(($ac_try" in
21264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21265 *) ac_try_echo
=$ac_try;;
21267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21268 (eval "$ac_try") 2>&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; } &&
21272 { ac_try
='test -s conftest.$ac_objext'
21273 { (case "(($ac_try" in
21274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21275 *) ac_try_echo=$ac_try;;
21277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21278 (eval "$ac_try") 2>&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; }; then
21282 ac_cv_member_struct_statfs_f_bavail=yes
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.$ac_ext >&5
21287 ac_cv_member_struct_statfs_f_bavail=no
21290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21295 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
21296 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
21297 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
21299 cat >>confdefs.h <<_ACEOF
21300 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
21305 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
21306 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
21307 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
21308 echo $ECHO_N "(cached) $ECHO_C" >&6
21310 cat >conftest.$ac_ext <<_ACEOF
21313 cat confdefs.h >>conftest.$ac_ext
21314 cat >>conftest.$ac_ext <<_ACEOF
21315 /* end confdefs.h. */
21316 #include <sys/types.h>
21317 #ifdef HAVE_SYS_PARAM_H
21318 # include <sys/param.h>
21320 #ifdef HAVE_SYS_MOUNT_H
21321 # include <sys/mount.h>
21323 #ifdef HAVE_SYS_VFS_H
21324 # include <sys/vfs.h>
21326 #ifdef HAVE_SYS_STATFS_H
21327 # include <sys/statfs.h>
21333 static struct statfs ac_aggr;
21334 if (ac_aggr.f_frsize)
21340 rm -f conftest.$ac_objext
21341 if { (ac_try="$ac_compile"
21342 case "(($ac_try" in
21343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21344 *) ac_try_echo
=$ac_try;;
21346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347 (eval "$ac_compile") 2>conftest.er1
21349 grep -v '^ *+' conftest.er1
>conftest.err
21351 cat conftest.err
>&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } &&
21354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21355 { (case "(($ac_try" in
21356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21357 *) ac_try_echo=$ac_try;;
21359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21360 (eval "$ac_try") 2>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; } &&
21364 { ac_try='test -s conftest.$ac_objext'
21365 { (case "(($ac_try" in
21366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21367 *) ac_try_echo
=$ac_try;;
21369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21370 (eval "$ac_try") 2>&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); }; }; then
21374 ac_cv_member_struct_statfs_f_frsize
=yes
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.
$ac_ext >&5
21379 cat >conftest.
$ac_ext <<_ACEOF
21382 cat confdefs.h
>>conftest.
$ac_ext
21383 cat >>conftest.
$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 #include <sys/types.h>
21386 #ifdef HAVE_SYS_PARAM_H
21387 # include <sys/param.h>
21389 #ifdef HAVE_SYS_MOUNT_H
21390 # include <sys/mount.h>
21392 #ifdef HAVE_SYS_VFS_H
21393 # include <sys/vfs.h>
21395 #ifdef HAVE_SYS_STATFS_H
21396 # include <sys/statfs.h>
21402 static struct statfs ac_aggr;
21403 if (sizeof ac_aggr.f_frsize)
21409 rm -f conftest.
$ac_objext
21410 if { (ac_try
="$ac_compile"
21411 case "(($ac_try" in
21412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21413 *) ac_try_echo=$ac_try;;
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21418 grep -v '^ *+' conftest.er1 >conftest.err
21420 cat conftest.err >&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } &&
21423 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21424 { (case "(($ac_try" in
21425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21426 *) ac_try_echo
=$ac_try;;
21428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21429 (eval "$ac_try") 2>&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); }; } &&
21433 { ac_try
='test -s conftest.$ac_objext'
21434 { (case "(($ac_try" in
21435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21436 *) ac_try_echo=$ac_try;;
21438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21439 (eval "$ac_try") 2>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); }; }; then
21443 ac_cv_member_struct_statfs_f_frsize=yes
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21448 ac_cv_member_struct_statfs_f_frsize=no
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21456 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
21457 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
21458 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
21460 cat >>confdefs.h <<_ACEOF
21461 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
21466 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
21467 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
21468 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
21469 echo $ECHO_N "(cached) $ECHO_C" >&6
21471 cat >conftest.$ac_ext <<_ACEOF
21474 cat confdefs.h >>conftest.$ac_ext
21475 cat >>conftest.$ac_ext <<_ACEOF
21476 /* end confdefs.h. */
21477 #include <sys/types.h>
21478 #ifdef HAVE_SYS_PARAM_H
21479 # include <sys/param.h>
21481 #ifdef HAVE_SYS_MOUNT_H
21482 # include <sys/mount.h>
21484 #ifdef HAVE_SYS_VFS_H
21485 # include <sys/vfs.h>
21487 #ifdef HAVE_SYS_STATFS_H
21488 # include <sys/statfs.h>
21494 static struct statfs ac_aggr;
21495 if (ac_aggr.f_ffree)
21501 rm -f conftest.$ac_objext
21502 if { (ac_try="$ac_compile"
21503 case "(($ac_try" in
21504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21505 *) ac_try_echo
=$ac_try;;
21507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21508 (eval "$ac_compile") 2>conftest.er1
21510 grep -v '^ *+' conftest.er1
>conftest.err
21512 cat conftest.err
>&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); } &&
21515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21516 { (case "(($ac_try" in
21517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21518 *) ac_try_echo=$ac_try;;
21520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21521 (eval "$ac_try") 2>&5
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; } &&
21525 { ac_try='test -s conftest.$ac_objext'
21526 { (case "(($ac_try" in
21527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21528 *) ac_try_echo
=$ac_try;;
21530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21531 (eval "$ac_try") 2>&5
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); }; }; then
21535 ac_cv_member_struct_statfs_f_ffree
=yes
21537 echo "$as_me: failed program was:" >&5
21538 sed 's/^/| /' conftest.
$ac_ext >&5
21540 cat >conftest.
$ac_ext <<_ACEOF
21543 cat confdefs.h
>>conftest.
$ac_ext
21544 cat >>conftest.
$ac_ext <<_ACEOF
21545 /* end confdefs.h. */
21546 #include <sys/types.h>
21547 #ifdef HAVE_SYS_PARAM_H
21548 # include <sys/param.h>
21550 #ifdef HAVE_SYS_MOUNT_H
21551 # include <sys/mount.h>
21553 #ifdef HAVE_SYS_VFS_H
21554 # include <sys/vfs.h>
21556 #ifdef HAVE_SYS_STATFS_H
21557 # include <sys/statfs.h>
21563 static struct statfs ac_aggr;
21564 if (sizeof ac_aggr.f_ffree)
21570 rm -f conftest.
$ac_objext
21571 if { (ac_try
="$ac_compile"
21572 case "(($ac_try" in
21573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21574 *) ac_try_echo=$ac_try;;
21576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21577 (eval "$ac_compile") 2>conftest.er1
21579 grep -v '^ *+' conftest.er1 >conftest.err
21581 cat conftest.err >&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); } &&
21584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21585 { (case "(($ac_try" in
21586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21587 *) ac_try_echo
=$ac_try;;
21589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21590 (eval "$ac_try") 2>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; } &&
21594 { ac_try
='test -s conftest.$ac_objext'
21595 { (case "(($ac_try" in
21596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_try") 2>&5
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; }; then
21604 ac_cv_member_struct_statfs_f_ffree=yes
21606 echo "$as_me: failed program was:" >&5
21607 sed 's/^/| /' conftest.$ac_ext >&5
21609 ac_cv_member_struct_statfs_f_ffree=no
21612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21617 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
21618 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
21619 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
21621 cat >>confdefs.h <<_ACEOF
21622 #define HAVE_STRUCT_STATFS_F_FFREE 1
21627 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
21628 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
21629 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21632 cat >conftest.$ac_ext <<_ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h. */
21638 #include <sys/types.h>
21639 #ifdef HAVE_SYS_PARAM_H
21640 # include <sys/param.h>
21642 #ifdef HAVE_SYS_MOUNT_H
21643 # include <sys/mount.h>
21645 #ifdef HAVE_SYS_VFS_H
21646 # include <sys/vfs.h>
21648 #ifdef HAVE_SYS_STATFS_H
21649 # include <sys/statfs.h>
21655 static struct statfs ac_aggr;
21656 if (ac_aggr.f_favail)
21662 rm -f conftest.$ac_objext
21663 if { (ac_try="$ac_compile"
21664 case "(($ac_try" in
21665 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21666 *) ac_try_echo
=$ac_try;;
21668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21669 (eval "$ac_compile") 2>conftest.er1
21671 grep -v '^ *+' conftest.er1
>conftest.err
21673 cat conftest.err
>&5
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); } &&
21676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21677 { (case "(($ac_try" in
21678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21679 *) ac_try_echo=$ac_try;;
21681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21682 (eval "$ac_try") 2>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); }; } &&
21686 { ac_try='test -s conftest.$ac_objext'
21687 { (case "(($ac_try" in
21688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21689 *) ac_try_echo
=$ac_try;;
21691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21692 (eval "$ac_try") 2>&5
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); }; }; then
21696 ac_cv_member_struct_statfs_f_favail
=yes
21698 echo "$as_me: failed program was:" >&5
21699 sed 's/^/| /' conftest.
$ac_ext >&5
21701 cat >conftest.
$ac_ext <<_ACEOF
21704 cat confdefs.h
>>conftest.
$ac_ext
21705 cat >>conftest.
$ac_ext <<_ACEOF
21706 /* end confdefs.h. */
21707 #include <sys/types.h>
21708 #ifdef HAVE_SYS_PARAM_H
21709 # include <sys/param.h>
21711 #ifdef HAVE_SYS_MOUNT_H
21712 # include <sys/mount.h>
21714 #ifdef HAVE_SYS_VFS_H
21715 # include <sys/vfs.h>
21717 #ifdef HAVE_SYS_STATFS_H
21718 # include <sys/statfs.h>
21724 static struct statfs ac_aggr;
21725 if (sizeof ac_aggr.f_favail)
21731 rm -f conftest.
$ac_objext
21732 if { (ac_try
="$ac_compile"
21733 case "(($ac_try" in
21734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21735 *) ac_try_echo=$ac_try;;
21737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21738 (eval "$ac_compile") 2>conftest.er1
21740 grep -v '^ *+' conftest.er1 >conftest.err
21742 cat conftest.err >&5
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); } &&
21745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21746 { (case "(($ac_try" in
21747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21748 *) ac_try_echo
=$ac_try;;
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_try") 2>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; } &&
21755 { ac_try
='test -s conftest.$ac_objext'
21756 { (case "(($ac_try" in
21757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21758 *) ac_try_echo=$ac_try;;
21760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21761 (eval "$ac_try") 2>&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; }; then
21765 ac_cv_member_struct_statfs_f_favail=yes
21767 echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.$ac_ext >&5
21770 ac_cv_member_struct_statfs_f_favail=no
21773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21778 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21779 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21780 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21782 cat >>confdefs.h <<_ACEOF
21783 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21788 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21789 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21790 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21791 echo $ECHO_N "(cached) $ECHO_C" >&6
21793 cat >conftest.$ac_ext <<_ACEOF
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 #include <sys/types.h>
21800 #ifdef HAVE_SYS_PARAM_H
21801 # include <sys/param.h>
21803 #ifdef HAVE_SYS_MOUNT_H
21804 # include <sys/mount.h>
21806 #ifdef HAVE_SYS_VFS_H
21807 # include <sys/vfs.h>
21809 #ifdef HAVE_SYS_STATFS_H
21810 # include <sys/statfs.h>
21816 static struct statfs ac_aggr;
21817 if (ac_aggr.f_namelen)
21823 rm -f conftest.$ac_objext
21824 if { (ac_try="$ac_compile"
21825 case "(($ac_try" in
21826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21827 *) ac_try_echo
=$ac_try;;
21829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21830 (eval "$ac_compile") 2>conftest.er1
21832 grep -v '^ *+' conftest.er1
>conftest.err
21834 cat conftest.err
>&5
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); } &&
21837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21838 { (case "(($ac_try" in
21839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21840 *) ac_try_echo=$ac_try;;
21842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21843 (eval "$ac_try") 2>&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); }; } &&
21847 { ac_try='test -s conftest.$ac_objext'
21848 { (case "(($ac_try" in
21849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21850 *) ac_try_echo
=$ac_try;;
21852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21853 (eval "$ac_try") 2>&5
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; }; then
21857 ac_cv_member_struct_statfs_f_namelen
=yes
21859 echo "$as_me: failed program was:" >&5
21860 sed 's/^/| /' conftest.
$ac_ext >&5
21862 cat >conftest.
$ac_ext <<_ACEOF
21865 cat confdefs.h
>>conftest.
$ac_ext
21866 cat >>conftest.
$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21868 #include <sys/types.h>
21869 #ifdef HAVE_SYS_PARAM_H
21870 # include <sys/param.h>
21872 #ifdef HAVE_SYS_MOUNT_H
21873 # include <sys/mount.h>
21875 #ifdef HAVE_SYS_VFS_H
21876 # include <sys/vfs.h>
21878 #ifdef HAVE_SYS_STATFS_H
21879 # include <sys/statfs.h>
21885 static struct statfs ac_aggr;
21886 if (sizeof ac_aggr.f_namelen)
21892 rm -f conftest.
$ac_objext
21893 if { (ac_try
="$ac_compile"
21894 case "(($ac_try" in
21895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21896 *) ac_try_echo=$ac_try;;
21898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21899 (eval "$ac_compile") 2>conftest.er1
21901 grep -v '^ *+' conftest.er1 >conftest.err
21903 cat conftest.err >&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } &&
21906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21907 { (case "(($ac_try" in
21908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21909 *) ac_try_echo
=$ac_try;;
21911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21912 (eval "$ac_try") 2>&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; } &&
21916 { ac_try
='test -s conftest.$ac_objext'
21917 { (case "(($ac_try" in
21918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21919 *) ac_try_echo=$ac_try;;
21921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21922 (eval "$ac_try") 2>&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 ac_cv_member_struct_statfs_f_namelen=yes
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5
21931 ac_cv_member_struct_statfs_f_namelen=no
21934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21939 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21940 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21941 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21943 cat >>confdefs.h <<_ACEOF
21944 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21951 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21952 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21953 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21954 echo $ECHO_N "(cached) $ECHO_C" >&6
21956 cat >conftest.$ac_ext <<_ACEOF
21959 cat confdefs.h >>conftest.$ac_ext
21960 cat >>conftest.$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21962 #ifdef HAVE_SYS_STATVFS_H
21963 #include <sys/statvfs.h>
21969 static struct statvfs ac_aggr;
21970 if (ac_aggr.f_blocks)
21976 rm -f conftest.$ac_objext
21977 if { (ac_try="$ac_compile"
21978 case "(($ac_try" in
21979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21980 *) ac_try_echo
=$ac_try;;
21982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21983 (eval "$ac_compile") 2>conftest.er1
21985 grep -v '^ *+' conftest.er1
>conftest.err
21987 cat conftest.err
>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); } &&
21990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21991 { (case "(($ac_try" in
21992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_try") 2>&5
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; } &&
22000 { ac_try='test -s conftest.$ac_objext'
22001 { (case "(($ac_try" in
22002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22003 *) ac_try_echo
=$ac_try;;
22005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22006 (eval "$ac_try") 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; }; then
22010 ac_cv_member_struct_statvfs_f_blocks
=yes
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.
$ac_ext >&5
22015 cat >conftest.
$ac_ext <<_ACEOF
22018 cat confdefs.h
>>conftest.
$ac_ext
22019 cat >>conftest.
$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 #ifdef HAVE_SYS_STATVFS_H
22022 #include <sys/statvfs.h>
22028 static struct statvfs ac_aggr;
22029 if (sizeof ac_aggr.f_blocks)
22035 rm -f conftest.
$ac_objext
22036 if { (ac_try
="$ac_compile"
22037 case "(($ac_try" in
22038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22039 *) ac_try_echo=$ac_try;;
22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042 (eval "$ac_compile") 2>conftest.er1
22044 grep -v '^ *+' conftest.er1 >conftest.err
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22050 { (case "(($ac_try" in
22051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22052 *) ac_try_echo
=$ac_try;;
22054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22055 (eval "$ac_try") 2>&5
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); }; } &&
22059 { ac_try
='test -s conftest.$ac_objext'
22060 { (case "(($ac_try" in
22061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22062 *) ac_try_echo=$ac_try;;
22064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22065 (eval "$ac_try") 2>&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); }; }; then
22069 ac_cv_member_struct_statvfs_f_blocks=yes
22071 echo "$as_me: failed program was:" >&5
22072 sed 's/^/| /' conftest.$ac_ext >&5
22074 ac_cv_member_struct_statvfs_f_blocks=no
22077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22082 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
22083 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
22084 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
22086 cat >>confdefs.h <<_ACEOF
22087 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
22094 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
22095 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
22096 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6
22099 cat >conftest.$ac_ext <<_ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105 #include <sys/types.h>
22106 #ifdef HAVE_SYS_SOCKET_H
22107 # include <sys/socket.h>
22109 #ifdef HAVE_SYS_UN_H
22110 # include <sys/un.h>
22116 static struct msghdr ac_aggr;
22117 if (ac_aggr.msg_accrights)
22123 rm -f conftest.$ac_objext
22124 if { (ac_try="$ac_compile"
22125 case "(($ac_try" in
22126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22127 *) ac_try_echo
=$ac_try;;
22129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22130 (eval "$ac_compile") 2>conftest.er1
22132 grep -v '^ *+' conftest.er1
>conftest.err
22134 cat conftest.err
>&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); } &&
22137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22138 { (case "(($ac_try" in
22139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22140 *) ac_try_echo=$ac_try;;
22142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22143 (eval "$ac_try") 2>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); }; } &&
22147 { ac_try='test -s conftest.$ac_objext'
22148 { (case "(($ac_try" in
22149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22150 *) ac_try_echo
=$ac_try;;
22152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22153 (eval "$ac_try") 2>&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); }; }; then
22157 ac_cv_member_struct_msghdr_msg_accrights
=yes
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.
$ac_ext >&5
22162 cat >conftest.
$ac_ext <<_ACEOF
22165 cat confdefs.h
>>conftest.
$ac_ext
22166 cat >>conftest.
$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168 #include <sys/types.h>
22169 #ifdef HAVE_SYS_SOCKET_H
22170 # include <sys/socket.h>
22172 #ifdef HAVE_SYS_UN_H
22173 # include <sys/un.h>
22179 static struct msghdr ac_aggr;
22180 if (sizeof ac_aggr.msg_accrights)
22186 rm -f conftest.
$ac_objext
22187 if { (ac_try
="$ac_compile"
22188 case "(($ac_try" in
22189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22190 *) ac_try_echo=$ac_try;;
22192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22193 (eval "$ac_compile") 2>conftest.er1
22195 grep -v '^ *+' conftest.er1 >conftest.err
22197 cat conftest.err >&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); } &&
22200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22201 { (case "(($ac_try" in
22202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22203 *) ac_try_echo
=$ac_try;;
22205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22206 (eval "$ac_try") 2>&5
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); }; } &&
22210 { ac_try
='test -s conftest.$ac_objext'
22211 { (case "(($ac_try" in
22212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22213 *) ac_try_echo=$ac_try;;
22215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22216 (eval "$ac_try") 2>&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); }; }; then
22220 ac_cv_member_struct_msghdr_msg_accrights=yes
22222 echo "$as_me: failed program was:" >&5
22223 sed 's/^/| /' conftest.$ac_ext >&5
22225 ac_cv_member_struct_msghdr_msg_accrights=no
22228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22233 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
22234 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
22235 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
22237 cat >>confdefs.h <<_ACEOF
22238 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
22243 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
22244 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
22245 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
22246 echo $ECHO_N "(cached) $ECHO_C" >&6
22248 cat >conftest.$ac_ext <<_ACEOF
22251 cat confdefs.h >>conftest.$ac_ext
22252 cat >>conftest.$ac_ext <<_ACEOF
22253 /* end confdefs.h. */
22254 #include <sys/types.h>
22255 #ifdef HAVE_SYS_SOCKET_H
22256 # include <sys/socket.h>
22258 #ifdef HAVE_SYS_UN_H
22259 # include <sys/un.h>
22265 static struct sockaddr ac_aggr;
22266 if (ac_aggr.sa_len)
22272 rm -f conftest.$ac_objext
22273 if { (ac_try="$ac_compile"
22274 case "(($ac_try" in
22275 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22276 *) ac_try_echo
=$ac_try;;
22278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22279 (eval "$ac_compile") 2>conftest.er1
22281 grep -v '^ *+' conftest.er1
>conftest.err
22283 cat conftest.err
>&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); } &&
22286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22287 { (case "(($ac_try" in
22288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22289 *) ac_try_echo=$ac_try;;
22291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22292 (eval "$ac_try") 2>&5
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); }; } &&
22296 { ac_try='test -s conftest.$ac_objext'
22297 { (case "(($ac_try" in
22298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22299 *) ac_try_echo
=$ac_try;;
22301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22302 (eval "$ac_try") 2>&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); }; }; then
22306 ac_cv_member_struct_sockaddr_sa_len
=yes
22308 echo "$as_me: failed program was:" >&5
22309 sed 's/^/| /' conftest.
$ac_ext >&5
22311 cat >conftest.
$ac_ext <<_ACEOF
22314 cat confdefs.h
>>conftest.
$ac_ext
22315 cat >>conftest.
$ac_ext <<_ACEOF
22316 /* end confdefs.h. */
22317 #include <sys/types.h>
22318 #ifdef HAVE_SYS_SOCKET_H
22319 # include <sys/socket.h>
22321 #ifdef HAVE_SYS_UN_H
22322 # include <sys/un.h>
22328 static struct sockaddr ac_aggr;
22329 if (sizeof ac_aggr.sa_len)
22335 rm -f conftest.
$ac_objext
22336 if { (ac_try
="$ac_compile"
22337 case "(($ac_try" in
22338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22339 *) ac_try_echo=$ac_try;;
22341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22342 (eval "$ac_compile") 2>conftest.er1
22344 grep -v '^ *+' conftest.er1 >conftest.err
22346 cat conftest.err >&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); } &&
22349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22350 { (case "(($ac_try" in
22351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22352 *) ac_try_echo
=$ac_try;;
22354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22355 (eval "$ac_try") 2>&5
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); }; } &&
22359 { ac_try
='test -s conftest.$ac_objext'
22360 { (case "(($ac_try" in
22361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22362 *) ac_try_echo=$ac_try;;
22364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22365 (eval "$ac_try") 2>&5
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); }; }; then
22369 ac_cv_member_struct_sockaddr_sa_len=yes
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.$ac_ext >&5
22374 ac_cv_member_struct_sockaddr_sa_len=no
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22382 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
22383 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
22384 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
22386 cat >>confdefs.h <<_ACEOF
22387 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
22392 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
22393 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
22394 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
22395 echo $ECHO_N "(cached) $ECHO_C" >&6
22397 cat >conftest.$ac_ext <<_ACEOF
22400 cat confdefs.h >>conftest.$ac_ext
22401 cat >>conftest.$ac_ext <<_ACEOF
22402 /* end confdefs.h. */
22403 #include <sys/types.h>
22404 #ifdef HAVE_SYS_SOCKET_H
22405 # include <sys/socket.h>
22407 #ifdef HAVE_SYS_UN_H
22408 # include <sys/un.h>
22414 static struct sockaddr_un ac_aggr;
22415 if (ac_aggr.sun_len)
22421 rm -f conftest.$ac_objext
22422 if { (ac_try="$ac_compile"
22423 case "(($ac_try" in
22424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22425 *) ac_try_echo
=$ac_try;;
22427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22428 (eval "$ac_compile") 2>conftest.er1
22430 grep -v '^ *+' conftest.er1
>conftest.err
22432 cat conftest.err
>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); } &&
22435 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22436 { (case "(($ac_try" in
22437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22438 *) ac_try_echo=$ac_try;;
22440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22441 (eval "$ac_try") 2>&5
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); }; } &&
22445 { ac_try='test -s conftest.$ac_objext'
22446 { (case "(($ac_try" in
22447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22448 *) ac_try_echo
=$ac_try;;
22450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22451 (eval "$ac_try") 2>&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); }; }; then
22455 ac_cv_member_struct_sockaddr_un_sun_len
=yes
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.
$ac_ext >&5
22460 cat >conftest.
$ac_ext <<_ACEOF
22463 cat confdefs.h
>>conftest.
$ac_ext
22464 cat >>conftest.
$ac_ext <<_ACEOF
22465 /* end confdefs.h. */
22466 #include <sys/types.h>
22467 #ifdef HAVE_SYS_SOCKET_H
22468 # include <sys/socket.h>
22470 #ifdef HAVE_SYS_UN_H
22471 # include <sys/un.h>
22477 static struct sockaddr_un ac_aggr;
22478 if (sizeof ac_aggr.sun_len)
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_struct_sockaddr_un_sun_len=yes
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22523 ac_cv_member_struct_sockaddr_un_sun_len=no
22526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22531 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
22532 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
22533 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
22535 cat >>confdefs.h <<_ACEOF
22536 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
22543 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
22544 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
22545 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22548 cat >conftest.$ac_ext <<_ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22554 #include <sys/types.h>
22555 #ifdef HAVE_SCSI_SG_H
22556 #include <scsi/sg.h>
22562 static scsireq_t ac_aggr;
22569 rm -f conftest.$ac_objext
22570 if { (ac_try="$ac_compile"
22571 case "(($ac_try" in
22572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22573 *) ac_try_echo
=$ac_try;;
22575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22576 (eval "$ac_compile") 2>conftest.er1
22578 grep -v '^ *+' conftest.er1
>conftest.err
22580 cat conftest.err
>&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } &&
22583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22584 { (case "(($ac_try" in
22585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22586 *) ac_try_echo=$ac_try;;
22588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22589 (eval "$ac_try") 2>&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; } &&
22593 { ac_try='test -s conftest.$ac_objext'
22594 { (case "(($ac_try" in
22595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22596 *) ac_try_echo
=$ac_try;;
22598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22599 (eval "$ac_try") 2>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); }; }; then
22603 ac_cv_member_scsireq_t_cmd
=yes
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.
$ac_ext >&5
22608 cat >conftest.
$ac_ext <<_ACEOF
22611 cat confdefs.h
>>conftest.
$ac_ext
22612 cat >>conftest.
$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22614 #include <sys/types.h>
22615 #ifdef HAVE_SCSI_SG_H
22616 #include <scsi/sg.h>
22622 static scsireq_t ac_aggr;
22623 if (sizeof ac_aggr.cmd)
22629 rm -f conftest.
$ac_objext
22630 if { (ac_try
="$ac_compile"
22631 case "(($ac_try" in
22632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22633 *) ac_try_echo=$ac_try;;
22635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22636 (eval "$ac_compile") 2>conftest.er1
22638 grep -v '^ *+' conftest.er1 >conftest.err
22640 cat conftest.err >&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); } &&
22643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22644 { (case "(($ac_try" in
22645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22646 *) ac_try_echo
=$ac_try;;
22648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22649 (eval "$ac_try") 2>&5
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); }; } &&
22653 { ac_try
='test -s conftest.$ac_objext'
22654 { (case "(($ac_try" in
22655 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22656 *) ac_try_echo=$ac_try;;
22658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22659 (eval "$ac_try") 2>&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); }; }; then
22663 ac_cv_member_scsireq_t_cmd=yes
22665 echo "$as_me: failed program was:" >&5
22666 sed 's/^/| /' conftest.$ac_ext >&5
22668 ac_cv_member_scsireq_t_cmd=no
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22677 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22678 if test $ac_cv_member_scsireq_t_cmd = yes; then
22680 cat >>confdefs.h <<_ACEOF
22681 #define HAVE_SCSIREQ_T_CMD 1
22686 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22687 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22688 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22689 echo $ECHO_N "(cached) $ECHO_C" >&6
22691 cat >conftest.$ac_ext <<_ACEOF
22694 cat confdefs.h >>conftest.$ac_ext
22695 cat >>conftest.$ac_ext <<_ACEOF
22696 /* end confdefs.h. */
22697 #include <sys/types.h>
22698 #ifdef HAVE_SCSI_SG_H
22699 #include <scsi/sg.h>
22705 static sg_io_hdr_t ac_aggr;
22706 if (ac_aggr.interface_id)
22712 rm -f conftest.$ac_objext
22713 if { (ac_try="$ac_compile"
22714 case "(($ac_try" in
22715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22716 *) ac_try_echo
=$ac_try;;
22718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22719 (eval "$ac_compile") 2>conftest.er1
22721 grep -v '^ *+' conftest.er1
>conftest.err
22723 cat conftest.err
>&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } &&
22726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22727 { (case "(($ac_try" in
22728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22729 *) ac_try_echo=$ac_try;;
22731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22732 (eval "$ac_try") 2>&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; } &&
22736 { ac_try='test -s conftest.$ac_objext'
22737 { (case "(($ac_try" in
22738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22739 *) ac_try_echo
=$ac_try;;
22741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22742 (eval "$ac_try") 2>&5
22744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745 (exit $ac_status); }; }; then
22746 ac_cv_member_sg_io_hdr_t_interface_id
=yes
22748 echo "$as_me: failed program was:" >&5
22749 sed 's/^/| /' conftest.
$ac_ext >&5
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 <sys/types.h>
22758 #ifdef HAVE_SCSI_SG_H
22759 #include <scsi/sg.h>
22765 static sg_io_hdr_t ac_aggr;
22766 if (sizeof ac_aggr.interface_id)
22772 rm -f conftest.
$ac_objext
22773 if { (ac_try
="$ac_compile"
22774 case "(($ac_try" in
22775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_compile") 2>conftest.er1
22781 grep -v '^ *+' conftest.er1 >conftest.err
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } &&
22786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22787 { (case "(($ac_try" in
22788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22789 *) ac_try_echo
=$ac_try;;
22791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22792 (eval "$ac_try") 2>&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; } &&
22796 { ac_try
='test -s conftest.$ac_objext'
22797 { (case "(($ac_try" in
22798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22799 *) ac_try_echo=$ac_try;;
22801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22802 (eval "$ac_try") 2>&5
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; }; then
22806 ac_cv_member_sg_io_hdr_t_interface_id=yes
22808 echo "$as_me: failed program was:" >&5
22809 sed 's/^/| /' conftest.$ac_ext >&5
22811 ac_cv_member_sg_io_hdr_t_interface_id=no
22814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22819 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22820 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22821 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22823 cat >>confdefs.h <<_ACEOF
22824 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22831 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22832 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22833 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22836 cat >conftest.$ac_ext <<_ACEOF
22839 cat confdefs.h >>conftest.$ac_ext
22840 cat >>conftest.$ac_ext <<_ACEOF
22841 /* end confdefs.h. */
22842 #include <signal.h>
22847 static siginfo_t ac_aggr;
22854 rm -f conftest.$ac_objext
22855 if { (ac_try="$ac_compile"
22856 case "(($ac_try" in
22857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22858 *) ac_try_echo
=$ac_try;;
22860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22861 (eval "$ac_compile") 2>conftest.er1
22863 grep -v '^ *+' conftest.er1
>conftest.err
22865 cat conftest.err
>&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); } &&
22868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22869 { (case "(($ac_try" in
22870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22871 *) ac_try_echo=$ac_try;;
22873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22874 (eval "$ac_try") 2>&5
22876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877 (exit $ac_status); }; } &&
22878 { ac_try='test -s conftest.$ac_objext'
22879 { (case "(($ac_try" in
22880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22881 *) ac_try_echo
=$ac_try;;
22883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22884 (eval "$ac_try") 2>&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); }; }; then
22888 ac_cv_member_siginfo_t_si_fd
=yes
22890 echo "$as_me: failed program was:" >&5
22891 sed 's/^/| /' conftest.
$ac_ext >&5
22893 cat >conftest.
$ac_ext <<_ACEOF
22896 cat confdefs.h
>>conftest.
$ac_ext
22897 cat >>conftest.
$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22899 #include <signal.h>
22904 static siginfo_t ac_aggr;
22905 if (sizeof ac_aggr.si_fd)
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_siginfo_t_si_fd=yes
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22950 ac_cv_member_siginfo_t_si_fd=no
22953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22958 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22959 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22960 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22962 cat >>confdefs.h <<_ACEOF
22963 #define HAVE_SIGINFO_T_SI_FD 1
22970 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22971 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22972 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22973 echo $ECHO_N "(cached) $ECHO_C" >&6
22975 cat >conftest.$ac_ext <<_ACEOF
22978 cat confdefs.h >>conftest.$ac_ext
22979 cat >>conftest.$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22981 #include <sys/types.h>
22982 #ifdef HAVE_SYS_MTIO_H
22983 #include <sys/mtio.h>
22989 static struct mtget ac_aggr;
22990 if (ac_aggr.mt_blksiz)
22996 rm -f conftest.$ac_objext
22997 if { (ac_try="$ac_compile"
22998 case "(($ac_try" in
22999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23000 *) ac_try_echo
=$ac_try;;
23002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23003 (eval "$ac_compile") 2>conftest.er1
23005 grep -v '^ *+' conftest.er1
>conftest.err
23007 cat conftest.err
>&5
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); } &&
23010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23011 { (case "(($ac_try" in
23012 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23013 *) ac_try_echo=$ac_try;;
23015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23016 (eval "$ac_try") 2>&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); }; } &&
23020 { ac_try='test -s conftest.$ac_objext'
23021 { (case "(($ac_try" in
23022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23023 *) ac_try_echo
=$ac_try;;
23025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23026 (eval "$ac_try") 2>&5
23028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23029 (exit $ac_status); }; }; then
23030 ac_cv_member_struct_mtget_mt_blksiz
=yes
23032 echo "$as_me: failed program was:" >&5
23033 sed 's/^/| /' conftest.
$ac_ext >&5
23035 cat >conftest.
$ac_ext <<_ACEOF
23038 cat confdefs.h
>>conftest.
$ac_ext
23039 cat >>conftest.
$ac_ext <<_ACEOF
23040 /* end confdefs.h. */
23041 #include <sys/types.h>
23042 #ifdef HAVE_SYS_MTIO_H
23043 #include <sys/mtio.h>
23049 static struct mtget ac_aggr;
23050 if (sizeof ac_aggr.mt_blksiz)
23056 rm -f conftest.
$ac_objext
23057 if { (ac_try
="$ac_compile"
23058 case "(($ac_try" in
23059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_compile") 2>conftest.er1
23065 grep -v '^ *+' conftest.er1 >conftest.err
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } &&
23070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23071 { (case "(($ac_try" in
23072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23073 *) ac_try_echo
=$ac_try;;
23075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23076 (eval "$ac_try") 2>&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; } &&
23080 { ac_try
='test -s conftest.$ac_objext'
23081 { (case "(($ac_try" in
23082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23083 *) ac_try_echo=$ac_try;;
23085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23086 (eval "$ac_try") 2>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; }; then
23090 ac_cv_member_struct_mtget_mt_blksiz=yes
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23095 ac_cv_member_struct_mtget_mt_blksiz=no
23098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23103 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
23104 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
23105 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
23107 cat >>confdefs.h <<_ACEOF
23108 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
23113 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
23114 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
23115 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
23116 echo $ECHO_N "(cached) $ECHO_C" >&6
23118 cat >conftest.$ac_ext <<_ACEOF
23121 cat confdefs.h >>conftest.$ac_ext
23122 cat >>conftest.$ac_ext <<_ACEOF
23123 /* end confdefs.h. */
23124 #include <sys/types.h>
23125 #ifdef HAVE_SYS_MTIO_H
23126 #include <sys/mtio.h>
23132 static struct mtget ac_aggr;
23133 if (ac_aggr.mt_gstat)
23139 rm -f conftest.$ac_objext
23140 if { (ac_try="$ac_compile"
23141 case "(($ac_try" in
23142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23143 *) ac_try_echo
=$ac_try;;
23145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23146 (eval "$ac_compile") 2>conftest.er1
23148 grep -v '^ *+' conftest.er1
>conftest.err
23150 cat conftest.err
>&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } &&
23153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23154 { (case "(($ac_try" in
23155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23156 *) ac_try_echo=$ac_try;;
23158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23159 (eval "$ac_try") 2>&5
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); }; } &&
23163 { ac_try='test -s conftest.$ac_objext'
23164 { (case "(($ac_try" in
23165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23166 *) ac_try_echo
=$ac_try;;
23168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23169 (eval "$ac_try") 2>&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; }; then
23173 ac_cv_member_struct_mtget_mt_gstat
=yes
23175 echo "$as_me: failed program was:" >&5
23176 sed 's/^/| /' conftest.
$ac_ext >&5
23178 cat >conftest.
$ac_ext <<_ACEOF
23181 cat confdefs.h
>>conftest.
$ac_ext
23182 cat >>conftest.
$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23184 #include <sys/types.h>
23185 #ifdef HAVE_SYS_MTIO_H
23186 #include <sys/mtio.h>
23192 static struct mtget ac_aggr;
23193 if (sizeof ac_aggr.mt_gstat)
23199 rm -f conftest.
$ac_objext
23200 if { (ac_try
="$ac_compile"
23201 case "(($ac_try" in
23202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23203 *) ac_try_echo=$ac_try;;
23205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23206 (eval "$ac_compile") 2>conftest.er1
23208 grep -v '^ *+' conftest.er1 >conftest.err
23210 cat conftest.err >&5
23211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23212 (exit $ac_status); } &&
23213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23214 { (case "(($ac_try" in
23215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23216 *) ac_try_echo
=$ac_try;;
23218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23219 (eval "$ac_try") 2>&5
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); }; } &&
23223 { ac_try
='test -s conftest.$ac_objext'
23224 { (case "(($ac_try" in
23225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23226 *) ac_try_echo=$ac_try;;
23228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23229 (eval "$ac_try") 2>&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); }; }; then
23233 ac_cv_member_struct_mtget_mt_gstat=yes
23235 echo "$as_me: failed program was:" >&5
23236 sed 's/^/| /' conftest.$ac_ext >&5
23238 ac_cv_member_struct_mtget_mt_gstat=no
23241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23246 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
23247 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
23248 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
23250 cat >>confdefs.h <<_ACEOF
23251 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
23256 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
23257 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
23258 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23261 cat >conftest.$ac_ext <<_ACEOF
23264 cat confdefs.h >>conftest.$ac_ext
23265 cat >>conftest.$ac_ext <<_ACEOF
23266 /* end confdefs.h. */
23267 #include <sys/types.h>
23268 #ifdef HAVE_SYS_MTIO_H
23269 #include <sys/mtio.h>
23275 static struct mtget ac_aggr;
23276 if (ac_aggr.mt_blkno)
23282 rm -f conftest.$ac_objext
23283 if { (ac_try="$ac_compile"
23284 case "(($ac_try" in
23285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23286 *) ac_try_echo
=$ac_try;;
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_compile") 2>conftest.er1
23291 grep -v '^ *+' conftest.er1
>conftest.err
23293 cat conftest.err
>&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } &&
23296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23297 { (case "(($ac_try" in
23298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23299 *) ac_try_echo=$ac_try;;
23301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23302 (eval "$ac_try") 2>&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); }; } &&
23306 { ac_try='test -s conftest.$ac_objext'
23307 { (case "(($ac_try" in
23308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23309 *) ac_try_echo
=$ac_try;;
23311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23312 (eval "$ac_try") 2>&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; }; then
23316 ac_cv_member_struct_mtget_mt_blkno
=yes
23318 echo "$as_me: failed program was:" >&5
23319 sed 's/^/| /' conftest.
$ac_ext >&5
23321 cat >conftest.
$ac_ext <<_ACEOF
23324 cat confdefs.h
>>conftest.
$ac_ext
23325 cat >>conftest.
$ac_ext <<_ACEOF
23326 /* end confdefs.h. */
23327 #include <sys/types.h>
23328 #ifdef HAVE_SYS_MTIO_H
23329 #include <sys/mtio.h>
23335 static struct mtget ac_aggr;
23336 if (sizeof ac_aggr.mt_blkno)
23342 rm -f conftest.
$ac_objext
23343 if { (ac_try
="$ac_compile"
23344 case "(($ac_try" in
23345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23346 *) ac_try_echo=$ac_try;;
23348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23349 (eval "$ac_compile") 2>conftest.er1
23351 grep -v '^ *+' conftest.er1 >conftest.err
23353 cat conftest.err >&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } &&
23356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23357 { (case "(($ac_try" in
23358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23359 *) ac_try_echo
=$ac_try;;
23361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23362 (eval "$ac_try") 2>&5
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); }; } &&
23366 { ac_try
='test -s conftest.$ac_objext'
23367 { (case "(($ac_try" in
23368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23369 *) ac_try_echo=$ac_try;;
23371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23372 (eval "$ac_try") 2>&5
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; }; then
23376 ac_cv_member_struct_mtget_mt_blkno=yes
23378 echo "$as_me: failed program was:" >&5
23379 sed 's/^/| /' conftest.$ac_ext >&5
23381 ac_cv_member_struct_mtget_mt_blkno=no
23384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23389 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
23390 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
23391 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
23393 cat >>confdefs.h <<_ACEOF
23394 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
23401 { echo "$as_me:$LINENO: checking for struct option.name" >&5
23402 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
23403 if test "${ac_cv_member_struct_option_name+set}" = set; then
23404 echo $ECHO_N "(cached) $ECHO_C" >&6
23406 cat >conftest.$ac_ext <<_ACEOF
23409 cat confdefs.h >>conftest.$ac_ext
23410 cat >>conftest.$ac_ext <<_ACEOF
23411 /* end confdefs.h. */
23412 #ifdef HAVE_GETOPT_H
23413 #include <getopt.h>
23419 static struct option ac_aggr;
23426 rm -f conftest.$ac_objext
23427 if { (ac_try="$ac_compile"
23428 case "(($ac_try" in
23429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23430 *) ac_try_echo
=$ac_try;;
23432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23433 (eval "$ac_compile") 2>conftest.er1
23435 grep -v '^ *+' conftest.er1
>conftest.err
23437 cat conftest.err
>&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); } &&
23440 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23441 { (case "(($ac_try" in
23442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23443 *) ac_try_echo=$ac_try;;
23445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23446 (eval "$ac_try") 2>&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; } &&
23450 { ac_try='test -s conftest.$ac_objext'
23451 { (case "(($ac_try" in
23452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23453 *) ac_try_echo
=$ac_try;;
23455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23456 (eval "$ac_try") 2>&5
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); }; }; then
23460 ac_cv_member_struct_option_name
=yes
23462 echo "$as_me: failed program was:" >&5
23463 sed 's/^/| /' conftest.
$ac_ext >&5
23465 cat >conftest.
$ac_ext <<_ACEOF
23468 cat confdefs.h
>>conftest.
$ac_ext
23469 cat >>conftest.
$ac_ext <<_ACEOF
23470 /* end confdefs.h. */
23471 #ifdef HAVE_GETOPT_H
23472 #include <getopt.h>
23478 static struct option ac_aggr;
23479 if (sizeof ac_aggr.name)
23485 rm -f conftest.
$ac_objext
23486 if { (ac_try
="$ac_compile"
23487 case "(($ac_try" in
23488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_compile") 2>conftest.er1
23494 grep -v '^ *+' conftest.er1 >conftest.err
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } &&
23499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23500 { (case "(($ac_try" in
23501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23502 *) ac_try_echo
=$ac_try;;
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_try") 2>&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); }; } &&
23509 { ac_try
='test -s conftest.$ac_objext'
23510 { (case "(($ac_try" in
23511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23512 *) ac_try_echo=$ac_try;;
23514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23515 (eval "$ac_try") 2>&5
23517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23518 (exit $ac_status); }; }; then
23519 ac_cv_member_struct_option_name=yes
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.$ac_ext >&5
23524 ac_cv_member_struct_option_name=no
23527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23532 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
23533 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
23534 if test $ac_cv_member_struct_option_name = yes; then
23536 cat >>confdefs.h <<_ACEOF
23537 #define HAVE_STRUCT_OPTION_NAME 1
23544 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
23545 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
23546 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
23547 echo $ECHO_N "(cached) $ECHO_C" >&6
23549 cat >conftest.$ac_ext <<_ACEOF
23552 cat confdefs.h >>conftest.$ac_ext
23553 cat >>conftest.$ac_ext <<_ACEOF
23554 /* end confdefs.h. */
23555 $ac_includes_default
23559 static struct stat ac_aggr;
23560 if (ac_aggr.st_blocks)
23566 rm -f conftest.$ac_objext
23567 if { (ac_try="$ac_compile"
23568 case "(($ac_try" in
23569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23570 *) ac_try_echo
=$ac_try;;
23572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23573 (eval "$ac_compile") 2>conftest.er1
23575 grep -v '^ *+' conftest.er1
>conftest.err
23577 cat conftest.err
>&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); } &&
23580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23581 { (case "(($ac_try" in
23582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23583 *) ac_try_echo=$ac_try;;
23585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23586 (eval "$ac_try") 2>&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; } &&
23590 { ac_try='test -s conftest.$ac_objext'
23591 { (case "(($ac_try" in
23592 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23593 *) ac_try_echo
=$ac_try;;
23595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23596 (eval "$ac_try") 2>&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; }; then
23600 ac_cv_member_struct_stat_st_blocks
=yes
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.
$ac_ext >&5
23605 cat >conftest.
$ac_ext <<_ACEOF
23608 cat confdefs.h
>>conftest.
$ac_ext
23609 cat >>conftest.
$ac_ext <<_ACEOF
23610 /* end confdefs.h. */
23611 $ac_includes_default
23615 static struct stat ac_aggr;
23616 if (sizeof ac_aggr.st_blocks)
23622 rm -f conftest.
$ac_objext
23623 if { (ac_try
="$ac_compile"
23624 case "(($ac_try" in
23625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23626 *) ac_try_echo=$ac_try;;
23628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23629 (eval "$ac_compile") 2>conftest.er1
23631 grep -v '^ *+' conftest.er1 >conftest.err
23633 cat conftest.err >&5
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); } &&
23636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23637 { (case "(($ac_try" in
23638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23639 *) ac_try_echo
=$ac_try;;
23641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23642 (eval "$ac_try") 2>&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; } &&
23646 { ac_try
='test -s conftest.$ac_objext'
23647 { (case "(($ac_try" in
23648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23649 *) ac_try_echo=$ac_try;;
23651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23652 (eval "$ac_try") 2>&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); }; }; then
23656 ac_cv_member_struct_stat_st_blocks=yes
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.$ac_ext >&5
23661 ac_cv_member_struct_stat_st_blocks=no
23664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23669 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23670 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23671 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23673 cat >>confdefs.h <<_ACEOF
23674 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23681 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23682 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23683 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23686 cat >conftest.$ac_ext <<_ACEOF
23689 cat confdefs.h >>conftest.$ac_ext
23690 cat >>conftest.$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23692 #ifdef HAVE_SYS_TYPES_H
23693 #include <sys/types.h>
23695 #ifdef HAVE_NETINET_IN_H
23696 #include <netinet/in.h>
23702 static struct sockaddr_in6 ac_aggr;
23703 if (ac_aggr.sin6_scope_id)
23709 rm -f conftest.$ac_objext
23710 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23718 grep -v '^ *+' conftest.er1
>conftest.err
23720 cat conftest.err
>&5
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } &&
23723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23724 { (case "(($ac_try" in
23725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_try") 2>&5
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; } &&
23733 { ac_try='test -s conftest.$ac_objext'
23734 { (case "(($ac_try" in
23735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23736 *) ac_try_echo
=$ac_try;;
23738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23739 (eval "$ac_try") 2>&5
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); }; }; then
23743 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.
$ac_ext >&5
23748 cat >conftest.
$ac_ext <<_ACEOF
23751 cat confdefs.h
>>conftest.
$ac_ext
23752 cat >>conftest.
$ac_ext <<_ACEOF
23753 /* end confdefs.h. */
23754 #ifdef HAVE_SYS_TYPES_H
23755 #include <sys/types.h>
23757 #ifdef HAVE_NETINET_IN_H
23758 #include <netinet/in.h>
23764 static struct sockaddr_in6 ac_aggr;
23765 if (sizeof ac_aggr.sin6_scope_id)
23771 rm -f conftest.
$ac_objext
23772 if { (ac_try
="$ac_compile"
23773 case "(($ac_try" in
23774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23775 *) ac_try_echo=$ac_try;;
23777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23778 (eval "$ac_compile") 2>conftest.er1
23780 grep -v '^ *+' conftest.er1 >conftest.err
23782 cat conftest.err >&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); } &&
23785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23786 { (case "(($ac_try" in
23787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23788 *) ac_try_echo
=$ac_try;;
23790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23791 (eval "$ac_try") 2>&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); }; } &&
23795 { ac_try
='test -s conftest.$ac_objext'
23796 { (case "(($ac_try" in
23797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23798 *) ac_try_echo=$ac_try;;
23800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23801 (eval "$ac_try") 2>&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; }; then
23805 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23807 echo "$as_me: failed program was:" >&5
23808 sed 's/^/| /' conftest.$ac_ext >&5
23810 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23818 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23819 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23820 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23822 cat >>confdefs.h <<_ACEOF
23823 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23830 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23831 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23832 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23833 echo $ECHO_N "(cached) $ECHO_C" >&6
23835 cat >conftest.$ac_ext <<_ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841 #ifdef HAVE_SYS_TYPES_H
23842 #include <sys/types.h>
23844 #ifdef HAVE_NETINET_IN_H
23845 # include <netinet/in.h>
23847 #ifdef HAVE_ARPA_NAMESER_H
23848 # include <arpa/nameser.h>
23854 static ns_msg ac_aggr;
23855 if (ac_aggr._msg_ptr)
23861 rm -f conftest.$ac_objext
23862 if { (ac_try="$ac_compile"
23863 case "(($ac_try" in
23864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23865 *) ac_try_echo
=$ac_try;;
23867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23868 (eval "$ac_compile") 2>conftest.er1
23870 grep -v '^ *+' conftest.er1
>conftest.err
23872 cat conftest.err
>&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } &&
23875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23876 { (case "(($ac_try" in
23877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23878 *) ac_try_echo=$ac_try;;
23880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23881 (eval "$ac_try") 2>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); }; } &&
23885 { ac_try='test -s conftest.$ac_objext'
23886 { (case "(($ac_try" in
23887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23888 *) ac_try_echo
=$ac_try;;
23890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23891 (eval "$ac_try") 2>&5
23893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894 (exit $ac_status); }; }; then
23895 ac_cv_member_ns_msg__msg_ptr
=yes
23897 echo "$as_me: failed program was:" >&5
23898 sed 's/^/| /' conftest.
$ac_ext >&5
23900 cat >conftest.
$ac_ext <<_ACEOF
23903 cat confdefs.h
>>conftest.
$ac_ext
23904 cat >>conftest.
$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23906 #ifdef HAVE_SYS_TYPES_H
23907 #include <sys/types.h>
23909 #ifdef HAVE_NETINET_IN_H
23910 # include <netinet/in.h>
23912 #ifdef HAVE_ARPA_NAMESER_H
23913 # include <arpa/nameser.h>
23919 static ns_msg ac_aggr;
23920 if (sizeof ac_aggr._msg_ptr)
23926 rm -f conftest.
$ac_objext
23927 if { (ac_try
="$ac_compile"
23928 case "(($ac_try" in
23929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23930 *) ac_try_echo=$ac_try;;
23932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23933 (eval "$ac_compile") 2>conftest.er1
23935 grep -v '^ *+' conftest.er1 >conftest.err
23937 cat conftest.err >&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); } &&
23940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23941 { (case "(($ac_try" in
23942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23943 *) ac_try_echo
=$ac_try;;
23945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23946 (eval "$ac_try") 2>&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); }; } &&
23950 { ac_try
='test -s conftest.$ac_objext'
23951 { (case "(($ac_try" in
23952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23953 *) ac_try_echo=$ac_try;;
23955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23956 (eval "$ac_try") 2>&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); }; }; then
23960 ac_cv_member_ns_msg__msg_ptr=yes
23962 echo "$as_me: failed program was:" >&5
23963 sed 's/^/| /' conftest.$ac_ext >&5
23965 ac_cv_member_ns_msg__msg_ptr=no
23968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23973 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23974 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23975 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23977 cat >>confdefs.h <<_ACEOF
23978 #define HAVE_NS_MSG__MSG_PTR 1
23985 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23986 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23987 if test "${ac_cv_have_timezone+set}" = set; then
23988 echo $ECHO_N "(cached) $ECHO_C" >&6
23990 cat >conftest.$ac_ext <<_ACEOF
23993 cat confdefs.h >>conftest.$ac_ext
23994 cat >>conftest.$ac_ext <<_ACEOF
23995 /* end confdefs.h. */
24005 rm -f conftest.$ac_objext conftest$ac_exeext
24006 if { (ac_try="$ac_link"
24007 case "(($ac_try" in
24008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24009 *) ac_try_echo
=$ac_try;;
24011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24012 (eval "$ac_link") 2>conftest.er1
24014 grep -v '^ *+' conftest.er1
>conftest.err
24016 cat conftest.err
>&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } &&
24019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
24029 { ac_try='test -s conftest$ac_exeext'
24030 { (case "(($ac_try" in
24031 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24032 *) ac_try_echo
=$ac_try;;
24034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24035 (eval "$ac_try") 2>&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24039 ac_cv_have_timezone
="yes"
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.
$ac_ext >&5
24044 ac_cv_have_timezone
="no"
24047 rm -f core conftest.err conftest.
$ac_objext \
24048 conftest
$ac_exeext conftest.
$ac_ext
24050 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
24051 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
24052 if test "$ac_cv_have_timezone" = "yes"
24055 cat >>confdefs.h
<<\_ACEOF
24056 #define HAVE_TIMEZONE 1
24060 { echo "$as_me:$LINENO: checking for daylight variable" >&5
24061 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
24062 if test "${ac_cv_have_daylight+set}" = set; then
24063 echo $ECHO_N "(cached) $ECHO_C" >&6
24065 cat >conftest.
$ac_ext <<_ACEOF
24068 cat confdefs.h
>>conftest.
$ac_ext
24069 cat >>conftest.
$ac_ext <<_ACEOF
24070 /* end confdefs.h. */
24080 rm -f conftest.
$ac_objext conftest
$ac_exeext
24081 if { (ac_try
="$ac_link"
24082 case "(($ac_try" in
24083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24084 *) ac_try_echo=$ac_try;;
24086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24087 (eval "$ac_link") 2>conftest.er1
24089 grep -v '^ *+' conftest.er1 >conftest.err
24091 cat conftest.err >&5
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); } &&
24094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24095 { (case "(($ac_try" in
24096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24097 *) ac_try_echo
=$ac_try;;
24099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24100 (eval "$ac_try") 2>&5
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; } &&
24104 { ac_try
='test -s conftest$ac_exeext'
24105 { (case "(($ac_try" in
24106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24107 *) ac_try_echo=$ac_try;;
24109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24110 (eval "$ac_try") 2>&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; }; then
24114 ac_cv_have_daylight="yes"
24116 echo "$as_me: failed program was:" >&5
24117 sed 's/^/| /' conftest.$ac_ext >&5
24119 ac_cv_have_daylight="no"
24122 rm -f core conftest.err conftest.$ac_objext \
24123 conftest$ac_exeext conftest.$ac_ext
24125 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
24126 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
24127 if test "$ac_cv_have_daylight" = "yes"
24130 cat >>confdefs.h <<\_ACEOF
24131 #define HAVE_DAYLIGHT 1
24138 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
24139 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
24140 if test "${ac_cv_cpp_def___i386__+set}" = set; then
24141 echo $ECHO_N "(cached) $ECHO_C" >&6
24143 cat >conftest.$ac_ext <<_ACEOF
24146 cat confdefs.h >>conftest.$ac_ext
24147 cat >>conftest.$ac_ext <<_ACEOF
24148 /* end confdefs.h. */
24153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24154 $EGREP "yes" >/dev/null 2>&1; then
24155 ac_cv_cpp_def___i386__=yes
24157 ac_cv_cpp_def___i386__=no
24162 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
24163 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
24164 if test $ac_cv_cpp_def___i386__ = yes; then
24165 CFLAGS="$CFLAGS -D__i386__"
24166 LINTFLAGS="$LINTFLAGS -D__i386__"
24169 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
24170 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
24171 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
24172 echo $ECHO_N "(cached) $ECHO_C" >&6
24174 cat >conftest.$ac_ext <<_ACEOF
24177 cat confdefs.h >>conftest.$ac_ext
24178 cat >>conftest.$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24185 $EGREP "yes" >/dev/null 2>&1; then
24186 ac_cv_cpp_def___x86_64__=yes
24188 ac_cv_cpp_def___x86_64__=no
24193 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
24194 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
24195 if test $ac_cv_cpp_def___x86_64__ = yes; then
24196 CFLAGS="$CFLAGS -D__x86_64__"
24197 LINTFLAGS="$LINTFLAGS -D__x86_64__"
24200 { echo "$as_me:$LINENO: checking whether we need to define _WIN64" >&5
24201 echo $ECHO_N "checking whether we need to define _WIN64... $ECHO_C" >&6; }
24202 if test "${ac_cv_cpp_def__WIN64+set}" = set; then
24203 echo $ECHO_N "(cached) $ECHO_C" >&6
24205 cat >conftest.$ac_ext <<_ACEOF
24208 cat confdefs.h >>conftest.$ac_ext
24209 cat >>conftest.$ac_ext <<_ACEOF
24210 /* end confdefs.h. */
24215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24216 $EGREP "yes" >/dev/null 2>&1; then
24217 ac_cv_cpp_def__WIN64=yes
24219 ac_cv_cpp_def__WIN64=no
24224 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def__WIN64" >&5
24225 echo "${ECHO_T}$ac_cv_cpp_def__WIN64" >&6; }
24226 if test $ac_cv_cpp_def__WIN64 = yes; then
24227 CFLAGS="$CFLAGS -D_WIN64"
24228 LINTFLAGS="$LINTFLAGS -D_WIN64"
24231 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
24232 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
24233 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
24234 echo $ECHO_N "(cached) $ECHO_C" >&6
24236 cat >conftest.$ac_ext <<_ACEOF
24239 cat confdefs.h >>conftest.$ac_ext
24240 cat >>conftest.$ac_ext <<_ACEOF
24241 /* end confdefs.h. */
24246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24247 $EGREP "yes" >/dev/null 2>&1; then
24248 ac_cv_cpp_def___ALPHA__=yes
24250 ac_cv_cpp_def___ALPHA__=no
24255 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
24256 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
24257 if test $ac_cv_cpp_def___ALPHA__ = yes; then
24258 CFLAGS="$CFLAGS -D__ALPHA__"
24259 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
24262 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
24263 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
24264 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
24265 echo $ECHO_N "(cached) $ECHO_C" >&6
24267 cat >conftest.$ac_ext <<_ACEOF
24270 cat confdefs.h >>conftest.$ac_ext
24271 cat >>conftest.$ac_ext <<_ACEOF
24272 /* end confdefs.h. */
24277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24278 $EGREP "yes" >/dev/null 2>&1; then
24279 ac_cv_cpp_def___sparc__=yes
24281 ac_cv_cpp_def___sparc__=no
24286 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
24287 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
24288 if test $ac_cv_cpp_def___sparc__ = yes; then
24289 CFLAGS="$CFLAGS -D__sparc__"
24290 LINTFLAGS="$LINTFLAGS -D__sparc__"
24293 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
24294 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
24295 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
24296 echo $ECHO_N "(cached) $ECHO_C" >&6
24298 cat >conftest.$ac_ext <<_ACEOF
24301 cat confdefs.h >>conftest.$ac_ext
24302 cat >>conftest.$ac_ext <<_ACEOF
24303 /* end confdefs.h. */
24304 #ifndef __powerpc__
24308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24309 $EGREP "yes" >/dev/null 2>&1; then
24310 ac_cv_cpp_def___powerpc__=yes
24312 ac_cv_cpp_def___powerpc__=no
24317 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
24318 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
24319 if test $ac_cv_cpp_def___powerpc__ = yes; then
24320 CFLAGS="$CFLAGS -D__powerpc__"
24321 LINTFLAGS="$LINTFLAGS -D__powerpc__"
24326 case $host_vendor in
24327 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
24328 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
24329 if test "${ac_cv_cpp_def___sun__+set}" = set; then
24330 echo $ECHO_N "(cached) $ECHO_C" >&6
24332 cat >conftest.$ac_ext <<_ACEOF
24335 cat confdefs.h >>conftest.$ac_ext
24336 cat >>conftest.$ac_ext <<_ACEOF
24337 /* end confdefs.h. */
24342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24343 $EGREP "yes" >/dev/null 2>&1; then
24344 ac_cv_cpp_def___sun__=yes
24346 ac_cv_cpp_def___sun__=no
24351 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
24352 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
24353 if test $ac_cv_cpp_def___sun__ = yes; then
24354 CFLAGS="$CFLAGS -D__sun__"
24355 LINTFLAGS="$LINTFLAGS -D__sun__"
24364 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
24366 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
24368 ac_config_commands="$ac_config_commands dlls/kernel/messages"
24370 ac_config_commands="$ac_config_commands dlls/user/resources"
24372 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
24374 ac_config_commands="$ac_config_commands include/wine"
24377 MAKE_RULES=Make.rules
24380 MAKE_DLL_RULES=dlls/Makedll.rules
24383 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
24386 MAKE_TEST_RULES=dlls/Maketest.rules
24389 MAKE_PROG_RULES=programs/Makeprog.rules
24392 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/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/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"
24395 cat >confcache <<\_ACEOF
24396 # This file is a shell script that caches the results of configure
24397 # tests run on this system so they can be shared between configure
24398 # scripts and configure runs, see configure's option --config-cache.
24399 # It is not useful on other systems. If it contains results you don't
24400 # want to keep, you may remove or edit it.
24402 # config.status only pays attention to the cache file if you give it
24403 # the --recheck option to rerun configure.
24405 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
24406 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24407 # following values.
24411 # The following way of writing the cache mishandles newlines in values,
24412 # but we know of no workaround that is simple, portable, and efficient.
24413 # So, we kill variables containing newlines.
24414 # Ultrix sh set writes to stderr and can't be redirected directly,
24415 # and sets the high bit in the cache file unless we assign to the vars.
24417 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24418 eval ac_val
=\$
$ac_var
24422 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24423 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24426 _ | IFS | as_nl
) ;; #(
24427 *) $as_unset $ac_var ;;
24433 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24434 *${as_nl}ac_space
=\
*)
24435 # `set' does not quote correctly, so add quotes (double-quote
24436 # substitution turns \\\\ into \\, and sed turns \\ into \).
24439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24442 # `set' quotes correctly as required by POSIX, so do not add quotes.
24443 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24454 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24456 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24457 if test -w "$cache_file"; then
24458 test "x$cache_file" != "x/dev/null" &&
24459 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24460 echo "$as_me: updating cache $cache_file" >&6;}
24461 cat confcache
>$cache_file
24463 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24464 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24469 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24470 # Let make expand exec_prefix.
24471 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24473 DEFS
=-DHAVE_CONFIG_H
24477 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24478 # 1. Remove the extension, and $U if already installed.
24479 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24480 ac_i
=`echo "$ac_i" | sed "$ac_script"`
24481 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24482 # will be set to the directory where LIBOBJS objects are built.
24483 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24484 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24486 LIBOBJS
=$ac_libobjs
24488 LTLIBOBJS
=$ac_ltlibobjs
24492 : ${CONFIG_STATUS=./config.status}
24493 ac_clean_files_save
=$ac_clean_files
24494 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24495 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24496 echo "$as_me: creating $CONFIG_STATUS" >&6;}
24497 cat >$CONFIG_STATUS <<_ACEOF
24499 # Generated by $as_me.
24500 # Run this file to recreate the current configuration.
24501 # Compiler output produced by configure, useful for debugging
24502 # configure, is in config.log if it exists.
24505 ac_cs_recheck=false
24507 SHELL=\${CONFIG_SHELL-$SHELL}
24510 cat >>$CONFIG_STATUS <<\_ACEOF
24511 ## --------------------- ##
24512 ## M4sh Initialization. ##
24513 ## --------------------- ##
24515 # Be Bourne compatible
24516 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24519 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24520 # is contrary to our usage. Disable this feature.
24521 alias -g '${1+"$@"}'='"$@"'
24522 setopt NO_GLOB_SUBST
24524 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
24526 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
24527 DUALCASE
=1; export DUALCASE
# for MKS sh
24531 # Avoid depending upon Character Ranges.
24532 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24533 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24534 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24535 as_cr_digits
='0123456789'
24536 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24538 # The user is always right.
24539 if test "${PATH_SEPARATOR+set}" != set; then
24540 echo "#! /bin/sh" >conf$$.sh
24541 echo "exit 0" >>conf$$.sh
24543 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
24551 # Support unset when possible.
24552 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
24560 # We need space, tab and new line, in precisely that order. Quoting is
24561 # there to prevent editors from complaining about space-tab.
24562 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24563 # splitting by setting IFS to empty value.)
24568 # Find who we are. Look in the path if we contain no directory separator.
24570 *[\\/]* ) as_myself
=$0 ;;
24571 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24572 for as_dir
in $PATH
24575 test -z "$as_dir" && as_dir
=.
24576 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
24582 # We did not find ourselves, most probably we were run as `sh COMMAND'
24583 # in which case we are not to be found in the path.
24584 if test "x$as_myself" = x
; then
24587 if test ! -f "$as_myself"; then
24588 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24589 { (exit 1); exit 1; }
24592 # Work around bugs in pre-3.0 UWIN ksh.
24593 for as_var
in ENV MAIL MAILPATH
24594 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24602 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24603 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24604 LC_TELEPHONE LC_TIME
24606 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24607 eval $as_var=C
; export $as_var
24609 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24613 # Required to use basename.
24614 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24615 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24621 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24622 as_basename
=basename
24628 # Name of the executable.
24629 as_me
=`$as_basename -- "$0" ||
24630 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24631 X"$0" : 'X\(//\)$' \| \
24632 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24634 sed '/^.*\/\([^/][^/]*\)\/*$/{
24653 as_lineno_1
=$LINENO
24654 as_lineno_2
=$LINENO
24655 test "x$as_lineno_1" != "x$as_lineno_2" &&
24656 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
24658 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24659 # uniformly replaced by the line number. The first 'sed' inserts a
24660 # line-number line after each line using $LINENO; the second 'sed'
24661 # does the real work. The second script uses 'N' to pair each
24662 # line-number line with the line containing $LINENO, and appends
24663 # trailing '-' during substitution so that $LINENO is not a special
24664 # case at line end.
24665 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24666 # scripts with optimization help from Paolo Bonzini. Blame Lee
24667 # E. McMahon (1931-1989) for sed's syntax. :-)
24679 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24682 ' >$as_me.lineno
&&
24683 chmod +x
"$as_me.lineno" ||
24684 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24685 { (exit 1); exit 1; }; }
24687 # Don't try to exec as it changes $[0], causing all sort of problems
24688 # (the dirname of $[0] is not the place where we might find the
24689 # original and so on. Autoconf is especially sensitive to this).
24690 .
"./$as_me.lineno"
24691 # Exit status is that of the last command.
24696 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24702 ECHO_C
= ECHO_N
= ECHO_T
=
24703 case `echo -n x` in
24705 case `echo 'x\c'` in
24706 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24713 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24714 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24720 rm -f conf$$ conf$$.exe conf$$.
file
24721 if test -d conf$$.dir
; then
24722 rm -f conf$$.dir
/conf$$.
file
24728 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24730 # ... but there are two gotchas:
24731 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24732 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24733 # In both cases, we have to default to `cp -p'.
24734 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24736 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24741 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24742 rmdir conf$$.dir
2>/dev
/null
24744 if mkdir
-p .
2>/dev
/null
; then
24747 test -d .
/-p && rmdir .
/-p
24751 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24752 # systems may use methods other than mode bits to determine executability.
24753 cat >conf$$.
file <<_ASEOF
24757 chmod +x conf$$.
file
24758 if test -x conf$$.
file >/dev
/null
2>&1; then
24759 as_executable_p
="test -x"
24765 # Sed expression to map a string onto a valid CPP name.
24766 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24768 # Sed expression to map a string onto a valid variable name.
24769 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24774 # Save the log message, to keep $[0] and so on meaningful, and to
24775 # report actual input values of CONFIG_FILES etc. instead of their
24776 # values after options handling.
24778 This file was extended by Wine $as_me 0.9.19, which was
24779 generated by GNU Autoconf 2.60a. Invocation command line was
24781 CONFIG_FILES = $CONFIG_FILES
24782 CONFIG_HEADERS = $CONFIG_HEADERS
24783 CONFIG_LINKS = $CONFIG_LINKS
24784 CONFIG_COMMANDS = $CONFIG_COMMANDS
24787 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24792 cat >>$CONFIG_STATUS <<_ACEOF
24793 # Files that config.status was made for.
24794 config_files="$ac_config_files"
24795 config_headers="$ac_config_headers"
24796 config_commands="$ac_config_commands"
24800 cat >>$CONFIG_STATUS <<\_ACEOF
24802 \`$as_me' instantiates files from templates according to the
24803 current configuration.
24805 Usage: $0 [OPTIONS] [FILE]...
24807 -h, --help print this help, then exit
24808 -V, --version print version number and configuration settings, then exit
24809 -q, --quiet do not print progress messages
24810 -d, --debug don't remove temporary files
24811 --recheck update $as_me by reconfiguring in the same conditions
24812 --file=FILE[:TEMPLATE]
24813 instantiate the configuration file FILE
24814 --header=FILE[:TEMPLATE]
24815 instantiate the configuration header FILE
24817 Configuration files:
24820 Configuration headers:
24823 Configuration commands:
24826 Report bugs to <bug-autoconf@gnu.org>."
24829 cat >>$CONFIG_STATUS <<_ACEOF
24831 Wine config.status 0.9.19
24832 configured by $0, generated by GNU Autoconf 2.60a,
24833 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24835 Copyright (C) 2006 Free Software Foundation, Inc.
24836 This config.status script is free software; the Free Software Foundation
24837 gives unlimited permission to copy, distribute and modify it."
24844 cat >>$CONFIG_STATUS <<\_ACEOF
24845 # If no file are specified by the user, then we need to provide default
24846 # value. By we need to know if files were specified by the user.
24852 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24853 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24864 # Handling of the options.
24865 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24867 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24868 echo "$ac_cs_version"; exit ;;
24869 --debug |
--debu |
--deb |
--de |
--d |
-d )
24871 --file |
--fil |
--fi |
--f )
24873 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24874 ac_need_defaults
=false
;;
24875 --header |
--heade |
--head |
--hea )
24877 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24878 ac_need_defaults
=false
;;
24880 # Conflict between --help and --header
24881 { echo "$as_me: error: ambiguous option: $1
24882 Try \`$0 --help' for more information." >&2
24883 { (exit 1); exit 1; }; };;
24884 --help |
--hel |
-h )
24885 echo "$ac_cs_usage"; exit ;;
24886 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24887 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24890 # This is an error.
24891 -*) { echo "$as_me: error: unrecognized option: $1
24892 Try \`$0 --help' for more information." >&2
24893 { (exit 1); exit 1; }; } ;;
24895 *) ac_config_targets
="$ac_config_targets $1"
24896 ac_need_defaults
=false
;;
24902 ac_configure_extra_args
=
24904 if $ac_cs_silent; then
24906 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24910 cat >>$CONFIG_STATUS <<_ACEOF
24911 if \$ac_cs_recheck; then
24912 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24913 CONFIG_SHELL=$SHELL
24914 export CONFIG_SHELL
24915 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24919 cat >>$CONFIG_STATUS <<\_ACEOF
24923 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24924 ## Running $as_me. ##
24930 cat >>$CONFIG_STATUS <<_ACEOF
24933 cat >>$CONFIG_STATUS <<\_ACEOF
24935 # Handling of arguments.
24936 for ac_config_target
in $ac_config_targets
24938 case $ac_config_target in
24939 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24940 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
24941 "dlls/gdi/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
24942 "dlls/kernel/messages") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
24943 "dlls/user/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
24944 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24945 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
24946 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
24947 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
24948 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24949 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
24950 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
24951 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24952 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
24953 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
24954 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24955 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24956 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
24957 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24958 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
24959 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
24960 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24961 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24962 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24963 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24964 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24965 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
24966 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24967 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
24968 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24969 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24970 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24971 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24972 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24973 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
24974 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24975 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24976 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24977 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24978 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24979 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24980 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24981 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24982 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24983 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24984 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24985 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24986 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24987 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24988 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24989 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24990 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24991 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24992 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
24993 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
24994 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24995 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24996 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
24997 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24998 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
24999 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
25000 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
25001 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
25002 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
25003 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
25004 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
25005 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
25006 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
25007 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
25008 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
25009 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
25010 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
25011 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
25012 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
25013 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
25014 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
25015 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
25016 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
25017 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
25018 "dlls/gdi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
25019 "dlls/gdi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
25020 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
25021 "dlls/glut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
25022 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
25023 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
25024 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
25025 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
25026 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
25027 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
25028 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
25029 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
25030 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
25031 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
25032 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
25033 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
25034 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
25035 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
25036 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
25037 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
25038 "dlls/kernel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
25039 "dlls/kernel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
25040 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
25041 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
25042 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
25043 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
25044 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
25045 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
25046 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
25047 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
25048 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
25049 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
25050 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
25051 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
25052 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
25053 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
25054 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
25055 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
25056 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
25057 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
25058 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
25059 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
25060 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
25061 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
25062 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
25063 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
25064 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
25065 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
25066 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
25067 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
25068 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
25069 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
25070 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
25071 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
25072 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
25073 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
25074 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
25075 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
25076 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
25077 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
25078 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
25079 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
25080 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
25081 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
25082 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
25083 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
25084 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
25085 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
25086 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
25087 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
25088 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
25089 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
25090 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
25091 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
25092 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
25093 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
25094 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
25095 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
25096 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
25097 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
25098 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
25099 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
25100 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
25101 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
25102 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
25103 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
25104 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
25105 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
25106 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
25107 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
25108 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
25109 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
25110 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
25111 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
25112 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
25113 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
25114 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
25115 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
25116 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
25117 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
25118 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
25119 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
25120 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
25121 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
25122 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
25123 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
25124 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
25125 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
25126 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
25127 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
25128 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
25129 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
25130 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
25131 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
25132 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
25133 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
25134 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
25135 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
25136 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
25137 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
25138 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
25139 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
25140 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
25141 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
25142 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
25143 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
25144 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
25145 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
25146 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
25147 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
25148 "dlls/user/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
25149 "dlls/user/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
25150 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
25151 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
25152 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
25153 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
25154 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
25155 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
25156 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
25157 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
25158 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
25159 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
25160 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
25161 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
25162 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
25163 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
25164 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
25165 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
25166 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
25167 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
25168 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
25169 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
25170 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
25171 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
25172 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
25173 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
25174 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
25175 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
25176 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
25177 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
25178 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
25179 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
25180 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
25181 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
25182 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
25183 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
25184 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
25185 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
25186 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
25187 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
25188 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
25189 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
25190 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
25191 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
25192 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
25193 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
25194 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
25195 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
25196 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
25197 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
25198 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
25199 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
25200 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
25201 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
25202 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
25203 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
25204 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
25205 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
25206 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
25207 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
25208 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
25209 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
25210 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
25211 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
25212 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
25213 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
25214 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
25215 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
25216 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
25217 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
25218 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
25219 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
25220 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
25221 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
25222 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
25223 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
25224 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
25225 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
25226 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
25227 "programs/wcmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
25228 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
25229 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
25230 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
25231 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
25232 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
25233 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
25234 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
25235 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
25236 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
25237 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
25238 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
25239 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
25240 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
25241 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
25242 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
25243 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
25244 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
25245 "tools/winapi/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
25246 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
25247 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
25248 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
25249 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
25250 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
25252 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25253 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25254 { (exit 1); exit 1; }; };;
25259 # If the user did not use the arguments to specify the items to instantiate,
25260 # then the envvar interface is used. Set only those that are not.
25261 # We use the long form for the default assignment because of an extremely
25262 # bizarre bug on SunOS 4.1.3.
25263 if $ac_need_defaults; then
25264 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25265 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25266 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25269 # Have a temporary directory for convenience. Make it in the build tree
25270 # simply because there is no reason against having it here, and in addition,
25271 # creating and moving files from /tmp can sometimes cause problems.
25272 # Hook for its removal unless debugging.
25273 # Note that there is a small window in which the directory will not be cleaned:
25274 # after its creation but before its name has been assigned to `$tmp'.
25278 trap 'exit_status=$?
25279 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25281 trap '{ (exit 1); exit 1; }' 1 2 13 15
25283 # Create a (secure) tmp directory for tmp files.
25286 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25287 test -n "$tmp" && test -d "$tmp"
25290 tmp
=.
/conf$$
-$RANDOM
25291 (umask 077 && mkdir
"$tmp")
25294 echo "$me: cannot create a temporary directory in ." >&2
25295 { (exit 1); exit 1; }
25299 # Set up the sed scripts for CONFIG_FILES section.
25302 # No need to generate the scripts if there are no CONFIG_FILES.
25303 # This happens for instance when ./config.status config.h
25304 if test -n "$CONFIG_FILES"; then
25308 # Create sed commands to just substitute file output variables.
25310 # Remaining file output variables are in a fragment that also has non-file
25316 for ac_last_try
in false false false false false
:; do
25317 cat >conf$
$subs.
sed <<_ACEOF
25318 SHELL!$SHELL$ac_delim
25319 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25320 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25321 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25322 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25323 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25324 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25325 exec_prefix!$exec_prefix$ac_delim
25326 prefix!$prefix$ac_delim
25327 program_transform_name!$program_transform_name$ac_delim
25328 bindir!$bindir$ac_delim
25329 sbindir!$sbindir$ac_delim
25330 libexecdir!$libexecdir$ac_delim
25331 datarootdir!$datarootdir$ac_delim
25332 datadir!$datadir$ac_delim
25333 sysconfdir!$sysconfdir$ac_delim
25334 sharedstatedir!$sharedstatedir$ac_delim
25335 localstatedir!$localstatedir$ac_delim
25336 includedir!$includedir$ac_delim
25337 oldincludedir!$oldincludedir$ac_delim
25338 docdir!$docdir$ac_delim
25339 infodir!$infodir$ac_delim
25340 htmldir!$htmldir$ac_delim
25341 dvidir!$dvidir$ac_delim
25342 pdfdir!$pdfdir$ac_delim
25343 psdir!$psdir$ac_delim
25344 libdir!$libdir$ac_delim
25345 localedir!$localedir$ac_delim
25346 mandir!$mandir$ac_delim
25347 DEFS!$DEFS$ac_delim
25348 ECHO_C!$ECHO_C$ac_delim
25349 ECHO_N!$ECHO_N$ac_delim
25350 ECHO_T!$ECHO_T$ac_delim
25351 LIBS!$LIBS$ac_delim
25352 build_alias!$build_alias$ac_delim
25353 host_alias!$host_alias$ac_delim
25354 target_alias!$target_alias$ac_delim
25355 build!$build$ac_delim
25356 build_cpu!$build_cpu$ac_delim
25357 build_vendor!$build_vendor$ac_delim
25358 build_os!$build_os$ac_delim
25359 host!$host$ac_delim
25360 host_cpu!$host_cpu$ac_delim
25361 host_vendor!$host_vendor$ac_delim
25362 host_os!$host_os$ac_delim
25363 WIN16_FILES!$WIN16_FILES$ac_delim
25364 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
25365 SET_MAKE!$SET_MAKE$ac_delim
25367 CFLAGS!$CFLAGS$ac_delim
25368 LDFLAGS!$LDFLAGS$ac_delim
25369 CPPFLAGS!$CPPFLAGS$ac_delim
25370 ac_ct_CC!$ac_ct_CC$ac_delim
25371 EXEEXT!$EXEEXT$ac_delim
25372 OBJEXT!$OBJEXT$ac_delim
25374 CXXFLAGS!$CXXFLAGS$ac_delim
25375 ac_ct_CXX!$ac_ct_CXX$ac_delim
25376 CPPBIN!$CPPBIN$ac_delim
25377 TOOLSDIR!$TOOLSDIR$ac_delim
25378 XMKMF!$XMKMF$ac_delim
25380 X_CFLAGS!$X_CFLAGS$ac_delim
25381 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
25382 X_LIBS!$X_LIBS$ac_delim
25383 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
25385 LEXLIB!$LEXLIB$ac_delim
25386 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
25387 XLEX!$XLEX$ac_delim
25388 BISON!$BISON$ac_delim
25390 ac_ct_AS!$ac_ct_AS$ac_delim
25393 RANLIB!$RANLIB$ac_delim
25394 STRIP!$STRIP$ac_delim
25395 WINDRES!$WINDRES$ac_delim
25396 LN_S!$LN_S$ac_delim
25398 GREP!$GREP$ac_delim
25399 EGREP!$EGREP$ac_delim
25402 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
25404 elif $ac_last_try; then
25405 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25406 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25407 { (exit 1); exit 1; }; }
25409 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25413 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25414 if test -n "$ac_eof"; then
25415 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25416 ac_eof
=`expr $ac_eof + 1`
25419 cat >>$CONFIG_STATUS <<_ACEOF
25420 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25422 /^[ ]*@MAKE_RULES@[ ]*$/{
25426 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
25430 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
25431 r $MAKE_IMPLIB_RULES
25434 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
25438 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
25444 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25445 s/^/s,@/; s/!/@,|#_!!_#|/
25448 s/'"$ac_delim"'$/,g/; t
25450 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25451 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25452 rm -f conf$
$subs.
sed
25453 cat >>$CONFIG_STATUS <<_ACEOF
25459 for ac_last_try
in false false false false false
:; do
25460 cat >conf$
$subs.
sed <<_ACEOF
25461 LDCONFIG!$LDCONFIG$ac_delim
25462 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25463 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25464 INSTALL_DATA!$INSTALL_DATA$ac_delim
25465 LINT!$LINT$ac_delim
25466 LINTFLAGS!$LINTFLAGS$ac_delim
25467 FONTFORGE!$FONTFORGE$ac_delim
25468 PKG_CONFIG!$PKG_CONFIG$ac_delim
25469 PRELINK!$PRELINK$ac_delim
25470 LIBPTHREAD!$LIBPTHREAD$ac_delim
25471 XLIB!$XLIB$ac_delim
25472 XFILES!$XFILES$ac_delim
25473 OPENGLFILES!$OPENGLFILES$ac_delim
25474 GLU32FILES!$GLU32FILES$ac_delim
25475 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
25476 GLUT_LIBS!$GLUT_LIBS$ac_delim
25477 GLUT32FILES!$GLUT32FILES$ac_delim
25478 NASLIBS!$NASLIBS$ac_delim
25479 XML2LIBS!$XML2LIBS$ac_delim
25480 XML2INCL!$XML2INCL$ac_delim
25481 XSLTLIBS!$XSLTLIBS$ac_delim
25482 XSLTINCL!$XSLTINCL$ac_delim
25483 HALINCL!$HALINCL$ac_delim
25484 CURSESLIBS!$CURSESLIBS$ac_delim
25485 sane_devel!$sane_devel$ac_delim
25486 SANELIBS!$SANELIBS$ac_delim
25487 SANEINCL!$SANEINCL$ac_delim
25488 gphoto2_devel!$gphoto2_devel$ac_delim
25489 gphoto2port_devel!$gphoto2port_devel$ac_delim
25490 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
25491 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
25492 ICULIBS!$ICULIBS$ac_delim
25493 RESOLVLIBS!$RESOLVLIBS$ac_delim
25494 LCMSLIBS!$LCMSLIBS$ac_delim
25495 LDAPLIBS!$LDAPLIBS$ac_delim
25496 FREETYPELIBS!$FREETYPELIBS$ac_delim
25497 FREETYPEINCL!$FREETYPEINCL$ac_delim
25498 ft_devel!$ft_devel$ac_delim
25499 ft_devel2!$ft_devel2$ac_delim
25500 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
25501 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
25502 ARTSLIBS!$ARTSLIBS$ac_delim
25503 ARTSINCL!$ARTSINCL$ac_delim
25504 ESDCONFIG!$ESDCONFIG$ac_delim
25505 ESDLIBS!$ESDLIBS$ac_delim
25506 ESDINCL!$ESDINCL$ac_delim
25507 ALSALIBS!$ALSALIBS$ac_delim
25508 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
25509 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
25510 BUILTINFLAG!$BUILTINFLAG$ac_delim
25511 DLLEXT!$DLLEXT$ac_delim
25512 DLLFLAGS!$DLLFLAGS$ac_delim
25513 DLLIBS!$DLLIBS$ac_delim
25514 LDSHARED!$LDSHARED$ac_delim
25515 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
25516 LIBEXT!$LIBEXT$ac_delim
25517 IMPLIBEXT!$IMPLIBEXT$ac_delim
25518 DLLTOOL!$DLLTOOL$ac_delim
25519 DLLWRAP!$DLLWRAP$ac_delim
25520 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
25521 LDEXERPATH!$LDEXERPATH$ac_delim
25522 LDDLLRPATH!$LDDLLRPATH$ac_delim
25523 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
25524 IOKITLIB!$IOKITLIB$ac_delim
25525 COREAUDIO!$COREAUDIO$ac_delim
25526 CROSSTEST!$CROSSTEST$ac_delim
25527 CROSSCC!$CROSSCC$ac_delim
25528 CROSSWINDRES!$CROSSWINDRES$ac_delim
25529 LDPATH!$LDPATH$ac_delim
25530 CRTLIBS!$CRTLIBS$ac_delim
25531 SOCKETLIBS!$SOCKETLIBS$ac_delim
25532 MAIN_BINARY!$MAIN_BINARY$ac_delim
25533 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
25535 LIBOBJS!$LIBOBJS$ac_delim
25536 LTLIBOBJS!$LTLIBOBJS$ac_delim
25539 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
25541 elif $ac_last_try; then
25542 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25543 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25544 { (exit 1); exit 1; }; }
25546 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
25550 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25551 if test -n "$ac_eof"; then
25552 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
25553 ac_eof
=`expr $ac_eof + 1`
25556 cat >>$CONFIG_STATUS <<_ACEOF
25557 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25558 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25561 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25562 s/^/s,@/; s/!/@,|#_!!_#|/
25565 s/'"$ac_delim"'$/,g/; t
25567 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25568 ' >>$CONFIG_STATUS <conf$
$subs.
sed
25569 rm -f conf$
$subs.
sed
25570 cat >>$CONFIG_STATUS <<_ACEOF
25577 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25578 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25579 # trailing colons and then remove the whole line if VPATH becomes empty
25580 # (actually we leave an empty line to preserve line numbers).
25581 if test "x$srcdir" = x.
; then
25582 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
25583 s/:*\$(srcdir):*/:/
25584 s/:*\${srcdir}:*/:/
25586 s/^\([^=]*=[ ]*\):*/\1/
25592 cat >>$CONFIG_STATUS <<\_ACEOF
25593 fi # test -n "$CONFIG_FILES"
25596 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
25599 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25601 case $ac_mode$ac_tag in
25603 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25604 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25605 { (exit 1); exit 1; }; };;
25606 :[FH
]-) ac_tag
=-:-;;
25607 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25624 -) ac_f
="$tmp/stdin";;
25625 *) # Look for the file first in the build tree, then in the source tree
25626 # (if the path is not absolute). The absolute path cannot be DOS-style,
25627 # because $ac_f cannot contain `:'.
25631 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25633 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25634 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25635 { (exit 1); exit 1; }; };;
25637 ac_file_inputs
="$ac_file_inputs $ac_f"
25640 # Let's still pretend it is `configure' which instantiates (i.e., don't
25641 # use $as_me), people would be surprised to read:
25642 # /* config.h. Generated by config.status. */
25643 configure_input
="Generated from "`IFS=:
25644 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25645 if test x
"$ac_file" != x-
; then
25646 configure_input
="$ac_file. $configure_input"
25647 { echo "$as_me:$LINENO: creating $ac_file" >&5
25648 echo "$as_me: creating $ac_file" >&6;}
25652 *:-:* |
*:-) cat >"$tmp/stdin";;
25657 ac_dir
=`$as_dirname -- "$ac_file" ||
25658 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25659 X"$ac_file" : 'X\(//\)[^/]' \| \
25660 X"$ac_file" : 'X\(//\)$' \| \
25661 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25663 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25667 /^X\(\/\/\)[^/].*/{
25682 -*) as_dir
=.
/$as_dir;;
25684 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25688 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25689 *) as_qdir
=$as_dir;;
25691 as_dirs
="'$as_qdir' $as_dirs"
25692 as_dir
=`$as_dirname -- "$as_dir" ||
25693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25694 X"$as_dir" : 'X\(//\)[^/]' \| \
25695 X"$as_dir" : 'X\(//\)$' \| \
25696 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25702 /^X\(\/\/\)[^/].*/{
25715 test -d "$as_dir" && break
25717 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25718 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25719 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25720 { (exit 1); exit 1; }; }; }
25724 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25726 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25727 # A ".." for each directory in $ac_dir_suffix.
25728 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25729 case $ac_top_builddir_sub in
25730 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25731 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25734 ac_abs_top_builddir
=$ac_pwd
25735 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25736 # for backward compatibility:
25737 ac_top_builddir
=$ac_top_build_prefix
25740 .
) # We are building in place.
25742 ac_top_srcdir
=$ac_top_builddir_sub
25743 ac_abs_top_srcdir
=$ac_pwd ;;
25744 [\\/]* | ?
:[\\/]* ) # Absolute name.
25745 ac_srcdir
=$srcdir$ac_dir_suffix;
25746 ac_top_srcdir
=$srcdir
25747 ac_abs_top_srcdir
=$srcdir ;;
25748 *) # Relative name.
25749 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25750 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25751 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25753 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25763 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25764 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25768 cat >>$CONFIG_STATUS <<\_ACEOF
25769 # If the template does not know about datarootdir, expand it.
25770 # FIXME: This hack should be removed a few years after 2.60.
25771 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25773 case `sed -n '/datarootdir/ {
25782 ' $ac_file_inputs` in
25783 *datarootdir
*) ac_datarootdir_seen
=yes;;
25784 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25785 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25786 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25788 cat >>$CONFIG_STATUS <<_ACEOF
25789 ac_datarootdir_hack='
25790 s&@datadir@&$datadir&g
25791 s&@docdir@&$docdir&g
25792 s&@infodir@&$infodir&g
25793 s&@localedir@&$localedir&g
25794 s&@mandir@&$mandir&g
25795 s&\\\${datarootdir}&$datarootdir&g' ;;
25799 # Neutralize VPATH when `$srcdir' = `.'.
25800 # Shell code in configure.ac might set extrasub.
25801 # FIXME: do we really want to maintain this feature?
25802 cat >>$CONFIG_STATUS <<_ACEOF
25806 cat >>$CONFIG_STATUS <<\_ACEOF
25808 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25809 s
&@configure_input@
&$configure_input&;t t
25810 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25811 s
&@srcdir@
&$ac_srcdir&;t t
25812 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25813 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25814 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25815 s
&@builddir@
&$ac_builddir&;t t
25816 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25817 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25818 s
&@INSTALL@
&$ac_INSTALL&;t t
25819 $ac_datarootdir_hack
25820 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
25822 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25823 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25824 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25825 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25826 which seems to be undefined. Please make sure it is defined." >&5
25827 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25828 which seems to be undefined. Please make sure it is defined." >&2;}
25832 -) cat "$tmp/out"; rm -f "$tmp/out";;
25833 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25842 # Transform confdefs.h into a sed script `conftest.defines', that
25843 # substitutes the proper values into config.h.in to produce config.h.
25844 rm -f conftest.defines conftest.
tail
25845 # First, append a space to every undef/define line, to ease matching.
25846 echo 's/$/ /' >conftest.defines
25847 # Then, protect against being on the right side of a sed subst, or in
25848 # an unquoted here document, in config.status. If some macros were
25849 # called several times there might be several #defines for the same
25850 # symbol, which is useless. But do not sort them, since the last
25851 # AC_DEFINE must be honored.
25852 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25853 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25854 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25855 # PARAMS is the parameter list in the macro definition--in most cases, it's
25856 # just an empty string.
25857 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25858 ac_dB
='\\)[ (].*,\\1define\\2'
25866 s/^[ ]*#[ ]*define[ ][ ]*//
25871 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25872 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25873 ' >>conftest.defines
25875 # Remove the space that was appended to ease matching.
25876 # Then replace #undef with comments. This is necessary, for
25877 # example, in the case of _POSIX_SOURCE, which is predefined and required
25878 # on some systems where configure will not decide to define it.
25879 # (The regexp can be short, since the line contains either #define or #undef.)
25881 s,^[ #]*u.*,/* & */,' >>conftest.defines
25883 # Break up conftest.defines:
25884 ac_max_sed_lines
=50
25886 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25887 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25888 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25890 ac_in
='$ac_file_inputs'
25891 ac_out
='"$tmp/out1"'
25892 ac_nxt
='"$tmp/out2"'
25896 # Write a here document:
25897 cat >>$CONFIG_STATUS <<_ACEOF
25898 # First, check the format of the line:
25899 cat >"\$tmp/defines.sed" <<\\CEOF
25900 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25901 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25905 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25907 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25908 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25909 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25910 grep . conftest.
tail >/dev
/null ||
break
25911 rm -f conftest.defines
25912 mv conftest.
tail conftest.defines
25914 rm -f conftest.defines conftest.
tail
25916 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25917 cat >>$CONFIG_STATUS <<\_ACEOF
25918 if test x
"$ac_file" != x-
; then
25919 echo "/* $configure_input */" >"$tmp/config.h"
25920 cat "$ac_result" >>"$tmp/config.h"
25921 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25922 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25923 echo "$as_me: $ac_file is unchanged" >&6;}
25926 mv "$tmp/config.h" $ac_file
25929 echo "/* $configure_input */"
25935 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25936 echo "$as_me: executing $ac_file commands" >&6;}
25941 case $ac_file$ac_mode in
25942 "dlls/gdi/enhmfdrv":C
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
25943 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
25944 "dlls/gdi/mfdrv":C
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
25945 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
25946 "dlls/kernel/messages":C
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
25947 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
25948 "dlls/user/resources":C
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
25949 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
25950 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25951 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
25952 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
25953 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
25959 { (exit 0); exit 0; }
25961 chmod +x
$CONFIG_STATUS
25962 ac_clean_files
=$ac_clean_files_save
25965 # configure is writing to config.log, and then calls config.status.
25966 # config.status does its own redirection, appending to config.log.
25967 # Unfortunately, on DOS this fails, as config.log is still kept open
25968 # by configure, so config.status won't be able to write to it; its
25969 # output is simply discarded. So we exec the FD to /dev/null,
25970 # effectively closing config.log, so it can be properly (re)opened and
25971 # appended to by config.status. When coming back to configure, we
25972 # need to make the FD available again.
25973 if test "$no_create" != yes; then
25975 ac_config_status_args
=
25976 test "$silent" = yes &&
25977 ac_config_status_args
="$ac_config_status_args --quiet"
25979 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25981 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25982 # would make configure fail if this is the last instruction.
25983 $ac_cs_success ||
{ (exit 1); exit 1; }
25987 if test "$have_x" = "no"
25990 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25991 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25992 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25993 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25994 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25995 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25996 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25997 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
26000 if test "$wine_cv_opengl_version_OK" = "no"
26003 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&5
26004 echo "$as_me: WARNING: Old Mesa headers detected. Wine will be built without Direct3D" >&2;}
26005 { echo "$as_me:$LINENO: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
26006 echo "$as_me: WARNING: support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
26009 if test "$wine_cv_msg_freetype" = "yes"
26012 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
26013 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
26014 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
26015 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
26016 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
26017 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
26018 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
26019 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
26022 if test -z "$FONTSSUBDIRS"
26025 if test "$FONTFORGE" = "false"
26027 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
26028 echo "$as_me: WARNING: FontForge is missing." >&2;}
26030 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
26031 echo "$as_me: WARNING: FreeType is missing." >&2;}
26033 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
26034 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
26037 if test -z "$ALSALIBS" -a \
26038 -z "$ARTSC_LIBS" -a \
26039 -z "$AUDIOIOLIBS" -a \
26041 -z "$ESD_LIBS" -a \
26042 -z "$ac_cv_lib_soname_jack" -a \
26043 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
26044 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
26045 "$ac_cv_header_soundcard_h" != "yes"
26048 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
26049 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
26050 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
26051 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
26052 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
26053 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
26057 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."