2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59d for Wine 0.9.14.
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 which exist, to save several forks.
236 if test -f $as_shell &&
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 (dirname -- /) >/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.14'
563 PACKAGE_STRING
='Wine 0.9.14'
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
767 ac_precious_vars
='build_alias
781 # Initialize some variables set by options.
783 ac_init_version
=false
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
793 program_transform_name
=s
,x
,x
,
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir
='${exec_prefix}/bin'
808 sbindir
='${exec_prefix}/sbin'
809 libexecdir
='${exec_prefix}/libexec'
810 datarootdir
='${prefix}/share'
811 datadir
='${datarootdir}'
812 sysconfdir
='${prefix}/etc'
813 sharedstatedir
='${prefix}/com'
814 localstatedir
='${prefix}/var'
815 includedir
='${prefix}/include'
816 oldincludedir
='/usr/include'
817 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir
='${datarootdir}/info'
823 libdir
='${exec_prefix}/lib'
824 localedir
='${datarootdir}/locale'
825 mandir
='${datarootdir}/man'
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\
$ac_option
839 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
843 # Accept the important Cygnus configure options, so we can diagnose typos.
845 case $ac_dashdash$ac_option in
849 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
851 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
854 -build |
--build |
--buil |
--bui |
--bu)
855 ac_prev
=build_alias
;;
856 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
857 build_alias
=$ac_optarg ;;
859 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
860 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
861 ac_prev
=cache_file
;;
862 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
863 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
864 cache_file
=$ac_optarg ;;
867 cache_file
=config.cache
;;
869 -datadir |
--datadir |
--datadi |
--datad)
871 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
872 datadir
=$ac_optarg ;;
874 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
875 |
--dataroo |
--dataro |
--datar)
876 ac_prev
=datarootdir
;;
877 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
878 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
879 datarootdir
=$ac_optarg ;;
881 -disable-* |
--disable-*)
882 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
885 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
886 { (exit 1); exit 1; }; }
887 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
888 eval enable_
$ac_feature=no
;;
890 -docdir |
--docdir |
--docdi |
--doc |
--do)
892 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
895 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
897 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
900 -enable-* |
--enable-*)
901 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
905 { (exit 1); exit 1; }; }
906 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
907 eval enable_
$ac_feature=\
$ac_optarg ;;
909 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
910 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
911 |
--exec |
--exe |
--ex)
912 ac_prev
=exec_prefix
;;
913 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
914 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
915 |
--exec=* |
--exe=* |
--ex=*)
916 exec_prefix
=$ac_optarg ;;
918 -gas |
--gas |
--ga |
--g)
919 # Obsolete; use --with-gas.
922 -help |
--help |
--hel |
--he |
-h)
924 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
925 ac_init_help
=recursive
;;
926 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
927 ac_init_help
=short
;;
929 -host |
--host |
--hos |
--ho)
930 ac_prev
=host_alias
;;
931 -host=* |
--host=* |
--hos=* |
--ho=*)
932 host_alias
=$ac_optarg ;;
934 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
936 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
938 htmldir
=$ac_optarg ;;
940 -includedir |
--includedir |
--includedi |
--included |
--include \
941 |
--includ |
--inclu |
--incl |
--inc)
942 ac_prev
=includedir
;;
943 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
944 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
945 includedir
=$ac_optarg ;;
947 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
949 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
950 infodir
=$ac_optarg ;;
952 -libdir |
--libdir |
--libdi |
--libd)
954 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
957 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
958 |
--libexe |
--libex |
--libe)
959 ac_prev
=libexecdir
;;
960 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
961 |
--libexe=* |
--libex=* |
--libe=*)
962 libexecdir
=$ac_optarg ;;
964 -localedir |
--localedir |
--localedi |
--localed |
--locale)
966 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
967 localedir
=$ac_optarg ;;
969 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
970 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
971 ac_prev
=localstatedir
;;
972 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
973 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
974 localstatedir
=$ac_optarg ;;
976 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
978 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
982 # Obsolete; use --without-fp.
985 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
986 |
--no-cr |
--no-c |
-n)
989 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
990 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
993 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
994 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
995 |
--oldin |
--oldi |
--old |
--ol |
--o)
996 ac_prev
=oldincludedir
;;
997 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
998 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
999 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1000 oldincludedir
=$ac_optarg ;;
1002 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1004 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1005 prefix
=$ac_optarg ;;
1007 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1008 |
--program-pre |
--program-pr |
--program-p)
1009 ac_prev
=program_prefix
;;
1010 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1011 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1012 program_prefix
=$ac_optarg ;;
1014 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1015 |
--program-suf |
--program-su |
--program-s)
1016 ac_prev
=program_suffix
;;
1017 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1018 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1019 program_suffix
=$ac_optarg ;;
1021 -program-transform-name |
--program-transform-name \
1022 |
--program-transform-nam |
--program-transform-na \
1023 |
--program-transform-n |
--program-transform- \
1024 |
--program-transform |
--program-transfor \
1025 |
--program-transfo |
--program-transf \
1026 |
--program-trans |
--program-tran \
1027 |
--progr-tra |
--program-tr |
--program-t)
1028 ac_prev
=program_transform_name
;;
1029 -program-transform-name=* |
--program-transform-name=* \
1030 |
--program-transform-nam=* |
--program-transform-na=* \
1031 |
--program-transform-n=* |
--program-transform-=* \
1032 |
--program-transform=* |
--program-transfor=* \
1033 |
--program-transfo=* |
--program-transf=* \
1034 |
--program-trans=* |
--program-tran=* \
1035 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1036 program_transform_name
=$ac_optarg ;;
1038 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1040 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1041 pdfdir
=$ac_optarg ;;
1043 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1045 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1048 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1049 |
-silent |
--silent |
--silen |
--sile |
--sil)
1052 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1054 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1056 sbindir
=$ac_optarg ;;
1058 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1059 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1060 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1062 ac_prev
=sharedstatedir
;;
1063 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1064 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1065 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1067 sharedstatedir
=$ac_optarg ;;
1069 -site |
--site |
--sit)
1071 -site=* |
--site=* |
--sit=*)
1074 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1076 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1077 srcdir
=$ac_optarg ;;
1079 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1080 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1081 ac_prev
=sysconfdir
;;
1082 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1083 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1084 sysconfdir
=$ac_optarg ;;
1086 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1087 ac_prev
=target_alias
;;
1088 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1089 target_alias
=$ac_optarg ;;
1091 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1094 -version |
--version |
--versio |
--versi |
--vers |
-V)
1095 ac_init_version
=: ;;
1098 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1101 { echo "$as_me: error: invalid package name: $ac_package" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1104 eval with_
$ac_package=\
$ac_optarg ;;
1106 -without-* |
--without-*)
1107 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1110 { echo "$as_me: error: invalid package name: $ac_package" >&2
1111 { (exit 1); exit 1; }; }
1112 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1113 eval with_
$ac_package=no
;;
1116 # Obsolete; use --with-x.
1119 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1120 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1121 ac_prev
=x_includes
;;
1122 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1123 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1124 x_includes
=$ac_optarg ;;
1126 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1127 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1128 ac_prev
=x_libraries
;;
1129 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1130 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1131 x_libraries
=$ac_optarg ;;
1133 -*) { echo "$as_me: error: unrecognized option: $ac_option
1134 Try \`$0 --help' for more information." >&2
1135 { (exit 1); exit 1; }; }
1139 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1142 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1143 { (exit 1); exit 1; }; }
1144 eval $ac_envvar=\
$ac_optarg
1145 export $ac_envvar ;;
1148 # FIXME: should be removed in autoconf 3.0.
1149 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1151 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1152 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158 if test -n "$ac_prev"; then
1159 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1160 { echo "$as_me: error: missing argument to $ac_option" >&2
1161 { (exit 1); exit 1; }; }
1164 # Be sure to have absolute directory names.
1165 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir
1170 eval ac_val
=\$
$ac_var
1172 [\\/$
]* | ?
:[\\/]* ) continue;;
1173 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1175 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1176 { (exit 1); exit 1; }; }
1179 # There might be people who depend on the old broken behavior: `$host'
1180 # used to hold the argument of --host etc.
1181 # FIXME: To remove some day.
1184 target
=$target_alias
1186 # FIXME: To remove some day.
1187 if test "x$host_alias" != x
; then
1188 if test "x$build_alias" = x
; then
1189 cross_compiling
=maybe
1190 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1191 If a cross compiler is detected then cross compile mode will be used." >&2
1192 elif test "x$build_alias" != "x$host_alias"; then
1198 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1200 test "$silent" = yes && exec 6>/dev
/null
1203 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1204 ac_ls_di
=`ls -di .` &&
1205 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1206 { echo "$as_me: error: Working directory cannot be determined" >&2
1207 { (exit 1); exit 1; }; }
1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 { echo "$as_me: error: pwd does not report name of working directory" >&2
1210 { (exit 1); exit 1; }; }
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted
=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir
=`$as_dirname -- "$0" ||
1218 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$0" : 'X\(//\)[^/]' \| \
1220 X"$0" : 'X\(//\)$' \| \
1221 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1245 ac_srcdir_defaulted
=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1249 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1250 { (exit 1); exit 1; }; }
1252 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1254 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1255 { (exit 1); exit 1; }; }
1257 # When building in place, set srcdir=.
1258 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 # Remove unnecessary trailing slashes from srcdir.
1262 # Double slashes in file names in object file debugging info
1263 # mess up M-x gdb in Emacs.
1265 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 for ac_var
in $ac_precious_vars; do
1268 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1269 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1270 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1271 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1275 # Report the --help message.
1277 if test "$ac_init_help" = "long"; then
1278 # Omit some internal or obsolete options to make the list less imposing.
1279 # This message is too long to be a string in the A/UX 3.1 sh.
1281 \`configure' configures Wine 0.9.14 to adapt to many kinds of systems.
1283 Usage: $0 [OPTION]... [VAR=VALUE]...
1285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286 VAR=VALUE. See below for descriptions of some of the useful variables.
1288 Defaults for the options are specified in brackets.
1291 -h, --help display this help and exit
1292 --help=short display options specific to this package
1293 --help=recursive display the short help of all the included packages
1294 -V, --version display version information and exit
1295 -q, --quiet, --silent do not print \`checking...' messages
1296 --cache-file=FILE cache test results in FILE [disabled]
1297 -C, --config-cache alias for \`--cache-file=config.cache'
1298 -n, --no-create do not create output files
1299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1301 Installation directories:
1302 --prefix=PREFIX install architecture-independent files in PREFIX
1303 [$ac_default_prefix]
1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 By default, \`make install' will install all the files in
1308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310 for instance \`--prefix=\$HOME'.
1312 For better control, use the options below.
1314 Fine tuning of the installation directories:
1315 --bindir=DIR user executables [EPREFIX/bin]
1316 --sbindir=DIR system admin executables [EPREFIX/sbin]
1317 --libexecdir=DIR program executables [EPREFIX/libexec]
1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1321 --libdir=DIR object code libraries [EPREFIX/lib]
1322 --includedir=DIR C header files [PREFIX/include]
1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1326 --infodir=DIR info documentation [DATAROOTDIR/info]
1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1328 --mandir=DIR man documentation [DATAROOTDIR/man]
1329 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1339 --x-includes=DIR X include files are
in DIR
1340 --x-libraries=DIR X library files are
in DIR
1343 --build=BUILD configure
for building on BUILD
[guessed
]
1344 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1348 if test -n "$ac_init_help"; then
1349 case $ac_init_help in
1350 short | recursive
) echo "Configuration of Wine 0.9.14:";;
1355 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1356 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1357 --disable-win16 do not include Win16 support
1358 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1364 --without-opengl do not use OpenGL
1365 --without-curses do not use curses
1366 --with-wine-tools=<dir> use Wine tools from directory <dir>
1367 --with-x use the X Window System
1369 Some influential environment variables:
1370 CC C compiler command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1373 nonstandard directory <lib dir>
1374 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1375 you have headers in a nonstandard directory <include dir>
1376 CXX C++ compiler command
1377 CXXFLAGS C++ compiler flags
1378 XMKMF Path to xmkmf, Makefile generator for X Window System
1381 Use these variables to override the choices made by `configure' or to
help
1382 it to
find libraries and programs with nonstandard names
/locations.
1384 Report bugs to
<wine-devel@winehq.org
>.
1389 if test "$ac_init_help" = "recursive"; then
1390 # If there are subdirs, report their specific --help.
1391 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1392 test -d $ac_dir ||
continue
1396 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1398 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1403 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1406 ac_abs_top_builddir
=$ac_pwd
1407 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir
=$ac_top_build_prefix
1412 .
) # We are building in place.
1414 ac_top_srcdir
=$ac_top_builddir_sub
1415 ac_abs_top_srcdir
=$ac_pwd ;;
1416 [\\/]* | ?
:[\\/]* ) # Absolute name.
1417 ac_srcdir
=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir
=$srcdir
1419 ac_abs_top_srcdir
=$srcdir ;;
1421 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1425 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1427 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1428 # Check for guested configure.
1429 if test -f $ac_srcdir/configure.gnu
; then
1431 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1432 elif test -f $ac_srcdir/configure
; then
1434 $SHELL $ac_srcdir/configure
--help=recursive
1436 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1445 Wine configure
0.9.14
1446 generated by GNU Autoconf
2.59d
1448 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1449 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1450 This configure
script is free software
; the Free Software Foundation
1451 gives unlimited permission to copy
, distribute and modify it.
1455 cat >config.log
<<_ACEOF
1456 This file contains any messages produced by compilers while
1457 running configure, to aid debugging if configure makes a mistake.
1459 It was created by Wine $as_me 0.9.14, which was
1460 generated by GNU Autoconf 2.59d. Invocation command line was
1472 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1473 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1474 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1475 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1476 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1478 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1479 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1481 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1482 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1483 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1484 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1485 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1486 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1487 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1495 test -z "$as_dir" && as_dir
=.
1496 echo "PATH: $as_dir"
1512 # Keep a trace of the command line.
1513 # Strip out --no-create and --no-recursion so they do not pile up.
1514 # Strip out --silent because we don't want to record it for future runs.
1515 # Also quote any args containing shell meta-characters.
1516 # Make two passes to allow for proper duplicate-argument suppression.
1521 ac_must_keep_next
=false
1527 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1528 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1529 |
-silent |
--silent |
--silen |
--sile |
--sil)
1532 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1535 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1537 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1538 if test $ac_must_keep_next = true
; then
1539 ac_must_keep_next
=false
# Got value, back to normal.
1542 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1543 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1544 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1545 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1546 case "$ac_configure_args0 " in
1547 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1550 -* ) ac_must_keep_next
=true
;;
1553 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1554 # Get rid of the leading space.
1560 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1561 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1563 # When interrupted or exit'd, cleanup temporary files, and complete
1564 # config.log. We remove comments because anyway the quotes in there
1565 # would cause problems or look ugly.
1566 # WARNING: Use '\'' to represent an apostrophe within the trap.
1567 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1568 trap 'exit_status=$?
1569 # Save into config.log some information that might help in debugging.
1574 ## ---------------- ##
1575 ## Cache variables. ##
1576 ## ---------------- ##
1579 # The following way of writing the cache mishandles newlines in values,
1581 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1582 eval ac_val=\$$ac_var
1586 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1587 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1590 _ | IFS | as_nl) ;; #(
1591 *) $as_unset $ac_var ;;
1596 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1597 *${as_nl}ac_space=\ *)
1599 "s/'\''/'\''\\\\'\'''\''/g;
1600 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1603 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1611 ## ----------------- ##
1612 ## Output variables. ##
1613 ## ----------------- ##
1616 for ac_var in $ac_subst_vars
1618 eval ac_val=\$$ac_var
1619 echo "$ac_var='\''$ac_val'\''"
1623 if test -n "$ac_subst_files"; then
1625 ## ------------------- ##
1626 ## File substitutions. ##
1627 ## ------------------- ##
1630 for ac_var in $ac_subst_files
1632 eval ac_val=\$$ac_var
1633 echo "$ac_var='\''$ac_val'\''"
1638 if test -s confdefs.h; then
1648 test "$ac_signal" != 0 &&
1649 echo "$as_me: caught signal $ac_signal"
1650 echo "$as_me: exit $exit_status"
1652 rm -f core *.core core.conftest.* &&
1653 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1656 for ac_signal
in 1 2 13 15; do
1657 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1661 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1662 rm -f -r conftest
* confdefs.h
1664 # Predefined preprocessor variables.
1666 cat >>confdefs.h
<<_ACEOF
1667 #define PACKAGE_NAME "$PACKAGE_NAME"
1671 cat >>confdefs.h
<<_ACEOF
1672 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1676 cat >>confdefs.h
<<_ACEOF
1677 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1681 cat >>confdefs.h
<<_ACEOF
1682 #define PACKAGE_STRING "$PACKAGE_STRING"
1686 cat >>confdefs.h
<<_ACEOF
1687 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1691 # Let the site file select an alternate cache file if it wants to.
1692 # Prefer explicitly selected file to automatically selected ones.
1693 if test -n "$CONFIG_SITE"; then
1694 set x
"$CONFIG_SITE"
1695 elif test "x$prefix" != xNONE
; then
1696 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1698 set x
"$ac_default_prefix/share/config.site" \
1699 "$ac_default_prefix/etc/config.site"
1704 if test -r "$ac_site_file"; then
1705 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1706 echo "$as_me: loading site script $ac_site_file" >&6;}
1707 sed 's/^/| /' "$ac_site_file" >&5
1712 if test -r "$cache_file"; then
1713 # Some versions of bash will fail to source /dev/null (special
1714 # files actually), so we avoid doing that.
1715 if test -f "$cache_file"; then
1716 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1717 echo "$as_me: loading cache $cache_file" >&6;}
1719 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1720 *) . .
/$cache_file;;
1724 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1725 echo "$as_me: creating cache $cache_file" >&6;}
1729 # Check that the precious variables saved in the cache have kept the same
1731 ac_cache_corrupted
=false
1732 for ac_var
in $ac_precious_vars; do
1733 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1734 eval ac_new_set
=\
$ac_env_${ac_var}_set
1735 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1736 eval ac_new_val
=\
$ac_env_${ac_var}_value
1737 case $ac_old_set,$ac_new_set in
1739 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1740 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1741 ac_cache_corrupted
=: ;;
1743 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1744 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1745 ac_cache_corrupted
=: ;;
1748 if test "x$ac_old_val" != "x$ac_new_val"; then
1749 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1750 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1751 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1752 echo "$as_me: former value: $ac_old_val" >&2;}
1753 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1754 echo "$as_me: current value: $ac_new_val" >&2;}
1755 ac_cache_corrupted
=:
1758 # Pass precious variables to config.status.
1759 if test "$ac_new_set" = set; then
1761 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1762 *) ac_arg
=$ac_var=$ac_new_val ;;
1764 case " $ac_configure_args " in
1765 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1766 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1770 if $ac_cache_corrupted; then
1771 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1772 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1773 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1774 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1775 { (exit 1); exit 1; }; }
1803 ac_cpp
='$CPP $CPPFLAGS'
1804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1810 ac_config_headers
="$ac_config_headers include/config.h"
1813 for ac_dir
in tools
$srcdir/tools
; do
1814 if test -f $ac_dir/install-sh
; then
1816 ac_install_sh
="$ac_aux_dir/install-sh -c"
1818 elif test -f $ac_dir/install.sh
; then
1820 ac_install_sh
="$ac_aux_dir/install.sh -c"
1822 elif test -f $ac_dir/shtool
; then
1824 ac_install_sh
="$ac_aux_dir/shtool install -c"
1828 if test -z "$ac_aux_dir"; then
1829 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1830 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1831 { (exit 1); exit 1; }; }
1833 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1834 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1835 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1839 # Check whether --enable-win16 was given.
1840 if test "${enable_win16+set}" = set; then
1841 enableval
=$enable_win16;
1844 # Check whether --enable-win64 was given.
1845 if test "${enable_win64+set}" = set; then
1846 enableval
=$enable_win64;
1851 # Check whether --with-opengl was given.
1852 if test "${with_opengl+set}" = set; then
1853 withval
=$with_opengl;
1857 # Check whether --with-curses was given.
1858 if test "${with_curses+set}" = set; then
1859 withval
=$with_curses;
1863 # Check whether --with-wine-tools was given.
1864 if test "${with_wine_tools+set}" = set; then
1865 withval
=$with_wine_tools;
1869 # Make sure we can run config.sub.
1870 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1871 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1872 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1873 { (exit 1); exit 1; }; }
1875 { echo "$as_me:$LINENO: checking build system type" >&5
1876 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1877 if test "${ac_cv_build+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 ac_build_alias
=$build_alias
1881 test "x$ac_build_alias" = x
&&
1882 ac_build_alias
=`$ac_config_guess`
1883 test "x$ac_build_alias" = x
&&
1884 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1885 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1886 { (exit 1); exit 1; }; }
1887 ac_cv_build
=`$ac_config_sub $ac_build_alias` ||
1888 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_build_alias failed" >&5
1889 echo "$as_me: error: $ac_config_sub $ac_build_alias failed" >&2;}
1890 { (exit 1); exit 1; }; }
1893 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1894 echo "${ECHO_T}$ac_cv_build" >&6; }
1895 case $ac_cv_build in
1897 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1898 echo "$as_me: error: invalid value of canonical build" >&2;}
1899 { (exit 1); exit 1; }; };;
1902 ac_save_IFS
=$IFS; IFS
='-'
1908 # Remember, the first character of IFS is used to create $*,
1909 # except with old shells:
1912 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1915 { echo "$as_me:$LINENO: checking host system type" >&5
1916 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1917 if test "${ac_cv_host+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 if test "x$host_alias" = x
; then
1921 ac_cv_host
=$ac_cv_build
1923 ac_cv_host
=`$ac_config_sub $host_alias` ||
1924 { { echo "$as_me:$LINENO: error: $ac_config_sub $host_alias failed" >&5
1925 echo "$as_me: error: $ac_config_sub $host_alias failed" >&2;}
1926 { (exit 1); exit 1; }; }
1930 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1931 echo "${ECHO_T}$ac_cv_host" >&6; }
1934 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1935 echo "$as_me: error: invalid value of canonical host" >&2;}
1936 { (exit 1); exit 1; }; };;
1939 ac_save_IFS
=$IFS; IFS
='-'
1945 # Remember, the first character of IFS is used to create $*,
1946 # except with old shells:
1949 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1954 if test "x$enable_win64" != "xyes"
1956 test -n "$CC" || CC
="gcc -m32"
1957 test -n "$LD" || LD
="ld -m elf_i386"
1958 test -n "$AS" || AS
="as --32"
1966 if test "x$enable_win16" != "xno"
1973 WIN16_FILES
="\$(WIN16_FILES)"
1975 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1977 if test "x$enable_win16" != "xyes"
1984 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1985 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1986 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1987 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1988 echo $ECHO_N "(cached) $ECHO_C" >&6
1990 cat >conftest.
make <<\_ACEOF
1993 @
echo 'ac_maketemp=X"$(MAKE)"'
1995 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1996 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1997 if test "$ac_maketemp" != X
; then
1998 eval ac_cv_prog_make_
${ac_make}_set
=yes
2000 eval ac_cv_prog_make_
${ac_make}_set
=no
2004 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2005 { echo "$as_me:$LINENO: result: yes" >&5
2006 echo "${ECHO_T}yes" >&6; }
2009 { echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6; }
2011 SET_MAKE
="MAKE=${MAKE-make}"
2015 ac_cpp
='$CPP $CPPFLAGS'
2016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2019 if test -n "$ac_tool_prefix"; then
2020 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2021 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2024 if test "${ac_cv_prog_CC+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 if test -n "$CC"; then
2028 ac_cv_prog_CC
="$CC" # Let the user override the test.
2030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2034 test -z "$as_dir" && as_dir
=.
2035 for ac_exec_ext
in '' $ac_executable_extensions; do
2036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2037 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 if test -n "$CC"; then
2049 { echo "$as_me:$LINENO: result: $CC" >&5
2050 echo "${ECHO_T}$CC" >&6; }
2052 { echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6; }
2058 if test -z "$ac_cv_prog_CC"; then
2060 # Extract the first word of "gcc", so it can be a program name with args.
2061 set dummy gcc
; ac_word
=$2
2062 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2064 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2065 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 if test -n "$ac_ct_CC"; then
2068 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir
=.
2075 for ac_exec_ext
in '' $ac_executable_extensions; do
2076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2077 ac_cv_prog_ac_ct_CC
="gcc"
2078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2088 if test -n "$ac_ct_CC"; then
2089 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2090 echo "${ECHO_T}$ac_ct_CC" >&6; }
2092 { echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6; }
2096 if test "x$ac_ct_CC" = x
; then
2099 case $cross_compiling:$ac_tool_warned in
2101 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2102 whose name does not start with the host triplet. If you think this
2103 configuration is useful to you, please write to autoconf@gnu.org." >&5
2104 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2105 whose name does not start with the host triplet. If you think this
2106 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2107 ac_tool_warned
=yes ;;
2115 if test -z "$CC"; then
2116 if test -n "$ac_tool_prefix"; then
2117 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2118 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2121 if test "${ac_cv_prog_CC+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 if test -n "$CC"; then
2125 ac_cv_prog_CC
="$CC" # Let the user override the test.
2127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir
=.
2132 for ac_exec_ext
in '' $ac_executable_extensions; do
2133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2134 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 if test -n "$CC"; then
2146 { echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6; }
2149 { echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6; }
2156 if test -z "$CC"; then
2157 # Extract the first word of "cc", so it can be a program name with args.
2158 set dummy cc
; ac_word
=$2
2159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2161 if test "${ac_cv_prog_CC+set}" = set; then
2162 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 if test -n "$CC"; then
2165 ac_cv_prog_CC
="$CC" # Let the user override the test.
2168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir
=.
2173 for ac_exec_ext
in '' $ac_executable_extensions; do
2174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2175 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2176 ac_prog_rejected
=yes
2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 if test $ac_prog_rejected = yes; then
2188 # We found a bogon in the path, so make sure we never use it.
2189 set dummy
$ac_cv_prog_CC
2191 if test $# != 0; then
2192 # We chose a different compiler from the bogus one.
2193 # However, it has the same basename, so the bogon will be chosen
2194 # first if we set CC to just the basename; use the full file name.
2196 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2202 if test -n "$CC"; then
2203 { echo "$as_me:$LINENO: result: $CC" >&5
2204 echo "${ECHO_T}$CC" >&6; }
2206 { echo "$as_me:$LINENO: result: no" >&5
2207 echo "${ECHO_T}no" >&6; }
2212 if test -z "$CC"; then
2213 if test -n "$ac_tool_prefix"; then
2214 for ac_prog
in cl.exe
2216 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2217 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2220 if test "${ac_cv_prog_CC+set}" = set; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 if test -n "$CC"; then
2224 ac_cv_prog_CC
="$CC" # Let the user override the test.
2226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir
=.
2231 for ac_exec_ext
in '' $ac_executable_extensions; do
2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2233 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 if test -n "$CC"; then
2245 { echo "$as_me:$LINENO: result: $CC" >&5
2246 echo "${ECHO_T}$CC" >&6; }
2248 { echo "$as_me:$LINENO: result: no" >&5
2249 echo "${ECHO_T}no" >&6; }
2253 test -n "$CC" && break
2256 if test -z "$CC"; then
2258 for ac_prog
in cl.exe
2260 # Extract the first word of "$ac_prog", so it can be a program name with args.
2261 set dummy
$ac_prog; ac_word
=$2
2262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2264 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 if test -n "$ac_ct_CC"; then
2268 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir
=.
2275 for ac_exec_ext
in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2277 ac_cv_prog_ac_ct_CC
="$ac_prog"
2278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2288 if test -n "$ac_ct_CC"; then
2289 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2290 echo "${ECHO_T}$ac_ct_CC" >&6; }
2292 { echo "$as_me:$LINENO: result: no" >&5
2293 echo "${ECHO_T}no" >&6; }
2297 test -n "$ac_ct_CC" && break
2300 if test "x$ac_ct_CC" = x
; then
2303 case $cross_compiling:$ac_tool_warned in
2305 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2306 whose name does not start with the host triplet. If you think this
2307 configuration is useful to you, please write to autoconf@gnu.org." >&5
2308 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2309 whose name does not start with the host triplet. If you think this
2310 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2311 ac_tool_warned
=yes ;;
2320 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2321 See \`config.log' for more details." >&5
2322 echo "$as_me: error: no acceptable C compiler found in \$PATH
2323 See \`config.log' for more details." >&2;}
2324 { (exit 1); exit 1; }; }
2326 # Provide some information about the compiler.
2327 echo "$as_me:$LINENO: checking for C compiler version" >&5
2328 ac_compiler
=`set X $ac_compile; echo $2`
2329 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
2330 (eval $ac_compiler --version >&5) 2>&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }
2334 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
2335 (eval $ac_compiler -v >&5) 2>&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }
2339 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
2340 (eval $ac_compiler -V >&5) 2>&5
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343 (exit $ac_status); }
2346 # List of possible output files. We want to start from the most likely,
2347 # but we have to check foo.exe before foo, because Cygwin `test -f' looks
2348 # also for foo.exe. b.out is created by i960 compilers.
2349 # As a last resort, we also try wildcards: `conftest.*' and `a.*'.
2350 # But we are not allowed to rm a.*, and we do not want always remove
2351 # conftest.*, so we will list them literally, when appropriate.
2352 ac_outfiles
="a_out.exe a.out conftest.exe conftest a.exe b.out"
2354 # The IRIX 6 linker writes into existing files which may not be
2355 # executable, retaining their permissions. Remove them first so a
2356 # subsequent execution test works.
2357 rm -f $ac_outfiles conftest.
*
2359 cat >conftest.
$ac_ext <<_ACEOF
2362 cat confdefs.h
>>conftest.
$ac_ext
2363 cat >>conftest.
$ac_ext <<_ACEOF
2364 /* end confdefs.h. */
2375 ac_clean_files_save
=$ac_clean_files
2376 ac_clean_files
="$ac_clean_files $ac_outfiles"
2378 # The following tests should remove their output except files matching conftest.*.
2379 # Try to create an executable without -o first, disregard a.out.
2380 # It will help us diagnose broken compilers, and finding out an intuition
2382 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2383 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2384 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2386 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2387 (eval $ac_link_default) 2>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; then
2391 for ac_file
in $ac_outfiles a.
* conftest.
* NO
2393 test -f "$ac_file" ||
continue
2395 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2399 if test "$ac_file" = NO
; then
2400 { { echo "$as_me:$LINENO: error: no output file found
2401 See \`config.log' for more details." >&5
2402 echo "$as_me: error: no output file found
2403 See \`config.log' for more details." >&2;}
2404 { (exit 1); exit 1; }; }
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.
$ac_ext >&5
2412 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2413 See \`config.log' for more details." >&5
2414 echo "$as_me: error: C compiler cannot create executables
2415 See \`config.log' for more details." >&2;}
2416 { (exit 77); exit 77; }; }
2419 { echo "$as_me:$LINENO: result: $ac_file" >&5
2420 echo "${ECHO_T}$ac_file" >&6; }
2421 # Check that the compiler produces executables we can run. If not, either
2422 # the compiler is broken, or we cross compile.
2423 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2424 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2425 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2426 # If not cross compiling, check that we can run a simple program.
2427 if test "$cross_compiling" != yes; then
2428 if { ac_try
='./$ac_file'
2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }; }; then
2436 if test "$cross_compiling" = maybe
; then
2439 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2440 If you meant to cross compile, use \`--host'.
2441 See \`config.log' for more details." >&5
2442 echo "$as_me: error: cannot run C compiled programs.
2443 If you meant to cross compile, use \`--host'.
2444 See \`config.log' for more details." >&2;}
2445 { (exit 1); exit 1; }; }
2449 { echo "$as_me:$LINENO: result: yes" >&5
2450 echo "${ECHO_T}yes" >&6; }
2452 # Clean up; list also $ac_file, in case it matched a wildcard entry.
2453 rm -f $ac_outfiles $ac_file
2455 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2456 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2457 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2458 echo "${ECHO_T}$cross_compiling" >&6; }
2460 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2461 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2462 if test "${ac_cv_exeext+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2466 (eval $ac_link) 2>&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; then
2470 # If both `conftest.exe' and `conftest' are `present' (well, observable),
2471 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2472 # work properly (i.e., refer to `conftest.exe'), while it won't with `rm'.
2473 for ac_file
in conftest.exe conftest conftest.
* NO
; do
2474 test -f "$ac_file" ||
continue
2476 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2477 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2482 if test "$ac_file" = NO
; then
2483 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: no output file found
2484 See \`config.log' for more details." >&5
2485 echo "$as_me: error: cannot compute suffix of executables: no output file found
2486 See \`config.log' for more details." >&2;}
2487 { (exit 1); exit 1; }; }
2490 # Clean up; list also $ac_file, in case it matched conftest.*.
2491 rm -f $ac_outfiles $ac_file
2494 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2497 See \`config.log' for more details." >&2;}
2498 { (exit 1); exit 1; }; }
2504 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2505 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2506 EXEEXT
=$ac_cv_exeext
2510 ac_clean_files
=$ac_clean_files_save
2512 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2513 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2514 if test "${ac_cv_objext+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 rm -f conftest.o conftest.obj
2518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2519 (eval $ac_compile) 2>&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; then
2523 for ac_file
in conftest.o conftest.obj conftest.
*; do
2524 test -f "$ac_file" ||
continue;
2526 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf
) ;;
2527 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2532 echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.
$ac_ext >&5
2535 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2536 See \`config.log' for more details." >&5
2537 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2538 See \`config.log' for more details." >&2;}
2539 { (exit 1); exit 1; }; }
2543 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2544 echo "${ECHO_T}$ac_cv_objext" >&6; }
2545 OBJEXT
=$ac_cv_objext
2550 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2551 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2552 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2553 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 cat >conftest.
$ac_ext <<_ACEOF
2558 cat confdefs.h
>>conftest.
$ac_ext
2559 cat >>conftest.
$ac_ext <<_ACEOF
2560 /* end confdefs.h. */
2573 rm -f conftest.
$ac_objext
2574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2575 (eval $ac_compile) 2>conftest.er1
2577 grep -v '^ *+' conftest.er1
>conftest.err
2579 cat conftest.err
>&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); } &&
2582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; } &&
2588 { ac_try
='test -s conftest.$ac_objext'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; }; then
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.
$ac_ext >&5
2602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2603 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2606 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2607 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2608 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2609 ac_test_CFLAGS
=${CFLAGS+set}
2610 ac_save_CFLAGS
=$CFLAGS
2611 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2612 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2613 if test "${ac_cv_prog_cc_g+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 ac_save_c_werror_flag
=$ac_c_werror_flag
2617 ac_c_werror_flag
=yes
2620 cat >conftest.
$ac_ext <<_ACEOF
2623 cat confdefs.h
>>conftest.
$ac_ext
2624 cat >>conftest.
$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2635 rm -f conftest.
$ac_objext
2636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2637 (eval $ac_compile) 2>conftest.er1
2639 grep -v '^ *+' conftest.er1
>conftest.err
2641 cat conftest.err
>&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); } &&
2644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; } &&
2650 { ac_try
='test -s conftest.$ac_objext'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; }; then
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.
$ac_ext >&5
2662 cat >conftest.
$ac_ext <<_ACEOF
2665 cat confdefs.h
>>conftest.
$ac_ext
2666 cat >>conftest.
$ac_ext <<_ACEOF
2667 /* end confdefs.h. */
2677 rm -f conftest.
$ac_objext
2678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2679 (eval $ac_compile) 2>conftest.er1
2681 grep -v '^ *+' conftest.er1
>conftest.err
2683 cat conftest.err
>&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } &&
2686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; } &&
2692 { ac_try
='test -s conftest.$ac_objext'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then
2700 echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.
$ac_ext >&5
2703 ac_c_werror_flag
=$ac_save_c_werror_flag
2705 cat >conftest.
$ac_ext <<_ACEOF
2708 cat confdefs.h
>>conftest.
$ac_ext
2709 cat >>conftest.
$ac_ext <<_ACEOF
2710 /* end confdefs.h. */
2720 rm -f conftest.
$ac_objext
2721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2722 (eval $ac_compile) 2>conftest.er1
2724 grep -v '^ *+' conftest.er1
>conftest.err
2726 cat conftest.err
>&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } &&
2729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); }; } &&
2735 { ac_try
='test -s conftest.$ac_objext'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; }; then
2743 echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.
$ac_ext >&5
2749 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2756 ac_c_werror_flag
=$ac_save_c_werror_flag
2758 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2759 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2760 if test "$ac_test_CFLAGS" = set; then
2761 CFLAGS
=$ac_save_CFLAGS
2762 elif test $ac_cv_prog_cc_g = yes; then
2763 if test "$GCC" = yes; then
2769 if test "$GCC" = yes; then
2775 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2776 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2777 if test "${ac_cv_prog_cc_c89+set}" = set; then
2778 echo $ECHO_N "(cached) $ECHO_C" >&6
2780 ac_cv_prog_cc_c89
=no
2782 cat >conftest.
$ac_ext <<_ACEOF
2785 cat confdefs.h
>>conftest.
$ac_ext
2786 cat >>conftest.
$ac_ext <<_ACEOF
2787 /* end confdefs.h. */
2790 #include <sys/types.h>
2791 #include <sys/stat.h>
2792 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2793 struct buf { int x; };
2794 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2795 static char *e (p, i)
2801 static char *f (char * (*g) (char **, int), char **p, ...)
2806 s = g (p, va_arg (v,int));
2811 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2812 function prototypes and stuff, but not '\xHH' hex character constants.
2813 These don't provoke an error unfortunately, instead are silently treated
2814 as 'x'. The following induces an error, until -std is added to get
2815 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2816 array size at least. It's necessary to write '\x00'==0 to get something
2817 that's true only with -std. */
2818 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2820 int test (int i, double x);
2821 struct s1 {int (*f) (int a);};
2822 struct s2 {int (*f) (double a);};
2823 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2829 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2834 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2835 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2837 CC
="$ac_save_CC $ac_arg"
2838 rm -f conftest.
$ac_objext
2839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2840 (eval $ac_compile) 2>conftest.er1
2842 grep -v '^ *+' conftest.er1
>conftest.err
2844 cat conftest.err
>&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); } &&
2847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); }; } &&
2853 { ac_try
='test -s conftest.$ac_objext'
2854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }; }; then
2859 ac_cv_prog_cc_c89
=$ac_arg
2861 echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.
$ac_ext >&5
2867 rm -f conftest.err conftest.
$ac_objext
2868 test "x$ac_cv_prog_cc_c89" != "xno" && break
2870 rm -f conftest.
$ac_ext
2875 case "x$ac_cv_prog_cc_c89" in
2877 { echo "$as_me:$LINENO: result: none needed" >&5
2878 echo "${ECHO_T}none needed" >&6; } ;;
2880 { echo "$as_me:$LINENO: result: unsupported" >&5
2881 echo "${ECHO_T}unsupported" >&6; } ;;
2883 CC
="$CC $ac_cv_prog_cc_c89"
2884 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2885 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2890 ac_cpp
='$CPP $CPPFLAGS'
2891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2896 ac_cpp
='$CXXCPP $CPPFLAGS'
2897 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2900 if test -z "$CXX"; then
2901 if test -n "$CCC"; then
2904 if test -n "$ac_tool_prefix"; then
2905 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2907 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2908 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2911 if test "${ac_cv_prog_CXX+set}" = set; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 if test -n "$CXX"; then
2915 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir
=.
2922 for ac_exec_ext
in '' $ac_executable_extensions; do
2923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2924 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 if test -n "$CXX"; then
2936 { echo "$as_me:$LINENO: result: $CXX" >&5
2937 echo "${ECHO_T}$CXX" >&6; }
2939 { echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6; }
2944 test -n "$CXX" && break
2947 if test -z "$CXX"; then
2949 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2951 # Extract the first word of "$ac_prog", so it can be a program name with args.
2952 set dummy
$ac_prog; ac_word
=$2
2953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2955 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 if test -n "$ac_ct_CXX"; then
2959 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir
=.
2966 for ac_exec_ext
in '' $ac_executable_extensions; do
2967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2968 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2978 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2979 if test -n "$ac_ct_CXX"; then
2980 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2981 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2983 { echo "$as_me:$LINENO: result: no" >&5
2984 echo "${ECHO_T}no" >&6; }
2988 test -n "$ac_ct_CXX" && break
2991 if test "x$ac_ct_CXX" = x
; then
2994 case $cross_compiling:$ac_tool_warned in
2996 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2997 whose name does not start with the host triplet. If you think this
2998 configuration is useful to you, please write to autoconf@gnu.org." >&5
2999 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3000 whose name does not start with the host triplet. If you think this
3001 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3002 ac_tool_warned
=yes ;;
3010 # Provide some information about the compiler.
3011 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3012 ac_compiler
=`set X $ac_compile; echo $2`
3013 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version >&5\"") >&5
3014 (eval $ac_compiler --version >&5) 2>&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }
3018 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v >&5\"") >&5
3019 (eval $ac_compiler -v >&5) 2>&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); }
3023 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V >&5\"") >&5
3024 (eval $ac_compiler -V >&5) 2>&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }
3029 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3030 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3031 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 cat >conftest.
$ac_ext <<_ACEOF
3037 cat confdefs.h
>>conftest.
$ac_ext
3038 cat >>conftest.
$ac_ext <<_ACEOF
3039 /* end confdefs.h. */
3052 rm -f conftest.
$ac_objext
3053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3054 (eval $ac_compile) 2>conftest.er1
3056 grep -v '^ *+' conftest.er1
>conftest.err
3058 cat conftest.err
>&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); } &&
3061 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); }; } &&
3067 { ac_try
='test -s conftest.$ac_objext'
3068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 (exit $ac_status); }; }; then
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.
$ac_ext >&5
3081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3082 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3085 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3086 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3087 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3088 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3089 ac_save_CXXFLAGS
=$CXXFLAGS
3090 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3091 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3092 if test "${ac_cv_prog_cxx_g+set}" = set; then
3093 echo $ECHO_N "(cached) $ECHO_C" >&6
3095 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3096 ac_cxx_werror_flag
=yes
3099 cat >conftest.
$ac_ext <<_ACEOF
3102 cat confdefs.h
>>conftest.
$ac_ext
3103 cat >>conftest.
$ac_ext <<_ACEOF
3104 /* end confdefs.h. */
3114 rm -f conftest.
$ac_objext
3115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3116 (eval $ac_compile) 2>conftest.er1
3118 grep -v '^ *+' conftest.er1
>conftest.err
3120 cat conftest.err
>&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); } &&
3123 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }; } &&
3129 { ac_try
='test -s conftest.$ac_objext'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; }; then
3135 ac_cv_prog_cxx_g
=yes
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.
$ac_ext >&5
3141 cat >conftest.
$ac_ext <<_ACEOF
3144 cat confdefs.h
>>conftest.
$ac_ext
3145 cat >>conftest.
$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3156 rm -f conftest.
$ac_objext
3157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3158 (eval $ac_compile) 2>conftest.er1
3160 grep -v '^ *+' conftest.er1
>conftest.err
3162 cat conftest.err
>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } &&
3165 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; } &&
3171 { ac_try
='test -s conftest.$ac_objext'
3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }; }; then
3179 echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.
$ac_ext >&5
3182 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3184 cat >conftest.
$ac_ext <<_ACEOF
3187 cat confdefs.h
>>conftest.
$ac_ext
3188 cat >>conftest.
$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3199 rm -f conftest.
$ac_objext
3200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3201 (eval $ac_compile) 2>conftest.er1
3203 grep -v '^ *+' conftest.er1
>conftest.err
3205 cat conftest.err
>&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } &&
3208 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); }; } &&
3214 { ac_try
='test -s conftest.$ac_objext'
3215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; }; then
3220 ac_cv_prog_cxx_g
=yes
3222 echo "$as_me: failed program was:" >&5
3223 sed 's/^/| /' conftest.
$ac_ext >&5
3228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3235 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3237 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3238 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3239 if test "$ac_test_CXXFLAGS" = set; then
3240 CXXFLAGS
=$ac_save_CXXFLAGS
3241 elif test $ac_cv_prog_cxx_g = yes; then
3242 if test "$GXX" = yes; then
3248 if test "$GXX" = yes; then
3255 ac_cpp
='$CPP $CPPFLAGS'
3256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3260 if test -n "$ac_tool_prefix"; then
3261 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3262 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3265 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 if test -n "$CPPBIN"; then
3269 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3275 test -z "$as_dir" && as_dir
=.
3276 for ac_exec_ext
in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3288 CPPBIN
=$ac_cv_prog_CPPBIN
3289 if test -n "$CPPBIN"; then
3290 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3291 echo "${ECHO_T}$CPPBIN" >&6; }
3293 { echo "$as_me:$LINENO: result: no" >&5
3294 echo "${ECHO_T}no" >&6; }
3299 if test -z "$ac_cv_prog_CPPBIN"; then
3300 ac_ct_CPPBIN
=$CPPBIN
3301 # Extract the first word of "cpp", so it can be a program name with args.
3302 set dummy cpp
; ac_word
=$2
3303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3305 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3306 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 if test -n "$ac_ct_CPPBIN"; then
3309 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
3311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3315 test -z "$as_dir" && as_dir
=.
3316 for ac_exec_ext
in '' $ac_executable_extensions; do
3317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3318 ac_cv_prog_ac_ct_CPPBIN
="cpp"
3319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3328 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
3329 if test -n "$ac_ct_CPPBIN"; then
3330 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3331 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3333 { echo "$as_me:$LINENO: result: no" >&5
3334 echo "${ECHO_T}no" >&6; }
3337 if test "x$ac_ct_CPPBIN" = x
; then
3340 case $cross_compiling:$ac_tool_warned in
3342 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3343 whose name does not start with the host triplet. If you think this
3344 configuration is useful to you, please write to autoconf@gnu.org." >&5
3345 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3346 whose name does not start with the host triplet. If you think this
3347 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3348 ac_tool_warned
=yes ;;
3350 CPPBIN
=$ac_ct_CPPBIN
3353 CPPBIN
="$ac_cv_prog_CPPBIN"
3357 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3358 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3359 if test "${wine_cv_toolsdir+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 if test -z "$with_wine_tools"; then
3363 if test "$cross_compiling" = "yes"; then
3364 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3365 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3366 { (exit 1); exit 1; }; }
3368 wine_cv_toolsdir
="\$(TOPOBJDIR)"
3370 elif test -d "$with_wine_tools/tools/winebuild"; then
3371 case $with_wine_tools in
3372 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
3373 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
3376 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3377 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3378 { (exit 1); exit 1; }; }
3381 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3382 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3383 TOOLSDIR
=$wine_cv_toolsdir
3388 ac_cpp
='$CPP $CPPFLAGS'
3389 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3390 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3391 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3392 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3393 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3394 # On Suns, sometimes $CPP names a directory.
3395 if test -n "$CPP" && test -d "$CPP"; then
3398 if test -z "$CPP"; then
3399 if test "${ac_cv_prog_CPP+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3402 # Double quotes because CPP needs to be expanded
3403 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3406 for ac_c_preproc_warn_flag
in '' yes
3408 # Use a header file that comes with gcc, so configuring glibc
3409 # with a fresh cross-compiler works.
3410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3411 # <limits.h> exists even on freestanding compilers.
3412 # On the NeXT, cc -E runs the code through the compiler's parser,
3413 # not just through cpp. "Syntax error" is here to catch this case.
3414 cat >conftest.
$ac_ext <<_ACEOF
3417 cat confdefs.h
>>conftest.
$ac_ext
3418 cat >>conftest.
$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3421 # include <limits.h>
3423 # include <assert.h>
3427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3430 grep -v '^ *+' conftest.er1
>conftest.err
3432 cat conftest.err
>&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } >/dev
/null
; then
3435 if test -s conftest.err
; then
3436 ac_cpp_err
=$ac_c_preproc_warn_flag
3437 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3444 if test -z "$ac_cpp_err"; then
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.
$ac_ext >&5
3450 # Broken: fails on valid input.
3454 rm -f conftest.err conftest.
$ac_ext
3456 # OK, works on sane cases. Now check whether nonexistent headers
3457 # can be detected and how.
3458 cat >conftest.
$ac_ext <<_ACEOF
3461 cat confdefs.h
>>conftest.
$ac_ext
3462 cat >>conftest.
$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3464 #include <ac_nonexistent.h>
3466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3467 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3469 grep -v '^ *+' conftest.er1
>conftest.err
3471 cat conftest.err
>&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } >/dev
/null
; then
3474 if test -s conftest.err
; then
3475 ac_cpp_err
=$ac_c_preproc_warn_flag
3476 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3483 if test -z "$ac_cpp_err"; then
3484 # Broken: success on invalid input.
3487 echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.
$ac_ext >&5
3490 # Passes both tests.
3495 rm -f conftest.err conftest.
$ac_ext
3498 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3499 rm -f conftest.err conftest.
$ac_ext
3500 if $ac_preproc_ok; then
3512 { echo "$as_me:$LINENO: result: $CPP" >&5
3513 echo "${ECHO_T}$CPP" >&6; }
3515 for ac_c_preproc_warn_flag
in '' yes
3517 # Use a header file that comes with gcc, so configuring glibc
3518 # with a fresh cross-compiler works.
3519 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3520 # <limits.h> exists even on freestanding compilers.
3521 # On the NeXT, cc -E runs the code through the compiler's parser,
3522 # not just through cpp. "Syntax error" is here to catch this case.
3523 cat >conftest.
$ac_ext <<_ACEOF
3526 cat confdefs.h
>>conftest.
$ac_ext
3527 cat >>conftest.
$ac_ext <<_ACEOF
3528 /* end confdefs.h. */
3530 # include <limits.h>
3532 # include <assert.h>
3536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3539 grep -v '^ *+' conftest.er1
>conftest.err
3541 cat conftest.err
>&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); } >/dev
/null
; then
3544 if test -s conftest.err
; then
3545 ac_cpp_err
=$ac_c_preproc_warn_flag
3546 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3553 if test -z "$ac_cpp_err"; then
3556 echo "$as_me: failed program was:" >&5
3557 sed 's/^/| /' conftest.
$ac_ext >&5
3559 # Broken: fails on valid input.
3563 rm -f conftest.err conftest.
$ac_ext
3565 # OK, works on sane cases. Now check whether nonexistent headers
3566 # can be detected and how.
3567 cat >conftest.
$ac_ext <<_ACEOF
3570 cat confdefs.h
>>conftest.
$ac_ext
3571 cat >>conftest.
$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3573 #include <ac_nonexistent.h>
3575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3576 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3578 grep -v '^ *+' conftest.er1
>conftest.err
3580 cat conftest.err
>&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); } >/dev
/null
; then
3583 if test -s conftest.err
; then
3584 ac_cpp_err
=$ac_c_preproc_warn_flag
3585 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3592 if test -z "$ac_cpp_err"; then
3593 # Broken: success on invalid input.
3596 echo "$as_me: failed program was:" >&5
3597 sed 's/^/| /' conftest.
$ac_ext >&5
3599 # Passes both tests.
3604 rm -f conftest.err conftest.
$ac_ext
3607 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3608 rm -f conftest.err conftest.
$ac_ext
3609 if $ac_preproc_ok; then
3612 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3613 See \`config.log' for more details." >&5
3614 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3615 See \`config.log' for more details." >&2;}
3616 { (exit 1); exit 1; }; }
3620 ac_cpp
='$CPP $CPPFLAGS'
3621 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3622 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3623 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3627 if test "x$ac_path_x_has_been_run" != xyes
; then
3628 { echo "$as_me:$LINENO: checking for X" >&5
3629 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3631 ac_path_x_has_been_run
=yes
3633 # Check whether --with-x was given.
3634 if test "${with_x+set}" = set; then
3638 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3639 if test "x$with_x" = xno
; then
3640 # The user explicitly disabled X.
3643 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3644 # Both variables are already set.
3647 if test "${ac_cv_have_x+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 # One or both of the vars are not set, and there is no cached value.
3651 ac_x_includes
=no ac_x_libraries
=no
3652 rm -f -r conftest.dir
3653 if mkdir conftest.dir
; then
3655 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3656 cat >Imakefile
<<'_ACEOF'
3658 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3660 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3661 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3662 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3663 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3664 for ac_extension
in a so sl
; do
3665 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3666 test -f $ac_im_libdir/libX11.
$ac_extension; then
3667 ac_im_usrlibdir
=$ac_im_libdir; break
3670 # Screen out bogus values from the imake configuration. They are
3671 # bogus both because they are the default anyway, and because
3672 # using them would break gcc on systems where it needs fixed includes.
3673 case $ac_im_incroot in
3674 /usr
/include
) ac_x_includes
= ;;
3675 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3677 case $ac_im_usrlibdir in
3679 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3683 rm -f -r conftest.dir
3686 # Standard set of common directories for X headers.
3687 # Check X11 before X11Rn because it is often a symlink to the current release.
3699 /usr/local/X11/include
3700 /usr/local/X11R6/include
3701 /usr/local/X11R5/include
3702 /usr/local/X11R4/include
3704 /usr/local/include/X11
3705 /usr/local/include/X11R6
3706 /usr/local/include/X11R5
3707 /usr/local/include/X11R4
3711 /usr/XFree86/include/X11
3715 /usr/unsupported/include
3717 /usr/local/x11r5/include
3718 /usr/lpp/Xamples/include
3720 /usr/openwin/include
3721 /usr/openwin/share/include'
3723 if test "$ac_x_includes" = no
; then
3724 # Guess where to find include files, by looking for Xlib.h.
3725 # First, try using that file with no special directory specified.
3726 cat >conftest.
$ac_ext <<_ACEOF
3729 cat confdefs.h
>>conftest.
$ac_ext
3730 cat >>conftest.
$ac_ext <<_ACEOF
3731 /* end confdefs.h. */
3732 #include <X11/Xlib.h.h>
3734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3735 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3737 grep -v '^ *+' conftest.er1
>conftest.err
3739 cat conftest.err
>&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } >/dev
/null
; then
3742 if test -s conftest.err
; then
3743 ac_cpp_err
=$ac_c_preproc_warn_flag
3744 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3751 if test -z "$ac_cpp_err"; then
3752 # We can compile using X headers with no special include directory.
3755 echo "$as_me: failed program was:" >&5
3756 sed 's/^/| /' conftest.
$ac_ext >&5
3758 for ac_dir
in $ac_x_header_dirs; do
3759 if test -r "$ac_dir/X11/Xlib.h"; then
3760 ac_x_includes
=$ac_dir
3766 rm -f conftest.err conftest.
$ac_ext
3767 fi # $ac_x_includes = no
3769 if test "$ac_x_libraries" = no
; then
3770 # Check for the libraries.
3771 # See if we find them without any special options.
3772 # Don't add to $LIBS permanently.
3775 cat >conftest.
$ac_ext <<_ACEOF
3778 cat confdefs.h
>>conftest.
$ac_ext
3779 cat >>conftest.
$ac_ext <<_ACEOF
3780 /* end confdefs.h. */
3781 #include <X11/Xlib.h>
3790 rm -f conftest.
$ac_objext conftest
$ac_exeext
3791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3792 (eval $ac_link) 2>conftest.er1
3794 grep -v '^ *+' conftest.er1
>conftest.err
3796 cat conftest.err
>&5
3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798 (exit $ac_status); } &&
3799 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); }; } &&
3805 { ac_try
='test -s conftest$ac_exeext'
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; }; then
3812 # We can link X programs with no special library path.
3815 echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.
$ac_ext >&5
3819 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3821 # Don't even attempt the hair of trying to link an X program!
3822 for ac_extension
in a so sl
; do
3823 if test -r $ac_dir/libX11.
$ac_extension; then
3824 ac_x_libraries
=$ac_dir
3831 rm -f conftest.err conftest.
$ac_objext \
3832 conftest
$ac_exeext conftest.
$ac_ext
3833 fi # $ac_x_libraries = no
3835 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3836 # Didn't find X anywhere. Cache the known absence of X.
3837 ac_cv_have_x
="have_x=no"
3839 # Record where we found X for the cache.
3840 ac_cv_have_x
="have_x=yes \
3841 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3846 eval "$ac_cv_have_x"
3849 if test "$have_x" != yes; then
3850 { echo "$as_me:$LINENO: result: $have_x" >&5
3851 echo "${ECHO_T}$have_x" >&6; }
3854 # If each of the values was on the command line, it overrides each guess.
3855 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3856 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3857 # Update the cache value to reflect the command line values.
3858 ac_cv_have_x
="have_x=yes \
3859 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3860 # It might be that x_includes is empty (headers are found in the
3861 # standard search path. Then output the corresponding message
3862 ac_out_x_includes
=$x_includes
3863 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3864 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3865 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6; }
3869 if test "$no_x" = yes; then
3870 # Not all programs may use this symbol, but it does not hurt to define it.
3872 cat >>confdefs.h
<<\_ACEOF
3873 #define X_DISPLAY_MISSING 1
3876 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3878 if test -n "$x_includes"; then
3879 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3882 # It would also be nice to do this for all -L options, not just this one.
3883 if test -n "$x_libraries"; then
3884 X_LIBS
="$X_LIBS -L$x_libraries"
3885 # For Solaris; some versions of Sun CC require a space after -R and
3886 # others require no space. Words are not sufficient . . . .
3887 case `(uname -sr) 2>/dev/null` in
3889 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3890 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3891 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3892 cat >conftest.
$ac_ext <<_ACEOF
3895 cat confdefs.h
>>conftest.
$ac_ext
3896 cat >>conftest.
$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3907 rm -f conftest.
$ac_objext conftest
$ac_exeext
3908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3909 (eval $ac_link) 2>conftest.er1
3911 grep -v '^ *+' conftest.er1
>conftest.err
3913 cat conftest.err
>&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); } &&
3916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }; } &&
3922 { ac_try
='test -s conftest$ac_exeext'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; }; then
3930 echo "$as_me: failed program was:" >&5
3931 sed 's/^/| /' conftest.
$ac_ext >&5
3936 rm -f conftest.err conftest.
$ac_objext \
3937 conftest
$ac_exeext conftest.
$ac_ext
3938 if test $ac_R_nospace = yes; then
3939 { echo "$as_me:$LINENO: result: no" >&5
3940 echo "${ECHO_T}no" >&6; }
3941 X_LIBS
="$X_LIBS -R$x_libraries"
3943 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3944 cat >conftest.
$ac_ext <<_ACEOF
3947 cat confdefs.h
>>conftest.
$ac_ext
3948 cat >>conftest.
$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3959 rm -f conftest.
$ac_objext conftest
$ac_exeext
3960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3961 (eval $ac_link) 2>conftest.er1
3963 grep -v '^ *+' conftest.er1
>conftest.err
3965 cat conftest.err
>&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } &&
3968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); }; } &&
3974 { ac_try
='test -s conftest$ac_exeext'
3975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); }; }; then
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.
$ac_ext >&5
3988 rm -f conftest.err conftest.
$ac_objext \
3989 conftest
$ac_exeext conftest.
$ac_ext
3990 if test $ac_R_space = yes; then
3991 { echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6; }
3993 X_LIBS
="$X_LIBS -R $x_libraries"
3995 { echo "$as_me:$LINENO: result: neither works" >&5
3996 echo "${ECHO_T}neither works" >&6; }
4003 # Check for system-dependent libraries X programs must link with.
4004 # Do this before checking for the system-independent R6 libraries
4005 # (-lICE), since we may need -lsocket or whatever for X linking.
4007 if test "$ISC" = yes; then
4008 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
4010 # Martyn Johnson says this is needed for Ultrix, if the X
4011 # libraries were built with DECnet support. And Karl Berry says
4012 # the Alpha needs dnet_stub (dnet does not exist).
4013 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
4014 cat >conftest.
$ac_ext <<_ACEOF
4017 cat confdefs.h
>>conftest.
$ac_ext
4018 cat >>conftest.
$ac_ext <<_ACEOF
4019 /* end confdefs.h. */
4021 /* Override any GCC internal prototype to avoid an error.
4022 Use char because int might match the return type of a GCC
4023 builtin and then its argument prototype would still apply. */
4027 char XOpenDisplay ();
4031 return XOpenDisplay ();
4036 rm -f conftest.
$ac_objext conftest
$ac_exeext
4037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4038 (eval $ac_link) 2>conftest.er1
4040 grep -v '^ *+' conftest.er1
>conftest.err
4042 cat conftest.err
>&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); } &&
4045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); }; } &&
4051 { ac_try
='test -s conftest$ac_exeext'
4052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); }; }; then
4059 echo "$as_me: failed program was:" >&5
4060 sed 's/^/| /' conftest.
$ac_ext >&5
4062 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4063 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4064 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 ac_check_lib_save_LIBS
=$LIBS
4069 cat >conftest.
$ac_ext <<_ACEOF
4072 cat confdefs.h
>>conftest.
$ac_ext
4073 cat >>conftest.
$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 /* Override any GCC internal prototype to avoid an error.
4077 Use char because int might match the return type of a GCC
4078 builtin and then its argument prototype would still apply. */
4086 return dnet_ntoa ();
4091 rm -f conftest.
$ac_objext conftest
$ac_exeext
4092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4093 (eval $ac_link) 2>conftest.er1
4095 grep -v '^ *+' conftest.er1
>conftest.err
4097 cat conftest.err
>&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); } &&
4100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; } &&
4106 { ac_try
='test -s conftest$ac_exeext'
4107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; }; then
4112 ac_cv_lib_dnet_dnet_ntoa
=yes
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.
$ac_ext >&5
4117 ac_cv_lib_dnet_dnet_ntoa
=no
4120 rm -f conftest.err conftest.
$ac_objext \
4121 conftest
$ac_exeext conftest.
$ac_ext
4122 LIBS
=$ac_check_lib_save_LIBS
4124 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4125 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4126 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4127 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
4130 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
4131 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4132 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4133 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4134 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 ac_check_lib_save_LIBS
=$LIBS
4137 LIBS
="-ldnet_stub $LIBS"
4138 cat >conftest.
$ac_ext <<_ACEOF
4141 cat confdefs.h
>>conftest.
$ac_ext
4142 cat >>conftest.
$ac_ext <<_ACEOF
4143 /* end confdefs.h. */
4145 /* Override any GCC internal prototype to avoid an error.
4146 Use char because int might match the return type of a GCC
4147 builtin and then its argument prototype would still apply. */
4155 return dnet_ntoa ();
4160 rm -f conftest.
$ac_objext conftest
$ac_exeext
4161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4162 (eval $ac_link) 2>conftest.er1
4164 grep -v '^ *+' conftest.er1
>conftest.err
4166 cat conftest.err
>&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); } &&
4169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174 (exit $ac_status); }; } &&
4175 { ac_try
='test -s conftest$ac_exeext'
4176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; }; then
4181 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4183 echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.
$ac_ext >&5
4186 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4189 rm -f conftest.err conftest.
$ac_objext \
4190 conftest
$ac_exeext conftest.
$ac_ext
4191 LIBS
=$ac_check_lib_save_LIBS
4193 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4194 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4195 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4196 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4202 rm -f conftest.err conftest.
$ac_objext \
4203 conftest
$ac_exeext conftest.
$ac_ext
4204 LIBS
="$ac_xsave_LIBS"
4206 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4207 # to get the SysV transport functions.
4208 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4210 # The nsl library prevents programs from opening the X display
4211 # on Irix 5.2, according to T.E. Dickey.
4212 # The functions gethostbyname, getservbyname, and inet_addr are
4213 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4214 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4215 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4216 if test "${ac_cv_func_gethostbyname+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 cat >conftest.
$ac_ext <<_ACEOF
4222 cat confdefs.h
>>conftest.
$ac_ext
4223 cat >>conftest.
$ac_ext <<_ACEOF
4224 /* end confdefs.h. */
4225 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4227 #define gethostbyname innocuous_gethostbyname
4229 /* System header to define __stub macros and hopefully few prototypes,
4230 which can conflict with char gethostbyname (); below.
4231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4232 <limits.h> exists even on freestanding compilers. */
4235 # include <limits.h>
4237 # include <assert.h>
4240 #undef gethostbyname
4242 /* Override any GCC internal prototype to avoid an error.
4243 Use char because int might match the return type of a GCC
4244 builtin and then its argument prototype would still apply. */
4248 char gethostbyname ();
4249 /* The GNU C library defines this for functions which it implements
4250 to always fail with ENOSYS. Some functions are actually named
4251 something starting with __ and the normal name is an alias. */
4252 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4259 return gethostbyname ();
4264 rm -f conftest.
$ac_objext conftest
$ac_exeext
4265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4266 (eval $ac_link) 2>conftest.er1
4268 grep -v '^ *+' conftest.er1
>conftest.err
4270 cat conftest.err
>&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); } &&
4273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; } &&
4279 { ac_try
='test -s conftest$ac_exeext'
4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; }; then
4285 ac_cv_func_gethostbyname
=yes
4287 echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.
$ac_ext >&5
4290 ac_cv_func_gethostbyname
=no
4293 rm -f conftest.err conftest.
$ac_objext \
4294 conftest
$ac_exeext conftest.
$ac_ext
4296 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4297 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4299 if test $ac_cv_func_gethostbyname = no
; then
4300 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4301 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4302 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4303 echo $ECHO_N "(cached) $ECHO_C" >&6
4305 ac_check_lib_save_LIBS
=$LIBS
4307 cat >conftest.
$ac_ext <<_ACEOF
4310 cat confdefs.h
>>conftest.
$ac_ext
4311 cat >>conftest.
$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4314 /* Override any GCC internal prototype to avoid an error.
4315 Use char because int might match the return type of a GCC
4316 builtin and then its argument prototype would still apply. */
4320 char gethostbyname ();
4324 return gethostbyname ();
4329 rm -f conftest.
$ac_objext conftest
$ac_exeext
4330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4331 (eval $ac_link) 2>conftest.er1
4333 grep -v '^ *+' conftest.er1
>conftest.err
4335 cat conftest.err
>&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } &&
4338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); }; } &&
4344 { ac_try
='test -s conftest$ac_exeext'
4345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); }; }; then
4350 ac_cv_lib_nsl_gethostbyname
=yes
4352 echo "$as_me: failed program was:" >&5
4353 sed 's/^/| /' conftest.
$ac_ext >&5
4355 ac_cv_lib_nsl_gethostbyname
=no
4358 rm -f conftest.err conftest.
$ac_objext \
4359 conftest
$ac_exeext conftest.
$ac_ext
4360 LIBS
=$ac_check_lib_save_LIBS
4362 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4363 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4364 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4365 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4368 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4369 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4370 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4371 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4372 echo $ECHO_N "(cached) $ECHO_C" >&6
4374 ac_check_lib_save_LIBS
=$LIBS
4376 cat >conftest.
$ac_ext <<_ACEOF
4379 cat confdefs.h
>>conftest.
$ac_ext
4380 cat >>conftest.
$ac_ext <<_ACEOF
4381 /* end confdefs.h. */
4383 /* Override any GCC internal prototype to avoid an error.
4384 Use char because int might match the return type of a GCC
4385 builtin and then its argument prototype would still apply. */
4389 char gethostbyname ();
4393 return gethostbyname ();
4398 rm -f conftest.
$ac_objext conftest
$ac_exeext
4399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4400 (eval $ac_link) 2>conftest.er1
4402 grep -v '^ *+' conftest.er1
>conftest.err
4404 cat conftest.err
>&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); } &&
4407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); }; } &&
4413 { ac_try
='test -s conftest$ac_exeext'
4414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; }; then
4419 ac_cv_lib_bsd_gethostbyname
=yes
4421 echo "$as_me: failed program was:" >&5
4422 sed 's/^/| /' conftest.
$ac_ext >&5
4424 ac_cv_lib_bsd_gethostbyname
=no
4427 rm -f conftest.err conftest.
$ac_objext \
4428 conftest
$ac_exeext conftest.
$ac_ext
4429 LIBS
=$ac_check_lib_save_LIBS
4431 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4432 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4433 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4434 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
4440 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4441 # socket/setsockopt and other routines are undefined under SCO ODT
4442 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4443 # on later versions), says Simon Leinen: it contains gethostby*
4444 # variants that don't use the name server (or something). -lsocket
4445 # must be given before -lnsl if both are needed. We assume that
4446 # if connect needs -lnsl, so does gethostbyname.
4447 { echo "$as_me:$LINENO: checking for connect" >&5
4448 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4449 if test "${ac_cv_func_connect+set}" = set; then
4450 echo $ECHO_N "(cached) $ECHO_C" >&6
4452 cat >conftest.
$ac_ext <<_ACEOF
4455 cat confdefs.h
>>conftest.
$ac_ext
4456 cat >>conftest.
$ac_ext <<_ACEOF
4457 /* end confdefs.h. */
4458 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4460 #define connect innocuous_connect
4462 /* System header to define __stub macros and hopefully few prototypes,
4463 which can conflict with char connect (); below.
4464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4465 <limits.h> exists even on freestanding compilers. */
4468 # include <limits.h>
4470 # include <assert.h>
4475 /* Override any GCC internal prototype to avoid an error.
4476 Use char because int might match the return type of a GCC
4477 builtin and then its argument prototype would still apply. */
4482 /* The GNU C library defines this for functions which it implements
4483 to always fail with ENOSYS. Some functions are actually named
4484 something starting with __ and the normal name is an alias. */
4485 #if defined __stub_connect || defined __stub___connect
4497 rm -f conftest.
$ac_objext conftest
$ac_exeext
4498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4499 (eval $ac_link) 2>conftest.er1
4501 grep -v '^ *+' conftest.er1
>conftest.err
4503 cat conftest.err
>&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); } &&
4506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); }; } &&
4512 { ac_try
='test -s conftest$ac_exeext'
4513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }; }; then
4518 ac_cv_func_connect
=yes
4520 echo "$as_me: failed program was:" >&5
4521 sed 's/^/| /' conftest.
$ac_ext >&5
4523 ac_cv_func_connect
=no
4526 rm -f conftest.err conftest.
$ac_objext \
4527 conftest
$ac_exeext conftest.
$ac_ext
4529 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4530 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4532 if test $ac_cv_func_connect = no
; then
4533 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4534 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4535 if test "${ac_cv_lib_socket_connect+set}" = set; then
4536 echo $ECHO_N "(cached) $ECHO_C" >&6
4538 ac_check_lib_save_LIBS
=$LIBS
4539 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4540 cat >conftest.
$ac_ext <<_ACEOF
4543 cat confdefs.h
>>conftest.
$ac_ext
4544 cat >>conftest.
$ac_ext <<_ACEOF
4545 /* end confdefs.h. */
4547 /* Override any GCC internal prototype to avoid an error.
4548 Use char because int might match the return type of a GCC
4549 builtin and then its argument prototype would still apply. */
4562 rm -f conftest.
$ac_objext conftest
$ac_exeext
4563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4564 (eval $ac_link) 2>conftest.er1
4566 grep -v '^ *+' conftest.er1
>conftest.err
4568 cat conftest.err
>&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } &&
4571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); }; } &&
4577 { ac_try
='test -s conftest$ac_exeext'
4578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; }; then
4583 ac_cv_lib_socket_connect
=yes
4585 echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.
$ac_ext >&5
4588 ac_cv_lib_socket_connect
=no
4591 rm -f conftest.err conftest.
$ac_objext \
4592 conftest
$ac_exeext conftest.
$ac_ext
4593 LIBS
=$ac_check_lib_save_LIBS
4595 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4596 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4597 if test $ac_cv_lib_socket_connect = yes; then
4598 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4603 # Guillermo Gomez says -lposix is necessary on A/UX.
4604 { echo "$as_me:$LINENO: checking for remove" >&5
4605 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4606 if test "${ac_cv_func_remove+set}" = set; then
4607 echo $ECHO_N "(cached) $ECHO_C" >&6
4609 cat >conftest.
$ac_ext <<_ACEOF
4612 cat confdefs.h
>>conftest.
$ac_ext
4613 cat >>conftest.
$ac_ext <<_ACEOF
4614 /* end confdefs.h. */
4615 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4617 #define remove innocuous_remove
4619 /* System header to define __stub macros and hopefully few prototypes,
4620 which can conflict with char remove (); below.
4621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4622 <limits.h> exists even on freestanding compilers. */
4625 # include <limits.h>
4627 # include <assert.h>
4632 /* Override any GCC internal prototype to avoid an error.
4633 Use char because int might match the return type of a GCC
4634 builtin and then its argument prototype would still apply. */
4639 /* The GNU C library defines this for functions which it implements
4640 to always fail with ENOSYS. Some functions are actually named
4641 something starting with __ and the normal name is an alias. */
4642 #if defined __stub_remove || defined __stub___remove
4654 rm -f conftest.
$ac_objext conftest
$ac_exeext
4655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4656 (eval $ac_link) 2>conftest.er1
4658 grep -v '^ *+' conftest.er1
>conftest.err
4660 cat conftest.err
>&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } &&
4663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; } &&
4669 { ac_try
='test -s conftest$ac_exeext'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 ac_cv_func_remove
=yes
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.
$ac_ext >&5
4680 ac_cv_func_remove
=no
4683 rm -f conftest.err conftest.
$ac_objext \
4684 conftest
$ac_exeext conftest.
$ac_ext
4686 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4687 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4689 if test $ac_cv_func_remove = no
; then
4690 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4691 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4692 if test "${ac_cv_lib_posix_remove+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 ac_check_lib_save_LIBS
=$LIBS
4696 LIBS
="-lposix $LIBS"
4697 cat >conftest.
$ac_ext <<_ACEOF
4700 cat confdefs.h
>>conftest.
$ac_ext
4701 cat >>conftest.
$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4704 /* Override any GCC internal prototype to avoid an error.
4705 Use char because int might match the return type of a GCC
4706 builtin and then its argument prototype would still apply. */
4719 rm -f conftest.
$ac_objext conftest
$ac_exeext
4720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4721 (eval $ac_link) 2>conftest.er1
4723 grep -v '^ *+' conftest.er1
>conftest.err
4725 cat conftest.err
>&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); } &&
4728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); }; } &&
4734 { ac_try
='test -s conftest$ac_exeext'
4735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }; }; then
4740 ac_cv_lib_posix_remove
=yes
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.
$ac_ext >&5
4745 ac_cv_lib_posix_remove
=no
4748 rm -f conftest.err conftest.
$ac_objext \
4749 conftest
$ac_exeext conftest.
$ac_ext
4750 LIBS
=$ac_check_lib_save_LIBS
4752 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4753 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4754 if test $ac_cv_lib_posix_remove = yes; then
4755 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4760 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4761 { echo "$as_me:$LINENO: checking for shmat" >&5
4762 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4763 if test "${ac_cv_func_shmat+set}" = set; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 cat >conftest.
$ac_ext <<_ACEOF
4769 cat confdefs.h
>>conftest.
$ac_ext
4770 cat >>conftest.
$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4772 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4774 #define shmat innocuous_shmat
4776 /* System header to define __stub macros and hopefully few prototypes,
4777 which can conflict with char shmat (); below.
4778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4779 <limits.h> exists even on freestanding compilers. */
4782 # include <limits.h>
4784 # include <assert.h>
4789 /* Override any GCC internal prototype to avoid an error.
4790 Use char because int might match the return type of a GCC
4791 builtin and then its argument prototype would still apply. */
4796 /* The GNU C library defines this for functions which it implements
4797 to always fail with ENOSYS. Some functions are actually named
4798 something starting with __ and the normal name is an alias. */
4799 #if defined __stub_shmat || defined __stub___shmat
4811 rm -f conftest.
$ac_objext conftest
$ac_exeext
4812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4813 (eval $ac_link) 2>conftest.er1
4815 grep -v '^ *+' conftest.er1
>conftest.err
4817 cat conftest.err
>&5
4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819 (exit $ac_status); } &&
4820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); }; } &&
4826 { ac_try
='test -s conftest$ac_exeext'
4827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); }; }; then
4832 ac_cv_func_shmat
=yes
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.
$ac_ext >&5
4840 rm -f conftest.err conftest.
$ac_objext \
4841 conftest
$ac_exeext conftest.
$ac_ext
4843 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4844 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4846 if test $ac_cv_func_shmat = no
; then
4847 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4848 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4849 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 ac_check_lib_save_LIBS
=$LIBS
4854 cat >conftest.
$ac_ext <<_ACEOF
4857 cat confdefs.h
>>conftest.
$ac_ext
4858 cat >>conftest.
$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4861 /* Override any GCC internal prototype to avoid an error.
4862 Use char because int might match the return type of a GCC
4863 builtin and then its argument prototype would still apply. */
4876 rm -f conftest.
$ac_objext conftest
$ac_exeext
4877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4878 (eval $ac_link) 2>conftest.er1
4880 grep -v '^ *+' conftest.er1
>conftest.err
4882 cat conftest.err
>&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); } &&
4885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); }; } &&
4891 { ac_try
='test -s conftest$ac_exeext'
4892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); }; }; then
4897 ac_cv_lib_ipc_shmat
=yes
4899 echo "$as_me: failed program was:" >&5
4900 sed 's/^/| /' conftest.
$ac_ext >&5
4902 ac_cv_lib_ipc_shmat
=no
4905 rm -f conftest.err conftest.
$ac_objext \
4906 conftest
$ac_exeext conftest.
$ac_ext
4907 LIBS
=$ac_check_lib_save_LIBS
4909 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4910 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4911 if test $ac_cv_lib_ipc_shmat = yes; then
4912 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4918 # Check for libraries that X11R6 Xt/Xaw programs need.
4919 ac_save_LDFLAGS
=$LDFLAGS
4920 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4921 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4922 # check for ICE first), but we must link in the order -lSM -lICE or
4923 # we get undefined symbols. So assume we have SM if we have ICE.
4924 # These have to be linked with before -lX11, unlike the other
4925 # libraries we check for below, so use a different variable.
4926 # John Interrante, Karl Berry
4927 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4928 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4929 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 ac_check_lib_save_LIBS
=$LIBS
4933 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4934 cat >conftest.
$ac_ext <<_ACEOF
4937 cat confdefs.h
>>conftest.
$ac_ext
4938 cat >>conftest.
$ac_ext <<_ACEOF
4939 /* end confdefs.h. */
4941 /* Override any GCC internal prototype to avoid an error.
4942 Use char because int might match the return type of a GCC
4943 builtin and then its argument prototype would still apply. */
4947 char IceConnectionNumber ();
4951 return IceConnectionNumber ();
4956 rm -f conftest.
$ac_objext conftest
$ac_exeext
4957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4958 (eval $ac_link) 2>conftest.er1
4960 grep -v '^ *+' conftest.er1
>conftest.err
4962 cat conftest.err
>&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); } &&
4965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; } &&
4971 { ac_try
='test -s conftest$ac_exeext'
4972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); }; }; then
4977 ac_cv_lib_ICE_IceConnectionNumber
=yes
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.
$ac_ext >&5
4982 ac_cv_lib_ICE_IceConnectionNumber
=no
4985 rm -f conftest.err conftest.
$ac_objext \
4986 conftest
$ac_exeext conftest.
$ac_ext
4987 LIBS
=$ac_check_lib_save_LIBS
4989 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4990 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4991 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4992 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4995 LDFLAGS
=$ac_save_LDFLAGS
4999 for ac_prog
in flex
lex
5001 # Extract the first word of "$ac_prog", so it can be a program name with args.
5002 set dummy
$ac_prog; ac_word
=$2
5003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5005 if test "${ac_cv_prog_LEX+set}" = set; then
5006 echo $ECHO_N "(cached) $ECHO_C" >&6
5008 if test -n "$LEX"; then
5009 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir
=.
5016 for ac_exec_ext
in '' $ac_executable_extensions; do
5017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5018 ac_cv_prog_LEX
="$ac_prog"
5019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 if test -n "$LEX"; then
5030 { echo "$as_me:$LINENO: result: $LEX" >&5
5031 echo "${ECHO_T}$LEX" >&6; }
5033 { echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6; }
5038 test -n "$LEX" && break
5040 test -n "$LEX" || LEX
=":"
5042 if test -z "$LEXLIB"
5044 { echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5045 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6; }
5046 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5047 echo $ECHO_N "(cached) $ECHO_C" >&6
5049 ac_check_lib_save_LIBS
=$LIBS
5051 cat >conftest.
$ac_ext <<_ACEOF
5054 cat confdefs.h
>>conftest.
$ac_ext
5055 cat >>conftest.
$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5058 /* Override any GCC internal prototype to avoid an error.
5059 Use char because int might match the return type of a GCC
5060 builtin and then its argument prototype would still apply. */
5073 rm -f conftest.
$ac_objext conftest
$ac_exeext
5074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5075 (eval $ac_link) 2>conftest.er1
5077 grep -v '^ *+' conftest.er1
>conftest.err
5079 cat conftest.err
>&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } &&
5082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); }; } &&
5088 { ac_try
='test -s conftest$ac_exeext'
5089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); }; }; then
5094 ac_cv_lib_fl_yywrap
=yes
5096 echo "$as_me: failed program was:" >&5
5097 sed 's/^/| /' conftest.
$ac_ext >&5
5099 ac_cv_lib_fl_yywrap
=no
5102 rm -f conftest.err conftest.
$ac_objext \
5103 conftest
$ac_exeext conftest.
$ac_ext
5104 LIBS
=$ac_check_lib_save_LIBS
5106 { echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5107 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6; }
5108 if test $ac_cv_lib_fl_yywrap = yes; then
5111 { echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5112 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6; }
5113 if test "${ac_cv_lib_l_yywrap+set}" = set; then
5114 echo $ECHO_N "(cached) $ECHO_C" >&6
5116 ac_check_lib_save_LIBS
=$LIBS
5118 cat >conftest.
$ac_ext <<_ACEOF
5121 cat confdefs.h
>>conftest.
$ac_ext
5122 cat >>conftest.
$ac_ext <<_ACEOF
5123 /* end confdefs.h. */
5125 /* Override any GCC internal prototype to avoid an error.
5126 Use char because int might match the return type of a GCC
5127 builtin and then its argument prototype would still apply. */
5140 rm -f conftest.
$ac_objext conftest
$ac_exeext
5141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5142 (eval $ac_link) 2>conftest.er1
5144 grep -v '^ *+' conftest.er1
>conftest.err
5146 cat conftest.err
>&5
5147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148 (exit $ac_status); } &&
5149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); }; } &&
5155 { ac_try
='test -s conftest$ac_exeext'
5156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }; }; then
5161 ac_cv_lib_l_yywrap
=yes
5163 echo "$as_me: failed program was:" >&5
5164 sed 's/^/| /' conftest.
$ac_ext >&5
5166 ac_cv_lib_l_yywrap
=no
5169 rm -f conftest.err conftest.
$ac_objext \
5170 conftest
$ac_exeext conftest.
$ac_ext
5171 LIBS
=$ac_check_lib_save_LIBS
5173 { echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5174 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6; }
5175 if test $ac_cv_lib_l_yywrap = yes; then
5183 if test "x$LEX" != "x:"; then
5184 { echo "$as_me:$LINENO: checking lex output file root" >&5
5185 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5186 if test "${ac_cv_prog_lex_root+set}" = set; then
5187 echo $ECHO_N "(cached) $ECHO_C" >&6
5189 # The minimal lex program is just a single line: %%. But some broken lexes
5190 # (Solaris, I think it was) want two %% lines, so accommodate them.
5191 cat >conftest.l
<<_ACEOF
5195 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
5196 (eval $LEX conftest.l
) 2>&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); }
5200 if test -f lex.yy.c
; then
5201 ac_cv_prog_lex_root
=lex.yy
5202 elif test -f lexyy.c
; then
5203 ac_cv_prog_lex_root
=lexyy
5205 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5206 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5207 { (exit 1); exit 1; }; }
5210 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5211 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5213 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
5215 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5216 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5217 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5218 echo $ECHO_N "(cached) $ECHO_C" >&6
5220 # POSIX says lex can declare yytext either as a pointer or an array; the
5221 # default is implementation-dependent. Figure out which it is, since
5222 # not all implementations provide the %pointer and %array declarations.
5223 ac_cv_prog_lex_yytext_pointer
=no
5224 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
5226 LIBS
="$LIBS $LEXLIB"
5227 cat >conftest.
$ac_ext <<_ACEOF
5228 `cat $LEX_OUTPUT_ROOT.c`
5230 rm -f conftest.
$ac_objext conftest
$ac_exeext
5231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5232 (eval $ac_link) 2>conftest.er1
5234 grep -v '^ *+' conftest.er1
>conftest.err
5236 cat conftest.err
>&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); } &&
5239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); }; } &&
5245 { ac_try
='test -s conftest$ac_exeext'
5246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 (exit $ac_status); }; }; then
5251 ac_cv_prog_lex_yytext_pointer
=yes
5253 echo "$as_me: failed program was:" >&5
5254 sed 's/^/| /' conftest.
$ac_ext >&5
5259 rm -f conftest.err conftest.
$ac_objext \
5260 conftest
$ac_exeext conftest.
$ac_ext
5262 rm -f "${LEX_OUTPUT_ROOT}.c"
5265 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5266 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5267 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5269 cat >>confdefs.h
<<\_ACEOF
5270 #define YYTEXT_POINTER 1
5277 for ac_prog
in $LEX flex
lex
5279 # Extract the first word of "$ac_prog", so it can be a program name with args.
5280 set dummy
$ac_prog; ac_word
=$2
5281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5283 if test "${ac_cv_prog_XLEX+set}" = set; then
5284 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 if test -n "$XLEX"; then
5287 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
5289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir
=.
5294 for ac_exec_ext
in '' $ac_executable_extensions; do
5295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5296 ac_cv_prog_XLEX
="$ac_prog"
5297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 XLEX
=$ac_cv_prog_XLEX
5307 if test -n "$XLEX"; then
5308 { echo "$as_me:$LINENO: result: $XLEX" >&5
5309 echo "${ECHO_T}$XLEX" >&6; }
5311 { echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6; }
5316 test -n "$XLEX" && break
5318 test -n "$XLEX" || XLEX
="none"
5320 if test "$XLEX" = "none"
5322 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5323 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5324 { (exit 1); exit 1; }; }
5327 for ac_prog
in bison
5329 # Extract the first word of "$ac_prog", so it can be a program name with args.
5330 set dummy
$ac_prog; ac_word
=$2
5331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5333 if test "${ac_cv_prog_BISON+set}" = set; then
5334 echo $ECHO_N "(cached) $ECHO_C" >&6
5336 if test -n "$BISON"; then
5337 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5343 test -z "$as_dir" && as_dir
=.
5344 for ac_exec_ext
in '' $ac_executable_extensions; do
5345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5346 ac_cv_prog_BISON
="$ac_prog"
5347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5356 BISON
=$ac_cv_prog_BISON
5357 if test -n "$BISON"; then
5358 { echo "$as_me:$LINENO: result: $BISON" >&5
5359 echo "${ECHO_T}$BISON" >&6; }
5361 { echo "$as_me:$LINENO: result: no" >&5
5362 echo "${ECHO_T}no" >&6; }
5366 test -n "$BISON" && break
5368 test -n "$BISON" || BISON
="none"
5370 if test "$BISON" = "none"
5372 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5373 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5374 { (exit 1); exit 1; }; }
5377 if test -n "$ac_tool_prefix"; then
5378 for ac_prog
in gas as
5380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5381 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5384 if test "${ac_cv_prog_AS+set}" = set; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6
5387 if test -n "$AS"; then
5388 ac_cv_prog_AS
="$AS" # Let the user override the test.
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_exec_ext
in '' $ac_executable_extensions; do
5396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5397 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
5398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 if test -n "$AS"; then
5409 { echo "$as_me:$LINENO: result: $AS" >&5
5410 echo "${ECHO_T}$AS" >&6; }
5412 { echo "$as_me:$LINENO: result: no" >&5
5413 echo "${ECHO_T}no" >&6; }
5417 test -n "$AS" && break
5420 if test -z "$AS"; then
5422 for ac_prog
in gas as
5424 # Extract the first word of "$ac_prog", so it can be a program name with args.
5425 set dummy
$ac_prog; ac_word
=$2
5426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5428 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 if test -n "$ac_ct_AS"; then
5432 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir
=.
5439 for ac_exec_ext
in '' $ac_executable_extensions; do
5440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5441 ac_cv_prog_ac_ct_AS
="$ac_prog"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5452 if test -n "$ac_ct_AS"; then
5453 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5454 echo "${ECHO_T}$ac_ct_AS" >&6; }
5456 { echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6; }
5461 test -n "$ac_ct_AS" && break
5464 if test "x$ac_ct_AS" = x
; then
5467 case $cross_compiling:$ac_tool_warned in
5469 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5470 whose name does not start with the host triplet. If you think this
5471 configuration is useful to you, please write to autoconf@gnu.org." >&5
5472 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5473 whose name does not start with the host triplet. If you think this
5474 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5475 ac_tool_warned
=yes ;;
5481 if test -n "$ac_tool_prefix"; then
5482 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5483 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5486 if test "${ac_cv_prog_LD+set}" = set; then
5487 echo $ECHO_N "(cached) $ECHO_C" >&6
5489 if test -n "$LD"; then
5490 ac_cv_prog_LD
="$LD" # Let the user override the test.
5492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5496 test -z "$as_dir" && as_dir
=.
5497 for ac_exec_ext
in '' $ac_executable_extensions; do
5498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5499 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 if test -n "$LD"; then
5511 { echo "$as_me:$LINENO: result: $LD" >&5
5512 echo "${ECHO_T}$LD" >&6; }
5514 { echo "$as_me:$LINENO: result: no" >&5
5515 echo "${ECHO_T}no" >&6; }
5520 if test -z "$ac_cv_prog_LD"; then
5522 # Extract the first word of "ld", so it can be a program name with args.
5523 set dummy ld
; ac_word
=$2
5524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5526 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 if test -n "$ac_ct_LD"; then
5530 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5536 test -z "$as_dir" && as_dir
=.
5537 for ac_exec_ext
in '' $ac_executable_extensions; do
5538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5539 ac_cv_prog_ac_ct_LD
="ld"
5540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5550 if test -n "$ac_ct_LD"; then
5551 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5552 echo "${ECHO_T}$ac_ct_LD" >&6; }
5554 { echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6; }
5558 if test "x$ac_ct_LD" = x
; then
5561 case $cross_compiling:$ac_tool_warned in
5563 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5564 whose name does not start with the host triplet. If you think this
5565 configuration is useful to you, please write to autoconf@gnu.org." >&5
5566 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5567 whose name does not start with the host triplet. If you think this
5568 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5569 ac_tool_warned
=yes ;;
5577 if test -n "$ac_tool_prefix"; then
5578 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5579 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5582 if test "${ac_cv_prog_AR+set}" = set; then
5583 echo $ECHO_N "(cached) $ECHO_C" >&6
5585 if test -n "$AR"; then
5586 ac_cv_prog_AR
="$AR" # Let the user override the test.
5588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5592 test -z "$as_dir" && as_dir
=.
5593 for ac_exec_ext
in '' $ac_executable_extensions; do
5594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5595 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 if test -n "$AR"; then
5607 { echo "$as_me:$LINENO: result: $AR" >&5
5608 echo "${ECHO_T}$AR" >&6; }
5610 { echo "$as_me:$LINENO: result: no" >&5
5611 echo "${ECHO_T}no" >&6; }
5616 if test -z "$ac_cv_prog_AR"; then
5618 # Extract the first word of "ar", so it can be a program name with args.
5619 set dummy
ar; ac_word
=$2
5620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5622 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5623 echo $ECHO_N "(cached) $ECHO_C" >&6
5625 if test -n "$ac_ct_AR"; then
5626 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5632 test -z "$as_dir" && as_dir
=.
5633 for ac_exec_ext
in '' $ac_executable_extensions; do
5634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5635 ac_cv_prog_ac_ct_AR
="ar"
5636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5646 if test -n "$ac_ct_AR"; then
5647 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5648 echo "${ECHO_T}$ac_ct_AR" >&6; }
5650 { echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6; }
5654 if test "x$ac_ct_AR" = x
; then
5657 case $cross_compiling:$ac_tool_warned in
5659 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5660 whose name does not start with the host triplet. If you think this
5661 configuration is useful to you, please write to autoconf@gnu.org." >&5
5662 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5663 whose name does not start with the host triplet. If you think this
5664 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5665 ac_tool_warned
=yes ;;
5673 if test -n "$ac_tool_prefix"; then
5674 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5675 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5678 if test "${ac_cv_prog_RANLIB+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 if test -n "$RANLIB"; then
5682 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir
=.
5689 for ac_exec_ext
in '' $ac_executable_extensions; do
5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5691 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 RANLIB
=$ac_cv_prog_RANLIB
5702 if test -n "$RANLIB"; then
5703 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5704 echo "${ECHO_T}$RANLIB" >&6; }
5706 { echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6; }
5712 if test -z "$ac_cv_prog_RANLIB"; then
5713 ac_ct_RANLIB
=$RANLIB
5714 # Extract the first word of "ranlib", so it can be a program name with args.
5715 set dummy ranlib
; ac_word
=$2
5716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5718 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 if test -n "$ac_ct_RANLIB"; then
5722 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5728 test -z "$as_dir" && as_dir
=.
5729 for ac_exec_ext
in '' $ac_executable_extensions; do
5730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5731 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5742 if test -n "$ac_ct_RANLIB"; then
5743 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5744 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5746 { echo "$as_me:$LINENO: result: no" >&5
5747 echo "${ECHO_T}no" >&6; }
5750 if test "x$ac_ct_RANLIB" = x
; then
5753 case $cross_compiling:$ac_tool_warned in
5755 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5756 whose name does not start with the host triplet. If you think this
5757 configuration is useful to you, please write to autoconf@gnu.org." >&5
5758 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5759 whose name does not start with the host triplet. If you think this
5760 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5761 ac_tool_warned
=yes ;;
5763 RANLIB
=$ac_ct_RANLIB
5766 RANLIB
="$ac_cv_prog_RANLIB"
5769 if test -n "$ac_tool_prefix"; then
5770 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5771 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5774 if test "${ac_cv_prog_STRIP+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5777 if test -n "$STRIP"; then
5778 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5784 test -z "$as_dir" && as_dir
=.
5785 for ac_exec_ext
in '' $ac_executable_extensions; do
5786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5787 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5797 STRIP
=$ac_cv_prog_STRIP
5798 if test -n "$STRIP"; then
5799 { echo "$as_me:$LINENO: result: $STRIP" >&5
5800 echo "${ECHO_T}$STRIP" >&6; }
5802 { echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6; }
5808 if test -z "$ac_cv_prog_STRIP"; then
5810 # Extract the first word of "strip", so it can be a program name with args.
5811 set dummy strip
; ac_word
=$2
5812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5814 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 if test -n "$ac_ct_STRIP"; then
5818 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir
=.
5825 for ac_exec_ext
in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_prog_ac_ct_STRIP
="strip"
5828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5838 if test -n "$ac_ct_STRIP"; then
5839 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5840 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5842 { echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6; }
5846 if test "x$ac_ct_STRIP" = x
; then
5849 case $cross_compiling:$ac_tool_warned in
5851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5852 whose name does not start with the host triplet. If you think this
5853 configuration is useful to you, please write to autoconf@gnu.org." >&5
5854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5855 whose name does not start with the host triplet. If you think this
5856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5857 ac_tool_warned
=yes ;;
5862 STRIP
="$ac_cv_prog_STRIP"
5865 if test -n "$ac_tool_prefix"; then
5866 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5867 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5870 if test "${ac_cv_prog_WINDRES+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 if test -n "$WINDRES"; then
5874 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5880 test -z "$as_dir" && as_dir
=.
5881 for ac_exec_ext
in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 WINDRES
=$ac_cv_prog_WINDRES
5894 if test -n "$WINDRES"; then
5895 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5896 echo "${ECHO_T}$WINDRES" >&6; }
5898 { echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6; }
5904 if test -z "$ac_cv_prog_WINDRES"; then
5905 ac_ct_WINDRES
=$WINDRES
5906 # Extract the first word of "windres", so it can be a program name with args.
5907 set dummy windres
; ac_word
=$2
5908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5910 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 if test -n "$ac_ct_WINDRES"; then
5914 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir
=.
5921 for ac_exec_ext
in '' $ac_executable_extensions; do
5922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5923 ac_cv_prog_ac_ct_WINDRES
="windres"
5924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5934 if test -n "$ac_ct_WINDRES"; then
5935 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5936 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5938 { echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6; }
5942 if test "x$ac_ct_WINDRES" = x
; then
5945 case $cross_compiling:$ac_tool_warned in
5947 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5948 whose name does not start with the host triplet. If you think this
5949 configuration is useful to you, please write to autoconf@gnu.org." >&5
5950 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5951 whose name does not start with the host triplet. If you think this
5952 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5953 ac_tool_warned
=yes ;;
5955 WINDRES
=$ac_ct_WINDRES
5958 WINDRES
="$ac_cv_prog_WINDRES"
5961 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5962 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5964 if test "$LN_S" = "ln -s"; then
5965 { echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6; }
5968 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5969 echo "${ECHO_T}no, using $LN_S" >&6; }
5972 { echo "$as_me:$LINENO: checking whether ln works" >&5
5973 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5974 rm -f conf$$ conf$$.
file
5976 if ln conf$$.
file conf$$
2>/dev
/null
; then
5979 { echo "$as_me:$LINENO: result: yes" >&5
5980 echo "${ECHO_T}yes" >&6; }
5984 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5985 echo "${ECHO_T}no, using $LN" >&6; }
5987 rm -f conf$$ conf$$.
file
5988 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5989 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5990 if test "${ac_cv_path_GREP+set}" = set; then
5991 echo $ECHO_N "(cached) $ECHO_C" >&6
5993 # Extract the first word of "grep ggrep" to use in msg output
5994 if test -z "$GREP"; then
5995 set dummy
grep ggrep
; ac_prog_name
=$2
5996 if test "${ac_cv_path_GREP+set}" = set; then
5997 echo $ECHO_N "(cached) $ECHO_C" >&6
5999 ac_path_GREP_found
=false
6000 # Loop through the user's path and test for each of PROGNAME-LIST
6001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6002 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6005 test -z "$as_dir" && as_dir
=.
6006 for ac_prog
in grep ggrep
; do
6007 for ac_exec_ext
in '' $ac_executable_extensions; do
6008 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6009 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
6010 # Check for GNU ac_path_GREP and select it if it is found.
6011 # Check for GNU $ac_path_GREP
6012 case `"$ac_path_GREP" --version 2>&1` in
6014 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6017 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6020 cat "conftest.in" "conftest.in" >"conftest.tmp"
6021 mv "conftest.tmp" "conftest.in"
6022 cp "conftest.in" "conftest.nl"
6023 echo 'GREP' >> "conftest.nl"
6024 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6025 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6026 ac_count
=`expr $ac_count + 1`
6027 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6028 # Best one so far, save it but keep looking for a better one
6029 ac_cv_path_GREP
="$ac_path_GREP"
6030 ac_path_GREP_max
=$ac_count
6032 # 10*(2^10) chars as input seems more than enough
6033 test $ac_count -gt 10 && break
6039 $ac_path_GREP_found && break 3
6049 GREP
="$ac_cv_path_GREP"
6050 if test -z "$GREP"; then
6051 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6052 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6053 { (exit 1); exit 1; }; }
6057 ac_cv_path_GREP
=$GREP
6062 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6063 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6064 GREP
="$ac_cv_path_GREP"
6067 { echo "$as_me:$LINENO: checking for egrep" >&5
6068 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6069 if test "${ac_cv_path_EGREP+set}" = set; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6072 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6073 then ac_cv_path_EGREP
="$GREP -E"
6075 # Extract the first word of "egrep" to use in msg output
6076 if test -z "$EGREP"; then
6077 set dummy
egrep; ac_prog_name
=$2
6078 if test "${ac_cv_path_EGREP+set}" = set; then
6079 echo $ECHO_N "(cached) $ECHO_C" >&6
6081 ac_path_EGREP_found
=false
6082 # Loop through the user's path and test for each of PROGNAME-LIST
6083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6084 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6087 test -z "$as_dir" && as_dir
=.
6088 for ac_prog
in egrep; do
6089 for ac_exec_ext
in '' $ac_executable_extensions; do
6090 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6091 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
6092 # Check for GNU ac_path_EGREP and select it if it is found.
6093 # Check for GNU $ac_path_EGREP
6094 case `"$ac_path_EGREP" --version 2>&1` in
6096 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6099 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6102 cat "conftest.in" "conftest.in" >"conftest.tmp"
6103 mv "conftest.tmp" "conftest.in"
6104 cp "conftest.in" "conftest.nl"
6105 echo 'EGREP' >> "conftest.nl"
6106 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6107 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6108 ac_count
=`expr $ac_count + 1`
6109 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6110 # Best one so far, save it but keep looking for a better one
6111 ac_cv_path_EGREP
="$ac_path_EGREP"
6112 ac_path_EGREP_max
=$ac_count
6114 # 10*(2^10) chars as input seems more than enough
6115 test $ac_count -gt 10 && break
6121 $ac_path_EGREP_found && break 3
6131 EGREP
="$ac_cv_path_EGREP"
6132 if test -z "$EGREP"; then
6133 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6134 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6135 { (exit 1); exit 1; }; }
6139 ac_cv_path_EGREP
=$EGREP
6145 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6146 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6147 EGREP
="$ac_cv_path_EGREP"
6150 # Extract the first word of "ldconfig", so it can be a program name with args.
6151 set dummy ldconfig
; ac_word
=$2
6152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6154 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6155 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
6162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6163 for as_dir
in /sbin
/usr
/sbin
$PATH
6166 test -z "$as_dir" && as_dir
=.
6167 for ac_exec_ext
in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
6170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6177 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
6181 LDCONFIG
=$ac_cv_path_LDCONFIG
6182 if test -n "$LDCONFIG"; then
6183 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6184 echo "${ECHO_T}$LDCONFIG" >&6; }
6186 { echo "$as_me:$LINENO: result: no" >&5
6187 echo "${ECHO_T}no" >&6; }
6191 # Find a good install program. We prefer a C program (faster),
6192 # so one script is as good as another. But avoid the broken or
6193 # incompatible versions:
6194 # SysV /etc/install, /usr/sbin/install
6195 # SunOS /usr/etc/install
6196 # IRIX /sbin/install
6198 # AmigaOS /C/install, which installs bootblocks on floppy discs
6199 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6200 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6201 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6202 # OS/2's system install, which has a completely different semantic
6203 # ./install, which can be erroneously created by make from ./install.sh.
6204 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6205 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6206 if test -z "$INSTALL"; then
6207 if test "${ac_cv_path_install+set}" = set; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6214 test -z "$as_dir" && as_dir
=.
6215 # Account for people who put trailing slashes in PATH elements.
6217 .
/ | .
// |
/cC
/* | \
6218 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6219 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6222 # OSF1 and SCO ODT 3.0 have their own names for install.
6223 # Don't use installbsd from OSF since it installs stuff as root
6225 for ac_prog
in ginstall scoinst
install; do
6226 for ac_exec_ext
in '' $ac_executable_extensions; do
6227 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6228 if test $ac_prog = install &&
6229 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6230 # AIX install. It has an incompatible calling convention.
6232 elif test $ac_prog = install &&
6233 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6234 # program-specific install script used by HP pwplus--don't use.
6237 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6250 if test "${ac_cv_path_install+set}" = set; then
6251 INSTALL
=$ac_cv_path_install
6253 # As a last resort, use the slow shell script. Don't cache a
6254 # value for INSTALL within a source directory, because that will
6255 # break other packages using the cache if that directory is
6256 # removed, or if the value is a relative name.
6257 INSTALL
=$ac_install_sh
6260 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6261 echo "${ECHO_T}$INSTALL" >&6; }
6263 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6264 # It thinks the first close brace ends the variable substitution.
6265 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6267 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6269 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6272 [\\/$
]* | ?
:[\\/]* ) ;;
6273 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
6276 for ac_prog
in lclint lint
6278 # Extract the first word of "$ac_prog", so it can be a program name with args.
6279 set dummy
$ac_prog; ac_word
=$2
6280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6282 if test "${ac_cv_prog_LINT+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6285 if test -n "$LINT"; then
6286 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
6288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6292 test -z "$as_dir" && as_dir
=.
6293 for ac_exec_ext
in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_LINT
="$ac_prog"
6296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6305 LINT
=$ac_cv_prog_LINT
6306 if test -n "$LINT"; then
6307 { echo "$as_me:$LINENO: result: $LINT" >&5
6308 echo "${ECHO_T}$LINT" >&6; }
6310 { echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6; }
6315 test -n "$LINT" && break
6318 if test "$LINT" = "lint"
6320 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6325 for ac_prog
in fontforge
6327 # Extract the first word of "$ac_prog", so it can be a program name with args.
6328 set dummy
$ac_prog; ac_word
=$2
6329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6331 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6332 echo $ECHO_N "(cached) $ECHO_C" >&6
6334 if test -n "$FONTFORGE"; then
6335 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
6337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir
=.
6342 for ac_exec_ext
in '' $ac_executable_extensions; do
6343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6344 ac_cv_prog_FONTFORGE
="$ac_prog"
6345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6354 FONTFORGE
=$ac_cv_prog_FONTFORGE
6355 if test -n "$FONTFORGE"; then
6356 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6357 echo "${ECHO_T}$FONTFORGE" >&6; }
6359 { echo "$as_me:$LINENO: result: no" >&5
6360 echo "${ECHO_T}no" >&6; }
6364 test -n "$FONTFORGE" && break
6366 test -n "$FONTFORGE" || FONTFORGE
="false"
6368 for ac_prog
in pkg-config
6370 # Extract the first word of "$ac_prog", so it can be a program name with args.
6371 set dummy
$ac_prog; ac_word
=$2
6372 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6374 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6375 echo $ECHO_N "(cached) $ECHO_C" >&6
6377 if test -n "$PKG_CONFIG"; then
6378 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
6380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6384 test -z "$as_dir" && as_dir
=.
6385 for ac_exec_ext
in '' $ac_executable_extensions; do
6386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6387 ac_cv_prog_PKG_CONFIG
="$ac_prog"
6388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6397 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
6398 if test -n "$PKG_CONFIG"; then
6399 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6400 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6402 { echo "$as_me:$LINENO: result: no" >&5
6403 echo "${ECHO_T}no" >&6; }
6407 test -n "$PKG_CONFIG" && break
6409 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
6414 for ac_prog
in prelink
6416 # Extract the first word of "$ac_prog", so it can be a program name with args.
6417 set dummy
$ac_prog; ac_word
=$2
6418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6420 if test "${ac_cv_prog_PRELINK+set}" = set; then
6421 echo $ECHO_N "(cached) $ECHO_C" >&6
6423 if test -n "$PRELINK"; then
6424 ac_cv_prog_PRELINK
="$PRELINK" # Let the user override the test.
6426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6427 for as_dir
in /sbin
/usr
/sbin
$PATH
6430 test -z "$as_dir" && as_dir
=.
6431 for ac_exec_ext
in '' $ac_executable_extensions; do
6432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6433 ac_cv_prog_PRELINK
="$ac_prog"
6434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 PRELINK
=$ac_cv_prog_PRELINK
6444 if test -n "$PRELINK"; then
6445 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6446 echo "${ECHO_T}$PRELINK" >&6; }
6448 { echo "$as_me:$LINENO: result: no" >&5
6449 echo "${ECHO_T}no" >&6; }
6453 test -n "$PRELINK" && break
6455 test -n "$PRELINK" || PRELINK
="false"
6462 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6463 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6464 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6467 ac_check_lib_save_LIBS
=$LIBS
6469 cat >conftest.
$ac_ext <<_ACEOF
6472 cat confdefs.h
>>conftest.
$ac_ext
6473 cat >>conftest.
$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6476 /* Override any GCC internal prototype to avoid an error.
6477 Use char because int might match the return type of a GCC
6478 builtin and then its argument prototype would still apply. */
6482 char i386_set_ldt ();
6486 return i386_set_ldt ();
6491 rm -f conftest.
$ac_objext conftest
$ac_exeext
6492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6493 (eval $ac_link) 2>conftest.er1
6495 grep -v '^ *+' conftest.er1
>conftest.err
6497 cat conftest.err
>&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); } &&
6500 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); }; } &&
6506 { ac_try
='test -s conftest$ac_exeext'
6507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); }; }; then
6512 ac_cv_lib_i386_i386_set_ldt
=yes
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.
$ac_ext >&5
6517 ac_cv_lib_i386_i386_set_ldt
=no
6520 rm -f conftest.err conftest.
$ac_objext \
6521 conftest
$ac_exeext conftest.
$ac_ext
6522 LIBS
=$ac_check_lib_save_LIBS
6524 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6525 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6526 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6527 cat >>confdefs.h
<<_ACEOF
6528 #define HAVE_LIBI386 1
6536 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6537 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6538 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6539 echo $ECHO_N "(cached) $ECHO_C" >&6
6541 ac_check_lib_save_LIBS
=$LIBS
6542 LIBS
="-lossaudio $LIBS"
6543 cat >conftest.
$ac_ext <<_ACEOF
6546 cat confdefs.h
>>conftest.
$ac_ext
6547 cat >>conftest.
$ac_ext <<_ACEOF
6548 /* end confdefs.h. */
6550 /* Override any GCC internal prototype to avoid an error.
6551 Use char because int might match the return type of a GCC
6552 builtin and then its argument prototype would still apply. */
6560 return _oss_ioctl ();
6565 rm -f conftest.
$ac_objext conftest
$ac_exeext
6566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6567 (eval $ac_link) 2>conftest.er1
6569 grep -v '^ *+' conftest.er1
>conftest.err
6571 cat conftest.err
>&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); } &&
6574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); }; } &&
6580 { ac_try
='test -s conftest$ac_exeext'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; }; then
6586 ac_cv_lib_ossaudio__oss_ioctl
=yes
6588 echo "$as_me: failed program was:" >&5
6589 sed 's/^/| /' conftest.
$ac_ext >&5
6591 ac_cv_lib_ossaudio__oss_ioctl
=no
6594 rm -f conftest.err conftest.
$ac_objext \
6595 conftest
$ac_exeext conftest.
$ac_ext
6596 LIBS
=$ac_check_lib_save_LIBS
6598 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6599 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6600 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6601 cat >>confdefs.h
<<_ACEOF
6602 #define HAVE_LIBOSSAUDIO 1
6605 LIBS
="-lossaudio $LIBS"
6610 for ac_func
in gethostbyname
6612 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6613 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6615 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 cat >conftest.
$ac_ext <<_ACEOF
6621 cat confdefs.h
>>conftest.
$ac_ext
6622 cat >>conftest.
$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6626 #define $ac_func innocuous_$ac_func
6628 /* System header to define __stub macros and hopefully few prototypes,
6629 which can conflict with char $ac_func (); below.
6630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6631 <limits.h> exists even on freestanding compilers. */
6634 # include <limits.h>
6636 # include <assert.h>
6641 /* Override any GCC internal prototype to avoid an error.
6642 Use char because int might match the return type of a GCC
6643 builtin and then its argument prototype would still apply. */
6648 /* The GNU C library defines this for functions which it implements
6649 to always fail with ENOSYS. Some functions are actually named
6650 something starting with __ and the normal name is an alias. */
6651 #if defined __stub_$ac_func || defined __stub___$ac_func
6663 rm -f conftest.
$ac_objext conftest
$ac_exeext
6664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6665 (eval $ac_link) 2>conftest.er1
6667 grep -v '^ *+' conftest.er1
>conftest.err
6669 cat conftest.err
>&5
6670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); } &&
6672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); }; } &&
6678 { ac_try
='test -s conftest$ac_exeext'
6679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); }; }; then
6684 eval "$as_ac_var=yes"
6686 echo "$as_me: failed program was:" >&5
6687 sed 's/^/| /' conftest.
$ac_ext >&5
6689 eval "$as_ac_var=no"
6692 rm -f conftest.err conftest.
$ac_objext \
6693 conftest
$ac_exeext conftest.
$ac_ext
6695 ac_res
=`eval echo '${'$as_ac_var'}'`
6696 { echo "$as_me:$LINENO: result: $ac_res" >&5
6697 echo "${ECHO_T}$ac_res" >&6; }
6698 if test `eval echo '${'$as_ac_var'}'` = yes; then
6699 cat >>confdefs.h
<<_ACEOF
6700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6705 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6706 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
6707 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 ac_check_lib_save_LIBS
=$LIBS
6712 cat >conftest.
$ac_ext <<_ACEOF
6715 cat confdefs.h
>>conftest.
$ac_ext
6716 cat >>conftest.
$ac_ext <<_ACEOF
6717 /* end confdefs.h. */
6719 /* Override any GCC internal prototype to avoid an error.
6720 Use char because int might match the return type of a GCC
6721 builtin and then its argument prototype would still apply. */
6725 char gethostbyname ();
6729 return gethostbyname ();
6734 rm -f conftest.
$ac_objext conftest
$ac_exeext
6735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6736 (eval $ac_link) 2>conftest.er1
6738 grep -v '^ *+' conftest.er1
>conftest.err
6740 cat conftest.err
>&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); } &&
6743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); }; } &&
6749 { ac_try
='test -s conftest$ac_exeext'
6750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); }; }; then
6755 ac_cv_lib_nsl_gethostbyname
=yes
6757 echo "$as_me: failed program was:" >&5
6758 sed 's/^/| /' conftest.
$ac_ext >&5
6760 ac_cv_lib_nsl_gethostbyname
=no
6763 rm -f conftest.err conftest.
$ac_objext \
6764 conftest
$ac_exeext conftest.
$ac_ext
6765 LIBS
=$ac_check_lib_save_LIBS
6767 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6768 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
6769 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6770 cat >>confdefs.h
<<_ACEOF
6771 #define HAVE_LIBNSL 1
6782 for ac_func
in connect
6784 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6785 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6787 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6788 echo $ECHO_N "(cached) $ECHO_C" >&6
6790 cat >conftest.
$ac_ext <<_ACEOF
6793 cat confdefs.h
>>conftest.
$ac_ext
6794 cat >>conftest.
$ac_ext <<_ACEOF
6795 /* end confdefs.h. */
6796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6798 #define $ac_func innocuous_$ac_func
6800 /* System header to define __stub macros and hopefully few prototypes,
6801 which can conflict with char $ac_func (); below.
6802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6803 <limits.h> exists even on freestanding compilers. */
6806 # include <limits.h>
6808 # include <assert.h>
6813 /* Override any GCC internal prototype to avoid an error.
6814 Use char because int might match the return type of a GCC
6815 builtin and then its argument prototype would still apply. */
6820 /* The GNU C library defines this for functions which it implements
6821 to always fail with ENOSYS. Some functions are actually named
6822 something starting with __ and the normal name is an alias. */
6823 #if defined __stub_$ac_func || defined __stub___$ac_func
6835 rm -f conftest.
$ac_objext conftest
$ac_exeext
6836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6837 (eval $ac_link) 2>conftest.er1
6839 grep -v '^ *+' conftest.er1
>conftest.err
6841 cat conftest.err
>&5
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); } &&
6844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); }; } &&
6850 { ac_try
='test -s conftest$ac_exeext'
6851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855 (exit $ac_status); }; }; then
6856 eval "$as_ac_var=yes"
6858 echo "$as_me: failed program was:" >&5
6859 sed 's/^/| /' conftest.
$ac_ext >&5
6861 eval "$as_ac_var=no"
6864 rm -f conftest.err conftest.
$ac_objext \
6865 conftest
$ac_exeext conftest.
$ac_ext
6867 ac_res
=`eval echo '${'$as_ac_var'}'`
6868 { echo "$as_me:$LINENO: result: $ac_res" >&5
6869 echo "${ECHO_T}$ac_res" >&6; }
6870 if test `eval echo '${'$as_ac_var'}'` = yes; then
6871 cat >>confdefs.h
<<_ACEOF
6872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6877 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6878 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
6879 if test "${ac_cv_lib_socket_connect+set}" = set; then
6880 echo $ECHO_N "(cached) $ECHO_C" >&6
6882 ac_check_lib_save_LIBS
=$LIBS
6883 LIBS
="-lsocket $LIBS"
6884 cat >conftest.
$ac_ext <<_ACEOF
6887 cat confdefs.h
>>conftest.
$ac_ext
6888 cat >>conftest.
$ac_ext <<_ACEOF
6889 /* end confdefs.h. */
6891 /* Override any GCC internal prototype to avoid an error.
6892 Use char because int might match the return type of a GCC
6893 builtin and then its argument prototype would still apply. */
6906 rm -f conftest.
$ac_objext conftest
$ac_exeext
6907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6908 (eval $ac_link) 2>conftest.er1
6910 grep -v '^ *+' conftest.er1
>conftest.err
6912 cat conftest.err
>&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); } &&
6915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); }; } &&
6921 { ac_try
='test -s conftest$ac_exeext'
6922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); }; }; then
6927 ac_cv_lib_socket_connect
=yes
6929 echo "$as_me: failed program was:" >&5
6930 sed 's/^/| /' conftest.
$ac_ext >&5
6932 ac_cv_lib_socket_connect
=no
6935 rm -f conftest.err conftest.
$ac_objext \
6936 conftest
$ac_exeext conftest.
$ac_ext
6937 LIBS
=$ac_check_lib_save_LIBS
6939 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6940 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
6941 if test $ac_cv_lib_socket_connect = yes; then
6942 cat >>confdefs.h
<<_ACEOF
6943 #define HAVE_LIBSOCKET 1
6946 LIBS
="-lsocket $LIBS"
6954 for ac_func
in inet_aton
6956 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6957 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6959 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6962 cat >conftest.
$ac_ext <<_ACEOF
6965 cat confdefs.h
>>conftest.
$ac_ext
6966 cat >>conftest.
$ac_ext <<_ACEOF
6967 /* end confdefs.h. */
6968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6970 #define $ac_func innocuous_$ac_func
6972 /* System header to define __stub macros and hopefully few prototypes,
6973 which can conflict with char $ac_func (); below.
6974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6975 <limits.h> exists even on freestanding compilers. */
6978 # include <limits.h>
6980 # include <assert.h>
6985 /* Override any GCC internal prototype to avoid an error.
6986 Use char because int might match the return type of a GCC
6987 builtin and then its argument prototype would still apply. */
6992 /* The GNU C library defines this for functions which it implements
6993 to always fail with ENOSYS. Some functions are actually named
6994 something starting with __ and the normal name is an alias. */
6995 #if defined __stub_$ac_func || defined __stub___$ac_func
7007 rm -f conftest.
$ac_objext conftest
$ac_exeext
7008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7009 (eval $ac_link) 2>conftest.er1
7011 grep -v '^ *+' conftest.er1
>conftest.err
7013 cat conftest.err
>&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); } &&
7016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); }; } &&
7022 { ac_try
='test -s conftest$ac_exeext'
7023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); }; }; then
7028 eval "$as_ac_var=yes"
7030 echo "$as_me: failed program was:" >&5
7031 sed 's/^/| /' conftest.
$ac_ext >&5
7033 eval "$as_ac_var=no"
7036 rm -f conftest.err conftest.
$ac_objext \
7037 conftest
$ac_exeext conftest.
$ac_ext
7039 ac_res
=`eval echo '${'$as_ac_var'}'`
7040 { echo "$as_me:$LINENO: result: $ac_res" >&5
7041 echo "${ECHO_T}$ac_res" >&6; }
7042 if test `eval echo '${'$as_ac_var'}'` = yes; then
7043 cat >>confdefs.h
<<_ACEOF
7044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7049 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7050 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7051 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7052 echo $ECHO_N "(cached) $ECHO_C" >&6
7054 ac_check_lib_save_LIBS
=$LIBS
7055 LIBS
="-lresolv $LIBS"
7056 cat >conftest.
$ac_ext <<_ACEOF
7059 cat confdefs.h
>>conftest.
$ac_ext
7060 cat >>conftest.
$ac_ext <<_ACEOF
7061 /* end confdefs.h. */
7063 /* Override any GCC internal prototype to avoid an error.
7064 Use char because int might match the return type of a GCC
7065 builtin and then its argument prototype would still apply. */
7073 return inet_aton ();
7078 rm -f conftest.
$ac_objext conftest
$ac_exeext
7079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7080 (eval $ac_link) 2>conftest.er1
7082 grep -v '^ *+' conftest.er1
>conftest.err
7084 cat conftest.err
>&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); } &&
7087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); }; } &&
7093 { ac_try
='test -s conftest$ac_exeext'
7094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098 (exit $ac_status); }; }; then
7099 ac_cv_lib_resolv_inet_aton
=yes
7101 echo "$as_me: failed program was:" >&5
7102 sed 's/^/| /' conftest.
$ac_ext >&5
7104 ac_cv_lib_resolv_inet_aton
=no
7107 rm -f conftest.err conftest.
$ac_objext \
7108 conftest
$ac_exeext conftest.
$ac_ext
7109 LIBS
=$ac_check_lib_save_LIBS
7111 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7112 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7113 if test $ac_cv_lib_resolv_inet_aton = yes; then
7114 cat >>confdefs.h
<<_ACEOF
7115 #define HAVE_LIBRESOLV 1
7118 LIBS
="-lresolv $LIBS"
7126 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7127 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7128 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7129 echo $ECHO_N "(cached) $ECHO_C" >&6
7131 ac_check_lib_save_LIBS
=$LIBS
7133 cat >conftest.
$ac_ext <<_ACEOF
7136 cat confdefs.h
>>conftest.
$ac_ext
7137 cat >>conftest.
$ac_ext <<_ACEOF
7138 /* end confdefs.h. */
7140 /* Override any GCC internal prototype to avoid an error.
7141 Use char because int might match the return type of a GCC
7142 builtin and then its argument prototype would still apply. */
7146 char _xpg4_setrunelocale ();
7150 return _xpg4_setrunelocale ();
7155 rm -f conftest.
$ac_objext conftest
$ac_exeext
7156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7157 (eval $ac_link) 2>conftest.er1
7159 grep -v '^ *+' conftest.er1
>conftest.err
7161 cat conftest.err
>&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); } &&
7164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); }; } &&
7170 { ac_try
='test -s conftest$ac_exeext'
7171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); }; }; then
7176 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
7178 echo "$as_me: failed program was:" >&5
7179 sed 's/^/| /' conftest.
$ac_ext >&5
7181 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
7184 rm -f conftest.err conftest.
$ac_objext \
7185 conftest
$ac_exeext conftest.
$ac_ext
7186 LIBS
=$ac_check_lib_save_LIBS
7188 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7189 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7190 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7191 cat >>confdefs.h
<<_ACEOF
7192 #define HAVE_LIBXPG4 1
7200 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
7201 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
7202 if test "${ac_cv_lib_poll_poll+set}" = set; then
7203 echo $ECHO_N "(cached) $ECHO_C" >&6
7205 ac_check_lib_save_LIBS
=$LIBS
7207 cat >conftest.
$ac_ext <<_ACEOF
7210 cat confdefs.h
>>conftest.
$ac_ext
7211 cat >>conftest.
$ac_ext <<_ACEOF
7212 /* end confdefs.h. */
7214 /* Override any GCC internal prototype to avoid an error.
7215 Use char because int might match the return type of a GCC
7216 builtin and then its argument prototype would still apply. */
7229 rm -f conftest.
$ac_objext conftest
$ac_exeext
7230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7231 (eval $ac_link) 2>conftest.er1
7233 grep -v '^ *+' conftest.er1
>conftest.err
7235 cat conftest.err
>&5
7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); } &&
7238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243 (exit $ac_status); }; } &&
7244 { ac_try
='test -s conftest$ac_exeext'
7245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; }; then
7250 ac_cv_lib_poll_poll
=yes
7252 echo "$as_me: failed program was:" >&5
7253 sed 's/^/| /' conftest.
$ac_ext >&5
7255 ac_cv_lib_poll_poll
=no
7258 rm -f conftest.err conftest.
$ac_objext \
7259 conftest
$ac_exeext conftest.
$ac_ext
7260 LIBS
=$ac_check_lib_save_LIBS
7262 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
7263 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
7264 if test $ac_cv_lib_poll_poll = yes; then
7265 cat >>confdefs.h
<<_ACEOF
7266 #define HAVE_LIBPOLL 1
7274 { echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
7275 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6; }
7276 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
7277 echo $ECHO_N "(cached) $ECHO_C" >&6
7279 ac_check_lib_save_LIBS
=$LIBS
7280 LIBS
="-lresolv $LIBS"
7281 cat >conftest.
$ac_ext <<_ACEOF
7284 cat confdefs.h
>>conftest.
$ac_ext
7285 cat >>conftest.
$ac_ext <<_ACEOF
7286 /* end confdefs.h. */
7288 /* Override any GCC internal prototype to avoid an error.
7289 Use char because int might match the return type of a GCC
7290 builtin and then its argument prototype would still apply. */
7298 return res_9_init ();
7303 rm -f conftest.
$ac_objext conftest
$ac_exeext
7304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7305 (eval $ac_link) 2>conftest.er1
7307 grep -v '^ *+' conftest.er1
>conftest.err
7309 cat conftest.err
>&5
7310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311 (exit $ac_status); } &&
7312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); }; } &&
7318 { ac_try
='test -s conftest$ac_exeext'
7319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323 (exit $ac_status); }; }; then
7324 ac_cv_lib_resolv_res_9_init
=yes
7326 echo "$as_me: failed program was:" >&5
7327 sed 's/^/| /' conftest.
$ac_ext >&5
7329 ac_cv_lib_resolv_res_9_init
=no
7332 rm -f conftest.err conftest.
$ac_objext \
7333 conftest
$ac_exeext conftest.
$ac_ext
7334 LIBS
=$ac_check_lib_save_LIBS
7336 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
7337 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6; }
7338 if test $ac_cv_lib_resolv_res_9_init = yes; then
7339 cat >>confdefs.h
<<_ACEOF
7340 #define HAVE_LIBRESOLV 1
7343 LIBS
="-lresolv $LIBS"
7347 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7348 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7349 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7350 echo $ECHO_N "(cached) $ECHO_C" >&6
7352 ac_check_lib_save_LIBS
=$LIBS
7353 LIBS
="-lpthread $LIBS"
7354 cat >conftest.
$ac_ext <<_ACEOF
7357 cat confdefs.h
>>conftest.
$ac_ext
7358 cat >>conftest.
$ac_ext <<_ACEOF
7359 /* end confdefs.h. */
7361 /* Override any GCC internal prototype to avoid an error.
7362 Use char because int might match the return type of a GCC
7363 builtin and then its argument prototype would still apply. */
7367 char pthread_create ();
7371 return pthread_create ();
7376 rm -f conftest.
$ac_objext conftest
$ac_exeext
7377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7378 (eval $ac_link) 2>conftest.er1
7380 grep -v '^ *+' conftest.er1
>conftest.err
7382 cat conftest.err
>&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } &&
7385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; } &&
7391 { ac_try
='test -s conftest$ac_exeext'
7392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); }; }; then
7397 ac_cv_lib_pthread_pthread_create
=yes
7399 echo "$as_me: failed program was:" >&5
7400 sed 's/^/| /' conftest.
$ac_ext >&5
7402 ac_cv_lib_pthread_pthread_create
=no
7405 rm -f conftest.err conftest.
$ac_objext \
7406 conftest
$ac_exeext conftest.
$ac_ext
7407 LIBS
=$ac_check_lib_save_LIBS
7409 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7410 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7411 if test $ac_cv_lib_pthread_pthread_create = yes; then
7412 LIBPTHREAD
="-lpthread"
7429 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7430 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7431 if test "${ac_cv_header_stdc+set}" = set; then
7432 echo $ECHO_N "(cached) $ECHO_C" >&6
7434 cat >conftest.
$ac_ext <<_ACEOF
7437 cat confdefs.h
>>conftest.
$ac_ext
7438 cat >>conftest.
$ac_ext <<_ACEOF
7439 /* end confdefs.h. */
7453 rm -f conftest.
$ac_objext
7454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7455 (eval $ac_compile) 2>conftest.er1
7457 grep -v '^ *+' conftest.er1
>conftest.err
7459 cat conftest.err
>&5
7460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461 (exit $ac_status); } &&
7462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); }; } &&
7468 { ac_try
='test -s conftest.$ac_objext'
7469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); }; }; then
7474 ac_cv_header_stdc
=yes
7476 echo "$as_me: failed program was:" >&5
7477 sed 's/^/| /' conftest.
$ac_ext >&5
7479 ac_cv_header_stdc
=no
7482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7484 if test $ac_cv_header_stdc = yes; then
7485 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7486 cat >conftest.
$ac_ext <<_ACEOF
7489 cat confdefs.h
>>conftest.
$ac_ext
7490 cat >>conftest.
$ac_ext <<_ACEOF
7491 /* end confdefs.h. */
7495 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7496 $EGREP "memchr" >/dev
/null
2>&1; then
7499 ac_cv_header_stdc
=no
7505 if test $ac_cv_header_stdc = yes; then
7506 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7507 cat >conftest.
$ac_ext <<_ACEOF
7510 cat confdefs.h
>>conftest.
$ac_ext
7511 cat >>conftest.
$ac_ext <<_ACEOF
7512 /* end confdefs.h. */
7516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7517 $EGREP "free" >/dev
/null
2>&1; then
7520 ac_cv_header_stdc
=no
7526 if test $ac_cv_header_stdc = yes; then
7527 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7528 if test "$cross_compiling" = yes; then
7531 cat >conftest.
$ac_ext <<_ACEOF
7534 cat confdefs.h
>>conftest.
$ac_ext
7535 cat >>conftest.
$ac_ext <<_ACEOF
7536 /* end confdefs.h. */
7539 #if ((' ' & 0x0FF) == 0x020)
7540 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7541 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7543 # define ISLOWER(c) \
7544 (('a' <= (c) && (c) <= 'i') \
7545 || ('j' <= (c) && (c) <= 'r') \
7546 || ('s' <= (c) && (c) <= 'z'))
7547 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7550 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7555 for (i = 0; i < 256; i++)
7556 if (XOR (islower (i), ISLOWER (i))
7557 || toupper (i) != TOUPPER (i))
7562 rm -f conftest
$ac_exeext
7563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7564 (eval $ac_link) 2>&5
7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; }; then
7575 echo "$as_me: program exited with status $ac_status" >&5
7576 echo "$as_me: failed program was:" >&5
7577 sed 's/^/| /' conftest.
$ac_ext >&5
7580 ac_cv_header_stdc
=no
7582 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7588 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7589 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7590 if test $ac_cv_header_stdc = yes; then
7592 cat >>confdefs.h
<<\_ACEOF
7593 #define STDC_HEADERS 1
7598 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7608 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7609 inttypes.h stdint.h unistd.h
7611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7612 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7614 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7615 echo $ECHO_N "(cached) $ECHO_C" >&6
7617 cat >conftest.
$ac_ext <<_ACEOF
7620 cat confdefs.h
>>conftest.
$ac_ext
7621 cat >>conftest.
$ac_ext <<_ACEOF
7622 /* end confdefs.h. */
7623 $ac_includes_default
7625 #include <$ac_header>
7627 rm -f conftest.
$ac_objext
7628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7629 (eval $ac_compile) 2>conftest.er1
7631 grep -v '^ *+' conftest.er1
>conftest.err
7633 cat conftest.err
>&5
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); } &&
7636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); }; } &&
7642 { ac_try
='test -s conftest.$ac_objext'
7643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); }; }; then
7648 eval "$as_ac_Header=yes"
7650 echo "$as_me: failed program was:" >&5
7651 sed 's/^/| /' conftest.
$ac_ext >&5
7653 eval "$as_ac_Header=no"
7656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7658 ac_res
=`eval echo '${'$as_ac_Header'}'`
7659 { echo "$as_me:$LINENO: result: $ac_res" >&5
7660 echo "${ECHO_T}$ac_res" >&6; }
7661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7662 cat >>confdefs.h
<<_ACEOF
7663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7778 AudioUnit
/AudioUnit.h \
7779 CoreAudio
/CoreAudio.h \
7792 fontconfig
/fontconfig.h \
7818 machine
/soundcard.h \
7823 netinet
/in_systm.h \
7886 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7887 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7890 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
7893 ac_res
=`eval echo '${'$as_ac_Header'}'`
7894 { echo "$as_me:$LINENO: result: $ac_res" >&5
7895 echo "${ECHO_T}$ac_res" >&6; }
7897 # Is the header compilable?
7898 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7900 cat >conftest.
$ac_ext <<_ACEOF
7903 cat confdefs.h
>>conftest.
$ac_ext
7904 cat >>conftest.
$ac_ext <<_ACEOF
7905 /* end confdefs.h. */
7906 $ac_includes_default
7907 #include <$ac_header>
7909 rm -f conftest.
$ac_objext
7910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7911 (eval $ac_compile) 2>conftest.er1
7913 grep -v '^ *+' conftest.er1
>conftest.err
7915 cat conftest.err
>&5
7916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 (exit $ac_status); } &&
7918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923 (exit $ac_status); }; } &&
7924 { ac_try
='test -s conftest.$ac_objext'
7925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); }; }; then
7930 ac_header_compiler
=yes
7932 echo "$as_me: failed program was:" >&5
7933 sed 's/^/| /' conftest.
$ac_ext >&5
7935 ac_header_compiler
=no
7938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7939 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7940 echo "${ECHO_T}$ac_header_compiler" >&6; }
7942 # Is the header present?
7943 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7944 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7945 cat >conftest.
$ac_ext <<_ACEOF
7948 cat confdefs.h
>>conftest.
$ac_ext
7949 cat >>conftest.
$ac_ext <<_ACEOF
7950 /* end confdefs.h. */
7951 #include <$ac_header>
7953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7954 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7956 grep -v '^ *+' conftest.er1
>conftest.err
7958 cat conftest.err
>&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); } >/dev
/null
; then
7961 if test -s conftest.err
; then
7962 ac_cpp_err
=$ac_c_preproc_warn_flag
7963 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7970 if test -z "$ac_cpp_err"; then
7971 ac_header_preproc
=yes
7973 echo "$as_me: failed program was:" >&5
7974 sed 's/^/| /' conftest.
$ac_ext >&5
7976 ac_header_preproc
=no
7979 rm -f conftest.err conftest.
$ac_ext
7980 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7981 echo "${ECHO_T}$ac_header_preproc" >&6; }
7983 # So? What about this header?
7984 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7986 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7987 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7989 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7990 ac_header_preproc
=yes
7993 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7995 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7996 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7997 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7998 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7999 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8000 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8003 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8006 ## ------------------------------------ ##
8007 ## Report this to wine-devel@winehq.org ##
8008 ## ------------------------------------ ##
8010 ) |
sed "s/^/$as_me: WARNING: /" >&2
8013 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8015 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 eval "$as_ac_Header=\$ac_header_preproc"
8020 ac_res
=`eval echo '${'$as_ac_Header'}'`
8021 { echo "$as_me:$LINENO: result: $ac_res" >&5
8022 echo "${ECHO_T}$ac_res" >&6; }
8025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8026 cat >>confdefs.h
<<_ACEOF
8027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8034 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
8035 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
8036 if test "${ac_cv_header_stat_broken+set}" = set; then
8037 echo $ECHO_N "(cached) $ECHO_C" >&6
8039 cat >conftest.
$ac_ext <<_ACEOF
8042 cat confdefs.h
>>conftest.
$ac_ext
8043 cat >>conftest.
$ac_ext <<_ACEOF
8044 /* end confdefs.h. */
8045 #include <sys/types.h>
8046 #include <sys/stat.h>
8048 #if defined S_ISBLK && defined S_IFDIR
8049 # if S_ISBLK (S_IFDIR)
8054 #if defined S_ISBLK && defined S_IFCHR
8055 # if S_ISBLK (S_IFCHR)
8060 #if defined S_ISLNK && defined S_IFREG
8061 # if S_ISLNK (S_IFREG)
8066 #if defined S_ISSOCK && defined S_IFREG
8067 # if S_ISSOCK (S_IFREG)
8073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8074 $EGREP "You lose" >/dev
/null
2>&1; then
8075 ac_cv_header_stat_broken
=yes
8077 ac_cv_header_stat_broken
=no
8082 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
8083 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
8084 if test $ac_cv_header_stat_broken = yes; then
8086 cat >>confdefs.h
<<\_ACEOF
8087 #define STAT_MACROS_BROKEN 1
8098 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
8100 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8101 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8103 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8104 echo $ECHO_N "(cached) $ECHO_C" >&6
8106 cat >conftest.
$ac_ext <<_ACEOF
8109 cat confdefs.h
>>conftest.
$ac_ext
8110 cat >>conftest.
$ac_ext <<_ACEOF
8111 /* end confdefs.h. */
8112 #include <sys/types.h>
8113 #if HAVE_SYS_PARAM_H
8114 # include <sys/param.h>
8117 #include <$ac_header>
8119 rm -f conftest.
$ac_objext
8120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8121 (eval $ac_compile) 2>conftest.er1
8123 grep -v '^ *+' conftest.er1
>conftest.err
8125 cat conftest.err
>&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); } &&
8128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; } &&
8134 { ac_try
='test -s conftest.$ac_objext'
8135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }; }; then
8140 eval "$as_ac_Header=yes"
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.
$ac_ext >&5
8145 eval "$as_ac_Header=no"
8148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8150 ac_res
=`eval echo '${'$as_ac_Header'}'`
8151 { echo "$as_me:$LINENO: result: $ac_res" >&5
8152 echo "${ECHO_T}$ac_res" >&6; }
8153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8154 cat >>confdefs.h
<<_ACEOF
8155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8169 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
8171 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8172 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8174 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8175 echo $ECHO_N "(cached) $ECHO_C" >&6
8177 cat >conftest.
$ac_ext <<_ACEOF
8180 cat confdefs.h
>>conftest.
$ac_ext
8181 cat >>conftest.
$ac_ext <<_ACEOF
8182 /* end confdefs.h. */
8183 #include <sys/types.h>
8184 #if HAVE_SYS_SOCKET_H
8185 # include <sys/socket.h>
8188 #include <$ac_header>
8190 rm -f conftest.
$ac_objext
8191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8192 (eval $ac_compile) 2>conftest.er1
8194 grep -v '^ *+' conftest.er1
>conftest.err
8196 cat conftest.err
>&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); } &&
8199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); }; } &&
8205 { ac_try
='test -s conftest.$ac_objext'
8206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); }; }; then
8211 eval "$as_ac_Header=yes"
8213 echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.
$ac_ext >&5
8216 eval "$as_ac_Header=no"
8219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8221 ac_res
=`eval echo '${'$as_ac_Header'}'`
8222 { echo "$as_me:$LINENO: result: $ac_res" >&5
8223 echo "${ECHO_T}$ac_res" >&6; }
8224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8225 cat >>confdefs.h
<<_ACEOF
8226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8235 for ac_header
in resolv.h
8237 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8238 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8240 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8241 echo $ECHO_N "(cached) $ECHO_C" >&6
8243 cat >conftest.
$ac_ext <<_ACEOF
8246 cat confdefs.h
>>conftest.
$ac_ext
8247 cat >>conftest.
$ac_ext <<_ACEOF
8248 /* end confdefs.h. */
8249 #include <sys/types.h>
8250 #if HAVE_SYS_SOCKET_H
8251 # include <sys/socket.h>
8253 #if HAVE_NETINET_IN_H
8254 # include <netinet/in.h>
8256 #if HAVE_ARPA_NAMESER_H
8257 # include <arpa/nameser.h>
8260 #include <$ac_header>
8262 rm -f conftest.
$ac_objext
8263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8264 (eval $ac_compile) 2>conftest.er1
8266 grep -v '^ *+' conftest.er1
>conftest.err
8268 cat conftest.err
>&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); } &&
8271 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 (exit $ac_status); }; } &&
8277 { ac_try
='test -s conftest.$ac_objext'
8278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); }; }; then
8283 eval "$as_ac_Header=yes"
8285 echo "$as_me: failed program was:" >&5
8286 sed 's/^/| /' conftest.
$ac_ext >&5
8288 eval "$as_ac_Header=no"
8291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8293 ac_res
=`eval echo '${'$as_ac_Header'}'`
8294 { echo "$as_me:$LINENO: result: $ac_res" >&5
8295 echo "${ECHO_T}$ac_res" >&6; }
8296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8297 cat >>confdefs.h
<<_ACEOF
8298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8307 for ac_header
in ucontext.h
8309 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8310 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8312 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8313 echo $ECHO_N "(cached) $ECHO_C" >&6
8315 cat >conftest.
$ac_ext <<_ACEOF
8318 cat confdefs.h
>>conftest.
$ac_ext
8319 cat >>conftest.
$ac_ext <<_ACEOF
8320 /* end confdefs.h. */
8323 #include <$ac_header>
8325 rm -f conftest.
$ac_objext
8326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8327 (eval $ac_compile) 2>conftest.er1
8329 grep -v '^ *+' conftest.er1
>conftest.err
8331 cat conftest.err
>&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } &&
8334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); }; } &&
8340 { ac_try
='test -s conftest.$ac_objext'
8341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); }; }; then
8346 eval "$as_ac_Header=yes"
8348 echo "$as_me: failed program was:" >&5
8349 sed 's/^/| /' conftest.
$ac_ext >&5
8351 eval "$as_ac_Header=no"
8354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8356 ac_res
=`eval echo '${'$as_ac_Header'}'`
8357 { echo "$as_me:$LINENO: result: $ac_res" >&5
8358 echo "${ECHO_T}$ac_res" >&6; }
8359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8360 cat >>confdefs.h
<<_ACEOF
8361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8371 for ac_header
in linux
/ipx.h linux
/videodev.h
8373 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8374 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8376 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8377 echo $ECHO_N "(cached) $ECHO_C" >&6
8379 cat >conftest.
$ac_ext <<_ACEOF
8382 cat confdefs.h
>>conftest.
$ac_ext
8383 cat >>conftest.
$ac_ext <<_ACEOF
8384 /* end confdefs.h. */
8385 #ifdef HAVE_SYS_TIME_H
8386 #include <sys/time.h>
8388 #include <sys/types.h>
8389 #ifdef HAVE_ASM_TYPES_H
8390 #include <asm/types.h>
8393 #include <$ac_header>
8395 rm -f conftest.
$ac_objext
8396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8397 (eval $ac_compile) 2>conftest.er1
8399 grep -v '^ *+' conftest.er1
>conftest.err
8401 cat conftest.err
>&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); } &&
8404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409 (exit $ac_status); }; } &&
8410 { ac_try
='test -s conftest.$ac_objext'
8411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); }; }; then
8416 eval "$as_ac_Header=yes"
8418 echo "$as_me: failed program was:" >&5
8419 sed 's/^/| /' conftest.
$ac_ext >&5
8421 eval "$as_ac_Header=no"
8424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8426 ac_res
=`eval echo '${'$as_ac_Header'}'`
8427 { echo "$as_me:$LINENO: result: $ac_res" >&5
8428 echo "${ECHO_T}$ac_res" >&6; }
8429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8430 cat >>confdefs.h
<<_ACEOF
8431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8440 for ac_header
in linux
/capi.h
8442 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8443 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8445 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 cat >conftest.
$ac_ext <<_ACEOF
8451 cat confdefs.h
>>conftest.
$ac_ext
8452 cat >>conftest.
$ac_ext <<_ACEOF
8453 /* end confdefs.h. */
8456 #include <$ac_header>
8458 rm -f conftest.
$ac_objext
8459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8460 (eval $ac_compile) 2>conftest.er1
8462 grep -v '^ *+' conftest.er1
>conftest.err
8464 cat conftest.err
>&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); } &&
8467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); }; } &&
8473 { ac_try
='test -s conftest.$ac_objext'
8474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478 (exit $ac_status); }; }; then
8479 eval "$as_ac_Header=yes"
8481 echo "$as_me: failed program was:" >&5
8482 sed 's/^/| /' conftest.
$ac_ext >&5
8484 eval "$as_ac_Header=no"
8487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8489 ac_res
=`eval echo '${'$as_ac_Header'}'`
8490 { echo "$as_me:$LINENO: result: $ac_res" >&5
8491 echo "${ECHO_T}$ac_res" >&6; }
8492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8493 cat >>confdefs.h
<<_ACEOF
8494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8503 if test "$have_x" = "yes"
8506 ac_save_CPPFLAGS
="$CPPFLAGS"
8507 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8519 for ac_header
in X11
/Xlib.h \
8522 X11
/extensions
/shape.h \
8523 X11
/extensions
/XInput.h \
8524 X11
/extensions
/XShm.h \
8525 X11
/extensions
/Xrandr.h \
8526 X11
/extensions
/Xrender.h \
8527 X11
/extensions
/xf86dga.h \
8528 X11
/extensions
/xf86vmode.h
8530 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8531 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8533 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8534 echo $ECHO_N "(cached) $ECHO_C" >&6
8536 cat >conftest.
$ac_ext <<_ACEOF
8539 cat confdefs.h
>>conftest.
$ac_ext
8540 cat >>conftest.
$ac_ext <<_ACEOF
8541 /* end confdefs.h. */
8542 #ifdef HAVE_X11_XLIB_H
8543 # include <X11/Xlib.h>
8545 #ifdef HAVE_X11_XUTIL_H
8546 # include <X11/Xutil.h>
8549 #include <$ac_header>
8551 rm -f conftest.
$ac_objext
8552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8553 (eval $ac_compile) 2>conftest.er1
8555 grep -v '^ *+' conftest.er1
>conftest.err
8557 cat conftest.err
>&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); } &&
8560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; } &&
8566 { ac_try
='test -s conftest.$ac_objext'
8567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; }; then
8572 eval "$as_ac_Header=yes"
8574 echo "$as_me: failed program was:" >&5
8575 sed 's/^/| /' conftest.
$ac_ext >&5
8577 eval "$as_ac_Header=no"
8580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8582 ac_res
=`eval echo '${'$as_ac_Header'}'`
8583 { echo "$as_me:$LINENO: result: $ac_res" >&5
8584 echo "${ECHO_T}$ac_res" >&6; }
8585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8586 cat >>confdefs.h
<<_ACEOF
8587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8595 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8597 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8598 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8599 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8600 echo $ECHO_N "(cached) $ECHO_C" >&6
8602 ac_check_lib_save_LIBS
=$LIBS
8603 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8604 cat >conftest.
$ac_ext <<_ACEOF
8607 cat confdefs.h
>>conftest.
$ac_ext
8608 cat >>conftest.
$ac_ext <<_ACEOF
8609 /* end confdefs.h. */
8611 /* Override any GCC internal prototype to avoid an error.
8612 Use char because int might match the return type of a GCC
8613 builtin and then its argument prototype would still apply. */
8617 char XkbQueryExtension ();
8621 return XkbQueryExtension ();
8626 rm -f conftest.
$ac_objext conftest
$ac_exeext
8627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8628 (eval $ac_link) 2>conftest.er1
8630 grep -v '^ *+' conftest.er1
>conftest.err
8632 cat conftest.err
>&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); } &&
8635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; } &&
8641 { ac_try
='test -s conftest$ac_exeext'
8642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); }; }; then
8647 ac_cv_lib_X11_XkbQueryExtension
=yes
8649 echo "$as_me: failed program was:" >&5
8650 sed 's/^/| /' conftest.
$ac_ext >&5
8652 ac_cv_lib_X11_XkbQueryExtension
=no
8655 rm -f conftest.err conftest.
$ac_objext \
8656 conftest
$ac_exeext conftest.
$ac_ext
8657 LIBS
=$ac_check_lib_save_LIBS
8659 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8660 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8661 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8663 cat >>confdefs.h
<<\_ACEOF
8671 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8673 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8674 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8675 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 ac_check_lib_save_LIBS
=$LIBS
8679 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8680 cat >conftest.
$ac_ext <<_ACEOF
8683 cat confdefs.h
>>conftest.
$ac_ext
8684 cat >>conftest.
$ac_ext <<_ACEOF
8685 /* end confdefs.h. */
8687 /* Override any GCC internal prototype to avoid an error.
8688 Use char because int might match the return type of a GCC
8689 builtin and then its argument prototype would still apply. */
8693 char XShmQueryExtension ();
8697 return XShmQueryExtension ();
8702 rm -f conftest.
$ac_objext conftest
$ac_exeext
8703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8704 (eval $ac_link) 2>conftest.er1
8706 grep -v '^ *+' conftest.er1
>conftest.err
8708 cat conftest.err
>&5
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); } &&
8711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); }; } &&
8717 { ac_try
='test -s conftest$ac_exeext'
8718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 (exit $ac_status); }; }; then
8723 ac_cv_lib_Xext_XShmQueryExtension
=yes
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.
$ac_ext >&5
8728 ac_cv_lib_Xext_XShmQueryExtension
=no
8731 rm -f conftest.err conftest.
$ac_objext \
8732 conftest
$ac_exeext conftest.
$ac_ext
8733 LIBS
=$ac_check_lib_save_LIBS
8735 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8736 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8737 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8739 cat >>confdefs.h
<<\_ACEOF
8740 #define HAVE_LIBXXSHM 1
8747 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8749 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8750 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8751 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8752 echo $ECHO_N "(cached) $ECHO_C" >&6
8754 ac_check_lib_save_LIBS
=$LIBS
8755 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8756 cat >conftest.
$ac_ext <<_ACEOF
8759 cat confdefs.h
>>conftest.
$ac_ext
8760 cat >>conftest.
$ac_ext <<_ACEOF
8761 /* end confdefs.h. */
8763 /* Override any GCC internal prototype to avoid an error.
8764 Use char because int might match the return type of a GCC
8765 builtin and then its argument prototype would still apply. */
8769 char XShapeQueryExtension ();
8773 return XShapeQueryExtension ();
8778 rm -f conftest.
$ac_objext conftest
$ac_exeext
8779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8780 (eval $ac_link) 2>conftest.er1
8782 grep -v '^ *+' conftest.er1
>conftest.err
8784 cat conftest.err
>&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); } &&
8787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792 (exit $ac_status); }; } &&
8793 { ac_try
='test -s conftest$ac_exeext'
8794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 (exit $ac_status); }; }; then
8799 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8801 echo "$as_me: failed program was:" >&5
8802 sed 's/^/| /' conftest.
$ac_ext >&5
8804 ac_cv_lib_Xext_XShapeQueryExtension
=no
8807 rm -f conftest.err conftest.
$ac_objext \
8808 conftest
$ac_exeext conftest.
$ac_ext
8809 LIBS
=$ac_check_lib_save_LIBS
8811 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8812 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8813 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8815 cat >>confdefs.h
<<\_ACEOF
8816 #define HAVE_LIBXSHAPE 1
8823 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8825 { echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8826 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6; }
8827 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8828 echo $ECHO_N "(cached) $ECHO_C" >&6
8830 ac_check_lib_save_LIBS
=$LIBS
8831 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8832 cat >conftest.
$ac_ext <<_ACEOF
8835 cat confdefs.h
>>conftest.
$ac_ext
8836 cat >>conftest.
$ac_ext <<_ACEOF
8837 /* end confdefs.h. */
8839 /* Override any GCC internal prototype to avoid an error.
8840 Use char because int might match the return type of a GCC
8841 builtin and then its argument prototype would still apply. */
8845 char XDGAQueryExtension ();
8849 return XDGAQueryExtension ();
8854 rm -f conftest.
$ac_objext conftest
$ac_exeext
8855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8856 (eval $ac_link) 2>conftest.er1
8858 grep -v '^ *+' conftest.er1
>conftest.err
8860 cat conftest.err
>&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 (exit $ac_status); } &&
8863 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); }; } &&
8869 { ac_try
='test -s conftest$ac_exeext'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; }; then
8875 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8877 echo "$as_me: failed program was:" >&5
8878 sed 's/^/| /' conftest.
$ac_ext >&5
8880 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8883 rm -f conftest.err conftest.
$ac_objext \
8884 conftest
$ac_exeext conftest.
$ac_ext
8885 LIBS
=$ac_check_lib_save_LIBS
8887 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8888 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6; }
8889 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8891 cat >>confdefs.h
<<\_ACEOF
8892 #define HAVE_LIBXXF86DGA2 1
8895 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8901 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8903 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8904 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8905 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8906 echo $ECHO_N "(cached) $ECHO_C" >&6
8908 ac_check_lib_save_LIBS
=$LIBS
8909 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8910 cat >conftest.
$ac_ext <<_ACEOF
8913 cat confdefs.h
>>conftest.
$ac_ext
8914 cat >>conftest.
$ac_ext <<_ACEOF
8915 /* end confdefs.h. */
8917 /* Override any GCC internal prototype to avoid an error.
8918 Use char because int might match the return type of a GCC
8919 builtin and then its argument prototype would still apply. */
8923 char XF86VidModeQueryExtension ();
8927 return XF86VidModeQueryExtension ();
8932 rm -f conftest.
$ac_objext conftest
$ac_exeext
8933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8934 (eval $ac_link) 2>conftest.er1
8936 grep -v '^ *+' conftest.er1
>conftest.err
8938 cat conftest.err
>&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); } &&
8941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); }; } &&
8947 { ac_try
='test -s conftest$ac_exeext'
8948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); }; }; then
8953 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8955 echo "$as_me: failed program was:" >&5
8956 sed 's/^/| /' conftest.
$ac_ext >&5
8958 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8961 rm -f conftest.err conftest.
$ac_objext \
8962 conftest
$ac_exeext conftest.
$ac_ext
8963 LIBS
=$ac_check_lib_save_LIBS
8965 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8966 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8967 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8969 cat >>confdefs.h
<<\_ACEOF
8970 #define HAVE_LIBXXF86VM 1
8973 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8979 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8981 cat >conftest.
$ac_ext <<_ACEOF
8984 cat confdefs.h
>>conftest.
$ac_ext
8985 cat >>conftest.
$ac_ext <<_ACEOF
8986 /* end confdefs.h. */
8987 #include <X11/Xlib.h>
8988 #include <X11/extensions/Xrandr.h>
8992 static typeof(XRRSetScreenConfigAndRate) * func;
8997 rm -f conftest.
$ac_objext
8998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8999 (eval $ac_compile) 2>conftest.er1
9001 grep -v '^ *+' conftest.er1
>conftest.err
9003 cat conftest.err
>&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); } &&
9006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); }; } &&
9012 { ac_try
='test -s conftest.$ac_objext'
9013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); }; }; then
9019 cat >>confdefs.h
<<\_ACEOF
9020 #define HAVE_LIBXRANDR 1
9024 echo "$as_me: failed program was:" >&5
9025 sed 's/^/| /' conftest.
$ac_ext >&5
9030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9033 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9035 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9036 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9037 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9038 echo $ECHO_N "(cached) $ECHO_C" >&6
9040 ac_check_lib_save_LIBS
=$LIBS
9041 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9042 cat >conftest.
$ac_ext <<_ACEOF
9045 cat confdefs.h
>>conftest.
$ac_ext
9046 cat >>conftest.
$ac_ext <<_ACEOF
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9055 char XRenderSetPictureTransform ();
9059 return XRenderSetPictureTransform ();
9064 rm -f conftest.
$ac_objext conftest
$ac_exeext
9065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9066 (eval $ac_link) 2>conftest.er1
9068 grep -v '^ *+' conftest.er1
>conftest.err
9070 cat conftest.err
>&5
9071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072 (exit $ac_status); } &&
9073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 (exit $ac_status); }; } &&
9079 { ac_try
='test -s conftest$ac_exeext'
9080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084 (exit $ac_status); }; }; then
9085 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9087 echo "$as_me: failed program was:" >&5
9088 sed 's/^/| /' conftest.
$ac_ext >&5
9090 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9093 rm -f conftest.err conftest.
$ac_objext \
9094 conftest
$ac_exeext conftest.
$ac_ext
9095 LIBS
=$ac_check_lib_save_LIBS
9097 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9098 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9099 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9101 cat >>confdefs.h
<<\_ACEOF
9102 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9109 if test "x$with_opengl" != "xno"
9115 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
9117 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9118 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9120 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9121 echo $ECHO_N "(cached) $ECHO_C" >&6
9123 cat >conftest.
$ac_ext <<_ACEOF
9126 cat confdefs.h
>>conftest.
$ac_ext
9127 cat >>conftest.
$ac_ext <<_ACEOF
9128 /* end confdefs.h. */
9129 #ifdef HAVE_GL_GLX_H
9130 # include <GL/glx.h>
9133 #include <$ac_header>
9135 rm -f conftest.
$ac_objext
9136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9137 (eval $ac_compile) 2>conftest.er1
9139 grep -v '^ *+' conftest.er1
>conftest.err
9141 cat conftest.err
>&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); } &&
9144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; } &&
9150 { ac_try
='test -s conftest.$ac_objext'
9151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; }; then
9156 eval "$as_ac_Header=yes"
9158 echo "$as_me: failed program was:" >&5
9159 sed 's/^/| /' conftest.
$ac_ext >&5
9161 eval "$as_ac_Header=no"
9164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9166 ac_res
=`eval echo '${'$as_ac_Header'}'`
9167 { echo "$as_me:$LINENO: result: $ac_res" >&5
9168 echo "${ECHO_T}$ac_res" >&6; }
9169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9170 cat >>confdefs.h
<<_ACEOF
9171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9178 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9180 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9181 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9182 if test "${wine_cv_opengl_version_OK+set}" = set; then
9183 echo $ECHO_N "(cached) $ECHO_C" >&6
9185 cat >conftest.
$ac_ext <<_ACEOF
9188 cat confdefs.h
>>conftest.
$ac_ext
9189 cat >>conftest.
$ac_ext <<_ACEOF
9190 /* end confdefs.h. */
9195 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9200 rm -f conftest.
$ac_objext
9201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9202 (eval $ac_compile) 2>conftest.er1
9204 grep -v '^ *+' conftest.er1
>conftest.err
9206 cat conftest.err
>&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); } &&
9209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); }; } &&
9215 { ac_try
='test -s conftest.$ac_objext'
9216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); }; }; then
9221 wine_cv_opengl_version_OK
="yes"
9223 echo "$as_me: failed program was:" >&5
9224 sed 's/^/| /' conftest.
$ac_ext >&5
9226 wine_cv_opengl_version_OK
="no"
9230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9233 { echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
9234 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6; }
9236 if test "$wine_cv_opengl_version_OK" = "yes"
9238 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9239 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9240 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9241 echo $ECHO_N "(cached) $ECHO_C" >&6
9243 ac_check_lib_save_LIBS
=$LIBS
9244 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9245 cat >conftest.
$ac_ext <<_ACEOF
9248 cat confdefs.h
>>conftest.
$ac_ext
9249 cat >>conftest.
$ac_ext <<_ACEOF
9250 /* end confdefs.h. */
9252 /* Override any GCC internal prototype to avoid an error.
9253 Use char because int might match the return type of a GCC
9254 builtin and then its argument prototype would still apply. */
9258 char glXCreateContext ();
9262 return glXCreateContext ();
9267 rm -f conftest.
$ac_objext conftest
$ac_exeext
9268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9269 (eval $ac_link) 2>conftest.er1
9271 grep -v '^ *+' conftest.er1
>conftest.err
9273 cat conftest.err
>&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); } &&
9276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); }; } &&
9282 { ac_try
='test -s conftest$ac_exeext'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; }; then
9288 ac_cv_lib_GL_glXCreateContext
=yes
9290 echo "$as_me: failed program was:" >&5
9291 sed 's/^/| /' conftest.
$ac_ext >&5
9293 ac_cv_lib_GL_glXCreateContext
=no
9296 rm -f conftest.err conftest.
$ac_objext \
9297 conftest
$ac_exeext conftest.
$ac_ext
9298 LIBS
=$ac_check_lib_save_LIBS
9300 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9301 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9302 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9308 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
9310 OPENGLFILES
='$(OPENGLFILES)'
9312 cat >>confdefs.h
<<\_ACEOF
9313 #define HAVE_OPENGL 1
9317 if test -f /usr
/X11R
6/lib
/libGL.a
9319 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
9320 This prevents linking to OpenGL. Delete the file and restart configure." >&5
9321 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
9322 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
9323 { (exit 1); exit 1; }; }
9327 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9328 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9329 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9330 echo $ECHO_N "(cached) $ECHO_C" >&6
9332 ac_check_lib_save_LIBS
=$LIBS
9333 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9335 cat >conftest.
$ac_ext <<_ACEOF
9338 cat confdefs.h
>>conftest.
$ac_ext
9339 cat >>conftest.
$ac_ext <<_ACEOF
9340 /* end confdefs.h. */
9342 /* Override any GCC internal prototype to avoid an error.
9343 Use char because int might match the return type of a GCC
9344 builtin and then its argument prototype would still apply. */
9352 return gluLookAt ();
9357 rm -f conftest.
$ac_objext conftest
$ac_exeext
9358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9359 (eval $ac_link) 2>conftest.er1
9361 grep -v '^ *+' conftest.er1
>conftest.err
9363 cat conftest.err
>&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); } &&
9366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); }; } &&
9372 { ac_try
='test -s conftest$ac_exeext'
9373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); }; }; then
9378 ac_cv_lib_GLU_gluLookAt
=yes
9380 echo "$as_me: failed program was:" >&5
9381 sed 's/^/| /' conftest.
$ac_ext >&5
9383 ac_cv_lib_GLU_gluLookAt
=no
9386 rm -f conftest.err conftest.
$ac_objext \
9387 conftest
$ac_exeext conftest.
$ac_ext
9388 LIBS
=$ac_check_lib_save_LIBS
9390 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9391 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9392 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9393 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
9394 GLU32FILES
='$(GLU32FILES)'
9400 { echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9401 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6; }
9402 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 ac_check_lib_save_LIBS
=$LIBS
9406 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9407 cat >conftest.
$ac_ext <<_ACEOF
9410 cat confdefs.h
>>conftest.
$ac_ext
9411 cat >>conftest.
$ac_ext <<_ACEOF
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9420 char glutMainLoop ();
9424 return glutMainLoop ();
9429 rm -f conftest.
$ac_objext conftest
$ac_exeext
9430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9431 (eval $ac_link) 2>conftest.er1
9433 grep -v '^ *+' conftest.er1
>conftest.err
9435 cat conftest.err
>&5
9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 (exit $ac_status); } &&
9438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); }; } &&
9444 { ac_try
='test -s conftest$ac_exeext'
9445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 (exit $ac_status); }; }; then
9450 ac_cv_lib_glut_glutMainLoop
=yes
9452 echo "$as_me: failed program was:" >&5
9453 sed 's/^/| /' conftest.
$ac_ext >&5
9455 ac_cv_lib_glut_glutMainLoop
=no
9458 rm -f conftest.err conftest.
$ac_objext \
9459 conftest
$ac_exeext conftest.
$ac_ext
9460 LIBS
=$ac_check_lib_save_LIBS
9462 { echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9463 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6; }
9464 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9465 GLUT_LIBS
="-lglut -lXmu -lXi"
9467 GLUT32FILES
='$(GLUT32FILES)'
9477 for ac_header
in audio
/audiolib.h
9479 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9480 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9483 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9484 echo $ECHO_N "(cached) $ECHO_C" >&6
9486 ac_res
=`eval echo '${'$as_ac_Header'}'`
9487 { echo "$as_me:$LINENO: result: $ac_res" >&5
9488 echo "${ECHO_T}$ac_res" >&6; }
9490 # Is the header compilable?
9491 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9492 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9493 cat >conftest.
$ac_ext <<_ACEOF
9496 cat confdefs.h
>>conftest.
$ac_ext
9497 cat >>conftest.
$ac_ext <<_ACEOF
9498 /* end confdefs.h. */
9499 $ac_includes_default
9500 #include <$ac_header>
9502 rm -f conftest.
$ac_objext
9503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9504 (eval $ac_compile) 2>conftest.er1
9506 grep -v '^ *+' conftest.er1
>conftest.err
9508 cat conftest.err
>&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); } &&
9511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); }; } &&
9517 { ac_try
='test -s conftest.$ac_objext'
9518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522 (exit $ac_status); }; }; then
9523 ac_header_compiler
=yes
9525 echo "$as_me: failed program was:" >&5
9526 sed 's/^/| /' conftest.
$ac_ext >&5
9528 ac_header_compiler
=no
9531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9532 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9533 echo "${ECHO_T}$ac_header_compiler" >&6; }
9535 # Is the header present?
9536 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9537 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9538 cat >conftest.
$ac_ext <<_ACEOF
9541 cat confdefs.h
>>conftest.
$ac_ext
9542 cat >>conftest.
$ac_ext <<_ACEOF
9543 /* end confdefs.h. */
9544 #include <$ac_header>
9546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9547 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9549 grep -v '^ *+' conftest.er1
>conftest.err
9551 cat conftest.err
>&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); } >/dev
/null
; then
9554 if test -s conftest.err
; then
9555 ac_cpp_err
=$ac_c_preproc_warn_flag
9556 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9563 if test -z "$ac_cpp_err"; then
9564 ac_header_preproc
=yes
9566 echo "$as_me: failed program was:" >&5
9567 sed 's/^/| /' conftest.
$ac_ext >&5
9569 ac_header_preproc
=no
9572 rm -f conftest.err conftest.
$ac_ext
9573 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9574 echo "${ECHO_T}$ac_header_preproc" >&6; }
9576 # So? What about this header?
9577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9582 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9583 ac_header_preproc
=yes
9586 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9587 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9588 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9589 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9590 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9591 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9592 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9593 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9596 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9597 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9599 ## ------------------------------------ ##
9600 ## Report this to wine-devel@winehq.org ##
9601 ## ------------------------------------ ##
9603 ) |
sed "s/^/$as_me: WARNING: /" >&2
9606 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9608 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9609 echo $ECHO_N "(cached) $ECHO_C" >&6
9611 eval "$as_ac_Header=\$ac_header_preproc"
9613 ac_res
=`eval echo '${'$as_ac_Header'}'`
9614 { echo "$as_me:$LINENO: result: $ac_res" >&5
9615 echo "${ECHO_T}$ac_res" >&6; }
9618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9619 cat >>confdefs.h
<<_ACEOF
9620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9623 for ac_header
in audio
/soundlib.h
9625 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9628 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9629 echo $ECHO_N "(cached) $ECHO_C" >&6
9631 cat >conftest.
$ac_ext <<_ACEOF
9634 cat confdefs.h
>>conftest.
$ac_ext
9635 cat >>conftest.
$ac_ext <<_ACEOF
9636 /* end confdefs.h. */
9637 #include <audio/audiolib.h>
9639 #include <$ac_header>
9641 rm -f conftest.
$ac_objext
9642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9643 (eval $ac_compile) 2>conftest.er1
9645 grep -v '^ *+' conftest.er1
>conftest.err
9647 cat conftest.err
>&5
9648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9649 (exit $ac_status); } &&
9650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); }; } &&
9656 { ac_try
='test -s conftest.$ac_objext'
9657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); }; }; then
9662 eval "$as_ac_Header=yes"
9664 echo "$as_me: failed program was:" >&5
9665 sed 's/^/| /' conftest.
$ac_ext >&5
9667 eval "$as_ac_Header=no"
9670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9672 ac_res
=`eval echo '${'$as_ac_Header'}'`
9673 { echo "$as_me:$LINENO: result: $ac_res" >&5
9674 echo "${ECHO_T}$ac_res" >&6; }
9675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9676 cat >>confdefs.h
<<_ACEOF
9677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9684 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9685 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9686 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9687 echo $ECHO_N "(cached) $ECHO_C" >&6
9689 ac_check_lib_save_LIBS
=$LIBS
9690 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9691 cat >conftest.
$ac_ext <<_ACEOF
9694 cat confdefs.h
>>conftest.
$ac_ext
9695 cat >>conftest.
$ac_ext <<_ACEOF
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9704 char AuCreateFlow ();
9708 return AuCreateFlow ();
9713 rm -f conftest.
$ac_objext conftest
$ac_exeext
9714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9715 (eval $ac_link) 2>conftest.er1
9717 grep -v '^ *+' conftest.er1
>conftest.err
9719 cat conftest.err
>&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); } &&
9722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9727 (exit $ac_status); }; } &&
9728 { ac_try
='test -s conftest$ac_exeext'
9729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); }; }; then
9734 ac_cv_lib_audio_AuCreateFlow
=yes
9736 echo "$as_me: failed program was:" >&5
9737 sed 's/^/| /' conftest.
$ac_ext >&5
9739 ac_cv_lib_audio_AuCreateFlow
=no
9742 rm -f conftest.err conftest.
$ac_objext \
9743 conftest
$ac_exeext conftest.
$ac_ext
9744 LIBS
=$ac_check_lib_save_LIBS
9746 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9747 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
9748 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9750 cat >>confdefs.h
<<\_ACEOF
9754 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9762 CPPFLAGS
="$ac_save_CPPFLAGS"
9779 if test "$PKG_CONFIG" != "false"
9781 ac_save_CPPFLAGS
="$CPPFLAGS"
9782 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0`"
9783 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0`"
9784 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9786 for ac_header
in libxml
/parser.h
9788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9789 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9792 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9793 echo $ECHO_N "(cached) $ECHO_C" >&6
9795 ac_res
=`eval echo '${'$as_ac_Header'}'`
9796 { echo "$as_me:$LINENO: result: $ac_res" >&5
9797 echo "${ECHO_T}$ac_res" >&6; }
9799 # Is the header compilable?
9800 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9802 cat >conftest.
$ac_ext <<_ACEOF
9805 cat confdefs.h
>>conftest.
$ac_ext
9806 cat >>conftest.
$ac_ext <<_ACEOF
9807 /* end confdefs.h. */
9808 $ac_includes_default
9809 #include <$ac_header>
9811 rm -f conftest.
$ac_objext
9812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9813 (eval $ac_compile) 2>conftest.er1
9815 grep -v '^ *+' conftest.er1
>conftest.err
9817 cat conftest.err
>&5
9818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9819 (exit $ac_status); } &&
9820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); }; } &&
9826 { ac_try
='test -s conftest.$ac_objext'
9827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); }; }; then
9832 ac_header_compiler
=yes
9834 echo "$as_me: failed program was:" >&5
9835 sed 's/^/| /' conftest.
$ac_ext >&5
9837 ac_header_compiler
=no
9840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9841 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9842 echo "${ECHO_T}$ac_header_compiler" >&6; }
9844 # Is the header present?
9845 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9847 cat >conftest.
$ac_ext <<_ACEOF
9850 cat confdefs.h
>>conftest.
$ac_ext
9851 cat >>conftest.
$ac_ext <<_ACEOF
9852 /* end confdefs.h. */
9853 #include <$ac_header>
9855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9856 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9858 grep -v '^ *+' conftest.er1
>conftest.err
9860 cat conftest.err
>&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); } >/dev
/null
; then
9863 if test -s conftest.err
; then
9864 ac_cpp_err
=$ac_c_preproc_warn_flag
9865 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9872 if test -z "$ac_cpp_err"; then
9873 ac_header_preproc
=yes
9875 echo "$as_me: failed program was:" >&5
9876 sed 's/^/| /' conftest.
$ac_ext >&5
9878 ac_header_preproc
=no
9881 rm -f conftest.err conftest.
$ac_ext
9882 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9883 echo "${ECHO_T}$ac_header_preproc" >&6; }
9885 # So? What about this header?
9886 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9888 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9889 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9891 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9892 ac_header_preproc
=yes
9895 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9896 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9897 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9898 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9899 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9900 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9901 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9902 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9904 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9905 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9906 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9908 ## ------------------------------------ ##
9909 ## Report this to wine-devel@winehq.org ##
9910 ## ------------------------------------ ##
9912 ) |
sed "s/^/$as_me: WARNING: /" >&2
9915 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9917 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9918 echo $ECHO_N "(cached) $ECHO_C" >&6
9920 eval "$as_ac_Header=\$ac_header_preproc"
9922 ac_res
=`eval echo '${'$as_ac_Header'}'`
9923 { echo "$as_me:$LINENO: result: $ac_res" >&5
9924 echo "${ECHO_T}$ac_res" >&6; }
9927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9928 cat >>confdefs.h
<<_ACEOF
9929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9931 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9932 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9933 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 ac_check_lib_save_LIBS
=$LIBS
9937 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9938 cat >conftest.
$ac_ext <<_ACEOF
9941 cat confdefs.h
>>conftest.
$ac_ext
9942 cat >>conftest.
$ac_ext <<_ACEOF
9943 /* end confdefs.h. */
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9951 char xmlParseMemory ();
9955 return xmlParseMemory ();
9960 rm -f conftest.
$ac_objext conftest
$ac_exeext
9961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9962 (eval $ac_link) 2>conftest.er1
9964 grep -v '^ *+' conftest.er1
>conftest.err
9966 cat conftest.err
>&5
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); } &&
9969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); }; } &&
9975 { ac_try
='test -s conftest$ac_exeext'
9976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980 (exit $ac_status); }; }; then
9981 ac_cv_lib_xml2_xmlParseMemory
=yes
9983 echo "$as_me: failed program was:" >&5
9984 sed 's/^/| /' conftest.
$ac_ext >&5
9986 ac_cv_lib_xml2_xmlParseMemory
=no
9989 rm -f conftest.err conftest.
$ac_objext \
9990 conftest
$ac_exeext conftest.
$ac_ext
9991 LIBS
=$ac_check_lib_save_LIBS
9993 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9994 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9995 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9997 cat >>confdefs.h
<<\_ACEOF
9998 #define HAVE_LIBXML2 1
10001 XML2LIBS
="$ac_xml_libs"
10002 XML2INCL
="$ac_xml_cflags"
10005 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10006 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10007 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10008 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 ac_check_lib_save_LIBS
=$LIBS
10011 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10012 cat >conftest.
$ac_ext <<_ACEOF
10015 cat confdefs.h
>>conftest.
$ac_ext
10016 cat >>conftest.
$ac_ext <<_ACEOF
10017 /* end confdefs.h. */
10019 /* Override any GCC internal prototype to avoid an error.
10020 Use char because int might match the return type of a GCC
10021 builtin and then its argument prototype would still apply. */
10025 char xmlReadMemory ();
10029 return xmlReadMemory ();
10034 rm -f conftest.
$ac_objext conftest
$ac_exeext
10035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10036 (eval $ac_link) 2>conftest.er1
10038 grep -v '^ *+' conftest.er1
>conftest.err
10040 cat conftest.err
>&5
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); } &&
10043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); }; } &&
10049 { ac_try
='test -s conftest$ac_exeext'
10050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); }; }; then
10055 ac_cv_lib_xml2_xmlReadMemory
=yes
10057 echo "$as_me: failed program was:" >&5
10058 sed 's/^/| /' conftest.
$ac_ext >&5
10060 ac_cv_lib_xml2_xmlReadMemory
=no
10063 rm -f conftest.err conftest.
$ac_objext \
10064 conftest
$ac_exeext conftest.
$ac_ext
10065 LIBS
=$ac_check_lib_save_LIBS
10067 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10068 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10069 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10071 cat >>confdefs.h
<<\_ACEOF
10072 #define HAVE_XMLREADMEMORY 1
10082 CPPFLAGS
="$ac_save_CPPFLAGS"
10083 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt`"
10084 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt`"
10085 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
10088 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10090 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10091 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10093 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10096 cat >conftest.
$ac_ext <<_ACEOF
10099 cat confdefs.h
>>conftest.
$ac_ext
10100 cat >>conftest.
$ac_ext <<_ACEOF
10101 /* end confdefs.h. */
10102 #ifdef HAVE_LIBXSLT_PATTERN_H
10103 # include <libxslt/pattern.h>
10106 #include <$ac_header>
10108 rm -f conftest.
$ac_objext
10109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10110 (eval $ac_compile) 2>conftest.er1
10112 grep -v '^ *+' conftest.er1
>conftest.err
10114 cat conftest.err
>&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); } &&
10117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; } &&
10123 { ac_try
='test -s conftest.$ac_objext'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; }; then
10129 eval "$as_ac_Header=yes"
10131 echo "$as_me: failed program was:" >&5
10132 sed 's/^/| /' conftest.
$ac_ext >&5
10134 eval "$as_ac_Header=no"
10137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10139 ac_res
=`eval echo '${'$as_ac_Header'}'`
10140 { echo "$as_me:$LINENO: result: $ac_res" >&5
10141 echo "${ECHO_T}$ac_res" >&6; }
10142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10143 cat >>confdefs.h
<<_ACEOF
10144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10146 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10147 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10148 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10149 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 ac_check_lib_save_LIBS
=$LIBS
10152 LIBS
="-lxslt $ac_xslt_libs $LIBS"
10153 cat >conftest.
$ac_ext <<_ACEOF
10156 cat confdefs.h
>>conftest.
$ac_ext
10157 cat >>conftest.
$ac_ext <<_ACEOF
10158 /* end confdefs.h. */
10160 /* Override any GCC internal prototype to avoid an error.
10161 Use char because int might match the return type of a GCC
10162 builtin and then its argument prototype would still apply. */
10166 char xsltCompilePattern ();
10170 return xsltCompilePattern ();
10175 rm -f conftest.
$ac_objext conftest
$ac_exeext
10176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10177 (eval $ac_link) 2>conftest.er1
10179 grep -v '^ *+' conftest.er1
>conftest.err
10181 cat conftest.err
>&5
10182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 (exit $ac_status); } &&
10184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10186 (eval $ac_try) 2>&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); }; } &&
10190 { ac_try
='test -s conftest$ac_exeext'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; }; then
10196 ac_cv_lib_xslt_xsltCompilePattern
=yes
10198 echo "$as_me: failed program was:" >&5
10199 sed 's/^/| /' conftest.
$ac_ext >&5
10201 ac_cv_lib_xslt_xsltCompilePattern
=no
10204 rm -f conftest.err conftest.
$ac_objext \
10205 conftest
$ac_exeext conftest.
$ac_ext
10206 LIBS
=$ac_check_lib_save_LIBS
10208 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10209 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10210 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10212 cat >>confdefs.h
<<\_ACEOF
10213 #define HAVE_LIBXSLT 1
10216 XSLTLIBS
="$ac_xslt_libs"
10217 XSLTINCL
="$ac_xslt_cflags"
10225 CPPFLAGS
="$ac_save_CPPFLAGS"
10230 if test "$PKG_CONFIG" != "false"
10232 ac_save_CPPFLAGS
="$CPPFLAGS"
10233 ac_hal_libs
="`$PKG_CONFIG --libs hal`"
10234 ac_hal_cflags
="`$PKG_CONFIG --cflags hal`"
10235 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
10238 for ac_header
in dbus
/dbus.h hal
/libhal.h
10240 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10241 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10242 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10244 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10245 echo $ECHO_N "(cached) $ECHO_C" >&6
10247 ac_res
=`eval echo '${'$as_ac_Header'}'`
10248 { echo "$as_me:$LINENO: result: $ac_res" >&5
10249 echo "${ECHO_T}$ac_res" >&6; }
10251 # Is the header compilable?
10252 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10253 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10254 cat >conftest.
$ac_ext <<_ACEOF
10257 cat confdefs.h
>>conftest.
$ac_ext
10258 cat >>conftest.
$ac_ext <<_ACEOF
10259 /* end confdefs.h. */
10260 $ac_includes_default
10261 #include <$ac_header>
10263 rm -f conftest.
$ac_objext
10264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10265 (eval $ac_compile) 2>conftest.er1
10267 grep -v '^ *+' conftest.er1
>conftest.err
10269 cat conftest.err
>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } &&
10272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274 (eval $ac_try) 2>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; } &&
10278 { ac_try
='test -s conftest.$ac_objext'
10279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10280 (eval $ac_try) 2>&5
10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); }; }; then
10284 ac_header_compiler
=yes
10286 echo "$as_me: failed program was:" >&5
10287 sed 's/^/| /' conftest.
$ac_ext >&5
10289 ac_header_compiler
=no
10292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10293 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10294 echo "${ECHO_T}$ac_header_compiler" >&6; }
10296 # Is the header present?
10297 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10299 cat >conftest.
$ac_ext <<_ACEOF
10302 cat confdefs.h
>>conftest.
$ac_ext
10303 cat >>conftest.
$ac_ext <<_ACEOF
10304 /* end confdefs.h. */
10305 #include <$ac_header>
10307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10310 grep -v '^ *+' conftest.er1
>conftest.err
10312 cat conftest.err
>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } >/dev
/null
; then
10315 if test -s conftest.err
; then
10316 ac_cpp_err
=$ac_c_preproc_warn_flag
10317 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10324 if test -z "$ac_cpp_err"; then
10325 ac_header_preproc
=yes
10327 echo "$as_me: failed program was:" >&5
10328 sed 's/^/| /' conftest.
$ac_ext >&5
10330 ac_header_preproc
=no
10333 rm -f conftest.err conftest.
$ac_ext
10334 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10335 echo "${ECHO_T}$ac_header_preproc" >&6; }
10337 # So? What about this header?
10338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10344 ac_header_preproc
=yes
10347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10360 ## ------------------------------------ ##
10361 ## Report this to wine-devel@winehq.org ##
10362 ## ------------------------------------ ##
10364 ) |
sed "s/^/$as_me: WARNING: /" >&2
10367 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10369 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10372 eval "$as_ac_Header=\$ac_header_preproc"
10374 ac_res
=`eval echo '${'$as_ac_Header'}'`
10375 { echo "$as_me:$LINENO: result: $ac_res" >&5
10376 echo "${ECHO_T}$ac_res" >&6; }
10379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10380 cat >>confdefs.h
<<_ACEOF
10381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10388 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10390 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10391 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10392 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10393 echo $ECHO_N "(cached) $ECHO_C" >&6
10395 ac_check_lib_save_LIBS
=$LIBS
10397 cat >conftest.
$ac_ext <<_ACEOF
10400 cat confdefs.h
>>conftest.
$ac_ext
10401 cat >>conftest.
$ac_ext <<_ACEOF
10402 /* end confdefs.h. */
10404 /* Override any GCC internal prototype to avoid an error.
10405 Use char because int might match the return type of a GCC
10406 builtin and then its argument prototype would still apply. */
10410 char libhal_ctx_new ();
10414 return libhal_ctx_new ();
10419 rm -f conftest.
$ac_objext conftest
$ac_exeext
10420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10421 (eval $ac_link) 2>conftest.er1
10423 grep -v '^ *+' conftest.er1
>conftest.err
10425 cat conftest.err
>&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); } &&
10428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10430 (eval $ac_try) 2>&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); }; } &&
10434 { ac_try
='test -s conftest$ac_exeext'
10435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10436 (eval $ac_try) 2>&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); }; }; then
10440 ac_cv_lib_hal_libhal_ctx_new
=yes
10442 echo "$as_me: failed program was:" >&5
10443 sed 's/^/| /' conftest.
$ac_ext >&5
10445 ac_cv_lib_hal_libhal_ctx_new
=no
10448 rm -f conftest.err conftest.
$ac_objext \
10449 conftest
$ac_exeext conftest.
$ac_ext
10450 LIBS
=$ac_check_lib_save_LIBS
10452 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10453 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10454 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10455 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10456 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10457 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10458 echo $ECHO_N "(cached) $ECHO_C" >&6
10460 ac_check_lib_save_LIBS
=$LIBS
10461 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
10462 cat >conftest.
$ac_ext <<_ACEOF
10465 cat confdefs.h
>>conftest.
$ac_ext
10466 cat >>conftest.
$ac_ext <<_ACEOF
10467 /* end confdefs.h. */
10469 /* Override any GCC internal prototype to avoid an error.
10470 Use char because int might match the return type of a GCC
10471 builtin and then its argument prototype would still apply. */
10475 char dbus_connection_close ();
10479 return dbus_connection_close ();
10484 rm -f conftest.
$ac_objext conftest
$ac_exeext
10485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10486 (eval $ac_link) 2>conftest.er1
10488 grep -v '^ *+' conftest.er1
>conftest.err
10490 cat conftest.err
>&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); } &&
10493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10495 (eval $ac_try) 2>&5
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); }; } &&
10499 { ac_try
='test -s conftest$ac_exeext'
10500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10501 (eval $ac_try) 2>&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); }; }; then
10505 ac_cv_lib_dbus_1_dbus_connection_close
=yes
10507 echo "$as_me: failed program was:" >&5
10508 sed 's/^/| /' conftest.
$ac_ext >&5
10510 ac_cv_lib_dbus_1_dbus_connection_close
=no
10513 rm -f conftest.err conftest.
$ac_objext \
10514 conftest
$ac_exeext conftest.
$ac_ext
10515 LIBS
=$ac_check_lib_save_LIBS
10517 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10518 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10519 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10521 cat >>confdefs.h
<<\_ACEOF
10522 #define HAVE_LIBHAL 1
10525 HALINCL
="$ac_hal_cflags"
10531 CPPFLAGS
="$ac_save_CPPFLAGS"
10535 if test "x$with_curses" != "xno"
10537 if test "$ac_cv_header_ncurses_h" = "yes"
10539 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10540 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10541 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10542 echo $ECHO_N "(cached) $ECHO_C" >&6
10544 ac_check_lib_save_LIBS
=$LIBS
10545 LIBS
="-lncurses $LIBS"
10546 cat >conftest.
$ac_ext <<_ACEOF
10549 cat confdefs.h
>>conftest.
$ac_ext
10550 cat >>conftest.
$ac_ext <<_ACEOF
10551 /* end confdefs.h. */
10553 /* Override any GCC internal prototype to avoid an error.
10554 Use char because int might match the return type of a GCC
10555 builtin and then its argument prototype would still apply. */
10568 rm -f conftest.
$ac_objext conftest
$ac_exeext
10569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10570 (eval $ac_link) 2>conftest.er1
10572 grep -v '^ *+' conftest.er1
>conftest.err
10574 cat conftest.err
>&5
10575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10576 (exit $ac_status); } &&
10577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10579 (eval $ac_try) 2>&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); }; } &&
10583 { ac_try
='test -s conftest$ac_exeext'
10584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10585 (eval $ac_try) 2>&5
10587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 (exit $ac_status); }; }; then
10589 ac_cv_lib_ncurses_waddch
=yes
10591 echo "$as_me: failed program was:" >&5
10592 sed 's/^/| /' conftest.
$ac_ext >&5
10594 ac_cv_lib_ncurses_waddch
=no
10597 rm -f conftest.err conftest.
$ac_objext \
10598 conftest
$ac_exeext conftest.
$ac_ext
10599 LIBS
=$ac_check_lib_save_LIBS
10601 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10602 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10603 if test $ac_cv_lib_ncurses_waddch = yes; then
10605 cat >>confdefs.h
<<\_ACEOF
10606 #define HAVE_LIBNCURSES 1
10609 CURSESLIBS
="-lncurses"
10612 elif test "$ac_cv_header_curses_h" = "yes"
10614 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
10615 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
10616 if test "${ac_cv_lib_curses_waddch+set}" = set; then
10617 echo $ECHO_N "(cached) $ECHO_C" >&6
10619 ac_check_lib_save_LIBS
=$LIBS
10620 LIBS
="-lcurses $LIBS"
10621 cat >conftest.
$ac_ext <<_ACEOF
10624 cat confdefs.h
>>conftest.
$ac_ext
10625 cat >>conftest.
$ac_ext <<_ACEOF
10626 /* end confdefs.h. */
10628 /* Override any GCC internal prototype to avoid an error.
10629 Use char because int might match the return type of a GCC
10630 builtin and then its argument prototype would still apply. */
10643 rm -f conftest.
$ac_objext conftest
$ac_exeext
10644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10645 (eval $ac_link) 2>conftest.er1
10647 grep -v '^ *+' conftest.er1
>conftest.err
10649 cat conftest.err
>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); } &&
10652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10654 (eval $ac_try) 2>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); }; } &&
10658 { ac_try
='test -s conftest$ac_exeext'
10659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10660 (eval $ac_try) 2>&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); }; }; then
10664 ac_cv_lib_curses_waddch
=yes
10666 echo "$as_me: failed program was:" >&5
10667 sed 's/^/| /' conftest.
$ac_ext >&5
10669 ac_cv_lib_curses_waddch
=no
10672 rm -f conftest.err conftest.
$ac_objext \
10673 conftest
$ac_exeext conftest.
$ac_ext
10674 LIBS
=$ac_check_lib_save_LIBS
10676 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
10677 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
10678 if test $ac_cv_lib_curses_waddch = yes; then
10680 cat >>confdefs.h
<<\_ACEOF
10681 #define HAVE_LIBCURSES 1
10684 CURSESLIBS
="-lcurses"
10691 # Extract the first word of "sane-config", so it can be a program name with args.
10692 set dummy sane-config
; ac_word
=$2
10693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10695 if test "${ac_cv_prog_sane_devel+set}" = set; then
10696 echo $ECHO_N "(cached) $ECHO_C" >&6
10698 if test -n "$sane_devel"; then
10699 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
10701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10702 for as_dir
in $PATH
10705 test -z "$as_dir" && as_dir
=.
10706 for ac_exec_ext
in '' $ac_executable_extensions; do
10707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10708 ac_cv_prog_sane_devel
="sane-config"
10709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10716 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
10719 sane_devel
=$ac_cv_prog_sane_devel
10720 if test -n "$sane_devel"; then
10721 { echo "$as_me:$LINENO: result: $sane_devel" >&5
10722 echo "${ECHO_T}$sane_devel" >&6; }
10724 { echo "$as_me:$LINENO: result: no" >&5
10725 echo "${ECHO_T}no" >&6; }
10733 if test "$sane_devel" != "no"
10735 SANELIBS
="`$sane_devel --libs`"
10736 SANEINCL
="`$sane_devel --cflags`"
10737 ac_save_CPPFLAGS
="$CPPFLAGS"
10738 ac_save_LIBS
="$LIBS"
10739 CPPFLAGS
="$CPPFLAGS $SANEINCL"
10740 LIBS
="$LIBS $SANELIBS"
10741 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10742 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10743 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10744 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10747 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10748 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10750 # Is the header compilable?
10751 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10752 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
10753 cat >conftest.
$ac_ext <<_ACEOF
10756 cat confdefs.h
>>conftest.
$ac_ext
10757 cat >>conftest.
$ac_ext <<_ACEOF
10758 /* end confdefs.h. */
10759 $ac_includes_default
10760 #include <sane/sane.h>
10762 rm -f conftest.
$ac_objext
10763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10764 (eval $ac_compile) 2>conftest.er1
10766 grep -v '^ *+' conftest.er1
>conftest.err
10768 cat conftest.err
>&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); } &&
10771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10773 (eval $ac_try) 2>&5
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); }; } &&
10777 { ac_try
='test -s conftest.$ac_objext'
10778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10779 (eval $ac_try) 2>&5
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); }; }; then
10783 ac_header_compiler
=yes
10785 echo "$as_me: failed program was:" >&5
10786 sed 's/^/| /' conftest.
$ac_ext >&5
10788 ac_header_compiler
=no
10791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10792 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10793 echo "${ECHO_T}$ac_header_compiler" >&6; }
10795 # Is the header present?
10796 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10797 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
10798 cat >conftest.
$ac_ext <<_ACEOF
10801 cat confdefs.h
>>conftest.
$ac_ext
10802 cat >>conftest.
$ac_ext <<_ACEOF
10803 /* end confdefs.h. */
10804 #include <sane/sane.h>
10806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10807 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10809 grep -v '^ *+' conftest.er1
>conftest.err
10811 cat conftest.err
>&5
10812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813 (exit $ac_status); } >/dev
/null
; then
10814 if test -s conftest.err
; then
10815 ac_cpp_err
=$ac_c_preproc_warn_flag
10816 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10823 if test -z "$ac_cpp_err"; then
10824 ac_header_preproc
=yes
10826 echo "$as_me: failed program was:" >&5
10827 sed 's/^/| /' conftest.
$ac_ext >&5
10829 ac_header_preproc
=no
10832 rm -f conftest.err conftest.
$ac_ext
10833 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10834 echo "${ECHO_T}$ac_header_preproc" >&6; }
10836 # So? What about this header?
10837 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10839 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10840 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10841 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10842 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10843 ac_header_preproc
=yes
10846 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10847 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10848 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10849 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10850 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10851 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10852 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10853 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10854 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10855 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10856 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10857 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10859 ## ------------------------------------ ##
10860 ## Report this to wine-devel@winehq.org ##
10861 ## ------------------------------------ ##
10863 ) |
sed "s/^/$as_me: WARNING: /" >&2
10866 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10867 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10868 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10869 echo $ECHO_N "(cached) $ECHO_C" >&6
10871 ac_cv_header_sane_sane_h
=$ac_header_preproc
10873 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10874 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10877 if test $ac_cv_header_sane_sane_h = yes; then
10878 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10879 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
10880 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 ac_check_lib_save_LIBS
=$LIBS
10884 LIBS
="-lsane $LIBS"
10885 cat >conftest.
$ac_ext <<_ACEOF
10888 cat confdefs.h
>>conftest.
$ac_ext
10889 cat >>conftest.
$ac_ext <<_ACEOF
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10902 return sane_open ();
10907 rm -f conftest.
$ac_objext conftest
$ac_exeext
10908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10909 (eval $ac_link) 2>conftest.er1
10911 grep -v '^ *+' conftest.er1
>conftest.err
10913 cat conftest.err
>&5
10914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10915 (exit $ac_status); } &&
10916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10918 (eval $ac_try) 2>&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); }; } &&
10922 { ac_try
='test -s conftest$ac_exeext'
10923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10924 (eval $ac_try) 2>&5
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); }; }; then
10928 ac_cv_lib_sane_sane_open
=yes
10930 echo "$as_me: failed program was:" >&5
10931 sed 's/^/| /' conftest.
$ac_ext >&5
10933 ac_cv_lib_sane_sane_open
=no
10936 rm -f conftest.err conftest.
$ac_objext \
10937 conftest
$ac_exeext conftest.
$ac_ext
10938 LIBS
=$ac_check_lib_save_LIBS
10940 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10941 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10942 if test $ac_cv_lib_sane_sane_open = yes; then
10944 cat >>confdefs.h
<<\_ACEOF
10945 #define HAVE_SANE 1
10959 LIBS
="$ac_save_LIBS"
10960 CPPFLAGS
="$ac_save_CPPFLAGS"
10963 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10964 set dummy gphoto2-config
; ac_word
=$2
10965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10967 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10968 echo $ECHO_N "(cached) $ECHO_C" >&6
10970 if test -n "$gphoto2_devel"; then
10971 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10974 for as_dir
in $PATH
10977 test -z "$as_dir" && as_dir
=.
10978 for ac_exec_ext
in '' $ac_executable_extensions; do
10979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
10980 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10988 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10991 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10992 if test -n "$gphoto2_devel"; then
10993 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10994 echo "${ECHO_T}$gphoto2_devel" >&6; }
10996 { echo "$as_me:$LINENO: result: no" >&5
10997 echo "${ECHO_T}no" >&6; }
11001 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11002 set dummy gphoto2-port-config
; ac_word
=$2
11003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11005 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11008 if test -n "$gphoto2port_devel"; then
11009 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
11011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11012 for as_dir
in $PATH
11015 test -z "$as_dir" && as_dir
=.
11016 for ac_exec_ext
in '' $ac_executable_extensions; do
11017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11018 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
11019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11026 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
11029 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
11030 if test -n "$gphoto2port_devel"; then
11031 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11032 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11034 { echo "$as_me:$LINENO: result: no" >&5
11035 echo "${ECHO_T}no" >&6; }
11043 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11045 GPHOTO2INCL
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11047 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11050 -L/usr
/lib|
-L/usr
/lib64
) ;;
11051 -L*|
-l*) GPHOTO2LIBS
="$GPHOTO2LIBS $i";;
11054 ac_save_CPPFLAGS
="$CPPFLAGS"
11055 ac_save_LIBS
="$LIBS"
11056 CPPFLAGS
="$CPPFLAGS $GPHOTO2INCL"
11057 LIBS
="$LIBS $GPHOTO2LIBS"
11058 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11059 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11060 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11061 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11064 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11065 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11067 # Is the header compilable?
11068 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11069 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11070 cat >conftest.
$ac_ext <<_ACEOF
11073 cat confdefs.h
>>conftest.
$ac_ext
11074 cat >>conftest.
$ac_ext <<_ACEOF
11075 /* end confdefs.h. */
11076 $ac_includes_default
11077 #include <gphoto2-camera.h>
11079 rm -f conftest.
$ac_objext
11080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11081 (eval $ac_compile) 2>conftest.er1
11083 grep -v '^ *+' conftest.er1
>conftest.err
11085 cat conftest.err
>&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } &&
11088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11090 (eval $ac_try) 2>&5
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); }; } &&
11094 { ac_try
='test -s conftest.$ac_objext'
11095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11096 (eval $ac_try) 2>&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); }; }; then
11100 ac_header_compiler
=yes
11102 echo "$as_me: failed program was:" >&5
11103 sed 's/^/| /' conftest.
$ac_ext >&5
11105 ac_header_compiler
=no
11108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11109 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11110 echo "${ECHO_T}$ac_header_compiler" >&6; }
11112 # Is the header present?
11113 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11114 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11115 cat >conftest.
$ac_ext <<_ACEOF
11118 cat confdefs.h
>>conftest.
$ac_ext
11119 cat >>conftest.
$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11121 #include <gphoto2-camera.h>
11123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11124 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11126 grep -v '^ *+' conftest.er1
>conftest.err
11128 cat conftest.err
>&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); } >/dev
/null
; then
11131 if test -s conftest.err
; then
11132 ac_cpp_err
=$ac_c_preproc_warn_flag
11133 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11140 if test -z "$ac_cpp_err"; then
11141 ac_header_preproc
=yes
11143 echo "$as_me: failed program was:" >&5
11144 sed 's/^/| /' conftest.
$ac_ext >&5
11146 ac_header_preproc
=no
11149 rm -f conftest.err conftest.
$ac_ext
11150 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11151 echo "${ECHO_T}$ac_header_preproc" >&6; }
11153 # So? What about this header?
11154 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11156 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11157 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11158 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11159 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11160 ac_header_preproc
=yes
11163 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11164 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11165 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11166 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11167 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11168 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11169 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11170 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11171 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11172 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11173 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11174 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11176 ## ------------------------------------ ##
11177 ## Report this to wine-devel@winehq.org ##
11178 ## ------------------------------------ ##
11180 ) |
sed "s/^/$as_me: WARNING: /" >&2
11183 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11184 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11185 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 ac_cv_header_gphoto2_camera_h
=$ac_header_preproc
11190 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11191 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11194 if test $ac_cv_header_gphoto2_camera_h = yes; then
11195 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11196 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11197 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11198 echo $ECHO_N "(cached) $ECHO_C" >&6
11200 ac_check_lib_save_LIBS
=$LIBS
11201 LIBS
="-lgphoto2 $LIBS"
11202 cat >conftest.
$ac_ext <<_ACEOF
11205 cat confdefs.h
>>conftest.
$ac_ext
11206 cat >>conftest.
$ac_ext <<_ACEOF
11207 /* end confdefs.h. */
11209 /* Override any GCC internal prototype to avoid an error.
11210 Use char because int might match the return type of a GCC
11211 builtin and then its argument prototype would still apply. */
11215 char gp_camera_new ();
11219 return gp_camera_new ();
11224 rm -f conftest.
$ac_objext conftest
$ac_exeext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11226 (eval $ac_link) 2>conftest.er1
11228 grep -v '^ *+' conftest.er1
>conftest.err
11230 cat conftest.err
>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } &&
11233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; } &&
11239 { ac_try
='test -s conftest$ac_exeext'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 ac_cv_lib_gphoto2_gp_camera_new
=yes
11247 echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.
$ac_ext >&5
11250 ac_cv_lib_gphoto2_gp_camera_new
=no
11253 rm -f conftest.err conftest.
$ac_objext \
11254 conftest
$ac_exeext conftest.
$ac_ext
11255 LIBS
=$ac_check_lib_save_LIBS
11257 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11258 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11259 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11261 cat >>confdefs.h
<<\_ACEOF
11262 #define HAVE_GPHOTO2 1
11276 LIBS
="$ac_save_LIBS"
11277 CPPFLAGS
="$ac_save_CPPFLAGS"
11280 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11283 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
11284 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
11285 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
11286 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
11287 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6; }
11288 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
11289 cat >conftest.
$ac_ext <<_ACEOF
11292 cat confdefs.h
>>conftest.
$ac_ext
11293 cat >>conftest.
$ac_ext <<_ACEOF
11294 /* end confdefs.h. */
11295 #include <unicode/ubidi.h>
11304 rm -f conftest.
$ac_objext conftest
$ac_exeext
11305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11306 (eval $ac_link) 2>conftest.er1
11308 grep -v '^ *+' conftest.er1
>conftest.err
11310 cat conftest.err
>&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } &&
11313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11315 (eval $ac_try) 2>&5
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); }; } &&
11319 { ac_try
='test -s conftest$ac_exeext'
11320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11321 (eval $ac_try) 2>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); }; }; then
11326 cat >>confdefs.h
<<\_ACEOF
11330 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
11332 { echo "$as_me:$LINENO: result: yes" >&5
11333 echo "${ECHO_T}yes" >&6; }
11335 echo "$as_me: failed program was:" >&5
11336 sed 's/^/| /' conftest.
$ac_ext >&5
11338 { echo "$as_me:$LINENO: result: no" >&5
11339 echo "${ECHO_T}no" >&6; }
11342 rm -f conftest.err conftest.
$ac_objext \
11343 conftest
$ac_exeext conftest.
$ac_ext
11349 if test "$ac_cv_header_resolv_h" = "yes"
11351 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11352 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11353 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11354 echo $ECHO_N "(cached) $ECHO_C" >&6
11356 ac_check_lib_save_LIBS
=$LIBS
11357 LIBS
="-lresolv $LIBS"
11358 cat >conftest.
$ac_ext <<_ACEOF
11361 cat confdefs.h
>>conftest.
$ac_ext
11362 cat >>conftest.
$ac_ext <<_ACEOF
11363 /* end confdefs.h. */
11365 /* Override any GCC internal prototype to avoid an error.
11366 Use char because int might match the return type of a GCC
11367 builtin and then its argument prototype would still apply. */
11375 return res_query ();
11380 rm -f conftest.
$ac_objext conftest
$ac_exeext
11381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11382 (eval $ac_link) 2>conftest.er1
11384 grep -v '^ *+' conftest.er1
>conftest.err
11386 cat conftest.err
>&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); } &&
11389 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; } &&
11395 { ac_try
='test -s conftest$ac_exeext'
11396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11397 (eval $ac_try) 2>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; }; then
11401 ac_cv_lib_resolv_res_query
=yes
11403 echo "$as_me: failed program was:" >&5
11404 sed 's/^/| /' conftest.
$ac_ext >&5
11406 ac_cv_lib_resolv_res_query
=no
11409 rm -f conftest.err conftest.
$ac_objext \
11410 conftest
$ac_exeext conftest.
$ac_ext
11411 LIBS
=$ac_check_lib_save_LIBS
11413 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
11414 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
11415 if test $ac_cv_lib_resolv_res_query = yes; then
11417 cat >>confdefs.h
<<\_ACEOF
11418 #define HAVE_RESOLV 1
11421 RESOLVLIBS
="-lresolv"
11428 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
11430 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
11431 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
11432 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
11433 echo $ECHO_N "(cached) $ECHO_C" >&6
11435 ac_check_lib_save_LIBS
=$LIBS
11436 LIBS
="-llcms $LIBS"
11437 cat >conftest.
$ac_ext <<_ACEOF
11440 cat confdefs.h
>>conftest.
$ac_ext
11441 cat >>conftest.
$ac_ext <<_ACEOF
11442 /* end confdefs.h. */
11444 /* Override any GCC internal prototype to avoid an error.
11445 Use char because int might match the return type of a GCC
11446 builtin and then its argument prototype would still apply. */
11450 char cmsOpenProfileFromFile ();
11454 return cmsOpenProfileFromFile ();
11459 rm -f conftest.
$ac_objext conftest
$ac_exeext
11460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11470 (eval $ac_try) 2>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }; } &&
11474 { ac_try
='test -s conftest$ac_exeext'
11475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11476 (eval $ac_try) 2>&5
11478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479 (exit $ac_status); }; }; then
11480 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
11482 echo "$as_me: failed program was:" >&5
11483 sed 's/^/| /' conftest.
$ac_ext >&5
11485 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
11488 rm -f conftest.err conftest.
$ac_objext \
11489 conftest
$ac_exeext conftest.
$ac_ext
11490 LIBS
=$ac_check_lib_save_LIBS
11492 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
11493 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
11494 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
11496 cat >>confdefs.h
<<\_ACEOF
11497 #define HAVE_LCMS 1
11507 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
11509 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
11510 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
11511 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
11512 echo $ECHO_N "(cached) $ECHO_C" >&6
11514 ac_check_lib_save_LIBS
=$LIBS
11515 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
11516 cat >conftest.
$ac_ext <<_ACEOF
11519 cat confdefs.h
>>conftest.
$ac_ext
11520 cat >>conftest.
$ac_ext <<_ACEOF
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11529 char ldap_initialize ();
11533 return ldap_initialize ();
11538 rm -f conftest.
$ac_objext conftest
$ac_exeext
11539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11540 (eval $ac_link) 2>conftest.er1
11542 grep -v '^ *+' conftest.er1
>conftest.err
11544 cat conftest.err
>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); } &&
11547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11549 (eval $ac_try) 2>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); }; } &&
11553 { ac_try
='test -s conftest$ac_exeext'
11554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11555 (eval $ac_try) 2>&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); }; }; then
11559 ac_cv_lib_ldap_r_ldap_initialize
=yes
11561 echo "$as_me: failed program was:" >&5
11562 sed 's/^/| /' conftest.
$ac_ext >&5
11564 ac_cv_lib_ldap_r_ldap_initialize
=no
11567 rm -f conftest.err conftest.
$ac_objext \
11568 conftest
$ac_exeext conftest.
$ac_ext
11569 LIBS
=$ac_check_lib_save_LIBS
11571 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
11572 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
11573 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
11574 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
11575 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
11576 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
11577 echo $ECHO_N "(cached) $ECHO_C" >&6
11579 ac_check_lib_save_LIBS
=$LIBS
11580 LIBS
="-llber $LIBPTHREAD $LIBS"
11581 cat >conftest.
$ac_ext <<_ACEOF
11584 cat confdefs.h
>>conftest.
$ac_ext
11585 cat >>conftest.
$ac_ext <<_ACEOF
11586 /* end confdefs.h. */
11588 /* Override any GCC internal prototype to avoid an error.
11589 Use char because int might match the return type of a GCC
11590 builtin and then its argument prototype would still apply. */
11598 return ber_init ();
11603 rm -f conftest.
$ac_objext conftest
$ac_exeext
11604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11605 (eval $ac_link) 2>conftest.er1
11607 grep -v '^ *+' conftest.er1
>conftest.err
11609 cat conftest.err
>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); } &&
11612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; } &&
11618 { ac_try
='test -s conftest$ac_exeext'
11619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11620 (eval $ac_try) 2>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); }; }; then
11624 ac_cv_lib_lber_ber_init
=yes
11626 echo "$as_me: failed program was:" >&5
11627 sed 's/^/| /' conftest.
$ac_ext >&5
11629 ac_cv_lib_lber_ber_init
=no
11632 rm -f conftest.err conftest.
$ac_objext \
11633 conftest
$ac_exeext conftest.
$ac_ext
11634 LIBS
=$ac_check_lib_save_LIBS
11636 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
11637 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
11638 if test $ac_cv_lib_lber_ber_init = yes; then
11640 cat >>confdefs.h
<<\_ACEOF
11641 #define HAVE_LDAP 1
11644 LDAPLIBS
="-lldap_r -llber"
11649 ac_wine_check_funcs_save_LIBS
="$LIBS"
11650 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
11656 ldap_count_references \
11657 ldap_first_reference \
11658 ldap_next_reference \
11659 ldap_parse_reference
11661 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11662 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11664 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11665 echo $ECHO_N "(cached) $ECHO_C" >&6
11667 cat >conftest.
$ac_ext <<_ACEOF
11670 cat confdefs.h
>>conftest.
$ac_ext
11671 cat >>conftest.
$ac_ext <<_ACEOF
11672 /* end confdefs.h. */
11673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11675 #define $ac_func innocuous_$ac_func
11677 /* System header to define __stub macros and hopefully few prototypes,
11678 which can conflict with char $ac_func (); below.
11679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11680 <limits.h> exists even on freestanding compilers. */
11683 # include <limits.h>
11685 # include <assert.h>
11690 /* Override any GCC internal prototype to avoid an error.
11691 Use char because int might match the return type of a GCC
11692 builtin and then its argument prototype would still apply. */
11697 /* The GNU C library defines this for functions which it implements
11698 to always fail with ENOSYS. Some functions are actually named
11699 something starting with __ and the normal name is an alias. */
11700 #if defined __stub_$ac_func || defined __stub___$ac_func
11707 return $ac_func ();
11712 rm -f conftest.
$ac_objext conftest
$ac_exeext
11713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11714 (eval $ac_link) 2>conftest.er1
11716 grep -v '^ *+' conftest.er1
>conftest.err
11718 cat conftest.err
>&5
11719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11720 (exit $ac_status); } &&
11721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11723 (eval $ac_try) 2>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); }; } &&
11727 { ac_try
='test -s conftest$ac_exeext'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; }; then
11733 eval "$as_ac_var=yes"
11735 echo "$as_me: failed program was:" >&5
11736 sed 's/^/| /' conftest.
$ac_ext >&5
11738 eval "$as_ac_var=no"
11741 rm -f conftest.err conftest.
$ac_objext \
11742 conftest
$ac_exeext conftest.
$ac_ext
11744 ac_res
=`eval echo '${'$as_ac_var'}'`
11745 { echo "$as_me:$LINENO: result: $ac_res" >&5
11746 echo "${ECHO_T}$ac_res" >&6; }
11747 if test `eval echo '${'$as_ac_var'}'` = yes; then
11748 cat >>confdefs.h
<<_ACEOF
11749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11755 LIBS
="$ac_wine_check_funcs_save_LIBS"
11762 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
11763 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
11764 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
11765 echo $ECHO_N "(cached) $ECHO_C" >&6
11767 ac_check_lib_save_LIBS
=$LIBS
11768 LIBS
="-lfreetype $X_LIBS $LIBS"
11769 cat >conftest.
$ac_ext <<_ACEOF
11772 cat confdefs.h
>>conftest.
$ac_ext
11773 cat >>conftest.
$ac_ext <<_ACEOF
11774 /* end confdefs.h. */
11776 /* Override any GCC internal prototype to avoid an error.
11777 Use char because int might match the return type of a GCC
11778 builtin and then its argument prototype would still apply. */
11782 char FT_Init_FreeType ();
11786 return FT_Init_FreeType ();
11791 rm -f conftest.
$ac_objext conftest
$ac_exeext
11792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11793 (eval $ac_link) 2>conftest.er1
11795 grep -v '^ *+' conftest.er1
>conftest.err
11797 cat conftest.err
>&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); } &&
11800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11802 (eval $ac_try) 2>&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); }; } &&
11806 { ac_try
='test -s conftest$ac_exeext'
11807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11808 (eval $ac_try) 2>&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); }; }; then
11812 ac_cv_lib_freetype_FT_Init_FreeType
=yes
11814 echo "$as_me: failed program was:" >&5
11815 sed 's/^/| /' conftest.
$ac_ext >&5
11817 ac_cv_lib_freetype_FT_Init_FreeType
=no
11820 rm -f conftest.err conftest.
$ac_objext \
11821 conftest
$ac_exeext conftest.
$ac_ext
11822 LIBS
=$ac_check_lib_save_LIBS
11824 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11825 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11826 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11832 if test "$ft_lib" = "no"
11834 wine_cv_msg_freetype
=no
11836 # Extract the first word of "freetype-config", so it can be a program name with args.
11837 set dummy freetype-config
; ac_word
=$2
11838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11840 if test "${ac_cv_prog_ft_devel+set}" = set; then
11841 echo $ECHO_N "(cached) $ECHO_C" >&6
11843 if test -n "$ft_devel"; then
11844 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
11846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11847 for as_dir
in $PATH
11850 test -z "$as_dir" && as_dir
=.
11851 for ac_exec_ext
in '' $ac_executable_extensions; do
11852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11853 ac_cv_prog_ft_devel
="freetype-config"
11854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11861 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
11864 ft_devel
=$ac_cv_prog_ft_devel
11865 if test -n "$ft_devel"; then
11866 { echo "$as_me:$LINENO: result: $ft_devel" >&5
11867 echo "${ECHO_T}$ft_devel" >&6; }
11869 { echo "$as_me:$LINENO: result: no" >&5
11870 echo "${ECHO_T}no" >&6; }
11874 if test "$ft_devel" = "no"
11876 # Extract the first word of "freetype2-config", so it can be a program name with args.
11877 set dummy freetype2-config
; ac_word
=$2
11878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11880 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11883 if test -n "$ft_devel2"; then
11884 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
11886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11887 for as_dir
in $PATH
11890 test -z "$as_dir" && as_dir
=.
11891 for ac_exec_ext
in '' $ac_executable_extensions; do
11892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11893 ac_cv_prog_ft_devel2
="freetype2-config"
11894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11901 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
11904 ft_devel2
=$ac_cv_prog_ft_devel2
11905 if test -n "$ft_devel2"; then
11906 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
11907 echo "${ECHO_T}$ft_devel2" >&6; }
11909 { echo "$as_me:$LINENO: result: no" >&5
11910 echo "${ECHO_T}no" >&6; }
11914 if test "$ft_devel2" = "freetype2-config"
11916 ft_devel
=$ft_devel2
11919 if test "$ft_devel" = "no"
11921 wine_cv_msg_freetype
=yes
11923 FREETYPELIBS
=`$ft_devel --libs`
11924 FREETYPEINCL
=`$ft_devel --cflags`
11925 ac_save_CPPFLAGS
="$CPPFLAGS"
11926 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
11938 for ac_header
in ft2build.h \
11939 freetype
/freetype.h \
11940 freetype
/ftglyph.h \
11941 freetype
/tttables.h \
11942 freetype
/ftnames.h \
11943 freetype
/ftsnames.h \
11944 freetype
/ttnameid.h \
11945 freetype
/ftoutln.h \
11946 freetype
/ftwinfnt.h \
11947 freetype
/ftmodapi.h \
11948 freetype
/internal
/sfnt.h
11950 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11951 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11953 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11954 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 cat >conftest.
$ac_ext <<_ACEOF
11959 cat confdefs.h
>>conftest.
$ac_ext
11960 cat >>conftest.
$ac_ext <<_ACEOF
11961 /* end confdefs.h. */
11962 #if HAVE_FT2BUILD_H
11963 #include <ft2build.h>
11966 #include <$ac_header>
11968 rm -f conftest.
$ac_objext
11969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11970 (eval $ac_compile) 2>conftest.er1
11972 grep -v '^ *+' conftest.er1
>conftest.err
11974 cat conftest.err
>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); } &&
11977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; } &&
11983 { ac_try
='test -s conftest.$ac_objext'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; }; then
11989 eval "$as_ac_Header=yes"
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.
$ac_ext >&5
11994 eval "$as_ac_Header=no"
11997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11999 ac_res
=`eval echo '${'$as_ac_Header'}'`
12000 { echo "$as_me:$LINENO: result: $ac_res" >&5
12001 echo "${ECHO_T}$ac_res" >&6; }
12002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12003 cat >>confdefs.h
<<_ACEOF
12004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12011 cat >conftest.
$ac_ext <<_ACEOF
12014 cat confdefs.h
>>conftest.
$ac_ext
12015 cat >>conftest.
$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12017 #include <ft2build.h>
12018 #include <freetype/fttrigon.h>
12020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12021 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12023 grep -v '^ *+' conftest.er1
>conftest.err
12025 cat conftest.err
>&5
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } >/dev
/null
; then
12028 if test -s conftest.err
; then
12029 ac_cpp_err
=$ac_c_preproc_warn_flag
12030 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12037 if test -z "$ac_cpp_err"; then
12039 cat >>confdefs.h
<<\_ACEOF
12040 #define HAVE_FREETYPE_FTTRIGON_H 1
12043 wine_cv_fttrigon
=yes
12045 echo "$as_me: failed program was:" >&5
12046 sed 's/^/| /' conftest.
$ac_ext >&5
12048 wine_cv_fttrigon
=no
12051 rm -f conftest.err conftest.
$ac_ext
12052 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12053 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12054 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 cat >conftest.
$ac_ext <<_ACEOF
12060 cat confdefs.h
>>conftest.
$ac_ext
12061 cat >>conftest.
$ac_ext <<_ACEOF
12062 /* end confdefs.h. */
12063 #include <freetype/ftmodapi.h>
12065 typedef FT_TrueTypeEngineType ac__type_new_;
12069 if ((ac__type_new_ *) 0)
12071 if (sizeof (ac__type_new_))
12077 rm -f conftest.
$ac_objext
12078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12079 (eval $ac_compile) 2>conftest.er1
12081 grep -v '^ *+' conftest.er1
>conftest.err
12083 cat conftest.err
>&5
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); } &&
12086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088 (eval $ac_try) 2>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); }; } &&
12092 { ac_try
='test -s conftest.$ac_objext'
12093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12094 (eval $ac_try) 2>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); }; }; then
12098 ac_cv_type_FT_TrueTypeEngineType
=yes
12100 echo "$as_me: failed program was:" >&5
12101 sed 's/^/| /' conftest.
$ac_ext >&5
12103 ac_cv_type_FT_TrueTypeEngineType
=no
12106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12108 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12109 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12110 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12112 cat >>confdefs.h
<<_ACEOF
12113 #define HAVE_FT_TRUETYPEENGINETYPE 1
12119 ac_save_CFLAGS
="$CFLAGS"
12120 CFLAGS
="$CFLAGS $FREETYPELIBS"
12122 for ac_func
in FT_Load_Sfnt_Table
12124 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12127 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12130 cat >conftest.
$ac_ext <<_ACEOF
12133 cat confdefs.h
>>conftest.
$ac_ext
12134 cat >>conftest.
$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12138 #define $ac_func innocuous_$ac_func
12140 /* System header to define __stub macros and hopefully few prototypes,
12141 which can conflict with char $ac_func (); below.
12142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12143 <limits.h> exists even on freestanding compilers. */
12146 # include <limits.h>
12148 # include <assert.h>
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12160 /* The GNU C library defines this for functions which it implements
12161 to always fail with ENOSYS. Some functions are actually named
12162 something starting with __ and the normal name is an alias. */
12163 #if defined __stub_$ac_func || defined __stub___$ac_func
12170 return $ac_func ();
12175 rm -f conftest.
$ac_objext conftest
$ac_exeext
12176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12177 (eval $ac_link) 2>conftest.er1
12179 grep -v '^ *+' conftest.er1
>conftest.err
12181 cat conftest.err
>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } &&
12184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; } &&
12190 { ac_try
='test -s conftest$ac_exeext'
12191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12192 (eval $ac_try) 2>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); }; }; then
12196 eval "$as_ac_var=yes"
12198 echo "$as_me: failed program was:" >&5
12199 sed 's/^/| /' conftest.
$ac_ext >&5
12201 eval "$as_ac_var=no"
12204 rm -f conftest.err conftest.
$ac_objext \
12205 conftest
$ac_exeext conftest.
$ac_ext
12207 ac_res
=`eval echo '${'$as_ac_var'}'`
12208 { echo "$as_me:$LINENO: result: $ac_res" >&5
12209 echo "${ECHO_T}$ac_res" >&6; }
12210 if test `eval echo '${'$as_ac_var'}'` = yes; then
12211 cat >>confdefs.h
<<_ACEOF
12212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12218 CFLAGS
="$ac_save_CFLAGS"
12219 CPPFLAGS
="$ac_save_CPPFLAGS"
12220 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12223 cat >>confdefs.h
<<\_ACEOF
12224 #define HAVE_FREETYPE 1
12227 wine_cv_msg_freetype
=no
12231 wine_cv_msg_freetype
=yes
12236 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12238 FONTSSUBDIRS
="fonts"
12240 wine_cv_msg_fonts
=no
12242 wine_cv_msg_fonts
=yes
12245 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12246 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12247 if test "${ac_cv_c_ppdev+set}" = set; then
12248 echo $ECHO_N "(cached) $ECHO_C" >&6
12250 cat >conftest.
$ac_ext <<_ACEOF
12253 cat confdefs.h
>>conftest.
$ac_ext
12254 cat >>conftest.
$ac_ext <<_ACEOF
12255 /* end confdefs.h. */
12256 #include <linux/ppdev.h>
12260 ioctl (1,PPCLAIM,0)
12265 rm -f conftest.
$ac_objext
12266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12267 (eval $ac_compile) 2>conftest.er1
12269 grep -v '^ *+' conftest.er1
>conftest.err
12271 cat conftest.err
>&5
12272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); } &&
12274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12276 (eval $ac_try) 2>&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); }; } &&
12280 { ac_try
='test -s conftest.$ac_objext'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; }; then
12286 ac_cv_c_ppdev
="yes"
12288 echo "$as_me: failed program was:" >&5
12289 sed 's/^/| /' conftest.
$ac_ext >&5
12294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12297 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
12298 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
12299 if test "$ac_cv_c_ppdev" = "yes"
12302 cat >>confdefs.h
<<\_ACEOF
12303 #define HAVE_PPDEV 1
12308 { echo "$as_me:$LINENO: checking for va_copy" >&5
12309 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
12310 if test "${ac_cv_c_va_copy+set}" = set; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12313 cat >conftest.
$ac_ext <<_ACEOF
12316 cat confdefs.h
>>conftest.
$ac_ext
12317 cat >>conftest.
$ac_ext <<_ACEOF
12318 /* end confdefs.h. */
12319 #include <stdarg.h>
12330 rm -f conftest.
$ac_objext conftest
$ac_exeext
12331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12332 (eval $ac_link) 2>conftest.er1
12334 grep -v '^ *+' conftest.er1
>conftest.err
12336 cat conftest.err
>&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); } &&
12339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12341 (eval $ac_try) 2>&5
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); }; } &&
12345 { ac_try
='test -s conftest$ac_exeext'
12346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); }; }; then
12351 ac_cv_c_va_copy
="yes"
12353 echo "$as_me: failed program was:" >&5
12354 sed 's/^/| /' conftest.
$ac_ext >&5
12356 ac_cv_c_va_copy
="no"
12359 rm -f conftest.err conftest.
$ac_objext \
12360 conftest
$ac_exeext conftest.
$ac_ext
12363 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
12364 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
12365 if test "$ac_cv_c_va_copy" = "yes"
12368 cat >>confdefs.h
<<\_ACEOF
12369 #define HAVE_VA_COPY 1
12373 { echo "$as_me:$LINENO: checking for __va_copy" >&5
12374 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
12375 if test "${ac_cv_c___va_copy+set}" = set; then
12376 echo $ECHO_N "(cached) $ECHO_C" >&6
12378 cat >conftest.
$ac_ext <<_ACEOF
12381 cat confdefs.h
>>conftest.
$ac_ext
12382 cat >>conftest.
$ac_ext <<_ACEOF
12383 /* end confdefs.h. */
12384 #include <stdarg.h>
12389 __va_copy(ap1,ap2);
12395 rm -f conftest.
$ac_objext conftest
$ac_exeext
12396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12397 (eval $ac_link) 2>conftest.er1
12399 grep -v '^ *+' conftest.er1
>conftest.err
12401 cat conftest.err
>&5
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); } &&
12404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; } &&
12410 { ac_try
='test -s conftest$ac_exeext'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; }; then
12416 ac_cv_c___va_copy
="yes"
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.
$ac_ext >&5
12421 ac_cv_c___va_copy
="no"
12424 rm -f conftest.err conftest.
$ac_objext \
12425 conftest
$ac_exeext conftest.
$ac_ext
12428 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
12429 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
12430 if test "$ac_cv_c___va_copy" = "yes"
12433 cat >>confdefs.h
<<\_ACEOF
12434 #define HAVE___VA_COPY 1
12439 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
12440 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
12441 if test "${ac_cv_c_sigsetjmp+set}" = set; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 cat >conftest.
$ac_ext <<_ACEOF
12447 cat confdefs.h
>>conftest.
$ac_ext
12448 cat >>conftest.
$ac_ext <<_ACEOF
12449 /* end confdefs.h. */
12450 #include <setjmp.h>
12455 sigsetjmp( buf, 1 );
12456 siglongjmp( buf, 1 );
12461 rm -f conftest.
$ac_objext conftest
$ac_exeext
12462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12463 (eval $ac_link) 2>conftest.er1
12465 grep -v '^ *+' conftest.er1
>conftest.err
12467 cat conftest.err
>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } &&
12470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; } &&
12476 { ac_try
='test -s conftest$ac_exeext'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12482 ac_cv_c_sigsetjmp
="yes"
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.
$ac_ext >&5
12487 ac_cv_c_sigsetjmp
="no"
12490 rm -f conftest.err conftest.
$ac_objext \
12491 conftest
$ac_exeext conftest.
$ac_ext
12494 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
12495 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
12496 if test "$ac_cv_c_sigsetjmp" = "yes"
12499 cat >>confdefs.h
<<\_ACEOF
12500 #define HAVE_SIGSETJMP 1
12505 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
12506 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
12507 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
12508 echo $ECHO_N "(cached) $ECHO_C" >&6
12510 cat >conftest.
$ac_ext <<_ACEOF
12513 cat confdefs.h
>>conftest.
$ac_ext
12514 cat >>conftest.
$ac_ext <<_ACEOF
12515 /* end confdefs.h. */
12516 #define _GNU_SOURCE
12517 #include <pthread.h>
12519 typedef pthread_rwlock_t ac__type_new_;
12523 if ((ac__type_new_ *) 0)
12525 if (sizeof (ac__type_new_))
12531 rm -f conftest.
$ac_objext
12532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12533 (eval $ac_compile) 2>conftest.er1
12535 grep -v '^ *+' conftest.er1
>conftest.err
12537 cat conftest.err
>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } &&
12540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try
='test -s conftest.$ac_objext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_type_pthread_rwlock_t
=yes
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.
$ac_ext >&5
12557 ac_cv_type_pthread_rwlock_t
=no
12560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12562 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
12563 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
12564 if test $ac_cv_type_pthread_rwlock_t = yes; then
12566 cat >>confdefs.h
<<_ACEOF
12567 #define HAVE_PTHREAD_RWLOCK_T 1
12572 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
12573 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
12574 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
12575 echo $ECHO_N "(cached) $ECHO_C" >&6
12577 cat >conftest.
$ac_ext <<_ACEOF
12580 cat confdefs.h
>>conftest.
$ac_ext
12581 cat >>conftest.
$ac_ext <<_ACEOF
12582 /* end confdefs.h. */
12583 #define _GNU_SOURCE
12584 #include <pthread.h>
12586 typedef pthread_rwlockattr_t ac__type_new_;
12590 if ((ac__type_new_ *) 0)
12592 if (sizeof (ac__type_new_))
12598 rm -f conftest.
$ac_objext
12599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12600 (eval $ac_compile) 2>conftest.er1
12602 grep -v '^ *+' conftest.er1
>conftest.err
12604 cat conftest.err
>&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); } &&
12607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12609 (eval $ac_try) 2>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); }; } &&
12613 { ac_try
='test -s conftest.$ac_objext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 ac_cv_type_pthread_rwlockattr_t
=yes
12621 echo "$as_me: failed program was:" >&5
12622 sed 's/^/| /' conftest.
$ac_ext >&5
12624 ac_cv_type_pthread_rwlockattr_t
=no
12627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12629 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
12630 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
12631 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
12633 cat >>confdefs.h
<<_ACEOF
12634 #define HAVE_PTHREAD_RWLOCKATTR_T 1
12641 ac_wine_check_funcs_save_LIBS
="$LIBS"
12642 LIBS
="$LIBS $LIBPTHREAD"
12647 pthread_getattr_np \
12648 pthread_get_stackaddr_np \
12649 pthread_get_stacksize_np
12651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12654 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12655 echo $ECHO_N "(cached) $ECHO_C" >&6
12657 cat >conftest.
$ac_ext <<_ACEOF
12660 cat confdefs.h
>>conftest.
$ac_ext
12661 cat >>conftest.
$ac_ext <<_ACEOF
12662 /* end confdefs.h. */
12663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12665 #define $ac_func innocuous_$ac_func
12667 /* System header to define __stub macros and hopefully few prototypes,
12668 which can conflict with char $ac_func (); below.
12669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12670 <limits.h> exists even on freestanding compilers. */
12673 # include <limits.h>
12675 # include <assert.h>
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12687 /* The GNU C library defines this for functions which it implements
12688 to always fail with ENOSYS. Some functions are actually named
12689 something starting with __ and the normal name is an alias. */
12690 #if defined __stub_$ac_func || defined __stub___$ac_func
12697 return $ac_func ();
12702 rm -f conftest.
$ac_objext conftest
$ac_exeext
12703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12704 (eval $ac_link) 2>conftest.er1
12706 grep -v '^ *+' conftest.er1
>conftest.err
12708 cat conftest.err
>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); } &&
12711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; } &&
12717 { ac_try
='test -s conftest$ac_exeext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 eval "$as_ac_var=yes"
12725 echo "$as_me: failed program was:" >&5
12726 sed 's/^/| /' conftest.
$ac_ext >&5
12728 eval "$as_ac_var=no"
12731 rm -f conftest.err conftest.
$ac_objext \
12732 conftest
$ac_exeext conftest.
$ac_ext
12734 ac_res
=`eval echo '${'$as_ac_var'}'`
12735 { echo "$as_me:$LINENO: result: $ac_res" >&5
12736 echo "${ECHO_T}$ac_res" >&6; }
12737 if test `eval echo '${'$as_ac_var'}'` = yes; then
12738 cat >>confdefs.h
<<_ACEOF
12739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12745 LIBS
="$ac_wine_check_funcs_save_LIBS"
12747 # Extract the first word of "artsc-config", so it can be a program name with args.
12748 set dummy artsc-config
; ac_word
=$2
12749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12751 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
12752 echo $ECHO_N "(cached) $ECHO_C" >&6
12754 case $ARTSCCONFIG in
12756 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
12759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12760 for as_dir
in $PATH
12763 test -z "$as_dir" && as_dir
=.
12764 for ac_exec_ext
in '' $ac_executable_extensions; do
12765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12766 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
12767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12777 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
12778 if test -n "$ARTSCCONFIG"; then
12779 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
12780 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
12782 { echo "$as_me:$LINENO: result: no" >&5
12783 echo "${ECHO_T}no" >&6; }
12787 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
12790 for i
in `$ARTSCCONFIG --cflags`
12793 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
12797 for i
in `$ARTSCCONFIG --libs`
12800 -L/usr
/lib|
-L/usr
/lib64
) ;;
12801 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
12804 save_CFLAGS
="$CFLAGS"
12805 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
12806 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
12807 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
12808 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
12809 echo $ECHO_N "(cached) $ECHO_C" >&6
12811 ac_check_lib_save_LIBS
=$LIBS
12812 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
12813 cat >conftest.
$ac_ext <<_ACEOF
12816 cat confdefs.h
>>conftest.
$ac_ext
12817 cat >>conftest.
$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12830 return arts_init ();
12835 rm -f conftest.
$ac_objext conftest
$ac_exeext
12836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12837 (eval $ac_link) 2>conftest.er1
12839 grep -v '^ *+' conftest.er1
>conftest.err
12841 cat conftest.err
>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); } &&
12844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; } &&
12850 { ac_try
='test -s conftest$ac_exeext'
12851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852 (eval $ac_try) 2>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); }; }; then
12856 ac_cv_lib_artsc_arts_init
=yes
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.
$ac_ext >&5
12861 ac_cv_lib_artsc_arts_init
=no
12864 rm -f conftest.err conftest.
$ac_objext \
12865 conftest
$ac_exeext conftest.
$ac_ext
12866 LIBS
=$ac_check_lib_save_LIBS
12868 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12869 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
12870 if test $ac_cv_lib_artsc_arts_init = yes; then
12871 cat >conftest.
$ac_ext <<_ACEOF
12874 cat confdefs.h
>>conftest.
$ac_ext
12875 cat >>conftest.
$ac_ext <<_ACEOF
12876 /* end confdefs.h. */
12881 arts_stream_t stream;
12886 rm -f conftest.
$ac_objext
12887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12888 (eval $ac_compile) 2>conftest.er1
12890 grep -v '^ *+' conftest.er1
>conftest.err
12892 cat conftest.err
>&5
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); } &&
12895 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12897 (eval $ac_try) 2>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); }; } &&
12901 { ac_try
='test -s conftest.$ac_objext'
12902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903 (eval $ac_try) 2>&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); }; }; then
12907 ARTSLIBS
=$ARTSC_LIBS
12909 ARTSINCL
=$ARTSC_CFLAGS
12912 cat >>confdefs.h
<<\_ACEOF
12913 #define HAVE_ARTS 1
12917 echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.
$ac_ext >&5
12923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12926 CFLAGS
="$save_CFLAGS"
12929 # Extract the first word of "esd-config", so it can be a program name with args.
12930 set dummy esd-config
; ac_word
=$2
12931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12933 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12934 echo $ECHO_N "(cached) $ECHO_C" >&6
12938 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
12941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12942 for as_dir
in $PATH
12945 test -z "$as_dir" && as_dir
=.
12946 for ac_exec_ext
in '' $ac_executable_extensions; do
12947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12948 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
12949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12959 ESDCONFIG
=$ac_cv_path_ESDCONFIG
12960 if test -n "$ESDCONFIG"; then
12961 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12962 echo "${ECHO_T}$ESDCONFIG" >&6; }
12964 { echo "$as_me:$LINENO: result: no" >&5
12965 echo "${ECHO_T}no" >&6; }
12969 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
12972 for i
in `$ESDCONFIG --cflags`
12975 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
12978 ESD_LIBS
=`$ESDCONFIG --libs`
12979 save_CFLAGS
="$CFLAGS"
12980 CFLAGS
="$CFLAGS $ESD_CFLAGS"
12981 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12982 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12983 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12986 ac_check_lib_save_LIBS
=$LIBS
12988 cat >conftest.
$ac_ext <<_ACEOF
12991 cat confdefs.h
>>conftest.
$ac_ext
12992 cat >>conftest.
$ac_ext <<_ACEOF
12993 /* end confdefs.h. */
12995 /* Override any GCC internal prototype to avoid an error.
12996 Use char because int might match the return type of a GCC
12997 builtin and then its argument prototype would still apply. */
13001 char esd_open_sound ();
13005 return esd_open_sound ();
13010 rm -f conftest.
$ac_objext conftest
$ac_exeext
13011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13012 (eval $ac_link) 2>conftest.er1
13014 grep -v '^ *+' conftest.er1
>conftest.err
13016 cat conftest.err
>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); } &&
13019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13021 (eval $ac_try) 2>&5
13023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); }; } &&
13025 { ac_try
='test -s conftest$ac_exeext'
13026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13027 (eval $ac_try) 2>&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); }; }; then
13031 ac_cv_lib_esd_esd_open_sound
=yes
13033 echo "$as_me: failed program was:" >&5
13034 sed 's/^/| /' conftest.
$ac_ext >&5
13036 ac_cv_lib_esd_esd_open_sound
=no
13039 rm -f conftest.err conftest.
$ac_objext \
13040 conftest
$ac_exeext conftest.
$ac_ext
13041 LIBS
=$ac_check_lib_save_LIBS
13043 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13044 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13045 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13048 ESDINCL
=$ESD_CFLAGS
13051 cat >>confdefs.h
<<\_ACEOF
13057 CFLAGS
="$save_CFLAGS"
13062 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13064 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13065 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13066 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 ac_check_lib_save_LIBS
=$LIBS
13070 LIBS
="-lasound $LIBS"
13071 cat >conftest.
$ac_ext <<_ACEOF
13074 cat confdefs.h
>>conftest.
$ac_ext
13075 cat >>conftest.
$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13078 /* Override any GCC internal prototype to avoid an error.
13079 Use char because int might match the return type of a GCC
13080 builtin and then its argument prototype would still apply. */
13084 char snd_pcm_hw_params_get_access ();
13088 return snd_pcm_hw_params_get_access ();
13093 rm -f conftest.
$ac_objext conftest
$ac_exeext
13094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13095 (eval $ac_link) 2>conftest.er1
13097 grep -v '^ *+' conftest.er1
>conftest.err
13099 cat conftest.err
>&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); } &&
13102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13104 (eval $ac_try) 2>&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }; } &&
13108 { ac_try
='test -s conftest$ac_exeext'
13109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13110 (eval $ac_try) 2>&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); }; }; then
13114 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
13116 echo "$as_me: failed program was:" >&5
13117 sed 's/^/| /' conftest.
$ac_ext >&5
13119 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
13122 rm -f conftest.err conftest.
$ac_objext \
13123 conftest
$ac_exeext conftest.
$ac_ext
13124 LIBS
=$ac_check_lib_save_LIBS
13126 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13127 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13128 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13129 cat >conftest.
$ac_ext <<_ACEOF
13132 cat confdefs.h
>>conftest.
$ac_ext
13133 cat >>conftest.
$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13135 #ifdef HAVE_ALSA_ASOUNDLIB_H
13136 #include <alsa/asoundlib.h>
13137 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13138 #include <sys/asoundlib.h>
13143 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13148 rm -f conftest.
$ac_objext
13149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13150 (eval $ac_compile) 2>conftest.er1
13152 grep -v '^ *+' conftest.er1
>conftest.err
13154 cat conftest.err
>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } &&
13157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; } &&
13163 { ac_try
='test -s conftest.$ac_objext'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; }; then
13170 cat >>confdefs.h
<<\_ACEOF
13171 #define HAVE_ALSA 1
13174 ALSALIBS
="-lasound"
13176 echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.
$ac_ext >&5
13182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13190 if test "$ac_cv_header_libaudioio_h" = "yes"
13192 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13193 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13194 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13197 ac_check_lib_save_LIBS
=$LIBS
13198 LIBS
="-laudioio $LIBS"
13199 cat >conftest.
$ac_ext <<_ACEOF
13202 cat confdefs.h
>>conftest.
$ac_ext
13203 cat >>conftest.
$ac_ext <<_ACEOF
13204 /* end confdefs.h. */
13206 /* Override any GCC internal prototype to avoid an error.
13207 Use char because int might match the return type of a GCC
13208 builtin and then its argument prototype would still apply. */
13212 char AudioIOGetVersion ();
13216 return AudioIOGetVersion ();
13221 rm -f conftest.
$ac_objext conftest
$ac_exeext
13222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13223 (eval $ac_link) 2>conftest.er1
13225 grep -v '^ *+' conftest.er1
>conftest.err
13227 cat conftest.err
>&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } &&
13230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13232 (eval $ac_try) 2>&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); }; } &&
13236 { ac_try
='test -s conftest$ac_exeext'
13237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13238 (eval $ac_try) 2>&5
13240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241 (exit $ac_status); }; }; then
13242 ac_cv_lib_audioio_AudioIOGetVersion
=yes
13244 echo "$as_me: failed program was:" >&5
13245 sed 's/^/| /' conftest.
$ac_ext >&5
13247 ac_cv_lib_audioio_AudioIOGetVersion
=no
13250 rm -f conftest.err conftest.
$ac_objext \
13251 conftest
$ac_exeext conftest.
$ac_ext
13252 LIBS
=$ac_check_lib_save_LIBS
13254 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
13255 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
13256 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
13257 AUDIOIOLIBS
="-laudioio"
13259 cat >>confdefs.h
<<\_ACEOF
13260 #define HAVE_LIBAUDIOIO 1
13268 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13270 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
13271 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
13272 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
13273 echo $ECHO_N "(cached) $ECHO_C" >&6
13275 ac_check_lib_save_LIBS
=$LIBS
13276 LIBS
="-lcapi20 $LIBS"
13277 cat >conftest.
$ac_ext <<_ACEOF
13280 cat confdefs.h
>>conftest.
$ac_ext
13281 cat >>conftest.
$ac_ext <<_ACEOF
13282 /* end confdefs.h. */
13284 /* Override any GCC internal prototype to avoid an error.
13285 Use char because int might match the return type of a GCC
13286 builtin and then its argument prototype would still apply. */
13290 char capi20_register ();
13294 return capi20_register ();
13299 rm -f conftest.
$ac_objext conftest
$ac_exeext
13300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13301 (eval $ac_link) 2>conftest.er1
13303 grep -v '^ *+' conftest.er1
>conftest.err
13305 cat conftest.err
>&5
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); } &&
13308 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; } &&
13314 { ac_try
='test -s conftest$ac_exeext'
13315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13316 (eval $ac_try) 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; }; then
13320 ac_cv_lib_capi20_capi20_register
=yes
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.
$ac_ext >&5
13325 ac_cv_lib_capi20_capi20_register
=no
13328 rm -f conftest.err conftest.
$ac_objext \
13329 conftest
$ac_exeext conftest.
$ac_ext
13330 LIBS
=$ac_check_lib_save_LIBS
13332 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
13333 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
13334 if test $ac_cv_lib_capi20_capi20_register = yes; then
13336 cat >>confdefs.h
<<\_ACEOF
13337 #define HAVE_CAPI4LINUX 1
13347 if test "x${GCC}" = "xyes"
13349 EXTRACFLAGS
="-Wall -pipe"
13351 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
13352 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
13353 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
13354 echo $ECHO_N "(cached) $ECHO_C" >&6
13356 if test "$cross_compiling" = yes; then
13357 ac_cv_c_gcc_strength_bug
="yes"
13359 cat >conftest.
$ac_ext <<_ACEOF
13362 cat confdefs.h
>>conftest.
$ac_ext
13363 cat >>conftest.
$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13366 int L[4] = {0,1,2,3};
13368 static int Array[3];
13369 unsigned int B = 3;
13371 for(i=0; i<B; i++) Array[i] = i - 3;
13372 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13375 exit( Array[1] != -2 || L[2] != 3);
13378 rm -f conftest
$ac_exeext
13379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13380 (eval $ac_link) 2>&5
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13385 (eval $ac_try) 2>&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); }; }; then
13389 ac_cv_c_gcc_strength_bug
="no"
13391 echo "$as_me: program exited with status $ac_status" >&5
13392 echo "$as_me: failed program was:" >&5
13393 sed 's/^/| /' conftest.
$ac_ext >&5
13395 ( exit $ac_status )
13396 ac_cv_c_gcc_strength_bug
="yes"
13398 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13403 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
13404 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
13405 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13407 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13410 { echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
13411 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6; }
13412 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
13413 echo $ECHO_N "(cached) $ECHO_C" >&6
13415 ac_wine_try_cflags_saved
=$CFLAGS
13416 CFLAGS
="$CFLAGS -fshort-wchar"
13417 cat >conftest.
$ac_ext <<_ACEOF
13420 cat confdefs.h
>>conftest.
$ac_ext
13421 cat >>conftest.
$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13432 rm -f conftest.
$ac_objext conftest
$ac_exeext
13433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13434 (eval $ac_link) 2>conftest.er1
13436 grep -v '^ *+' conftest.er1
>conftest.err
13438 cat conftest.err
>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; } &&
13447 { ac_try
='test -s conftest$ac_exeext'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; }; then
13453 ac_cv_c_gcc_fshort_wchar
="yes"
13455 echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.
$ac_ext >&5
13458 ac_cv_c_gcc_fshort_wchar
="no"
13461 rm -f conftest.err conftest.
$ac_objext \
13462 conftest
$ac_exeext conftest.
$ac_ext
13463 CFLAGS
=$ac_wine_try_cflags_saved
13465 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
13466 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6; }
13467 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
13470 cat >>confdefs.h
<<\_ACEOF
13471 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
13476 { echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
13477 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6; }
13478 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13481 ac_wine_try_cflags_saved
=$CFLAGS
13482 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13483 cat >conftest.
$ac_ext <<_ACEOF
13486 cat confdefs.h
>>conftest.
$ac_ext
13487 cat >>conftest.
$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13498 rm -f conftest.
$ac_objext conftest
$ac_exeext
13499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13500 (eval $ac_link) 2>conftest.er1
13502 grep -v '^ *+' conftest.er1
>conftest.err
13504 cat conftest.err
>&5
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); } &&
13507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13509 (eval $ac_try) 2>&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); }; } &&
13513 { ac_try
='test -s conftest$ac_exeext'
13514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13515 (eval $ac_try) 2>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); }; }; then
13519 ac_cv_c_gcc_no_strict_aliasing
="yes"
13521 echo "$as_me: failed program was:" >&5
13522 sed 's/^/| /' conftest.
$ac_ext >&5
13524 ac_cv_c_gcc_no_strict_aliasing
="no"
13527 rm -f conftest.err conftest.
$ac_objext \
13528 conftest
$ac_exeext conftest.
$ac_ext
13529 CFLAGS
=$ac_wine_try_cflags_saved
13531 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
13532 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6; }
13533 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
13535 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13538 { echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
13539 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6; }
13540 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
13541 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 ac_wine_try_cflags_saved
=$CFLAGS
13544 CFLAGS
="$CFLAGS -gstabs+"
13545 cat >conftest.
$ac_ext <<_ACEOF
13548 cat confdefs.h
>>conftest.
$ac_ext
13549 cat >>conftest.
$ac_ext <<_ACEOF
13550 /* end confdefs.h. */
13560 rm -f conftest.
$ac_objext conftest
$ac_exeext
13561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13562 (eval $ac_link) 2>conftest.er1
13564 grep -v '^ *+' conftest.er1
>conftest.err
13566 cat conftest.err
>&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } &&
13569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13571 (eval $ac_try) 2>&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); }; } &&
13575 { ac_try
='test -s conftest$ac_exeext'
13576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 (eval $ac_try) 2>&5
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); }; }; then
13581 ac_cv_c_gcc_gstabs
="yes"
13583 echo "$as_me: failed program was:" >&5
13584 sed 's/^/| /' conftest.
$ac_ext >&5
13586 ac_cv_c_gcc_gstabs
="no"
13589 rm -f conftest.err conftest.
$ac_objext \
13590 conftest
$ac_exeext conftest.
$ac_ext
13591 CFLAGS
=$ac_wine_try_cflags_saved
13593 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
13594 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6; }
13595 if test "$ac_cv_c_gcc_gstabs" = "yes"
13597 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13600 { echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
13601 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6; }
13602 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
13603 echo $ECHO_N "(cached) $ECHO_C" >&6
13605 ac_wine_try_cflags_saved
=$CFLAGS
13606 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13607 cat >conftest.
$ac_ext <<_ACEOF
13610 cat confdefs.h
>>conftest.
$ac_ext
13611 cat >>conftest.
$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13622 rm -f conftest.
$ac_objext conftest
$ac_exeext
13623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13624 (eval $ac_link) 2>conftest.er1
13626 grep -v '^ *+' conftest.er1
>conftest.err
13628 cat conftest.err
>&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); } &&
13631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13633 (eval $ac_try) 2>&5
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); }; } &&
13637 { ac_try
='test -s conftest$ac_exeext'
13638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13639 (eval $ac_try) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }; }; then
13643 ac_cv_c_gcc_decl_after_statement
="yes"
13645 echo "$as_me: failed program was:" >&5
13646 sed 's/^/| /' conftest.
$ac_ext >&5
13648 ac_cv_c_gcc_decl_after_statement
="no"
13651 rm -f conftest.err conftest.
$ac_objext \
13652 conftest
$ac_exeext conftest.
$ac_ext
13653 CFLAGS
=$ac_wine_try_cflags_saved
13655 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
13656 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6; }
13657 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
13659 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13662 saved_CFLAGS
="$CFLAGS"
13663 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13664 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
13665 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
13666 if test "${ac_cv_c_string_h_warnings+set}" = set; then
13667 echo $ECHO_N "(cached) $ECHO_C" >&6
13669 cat >conftest.
$ac_ext <<_ACEOF
13672 cat confdefs.h
>>conftest.
$ac_ext
13673 cat >>conftest.
$ac_ext <<_ACEOF
13674 /* end confdefs.h. */
13675 #include <string.h>
13684 rm -f conftest.
$ac_objext
13685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13686 (eval $ac_compile) 2>conftest.er1
13688 grep -v '^ *+' conftest.er1
>conftest.err
13690 cat conftest.err
>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); } &&
13693 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; } &&
13699 { ac_try
='test -s conftest.$ac_objext'
13700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701 (eval $ac_try) 2>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); }; }; then
13705 ac_cv_c_string_h_warnings
=no
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.
$ac_ext >&5
13710 ac_cv_c_string_h_warnings
=yes
13713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13715 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
13716 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
13717 CFLAGS
="$saved_CFLAGS"
13718 if test "$ac_cv_c_string_h_warnings" = "no"
13720 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13725 saved_CFLAGS
="$CFLAGS"
13726 CFLAGS
="$CFLAGS -Werror"
13727 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
13728 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
13729 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
13730 echo $ECHO_N "(cached) $ECHO_C" >&6
13732 cat >conftest.
$ac_ext <<_ACEOF
13735 cat confdefs.h
>>conftest.
$ac_ext
13736 cat >>conftest.
$ac_ext <<_ACEOF
13737 /* end confdefs.h. */
13742 int iswlower(unsigned short);
13747 rm -f conftest.
$ac_objext
13748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13749 (eval $ac_compile) 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 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13758 (eval $ac_try) 2>&5
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); }; } &&
13762 { ac_try
='test -s conftest.$ac_objext'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; }; then
13768 ac_cv_c_builtin_wchar_ctype
=no
13770 echo "$as_me: failed program was:" >&5
13771 sed 's/^/| /' conftest.
$ac_ext >&5
13773 ac_cv_c_builtin_wchar_ctype
=yes
13776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13778 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
13779 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
13780 CFLAGS
="$saved_CFLAGS"
13781 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
13785 iswalnum iswalpha iswcntrl iswdigit iswgraph iswlower \
13786 iswprint iswpunct iswspace iswupper iswxdigit towlower towupper
13788 BUILTINFLAG
="$BUILTINFLAG -fno-builtin-$builtin"
13794 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
13795 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
13796 if test "${ac_cv_asm_func_def+set}" = set; then
13797 echo $ECHO_N "(cached) $ECHO_C" >&6
13799 cat >conftest.
$ac_ext <<_ACEOF
13802 cat confdefs.h
>>conftest.
$ac_ext
13803 cat >>conftest.
$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 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"); }
13815 rm -f conftest.
$ac_objext conftest
$ac_exeext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13817 (eval $ac_link) 2>conftest.er1
13819 grep -v '^ *+' conftest.er1
>conftest.err
13821 cat conftest.err
>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); } &&
13824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13826 (eval $ac_try) 2>&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); }; } &&
13830 { ac_try
='test -s conftest$ac_exeext'
13831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13832 (eval $ac_try) 2>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); }; }; then
13836 ac_cv_asm_func_def
=".def"
13838 echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.
$ac_ext >&5
13841 cat >conftest.
$ac_ext <<_ACEOF
13844 cat confdefs.h
>>conftest.
$ac_ext
13845 cat >>conftest.
$ac_ext <<_ACEOF
13846 /* end confdefs.h. */
13847 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13857 rm -f conftest.
$ac_objext conftest
$ac_exeext
13858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13859 (eval $ac_link) 2>conftest.er1
13861 grep -v '^ *+' conftest.er1
>conftest.err
13863 cat conftest.err
>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } &&
13866 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13868 (eval $ac_try) 2>&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); }; } &&
13872 { ac_try
='test -s conftest$ac_exeext'
13873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13874 (eval $ac_try) 2>&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); }; }; then
13878 ac_cv_asm_func_def
=".type @function"
13880 echo "$as_me: failed program was:" >&5
13881 sed 's/^/| /' conftest.
$ac_ext >&5
13883 cat >conftest.
$ac_ext <<_ACEOF
13886 cat confdefs.h
>>conftest.
$ac_ext
13887 cat >>conftest.
$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13889 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13899 rm -f conftest.
$ac_objext conftest
$ac_exeext
13900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13901 (eval $ac_link) 2>conftest.er1
13903 grep -v '^ *+' conftest.er1
>conftest.err
13905 cat conftest.err
>&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; } &&
13914 { ac_try
='test -s conftest$ac_exeext'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; }; then
13920 ac_cv_asm_func_def
=".type 2"
13922 echo "$as_me: failed program was:" >&5
13923 sed 's/^/| /' conftest.
$ac_ext >&5
13925 ac_cv_asm_func_def
="unknown"
13928 rm -f conftest.err conftest.
$ac_objext \
13929 conftest
$ac_exeext conftest.
$ac_ext
13932 rm -f conftest.err conftest.
$ac_objext \
13933 conftest
$ac_exeext conftest.
$ac_ext
13936 rm -f conftest.err conftest.
$ac_objext \
13937 conftest
$ac_exeext conftest.
$ac_ext
13939 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13940 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
13944 case "$ac_cv_asm_func_def" in
13946 cat >>confdefs.h
<<\_ACEOF
13947 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13951 cat >>confdefs.h
<<\_ACEOF
13952 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13956 cat >>confdefs.h
<<\_ACEOF
13957 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13961 cat >>confdefs.h
<<\_ACEOF
13962 #define __ASM_FUNC(name) ""
13968 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13969 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
13970 if test "${ac_cv_c_extern_prefix+set}" = set; then
13971 echo $ECHO_N "(cached) $ECHO_C" >&6
13973 cat >conftest.
$ac_ext <<_ACEOF
13976 cat confdefs.h
>>conftest.
$ac_ext
13977 cat >>conftest.
$ac_ext <<_ACEOF
13978 /* end confdefs.h. */
13979 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13980 extern int ac_test;
13984 if (ac_test) return 1
13989 rm -f conftest.
$ac_objext conftest
$ac_exeext
13990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13991 (eval $ac_link) 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 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000 (eval $ac_try) 2>&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); }; } &&
14004 { ac_try
='test -s conftest$ac_exeext'
14005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14006 (eval $ac_try) 2>&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); }; }; then
14010 ac_cv_c_extern_prefix
="yes"
14012 echo "$as_me: failed program was:" >&5
14013 sed 's/^/| /' conftest.
$ac_ext >&5
14015 ac_cv_c_extern_prefix
="no"
14018 rm -f conftest.err conftest.
$ac_objext \
14019 conftest
$ac_exeext conftest.
$ac_ext
14021 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
14022 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
14026 if test "$ac_cv_c_extern_prefix" = "yes"
14028 cat >>confdefs.h
<<\_ACEOF
14029 #define __ASM_NAME(name) "_" name
14033 cat >>confdefs.h
<<\_ACEOF
14034 #define __ASM_NAME(name) name
14042 DLLFLAGS
="-D_REENTRANT"
14057 if test -n "$ac_tool_prefix"; then
14058 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14059 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14060 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14062 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14063 echo $ECHO_N "(cached) $ECHO_C" >&6
14065 if test -n "$DLLTOOL"; then
14066 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14069 for as_dir
in $PATH
14072 test -z "$as_dir" && as_dir
=.
14073 for ac_exec_ext
in '' $ac_executable_extensions; do
14074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14075 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14085 DLLTOOL
=$ac_cv_prog_DLLTOOL
14086 if test -n "$DLLTOOL"; then
14087 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14088 echo "${ECHO_T}$DLLTOOL" >&6; }
14090 { echo "$as_me:$LINENO: result: no" >&5
14091 echo "${ECHO_T}no" >&6; }
14096 if test -z "$ac_cv_prog_DLLTOOL"; then
14097 ac_ct_DLLTOOL
=$DLLTOOL
14098 # Extract the first word of "dlltool", so it can be a program name with args.
14099 set dummy dlltool
; ac_word
=$2
14100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14102 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 if test -n "$ac_ct_DLLTOOL"; then
14106 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14109 for as_dir
in $PATH
14112 test -z "$as_dir" && as_dir
=.
14113 for ac_exec_ext
in '' $ac_executable_extensions; do
14114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14115 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14125 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14126 if test -n "$ac_ct_DLLTOOL"; then
14127 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14128 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
14130 { echo "$as_me:$LINENO: result: no" >&5
14131 echo "${ECHO_T}no" >&6; }
14134 if test "x$ac_ct_DLLTOOL" = x
; then
14137 case $cross_compiling:$ac_tool_warned in
14139 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14140 whose name does not start with the host triplet. If you think this
14141 configuration is useful to you, please write to autoconf@gnu.org." >&5
14142 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14143 whose name does not start with the host triplet. If you think this
14144 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14145 ac_tool_warned
=yes ;;
14147 DLLTOOL
=$ac_ct_DLLTOOL
14150 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14153 if test -n "$ac_tool_prefix"; then
14154 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
14155 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
14156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14158 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
14159 echo $ECHO_N "(cached) $ECHO_C" >&6
14161 if test -n "$DLLWRAP"; then
14162 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
14164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14165 for as_dir
in $PATH
14168 test -z "$as_dir" && as_dir
=.
14169 for ac_exec_ext
in '' $ac_executable_extensions; do
14170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14171 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
14172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14181 DLLWRAP
=$ac_cv_prog_DLLWRAP
14182 if test -n "$DLLWRAP"; then
14183 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
14184 echo "${ECHO_T}$DLLWRAP" >&6; }
14186 { echo "$as_me:$LINENO: result: no" >&5
14187 echo "${ECHO_T}no" >&6; }
14192 if test -z "$ac_cv_prog_DLLWRAP"; then
14193 ac_ct_DLLWRAP
=$DLLWRAP
14194 # Extract the first word of "dllwrap", so it can be a program name with args.
14195 set dummy dllwrap
; ac_word
=$2
14196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14198 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
14199 echo $ECHO_N "(cached) $ECHO_C" >&6
14201 if test -n "$ac_ct_DLLWRAP"; then
14202 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
14204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14205 for as_dir
in $PATH
14208 test -z "$as_dir" && as_dir
=.
14209 for ac_exec_ext
in '' $ac_executable_extensions; do
14210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
14211 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
14212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14221 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
14222 if test -n "$ac_ct_DLLWRAP"; then
14223 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
14224 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
14226 { echo "$as_me:$LINENO: result: no" >&5
14227 echo "${ECHO_T}no" >&6; }
14230 if test "x$ac_ct_DLLWRAP" = x
; then
14233 case $cross_compiling:$ac_tool_warned in
14235 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14236 whose name does not start with the host triplet. If you think this
14237 configuration is useful to you, please write to autoconf@gnu.org." >&5
14238 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14239 whose name does not start with the host triplet. If you think this
14240 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14241 ac_tool_warned
=yes ;;
14243 DLLWRAP
=$ac_ct_DLLWRAP
14246 DLLWRAP
="$ac_cv_prog_DLLWRAP"
14249 if test "$DLLWRAP" = "false"; then
14259 if test "$ac_cv_header_dlfcn_h" = "yes"
14262 for ac_func
in dlopen
14264 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14265 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14267 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14268 echo $ECHO_N "(cached) $ECHO_C" >&6
14270 cat >conftest.
$ac_ext <<_ACEOF
14273 cat confdefs.h
>>conftest.
$ac_ext
14274 cat >>conftest.
$ac_ext <<_ACEOF
14275 /* end confdefs.h. */
14276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14278 #define $ac_func innocuous_$ac_func
14280 /* System header to define __stub macros and hopefully few prototypes,
14281 which can conflict with char $ac_func (); below.
14282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14283 <limits.h> exists even on freestanding compilers. */
14286 # include <limits.h>
14288 # include <assert.h>
14293 /* Override any GCC internal prototype to avoid an error.
14294 Use char because int might match the return type of a GCC
14295 builtin and then its argument prototype would still apply. */
14300 /* The GNU C library defines this for functions which it implements
14301 to always fail with ENOSYS. Some functions are actually named
14302 something starting with __ and the normal name is an alias. */
14303 #if defined __stub_$ac_func || defined __stub___$ac_func
14310 return $ac_func ();
14315 rm -f conftest.
$ac_objext conftest
$ac_exeext
14316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14317 (eval $ac_link) 2>conftest.er1
14319 grep -v '^ *+' conftest.er1
>conftest.err
14321 cat conftest.err
>&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); } &&
14324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 (eval $ac_try) 2>&5
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; } &&
14330 { ac_try
='test -s conftest$ac_exeext'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; }; then
14336 eval "$as_ac_var=yes"
14338 echo "$as_me: failed program was:" >&5
14339 sed 's/^/| /' conftest.
$ac_ext >&5
14341 eval "$as_ac_var=no"
14344 rm -f conftest.err conftest.
$ac_objext \
14345 conftest
$ac_exeext conftest.
$ac_ext
14347 ac_res
=`eval echo '${'$as_ac_var'}'`
14348 { echo "$as_me:$LINENO: result: $ac_res" >&5
14349 echo "${ECHO_T}$ac_res" >&6; }
14350 if test `eval echo '${'$as_ac_var'}'` = yes; then
14351 cat >>confdefs.h
<<_ACEOF
14352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14356 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14357 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
14358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14359 echo $ECHO_N "(cached) $ECHO_C" >&6
14361 ac_check_lib_save_LIBS
=$LIBS
14363 cat >conftest.
$ac_ext <<_ACEOF
14366 cat confdefs.h
>>conftest.
$ac_ext
14367 cat >>conftest.
$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14385 rm -f conftest.
$ac_objext conftest
$ac_exeext
14386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14387 (eval $ac_link) 2>conftest.er1
14389 grep -v '^ *+' conftest.er1
>conftest.err
14391 cat conftest.err
>&5
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); } &&
14394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14396 (eval $ac_try) 2>&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); }; } &&
14400 { ac_try
='test -s conftest$ac_exeext'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14406 ac_cv_lib_dl_dlopen
=yes
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.
$ac_ext >&5
14411 ac_cv_lib_dl_dlopen
=no
14414 rm -f conftest.err conftest.
$ac_objext \
14415 conftest
$ac_exeext conftest.
$ac_ext
14416 LIBS
=$ac_check_lib_save_LIBS
14418 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14419 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
14420 if test $ac_cv_lib_dl_dlopen = yes; then
14422 cat >>confdefs.h
<<\_ACEOF
14423 #define HAVE_DLOPEN 1
14434 ac_wine_check_funcs_save_LIBS
="$LIBS"
14435 LIBS
="$LIBS $DLLIBS"
14437 for ac_func
in dladdr
14439 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14442 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14443 echo $ECHO_N "(cached) $ECHO_C" >&6
14445 cat >conftest.
$ac_ext <<_ACEOF
14448 cat confdefs.h
>>conftest.
$ac_ext
14449 cat >>conftest.
$ac_ext <<_ACEOF
14450 /* end confdefs.h. */
14451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14453 #define $ac_func innocuous_$ac_func
14455 /* System header to define __stub macros and hopefully few prototypes,
14456 which can conflict with char $ac_func (); below.
14457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14458 <limits.h> exists even on freestanding compilers. */
14461 # include <limits.h>
14463 # include <assert.h>
14468 /* Override any GCC internal prototype to avoid an error.
14469 Use char because int might match the return type of a GCC
14470 builtin and then its argument prototype would still apply. */
14475 /* The GNU C library defines this for functions which it implements
14476 to always fail with ENOSYS. Some functions are actually named
14477 something starting with __ and the normal name is an alias. */
14478 #if defined __stub_$ac_func || defined __stub___$ac_func
14485 return $ac_func ();
14490 rm -f conftest.
$ac_objext conftest
$ac_exeext
14491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14492 (eval $ac_link) 2>conftest.er1
14494 grep -v '^ *+' conftest.er1
>conftest.err
14496 cat conftest.err
>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
14499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14501 (eval $ac_try) 2>&5
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); }; } &&
14505 { ac_try
='test -s conftest$ac_exeext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 eval "$as_ac_var=yes"
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.
$ac_ext >&5
14516 eval "$as_ac_var=no"
14519 rm -f conftest.err conftest.
$ac_objext \
14520 conftest
$ac_exeext conftest.
$ac_ext
14522 ac_res
=`eval echo '${'$as_ac_var'}'`
14523 { echo "$as_me:$LINENO: result: $ac_res" >&5
14524 echo "${ECHO_T}$ac_res" >&6; }
14525 if test `eval echo '${'$as_ac_var'}'` = yes; then
14526 cat >>confdefs.h
<<_ACEOF
14527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14533 LIBS
="$ac_wine_check_funcs_save_LIBS"
14538 if test "$LIBEXT" = "so"
14540 DLLFLAGS
="$DLLFLAGS -fPIC"
14542 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
14543 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
14544 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
14545 echo $ECHO_N "(cached) $ECHO_C" >&6
14547 ac_wine_try_cflags_saved
=$CFLAGS
14548 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
14549 cat >conftest.
$ac_ext <<_ACEOF
14552 rm -f conftest.
$ac_objext conftest
$ac_exeext
14553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14554 (eval $ac_link) 2>conftest.er1
14556 grep -v '^ *+' conftest.er1
>conftest.err
14558 cat conftest.err
>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); } &&
14561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14563 (eval $ac_try) 2>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); }; } &&
14567 { ac_try
='test -s conftest$ac_exeext'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; }; then
14573 ac_cv_c_dll_gnuelf
="yes"
14575 echo "$as_me: failed program was:" >&5
14576 sed 's/^/| /' conftest.
$ac_ext >&5
14578 ac_cv_c_dll_gnuelf
="no"
14581 rm -f conftest.err conftest.
$ac_objext \
14582 conftest
$ac_exeext conftest.
$ac_ext
14583 CFLAGS
=$ac_wine_try_cflags_saved
14585 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
14586 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
14587 if test "$ac_cv_c_dll_gnuelf" = "yes"
14589 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
14590 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
14591 { echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
14592 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6; }
14593 if test "${ac_cv_c_dll_zdefs+set}" = set; then
14594 echo $ECHO_N "(cached) $ECHO_C" >&6
14596 ac_wine_try_cflags_saved
=$CFLAGS
14597 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
14598 cat >conftest.
$ac_ext <<_ACEOF
14601 cat confdefs.h
>>conftest.
$ac_ext
14602 cat >>conftest.
$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14613 rm -f conftest.
$ac_objext conftest
$ac_exeext
14614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14615 (eval $ac_link) 2>conftest.er1
14617 grep -v '^ *+' conftest.er1
>conftest.err
14619 cat conftest.err
>&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); } &&
14622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; } &&
14628 { ac_try
='test -s conftest$ac_exeext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14634 ac_cv_c_dll_zdefs
="yes"
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.
$ac_ext >&5
14639 ac_cv_c_dll_zdefs
="no"
14642 rm -f conftest.err conftest.
$ac_objext \
14643 conftest
$ac_exeext conftest.
$ac_ext
14644 CFLAGS
=$ac_wine_try_cflags_saved
14646 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
14647 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6; }
14648 if test "$ac_cv_c_dll_zdefs" = "yes"
14650 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
14653 { echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
14654 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6; }
14655 if test "${ac_cv_c_dll_init_fini+set}" = set; then
14656 echo $ECHO_N "(cached) $ECHO_C" >&6
14658 ac_wine_try_cflags_saved
=$CFLAGS
14659 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14660 cat >conftest.
$ac_ext <<_ACEOF
14663 cat confdefs.h
>>conftest.
$ac_ext
14664 cat >>conftest.
$ac_ext <<_ACEOF
14665 /* end confdefs.h. */
14675 rm -f conftest.
$ac_objext conftest
$ac_exeext
14676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14677 (eval $ac_link) 2>conftest.er1
14679 grep -v '^ *+' conftest.er1
>conftest.err
14681 cat conftest.err
>&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); } &&
14684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14686 (eval $ac_try) 2>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); }; } &&
14690 { ac_try
='test -s conftest$ac_exeext'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; }; then
14696 ac_cv_c_dll_init_fini
="yes"
14698 echo "$as_me: failed program was:" >&5
14699 sed 's/^/| /' conftest.
$ac_ext >&5
14701 ac_cv_c_dll_init_fini
="no"
14704 rm -f conftest.err conftest.
$ac_objext \
14705 conftest
$ac_exeext conftest.
$ac_ext
14706 CFLAGS
=$ac_wine_try_cflags_saved
14708 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14709 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6; }
14710 if test "$ac_cv_c_dll_init_fini" = "yes"
14712 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14715 { echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14716 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6; }
14717 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14718 echo $ECHO_N "(cached) $ECHO_C" >&6
14720 echo '{ global: *; };' >conftest.map
14721 ac_wine_try_cflags_saved
=$CFLAGS
14722 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14723 cat >conftest.
$ac_ext <<_ACEOF
14726 cat confdefs.h
>>conftest.
$ac_ext
14727 cat >>conftest.
$ac_ext <<_ACEOF
14728 /* end confdefs.h. */
14738 rm -f conftest.
$ac_objext conftest
$ac_exeext
14739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14740 (eval $ac_link) 2>conftest.er1
14742 grep -v '^ *+' conftest.er1
>conftest.err
14744 cat conftest.err
>&5
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } &&
14747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; } &&
14753 { ac_try
='test -s conftest$ac_exeext'
14754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14755 (eval $ac_try) 2>&5
14757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14758 (exit $ac_status); }; }; then
14759 ac_cv_c_ld_version_scripts
="yes"
14761 echo "$as_me: failed program was:" >&5
14762 sed 's/^/| /' conftest.
$ac_ext >&5
14764 ac_cv_c_ld_version_scripts
="no"
14767 rm -f conftest.err conftest.
$ac_objext \
14768 conftest
$ac_exeext conftest.
$ac_ext
14769 CFLAGS
=$ac_wine_try_cflags_saved
14772 { echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14773 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6; }
14774 if test "$ac_cv_c_ld_version_scripts" = "yes"
14776 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14779 { echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14780 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6; }
14781 if test "${ac_cv_c_export_dynamic+set}" = set; then
14782 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 ac_wine_try_cflags_saved
=$CFLAGS
14785 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
14786 cat >conftest.
$ac_ext <<_ACEOF
14789 cat confdefs.h
>>conftest.
$ac_ext
14790 cat >>conftest.
$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14801 rm -f conftest.
$ac_objext conftest
$ac_exeext
14802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14803 (eval $ac_link) 2>conftest.er1
14805 grep -v '^ *+' conftest.er1
>conftest.err
14807 cat conftest.err
>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); } &&
14810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; } &&
14816 { ac_try
='test -s conftest$ac_exeext'
14817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14818 (eval $ac_try) 2>&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); }; }; then
14822 ac_cv_c_export_dynamic
="yes"
14824 echo "$as_me: failed program was:" >&5
14825 sed 's/^/| /' conftest.
$ac_ext >&5
14827 ac_cv_c_export_dynamic
="no"
14830 rm -f conftest.err conftest.
$ac_objext \
14831 conftest
$ac_exeext conftest.
$ac_ext
14832 CFLAGS
=$ac_wine_try_cflags_saved
14834 { echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14835 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6; }
14836 if test "$ac_cv_c_export_dynamic" = "yes"
14838 LDEXECFLAGS
="-Wl,--export-dynamic"
14842 { echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
14843 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6; }
14844 if test "${ac_cv_ld_rpath+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 ac_wine_try_cflags_saved
=$CFLAGS
14848 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
14849 cat >conftest.
$ac_ext <<_ACEOF
14852 cat confdefs.h
>>conftest.
$ac_ext
14853 cat >>conftest.
$ac_ext <<_ACEOF
14854 /* end confdefs.h. */
14864 rm -f conftest.
$ac_objext conftest
$ac_exeext
14865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14866 (eval $ac_link) 2>conftest.er1
14868 grep -v '^ *+' conftest.er1
>conftest.err
14870 cat conftest.err
>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); } &&
14873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; } &&
14879 { ac_try
='test -s conftest$ac_exeext'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; }; then
14885 ac_cv_ld_rpath
="yes"
14887 echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.
$ac_ext >&5
14890 ac_cv_ld_rpath
="no"
14893 rm -f conftest.err conftest.
$ac_objext \
14894 conftest
$ac_exeext conftest.
$ac_ext
14895 CFLAGS
=$ac_wine_try_cflags_saved
14897 { echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
14898 echo "${ECHO_T}$ac_cv_ld_rpath" >&6; }
14899 if test "$ac_cv_ld_rpath" = "yes"
14901 LDEXERPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
14903 LDDLLRPATH
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
14909 { echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
14910 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6; }
14911 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14912 echo $ECHO_N "(cached) $ECHO_C" >&6
14914 ac_wine_try_cflags_saved
=$CFLAGS
14915 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
14916 cat >conftest.
$ac_ext <<_ACEOF
14919 cat confdefs.h
>>conftest.
$ac_ext
14920 cat >>conftest.
$ac_ext <<_ACEOF
14921 /* end confdefs.h. */
14931 rm -f conftest.
$ac_objext conftest
$ac_exeext
14932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14933 (eval $ac_link) 2>conftest.er1
14935 grep -v '^ *+' conftest.er1
>conftest.err
14937 cat conftest.err
>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); } &&
14940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; } &&
14946 { ac_try
='test -s conftest$ac_exeext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 ac_cv_ld_reloc_exec
="yes"
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.
$ac_ext >&5
14957 ac_cv_ld_reloc_exec
="no"
14960 rm -f conftest.err conftest.
$ac_objext \
14961 conftest
$ac_exeext conftest.
$ac_ext
14962 CFLAGS
=$ac_wine_try_cflags_saved
14964 { echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14965 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6; }
14966 if test "$ac_cv_ld_reloc_exec" = "yes"
14968 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
14974 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14975 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
14976 if test "${ac_cv_c_dll_unixware+set}" = set; then
14977 echo $ECHO_N "(cached) $ECHO_C" >&6
14979 ac_wine_try_cflags_saved
=$CFLAGS
14980 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14981 cat >conftest.
$ac_ext <<_ACEOF
14984 rm -f conftest.
$ac_objext conftest
$ac_exeext
14985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14986 (eval $ac_link) 2>conftest.er1
14988 grep -v '^ *+' conftest.er1
>conftest.err
14990 cat conftest.err
>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } &&
14993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14995 (eval $ac_try) 2>&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); }; } &&
14999 { ac_try
='test -s conftest$ac_exeext'
15000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15001 (eval $ac_try) 2>&5
15003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15004 (exit $ac_status); }; }; then
15005 ac_cv_c_dll_unixware
="yes"
15007 echo "$as_me: failed program was:" >&5
15008 sed 's/^/| /' conftest.
$ac_ext >&5
15010 ac_cv_c_dll_unixware
="no"
15013 rm -f conftest.err conftest.
$ac_objext \
15014 conftest
$ac_exeext conftest.
$ac_ext
15015 CFLAGS
=$ac_wine_try_cflags_saved
15017 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
15018 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
15019 if test "$ac_cv_c_dll_unixware" = "yes"
15021 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
15022 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
15025 { echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
15026 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6; }
15027 if test "${ac_cv_c_dll_macho+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 ac_wine_try_cflags_saved
=$CFLAGS
15031 CFLAGS
="$CFLAGS -bundle"
15032 cat >conftest.
$ac_ext <<_ACEOF
15035 rm -f conftest.
$ac_objext conftest
$ac_exeext
15036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15037 (eval $ac_link) 2>conftest.er1
15039 grep -v '^ *+' conftest.er1
>conftest.err
15041 cat conftest.err
>&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } &&
15044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15046 (eval $ac_try) 2>&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); }; } &&
15050 { ac_try
='test -s conftest$ac_exeext'
15051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15052 (eval $ac_try) 2>&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); }; }; then
15056 ac_cv_c_dll_macho
="yes"
15058 echo "$as_me: failed program was:" >&5
15059 sed 's/^/| /' conftest.
$ac_ext >&5
15061 ac_cv_c_dll_macho
="no"
15064 rm -f conftest.err conftest.
$ac_objext \
15065 conftest
$ac_exeext conftest.
$ac_ext
15066 CFLAGS
=$ac_wine_try_cflags_saved
15068 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
15069 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6; }
15070 if test "$ac_cv_c_dll_macho" = "yes"
15073 LDDLLFLAGS
="-bundle"
15074 LDSHARED
="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME) \$(SOVERSION:%=-compatibility_version %)"
15075 STRIP
="$STRIP -u -r"
15076 COREFOUNDATIONLIB
="-framework CoreFoundation"
15078 IOKITLIB
="-framework IOKit -framework CoreFoundation"
15080 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7ffe0000"
15082 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15084 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15089 CFLAGS
="$CFLAGS -ffixed-r13"
15090 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning"
15095 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
15096 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
15097 if test "${ac_cv_c_dll_hpux+set}" = set; then
15098 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 ac_wine_try_cflags_saved
=$CFLAGS
15101 CFLAGS
="$CFLAGS -shared"
15102 cat >conftest.
$ac_ext <<_ACEOF
15105 rm -f conftest.
$ac_objext conftest
$ac_exeext
15106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15107 (eval $ac_link) 2>conftest.er1
15109 grep -v '^ *+' conftest.er1
>conftest.err
15111 cat conftest.err
>&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); } &&
15114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15116 (eval $ac_try) 2>&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); }; } &&
15120 { ac_try
='test -s conftest$ac_exeext'
15121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15122 (eval $ac_try) 2>&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; }; then
15126 ac_cv_c_dll_hpux
="yes"
15128 echo "$as_me: failed program was:" >&5
15129 sed 's/^/| /' conftest.
$ac_ext >&5
15131 ac_cv_c_dll_hpux
="no"
15134 rm -f 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_dll_hpux" >&5
15139 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
15140 if test "$ac_cv_c_dll_hpux" = "yes"
15144 LDDLLFLAGS
="-shared -fPIC"
15145 LDSHARED
="\$(CC) -shared"
15154 if test "$cross_compiling" = "no"
15156 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
15158 # Extract the first word of "$ac_prog", so it can be a program name with args.
15159 set dummy
$ac_prog; ac_word
=$2
15160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15162 if test "${ac_cv_prog_CROSSCC+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15165 if test -n "$CROSSCC"; then
15166 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
15168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15169 for as_dir
in $PATH
15172 test -z "$as_dir" && as_dir
=.
15173 for ac_exec_ext
in '' $ac_executable_extensions; do
15174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15175 ac_cv_prog_CROSSCC
="$ac_prog"
15176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15185 CROSSCC
=$ac_cv_prog_CROSSCC
15186 if test -n "$CROSSCC"; then
15187 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
15188 echo "${ECHO_T}$CROSSCC" >&6; }
15190 { echo "$as_me:$LINENO: result: no" >&5
15191 echo "${ECHO_T}no" >&6; }
15195 test -n "$CROSSCC" && break
15197 test -n "$CROSSCC" || CROSSCC
="false"
15199 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
15201 # Extract the first word of "$ac_prog", so it can be a program name with args.
15202 set dummy
$ac_prog; ac_word
=$2
15203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15205 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 if test -n "$DLLTOOL"; then
15209 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
15211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15212 for as_dir
in $PATH
15215 test -z "$as_dir" && as_dir
=.
15216 for ac_exec_ext
in '' $ac_executable_extensions; do
15217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15218 ac_cv_prog_DLLTOOL
="$ac_prog"
15219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15228 DLLTOOL
=$ac_cv_prog_DLLTOOL
15229 if test -n "$DLLTOOL"; then
15230 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15231 echo "${ECHO_T}$DLLTOOL" >&6; }
15233 { echo "$as_me:$LINENO: result: no" >&5
15234 echo "${ECHO_T}no" >&6; }
15238 test -n "$DLLTOOL" && break
15240 test -n "$DLLTOOL" || DLLTOOL
="false"
15242 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
15244 # Extract the first word of "$ac_prog", so it can be a program name with args.
15245 set dummy
$ac_prog; ac_word
=$2
15246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15248 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
15249 echo $ECHO_N "(cached) $ECHO_C" >&6
15251 if test -n "$CROSSWINDRES"; then
15252 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
15254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15255 for as_dir
in $PATH
15258 test -z "$as_dir" && as_dir
=.
15259 for ac_exec_ext
in '' $ac_executable_extensions; do
15260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15261 ac_cv_prog_CROSSWINDRES
="$ac_prog"
15262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15271 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
15272 if test -n "$CROSSWINDRES"; then
15273 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
15274 echo "${ECHO_T}$CROSSWINDRES" >&6; }
15276 { echo "$as_me:$LINENO: result: no" >&5
15277 echo "${ECHO_T}no" >&6; }
15281 test -n "$CROSSWINDRES" && break
15283 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
15285 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
15290 if test "$LIBEXT" = "a"; then
15291 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
15292 It is currently not possible to build Wine without shared library
15293 (.so) support to allow transparent switch between .so and .dll files.
15294 If you are using Linux, you will need a newer binutils.
15296 echo "$as_me: error: could not find a way to build shared libraries.
15297 It is currently not possible to build Wine without shared library
15298 (.so) support to allow transparent switch between .so and .dll files.
15299 If you are using Linux, you will need a newer binutils.
15301 { (exit 1); exit 1; }; }
15306 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
15309 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
15312 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
15320 SOCKETLIBS
="-lws2_32"
15328 linux
* | k
*bsd
*-gnu)
15329 MAIN_BINARY
="wine-glibc"
15331 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
15334 MAIN_BINARY
="wine-pthread"
15337 MAIN_BINARY
="wine-kthread"
15341 *) MAIN_BINARY
="wine-pthread"
15346 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
15348 # Extract the first word of "ldd", so it can be a program name with args.
15349 set dummy ldd
; ac_word
=$2
15350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15352 if test "${ac_cv_path_LDD+set}" = set; then
15353 echo $ECHO_N "(cached) $ECHO_C" >&6
15357 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
15360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15361 as_dummy
="/sbin:/usr/sbin:$PATH"
15362 for as_dir
in $as_dummy
15365 test -z "$as_dir" && as_dir
=.
15366 for ac_exec_ext
in '' $ac_executable_extensions; do
15367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15368 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
15369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15376 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
15380 LDD
=$ac_cv_path_LDD
15381 if test -n "$LDD"; then
15382 { echo "$as_me:$LINENO: result: $LDD" >&5
15383 echo "${ECHO_T}$LDD" >&6; }
15385 { echo "$as_me:$LINENO: result: no" >&5
15386 echo "${ECHO_T}no" >&6; }
15390 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
15391 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
15392 if test "${ac_cv_lib_soname_X11+set}" = set; then
15393 echo $ECHO_N "(cached) $ECHO_C" >&6
15395 ac_get_soname_save_LIBS
=$LIBS
15396 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
15397 cat >conftest.
$ac_ext <<_ACEOF
15400 cat confdefs.h
>>conftest.
$ac_ext
15401 cat >>conftest.
$ac_ext <<_ACEOF
15402 /* end confdefs.h. */
15404 /* Override any GCC internal prototype to avoid an error.
15405 Use char because int might match the return type of a GCC
15406 builtin and then its argument prototype would still apply. */
15410 char XCreateWindow ();
15414 return XCreateWindow ();
15419 rm -f conftest.
$ac_objext conftest
$ac_exeext
15420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15421 (eval $ac_link) 2>conftest.er1
15423 grep -v '^ *+' conftest.er1
>conftest.err
15425 cat conftest.err
>&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } &&
15428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15430 (eval $ac_try) 2>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); }; } &&
15434 { ac_try
='test -s conftest$ac_exeext'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; }; then
15440 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15441 if test "x$ac_cv_lib_soname_X11" = "x"
15443 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
15446 echo "$as_me: failed program was:" >&5
15447 sed 's/^/| /' conftest.
$ac_ext >&5
15449 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
15452 rm -f conftest.err conftest.
$ac_objext \
15453 conftest
$ac_exeext conftest.
$ac_ext
15454 LIBS
=$ac_get_soname_save_LIBS
15456 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
15457 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
15458 if test "${ac_cv_lib_soname_X11+set}" = set; then
15460 cat >>confdefs.h
<<_ACEOF
15461 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
15466 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
15467 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
15468 if test "${ac_cv_lib_soname_Xext+set}" = set; then
15469 echo $ECHO_N "(cached) $ECHO_C" >&6
15471 ac_get_soname_save_LIBS
=$LIBS
15472 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
15473 cat >conftest.
$ac_ext <<_ACEOF
15476 cat confdefs.h
>>conftest.
$ac_ext
15477 cat >>conftest.
$ac_ext <<_ACEOF
15478 /* end confdefs.h. */
15480 /* Override any GCC internal prototype to avoid an error.
15481 Use char because int might match the return type of a GCC
15482 builtin and then its argument prototype would still apply. */
15486 char XextCreateExtension ();
15490 return XextCreateExtension ();
15495 rm -f conftest.
$ac_objext conftest
$ac_exeext
15496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15497 (eval $ac_link) 2>conftest.er1
15499 grep -v '^ *+' conftest.er1
>conftest.err
15501 cat conftest.err
>&5
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); } &&
15504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15506 (eval $ac_try) 2>&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; } &&
15510 { ac_try
='test -s conftest$ac_exeext'
15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15512 (eval $ac_try) 2>&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); }; }; then
15516 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15517 if test "x$ac_cv_lib_soname_Xext" = "x"
15519 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
15522 echo "$as_me: failed program was:" >&5
15523 sed 's/^/| /' conftest.
$ac_ext >&5
15525 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
15528 rm -f conftest.err conftest.
$ac_objext \
15529 conftest
$ac_exeext conftest.
$ac_ext
15530 LIBS
=$ac_get_soname_save_LIBS
15532 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
15533 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
15534 if test "${ac_cv_lib_soname_Xext+set}" = set; then
15536 cat >>confdefs.h
<<_ACEOF
15537 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
15542 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
15543 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
15544 if test "${ac_cv_lib_soname_Xi+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15547 ac_get_soname_save_LIBS
=$LIBS
15548 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15549 cat >conftest.
$ac_ext <<_ACEOF
15552 cat confdefs.h
>>conftest.
$ac_ext
15553 cat >>conftest.
$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15556 /* Override any GCC internal prototype to avoid an error.
15557 Use char because int might match the return type of a GCC
15558 builtin and then its argument prototype would still apply. */
15562 char XOpenDevice ();
15566 return XOpenDevice ();
15571 rm -f conftest.
$ac_objext conftest
$ac_exeext
15572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15573 (eval $ac_link) 2>conftest.er1
15575 grep -v '^ *+' conftest.er1
>conftest.err
15577 cat conftest.err
>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; } &&
15586 { ac_try
='test -s conftest$ac_exeext'
15587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15588 (eval $ac_try) 2>&5
15590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15591 (exit $ac_status); }; }; then
15592 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15593 if test "x$ac_cv_lib_soname_Xi" = "x"
15595 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
15598 echo "$as_me: failed program was:" >&5
15599 sed 's/^/| /' conftest.
$ac_ext >&5
15601 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
15604 rm -f conftest.err conftest.
$ac_objext \
15605 conftest
$ac_exeext conftest.
$ac_ext
15606 LIBS
=$ac_get_soname_save_LIBS
15608 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
15609 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
15610 if test "${ac_cv_lib_soname_Xi+set}" = set; then
15612 cat >>confdefs.h
<<_ACEOF
15613 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
15618 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
15619 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
15620 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
15621 echo $ECHO_N "(cached) $ECHO_C" >&6
15623 ac_get_soname_save_LIBS
=$LIBS
15624 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15625 cat >conftest.
$ac_ext <<_ACEOF
15628 cat confdefs.h
>>conftest.
$ac_ext
15629 cat >>conftest.
$ac_ext <<_ACEOF
15630 /* end confdefs.h. */
15632 /* Override any GCC internal prototype to avoid an error.
15633 Use char because int might match the return type of a GCC
15634 builtin and then its argument prototype would still apply. */
15638 char XRenderQueryExtension ();
15642 return XRenderQueryExtension ();
15647 rm -f conftest.
$ac_objext conftest
$ac_exeext
15648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15649 (eval $ac_link) 2>conftest.er1
15651 grep -v '^ *+' conftest.er1
>conftest.err
15653 cat conftest.err
>&5
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); } &&
15656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15658 (eval $ac_try) 2>&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); }; } &&
15662 { ac_try
='test -s conftest$ac_exeext'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; }; then
15668 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15669 if test "x$ac_cv_lib_soname_Xrender" = "x"
15671 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
15674 echo "$as_me: failed program was:" >&5
15675 sed 's/^/| /' conftest.
$ac_ext >&5
15677 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
15680 rm -f conftest.err conftest.
$ac_objext \
15681 conftest
$ac_exeext conftest.
$ac_ext
15682 LIBS
=$ac_get_soname_save_LIBS
15684 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
15685 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
15686 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
15688 cat >>confdefs.h
<<_ACEOF
15689 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
15694 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
15695 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
15696 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 ac_get_soname_save_LIBS
=$LIBS
15700 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15701 cat >conftest.
$ac_ext <<_ACEOF
15704 cat confdefs.h
>>conftest.
$ac_ext
15705 cat >>conftest.
$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15708 /* Override any GCC internal prototype to avoid an error.
15709 Use char because int might match the return type of a GCC
15710 builtin and then its argument prototype would still apply. */
15714 char XRRQueryExtension ();
15718 return XRRQueryExtension ();
15723 rm -f conftest.
$ac_objext conftest
$ac_exeext
15724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15725 (eval $ac_link) 2>conftest.er1
15727 grep -v '^ *+' conftest.er1
>conftest.err
15729 cat conftest.err
>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } &&
15732 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15734 (eval $ac_try) 2>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); }; } &&
15738 { ac_try
='test -s conftest$ac_exeext'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; }; then
15744 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15745 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15747 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.
$ac_ext >&5
15753 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
15756 rm -f conftest.err conftest.
$ac_objext \
15757 conftest
$ac_exeext conftest.
$ac_ext
15758 LIBS
=$ac_get_soname_save_LIBS
15760 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
15761 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
15762 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
15764 cat >>confdefs.h
<<_ACEOF
15765 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
15770 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
15771 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
15772 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15773 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 ac_get_soname_save_LIBS
=$LIBS
15776 LIBS
="-lfreetype $X_LIBS $LIBS"
15777 cat >conftest.
$ac_ext <<_ACEOF
15780 cat confdefs.h
>>conftest.
$ac_ext
15781 cat >>conftest.
$ac_ext <<_ACEOF
15782 /* end confdefs.h. */
15784 /* Override any GCC internal prototype to avoid an error.
15785 Use char because int might match the return type of a GCC
15786 builtin and then its argument prototype would still apply. */
15790 char FT_Init_FreeType ();
15794 return FT_Init_FreeType ();
15799 rm -f conftest.
$ac_objext conftest
$ac_exeext
15800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15801 (eval $ac_link) 2>conftest.er1
15803 grep -v '^ *+' conftest.er1
>conftest.err
15805 cat conftest.err
>&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); } &&
15808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15810 (eval $ac_try) 2>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); }; } &&
15814 { ac_try
='test -s conftest$ac_exeext'
15815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15816 (eval $ac_try) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; }; then
15820 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15821 if test "x$ac_cv_lib_soname_freetype" = "x"
15823 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
15826 echo "$as_me: failed program was:" >&5
15827 sed 's/^/| /' conftest.
$ac_ext >&5
15829 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
15832 rm -f conftest.err conftest.
$ac_objext \
15833 conftest
$ac_exeext conftest.
$ac_ext
15834 LIBS
=$ac_get_soname_save_LIBS
15836 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15837 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
15838 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15840 cat >>confdefs.h
<<_ACEOF
15841 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15846 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
15847 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
15848 if test "${ac_cv_lib_soname_GL+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 ac_get_soname_save_LIBS
=$LIBS
15852 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15853 cat >conftest.
$ac_ext <<_ACEOF
15856 cat confdefs.h
>>conftest.
$ac_ext
15857 cat >>conftest.
$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15860 /* Override any GCC internal prototype to avoid an error.
15861 Use char because int might match the return type of a GCC
15862 builtin and then its argument prototype would still apply. */
15866 char glXQueryExtension ();
15870 return glXQueryExtension ();
15875 rm -f conftest.
$ac_objext conftest
$ac_exeext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15877 (eval $ac_link) 2>conftest.er1
15879 grep -v '^ *+' conftest.er1
>conftest.err
15881 cat conftest.err
>&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } &&
15884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; } &&
15890 { ac_try
='test -s conftest$ac_exeext'
15891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892 (eval $ac_try) 2>&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); }; }; then
15896 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15897 if test "x$ac_cv_lib_soname_GL" = "x"
15899 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.
$ac_ext >&5
15905 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15908 rm -f conftest.err conftest.
$ac_objext \
15909 conftest
$ac_exeext conftest.
$ac_ext
15910 LIBS
=$ac_get_soname_save_LIBS
15912 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15913 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
15914 if test "${ac_cv_lib_soname_GL+set}" = set; then
15916 cat >>confdefs.h
<<_ACEOF
15917 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15922 { echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
15923 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6; }
15924 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15927 ac_get_soname_save_LIBS
=$LIBS
15928 LIBS
="-ldbus-1 $LIBS"
15929 cat >conftest.
$ac_ext <<_ACEOF
15932 cat confdefs.h
>>conftest.
$ac_ext
15933 cat >>conftest.
$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15936 /* Override any GCC internal prototype to avoid an error.
15937 Use char because int might match the return type of a GCC
15938 builtin and then its argument prototype would still apply. */
15942 char dbus_error_init ();
15946 return dbus_error_init ();
15951 rm -f conftest.
$ac_objext conftest
$ac_exeext
15952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15953 (eval $ac_link) 2>conftest.er1
15955 grep -v '^ *+' conftest.er1
>conftest.err
15957 cat conftest.err
>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } &&
15960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15962 (eval $ac_try) 2>&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; } &&
15966 { ac_try
='test -s conftest$ac_exeext'
15967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15968 (eval $ac_try) 2>&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); }; }; then
15972 ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest$ac_exeext | grep libdbus-1\\.$LIBEXT | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15973 if test "x$ac_cv_lib_soname_dbus_1" = "x"
15975 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
15978 echo "$as_me: failed program was:" >&5
15979 sed 's/^/| /' conftest.
$ac_ext >&5
15981 ac_cv_lib_soname_dbus_1
="libdbus-1.$LIBEXT"
15984 rm -f conftest.err conftest.
$ac_objext \
15985 conftest
$ac_exeext conftest.
$ac_ext
15986 LIBS
=$ac_get_soname_save_LIBS
15988 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
15989 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6; }
15990 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
15992 cat >>confdefs.h
<<_ACEOF
15993 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
15998 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
15999 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
16000 if test "${ac_cv_lib_soname_hal+set}" = set; then
16001 echo $ECHO_N "(cached) $ECHO_C" >&6
16003 ac_get_soname_save_LIBS
=$LIBS
16005 cat >conftest.
$ac_ext <<_ACEOF
16008 cat confdefs.h
>>conftest.
$ac_ext
16009 cat >>conftest.
$ac_ext <<_ACEOF
16010 /* end confdefs.h. */
16012 /* Override any GCC internal prototype to avoid an error.
16013 Use char because int might match the return type of a GCC
16014 builtin and then its argument prototype would still apply. */
16018 char libhal_ctx_new ();
16022 return libhal_ctx_new ();
16027 rm -f conftest.
$ac_objext conftest
$ac_exeext
16028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16029 (eval $ac_link) 2>conftest.er1
16031 grep -v '^ *+' conftest.er1
>conftest.err
16033 cat conftest.err
>&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); } &&
16036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; } &&
16042 { ac_try
='test -s conftest$ac_exeext'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16049 if test "x$ac_cv_lib_soname_hal" = "x"
16051 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.
$ac_ext >&5
16057 ac_cv_lib_soname_hal
="libhal.$LIBEXT"
16060 rm -f conftest.err conftest.
$ac_objext \
16061 conftest
$ac_exeext conftest.
$ac_ext
16062 LIBS
=$ac_get_soname_save_LIBS
16064 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
16065 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
16066 if test "${ac_cv_lib_soname_hal+set}" = set; then
16068 cat >>confdefs.h
<<_ACEOF
16069 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
16074 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
16075 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
16076 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
16077 echo $ECHO_N "(cached) $ECHO_C" >&6
16079 ac_get_soname_save_LIBS
=$LIBS
16080 LIBS
="-ltxc_dxtn $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. */
16094 char fetch_2d_texel_rgba_dxt1 ();
16098 return fetch_2d_texel_rgba_dxt1 ();
16103 rm -f conftest.
$ac_objext conftest
$ac_exeext
16104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16105 (eval $ac_link) 2>conftest.er1
16107 grep -v '^ *+' conftest.er1
>conftest.err
16109 cat conftest.err
>&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); } &&
16112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16114 (eval $ac_try) 2>&5
16116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16117 (exit $ac_status); }; } &&
16118 { ac_try
='test -s conftest$ac_exeext'
16119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16120 (eval $ac_try) 2>&5
16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123 (exit $ac_status); }; }; then
16124 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16125 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
16127 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
16130 echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.
$ac_ext >&5
16133 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
16136 rm -f conftest.err conftest.
$ac_objext \
16137 conftest
$ac_exeext conftest.
$ac_ext
16138 LIBS
=$ac_get_soname_save_LIBS
16140 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
16141 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
16142 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
16144 cat >>confdefs.h
<<_ACEOF
16145 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
16150 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
16151 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
16152 if test "${ac_cv_lib_soname_cups+set}" = set; then
16153 echo $ECHO_N "(cached) $ECHO_C" >&6
16155 ac_get_soname_save_LIBS
=$LIBS
16156 LIBS
="-lcups $LIBS"
16157 cat >conftest.
$ac_ext <<_ACEOF
16160 cat confdefs.h
>>conftest.
$ac_ext
16161 cat >>conftest.
$ac_ext <<_ACEOF
16162 /* end confdefs.h. */
16164 /* Override any GCC internal prototype to avoid an error.
16165 Use char because int might match the return type of a GCC
16166 builtin and then its argument prototype would still apply. */
16170 char cupsGetDefault ();
16174 return cupsGetDefault ();
16179 rm -f conftest.
$ac_objext conftest
$ac_exeext
16180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16181 (eval $ac_link) 2>conftest.er1
16183 grep -v '^ *+' conftest.er1
>conftest.err
16185 cat conftest.err
>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); } &&
16188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; } &&
16194 { ac_try
='test -s conftest$ac_exeext'
16195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16196 (eval $ac_try) 2>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); }; }; then
16200 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16201 if test "x$ac_cv_lib_soname_cups" = "x"
16203 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
16206 echo "$as_me: failed program was:" >&5
16207 sed 's/^/| /' conftest.
$ac_ext >&5
16209 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
16212 rm -f conftest.err conftest.
$ac_objext \
16213 conftest
$ac_exeext conftest.
$ac_ext
16214 LIBS
=$ac_get_soname_save_LIBS
16216 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
16217 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
16218 if test "${ac_cv_lib_soname_cups+set}" = set; then
16220 cat >>confdefs.h
<<_ACEOF
16221 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
16226 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
16227 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
16228 if test "${ac_cv_lib_soname_jack+set}" = set; then
16229 echo $ECHO_N "(cached) $ECHO_C" >&6
16231 ac_get_soname_save_LIBS
=$LIBS
16232 LIBS
="-ljack $LIBS"
16233 cat >conftest.
$ac_ext <<_ACEOF
16236 cat confdefs.h
>>conftest.
$ac_ext
16237 cat >>conftest.
$ac_ext <<_ACEOF
16238 /* end confdefs.h. */
16240 /* Override any GCC internal prototype to avoid an error.
16241 Use char because int might match the return type of a GCC
16242 builtin and then its argument prototype would still apply. */
16246 char jack_client_new ();
16250 return jack_client_new ();
16255 rm -f conftest.
$ac_objext conftest
$ac_exeext
16256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16257 (eval $ac_link) 2>conftest.er1
16259 grep -v '^ *+' conftest.er1
>conftest.err
16261 cat conftest.err
>&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); } &&
16264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; } &&
16270 { ac_try
='test -s conftest$ac_exeext'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; }; then
16276 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16277 if test "x$ac_cv_lib_soname_jack" = "x"
16279 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.
$ac_ext >&5
16285 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
16288 rm -f conftest.err conftest.
$ac_objext \
16289 conftest
$ac_exeext conftest.
$ac_ext
16290 LIBS
=$ac_get_soname_save_LIBS
16292 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
16293 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
16294 if test "${ac_cv_lib_soname_jack+set}" = set; then
16296 cat >>confdefs.h
<<_ACEOF
16297 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
16302 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
16303 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
16304 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
16305 echo $ECHO_N "(cached) $ECHO_C" >&6
16307 ac_get_soname_save_LIBS
=$LIBS
16308 LIBS
="-lfontconfig $LIBS"
16309 cat >conftest.
$ac_ext <<_ACEOF
16312 cat confdefs.h
>>conftest.
$ac_ext
16313 cat >>conftest.
$ac_ext <<_ACEOF
16314 /* end confdefs.h. */
16316 /* Override any GCC internal prototype to avoid an error.
16317 Use char because int might match the return type of a GCC
16318 builtin and then its argument prototype would still apply. */
16331 rm -f conftest.
$ac_objext conftest
$ac_exeext
16332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16333 (eval $ac_link) 2>conftest.er1
16335 grep -v '^ *+' conftest.er1
>conftest.err
16337 cat conftest.err
>&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); } &&
16340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); }; } &&
16346 { ac_try
='test -s conftest$ac_exeext'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; }; then
16352 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16353 if test "x$ac_cv_lib_soname_fontconfig" = "x"
16355 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.
$ac_ext >&5
16361 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
16364 rm -f conftest.err conftest.
$ac_objext \
16365 conftest
$ac_exeext conftest.
$ac_ext
16366 LIBS
=$ac_get_soname_save_LIBS
16368 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
16369 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
16370 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
16372 cat >>confdefs.h
<<_ACEOF
16373 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
16378 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
16379 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
16380 if test "${ac_cv_lib_soname_ssl+set}" = set; then
16381 echo $ECHO_N "(cached) $ECHO_C" >&6
16383 ac_get_soname_save_LIBS
=$LIBS
16385 cat >conftest.
$ac_ext <<_ACEOF
16388 cat confdefs.h
>>conftest.
$ac_ext
16389 cat >>conftest.
$ac_ext <<_ACEOF
16390 /* end confdefs.h. */
16392 /* Override any GCC internal prototype to avoid an error.
16393 Use char because int might match the return type of a GCC
16394 builtin and then its argument prototype would still apply. */
16398 char SSL_library_init ();
16402 return SSL_library_init ();
16407 rm -f conftest.
$ac_objext conftest
$ac_exeext
16408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16409 (eval $ac_link) 2>conftest.er1
16411 grep -v '^ *+' conftest.er1
>conftest.err
16413 cat conftest.err
>&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); } &&
16416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16418 (eval $ac_try) 2>&5
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); }; } &&
16422 { ac_try
='test -s conftest$ac_exeext'
16423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16424 (eval $ac_try) 2>&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); }; }; then
16428 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16429 if test "x$ac_cv_lib_soname_ssl" = "x"
16431 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
16434 echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.
$ac_ext >&5
16437 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
16440 rm -f conftest.err conftest.
$ac_objext \
16441 conftest
$ac_exeext conftest.
$ac_ext
16442 LIBS
=$ac_get_soname_save_LIBS
16444 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
16445 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
16446 if test "${ac_cv_lib_soname_ssl+set}" = set; then
16448 cat >>confdefs.h
<<_ACEOF
16449 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
16454 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
16455 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
16456 if test "${ac_cv_lib_soname_crypto+set}" = set; then
16457 echo $ECHO_N "(cached) $ECHO_C" >&6
16459 ac_get_soname_save_LIBS
=$LIBS
16460 LIBS
="-lcrypto $LIBS"
16461 cat >conftest.
$ac_ext <<_ACEOF
16464 cat confdefs.h
>>conftest.
$ac_ext
16465 cat >>conftest.
$ac_ext <<_ACEOF
16466 /* end confdefs.h. */
16468 /* Override any GCC internal prototype to avoid an error.
16469 Use char because int might match the return type of a GCC
16470 builtin and then its argument prototype would still apply. */
16474 char BIO_new_socket ();
16478 return BIO_new_socket ();
16483 rm -f conftest.
$ac_objext conftest
$ac_exeext
16484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16485 (eval $ac_link) 2>conftest.er1
16487 grep -v '^ *+' conftest.er1
>conftest.err
16489 cat conftest.err
>&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } &&
16492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16494 (eval $ac_try) 2>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); }; } &&
16498 { ac_try
='test -s conftest$ac_exeext'
16499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16500 (eval $ac_try) 2>&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); }; }; then
16504 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16505 if test "x$ac_cv_lib_soname_crypto" = "x"
16507 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
16510 echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.
$ac_ext >&5
16513 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
16516 rm -f conftest.err conftest.
$ac_objext \
16517 conftest
$ac_exeext conftest.
$ac_ext
16518 LIBS
=$ac_get_soname_save_LIBS
16520 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
16521 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
16522 if test "${ac_cv_lib_soname_crypto+set}" = set; then
16524 cat >>confdefs.h
<<_ACEOF
16525 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
16530 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
16531 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
16532 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16535 ac_get_soname_save_LIBS
=$LIBS
16536 LIBS
="-lncurses $LIBS"
16537 cat >conftest.
$ac_ext <<_ACEOF
16540 cat confdefs.h
>>conftest.
$ac_ext
16541 cat >>conftest.
$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16544 /* Override any GCC internal prototype to avoid an error.
16545 Use char because int might match the return type of a GCC
16546 builtin and then its argument prototype would still apply. */
16559 rm -f conftest.
$ac_objext conftest
$ac_exeext
16560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16561 (eval $ac_link) 2>conftest.er1
16563 grep -v '^ *+' conftest.er1
>conftest.err
16565 cat conftest.err
>&5
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } &&
16568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; } &&
16574 { ac_try
='test -s conftest$ac_exeext'
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 (eval $ac_try) 2>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; }; then
16580 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16581 if test "x$ac_cv_lib_soname_ncurses" = "x"
16583 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
16586 echo "$as_me: failed program was:" >&5
16587 sed 's/^/| /' conftest.
$ac_ext >&5
16589 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
16592 rm -f conftest.err conftest.
$ac_objext \
16593 conftest
$ac_exeext conftest.
$ac_ext
16594 LIBS
=$ac_get_soname_save_LIBS
16596 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
16597 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
16598 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
16600 cat >>confdefs.h
<<_ACEOF
16601 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
16606 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
16607 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
16608 if test "${ac_cv_lib_soname_curses+set}" = set; then
16609 echo $ECHO_N "(cached) $ECHO_C" >&6
16611 ac_get_soname_save_LIBS
=$LIBS
16612 LIBS
="-lcurses $LIBS"
16613 cat >conftest.
$ac_ext <<_ACEOF
16616 cat confdefs.h
>>conftest.
$ac_ext
16617 cat >>conftest.
$ac_ext <<_ACEOF
16618 /* end confdefs.h. */
16620 /* Override any GCC internal prototype to avoid an error.
16621 Use char because int might match the return type of a GCC
16622 builtin and then its argument prototype would still apply. */
16635 rm -f conftest.
$ac_objext conftest
$ac_exeext
16636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16637 (eval $ac_link) 2>conftest.er1
16639 grep -v '^ *+' conftest.er1
>conftest.err
16641 cat conftest.err
>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } &&
16644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; } &&
16650 { ac_try
='test -s conftest$ac_exeext'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; }; then
16656 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16657 if test "x$ac_cv_lib_soname_curses" = "x"
16659 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.
$ac_ext >&5
16665 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
16668 rm -f conftest.err conftest.
$ac_objext \
16669 conftest
$ac_exeext conftest.
$ac_ext
16670 LIBS
=$ac_get_soname_save_LIBS
16672 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
16673 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
16674 if test "${ac_cv_lib_soname_curses+set}" = set; then
16676 cat >>confdefs.h
<<_ACEOF
16677 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
16682 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
16683 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
16684 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 ac_get_soname_save_LIBS
=$LIBS
16688 LIBS
="-ljpeg $LIBS"
16689 cat >conftest.
$ac_ext <<_ACEOF
16692 cat confdefs.h
>>conftest.
$ac_ext
16693 cat >>conftest.
$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16696 /* Override any GCC internal prototype to avoid an error.
16697 Use char because int might match the return type of a GCC
16698 builtin and then its argument prototype would still apply. */
16702 char jpeg_start_decompress ();
16706 return jpeg_start_decompress ();
16711 rm -f conftest.
$ac_objext conftest
$ac_exeext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16713 (eval $ac_link) 2>conftest.er1
16715 grep -v '^ *+' conftest.er1
>conftest.err
16717 cat conftest.err
>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } &&
16720 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; } &&
16726 { ac_try
='test -s conftest$ac_exeext'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; }; then
16732 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16733 if test "x$ac_cv_lib_soname_jpeg" = "x"
16735 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
16738 echo "$as_me: failed program was:" >&5
16739 sed 's/^/| /' conftest.
$ac_ext >&5
16741 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
16744 rm -f conftest.err conftest.
$ac_objext \
16745 conftest
$ac_exeext conftest.
$ac_ext
16746 LIBS
=$ac_get_soname_save_LIBS
16748 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
16749 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
16750 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
16752 cat >>confdefs.h
<<_ACEOF
16753 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16758 { echo "$as_me:$LINENO: checking for -lungif soname" >&5
16759 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6; }
16760 if test "${ac_cv_lib_soname_ungif+set}" = set; then
16761 echo $ECHO_N "(cached) $ECHO_C" >&6
16763 ac_get_soname_save_LIBS
=$LIBS
16764 LIBS
="-lungif $LIBS"
16765 cat >conftest.
$ac_ext <<_ACEOF
16768 cat confdefs.h
>>conftest.
$ac_ext
16769 cat >>conftest.
$ac_ext <<_ACEOF
16770 /* end confdefs.h. */
16772 /* Override any GCC internal prototype to avoid an error.
16773 Use char because int might match the return type of a GCC
16774 builtin and then its argument prototype would still apply. */
16782 return DGifOpen ();
16787 rm -f conftest.
$ac_objext conftest
$ac_exeext
16788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16789 (eval $ac_link) 2>conftest.er1
16791 grep -v '^ *+' conftest.er1
>conftest.err
16793 cat conftest.err
>&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } &&
16796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; } &&
16802 { ac_try
='test -s conftest$ac_exeext'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; }; then
16808 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16809 if test "x$ac_cv_lib_soname_ungif" = "x"
16811 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.
$ac_ext >&5
16817 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
16820 rm -f conftest.err conftest.
$ac_objext \
16821 conftest
$ac_exeext conftest.
$ac_ext
16822 LIBS
=$ac_get_soname_save_LIBS
16824 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
16825 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6; }
16826 if test "${ac_cv_lib_soname_ungif+set}" = set; then
16828 cat >>confdefs.h
<<_ACEOF
16829 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
16834 { echo "$as_me:$LINENO: checking for -lgif soname" >&5
16835 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6; }
16836 if test "${ac_cv_lib_soname_gif+set}" = set; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 ac_get_soname_save_LIBS
=$LIBS
16841 cat >conftest.
$ac_ext <<_ACEOF
16844 cat confdefs.h
>>conftest.
$ac_ext
16845 cat >>conftest.
$ac_ext <<_ACEOF
16846 /* end confdefs.h. */
16848 /* Override any GCC internal prototype to avoid an error.
16849 Use char because int might match the return type of a GCC
16850 builtin and then its argument prototype would still apply. */
16858 return DGifOpen ();
16863 rm -f conftest.
$ac_objext conftest
$ac_exeext
16864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16865 (eval $ac_link) 2>conftest.er1
16867 grep -v '^ *+' conftest.er1
>conftest.err
16869 cat conftest.err
>&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } &&
16872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16874 (eval $ac_try) 2>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } &&
16878 { ac_try
='test -s conftest$ac_exeext'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; }; then
16884 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16885 if test "x$ac_cv_lib_soname_gif" = "x"
16887 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.
$ac_ext >&5
16893 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
16896 rm -f conftest.err conftest.
$ac_objext \
16897 conftest
$ac_exeext conftest.
$ac_ext
16898 LIBS
=$ac_get_soname_save_LIBS
16900 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
16901 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6; }
16902 if test "${ac_cv_lib_soname_gif+set}" = set; then
16904 cat >>confdefs.h
<<_ACEOF
16905 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
16910 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
16911 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
16912 if test "${ac_cv_lib_soname_capi20+set}" = set; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16915 ac_get_soname_save_LIBS
=$LIBS
16916 LIBS
="-lcapi20 $LIBS"
16917 cat >conftest.
$ac_ext <<_ACEOF
16920 cat confdefs.h
>>conftest.
$ac_ext
16921 cat >>conftest.
$ac_ext <<_ACEOF
16922 /* end confdefs.h. */
16924 /* Override any GCC internal prototype to avoid an error.
16925 Use char because int might match the return type of a GCC
16926 builtin and then its argument prototype would still apply. */
16930 char capi20_isinstalled ();
16934 return capi20_isinstalled ();
16939 rm -f conftest.
$ac_objext conftest
$ac_exeext
16940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16941 (eval $ac_link) 2>conftest.er1
16943 grep -v '^ *+' conftest.er1
>conftest.err
16945 cat conftest.err
>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } &&
16948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; } &&
16954 { ac_try
='test -s conftest$ac_exeext'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; }; then
16960 ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16961 if test "x$ac_cv_lib_soname_capi20" = "x"
16963 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
16966 echo "$as_me: failed program was:" >&5
16967 sed 's/^/| /' conftest.
$ac_ext >&5
16969 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
16972 rm -f conftest.err conftest.
$ac_objext \
16973 conftest
$ac_exeext conftest.
$ac_ext
16974 LIBS
=$ac_get_soname_save_LIBS
16976 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
16977 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
16978 if test "${ac_cv_lib_soname_capi20+set}" = set; then
16980 cat >>confdefs.h
<<_ACEOF
16981 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
17121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17122 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17124 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17127 cat >conftest.
$ac_ext <<_ACEOF
17130 cat confdefs.h
>>conftest.
$ac_ext
17131 cat >>conftest.
$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17135 #define $ac_func innocuous_$ac_func
17137 /* System header to define __stub macros and hopefully few prototypes,
17138 which can conflict with char $ac_func (); below.
17139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17140 <limits.h> exists even on freestanding compilers. */
17143 # include <limits.h>
17145 # include <assert.h>
17150 /* Override any GCC internal prototype to avoid an error.
17151 Use char because int might match the return type of a GCC
17152 builtin and then its argument prototype would still apply. */
17157 /* The GNU C library defines this for functions which it implements
17158 to always fail with ENOSYS. Some functions are actually named
17159 something starting with __ and the normal name is an alias. */
17160 #if defined __stub_$ac_func || defined __stub___$ac_func
17167 return $ac_func ();
17172 rm -f conftest.
$ac_objext conftest
$ac_exeext
17173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17174 (eval $ac_link) 2>conftest.er1
17176 grep -v '^ *+' conftest.er1
>conftest.err
17178 cat conftest.err
>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } &&
17181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17183 (eval $ac_try) 2>&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); }; } &&
17187 { ac_try
='test -s conftest$ac_exeext'
17188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17189 (eval $ac_try) 2>&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; }; then
17193 eval "$as_ac_var=yes"
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.
$ac_ext >&5
17198 eval "$as_ac_var=no"
17201 rm -f conftest.err conftest.
$ac_objext \
17202 conftest
$ac_exeext conftest.
$ac_ext
17204 ac_res
=`eval echo '${'$as_ac_var'}'`
17205 { echo "$as_me:$LINENO: result: $ac_res" >&5
17206 echo "${ECHO_T}$ac_res" >&6; }
17207 if test `eval echo '${'$as_ac_var'}'` = yes; then
17208 cat >>confdefs.h
<<_ACEOF
17209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17218 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17219 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17220 if test "${ac_cv_c_const+set}" = set; then
17221 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 cat >conftest.
$ac_ext <<_ACEOF
17226 cat confdefs.h
>>conftest.
$ac_ext
17227 cat >>conftest.
$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17233 /* FIXME: Include the comments suggested by Paul. */
17234 #ifndef __cplusplus
17235 /* Ultrix mips cc rejects this. */
17236 typedef int charset[2];
17238 /* SunOS 4.1.1 cc rejects this. */
17239 char const *const *ccp;
17241 /* NEC SVR4.0.2 mips cc rejects this. */
17242 struct point {int x, y;};
17243 static struct point const zero = {0,0};
17244 /* AIX XL C 1.02.0.0 rejects this.
17245 It does not let you subtract one const X* pointer from another in
17246 an arm of an if-expression whose if-part is not a constant
17248 const char *g = "string";
17249 ccp = &g + (g ? g-g : 0);
17250 /* HPUX 7.0 cc rejects these. */
17253 ccp = (char const *const *) p;
17254 { /* SCO 3.2v4 cc rejects this. */
17256 char const *s = 0 ? (char *) 0 : (char const *) 0;
17261 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17262 int x[] = {25, 17};
17263 const int *foo = &x[0];
17266 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17267 typedef const int *iptr;
17271 { /* AIX XL C 1.02.0.0 rejects this saying
17272 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17273 struct s { int j; const int *ap[3]; };
17274 struct s *b; b->j = 5;
17276 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17277 const int foo = 10;
17278 if (!foo) return 0;
17280 return !x[0] && !zero.x;
17287 rm -f conftest.
$ac_objext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289 (eval $ac_compile) 2>conftest.er1
17291 grep -v '^ *+' conftest.er1
>conftest.err
17293 cat conftest.err
>&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } &&
17296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; } &&
17302 { ac_try
='test -s conftest.$ac_objext'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; }; then
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.
$ac_ext >&5
17316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17318 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17319 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17320 if test $ac_cv_c_const = no
; then
17322 cat >>confdefs.h
<<\_ACEOF
17328 { echo "$as_me:$LINENO: checking for inline" >&5
17329 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17330 if test "${ac_cv_c_inline+set}" = set; then
17331 echo $ECHO_N "(cached) $ECHO_C" >&6
17334 for ac_kw
in inline __inline__ __inline
; do
17335 cat >conftest.
$ac_ext <<_ACEOF
17338 cat confdefs.h
>>conftest.
$ac_ext
17339 cat >>conftest.
$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 #ifndef __cplusplus
17343 static $ac_kw foo_t static_foo () {return 0; }
17344 $ac_kw foo_t foo () {return 0; }
17348 rm -f conftest.
$ac_objext
17349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17350 (eval $ac_compile) 2>conftest.er1
17352 grep -v '^ *+' conftest.er1
>conftest.err
17354 cat conftest.err
>&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); } &&
17357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; } &&
17363 { ac_try
='test -s conftest.$ac_objext'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; }; then
17369 ac_cv_c_inline
=$ac_kw
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.
$ac_ext >&5
17377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17378 test "$ac_cv_c_inline" != no
&& break
17382 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17383 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17386 case $ac_cv_c_inline in
17389 case $ac_cv_c_inline in
17391 *) ac_val
=$ac_cv_c_inline;;
17393 cat >>confdefs.h
<<_ACEOF
17394 #ifndef __cplusplus
17395 #define inline $ac_val
17401 { echo "$as_me:$LINENO: checking for mode_t" >&5
17402 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17403 if test "${ac_cv_type_mode_t+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 cat >conftest.
$ac_ext <<_ACEOF
17409 cat confdefs.h
>>conftest.
$ac_ext
17410 cat >>conftest.
$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17412 $ac_includes_default
17413 typedef mode_t ac__type_new_;
17417 if ((ac__type_new_ *) 0)
17419 if (sizeof (ac__type_new_))
17425 rm -f conftest.
$ac_objext
17426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17427 (eval $ac_compile) 2>conftest.er1
17429 grep -v '^ *+' conftest.er1
>conftest.err
17431 cat conftest.err
>&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } &&
17434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17436 (eval $ac_try) 2>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; } &&
17440 { ac_try
='test -s conftest.$ac_objext'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; }; then
17446 ac_cv_type_mode_t
=yes
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.
$ac_ext >&5
17451 ac_cv_type_mode_t
=no
17454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17456 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17457 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17458 if test $ac_cv_type_mode_t = yes; then
17460 cat >>confdefs.h
<<_ACEOF
17461 #define HAVE_MODE_T 1
17466 { echo "$as_me:$LINENO: checking for off_t" >&5
17467 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17468 if test "${ac_cv_type_off_t+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17471 cat >conftest.
$ac_ext <<_ACEOF
17474 cat confdefs.h
>>conftest.
$ac_ext
17475 cat >>conftest.
$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17477 $ac_includes_default
17478 typedef off_t ac__type_new_;
17482 if ((ac__type_new_ *) 0)
17484 if (sizeof (ac__type_new_))
17490 rm -f conftest.
$ac_objext
17491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17492 (eval $ac_compile) 2>conftest.er1
17494 grep -v '^ *+' conftest.er1
>conftest.err
17496 cat conftest.err
>&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } &&
17499 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17501 (eval $ac_try) 2>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); }; } &&
17505 { ac_try
='test -s conftest.$ac_objext'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; }; then
17511 ac_cv_type_off_t
=yes
17513 echo "$as_me: failed program was:" >&5
17514 sed 's/^/| /' conftest.
$ac_ext >&5
17516 ac_cv_type_off_t
=no
17519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17521 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17522 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17523 if test $ac_cv_type_off_t = yes; then
17525 cat >>confdefs.h
<<_ACEOF
17526 #define HAVE_OFF_T 1
17531 { echo "$as_me:$LINENO: checking for pid_t" >&5
17532 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17533 if test "${ac_cv_type_pid_t+set}" = set; then
17534 echo $ECHO_N "(cached) $ECHO_C" >&6
17536 cat >conftest.
$ac_ext <<_ACEOF
17539 cat confdefs.h
>>conftest.
$ac_ext
17540 cat >>conftest.
$ac_ext <<_ACEOF
17541 /* end confdefs.h. */
17542 $ac_includes_default
17543 typedef pid_t ac__type_new_;
17547 if ((ac__type_new_ *) 0)
17549 if (sizeof (ac__type_new_))
17555 rm -f conftest.
$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557 (eval $ac_compile) 2>conftest.er1
17559 grep -v '^ *+' conftest.er1
>conftest.err
17561 cat conftest.err
>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } &&
17564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566 (eval $ac_try) 2>&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); }; } &&
17570 { ac_try
='test -s conftest.$ac_objext'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; }; then
17576 ac_cv_type_pid_t
=yes
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.
$ac_ext >&5
17581 ac_cv_type_pid_t
=no
17584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17586 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17587 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17588 if test $ac_cv_type_pid_t = yes; then
17590 cat >>confdefs.h
<<_ACEOF
17591 #define HAVE_PID_T 1
17596 { echo "$as_me:$LINENO: checking for size_t" >&5
17597 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17598 if test "${ac_cv_type_size_t+set}" = set; then
17599 echo $ECHO_N "(cached) $ECHO_C" >&6
17601 cat >conftest.
$ac_ext <<_ACEOF
17604 cat confdefs.h
>>conftest.
$ac_ext
17605 cat >>conftest.
$ac_ext <<_ACEOF
17606 /* end confdefs.h. */
17607 $ac_includes_default
17608 typedef size_t ac__type_new_;
17612 if ((ac__type_new_ *) 0)
17614 if (sizeof (ac__type_new_))
17620 rm -f conftest.
$ac_objext
17621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622 (eval $ac_compile) 2>conftest.er1
17624 grep -v '^ *+' conftest.er1
>conftest.err
17626 cat conftest.err
>&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } &&
17629 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17631 (eval $ac_try) 2>&5
17633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634 (exit $ac_status); }; } &&
17635 { ac_try
='test -s conftest.$ac_objext'
17636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17637 (eval $ac_try) 2>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); }; }; then
17641 ac_cv_type_size_t
=yes
17643 echo "$as_me: failed program was:" >&5
17644 sed 's/^/| /' conftest.
$ac_ext >&5
17646 ac_cv_type_size_t
=no
17649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17651 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17652 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17653 if test $ac_cv_type_size_t = yes; then
17655 cat >>confdefs.h
<<_ACEOF
17656 #define HAVE_SIZE_T 1
17661 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17662 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17663 if test "${ac_cv_type_ssize_t+set}" = set; then
17664 echo $ECHO_N "(cached) $ECHO_C" >&6
17666 cat >conftest.
$ac_ext <<_ACEOF
17669 cat confdefs.h
>>conftest.
$ac_ext
17670 cat >>conftest.
$ac_ext <<_ACEOF
17671 /* end confdefs.h. */
17672 $ac_includes_default
17673 typedef ssize_t ac__type_new_;
17677 if ((ac__type_new_ *) 0)
17679 if (sizeof (ac__type_new_))
17685 rm -f conftest.
$ac_objext
17686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17687 (eval $ac_compile) 2>conftest.er1
17689 grep -v '^ *+' conftest.er1
>conftest.err
17691 cat conftest.err
>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); } &&
17694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17696 (eval $ac_try) 2>&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); }; } &&
17700 { ac_try
='test -s conftest.$ac_objext'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; }; then
17706 ac_cv_type_ssize_t
=yes
17708 echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.
$ac_ext >&5
17711 ac_cv_type_ssize_t
=no
17714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17716 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17717 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17718 if test $ac_cv_type_ssize_t = yes; then
17720 cat >>confdefs.h
<<_ACEOF
17721 #define HAVE_SSIZE_T 1
17726 { echo "$as_me:$LINENO: checking for long long" >&5
17727 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17728 if test "${ac_cv_type_long_long+set}" = set; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17731 cat >conftest.
$ac_ext <<_ACEOF
17734 cat confdefs.h
>>conftest.
$ac_ext
17735 cat >>conftest.
$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17738 typedef long long ac__type_new_;
17742 if ((ac__type_new_ *) 0)
17744 if (sizeof (ac__type_new_))
17750 rm -f conftest.
$ac_objext
17751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17752 (eval $ac_compile) 2>conftest.er1
17754 grep -v '^ *+' conftest.er1
>conftest.err
17756 cat conftest.err
>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } &&
17759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17761 (eval $ac_try) 2>&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); }; } &&
17765 { ac_try
='test -s conftest.$ac_objext'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; }; then
17771 ac_cv_type_long_long
=yes
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.
$ac_ext >&5
17776 ac_cv_type_long_long
=no
17779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17781 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17782 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17783 if test $ac_cv_type_long_long = yes; then
17785 cat >>confdefs.h
<<_ACEOF
17786 #define HAVE_LONG_LONG 1
17791 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17792 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17793 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17796 cat >conftest.
$ac_ext <<_ACEOF
17799 cat confdefs.h
>>conftest.
$ac_ext
17800 cat >>conftest.
$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 $ac_includes_default
17803 typedef fsblkcnt_t ac__type_new_;
17807 if ((ac__type_new_ *) 0)
17809 if (sizeof (ac__type_new_))
17815 rm -f conftest.
$ac_objext
17816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17817 (eval $ac_compile) 2>conftest.er1
17819 grep -v '^ *+' conftest.er1
>conftest.err
17821 cat conftest.err
>&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } &&
17824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17826 (eval $ac_try) 2>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); }; } &&
17830 { ac_try
='test -s conftest.$ac_objext'
17831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17832 (eval $ac_try) 2>&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); }; }; then
17836 ac_cv_type_fsblkcnt_t
=yes
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.
$ac_ext >&5
17841 ac_cv_type_fsblkcnt_t
=no
17844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17846 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17847 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17848 if test $ac_cv_type_fsblkcnt_t = yes; then
17850 cat >>confdefs.h
<<_ACEOF
17851 #define HAVE_FSBLKCNT_T 1
17856 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17857 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17858 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17859 echo $ECHO_N "(cached) $ECHO_C" >&6
17861 cat >conftest.
$ac_ext <<_ACEOF
17864 cat confdefs.h
>>conftest.
$ac_ext
17865 cat >>conftest.
$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17867 $ac_includes_default
17868 typedef fsfilcnt_t ac__type_new_;
17872 if ((ac__type_new_ *) 0)
17874 if (sizeof (ac__type_new_))
17880 rm -f conftest.
$ac_objext
17881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17882 (eval $ac_compile) 2>conftest.er1
17884 grep -v '^ *+' conftest.er1
>conftest.err
17886 cat conftest.err
>&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } &&
17889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17891 (eval $ac_try) 2>&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); }; } &&
17895 { ac_try
='test -s conftest.$ac_objext'
17896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897 (eval $ac_try) 2>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); }; }; then
17901 ac_cv_type_fsfilcnt_t
=yes
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.
$ac_ext >&5
17906 ac_cv_type_fsfilcnt_t
=no
17909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17911 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17912 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17913 if test $ac_cv_type_fsfilcnt_t = yes; then
17915 cat >>confdefs.h
<<_ACEOF
17916 #define HAVE_FSFILCNT_T 1
17922 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17923 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17924 if test "${ac_cv_type_sigset_t+set}" = set; then
17925 echo $ECHO_N "(cached) $ECHO_C" >&6
17927 cat >conftest.
$ac_ext <<_ACEOF
17930 cat confdefs.h
>>conftest.
$ac_ext
17931 cat >>conftest.
$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 #include <signal.h>
17935 typedef sigset_t ac__type_new_;
17939 if ((ac__type_new_ *) 0)
17941 if (sizeof (ac__type_new_))
17947 rm -f conftest.
$ac_objext
17948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17949 (eval $ac_compile) 2>conftest.er1
17951 grep -v '^ *+' conftest.er1
>conftest.err
17953 cat conftest.err
>&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); } &&
17956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17958 (eval $ac_try) 2>&5
17960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17961 (exit $ac_status); }; } &&
17962 { ac_try
='test -s conftest.$ac_objext'
17963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17964 (eval $ac_try) 2>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; }; then
17968 ac_cv_type_sigset_t
=yes
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.
$ac_ext >&5
17973 ac_cv_type_sigset_t
=no
17976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17978 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17979 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17980 if test $ac_cv_type_sigset_t = yes; then
17982 cat >>confdefs.h
<<_ACEOF
17983 #define HAVE_SIGSET_T 1
17989 { echo "$as_me:$LINENO: checking for request_sense" >&5
17990 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17991 if test "${ac_cv_type_request_sense+set}" = set; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 cat >conftest.
$ac_ext <<_ACEOF
17997 cat confdefs.h
>>conftest.
$ac_ext
17998 cat >>conftest.
$ac_ext <<_ACEOF
17999 /* end confdefs.h. */
18000 #include <linux/cdrom.h>
18002 typedef request_sense ac__type_new_;
18006 if ((ac__type_new_ *) 0)
18008 if (sizeof (ac__type_new_))
18014 rm -f conftest.
$ac_objext
18015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18016 (eval $ac_compile) 2>conftest.er1
18018 grep -v '^ *+' conftest.er1
>conftest.err
18020 cat conftest.err
>&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } &&
18023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; } &&
18029 { ac_try
='test -s conftest.$ac_objext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; }; then
18035 ac_cv_type_request_sense
=yes
18037 echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.
$ac_ext >&5
18040 ac_cv_type_request_sense
=no
18043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18045 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18046 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18047 if test $ac_cv_type_request_sense = yes; then
18049 cat >>confdefs.h
<<_ACEOF
18050 #define HAVE_REQUEST_SENSE 1
18057 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18058 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18059 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18060 echo $ECHO_N "(cached) $ECHO_C" >&6
18062 cat >conftest.
$ac_ext <<_ACEOF
18065 cat confdefs.h
>>conftest.
$ac_ext
18066 cat >>conftest.
$ac_ext <<_ACEOF
18067 /* end confdefs.h. */
18068 #ifdef HAVE_LINUX_INPUT_H
18069 #include <linux/input.h>
18075 static struct ff_effect ac_aggr;
18076 if (ac_aggr.direction)
18082 rm -f conftest.
$ac_objext
18083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18084 (eval $ac_compile) 2>conftest.er1
18086 grep -v '^ *+' conftest.er1
>conftest.err
18088 cat conftest.err
>&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); } &&
18091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18093 (eval $ac_try) 2>&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); }; } &&
18097 { ac_try
='test -s conftest.$ac_objext'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; }; then
18103 ac_cv_member_struct_ff_effect_direction
=yes
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.
$ac_ext >&5
18108 cat >conftest.
$ac_ext <<_ACEOF
18111 cat confdefs.h
>>conftest.
$ac_ext
18112 cat >>conftest.
$ac_ext <<_ACEOF
18113 /* end confdefs.h. */
18114 #ifdef HAVE_LINUX_INPUT_H
18115 #include <linux/input.h>
18121 static struct ff_effect ac_aggr;
18122 if (sizeof ac_aggr.direction)
18128 rm -f conftest.
$ac_objext
18129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18130 (eval $ac_compile) 2>conftest.er1
18132 grep -v '^ *+' conftest.er1
>conftest.err
18134 cat conftest.err
>&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); } &&
18137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; } &&
18143 { ac_try
='test -s conftest.$ac_objext'
18144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18145 (eval $ac_try) 2>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); }; }; then
18149 ac_cv_member_struct_ff_effect_direction
=yes
18151 echo "$as_me: failed program was:" >&5
18152 sed 's/^/| /' conftest.
$ac_ext >&5
18154 ac_cv_member_struct_ff_effect_direction
=no
18157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18162 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18163 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18164 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18166 cat >>confdefs.h
<<_ACEOF
18167 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18174 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18175 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18176 if test "${wine_cv_have_sigaddset+set}" = set; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18179 cat >conftest.
$ac_ext <<_ACEOF
18182 cat confdefs.h
>>conftest.
$ac_ext
18183 cat >>conftest.
$ac_ext <<_ACEOF
18184 /* end confdefs.h. */
18185 #include <signal.h>
18189 sigset_t set; sigaddset(&set,SIGTERM);
18194 rm -f conftest.
$ac_objext conftest
$ac_exeext
18195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18196 (eval $ac_link) 2>conftest.er1
18198 grep -v '^ *+' conftest.er1
>conftest.err
18200 cat conftest.err
>&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } &&
18203 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; } &&
18209 { ac_try
='test -s conftest$ac_exeext'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; }; then
18215 wine_cv_have_sigaddset
=yes
18217 echo "$as_me: failed program was:" >&5
18218 sed 's/^/| /' conftest.
$ac_ext >&5
18220 wine_cv_have_sigaddset
=no
18223 rm -f conftest.err conftest.
$ac_objext \
18224 conftest
$ac_exeext conftest.
$ac_ext
18226 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18227 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18228 if test "$wine_cv_have_sigaddset" = "yes"
18231 cat >>confdefs.h
<<\_ACEOF
18232 #define HAVE_SIGADDSET 1
18238 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18239 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18240 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18241 echo $ECHO_N "(cached) $ECHO_C" >&6
18243 cat >conftest.
$ac_ext <<_ACEOF
18246 cat confdefs.h
>>conftest.
$ac_ext
18247 cat >>conftest.
$ac_ext <<_ACEOF
18248 /* end confdefs.h. */
18258 struct hostent *result;
18265 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18266 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18272 rm -f conftest.
$ac_objext conftest
$ac_exeext
18273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18274 (eval $ac_link) 2>conftest.er1
18276 grep -v '^ *+' conftest.er1
>conftest.err
18278 cat conftest.err
>&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try
='test -s conftest$ac_exeext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18293 wine_cv_linux_gethostbyname_r_6
=yes
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.
$ac_ext >&5
18298 wine_cv_linux_gethostbyname_r_6
=no
18302 rm -f conftest.err conftest.
$ac_objext \
18303 conftest
$ac_exeext conftest.
$ac_ext
18306 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18307 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18308 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18311 cat >>confdefs.h
<<\_ACEOF
18312 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18317 if test "$ac_cv_header_linux_joystick_h" = "yes"
18319 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18320 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18321 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18322 echo $ECHO_N "(cached) $ECHO_C" >&6
18324 cat >conftest.
$ac_ext <<_ACEOF
18327 cat confdefs.h
>>conftest.
$ac_ext
18328 cat >>conftest.
$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18331 #include <sys/ioctl.h>
18332 #include <linux/joystick.h>
18334 struct js_event blub;
18335 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18336 #error "no 2.2 header"
18347 rm -f conftest.
$ac_objext
18348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18349 (eval $ac_compile) 2>conftest.er1
18351 grep -v '^ *+' conftest.er1
>conftest.err
18353 cat conftest.err
>&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } &&
18356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18358 (eval $ac_try) 2>&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); }; } &&
18362 { ac_try
='test -s conftest.$ac_objext'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; }; then
18368 wine_cv_linux_joystick_22_api
=yes
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.
$ac_ext >&5
18373 wine_cv_linux_joystick_22_api
=no
18376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18379 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18380 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18381 if test "$wine_cv_linux_joystick_22_api" = "yes"
18384 cat >>confdefs.h
<<\_ACEOF
18385 #define HAVE_LINUX_22_JOYSTICK_API 1
18392 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18393 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18394 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18395 echo $ECHO_N "(cached) $ECHO_C" >&6
18397 cat >conftest.
$ac_ext <<_ACEOF
18400 cat confdefs.h
>>conftest.
$ac_ext
18401 cat >>conftest.
$ac_ext <<_ACEOF
18402 /* end confdefs.h. */
18403 #include <sys/types.h>
18404 #ifdef HAVE_SYS_PARAM_H
18405 # include <sys/param.h>
18407 #ifdef HAVE_SYS_MOUNT_H
18408 # include <sys/mount.h>
18410 #ifdef HAVE_SYS_VFS_H
18411 # include <sys/vfs.h>
18413 #ifdef HAVE_SYS_STATFS_H
18414 # include <sys/statfs.h>
18420 static struct statfs ac_aggr;
18421 if (ac_aggr.f_bfree)
18427 rm -f conftest.
$ac_objext
18428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18429 (eval $ac_compile) 2>conftest.er1
18431 grep -v '^ *+' conftest.er1
>conftest.err
18433 cat conftest.err
>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); } &&
18436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; } &&
18442 { ac_try
='test -s conftest.$ac_objext'
18443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18444 (eval $ac_try) 2>&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); }; }; then
18448 ac_cv_member_struct_statfs_f_bfree
=yes
18450 echo "$as_me: failed program was:" >&5
18451 sed 's/^/| /' conftest.
$ac_ext >&5
18453 cat >conftest.
$ac_ext <<_ACEOF
18456 cat confdefs.h
>>conftest.
$ac_ext
18457 cat >>conftest.
$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 #include <sys/types.h>
18460 #ifdef HAVE_SYS_PARAM_H
18461 # include <sys/param.h>
18463 #ifdef HAVE_SYS_MOUNT_H
18464 # include <sys/mount.h>
18466 #ifdef HAVE_SYS_VFS_H
18467 # include <sys/vfs.h>
18469 #ifdef HAVE_SYS_STATFS_H
18470 # include <sys/statfs.h>
18476 static struct statfs ac_aggr;
18477 if (sizeof ac_aggr.f_bfree)
18483 rm -f conftest.
$ac_objext
18484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18485 (eval $ac_compile) 2>conftest.er1
18487 grep -v '^ *+' conftest.er1
>conftest.err
18489 cat conftest.err
>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); } &&
18492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18494 (eval $ac_try) 2>&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); }; } &&
18498 { ac_try
='test -s conftest.$ac_objext'
18499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18500 (eval $ac_try) 2>&5
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); }; }; then
18504 ac_cv_member_struct_statfs_f_bfree
=yes
18506 echo "$as_me: failed program was:" >&5
18507 sed 's/^/| /' conftest.
$ac_ext >&5
18509 ac_cv_member_struct_statfs_f_bfree
=no
18512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18517 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18518 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18519 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18521 cat >>confdefs.h
<<_ACEOF
18522 #define HAVE_STRUCT_STATFS_F_BFREE 1
18527 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18528 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18529 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18530 echo $ECHO_N "(cached) $ECHO_C" >&6
18532 cat >conftest.
$ac_ext <<_ACEOF
18535 cat confdefs.h
>>conftest.
$ac_ext
18536 cat >>conftest.
$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 #include <sys/types.h>
18539 #ifdef HAVE_SYS_PARAM_H
18540 # include <sys/param.h>
18542 #ifdef HAVE_SYS_MOUNT_H
18543 # include <sys/mount.h>
18545 #ifdef HAVE_SYS_VFS_H
18546 # include <sys/vfs.h>
18548 #ifdef HAVE_SYS_STATFS_H
18549 # include <sys/statfs.h>
18555 static struct statfs ac_aggr;
18556 if (ac_aggr.f_bavail)
18562 rm -f conftest.
$ac_objext
18563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18564 (eval $ac_compile) 2>conftest.er1
18566 grep -v '^ *+' conftest.er1
>conftest.err
18568 cat conftest.err
>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } &&
18571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; } &&
18577 { ac_try
='test -s conftest.$ac_objext'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; }; then
18583 ac_cv_member_struct_statfs_f_bavail
=yes
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.
$ac_ext >&5
18588 cat >conftest.
$ac_ext <<_ACEOF
18591 cat confdefs.h
>>conftest.
$ac_ext
18592 cat >>conftest.
$ac_ext <<_ACEOF
18593 /* end confdefs.h. */
18594 #include <sys/types.h>
18595 #ifdef HAVE_SYS_PARAM_H
18596 # include <sys/param.h>
18598 #ifdef HAVE_SYS_MOUNT_H
18599 # include <sys/mount.h>
18601 #ifdef HAVE_SYS_VFS_H
18602 # include <sys/vfs.h>
18604 #ifdef HAVE_SYS_STATFS_H
18605 # include <sys/statfs.h>
18611 static struct statfs ac_aggr;
18612 if (sizeof ac_aggr.f_bavail)
18618 rm -f conftest.
$ac_objext
18619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18620 (eval $ac_compile) 2>conftest.er1
18622 grep -v '^ *+' conftest.er1
>conftest.err
18624 cat conftest.err
>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } &&
18627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; } &&
18633 { ac_try
='test -s conftest.$ac_objext'
18634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18635 (eval $ac_try) 2>&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); }; }; then
18639 ac_cv_member_struct_statfs_f_bavail
=yes
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.
$ac_ext >&5
18644 ac_cv_member_struct_statfs_f_bavail
=no
18647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18652 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18653 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18654 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18656 cat >>confdefs.h
<<_ACEOF
18657 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18662 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18663 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18664 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18665 echo $ECHO_N "(cached) $ECHO_C" >&6
18667 cat >conftest.
$ac_ext <<_ACEOF
18670 cat confdefs.h
>>conftest.
$ac_ext
18671 cat >>conftest.
$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18673 #include <sys/types.h>
18674 #ifdef HAVE_SYS_PARAM_H
18675 # include <sys/param.h>
18677 #ifdef HAVE_SYS_MOUNT_H
18678 # include <sys/mount.h>
18680 #ifdef HAVE_SYS_VFS_H
18681 # include <sys/vfs.h>
18683 #ifdef HAVE_SYS_STATFS_H
18684 # include <sys/statfs.h>
18690 static struct statfs ac_aggr;
18691 if (ac_aggr.f_frsize)
18697 rm -f conftest.
$ac_objext
18698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18699 (eval $ac_compile) 2>conftest.er1
18701 grep -v '^ *+' conftest.er1
>conftest.err
18703 cat conftest.err
>&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); } &&
18706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18708 (eval $ac_try) 2>&5
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); }; } &&
18712 { ac_try
='test -s conftest.$ac_objext'
18713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714 (eval $ac_try) 2>&5
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); }; }; then
18718 ac_cv_member_struct_statfs_f_frsize
=yes
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.
$ac_ext >&5
18723 cat >conftest.
$ac_ext <<_ACEOF
18726 cat confdefs.h
>>conftest.
$ac_ext
18727 cat >>conftest.
$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729 #include <sys/types.h>
18730 #ifdef HAVE_SYS_PARAM_H
18731 # include <sys/param.h>
18733 #ifdef HAVE_SYS_MOUNT_H
18734 # include <sys/mount.h>
18736 #ifdef HAVE_SYS_VFS_H
18737 # include <sys/vfs.h>
18739 #ifdef HAVE_SYS_STATFS_H
18740 # include <sys/statfs.h>
18746 static struct statfs ac_aggr;
18747 if (sizeof ac_aggr.f_frsize)
18753 rm -f conftest.
$ac_objext
18754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18755 (eval $ac_compile) 2>conftest.er1
18757 grep -v '^ *+' conftest.er1
>conftest.err
18759 cat conftest.err
>&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } &&
18762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; } &&
18768 { ac_try
='test -s conftest.$ac_objext'
18769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18770 (eval $ac_try) 2>&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); }; }; then
18774 ac_cv_member_struct_statfs_f_frsize
=yes
18776 echo "$as_me: failed program was:" >&5
18777 sed 's/^/| /' conftest.
$ac_ext >&5
18779 ac_cv_member_struct_statfs_f_frsize
=no
18782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18788 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18789 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18791 cat >>confdefs.h
<<_ACEOF
18792 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18797 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18798 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18799 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18802 cat >conftest.
$ac_ext <<_ACEOF
18805 cat confdefs.h
>>conftest.
$ac_ext
18806 cat >>conftest.
$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 #include <sys/types.h>
18809 #ifdef HAVE_SYS_PARAM_H
18810 # include <sys/param.h>
18812 #ifdef HAVE_SYS_MOUNT_H
18813 # include <sys/mount.h>
18815 #ifdef HAVE_SYS_VFS_H
18816 # include <sys/vfs.h>
18818 #ifdef HAVE_SYS_STATFS_H
18819 # include <sys/statfs.h>
18825 static struct statfs ac_aggr;
18826 if (ac_aggr.f_ffree)
18832 rm -f conftest.
$ac_objext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18834 (eval $ac_compile) 2>conftest.er1
18836 grep -v '^ *+' conftest.er1
>conftest.err
18838 cat conftest.err
>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } &&
18841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18843 (eval $ac_try) 2>&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); }; } &&
18847 { ac_try
='test -s conftest.$ac_objext'
18848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18849 (eval $ac_try) 2>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); }; }; then
18853 ac_cv_member_struct_statfs_f_ffree
=yes
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.
$ac_ext >&5
18858 cat >conftest.
$ac_ext <<_ACEOF
18861 cat confdefs.h
>>conftest.
$ac_ext
18862 cat >>conftest.
$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18864 #include <sys/types.h>
18865 #ifdef HAVE_SYS_PARAM_H
18866 # include <sys/param.h>
18868 #ifdef HAVE_SYS_MOUNT_H
18869 # include <sys/mount.h>
18871 #ifdef HAVE_SYS_VFS_H
18872 # include <sys/vfs.h>
18874 #ifdef HAVE_SYS_STATFS_H
18875 # include <sys/statfs.h>
18881 static struct statfs ac_aggr;
18882 if (sizeof ac_aggr.f_ffree)
18888 rm -f conftest.
$ac_objext
18889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18890 (eval $ac_compile) 2>conftest.er1
18892 grep -v '^ *+' conftest.er1
>conftest.err
18894 cat conftest.err
>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } &&
18897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18899 (eval $ac_try) 2>&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; } &&
18903 { ac_try
='test -s conftest.$ac_objext'
18904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18905 (eval $ac_try) 2>&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); }; }; then
18909 ac_cv_member_struct_statfs_f_ffree
=yes
18911 echo "$as_me: failed program was:" >&5
18912 sed 's/^/| /' conftest.
$ac_ext >&5
18914 ac_cv_member_struct_statfs_f_ffree
=no
18917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18922 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18923 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18924 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18926 cat >>confdefs.h
<<_ACEOF
18927 #define HAVE_STRUCT_STATFS_F_FFREE 1
18932 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18933 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18934 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18935 echo $ECHO_N "(cached) $ECHO_C" >&6
18937 cat >conftest.
$ac_ext <<_ACEOF
18940 cat confdefs.h
>>conftest.
$ac_ext
18941 cat >>conftest.
$ac_ext <<_ACEOF
18942 /* end confdefs.h. */
18943 #include <sys/types.h>
18944 #ifdef HAVE_SYS_PARAM_H
18945 # include <sys/param.h>
18947 #ifdef HAVE_SYS_MOUNT_H
18948 # include <sys/mount.h>
18950 #ifdef HAVE_SYS_VFS_H
18951 # include <sys/vfs.h>
18953 #ifdef HAVE_SYS_STATFS_H
18954 # include <sys/statfs.h>
18960 static struct statfs ac_aggr;
18961 if (ac_aggr.f_favail)
18967 rm -f conftest.
$ac_objext
18968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18969 (eval $ac_compile) 2>conftest.er1
18971 grep -v '^ *+' conftest.er1
>conftest.err
18973 cat conftest.err
>&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } &&
18976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18978 (eval $ac_try) 2>&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); }; } &&
18982 { ac_try
='test -s conftest.$ac_objext'
18983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18984 (eval $ac_try) 2>&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); }; }; then
18988 ac_cv_member_struct_statfs_f_favail
=yes
18990 echo "$as_me: failed program was:" >&5
18991 sed 's/^/| /' conftest.
$ac_ext >&5
18993 cat >conftest.
$ac_ext <<_ACEOF
18996 cat confdefs.h
>>conftest.
$ac_ext
18997 cat >>conftest.
$ac_ext <<_ACEOF
18998 /* end confdefs.h. */
18999 #include <sys/types.h>
19000 #ifdef HAVE_SYS_PARAM_H
19001 # include <sys/param.h>
19003 #ifdef HAVE_SYS_MOUNT_H
19004 # include <sys/mount.h>
19006 #ifdef HAVE_SYS_VFS_H
19007 # include <sys/vfs.h>
19009 #ifdef HAVE_SYS_STATFS_H
19010 # include <sys/statfs.h>
19016 static struct statfs ac_aggr;
19017 if (sizeof ac_aggr.f_favail)
19023 rm -f conftest.
$ac_objext
19024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19025 (eval $ac_compile) 2>conftest.er1
19027 grep -v '^ *+' conftest.er1
>conftest.err
19029 cat conftest.err
>&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); } &&
19032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034 (eval $ac_try) 2>&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); }; } &&
19038 { ac_try
='test -s conftest.$ac_objext'
19039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19040 (eval $ac_try) 2>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); }; }; then
19044 ac_cv_member_struct_statfs_f_favail
=yes
19046 echo "$as_me: failed program was:" >&5
19047 sed 's/^/| /' conftest.
$ac_ext >&5
19049 ac_cv_member_struct_statfs_f_favail
=no
19052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19057 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19058 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19059 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19061 cat >>confdefs.h
<<_ACEOF
19062 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19067 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19068 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19069 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19070 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 cat >conftest.
$ac_ext <<_ACEOF
19075 cat confdefs.h
>>conftest.
$ac_ext
19076 cat >>conftest.
$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 #include <sys/types.h>
19079 #ifdef HAVE_SYS_PARAM_H
19080 # include <sys/param.h>
19082 #ifdef HAVE_SYS_MOUNT_H
19083 # include <sys/mount.h>
19085 #ifdef HAVE_SYS_VFS_H
19086 # include <sys/vfs.h>
19088 #ifdef HAVE_SYS_STATFS_H
19089 # include <sys/statfs.h>
19095 static struct statfs ac_aggr;
19096 if (ac_aggr.f_namelen)
19102 rm -f conftest.
$ac_objext
19103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19104 (eval $ac_compile) 2>conftest.er1
19106 grep -v '^ *+' conftest.er1
>conftest.err
19108 cat conftest.err
>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); } &&
19111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; } &&
19117 { ac_try
='test -s conftest.$ac_objext'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; }; then
19123 ac_cv_member_struct_statfs_f_namelen
=yes
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.
$ac_ext >&5
19128 cat >conftest.
$ac_ext <<_ACEOF
19131 cat confdefs.h
>>conftest.
$ac_ext
19132 cat >>conftest.
$ac_ext <<_ACEOF
19133 /* end confdefs.h. */
19134 #include <sys/types.h>
19135 #ifdef HAVE_SYS_PARAM_H
19136 # include <sys/param.h>
19138 #ifdef HAVE_SYS_MOUNT_H
19139 # include <sys/mount.h>
19141 #ifdef HAVE_SYS_VFS_H
19142 # include <sys/vfs.h>
19144 #ifdef HAVE_SYS_STATFS_H
19145 # include <sys/statfs.h>
19151 static struct statfs ac_aggr;
19152 if (sizeof ac_aggr.f_namelen)
19158 rm -f conftest.
$ac_objext
19159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19160 (eval $ac_compile) 2>conftest.er1
19162 grep -v '^ *+' conftest.er1
>conftest.err
19164 cat conftest.err
>&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } &&
19167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; } &&
19173 { ac_try
='test -s conftest.$ac_objext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19179 ac_cv_member_struct_statfs_f_namelen
=yes
19181 echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.
$ac_ext >&5
19184 ac_cv_member_struct_statfs_f_namelen
=no
19187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19192 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19193 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19194 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19196 cat >>confdefs.h
<<_ACEOF
19197 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19204 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19205 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19206 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19207 echo $ECHO_N "(cached) $ECHO_C" >&6
19209 cat >conftest.
$ac_ext <<_ACEOF
19212 cat confdefs.h
>>conftest.
$ac_ext
19213 cat >>conftest.
$ac_ext <<_ACEOF
19214 /* end confdefs.h. */
19215 #ifdef HAVE_SYS_STATVFS_H
19216 #include <sys/statvfs.h>
19222 static struct statvfs ac_aggr;
19223 if (ac_aggr.f_blocks)
19229 rm -f conftest.
$ac_objext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19231 (eval $ac_compile) 2>conftest.er1
19233 grep -v '^ *+' conftest.er1
>conftest.err
19235 cat conftest.err
>&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } &&
19238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19240 (eval $ac_try) 2>&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); }; } &&
19244 { ac_try
='test -s conftest.$ac_objext'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; }; then
19250 ac_cv_member_struct_statvfs_f_blocks
=yes
19252 echo "$as_me: failed program was:" >&5
19253 sed 's/^/| /' conftest.
$ac_ext >&5
19255 cat >conftest.
$ac_ext <<_ACEOF
19258 cat confdefs.h
>>conftest.
$ac_ext
19259 cat >>conftest.
$ac_ext <<_ACEOF
19260 /* end confdefs.h. */
19261 #ifdef HAVE_SYS_STATVFS_H
19262 #include <sys/statvfs.h>
19268 static struct statvfs ac_aggr;
19269 if (sizeof ac_aggr.f_blocks)
19275 rm -f conftest.
$ac_objext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19277 (eval $ac_compile) 2>conftest.er1
19279 grep -v '^ *+' conftest.er1
>conftest.err
19281 cat conftest.err
>&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); } &&
19284 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19286 (eval $ac_try) 2>&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); }; } &&
19290 { ac_try
='test -s conftest.$ac_objext'
19291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19292 (eval $ac_try) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); }; }; then
19296 ac_cv_member_struct_statvfs_f_blocks
=yes
19298 echo "$as_me: failed program was:" >&5
19299 sed 's/^/| /' conftest.
$ac_ext >&5
19301 ac_cv_member_struct_statvfs_f_blocks
=no
19304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19309 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19310 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19311 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19313 cat >>confdefs.h
<<_ACEOF
19314 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19321 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19322 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19323 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19324 echo $ECHO_N "(cached) $ECHO_C" >&6
19326 cat >conftest.
$ac_ext <<_ACEOF
19329 cat confdefs.h
>>conftest.
$ac_ext
19330 cat >>conftest.
$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 #include <sys/types.h>
19333 #ifdef HAVE_SYS_SOCKET_H
19334 # include <sys/socket.h>
19336 #ifdef HAVE_SYS_UN_H
19337 # include <sys/un.h>
19343 static struct msghdr ac_aggr;
19344 if (ac_aggr.msg_accrights)
19350 rm -f conftest.
$ac_objext
19351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19352 (eval $ac_compile) 2>conftest.er1
19354 grep -v '^ *+' conftest.er1
>conftest.err
19356 cat conftest.err
>&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); } &&
19359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; } &&
19365 { ac_try
='test -s conftest.$ac_objext'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; }; then
19371 ac_cv_member_struct_msghdr_msg_accrights
=yes
19373 echo "$as_me: failed program was:" >&5
19374 sed 's/^/| /' conftest.
$ac_ext >&5
19376 cat >conftest.
$ac_ext <<_ACEOF
19379 cat confdefs.h
>>conftest.
$ac_ext
19380 cat >>conftest.
$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 #include <sys/types.h>
19383 #ifdef HAVE_SYS_SOCKET_H
19384 # include <sys/socket.h>
19386 #ifdef HAVE_SYS_UN_H
19387 # include <sys/un.h>
19393 static struct msghdr ac_aggr;
19394 if (sizeof ac_aggr.msg_accrights)
19400 rm -f conftest.
$ac_objext
19401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19402 (eval $ac_compile) 2>conftest.er1
19404 grep -v '^ *+' conftest.er1
>conftest.err
19406 cat conftest.err
>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } &&
19409 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; } &&
19415 { ac_try
='test -s conftest.$ac_objext'
19416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19417 (eval $ac_try) 2>&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); }; }; then
19421 ac_cv_member_struct_msghdr_msg_accrights
=yes
19423 echo "$as_me: failed program was:" >&5
19424 sed 's/^/| /' conftest.
$ac_ext >&5
19426 ac_cv_member_struct_msghdr_msg_accrights
=no
19429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19434 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19435 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19436 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19438 cat >>confdefs.h
<<_ACEOF
19439 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19444 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19445 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19446 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19447 echo $ECHO_N "(cached) $ECHO_C" >&6
19449 cat >conftest.
$ac_ext <<_ACEOF
19452 cat confdefs.h
>>conftest.
$ac_ext
19453 cat >>conftest.
$ac_ext <<_ACEOF
19454 /* end confdefs.h. */
19455 #include <sys/types.h>
19456 #ifdef HAVE_SYS_SOCKET_H
19457 # include <sys/socket.h>
19459 #ifdef HAVE_SYS_UN_H
19460 # include <sys/un.h>
19466 static struct sockaddr ac_aggr;
19467 if (ac_aggr.sa_len)
19473 rm -f conftest.
$ac_objext
19474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19475 (eval $ac_compile) 2>conftest.er1
19477 grep -v '^ *+' conftest.er1
>conftest.err
19479 cat conftest.err
>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); } &&
19482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; } &&
19488 { ac_try
='test -s conftest.$ac_objext'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; }; then
19494 ac_cv_member_struct_sockaddr_sa_len
=yes
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.
$ac_ext >&5
19499 cat >conftest.
$ac_ext <<_ACEOF
19502 cat confdefs.h
>>conftest.
$ac_ext
19503 cat >>conftest.
$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 #include <sys/types.h>
19506 #ifdef HAVE_SYS_SOCKET_H
19507 # include <sys/socket.h>
19509 #ifdef HAVE_SYS_UN_H
19510 # include <sys/un.h>
19516 static struct sockaddr ac_aggr;
19517 if (sizeof ac_aggr.sa_len)
19523 rm -f conftest.
$ac_objext
19524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19525 (eval $ac_compile) 2>conftest.er1
19527 grep -v '^ *+' conftest.er1
>conftest.err
19529 cat conftest.err
>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } &&
19532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; } &&
19538 { ac_try
='test -s conftest.$ac_objext'
19539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 (eval $ac_try) 2>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; }; then
19544 ac_cv_member_struct_sockaddr_sa_len
=yes
19546 echo "$as_me: failed program was:" >&5
19547 sed 's/^/| /' conftest.
$ac_ext >&5
19549 ac_cv_member_struct_sockaddr_sa_len
=no
19552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19557 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19558 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19559 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19561 cat >>confdefs.h
<<_ACEOF
19562 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19567 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19568 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19569 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19570 echo $ECHO_N "(cached) $ECHO_C" >&6
19572 cat >conftest.
$ac_ext <<_ACEOF
19575 cat confdefs.h
>>conftest.
$ac_ext
19576 cat >>conftest.
$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19578 #include <sys/types.h>
19579 #ifdef HAVE_SYS_SOCKET_H
19580 # include <sys/socket.h>
19582 #ifdef HAVE_SYS_UN_H
19583 # include <sys/un.h>
19589 static struct sockaddr_un ac_aggr;
19590 if (ac_aggr.sun_len)
19596 rm -f conftest.
$ac_objext
19597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19598 (eval $ac_compile) 2>conftest.er1
19600 grep -v '^ *+' conftest.er1
>conftest.err
19602 cat conftest.err
>&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } &&
19605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; } &&
19611 { ac_try
='test -s conftest.$ac_objext'
19612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19613 (eval $ac_try) 2>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); }; }; then
19617 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19619 echo "$as_me: failed program was:" >&5
19620 sed 's/^/| /' conftest.
$ac_ext >&5
19622 cat >conftest.
$ac_ext <<_ACEOF
19625 cat confdefs.h
>>conftest.
$ac_ext
19626 cat >>conftest.
$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 #include <sys/types.h>
19629 #ifdef HAVE_SYS_SOCKET_H
19630 # include <sys/socket.h>
19632 #ifdef HAVE_SYS_UN_H
19633 # include <sys/un.h>
19639 static struct sockaddr_un ac_aggr;
19640 if (sizeof ac_aggr.sun_len)
19646 rm -f conftest.
$ac_objext
19647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19648 (eval $ac_compile) 2>conftest.er1
19650 grep -v '^ *+' conftest.er1
>conftest.err
19652 cat conftest.err
>&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } &&
19655 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19657 (eval $ac_try) 2>&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); }; } &&
19661 { ac_try
='test -s conftest.$ac_objext'
19662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19663 (eval $ac_try) 2>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); }; }; then
19667 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.
$ac_ext >&5
19672 ac_cv_member_struct_sockaddr_un_sun_len
=no
19675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19680 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19681 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19682 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19684 cat >>confdefs.h
<<_ACEOF
19685 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19692 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19693 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19694 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19695 echo $ECHO_N "(cached) $ECHO_C" >&6
19697 cat >conftest.
$ac_ext <<_ACEOF
19700 cat confdefs.h
>>conftest.
$ac_ext
19701 cat >>conftest.
$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 #include <sys/types.h>
19704 #ifdef HAVE_SCSI_SG_H
19705 #include <scsi/sg.h>
19711 static scsireq_t ac_aggr;
19718 rm -f conftest.
$ac_objext
19719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19720 (eval $ac_compile) 2>conftest.er1
19722 grep -v '^ *+' conftest.er1
>conftest.err
19724 cat conftest.err
>&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); } &&
19727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19729 (eval $ac_try) 2>&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); }; } &&
19733 { ac_try
='test -s conftest.$ac_objext'
19734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19735 (eval $ac_try) 2>&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); }; }; then
19739 ac_cv_member_scsireq_t_cmd
=yes
19741 echo "$as_me: failed program was:" >&5
19742 sed 's/^/| /' conftest.
$ac_ext >&5
19744 cat >conftest.
$ac_ext <<_ACEOF
19747 cat confdefs.h
>>conftest.
$ac_ext
19748 cat >>conftest.
$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19750 #include <sys/types.h>
19751 #ifdef HAVE_SCSI_SG_H
19752 #include <scsi/sg.h>
19758 static scsireq_t ac_aggr;
19759 if (sizeof ac_aggr.cmd)
19765 rm -f conftest.
$ac_objext
19766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19767 (eval $ac_compile) 2>conftest.er1
19769 grep -v '^ *+' conftest.er1
>conftest.err
19771 cat conftest.err
>&5
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); } &&
19774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19776 (eval $ac_try) 2>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); }; } &&
19780 { ac_try
='test -s conftest.$ac_objext'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_cv_member_scsireq_t_cmd
=yes
19788 echo "$as_me: failed program was:" >&5
19789 sed 's/^/| /' conftest.
$ac_ext >&5
19791 ac_cv_member_scsireq_t_cmd
=no
19794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19799 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19800 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19801 if test $ac_cv_member_scsireq_t_cmd = yes; then
19803 cat >>confdefs.h
<<_ACEOF
19804 #define HAVE_SCSIREQ_T_CMD 1
19809 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19810 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19811 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19814 cat >conftest.
$ac_ext <<_ACEOF
19817 cat confdefs.h
>>conftest.
$ac_ext
19818 cat >>conftest.
$ac_ext <<_ACEOF
19819 /* end confdefs.h. */
19820 #include <sys/types.h>
19821 #ifdef HAVE_SCSI_SG_H
19822 #include <scsi/sg.h>
19828 static sg_io_hdr_t ac_aggr;
19829 if (ac_aggr.interface_id)
19835 rm -f conftest.
$ac_objext
19836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19837 (eval $ac_compile) 2>conftest.er1
19839 grep -v '^ *+' conftest.er1
>conftest.err
19841 cat conftest.err
>&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } &&
19844 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19846 (eval $ac_try) 2>&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); }; } &&
19850 { ac_try
='test -s conftest.$ac_objext'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; }; then
19856 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19858 echo "$as_me: failed program was:" >&5
19859 sed 's/^/| /' conftest.
$ac_ext >&5
19861 cat >conftest.
$ac_ext <<_ACEOF
19864 cat confdefs.h
>>conftest.
$ac_ext
19865 cat >>conftest.
$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19867 #include <sys/types.h>
19868 #ifdef HAVE_SCSI_SG_H
19869 #include <scsi/sg.h>
19875 static sg_io_hdr_t ac_aggr;
19876 if (sizeof ac_aggr.interface_id)
19882 rm -f conftest.
$ac_objext
19883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19884 (eval $ac_compile) 2>conftest.er1
19886 grep -v '^ *+' conftest.er1
>conftest.err
19888 cat conftest.err
>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } &&
19891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19893 (eval $ac_try) 2>&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); }; } &&
19897 { ac_try
='test -s conftest.$ac_objext'
19898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19899 (eval $ac_try) 2>&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); }; }; then
19903 ac_cv_member_sg_io_hdr_t_interface_id
=yes
19905 echo "$as_me: failed program was:" >&5
19906 sed 's/^/| /' conftest.
$ac_ext >&5
19908 ac_cv_member_sg_io_hdr_t_interface_id
=no
19911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19916 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19917 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19918 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19920 cat >>confdefs.h
<<_ACEOF
19921 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19928 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19929 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19930 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19933 cat >conftest.
$ac_ext <<_ACEOF
19936 cat confdefs.h
>>conftest.
$ac_ext
19937 cat >>conftest.
$ac_ext <<_ACEOF
19938 /* end confdefs.h. */
19939 #include <signal.h>
19944 static siginfo_t ac_aggr;
19951 rm -f conftest.
$ac_objext
19952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19953 (eval $ac_compile) 2>conftest.er1
19955 grep -v '^ *+' conftest.er1
>conftest.err
19957 cat conftest.err
>&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } &&
19960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19962 (eval $ac_try) 2>&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); }; } &&
19966 { ac_try
='test -s conftest.$ac_objext'
19967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19968 (eval $ac_try) 2>&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); }; }; then
19972 ac_cv_member_siginfo_t_si_fd
=yes
19974 echo "$as_me: failed program was:" >&5
19975 sed 's/^/| /' conftest.
$ac_ext >&5
19977 cat >conftest.
$ac_ext <<_ACEOF
19980 cat confdefs.h
>>conftest.
$ac_ext
19981 cat >>conftest.
$ac_ext <<_ACEOF
19982 /* end confdefs.h. */
19983 #include <signal.h>
19988 static siginfo_t ac_aggr;
19989 if (sizeof ac_aggr.si_fd)
19995 rm -f conftest.
$ac_objext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19997 (eval $ac_compile) 2>conftest.er1
19999 grep -v '^ *+' conftest.er1
>conftest.err
20001 cat conftest.err
>&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006 (eval $ac_try) 2>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; } &&
20010 { ac_try
='test -s conftest.$ac_objext'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20016 ac_cv_member_siginfo_t_si_fd
=yes
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.
$ac_ext >&5
20021 ac_cv_member_siginfo_t_si_fd
=no
20024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20029 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20030 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20031 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20033 cat >>confdefs.h
<<_ACEOF
20034 #define HAVE_SIGINFO_T_SI_FD 1
20041 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20042 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20043 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20044 echo $ECHO_N "(cached) $ECHO_C" >&6
20046 cat >conftest.
$ac_ext <<_ACEOF
20049 cat confdefs.h
>>conftest.
$ac_ext
20050 cat >>conftest.
$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 #include <sys/types.h>
20053 #ifdef HAVE_SYS_MTIO_H
20054 #include <sys/mtio.h>
20060 static struct mtget ac_aggr;
20061 if (ac_aggr.mt_blksiz)
20067 rm -f conftest.
$ac_objext
20068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20069 (eval $ac_compile) 2>conftest.er1
20071 grep -v '^ *+' conftest.er1
>conftest.err
20073 cat conftest.err
>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } &&
20076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; } &&
20082 { ac_try
='test -s conftest.$ac_objext'
20083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084 (eval $ac_try) 2>&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); }; }; then
20088 ac_cv_member_struct_mtget_mt_blksiz
=yes
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.
$ac_ext >&5
20093 cat >conftest.
$ac_ext <<_ACEOF
20096 cat confdefs.h
>>conftest.
$ac_ext
20097 cat >>conftest.
$ac_ext <<_ACEOF
20098 /* end confdefs.h. */
20099 #include <sys/types.h>
20100 #ifdef HAVE_SYS_MTIO_H
20101 #include <sys/mtio.h>
20107 static struct mtget ac_aggr;
20108 if (sizeof ac_aggr.mt_blksiz)
20114 rm -f conftest.
$ac_objext
20115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20116 (eval $ac_compile) 2>conftest.er1
20118 grep -v '^ *+' conftest.er1
>conftest.err
20120 cat conftest.err
>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } &&
20123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; } &&
20129 { ac_try
='test -s conftest.$ac_objext'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20135 ac_cv_member_struct_mtget_mt_blksiz
=yes
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.
$ac_ext >&5
20140 ac_cv_member_struct_mtget_mt_blksiz
=no
20143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20146 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20148 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20149 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20150 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20152 cat >>confdefs.h
<<_ACEOF
20153 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20158 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20159 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20160 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 cat >conftest.
$ac_ext <<_ACEOF
20166 cat confdefs.h
>>conftest.
$ac_ext
20167 cat >>conftest.
$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 #include <sys/types.h>
20170 #ifdef HAVE_SYS_MTIO_H
20171 #include <sys/mtio.h>
20177 static struct mtget ac_aggr;
20178 if (ac_aggr.mt_gstat)
20184 rm -f conftest.
$ac_objext
20185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20186 (eval $ac_compile) 2>conftest.er1
20188 grep -v '^ *+' conftest.er1
>conftest.err
20190 cat conftest.err
>&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } &&
20193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20195 (eval $ac_try) 2>&5
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); }; } &&
20199 { ac_try
='test -s conftest.$ac_objext'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; }; then
20205 ac_cv_member_struct_mtget_mt_gstat
=yes
20207 echo "$as_me: failed program was:" >&5
20208 sed 's/^/| /' conftest.
$ac_ext >&5
20210 cat >conftest.
$ac_ext <<_ACEOF
20213 cat confdefs.h
>>conftest.
$ac_ext
20214 cat >>conftest.
$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20216 #include <sys/types.h>
20217 #ifdef HAVE_SYS_MTIO_H
20218 #include <sys/mtio.h>
20224 static struct mtget ac_aggr;
20225 if (sizeof ac_aggr.mt_gstat)
20231 rm -f conftest.
$ac_objext
20232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20233 (eval $ac_compile) 2>conftest.er1
20235 grep -v '^ *+' conftest.er1
>conftest.err
20237 cat conftest.err
>&5
20238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239 (exit $ac_status); } &&
20240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242 (eval $ac_try) 2>&5
20244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245 (exit $ac_status); }; } &&
20246 { ac_try
='test -s conftest.$ac_objext'
20247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20248 (eval $ac_try) 2>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); }; }; then
20252 ac_cv_member_struct_mtget_mt_gstat
=yes
20254 echo "$as_me: failed program was:" >&5
20255 sed 's/^/| /' conftest.
$ac_ext >&5
20257 ac_cv_member_struct_mtget_mt_gstat
=no
20260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20265 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20266 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20267 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20269 cat >>confdefs.h
<<_ACEOF
20270 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20275 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20276 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20277 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20278 echo $ECHO_N "(cached) $ECHO_C" >&6
20280 cat >conftest.
$ac_ext <<_ACEOF
20283 cat confdefs.h
>>conftest.
$ac_ext
20284 cat >>conftest.
$ac_ext <<_ACEOF
20285 /* end confdefs.h. */
20286 #include <sys/types.h>
20287 #ifdef HAVE_SYS_MTIO_H
20288 #include <sys/mtio.h>
20294 static struct mtget ac_aggr;
20295 if (ac_aggr.mt_blkno)
20301 rm -f conftest.
$ac_objext
20302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20303 (eval $ac_compile) 2>conftest.er1
20305 grep -v '^ *+' conftest.er1
>conftest.err
20307 cat conftest.err
>&5
20308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20309 (exit $ac_status); } &&
20310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20312 (eval $ac_try) 2>&5
20314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315 (exit $ac_status); }; } &&
20316 { ac_try
='test -s conftest.$ac_objext'
20317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20318 (eval $ac_try) 2>&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); }; }; then
20322 ac_cv_member_struct_mtget_mt_blkno
=yes
20324 echo "$as_me: failed program was:" >&5
20325 sed 's/^/| /' conftest.
$ac_ext >&5
20327 cat >conftest.
$ac_ext <<_ACEOF
20330 cat confdefs.h
>>conftest.
$ac_ext
20331 cat >>conftest.
$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 #include <sys/types.h>
20334 #ifdef HAVE_SYS_MTIO_H
20335 #include <sys/mtio.h>
20341 static struct mtget ac_aggr;
20342 if (sizeof ac_aggr.mt_blkno)
20348 rm -f conftest.
$ac_objext
20349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20350 (eval $ac_compile) 2>conftest.er1
20352 grep -v '^ *+' conftest.er1
>conftest.err
20354 cat conftest.err
>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); } &&
20357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20359 (eval $ac_try) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; } &&
20363 { ac_try
='test -s conftest.$ac_objext'
20364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20365 (eval $ac_try) 2>&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); }; }; then
20369 ac_cv_member_struct_mtget_mt_blkno
=yes
20371 echo "$as_me: failed program was:" >&5
20372 sed 's/^/| /' conftest.
$ac_ext >&5
20374 ac_cv_member_struct_mtget_mt_blkno
=no
20377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20382 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20383 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20384 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20386 cat >>confdefs.h
<<_ACEOF
20387 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20394 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20395 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20396 if test "${ac_cv_member_struct_option_name+set}" = set; then
20397 echo $ECHO_N "(cached) $ECHO_C" >&6
20399 cat >conftest.
$ac_ext <<_ACEOF
20402 cat confdefs.h
>>conftest.
$ac_ext
20403 cat >>conftest.
$ac_ext <<_ACEOF
20404 /* end confdefs.h. */
20405 #ifdef HAVE_GETOPT_H
20406 #include <getopt.h>
20412 static struct option ac_aggr;
20419 rm -f conftest.
$ac_objext
20420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20421 (eval $ac_compile) 2>conftest.er1
20423 grep -v '^ *+' conftest.er1
>conftest.err
20425 cat conftest.err
>&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } &&
20428 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20430 (eval $ac_try) 2>&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; } &&
20434 { ac_try
='test -s conftest.$ac_objext'
20435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20436 (eval $ac_try) 2>&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; }; then
20440 ac_cv_member_struct_option_name
=yes
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.
$ac_ext >&5
20445 cat >conftest.
$ac_ext <<_ACEOF
20448 cat confdefs.h
>>conftest.
$ac_ext
20449 cat >>conftest.
$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 #ifdef HAVE_GETOPT_H
20452 #include <getopt.h>
20458 static struct option ac_aggr;
20459 if (sizeof ac_aggr.name)
20465 rm -f conftest.
$ac_objext
20466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20467 (eval $ac_compile) 2>conftest.er1
20469 grep -v '^ *+' conftest.er1
>conftest.err
20471 cat conftest.err
>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } &&
20474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20476 (eval $ac_try) 2>&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); }; } &&
20480 { ac_try
='test -s conftest.$ac_objext'
20481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482 (eval $ac_try) 2>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); }; }; then
20486 ac_cv_member_struct_option_name
=yes
20488 echo "$as_me: failed program was:" >&5
20489 sed 's/^/| /' conftest.
$ac_ext >&5
20491 ac_cv_member_struct_option_name
=no
20494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20499 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20500 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20501 if test $ac_cv_member_struct_option_name = yes; then
20503 cat >>confdefs.h
<<_ACEOF
20504 #define HAVE_STRUCT_OPTION_NAME 1
20511 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20512 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20513 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20514 echo $ECHO_N "(cached) $ECHO_C" >&6
20516 cat >conftest.
$ac_ext <<_ACEOF
20519 cat confdefs.h
>>conftest.
$ac_ext
20520 cat >>conftest.
$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 $ac_includes_default
20526 static struct stat ac_aggr;
20527 if (ac_aggr.st_blocks)
20533 rm -f conftest.
$ac_objext
20534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20535 (eval $ac_compile) 2>conftest.er1
20537 grep -v '^ *+' conftest.er1
>conftest.err
20539 cat conftest.err
>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); } &&
20542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544 (eval $ac_try) 2>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; } &&
20548 { ac_try
='test -s conftest.$ac_objext'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 ac_cv_member_struct_stat_st_blocks
=yes
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.
$ac_ext >&5
20559 cat >conftest.
$ac_ext <<_ACEOF
20562 cat confdefs.h
>>conftest.
$ac_ext
20563 cat >>conftest.
$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20565 $ac_includes_default
20569 static struct stat ac_aggr;
20570 if (sizeof ac_aggr.st_blocks)
20576 rm -f conftest.
$ac_objext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20578 (eval $ac_compile) 2>conftest.er1
20580 grep -v '^ *+' conftest.er1
>conftest.err
20582 cat conftest.err
>&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20587 (eval $ac_try) 2>&5
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; } &&
20591 { ac_try
='test -s conftest.$ac_objext'
20592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20593 (eval $ac_try) 2>&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); }; }; then
20597 ac_cv_member_struct_stat_st_blocks
=yes
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.
$ac_ext >&5
20602 ac_cv_member_struct_stat_st_blocks
=no
20605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20610 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20611 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20612 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20614 cat >>confdefs.h
<<_ACEOF
20615 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20622 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20623 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20624 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20625 echo $ECHO_N "(cached) $ECHO_C" >&6
20627 cat >conftest.
$ac_ext <<_ACEOF
20630 cat confdefs.h
>>conftest.
$ac_ext
20631 cat >>conftest.
$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20633 #ifdef HAVE_SYS_TYPES_H
20634 #include <sys/types.h>
20636 #ifdef HAVE_NETINET_IN_H
20637 #include <netinet/in.h>
20643 static struct sockaddr_in6 ac_aggr;
20644 if (ac_aggr.sin6_scope_id)
20650 rm -f conftest.
$ac_objext
20651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20652 (eval $ac_compile) 2>conftest.er1
20654 grep -v '^ *+' conftest.er1
>conftest.err
20656 cat conftest.err
>&5
20657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658 (exit $ac_status); } &&
20659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20661 (eval $ac_try) 2>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; } &&
20665 { ac_try
='test -s conftest.$ac_objext'
20666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20667 (eval $ac_try) 2>&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); }; }; then
20671 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20673 echo "$as_me: failed program was:" >&5
20674 sed 's/^/| /' conftest.
$ac_ext >&5
20676 cat >conftest.
$ac_ext <<_ACEOF
20679 cat confdefs.h
>>conftest.
$ac_ext
20680 cat >>conftest.
$ac_ext <<_ACEOF
20681 /* end confdefs.h. */
20682 #ifdef HAVE_SYS_TYPES_H
20683 #include <sys/types.h>
20685 #ifdef HAVE_NETINET_IN_H
20686 #include <netinet/in.h>
20692 static struct sockaddr_in6 ac_aggr;
20693 if (sizeof ac_aggr.sin6_scope_id)
20699 rm -f conftest.
$ac_objext
20700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20701 (eval $ac_compile) 2>conftest.er1
20703 grep -v '^ *+' conftest.er1
>conftest.err
20705 cat conftest.err
>&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); } &&
20708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710 (eval $ac_try) 2>&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; } &&
20714 { ac_try
='test -s conftest.$ac_objext'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; }; then
20720 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.
$ac_ext >&5
20725 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=no
20728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20733 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20734 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20735 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20737 cat >>confdefs.h
<<_ACEOF
20738 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20745 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20746 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20747 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20748 echo $ECHO_N "(cached) $ECHO_C" >&6
20750 cat >conftest.
$ac_ext <<_ACEOF
20753 cat confdefs.h
>>conftest.
$ac_ext
20754 cat >>conftest.
$ac_ext <<_ACEOF
20755 /* end confdefs.h. */
20756 #ifdef HAVE_SYS_TYPES_H
20757 #include <sys/types.h>
20759 #ifdef HAVE_NETINET_IN_H
20760 # include <netinet/in.h>
20762 #ifdef HAVE_ARPA_NAMESER_H
20763 # include <arpa/nameser.h>
20769 static ns_msg ac_aggr;
20770 if (ac_aggr._msg_ptr)
20776 rm -f conftest.
$ac_objext
20777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20778 (eval $ac_compile) 2>conftest.er1
20780 grep -v '^ *+' conftest.er1
>conftest.err
20782 cat conftest.err
>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } &&
20785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20787 (eval $ac_try) 2>&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); }; } &&
20791 { ac_try
='test -s conftest.$ac_objext'
20792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20793 (eval $ac_try) 2>&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); }; }; then
20797 ac_cv_member_ns_msg__msg_ptr
=yes
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.
$ac_ext >&5
20802 cat >conftest.
$ac_ext <<_ACEOF
20805 cat confdefs.h
>>conftest.
$ac_ext
20806 cat >>conftest.
$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20808 #ifdef HAVE_SYS_TYPES_H
20809 #include <sys/types.h>
20811 #ifdef HAVE_NETINET_IN_H
20812 # include <netinet/in.h>
20814 #ifdef HAVE_ARPA_NAMESER_H
20815 # include <arpa/nameser.h>
20821 static ns_msg ac_aggr;
20822 if (sizeof ac_aggr._msg_ptr)
20828 rm -f conftest.
$ac_objext
20829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20830 (eval $ac_compile) 2>conftest.er1
20832 grep -v '^ *+' conftest.er1
>conftest.err
20834 cat conftest.err
>&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } &&
20837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839 (eval $ac_try) 2>&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); }; } &&
20843 { ac_try
='test -s conftest.$ac_objext'
20844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845 (eval $ac_try) 2>&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_cv_member_ns_msg__msg_ptr
=yes
20851 echo "$as_me: failed program was:" >&5
20852 sed 's/^/| /' conftest.
$ac_ext >&5
20854 ac_cv_member_ns_msg__msg_ptr
=no
20857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20862 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20863 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20864 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20866 cat >>confdefs.h
<<_ACEOF
20867 #define HAVE_NS_MSG__MSG_PTR 1
20874 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20875 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20876 if test "${ac_cv_have_timezone+set}" = set; then
20877 echo $ECHO_N "(cached) $ECHO_C" >&6
20879 cat >conftest.
$ac_ext <<_ACEOF
20882 cat confdefs.h
>>conftest.
$ac_ext
20883 cat >>conftest.
$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20894 rm -f conftest.
$ac_objext conftest
$ac_exeext
20895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20896 (eval $ac_link) 2>conftest.er1
20898 grep -v '^ *+' conftest.er1
>conftest.err
20900 cat conftest.err
>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } &&
20903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; } &&
20909 { ac_try
='test -s conftest$ac_exeext'
20910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20911 (eval $ac_try) 2>&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); }; }; then
20915 ac_cv_have_timezone
="yes"
20917 echo "$as_me: failed program was:" >&5
20918 sed 's/^/| /' conftest.
$ac_ext >&5
20920 ac_cv_have_timezone
="no"
20923 rm -f conftest.err conftest.
$ac_objext \
20924 conftest
$ac_exeext conftest.
$ac_ext
20926 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20927 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20928 if test "$ac_cv_have_timezone" = "yes"
20931 cat >>confdefs.h
<<\_ACEOF
20932 #define HAVE_TIMEZONE 1
20936 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20937 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20938 if test "${ac_cv_have_daylight+set}" = set; then
20939 echo $ECHO_N "(cached) $ECHO_C" >&6
20941 cat >conftest.
$ac_ext <<_ACEOF
20944 cat confdefs.h
>>conftest.
$ac_ext
20945 cat >>conftest.
$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20956 rm -f conftest.
$ac_objext conftest
$ac_exeext
20957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20958 (eval $ac_link) 2>conftest.er1
20960 grep -v '^ *+' conftest.er1
>conftest.err
20962 cat conftest.err
>&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } &&
20965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20967 (eval $ac_try) 2>&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; } &&
20971 { ac_try
='test -s conftest$ac_exeext'
20972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20973 (eval $ac_try) 2>&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); }; }; then
20977 ac_cv_have_daylight
="yes"
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.
$ac_ext >&5
20982 ac_cv_have_daylight
="no"
20985 rm -f conftest.err conftest.
$ac_objext \
20986 conftest
$ac_exeext conftest.
$ac_ext
20988 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20989 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20990 if test "$ac_cv_have_daylight" = "yes"
20993 cat >>confdefs.h
<<\_ACEOF
20994 #define HAVE_DAYLIGHT 1
21001 *i
[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21002 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21003 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21004 echo $ECHO_N "(cached) $ECHO_C" >&6
21006 cat >conftest.
$ac_ext <<_ACEOF
21009 cat confdefs.h
>>conftest.
$ac_ext
21010 cat >>conftest.
$ac_ext <<_ACEOF
21011 /* end confdefs.h. */
21016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21017 $EGREP "yes" >/dev
/null
2>&1; then
21018 ac_cv_cpp_def___i386__
=yes
21020 ac_cv_cpp_def___i386__
=no
21025 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21026 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21027 if test $ac_cv_cpp_def___i386__ = yes; then
21028 CFLAGS
="$CFLAGS -D__i386__"
21029 LINTFLAGS
="$LINTFLAGS -D__i386__"
21032 *x86_64
*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21033 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21034 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21035 echo $ECHO_N "(cached) $ECHO_C" >&6
21037 cat >conftest.
$ac_ext <<_ACEOF
21040 cat confdefs.h
>>conftest.
$ac_ext
21041 cat >>conftest.
$ac_ext <<_ACEOF
21042 /* end confdefs.h. */
21047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21048 $EGREP "yes" >/dev
/null
2>&1; then
21049 ac_cv_cpp_def___x86_64__
=yes
21051 ac_cv_cpp_def___x86_64__
=no
21056 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21057 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21058 if test $ac_cv_cpp_def___x86_64__ = yes; then
21059 CFLAGS
="$CFLAGS -D__x86_64__"
21060 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
21063 *alpha
*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21064 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21065 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21068 cat >conftest.
$ac_ext <<_ACEOF
21071 cat confdefs.h
>>conftest.
$ac_ext
21072 cat >>conftest.
$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21079 $EGREP "yes" >/dev
/null
2>&1; then
21080 ac_cv_cpp_def___ALPHA__
=yes
21082 ac_cv_cpp_def___ALPHA__
=no
21087 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21088 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21089 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21090 CFLAGS
="$CFLAGS -D__ALPHA__"
21091 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
21094 *sparc
*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21095 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21096 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21097 echo $ECHO_N "(cached) $ECHO_C" >&6
21099 cat >conftest.
$ac_ext <<_ACEOF
21102 cat confdefs.h
>>conftest.
$ac_ext
21103 cat >>conftest.
$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21110 $EGREP "yes" >/dev
/null
2>&1; then
21111 ac_cv_cpp_def___sparc__
=yes
21113 ac_cv_cpp_def___sparc__
=no
21118 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21119 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21120 if test $ac_cv_cpp_def___sparc__ = yes; then
21121 CFLAGS
="$CFLAGS -D__sparc__"
21122 LINTFLAGS
="$LINTFLAGS -D__sparc__"
21125 *powerpc
*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21126 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21127 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21128 echo $ECHO_N "(cached) $ECHO_C" >&6
21130 cat >conftest.
$ac_ext <<_ACEOF
21133 cat confdefs.h
>>conftest.
$ac_ext
21134 cat >>conftest.
$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21136 #ifndef __powerpc__
21140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21141 $EGREP "yes" >/dev
/null
2>&1; then
21142 ac_cv_cpp_def___powerpc__
=yes
21144 ac_cv_cpp_def___powerpc__
=no
21149 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21150 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21151 if test $ac_cv_cpp_def___powerpc__ = yes; then
21152 CFLAGS
="$CFLAGS -D__powerpc__"
21153 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
21158 case $host_vendor in
21159 *sun
*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21160 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21161 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21162 echo $ECHO_N "(cached) $ECHO_C" >&6
21164 cat >conftest.
$ac_ext <<_ACEOF
21167 cat confdefs.h
>>conftest.
$ac_ext
21168 cat >>conftest.
$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21175 $EGREP "yes" >/dev
/null
2>&1; then
21176 ac_cv_cpp_def___sun__
=yes
21178 ac_cv_cpp_def___sun__
=no
21183 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21184 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21185 if test $ac_cv_cpp_def___sun__ = yes; then
21186 CFLAGS
="$CFLAGS -D__sun__"
21187 LINTFLAGS
="$LINTFLAGS -D__sun__"
21196 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
21198 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
21200 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
21202 ac_config_commands
="$ac_config_commands dlls/user/resources"
21204 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
21206 ac_config_commands
="$ac_config_commands include/wine"
21209 MAKE_RULES
=Make.rules
21212 MAKE_DLL_RULES
=dlls
/Makedll.rules
21215 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
21218 MAKE_TEST_RULES
=dlls
/Maketest.rules
21221 MAKE_LIB_RULES
=libs
/Makelib.rules
21224 MAKE_PROG_RULES
=programs
/Makeprog.rules
21227 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules libs/Makelib.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/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/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/hlink/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/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/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/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 dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/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/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"
21230 cat >confcache
<<\_ACEOF
21231 # This file is a shell script that caches the results of configure
21232 # tests run on this system so they can be shared between configure
21233 # scripts and configure runs, see configure's option --config-cache.
21234 # It is not useful on other systems. If it contains results you don't
21235 # want to keep, you may remove or edit it.
21237 # config.status only pays attention to the cache file if you give it
21238 # the --recheck option to rerun configure.
21240 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21241 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21242 # following values.
21246 # The following way of writing the cache mishandles newlines in values,
21247 # but we know of no workaround that is simple, portable, and efficient.
21248 # So, we kill variables containing newlines.
21249 # Ultrix sh set writes to stderr and can't be redirected directly,
21250 # and sets the high bit in the cache file unless we assign to the vars.
21252 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21253 eval ac_val
=\$
$ac_var
21257 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21258 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21261 _ | IFS | as_nl
) ;; #(
21262 *) $as_unset $ac_var ;;
21268 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21269 *${as_nl}ac_space
=\
*)
21270 # `set' does not quote correctly, so add quotes (double-quote
21271 # substitution turns \\\\ into \\, and sed turns \\ into \).
21274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21277 # `set' quotes correctly as required by POSIX, so do not add quotes.
21278 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21287 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21289 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21291 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
21292 if test -w $cache_file; then
21293 test "x$cache_file" != "x/dev/null" &&
21294 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21295 echo "$as_me: updating cache $cache_file" >&6;}
21296 cat confcache
>$cache_file
21298 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21299 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21304 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21305 # Let make expand exec_prefix.
21306 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21308 DEFS
=-DHAVE_CONFIG_H
21312 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21313 # 1. Remove the extension, and $U if already installed.
21314 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21315 ac_i
=`echo "$ac_i" | sed "$ac_script"`
21316 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21317 # will be set to the directory where LIBOBJS objects are built.
21318 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21319 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21321 LIBOBJS
=$ac_libobjs
21323 LTLIBOBJS
=$ac_ltlibobjs
21327 : ${CONFIG_STATUS=./config.status}
21328 ac_clean_files_save
=$ac_clean_files
21329 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21330 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21331 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21332 cat >$CONFIG_STATUS <<_ACEOF
21334 # Generated by $as_me.
21335 # Run this file to recreate the current configuration.
21336 # Compiler output produced by configure, useful for debugging
21337 # configure, is in config.log if it exists.
21340 ac_cs_recheck=false
21342 SHELL=\${CONFIG_SHELL-$SHELL}
21345 cat >>$CONFIG_STATUS <<\_ACEOF
21346 ## --------------------- ##
21347 ## M4sh Initialization. ##
21348 ## --------------------- ##
21350 # Be Bourne compatible
21351 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21354 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21355 # is contrary to our usage. Disable this feature.
21356 alias -g '${1+"$@"}'='"$@"'
21357 setopt NO_GLOB_SUBST
21359 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
21361 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
21362 DUALCASE
=1; export DUALCASE
# for MKS sh
21366 # Avoid depending upon Character Ranges.
21367 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21368 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21369 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21370 as_cr_digits
='0123456789'
21371 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21373 # The user is always right.
21374 if test "${PATH_SEPARATOR+set}" != set; then
21375 echo "#! /bin/sh" >conf$$.sh
21376 echo "exit 0" >>conf$$.sh
21378 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21386 # Support unset when possible.
21387 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
21395 # We need space, tab and new line, in precisely that order. Quoting is
21396 # there to prevent editors from complaining about space-tab.
21397 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21398 # splitting by setting IFS to empty value.)
21403 # Find who we are. Look in the path if we contain no directory separator.
21405 *[\\/]* ) as_myself
=$0 ;;
21406 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21407 for as_dir
in $PATH
21410 test -z "$as_dir" && as_dir
=.
21411 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21417 # We did not find ourselves, most probably we were run as `sh COMMAND'
21418 # in which case we are not to be found in the path.
21419 if test "x$as_myself" = x
; then
21422 if test ! -f "$as_myself"; then
21423 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21424 { (exit 1); exit 1; }
21427 # Work around bugs in pre-3.0 UWIN ksh.
21428 for as_var
in ENV MAIL MAILPATH
21429 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21437 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21438 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21439 LC_TELEPHONE LC_TIME
21441 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21442 eval $as_var=C
; export $as_var
21444 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21448 # Required to use basename.
21449 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21450 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21456 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21457 as_basename
=basename
21463 # Name of the executable.
21464 as_me
=`$as_basename -- "$0" ||
21465 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21466 X"$0" : 'X\(//\)$' \| \
21467 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21469 sed '/^.*\/\([^/][^/]*\)\/*$/{
21488 as_lineno_1
=$LINENO
21489 as_lineno_2
=$LINENO
21490 test "x$as_lineno_1" != "x$as_lineno_2" &&
21491 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21493 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21494 # uniformly replaced by the line number. The first 'sed' inserts a
21495 # line-number line after each line using $LINENO; the second 'sed'
21496 # does the real work. The second script uses 'N' to pair each
21497 # line-number line with the line containing $LINENO, and appends
21498 # trailing '-' during substitution so that $LINENO is not a special
21499 # case at line end.
21500 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21501 # scripts with optimization help from Paolo Bonzini. Blame Lee
21502 # E. McMahon (1931-1989) for sed's syntax. :-)
21514 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21517 ' >$as_me.lineno
&&
21518 chmod +x
"$as_me.lineno" ||
21519 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21520 { (exit 1); exit 1; }; }
21522 # Don't try to exec as it changes $[0], causing all sort of problems
21523 # (the dirname of $[0] is not the place where we might find the
21524 # original and so on. Autoconf is especially sensitive to this).
21525 .
"./$as_me.lineno"
21526 # Exit status is that of the last command.
21531 if (dirname -- /) >/dev
/null
2>&1; then
21537 ECHO_C
= ECHO_N
= ECHO_T
=
21538 case `echo -n x` in
21540 case `echo 'x\c'` in
21541 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21548 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21549 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21555 rm -f conf$$ conf$$.exe conf$$.
file
21556 if test -d conf$$.dir
; then
21557 rm -f conf$$.dir
/conf$$.
file
21563 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21565 # ... but there are two gotchas:
21566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21568 # In both cases, we have to default to `cp -p'.
21569 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21571 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21576 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21577 rmdir conf$$.dir
2>/dev
/null
21579 if mkdir
-p .
2>/dev
/null
; then
21582 test -d .
/-p && rmdir .
/-p
21586 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
21587 # systems may use methods other than mode bits to determine executability.
21588 cat >conf$$.
file <<_ASEOF
21592 chmod +x conf$$.
file
21593 if test -x conf$$.
file >/dev
/null
2>&1; then
21594 as_executable_p
="test -x"
21600 # Sed expression to map a string onto a valid CPP name.
21601 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21603 # Sed expression to map a string onto a valid variable name.
21604 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21609 # Save the log message, to keep $[0] and so on meaningful, and to
21610 # report actual input values of CONFIG_FILES etc. instead of their
21611 # values after options handling.
21613 This file was extended by Wine $as_me 0.9.14, which was
21614 generated by GNU Autoconf 2.59d. Invocation command line was
21616 CONFIG_FILES = $CONFIG_FILES
21617 CONFIG_HEADERS = $CONFIG_HEADERS
21618 CONFIG_LINKS = $CONFIG_LINKS
21619 CONFIG_COMMANDS = $CONFIG_COMMANDS
21622 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21627 cat >>$CONFIG_STATUS <<_ACEOF
21628 # Files that config.status was made for.
21629 config_files="$ac_config_files"
21630 config_headers="$ac_config_headers"
21631 config_commands="$ac_config_commands"
21635 cat >>$CONFIG_STATUS <<\_ACEOF
21637 \`$as_me' instantiates files from templates according to the
21638 current configuration.
21640 Usage: $0 [OPTIONS] [FILE]...
21642 -h, --help print this help, then exit
21643 -V, --version print version number, then exit
21644 -q, --quiet do not print progress messages
21645 -d, --debug don't remove temporary files
21646 --recheck update $as_me by reconfiguring in the same conditions
21647 --file=FILE[:TEMPLATE]
21648 instantiate the configuration file FILE
21649 --header=FILE[:TEMPLATE]
21650 instantiate the configuration header FILE
21652 Configuration files:
21655 Configuration headers:
21658 Configuration commands:
21661 Report bugs to <bug-autoconf@gnu.org>."
21664 cat >>$CONFIG_STATUS <<_ACEOF
21666 Wine config.status 0.9.14
21667 configured by $0, generated by GNU Autoconf 2.59d,
21668 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21670 Copyright (C) 2006 Free Software Foundation, Inc.
21671 This config.status script is free software; the Free Software Foundation
21672 gives unlimited permission to copy, distribute and modify it."
21679 cat >>$CONFIG_STATUS <<\_ACEOF
21680 # If no file are specified by the user, then we need to provide default
21681 # value. By we need to know if files were specified by the user.
21687 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21688 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21699 # Handling of the options.
21700 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21702 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21703 echo "$ac_cs_version"; exit ;;
21704 --debug |
--debu |
--deb |
--de |
--d |
-d )
21706 --file |
--fil |
--fi |
--f )
21708 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21709 ac_need_defaults
=false
;;
21710 --header |
--heade |
--head |
--hea )
21712 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21713 ac_need_defaults
=false
;;
21715 # Conflict between --help and --header
21716 { echo "$as_me: error: ambiguous option: $1
21717 Try \`$0 --help' for more information." >&2
21718 { (exit 1); exit 1; }; };;
21719 --help |
--hel |
-h )
21720 echo "$ac_cs_usage"; exit ;;
21721 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21722 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21725 # This is an error.
21726 -*) { echo "$as_me: error: unrecognized option: $1
21727 Try \`$0 --help' for more information." >&2
21728 { (exit 1); exit 1; }; } ;;
21730 *) ac_config_targets
="$ac_config_targets $1"
21731 ac_need_defaults
=false
;;
21737 ac_configure_extra_args
=
21739 if $ac_cs_silent; then
21741 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21745 cat >>$CONFIG_STATUS <<_ACEOF
21746 if \$ac_cs_recheck; then
21747 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21748 CONFIG_SHELL=$SHELL
21749 export CONFIG_SHELL
21750 exec $SHELL "$0" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21754 cat >>$CONFIG_STATUS <<\_ACEOF
21758 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21759 ## Running $as_me. ##
21765 cat >>$CONFIG_STATUS <<_ACEOF
21768 cat >>$CONFIG_STATUS <<\_ACEOF
21770 # Handling of arguments.
21771 for ac_config_target
in $ac_config_targets
21773 case $ac_config_target in
21774 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21775 "dlls/gdi/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
21776 "dlls/gdi/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
21777 "dlls/kernel/messages") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
21778 "dlls/user/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
21779 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21780 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21781 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
21782 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
21783 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21784 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
21785 "libs/Makelib.rules") CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
21786 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
21787 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21788 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
21789 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
21790 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21791 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21792 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
21793 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21794 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
21795 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
21796 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21797 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21798 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21799 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21800 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21801 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
21802 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21803 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
21804 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21805 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21806 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21807 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21808 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21809 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21810 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21811 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21812 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21813 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21814 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21815 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21816 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21817 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21818 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21819 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21820 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21821 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21822 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21823 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21824 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
21825 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
21826 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21827 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21828 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
21829 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21830 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
21831 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21832 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21833 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21834 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21835 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21836 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21837 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21838 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21839 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
21840 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21841 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21842 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21843 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
21844 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21845 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
21846 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21847 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21848 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21849 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21850 "dlls/gdi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
21851 "dlls/gdi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
21852 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
21853 "dlls/glut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
21854 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21855 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21856 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
21857 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21858 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
21859 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21860 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21861 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21862 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
21863 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21864 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21865 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
21866 "dlls/kernel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
21867 "dlls/kernel/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
21868 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
21869 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21870 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21871 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21872 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21873 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21874 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21875 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21876 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
21877 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
21878 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21879 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21880 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21881 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
21882 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21883 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21884 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21885 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21886 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21887 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
21888 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21889 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21890 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21891 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21892 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21893 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21894 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
21895 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21896 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21897 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21898 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21899 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21900 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21901 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21902 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21903 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21904 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21905 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21906 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21907 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21908 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21909 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21910 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21911 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21912 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21913 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
21914 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21915 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21916 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21917 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
21918 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21919 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21920 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
21921 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21922 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21923 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21924 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21925 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21926 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21927 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21928 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21929 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21930 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21931 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
21932 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21933 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
21934 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
21935 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21936 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21937 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
21938 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21939 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
21940 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21941 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21942 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21943 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21944 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21945 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21946 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21947 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
21948 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21949 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
21950 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21951 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
21952 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21953 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21954 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
21955 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21956 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21957 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
21958 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21959 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21960 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21961 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21962 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21963 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21964 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21965 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21966 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
21967 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21968 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21969 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21970 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
21971 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
21972 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21973 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21974 "dlls/user/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
21975 "dlls/user/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
21976 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
21977 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
21978 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21979 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
21980 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21981 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21982 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21983 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
21984 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21985 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21986 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21987 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21988 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21989 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21990 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21991 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21992 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21993 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
21994 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21995 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21996 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
21997 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21998 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
21999 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
22000 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22001 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
22002 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
22003 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
22004 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
22005 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
22006 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
22007 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
22008 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
22009 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22010 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22011 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22012 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22013 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22014 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22015 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22016 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
22017 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22018 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22019 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22020 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22021 "dlls/x11drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
22022 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
22023 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
22024 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22025 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
22026 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
22027 "libs/unicode/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
22028 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
22029 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
22030 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
22031 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
22032 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
22033 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22034 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
22035 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
22036 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
22037 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
22038 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
22039 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
22040 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
22041 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
22042 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
22043 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
22044 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
22045 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22046 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
22047 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
22048 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
22049 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22050 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22051 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
22052 "programs/wcmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
22053 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
22054 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22055 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
22056 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22057 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
22058 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
22059 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22060 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
22061 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
22062 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
22063 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
22064 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
22065 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
22066 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
22067 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
22068 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
22069 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
22070 "tools/winapi/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
22071 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
22072 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
22073 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
22074 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
22075 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
22077 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22078 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22079 { (exit 1); exit 1; }; };;
22084 # If the user did not use the arguments to specify the items to instantiate,
22085 # then the envvar interface is used. Set only those that are not.
22086 # We use the long form for the default assignment because of an extremely
22087 # bizarre bug on SunOS 4.1.3.
22088 if $ac_need_defaults; then
22089 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22090 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22091 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22094 # Have a temporary directory for convenience. Make it in the build tree
22095 # simply because there is no reason against having it here, and in addition,
22096 # creating and moving files from /tmp can sometimes cause problems.
22097 # Hook for its removal unless debugging.
22098 # Note that there is a small window in which the directory will not be cleaned:
22099 # after its creation but before its name has been assigned to `$tmp'.
22103 trap 'exit_status=$?
22104 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22106 trap '{ (exit 1); exit 1; }' 1 2 13 15
22108 # Create a (secure) tmp directory for tmp files.
22111 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22112 test -n "$tmp" && test -d "$tmp"
22115 tmp
=.
/conf$$
-$RANDOM
22116 (umask 077 && mkdir
"$tmp")
22119 echo "$me: cannot create a temporary directory in ." >&2
22120 { (exit 1); exit 1; }
22124 # Set up the sed scripts for CONFIG_FILES section.
22127 # No need to generate the scripts if there are no CONFIG_FILES.
22128 # This happens for instance when ./config.status config.h
22129 if test -n "$CONFIG_FILES"; then
22133 # Create sed commands to just substitute file output variables.
22135 # Remaining file output variables are in a fragment that also has non-file
22141 for ac_last_try
in false false false false false
:; do
22142 cat >conf$
$subs.
sed <<_ACEOF
22143 SHELL!$SHELL$ac_delim
22144 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22145 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22146 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22147 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22148 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22149 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22150 exec_prefix!$exec_prefix$ac_delim
22151 prefix!$prefix$ac_delim
22152 program_transform_name!$program_transform_name$ac_delim
22153 bindir!$bindir$ac_delim
22154 sbindir!$sbindir$ac_delim
22155 libexecdir!$libexecdir$ac_delim
22156 datarootdir!$datarootdir$ac_delim
22157 datadir!$datadir$ac_delim
22158 sysconfdir!$sysconfdir$ac_delim
22159 sharedstatedir!$sharedstatedir$ac_delim
22160 localstatedir!$localstatedir$ac_delim
22161 includedir!$includedir$ac_delim
22162 oldincludedir!$oldincludedir$ac_delim
22163 docdir!$docdir$ac_delim
22164 infodir!$infodir$ac_delim
22165 htmldir!$htmldir$ac_delim
22166 dvidir!$dvidir$ac_delim
22167 pdfdir!$pdfdir$ac_delim
22168 psdir!$psdir$ac_delim
22169 libdir!$libdir$ac_delim
22170 localedir!$localedir$ac_delim
22171 mandir!$mandir$ac_delim
22172 DEFS!$DEFS$ac_delim
22173 ECHO_C!$ECHO_C$ac_delim
22174 ECHO_N!$ECHO_N$ac_delim
22175 ECHO_T!$ECHO_T$ac_delim
22176 LIBS!$LIBS$ac_delim
22177 build_alias!$build_alias$ac_delim
22178 host_alias!$host_alias$ac_delim
22179 target_alias!$target_alias$ac_delim
22180 build!$build$ac_delim
22181 build_cpu!$build_cpu$ac_delim
22182 build_vendor!$build_vendor$ac_delim
22183 build_os!$build_os$ac_delim
22184 host!$host$ac_delim
22185 host_cpu!$host_cpu$ac_delim
22186 host_vendor!$host_vendor$ac_delim
22187 host_os!$host_os$ac_delim
22188 WIN16_FILES!$WIN16_FILES$ac_delim
22189 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22190 SET_MAKE!$SET_MAKE$ac_delim
22192 CFLAGS!$CFLAGS$ac_delim
22193 LDFLAGS!$LDFLAGS$ac_delim
22194 CPPFLAGS!$CPPFLAGS$ac_delim
22195 ac_ct_CC!$ac_ct_CC$ac_delim
22196 EXEEXT!$EXEEXT$ac_delim
22197 OBJEXT!$OBJEXT$ac_delim
22199 CXXFLAGS!$CXXFLAGS$ac_delim
22200 ac_ct_CXX!$ac_ct_CXX$ac_delim
22201 CPPBIN!$CPPBIN$ac_delim
22202 TOOLSDIR!$TOOLSDIR$ac_delim
22203 XMKMF!$XMKMF$ac_delim
22205 X_CFLAGS!$X_CFLAGS$ac_delim
22206 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22207 X_LIBS!$X_LIBS$ac_delim
22208 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22210 LEXLIB!$LEXLIB$ac_delim
22211 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
22212 XLEX!$XLEX$ac_delim
22213 BISON!$BISON$ac_delim
22215 ac_ct_AS!$ac_ct_AS$ac_delim
22218 RANLIB!$RANLIB$ac_delim
22219 STRIP!$STRIP$ac_delim
22220 WINDRES!$WINDRES$ac_delim
22221 LN_S!$LN_S$ac_delim
22224 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 79; then
22226 elif $ac_last_try; then
22227 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22228 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22229 { (exit 1); exit 1; }; }
22231 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22236 if grep '^CEOF$' conf$
$subs.
sed >/dev
/null
; then
22237 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
22238 ac_eof
=`expr 0$ac_eof + 1`
22241 cat >>$CONFIG_STATUS <<_ACEOF
22242 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22243 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22244 /^[ ]*@MAKE_RULES@[ ]*$/{
22248 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22252 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22253 r $MAKE_IMPLIB_RULES
22256 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22260 /^[ ]*@MAKE_LIB_RULES@[ ]*$/{
22264 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22270 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22271 s/^/s,@/; s/!/@,|#_!!_#|/
22274 s/'"$ac_delim"'$/,g/; t
22276 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22277 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22278 rm -f conf$
$subs.
sed
22279 cat >>$CONFIG_STATUS <<_ACEOF
22285 for ac_last_try
in false false false false false
:; do
22286 cat >conf$
$subs.
sed <<_ACEOF
22288 GREP!$GREP$ac_delim
22289 EGREP!$EGREP$ac_delim
22290 LDCONFIG!$LDCONFIG$ac_delim
22291 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22292 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22293 INSTALL_DATA!$INSTALL_DATA$ac_delim
22294 LINT!$LINT$ac_delim
22295 LINTFLAGS!$LINTFLAGS$ac_delim
22296 FONTFORGE!$FONTFORGE$ac_delim
22297 PKG_CONFIG!$PKG_CONFIG$ac_delim
22298 PRELINK!$PRELINK$ac_delim
22299 LIBPTHREAD!$LIBPTHREAD$ac_delim
22300 XLIB!$XLIB$ac_delim
22301 XFILES!$XFILES$ac_delim
22302 OPENGLFILES!$OPENGLFILES$ac_delim
22303 GLU32FILES!$GLU32FILES$ac_delim
22304 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22305 GLUT_LIBS!$GLUT_LIBS$ac_delim
22306 GLUT32FILES!$GLUT32FILES$ac_delim
22307 NASLIBS!$NASLIBS$ac_delim
22308 XML2LIBS!$XML2LIBS$ac_delim
22309 XML2INCL!$XML2INCL$ac_delim
22310 XSLTLIBS!$XSLTLIBS$ac_delim
22311 XSLTINCL!$XSLTINCL$ac_delim
22312 HALINCL!$HALINCL$ac_delim
22313 CURSESLIBS!$CURSESLIBS$ac_delim
22314 sane_devel!$sane_devel$ac_delim
22315 SANELIBS!$SANELIBS$ac_delim
22316 SANEINCL!$SANEINCL$ac_delim
22317 gphoto2_devel!$gphoto2_devel$ac_delim
22318 gphoto2port_devel!$gphoto2port_devel$ac_delim
22319 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22320 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22321 ICULIBS!$ICULIBS$ac_delim
22322 RESOLVLIBS!$RESOLVLIBS$ac_delim
22323 LCMSLIBS!$LCMSLIBS$ac_delim
22324 LDAPLIBS!$LDAPLIBS$ac_delim
22325 FREETYPELIBS!$FREETYPELIBS$ac_delim
22326 FREETYPEINCL!$FREETYPEINCL$ac_delim
22327 ft_devel!$ft_devel$ac_delim
22328 ft_devel2!$ft_devel2$ac_delim
22329 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22330 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
22331 ARTSLIBS!$ARTSLIBS$ac_delim
22332 ARTSINCL!$ARTSINCL$ac_delim
22333 ESDCONFIG!$ESDCONFIG$ac_delim
22334 ESDLIBS!$ESDLIBS$ac_delim
22335 ESDINCL!$ESDINCL$ac_delim
22336 ALSALIBS!$ALSALIBS$ac_delim
22337 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22338 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22339 BUILTINFLAG!$BUILTINFLAG$ac_delim
22340 DLLEXT!$DLLEXT$ac_delim
22341 DLLFLAGS!$DLLFLAGS$ac_delim
22342 DLLIBS!$DLLIBS$ac_delim
22343 LDSHARED!$LDSHARED$ac_delim
22344 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22345 LIBEXT!$LIBEXT$ac_delim
22346 IMPLIBEXT!$IMPLIBEXT$ac_delim
22347 DLLTOOL!$DLLTOOL$ac_delim
22348 DLLWRAP!$DLLWRAP$ac_delim
22349 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22350 LDEXERPATH!$LDEXERPATH$ac_delim
22351 LDDLLRPATH!$LDDLLRPATH$ac_delim
22352 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22353 IOKITLIB!$IOKITLIB$ac_delim
22354 COREAUDIO!$COREAUDIO$ac_delim
22355 CROSSTEST!$CROSSTEST$ac_delim
22356 CROSSCC!$CROSSCC$ac_delim
22357 CROSSWINDRES!$CROSSWINDRES$ac_delim
22358 LDPATH!$LDPATH$ac_delim
22359 CRTLIBS!$CRTLIBS$ac_delim
22360 SOCKETLIBS!$SOCKETLIBS$ac_delim
22361 MAIN_BINARY!$MAIN_BINARY$ac_delim
22362 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22364 LIBOBJS!$LIBOBJS$ac_delim
22365 LTLIBOBJS!$LTLIBOBJS$ac_delim
22368 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 79; then
22370 elif $ac_last_try; then
22371 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22372 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22373 { (exit 1); exit 1; }; }
22375 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22380 if grep '^CEOF$' conf$
$subs.
sed >/dev
/null
; then
22381 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
22382 ac_eof
=`expr 0$ac_eof + 1`
22385 cat >>$CONFIG_STATUS <<_ACEOF
22386 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22387 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22390 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22391 s/^/s,@/; s/!/@,|#_!!_#|/
22394 s/'"$ac_delim"'$/,g/; t
22396 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22397 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22398 rm -f conf$
$subs.
sed
22399 cat >>$CONFIG_STATUS <<_ACEOF
22406 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22407 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22408 # trailing colons and then remove the whole line if VPATH becomes empty
22409 # (actually we leave an empty line to preserve line numbers).
22410 if test "x$srcdir" = x.
; then
22411 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22412 s/:*\$(srcdir):*/:/
22413 s/:*\${srcdir}:*/:/
22415 s/^\([^=]*=[ ]*\):*/\1/
22421 cat >>$CONFIG_STATUS <<\_ACEOF
22422 fi # test -n "$CONFIG_FILES"
22425 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22428 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22430 case $ac_mode$ac_tag in
22432 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22433 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22434 { (exit 1); exit 1; }; };;
22435 :[FH
]-) ac_tag
=-:-;;
22436 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22453 -) ac_f
="$tmp/stdin";;
22454 *) # Look for the file first in the build tree, then in the source tree
22455 # (if the path is not absolute). The absolute path cannot be DOS-style,
22456 # because $ac_f cannot contain `:'.
22460 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22462 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22463 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22464 { (exit 1); exit 1; }; };;
22466 ac_file_inputs
="$ac_file_inputs $ac_f"
22469 # Let's still pretend it is `configure' which instantiates (i.e., don't
22470 # use $as_me), people would be surprised to read:
22471 # /* config.h. Generated by config.status. */
22472 configure_input
="Generated from "`IFS=:
22473 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22474 if test x
"$ac_file" != x-
; then
22475 configure_input
="$ac_file. $configure_input"
22476 { echo "$as_me:$LINENO: creating $ac_file" >&5
22477 echo "$as_me: creating $ac_file" >&6;}
22481 *:-:* |
*:-) cat >"$tmp/stdin";;
22486 ac_dir
=`$as_dirname -- "$ac_file" ||
22487 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22488 X"$ac_file" : 'X\(//\)[^/]' \| \
22489 X"$ac_file" : 'X\(//\)$' \| \
22490 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22496 /^X\(\/\/\)[^/].*/{
22511 -*) as_dir
=.
/$as_dir;;
22513 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22517 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22518 *) as_qdir
=$as_dir;;
22520 as_dirs
="'$as_qdir' $as_dirs"
22521 as_dir
=`$as_dirname -- "$as_dir" ||
22522 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22523 X"$as_dir" : 'X\(//\)[^/]' \| \
22524 X"$as_dir" : 'X\(//\)$' \| \
22525 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22531 /^X\(\/\/\)[^/].*/{
22544 test -d "$as_dir" && break
22546 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22547 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22548 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22549 { (exit 1); exit 1; }; }; }
22553 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22555 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22556 # A ".." for each directory in $ac_dir_suffix.
22557 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22558 case $ac_top_builddir_sub in
22559 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22560 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22563 ac_abs_top_builddir
=$ac_pwd
22564 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22565 # for backward compatibility:
22566 ac_top_builddir
=$ac_top_build_prefix
22569 .
) # We are building in place.
22571 ac_top_srcdir
=$ac_top_builddir_sub
22572 ac_abs_top_srcdir
=$ac_pwd ;;
22573 [\\/]* | ?
:[\\/]* ) # Absolute name.
22574 ac_srcdir
=$srcdir$ac_dir_suffix;
22575 ac_top_srcdir
=$srcdir
22576 ac_abs_top_srcdir
=$srcdir ;;
22577 *) # Relative name.
22578 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22579 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22580 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22582 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22592 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22593 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22597 cat >>$CONFIG_STATUS <<\_ACEOF
22598 # If the template does not know about datarootdir, expand it.
22599 # FIXME: This hack should be removed a few years after 2.60.
22600 ac_datarootdir_hack
=
22602 case `sed -n '/datarootdir/ {
22611 ' $ac_file_inputs` in
22613 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22614 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22615 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22617 cat >>$CONFIG_STATUS <<_ACEOF
22618 ac_datarootdir_hack='
22619 s&@datadir@&$datadir&g
22620 s&@docdir@&$docdir&g
22621 s&@infodir@&$infodir&g
22622 s&@localedir@&$localedir&g
22623 s&@mandir@&$mandir&g
22624 s&\\\${datarootdir}&$datarootdir&g' ;;
22628 # Neutralize VPATH when `$srcdir' = `.'.
22629 # Shell code in configure.ac might set extrasub.
22630 # FIXME: do we really want to maintain this feature?
22631 cat >>$CONFIG_STATUS <<_ACEOF
22635 cat >>$CONFIG_STATUS <<\_ACEOF
22637 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22638 s
&@configure_input@
&$configure_input&;t t
22639 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22640 s
&@srcdir@
&$ac_srcdir&;t t
22641 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22642 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22643 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22644 s
&@builddir@
&$ac_builddir&;t t
22645 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22646 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22647 s
&@INSTALL@
&$ac_INSTALL&;t t
22648 $ac_datarootdir_hack
22649 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
22653 -) cat "$tmp/out
"; rm -f "$tmp/out
";;
22654 *) rm -f "$ac_file"; mv "$tmp/out
" $ac_file;;
22662 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D
", where
22663 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22664 # PARAMS is the parameter list in the macro definition--in most cases, it's
22665 # just an empty string.
22667 ac_dA='s,^\([ ]*#[ ]*\)[^ ]*\([ ][ ]*'
22668 ac_dB='\)[ (].*$,\1define\2'
22672 ac_word_regexp=[_$as_cr_Letters][_$as_cr_alnum]*
22675 # Transform confdefs.h into a sed script `conftest.defines', that
22676 # substitutes the proper values into config.h.in to produce config.h.
22677 rm -f conftest.defines conftest.tail
22678 # First, append a space to every undef/define line, to ease matching.
22679 echo 's/$/ /' >conftest.defines
22680 # Then, protect against being on the right side of a sed subst, or in
22681 # an unquoted here document, in config.status. If some macros were
22682 # called several times there might be several #defines for the same
22683 # symbol, which is useless. But do not sort them, since the last
22684 # AC_DEFINE must be honored.
22685 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22690 s/^[ ]*#[ ]*define[ ][ ]*//
22696 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/${ac_dA}\1$ac_dB\2${ac_dC}\3$ac_dD/p
22697 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/${ac_dA}\1$ac_dB${ac_dC}\2$ac_dD/p
22698 ' >>conftest.defines
22700 # Remove the space that was appended to ease matching.
22701 # Then replace #undef with comments. This is necessary, for
22702 # example, in the case of _POSIX_SOURCE, which is predefined and required
22703 # on some systems where configure will not decide to define it.
22704 # (The regexp can be short, since the line contains either #define or #undef.)
22706 s,^[ #]*u.*,/* & */,' >>conftest.defines
22708 # Break up conftest.defines:
22709 ac_max_sed_lines=96
22711 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1
"
22712 # Second one is: sed -f defines.sed "$tmp/out1
" >"$tmp/out2
"
22713 # Third one will be: sed -f defines.sed "$tmp/out2
" >"$tmp/out1
"
22715 ac_in='$ac_file_inputs'
22716 ac_out='"$tmp/out1
"'
22717 ac_nxt='"$tmp/out2
"'
22721 # Write a here document:
22722 echo ' # First, check the format of the line:
22723 cat >"$tmp/defines.
sed" <<CEOF
22724 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_regexp[ ]*$/b def
22725 /^[ ]*#[ ]*define[ ][ ]*$ac_word_regexp[( ]/b def
22727 :def' >>$CONFIG_STATUS
22728 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22730 sed -f "$tmp/defines.
sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22731 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22732 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22733 grep . conftest.tail >/dev/null || break
22734 rm -f conftest.defines
22735 mv conftest.tail conftest.defines
22737 rm -f conftest.defines conftest.tail
22739 echo "ac_result
=$ac_in" >>$CONFIG_STATUS
22740 cat >>$CONFIG_STATUS <<\_ACEOF
22741 if test x"$ac_file" != x-; then
22742 echo "/* $configure_input */" >"$tmp/config.h
"
22743 cat "$ac_result" >>"$tmp/config.h
"
22744 if diff $ac_file "$tmp/config.h
" >/dev/null 2>&1; then
22745 { echo "$as_me:$LINENO: $ac_file is unchanged
" >&5
22746 echo "$as_me: $ac_file is unchanged
" >&6;}
22749 mv "$tmp/config.h
" $ac_file
22752 echo "/* $configure_input */"
22758 :C) { echo "$as_me:$LINENO: executing
$ac_file commands
" >&5
22759 echo "$as_me: executing
$ac_file commands
" >&6;}
22764 case $ac_file$ac_mode in
22765 "dlls
/gdi
/enhmfdrv
":C) test -d "dlls
/gdi
/enhmfdrv
" || ({ echo "$as_me:$LINENO: creating dlls
/gdi
/enhmfdrv
" >&5
22766 echo "$as_me: creating dlls
/gdi
/enhmfdrv
" >&6;} && mkdir "dlls
/gdi
/enhmfdrv
") ;;
22767 "dlls
/gdi
/mfdrv
":C) test -d "dlls
/gdi
/mfdrv
" || ({ echo "$as_me:$LINENO: creating dlls
/gdi
/mfdrv
" >&5
22768 echo "$as_me: creating dlls
/gdi
/mfdrv
" >&6;} && mkdir "dlls
/gdi
/mfdrv
") ;;
22769 "dlls
/kernel
/messages
":C) test -d "dlls
/kernel
/messages
" || ({ echo "$as_me:$LINENO: creating dlls
/kernel
/messages
" >&5
22770 echo "$as_me: creating dlls
/kernel
/messages
" >&6;} && mkdir "dlls
/kernel
/messages
") ;;
22771 "dlls
/user
/resources
":C) test -d "dlls
/user
/resources
" || ({ echo "$as_me:$LINENO: creating dlls
/user
/resources
" >&5
22772 echo "$as_me: creating dlls
/user
/resources
" >&6;} && mkdir "dlls
/user
/resources
") ;;
22773 "dlls
/wineps.drv
/data
":C) test -d "dlls
/wineps.drv
/data
" || ({ echo "$as_me:$LINENO: creating dlls
/wineps.drv
/data
" >&5
22774 echo "$as_me: creating dlls
/wineps.drv
/data
" >&6;} && mkdir "dlls
/wineps.drv
/data
") ;;
22775 "include
/wine
":C) test -d "include
/wine
" || ({ echo "$as_me:$LINENO: creating include
/wine
" >&5
22776 echo "$as_me: creating include
/wine
" >&6;} && mkdir "include
/wine
") ;;
22782 { (exit 0); exit 0; }
22784 chmod +x $CONFIG_STATUS
22785 ac_clean_files=$ac_clean_files_save
22788 # configure is writing to config.log, and then calls config.status.
22789 # config.status does its own redirection, appending to config.log.
22790 # Unfortunately, on DOS this fails, as config.log is still kept open
22791 # by configure, so config.status won't be able to write to it; its
22792 # output is simply discarded. So we exec the FD to /dev/null,
22793 # effectively closing config.log, so it can be properly (re)opened and
22794 # appended to by config.status. When coming back to configure, we
22795 # need to make the FD available again.
22796 if test "$no_create" != yes; then
22798 ac_config_status_args=
22799 test "$silent" = yes &&
22800 ac_config_status_args="$ac_config_status_args --quiet"
22802 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22804 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22805 # would make configure fail if this is the last instruction.
22806 $ac_cs_success || { (exit 1); exit 1; }
22811 if test "$have_x" = "no
"
22814 echo "*** Warning
: X development files not found. Wine will be built without
"
22815 echo "*** X support
, which currently does not work
, and would probably not be
"
22816 echo "*** what you want anyway. You will need to
install devel packages of
"
22817 echo "*** Xlib
/Xfree86
at the very least.
"
22821 if test "$wine_cv_opengl_version_OK" = "no
"
22824 echo "*** Warning
: old Mesa headers detected. Wine will be built without Direct3D
"
22825 echo "*** support. Consider upgrading your Mesa libraries
(http
://www.mesa3d.org
/).
"
22829 if test "$wine_cv_msg_freetype" = "yes"
22832 echo "*** Note
: Your system appears to have the FreeType
2 runtime libraries
"
22833 echo "*** installed
, but
'freetype-config' is not
in your PATH. Install the
"
22834 echo "*** freetype-devel package
(or its equivalent on your distribution
) to
"
22835 echo "*** enable Wine to use TrueType fonts.
"
22839 if test "$wine_cv_msg_fonts" = "yes"
22842 echo "*** Warning
: FreeType or FontForge is missing.
"
22843 echo "*** Fonts will not be built. Dialog text may be invisible or unaligned.
"
22847 if test -z "$ALSALIBS" -a \
22848 -z "$ARTSC_LIBS" -a \
22849 -z "$AUDIOIOLIBS" -a \
22851 -z "$ESD_LIBS" -a \
22852 -z "$ac_cv_lib_soname_jack" -a \
22853 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22854 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22855 "$ac_cv_header_soundcard_h" != "yes"
22857 echo "*** No sound system was found. Windows applications will be silent.
"
22858 echo "*** The currently supported sound systems are
:"
22859 echo "*** ALSA
, ARTS
, EsounD
, AudioIO
, Jack
, NAS and OSS
"
22864 echo "Configure finished. Do
'${ac_make} depend && ${ac_make}' to compile Wine.
"