2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for lcdproc 0.5.2.
5 # Report bugs to <lcdproc@lists.omnipotent.net>.
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 more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME
='lcdproc'
576 PACKAGE_TARNAME
='lcdproc'
577 PACKAGE_VERSION
='0.5.2'
578 PACKAGE_STRING
='lcdproc 0.5.2'
579 PACKAGE_BUGREPORT
='lcdproc@lists.omnipotent.net'
581 ac_unique_file
="clients/lcdproc/batt.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
618 ac_config_libobj_dir
=shared
628 program_transform_name
669 INSTALL_STRIP_PROGRAM
734 ac_precious_vars
='build_alias
745 # Initialize some variables set by options.
747 ac_init_version
=false
748 # The variables have the same names as the options, with
749 # dashes changed to underlines.
757 program_transform_name
=s
,x
,x
,
765 # Installation directory options.
766 # These are left unexpanded so users can "make install exec_prefix=/foo"
767 # and all the variables that are supposed to be based on exec_prefix
768 # by default will actually change.
769 # Use braces instead of parens because sh, perl, etc. also accept them.
770 # (The list follows the same order as the GNU Coding Standards.)
771 bindir
='${exec_prefix}/bin'
772 sbindir
='${exec_prefix}/sbin'
773 libexecdir
='${exec_prefix}/libexec'
774 datarootdir
='${prefix}/share'
775 datadir
='${datarootdir}'
776 sysconfdir
='${prefix}/etc'
777 sharedstatedir
='${prefix}/com'
778 localstatedir
='${prefix}/var'
779 includedir
='${prefix}/include'
780 oldincludedir
='/usr/include'
781 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
782 infodir
='${datarootdir}/info'
787 libdir
='${exec_prefix}/lib'
788 localedir
='${datarootdir}/locale'
789 mandir
='${datarootdir}/man'
795 # If the previous option needs an argument, assign it.
796 if test -n "$ac_prev"; then
797 eval $ac_prev=\
$ac_option
803 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
807 # Accept the important Cygnus configure options, so we can diagnose typos.
809 case $ac_dashdash$ac_option in
813 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
815 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
818 -build |
--build |
--buil |
--bui |
--bu)
819 ac_prev
=build_alias
;;
820 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
821 build_alias
=$ac_optarg ;;
823 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
824 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
825 ac_prev
=cache_file
;;
826 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
827 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
828 cache_file
=$ac_optarg ;;
831 cache_file
=config.cache
;;
833 -datadir |
--datadir |
--datadi |
--datad)
835 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
836 datadir
=$ac_optarg ;;
838 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
839 |
--dataroo |
--dataro |
--datar)
840 ac_prev
=datarootdir
;;
841 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
842 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
843 datarootdir
=$ac_optarg ;;
845 -disable-* |
--disable-*)
846 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
847 # Reject names that are not valid shell variable names.
848 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
849 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
850 { (exit 1); exit 1; }; }
851 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
852 eval enable_
$ac_feature=no
;;
854 -docdir |
--docdir |
--docdi |
--doc |
--do)
856 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
859 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
861 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
864 -enable-* |
--enable-*)
865 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
866 # Reject names that are not valid shell variable names.
867 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
868 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
869 { (exit 1); exit 1; }; }
870 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
871 eval enable_
$ac_feature=\
$ac_optarg ;;
873 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
874 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
875 |
--exec |
--exe |
--ex)
876 ac_prev
=exec_prefix
;;
877 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
878 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
879 |
--exec=* |
--exe=* |
--ex=*)
880 exec_prefix
=$ac_optarg ;;
882 -gas |
--gas |
--ga |
--g)
883 # Obsolete; use --with-gas.
886 -help |
--help |
--hel |
--he |
-h)
888 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
889 ac_init_help
=recursive
;;
890 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
891 ac_init_help
=short
;;
893 -host |
--host |
--hos |
--ho)
894 ac_prev
=host_alias
;;
895 -host=* |
--host=* |
--hos=* |
--ho=*)
896 host_alias
=$ac_optarg ;;
898 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
900 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
902 htmldir
=$ac_optarg ;;
904 -includedir |
--includedir |
--includedi |
--included |
--include \
905 |
--includ |
--inclu |
--incl |
--inc)
906 ac_prev
=includedir
;;
907 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
908 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
909 includedir
=$ac_optarg ;;
911 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
913 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
914 infodir
=$ac_optarg ;;
916 -libdir |
--libdir |
--libdi |
--libd)
918 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
921 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
922 |
--libexe |
--libex |
--libe)
923 ac_prev
=libexecdir
;;
924 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
925 |
--libexe=* |
--libex=* |
--libe=*)
926 libexecdir
=$ac_optarg ;;
928 -localedir |
--localedir |
--localedi |
--localed |
--locale)
930 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
931 localedir
=$ac_optarg ;;
933 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
934 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
935 ac_prev
=localstatedir
;;
936 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
937 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
938 localstatedir
=$ac_optarg ;;
940 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
942 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
946 # Obsolete; use --without-fp.
949 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
950 |
--no-cr |
--no-c |
-n)
953 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
954 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
957 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
958 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
959 |
--oldin |
--oldi |
--old |
--ol |
--o)
960 ac_prev
=oldincludedir
;;
961 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
962 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
963 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
964 oldincludedir
=$ac_optarg ;;
966 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
968 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
971 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
972 |
--program-pre |
--program-pr |
--program-p)
973 ac_prev
=program_prefix
;;
974 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
975 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
976 program_prefix
=$ac_optarg ;;
978 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
979 |
--program-suf |
--program-su |
--program-s)
980 ac_prev
=program_suffix
;;
981 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
982 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
983 program_suffix
=$ac_optarg ;;
985 -program-transform-name |
--program-transform-name \
986 |
--program-transform-nam |
--program-transform-na \
987 |
--program-transform-n |
--program-transform- \
988 |
--program-transform |
--program-transfor \
989 |
--program-transfo |
--program-transf \
990 |
--program-trans |
--program-tran \
991 |
--progr-tra |
--program-tr |
--program-t)
992 ac_prev
=program_transform_name
;;
993 -program-transform-name=* |
--program-transform-name=* \
994 |
--program-transform-nam=* |
--program-transform-na=* \
995 |
--program-transform-n=* |
--program-transform-=* \
996 |
--program-transform=* |
--program-transfor=* \
997 |
--program-transfo=* |
--program-transf=* \
998 |
--program-trans=* |
--program-tran=* \
999 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1000 program_transform_name
=$ac_optarg ;;
1002 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1004 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1005 pdfdir
=$ac_optarg ;;
1007 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1009 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1012 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1013 |
-silent |
--silent |
--silen |
--sile |
--sil)
1016 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1018 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1020 sbindir
=$ac_optarg ;;
1022 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1023 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1024 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1026 ac_prev
=sharedstatedir
;;
1027 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1028 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1029 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1031 sharedstatedir
=$ac_optarg ;;
1033 -site |
--site |
--sit)
1035 -site=* |
--site=* |
--sit=*)
1038 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1040 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1041 srcdir
=$ac_optarg ;;
1043 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1044 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1045 ac_prev
=sysconfdir
;;
1046 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1047 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1048 sysconfdir
=$ac_optarg ;;
1050 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1051 ac_prev
=target_alias
;;
1052 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1053 target_alias
=$ac_optarg ;;
1055 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1058 -version |
--version |
--versio |
--versi |
--vers |
-V)
1059 ac_init_version
=: ;;
1062 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1065 { echo "$as_me: error: invalid package name: $ac_package" >&2
1066 { (exit 1); exit 1; }; }
1067 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1068 eval with_
$ac_package=\
$ac_optarg ;;
1070 -without-* |
--without-*)
1071 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1074 { echo "$as_me: error: invalid package name: $ac_package" >&2
1075 { (exit 1); exit 1; }; }
1076 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1077 eval with_
$ac_package=no
;;
1080 # Obsolete; use --with-x.
1083 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1084 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1085 ac_prev
=x_includes
;;
1086 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1087 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1088 x_includes
=$ac_optarg ;;
1090 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1091 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1092 ac_prev
=x_libraries
;;
1093 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1094 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1095 x_libraries
=$ac_optarg ;;
1097 -*) { echo "$as_me: error: unrecognized option: $ac_option
1098 Try \`$0 --help' for more information." >&2
1099 { (exit 1); exit 1; }; }
1103 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1104 # Reject names that are not valid shell variable names.
1105 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1106 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1107 { (exit 1); exit 1; }; }
1108 eval $ac_envvar=\
$ac_optarg
1109 export $ac_envvar ;;
1112 # FIXME: should be removed in autoconf 3.0.
1113 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1114 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1115 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1116 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1122 if test -n "$ac_prev"; then
1123 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1124 { echo "$as_me: error: missing argument to $ac_option" >&2
1125 { (exit 1); exit 1; }; }
1128 # Be sure to have absolute directory names.
1129 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130 datadir sysconfdir sharedstatedir localstatedir includedir \
1131 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1132 libdir localedir mandir
1134 eval ac_val
=\$
$ac_var
1136 [\\/$
]* | ?
:[\\/]* ) continue;;
1137 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1139 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1140 { (exit 1); exit 1; }; }
1143 # There might be people who depend on the old broken behavior: `$host'
1144 # used to hold the argument of --host etc.
1145 # FIXME: To remove some day.
1148 target
=$target_alias
1150 # FIXME: To remove some day.
1151 if test "x$host_alias" != x
; then
1152 if test "x$build_alias" = x
; then
1153 cross_compiling
=maybe
1154 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1155 If a cross compiler is detected then cross compile mode will be used." >&2
1156 elif test "x$build_alias" != "x$host_alias"; then
1162 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1164 test "$silent" = yes && exec 6>/dev
/null
1167 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1168 ac_ls_di
=`ls -di .` &&
1169 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1170 { echo "$as_me: error: Working directory cannot be determined" >&2
1171 { (exit 1); exit 1; }; }
1172 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1173 { echo "$as_me: error: pwd does not report name of working directory" >&2
1174 { (exit 1); exit 1; }; }
1177 # Find the source files, if location was not specified.
1178 if test -z "$srcdir"; then
1179 ac_srcdir_defaulted
=yes
1180 # Try the directory containing this script, then the parent directory.
1181 ac_confdir
=`$as_dirname -- "$0" ||
1182 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1183 X"$0" : 'X\(//\)[^/]' \| \
1184 X"$0" : 'X\(//\)$' \| \
1185 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1205 if test ! -r "$srcdir/$ac_unique_file"; then
1209 ac_srcdir_defaulted
=no
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1212 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1213 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1214 { (exit 1); exit 1; }; }
1216 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1218 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1219 { (exit 1); exit 1; }; }
1221 # When building in place, set srcdir=.
1222 if test "$ac_abs_confdir" = "$ac_pwd"; then
1225 # Remove unnecessary trailing slashes from srcdir.
1226 # Double slashes in file names in object file debugging info
1227 # mess up M-x gdb in Emacs.
1229 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1231 for ac_var
in $ac_precious_vars; do
1232 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1233 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1234 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1235 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1239 # Report the --help message.
1241 if test "$ac_init_help" = "long"; then
1242 # Omit some internal or obsolete options to make the list less imposing.
1243 # This message is too long to be a string in the A/UX 3.1 sh.
1245 \`configure' configures lcdproc 0.5.2 to adapt to many kinds of systems.
1247 Usage: $0 [OPTION]... [VAR=VALUE]...
1249 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250 VAR=VALUE. See below for descriptions of some of the useful variables.
1252 Defaults for the options are specified in brackets.
1255 -h, --help display this help and exit
1256 --help=short display options specific to this package
1257 --help=recursive display the short help of all the included packages
1258 -V, --version display version information and exit
1259 -q, --quiet, --silent do not print \`checking...' messages
1260 --cache-file=FILE cache test results in FILE [disabled]
1261 -C, --config-cache alias for \`--cache-file=config.cache'
1262 -n, --no-create do not create output files
1263 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1265 Installation directories:
1266 --prefix=PREFIX install architecture-independent files in PREFIX
1267 [$ac_default_prefix]
1268 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1271 By default, \`make install' will install all the files in
1272 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1273 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274 for instance \`--prefix=\$HOME'.
1276 For better control, use the options below.
1278 Fine tuning of the installation directories:
1279 --bindir=DIR user executables [EPREFIX/bin]
1280 --sbindir=DIR system admin executables [EPREFIX/sbin]
1281 --libexecdir=DIR program executables [EPREFIX/libexec]
1282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1285 --libdir=DIR object code libraries [EPREFIX/lib]
1286 --includedir=DIR C header files [PREFIX/include]
1287 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1290 --infodir=DIR info documentation [DATAROOTDIR/info]
1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1292 --mandir=DIR man documentation [DATAROOTDIR/man]
1293 --docdir=DIR documentation root [DATAROOTDIR/doc/lcdproc]
1294 --htmldir=DIR html documentation [DOCDIR]
1295 --dvidir=DIR dvi documentation [DOCDIR]
1296 --pdfdir=DIR pdf documentation [DOCDIR]
1297 --psdir=DIR ps documentation [DOCDIR]
1303 --program-prefix=PREFIX prepend PREFIX to installed program names
1304 --program-suffix=SUFFIX append SUFFIX to installed program names
1305 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1308 --build=BUILD configure
for building on BUILD
[guessed
]
1309 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1313 if test -n "$ac_init_help"; then
1314 case $ac_init_help in
1315 short | recursive
) echo "Configuration of lcdproc 0.5.2:";;
1320 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1321 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1322 --enable-debug show debug information
1323 --disable-dependency-tracking speeds up one-time build
1324 --enable-dependency-tracking do not reject slow dependency extractors
1325 --enable-libusb compile with USB support using libusb.
1326 --enable-drivers=<list
> compile drivers
for LCDs
in <list
>,
1327 which is a comma-separated list of drivers.
1328 Possible drivers are
:
1329 bayrad
,CFontz
,CFontz633
,CFontzPacket
,curses
,CwLnx
,ea65
,
1330 EyeboxOne
,g15
,glcdlib
,glk
,hd44780
,icp_a106
,imon
,IOWarrior
,
1331 irman
,joy
,lb216
,lcdm001
,lcterm
,lirc
,MD8800
,ms6931
,
1332 mtc_s16209x
,MtxOrb
,NoritakeVFD
,picolcd
,pyramid
,sed1330
1333 sed1520
,serialPOS
,serialVFD
,sli
,stv5730
,svga
,t6963
,text
,
1335 'all' compiles all drivers
;
1336 'all,!xxx,!yyy' de-selects previously selected drivers
1337 --enable-seamless-hbars no gaps
in horizontal bar graphs
(if HW supports it
)
1338 --enable-testmenus enable server
test menus
1339 --enable-permissive-menu-goto allow transitions
1340 between different client
's menus
1341 --enable-lcdproc-menus enable menu support in lcdproc client
1342 --enable-stat-nfs display NFS filesystem stats in lcdproc client
1343 --enable-stat-smbfs display SMBFS filesystem stats in lcdproc client
1344 --enable-doxygen enable documentation generation with doxygen (auto)
1345 --enable-dot use 'dot
' to generate graphs in doxygen (auto)
1346 --enable-html-dox enable HTML generation with doxygen (yes)
1347 --enable-latex-dox enable LaTeX documentation generation with doxygen (no)
1350 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1351 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1352 --with-included-getopt Use the included getopt rather than glibc's
1353 --with-lcdport=<port
> the server port
13666
1354 --with-libusb-includes=DIR
1355 libusb include files are
in DIR
1356 (default
: found by libusb-config
).
1357 --with-libusb-libraries=DIR
1358 libusb library files are
in DIR
1359 (default
: found by libusb-config
).
1361 Some influential environment variables
:
1362 CC C compiler
command
1363 CFLAGS C compiler flags
1364 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1365 nonstandard directory
<lib dir
>
1366 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1367 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1368 you have headers
in a nonstandard directory
<include dir
>
1371 Use these variables to override the choices made by
`configure' or to help
1372 it to find libraries and programs with nonstandard names/locations.
1374 Report bugs to <lcdproc@lists.omnipotent.net>.
1379 if test "$ac_init_help" = "recursive"; then
1380 # If there are subdirs, report their specific --help.
1381 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1382 test -d "$ac_dir" || continue
1386 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1388 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1389 # A ".." for each directory in $ac_dir_suffix.
1390 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1391 case $ac_top_builddir_sub in
1392 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1393 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1396 ac_abs_top_builddir=$ac_pwd
1397 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1398 # for backward compatibility:
1399 ac_top_builddir=$ac_top_build_prefix
1402 .) # We are building in place.
1404 ac_top_srcdir=$ac_top_builddir_sub
1405 ac_abs_top_srcdir=$ac_pwd ;;
1406 [\\/]* | ?:[\\/]* ) # Absolute name.
1407 ac_srcdir=$srcdir$ac_dir_suffix;
1408 ac_top_srcdir=$srcdir
1409 ac_abs_top_srcdir=$srcdir ;;
1411 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1412 ac_top_srcdir=$ac_top_build_prefix$srcdir
1413 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1415 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1417 cd "$ac_dir" || { ac_status=$?; continue; }
1418 # Check for guested configure.
1419 if test -f "$ac_srcdir/configure.gnu"; then
1421 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1422 elif test -f "$ac_srcdir/configure"; then
1424 $SHELL "$ac_srcdir/configure" --help=recursive
1426 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1428 cd "$ac_pwd" || { ac_status=$?; break; }
1432 test -n "$ac_init_help" && exit $ac_status
1433 if $ac_init_version; then
1435 lcdproc configure 0.5.2
1436 generated by GNU Autoconf 2.61
1438 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1439 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1440 This configure script is free software; the Free Software Foundation
1441 gives unlimited permission to copy, distribute and modify it.
1445 cat >config.log <<_ACEOF
1446 This file contains any messages produced by compilers while
1447 running configure, to aid debugging if configure makes a mistake.
1449 It was created by lcdproc $as_me 0.5.2, which was
1450 generated by GNU Autoconf 2.61. Invocation command line was
1462 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1463 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1464 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1465 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1466 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1468 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1469 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1471 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1472 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1473 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1474 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1475 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1476 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1477 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1485 test -z "$as_dir" && as_dir=.
1486 echo "PATH: $as_dir"
1502 # Keep a trace of the command line.
1503 # Strip out --no-create and --no-recursion so they do not pile up.
1504 # Strip out --silent because we don't want to record it for future runs.
1505 # Also quote any args containing shell meta-characters.
1506 # Make two passes to allow for proper duplicate-argument suppression.
1510 ac_must_keep_next=false
1516 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1517 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1518 | -silent | --silent | --silen | --sile | --sil)
1521 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1524 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1526 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1527 if test $ac_must_keep_next = true; then
1528 ac_must_keep_next=false # Got value, back to normal.
1531 *=* | --config-cache | -C | -disable-* | --disable-* \
1532 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1533 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1534 | -with-* | --with-* | -without-* | --without-* | --x)
1535 case "$ac_configure_args0 " in
1536 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1539 -* ) ac_must_keep_next=true ;;
1542 ac_configure_args="$ac_configure_args '$ac_arg'"
1547 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1548 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1550 # When interrupted or exit'd, cleanup temporary files, and complete
1551 # config.log. We remove comments because anyway the quotes in there
1552 # would cause problems or look ugly.
1553 # WARNING: Use '\'' to represent an apostrophe within the trap.
1554 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1555 trap 'exit_status=$?
1556 # Save into config.log some information that might help in debugging.
1561 ## ---------------- ##
1562 ## Cache variables. ##
1563 ## ---------------- ##
1566 # The following way of writing the cache mishandles newlines in values,
1568 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1569 eval ac_val=\$$ac_var
1573 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1574 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1577 _ | IFS | as_nl) ;; #(
1578 *) $as_unset $ac_var ;;
1583 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1584 *${as_nl}ac_space=\ *)
1586 "s/'\''/'\''\\\\'\'''\''/g;
1587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1590 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1598 ## ----------------- ##
1599 ## Output variables. ##
1600 ## ----------------- ##
1603 for ac_var in $ac_subst_vars
1605 eval ac_val=\$$ac_var
1607 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1609 echo "$ac_var='\''$ac_val'\''"
1613 if test -n "$ac_subst_files"; then
1615 ## ------------------- ##
1616 ## File substitutions. ##
1617 ## ------------------- ##
1620 for ac_var in $ac_subst_files
1622 eval ac_val=\$$ac_var
1624 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1626 echo "$ac_var='\''$ac_val'\''"
1631 if test -s confdefs.h; then
1641 test "$ac_signal" != 0 &&
1642 echo "$as_me: caught signal $ac_signal"
1643 echo "$as_me: exit $exit_status"
1645 rm -f core *.core core.conftest.* &&
1646 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1649 for ac_signal in 1 2 13 15; do
1650 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1654 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1655 rm -f -r conftest* confdefs.h
1657 # Predefined preprocessor variables.
1659 cat >>confdefs.h <<_ACEOF
1660 #define PACKAGE_NAME "$PACKAGE_NAME"
1664 cat >>confdefs.h <<_ACEOF
1665 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1674 cat >>confdefs.h <<_ACEOF
1675 #define PACKAGE_STRING "$PACKAGE_STRING"
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1684 # Let the site file select an alternate cache file if it wants to.
1685 # Prefer explicitly selected file to automatically selected ones.
1686 if test -n "$CONFIG_SITE"; then
1687 set x "$CONFIG_SITE"
1688 elif test "x$prefix" != xNONE; then
1689 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1691 set x "$ac_default_prefix/share/config.site" \
1692 "$ac_default_prefix/etc/config.site"
1697 if test -r "$ac_site_file"; then
1698 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1699 echo "$as_me: loading site script $ac_site_file" >&6;}
1700 sed 's/^/| /' "$ac_site_file" >&5
1705 if test -r "$cache_file"; then
1706 # Some versions of bash will fail to source /dev/null (special
1707 # files actually), so we avoid doing that.
1708 if test -f "$cache_file"; then
1709 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1710 echo "$as_me: loading cache $cache_file" >&6;}
1712 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1713 *) . "./$cache_file";;
1717 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1718 echo "$as_me: creating cache $cache_file" >&6;}
1722 # Check that the precious variables saved in the cache have kept the same
1724 ac_cache_corrupted=false
1725 for ac_var in $ac_precious_vars; do
1726 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1727 eval ac_new_set=\$ac_env_${ac_var}_set
1728 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1729 eval ac_new_val=\$ac_env_${ac_var}_value
1730 case $ac_old_set,$ac_new_set in
1732 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1733 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1734 ac_cache_corrupted=: ;;
1736 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1737 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1738 ac_cache_corrupted=: ;;
1741 if test "x$ac_old_val" != "x$ac_new_val"; then
1742 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1743 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1744 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1745 echo "$as_me: former value
: $ac_old_val" >&2;}
1746 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1747 echo "$as_me: current value
: $ac_new_val" >&2;}
1748 ac_cache_corrupted=:
1751 # Pass precious variables to config.status.
1752 if test "$ac_new_set" = set; then
1754 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1755 *) ac_arg=$ac_var=$ac_new_val ;;
1757 case " $ac_configure_args " in
1758 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1759 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1763 if $ac_cache_corrupted; then
1764 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1765 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1766 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1767 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1768 { (exit 1); exit 1; }; }
1796 ac_cpp='$CPP $CPPFLAGS'
1797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1803 am__api_version="1.9"
1805 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1806 if test -f "$ac_dir/install-sh"; then
1808 ac_install_sh="$ac_aux_dir/install-sh -c"
1810 elif test -f "$ac_dir/install.sh"; then
1812 ac_install_sh="$ac_aux_dir/install.sh -c"
1814 elif test -f "$ac_dir/shtool"; then
1816 ac_install_sh="$ac_aux_dir/shtool install -c"
1820 if test -z "$ac_aux_dir"; then
1821 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1822 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1823 { (exit 1); exit 1; }; }
1826 # These three variables are undocumented and unsupported,
1827 # and are intended to be withdrawn in a future Autoconf release.
1828 # They can cause serious problems if a builder's source tree is in a directory
1829 # whose full name contains unusual characters.
1830 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1831 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1832 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1835 # Find a good install program. We prefer a C program (faster),
1836 # so one script is as good as another. But avoid the broken or
1837 # incompatible versions:
1838 # SysV /etc/install, /usr/sbin/install
1839 # SunOS /usr/etc/install
1840 # IRIX /sbin/install
1842 # AmigaOS /C/install, which installs bootblocks on floppy discs
1843 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1844 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1845 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1846 # OS/2's system install, which has a completely different semantic
1847 # ./install, which can be erroneously created by make from ./install.sh.
1848 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1849 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1850 if test -z "$INSTALL"; then
1851 if test "${ac_cv_path_install+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1858 test -z "$as_dir" && as_dir=.
1859 # Account for people who put trailing slashes in PATH elements.
1861 ./ | .// | /cC/* | \
1862 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1863 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1866 # OSF1 and SCO ODT 3.0 have their own names for install.
1867 # Don't use installbsd from OSF since it installs stuff as root
1869 for ac_prog in ginstall scoinst install; do
1870 for ac_exec_ext in '' $ac_executable_extensions; do
1871 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1872 if test $ac_prog = install &&
1873 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1874 # AIX install. It has an incompatible calling convention.
1876 elif test $ac_prog = install &&
1877 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1878 # program-specific install script used by HP pwplus--don't use.
1881 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1894 if test "${ac_cv_path_install+set}" = set; then
1895 INSTALL=$ac_cv_path_install
1897 # As a last resort, use the slow shell script. Don't cache a
1898 # value for INSTALL within a source directory, because that will
1899 # break other packages using the cache if that directory is
1900 # removed, or if the value is a relative name.
1901 INSTALL=$ac_install_sh
1904 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1905 echo "${ECHO_T}$INSTALL" >&6; }
1907 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1908 # It thinks the first close brace ends the variable substitution.
1909 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1911 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1913 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1915 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1916 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1919 echo timestamp > conftest.file
1920 # Do `set' in a subshell so we don't clobber the current shell
's
1921 # arguments. Must try -L first in case configure is actually a
1922 # symlink; some systems play weird games with the mod time of symlinks
1923 # (eg FreeBSD returns the mod time of the symlink's containing
1926 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1927 if test "$*" = "X"; then
1929 set X
`ls -t $srcdir/configure conftest.file`
1932 if test "$*" != "X $srcdir/configure conftest.file" \
1933 && test "$*" != "X conftest.file $srcdir/configure"; then
1935 # If neither matched, then we have a broken ls. This can happen
1936 # if, for instance, CONFIG_SHELL is bash and it inherits a
1937 # broken ls alias from the environment. This has actually
1938 # happened. Such a system could not be considered "sane".
1939 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1940 alias in your environment" >&5
1941 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1942 alias in your environment" >&2;}
1943 { (exit 1); exit 1; }; }
1946 test "$2" = conftest.
file
1952 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1953 Check your system clock" >&5
1954 echo "$as_me: error: newly created file is older than distributed files!
1955 Check your system clock" >&2;}
1956 { (exit 1); exit 1; }; }
1958 { echo "$as_me:$LINENO: result: yes" >&5
1959 echo "${ECHO_T}yes" >&6; }
1960 test "$program_prefix" != NONE
&&
1961 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1962 # Use a double $ so make ignores it.
1963 test "$program_suffix" != NONE
&&
1964 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1965 # Double any \ or $. echo might interpret backslashes.
1966 # By default was `s,x,x', remove it if useless.
1967 cat <<\_ACEOF
>conftest.
sed
1968 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1970 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1973 # expand $ac_aux_dir to an absolute path
1974 am_aux_dir
=`cd $ac_aux_dir && pwd`
1976 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1977 # Use eval to expand $SHELL
1978 if eval "$MISSING --run true"; then
1979 am_missing_run
="$MISSING --run "
1982 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1983 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1986 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1987 # We used to keeping the `.' as first argument, in order to
1988 # allow $(mkdir_p) to be used without argument. As in
1989 # $(mkdir_p) $(somedir)
1990 # where $(somedir) is conditionally defined. However this is wrong
1992 # 1. if the package is installed by a user who cannot write `.'
1993 # make install will fail,
1994 # 2. the above comment should most certainly read
1995 # $(mkdir_p) $(DESTDIR)$(somedir)
1996 # so it does not work when $(somedir) is undefined and
1997 # $(DESTDIR) is not.
1998 # To support the latter case, we have to write
1999 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2000 # so the `.' trick is pointless.
2001 mkdir_p
='mkdir -p --'
2003 # On NextStep and OpenStep, the `mkdir' command does not
2004 # recognize any option. It will interpret all options as
2005 # directories to create, and then abort because `.' already
2007 for d
in .
/-p .
/--version;
2009 test -d $d && rmdir $d
2011 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2012 if test -f "$ac_aux_dir/mkinstalldirs"; then
2013 mkdir_p
='$(mkinstalldirs)'
2015 mkdir_p
='$(install_sh) -d'
2019 for ac_prog
in gawk mawk nawk
awk
2021 # Extract the first word of "$ac_prog", so it can be a program name with args.
2022 set dummy
$ac_prog; ac_word
=$2
2023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2025 if test "${ac_cv_prog_AWK+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 if test -n "$AWK"; then
2029 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir
=.
2036 for ac_exec_ext
in '' $ac_executable_extensions; do
2037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2038 ac_cv_prog_AWK
="$ac_prog"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049 if test -n "$AWK"; then
2050 { echo "$as_me:$LINENO: result: $AWK" >&5
2051 echo "${ECHO_T}$AWK" >&6; }
2053 { echo "$as_me:$LINENO: result: no" >&5
2054 echo "${ECHO_T}no" >&6; }
2058 test -n "$AWK" && break
2061 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2062 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2063 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2064 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2065 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 cat >conftest.
make <<\_ACEOF
2070 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2072 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2073 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2075 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2077 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2081 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2082 { echo "$as_me:$LINENO: result: yes" >&5
2083 echo "${ECHO_T}yes" >&6; }
2086 { echo "$as_me:$LINENO: result: no" >&5
2087 echo "${ECHO_T}no" >&6; }
2088 SET_MAKE
="MAKE=${MAKE-make}"
2091 rm -rf .tst
2>/dev
/null
2092 mkdir .tst
2>/dev
/null
2093 if test -d .tst
; then
2098 rmdir .tst
2>/dev
/null
2100 # test to see if srcdir already configured
2101 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2102 test -f $srcdir/config.status
; then
2103 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2104 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2105 { (exit 1); exit 1; }; }
2108 # test whether we have cygpath
2109 if test -z "$CYGPATH_W"; then
2110 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2111 CYGPATH_W
='cygpath -w'
2118 # Define the identity of the package.
2123 cat >>confdefs.h
<<_ACEOF
2124 #define PACKAGE "$PACKAGE"
2128 cat >>confdefs.h
<<_ACEOF
2129 #define VERSION "$VERSION"
2132 # Some tools Automake needs.
2134 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2137 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2140 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2143 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2146 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2148 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2150 # Installed binaries are usually stripped using `strip' when the user
2151 # run `make install-strip'. However `strip' might not be the right
2152 # tool to use in cross-compilation environments, therefore Automake
2153 # will honor the `STRIP' environment variable to overrule this program.
2154 if test "$cross_compiling" != no
; then
2155 if test -n "$ac_tool_prefix"; then
2156 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2157 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2160 if test "${ac_cv_prog_STRIP+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 if test -n "$STRIP"; then
2164 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir
=.
2171 for ac_exec_ext
in '' $ac_executable_extensions; do
2172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2173 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 STRIP
=$ac_cv_prog_STRIP
2184 if test -n "$STRIP"; then
2185 { echo "$as_me:$LINENO: result: $STRIP" >&5
2186 echo "${ECHO_T}$STRIP" >&6; }
2188 { echo "$as_me:$LINENO: result: no" >&5
2189 echo "${ECHO_T}no" >&6; }
2194 if test -z "$ac_cv_prog_STRIP"; then
2196 # Extract the first word of "strip", so it can be a program name with args.
2197 set dummy strip
; ac_word
=$2
2198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2200 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2201 echo $ECHO_N "(cached) $ECHO_C" >&6
2203 if test -n "$ac_ct_STRIP"; then
2204 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2210 test -z "$as_dir" && as_dir
=.
2211 for ac_exec_ext
in '' $ac_executable_extensions; do
2212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2213 ac_cv_prog_ac_ct_STRIP
="strip"
2214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2223 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2224 if test -n "$ac_ct_STRIP"; then
2225 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2226 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2228 { echo "$as_me:$LINENO: result: no" >&5
2229 echo "${ECHO_T}no" >&6; }
2232 if test "x$ac_ct_STRIP" = x
; then
2235 case $cross_compiling:$ac_tool_warned in
2237 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2238 whose name does not start with the host triplet. If you think this
2239 configuration is useful to you, please write to autoconf@gnu.org." >&5
2240 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2241 whose name does not start with the host triplet. If you think this
2242 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2243 ac_tool_warned
=yes ;;
2248 STRIP
="$ac_cv_prog_STRIP"
2252 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2254 # We need awk for the "check" target. The system "awk" is bad on
2256 # Always define AMTAR for backward compatibility.
2258 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2260 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2267 ac_config_headers
="$ac_config_headers config.h"
2270 # Make sure we can run config.sub.
2271 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2272 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2273 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2274 { (exit 1); exit 1; }; }
2276 { echo "$as_me:$LINENO: checking build system type" >&5
2277 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2278 if test "${ac_cv_build+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 ac_build_alias
=$build_alias
2282 test "x$ac_build_alias" = x
&&
2283 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2284 test "x$ac_build_alias" = x
&&
2285 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2286 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2287 { (exit 1); exit 1; }; }
2288 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2289 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2290 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2291 { (exit 1); exit 1; }; }
2294 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2295 echo "${ECHO_T}$ac_cv_build" >&6; }
2296 case $ac_cv_build in
2298 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2299 echo "$as_me: error: invalid value of canonical build" >&2;}
2300 { (exit 1); exit 1; }; };;
2303 ac_save_IFS
=$IFS; IFS
='-'
2309 # Remember, the first character of IFS is used to create $*,
2310 # except with old shells:
2313 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2316 { echo "$as_me:$LINENO: checking host system type" >&5
2317 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2318 if test "${ac_cv_host+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 if test "x$host_alias" = x
; then
2322 ac_cv_host
=$ac_cv_build
2324 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2325 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2326 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2327 { (exit 1); exit 1; }; }
2331 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2332 echo "${ECHO_T}$ac_cv_host" >&6; }
2335 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2336 echo "$as_me: error: invalid value of canonical host" >&2;}
2337 { (exit 1); exit 1; }; };;
2340 ac_save_IFS
=$IFS; IFS
='-'
2346 # Remember, the first character of IFS is used to create $*,
2347 # except with old shells:
2350 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2355 cat >>confdefs.h
<<\_ACEOF
2359 ac_system_host
=Linux
2363 cat >>confdefs.h
<<\_ACEOF
2367 ac_system_host
=Solaris
2370 cat >>confdefs.h
<<\_ACEOF
2374 ac_system_host
=OpenBSD
2378 cat >>confdefs.h
<<\_ACEOF
2382 ac_system_host
=NetBSD
2386 cat >>confdefs.h
<<\_ACEOF
2390 ac_system_host
=FreeBSD
2394 cat >>confdefs.h
<<\_ACEOF
2398 ac_system_host
=Darwin
2402 cat >>confdefs.h
<<_ACEOF
2403 #define SYSTEM_HOST $ac_system_host
2409 if test x
$ac_system_host = xDarwin
; then
2418 { echo "$as_me:$LINENO: checking whether to enable debugging" >&5
2419 echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; }
2420 # Check whether --enable-debug was given.
2421 if test "${enable_debug+set}" = set; then
2422 enableval
=$enable_debug; if [ "$enableval" = "yes" ]; then
2424 cat >>confdefs.h
<<\_ACEOF
2437 { echo "$as_me:$LINENO: result: $debug" >&5
2438 echo "${ECHO_T}$debug" >&6; }
2440 if test $debug = "yes"; then
2442 if ! echo " $CFLAGS" |
grep -q -- " -O" ; then
2446 if ! echo " $CFLAGS" |
grep -q -- " -O" ; then
2447 CFLAGS
="$CFLAGS -O3"
2452 ac_cpp
='$CPP $CPPFLAGS'
2453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2456 if test -n "$ac_tool_prefix"; then
2457 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2458 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2461 if test "${ac_cv_prog_CC+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 if test -n "$CC"; then
2465 ac_cv_prog_CC
="$CC" # Let the user override the test.
2467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2471 test -z "$as_dir" && as_dir
=.
2472 for ac_exec_ext
in '' $ac_executable_extensions; do
2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2474 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 if test -n "$CC"; then
2486 { echo "$as_me:$LINENO: result: $CC" >&5
2487 echo "${ECHO_T}$CC" >&6; }
2489 { echo "$as_me:$LINENO: result: no" >&5
2490 echo "${ECHO_T}no" >&6; }
2495 if test -z "$ac_cv_prog_CC"; then
2497 # Extract the first word of "gcc", so it can be a program name with args.
2498 set dummy gcc
; ac_word
=$2
2499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2501 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 if test -n "$ac_ct_CC"; then
2505 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir
=.
2512 for ac_exec_ext
in '' $ac_executable_extensions; do
2513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514 ac_cv_prog_ac_ct_CC
="gcc"
2515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2525 if test -n "$ac_ct_CC"; then
2526 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2527 echo "${ECHO_T}$ac_ct_CC" >&6; }
2529 { echo "$as_me:$LINENO: result: no" >&5
2530 echo "${ECHO_T}no" >&6; }
2533 if test "x$ac_ct_CC" = x
; then
2536 case $cross_compiling:$ac_tool_warned in
2538 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2539 whose name does not start with the host triplet. If you think this
2540 configuration is useful to you, please write to autoconf@gnu.org." >&5
2541 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2542 whose name does not start with the host triplet. If you think this
2543 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2544 ac_tool_warned
=yes ;;
2552 if test -z "$CC"; then
2553 if test -n "$ac_tool_prefix"; then
2554 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2555 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2558 if test "${ac_cv_prog_CC+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 if test -n "$CC"; then
2562 ac_cv_prog_CC
="$CC" # Let the user override the test.
2564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir
=.
2569 for ac_exec_ext
in '' $ac_executable_extensions; do
2570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2571 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 if test -n "$CC"; then
2583 { echo "$as_me:$LINENO: result: $CC" >&5
2584 echo "${ECHO_T}$CC" >&6; }
2586 { echo "$as_me:$LINENO: result: no" >&5
2587 echo "${ECHO_T}no" >&6; }
2593 if test -z "$CC"; then
2594 # Extract the first word of "cc", so it can be a program name with args.
2595 set dummy cc
; ac_word
=$2
2596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2598 if test "${ac_cv_prog_CC+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 if test -n "$CC"; then
2602 ac_cv_prog_CC
="$CC" # Let the user override the test.
2605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir
=.
2610 for ac_exec_ext
in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2613 ac_prog_rejected
=yes
2617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 if test $ac_prog_rejected = yes; then
2625 # We found a bogon in the path, so make sure we never use it.
2626 set dummy
$ac_cv_prog_CC
2628 if test $# != 0; then
2629 # We chose a different compiler from the bogus one.
2630 # However, it has the same basename, so the bogon will be chosen
2631 # first if we set CC to just the basename; use the full file name.
2633 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2639 if test -n "$CC"; then
2640 { echo "$as_me:$LINENO: result: $CC" >&5
2641 echo "${ECHO_T}$CC" >&6; }
2643 { echo "$as_me:$LINENO: result: no" >&5
2644 echo "${ECHO_T}no" >&6; }
2649 if test -z "$CC"; then
2650 if test -n "$ac_tool_prefix"; then
2651 for ac_prog
in cl.exe
2653 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2654 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2657 if test "${ac_cv_prog_CC+set}" = set; then
2658 echo $ECHO_N "(cached) $ECHO_C" >&6
2660 if test -n "$CC"; then
2661 ac_cv_prog_CC
="$CC" # Let the user override the test.
2663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir
=.
2668 for ac_exec_ext
in '' $ac_executable_extensions; do
2669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 if test -n "$CC"; then
2682 { echo "$as_me:$LINENO: result: $CC" >&5
2683 echo "${ECHO_T}$CC" >&6; }
2685 { echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6; }
2690 test -n "$CC" && break
2693 if test -z "$CC"; then
2695 for ac_prog
in cl.exe
2697 # Extract the first word of "$ac_prog", so it can be a program name with args.
2698 set dummy
$ac_prog; ac_word
=$2
2699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2702 echo $ECHO_N "(cached) $ECHO_C" >&6
2704 if test -n "$ac_ct_CC"; then
2705 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir
=.
2712 for ac_exec_ext
in '' $ac_executable_extensions; do
2713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2714 ac_cv_prog_ac_ct_CC
="$ac_prog"
2715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2725 if test -n "$ac_ct_CC"; then
2726 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2727 echo "${ECHO_T}$ac_ct_CC" >&6; }
2729 { echo "$as_me:$LINENO: result: no" >&5
2730 echo "${ECHO_T}no" >&6; }
2734 test -n "$ac_ct_CC" && break
2737 if test "x$ac_ct_CC" = x
; then
2740 case $cross_compiling:$ac_tool_warned in
2742 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2743 whose name does not start with the host triplet. If you think this
2744 configuration is useful to you, please write to autoconf@gnu.org." >&5
2745 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2746 whose name does not start with the host triplet. If you think this
2747 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2748 ac_tool_warned
=yes ;;
2757 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2758 See \`config.log' for more details." >&5
2759 echo "$as_me: error: no acceptable C compiler found in \$PATH
2760 See \`config.log' for more details." >&2;}
2761 { (exit 1); exit 1; }; }
2763 # Provide some information about the compiler.
2764 echo "$as_me:$LINENO: checking for C compiler version" >&5
2765 ac_compiler
=`set X $ac_compile; echo $2`
2766 { (ac_try
="$ac_compiler --version >&5"
2768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2772 (eval "$ac_compiler --version >&5") 2>&5
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }
2776 { (ac_try="$ac_compiler -v >&5"
2778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2779 *) ac_try_echo
=$ac_try;;
2781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2782 (eval "$ac_compiler -v >&5") 2>&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }
2786 { (ac_try
="$ac_compiler -V >&5"
2788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compiler -V >&5") 2>&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }
2797 cat >conftest.$ac_ext <<_ACEOF
2800 cat confdefs.h >>conftest.$ac_ext
2801 cat >>conftest.$ac_ext <<_ACEOF
2802 /* end confdefs.h. */
2812 ac_clean_files_save=$ac_clean_files
2813 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2814 # Try to create an executable without -o first, disregard a.out.
2815 # It will help us diagnose broken compilers, and finding out an intuition
2817 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2818 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2819 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2821 # List of possible output files, starting from the most likely.
2822 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2823 # only as a last resort. b.out is created by i960 compilers.
2824 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2826 # The IRIX 6 linker writes into existing files which may not be
2827 # executable, retaining their permissions. Remove them first so a
2828 # subsequent execution test works.
2830 for ac_file in $ac_files
2833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2834 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2839 if { (ac_try="$ac_link_default"
2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2845 (eval "$ac_link_default") 2>&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }; then
2849 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2850 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2851 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2852 # so that the user can short-circuit this test for compilers unknown to
2854 for ac_file
in $ac_files ''
2856 test -f "$ac_file" ||
continue
2858 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2861 # We found the default executable, but exeext='' is most
2865 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2867 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2869 # We set ac_cv_exeext here because the later test for it is not
2870 # safe: cross compilers may not add the suffix if given an `-o'
2871 # argument, so we may need to know it at that point already.
2872 # Even if this section looks crufty: it has the advantage of
2879 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2885 { echo "$as_me:$LINENO: result: $ac_file" >&5
2886 echo "${ECHO_T}$ac_file" >&6; }
2887 if test -z "$ac_file"; then
2888 echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.
$ac_ext >&5
2891 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2892 See \`config.log' for more details." >&5
2893 echo "$as_me: error: C compiler cannot create executables
2894 See \`config.log' for more details." >&2;}
2895 { (exit 77); exit 77; }; }
2898 ac_exeext
=$ac_cv_exeext
2900 # Check that the compiler produces executables we can run. If not, either
2901 # the compiler is broken, or we cross compile.
2902 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2903 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2904 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2905 # If not cross compiling, check that we can run a simple program.
2906 if test "$cross_compiling" != yes; then
2907 if { ac_try
='./$ac_file'
2908 { (case "(($ac_try" in
2909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2913 (eval "$ac_try") 2>&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); }; }; then
2919 if test "$cross_compiling" = maybe; then
2922 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2923 If you meant to cross compile, use \`--host'.
2924 See \`config.log' for more details.
" >&5
2925 echo "$as_me: error
: cannot run C compiled programs.
2926 If you meant to cross compile
, use \
`--host'.
2927 See \`config.log
' for more details." >&2;}
2928 { (exit 1); exit 1; }; }
2932 { echo "$as_me:$LINENO: result: yes" >&5
2933 echo "${ECHO_T}yes" >&6; }
2935 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2936 ac_clean_files=$ac_clean_files_save
2937 # Check that the compiler produces executables we can run. If not, either
2938 # the compiler is broken, or we cross compile.
2939 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2940 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2941 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2942 echo "${ECHO_T}$cross_compiling" >&6; }
2944 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2945 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2946 if { (ac_try="$ac_link"
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2952 (eval "$ac_link") 2>&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }; then
2956 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2957 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2958 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2960 for ac_file
in conftest.exe conftest conftest.
*; do
2961 test -f "$ac_file" ||
continue
2963 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2964 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2970 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2971 See \`config.log' for more details." >&5
2972 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2973 See \`config.log' for more details." >&2;}
2974 { (exit 1); exit 1; }; }
2977 rm -f conftest
$ac_cv_exeext
2978 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2979 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2981 rm -f conftest.
$ac_ext
2982 EXEEXT
=$ac_cv_exeext
2984 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2985 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2986 if test "${ac_cv_objext+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 cat >conftest.
$ac_ext <<_ACEOF
2992 cat confdefs.h
>>conftest.
$ac_ext
2993 cat >>conftest.
$ac_ext <<_ACEOF
2994 /* end confdefs.h. */
3004 rm -f conftest.o conftest.obj
3005 if { (ac_try
="$ac_compile"
3007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3008 *) ac_try_echo=$ac_try;;
3010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3011 (eval "$ac_compile") 2>&5
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); }; then
3015 for ac_file in conftest.o conftest.obj conftest.*; do
3016 test -f "$ac_file" || continue;
3018 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3019 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3024 echo "$as_me: failed program was:" >&5
3025 sed 's/^/| /' conftest.$ac_ext >&5
3027 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3028 See \`config.log
' for more details." >&5
3029 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3030 See \`config.log' for more details.
" >&2;}
3031 { (exit 1); exit 1; }; }
3034 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3036 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3037 echo "${ECHO_T}$ac_cv_objext" >&6; }
3038 OBJEXT=$ac_cv_objext
3040 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3041 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3042 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3043 echo $ECHO_N "(cached
) $ECHO_C" >&6
3045 cat >conftest.$ac_ext <<_ACEOF
3048 cat confdefs.h >>conftest.$ac_ext
3049 cat >>conftest.$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3063 rm -f conftest.$ac_objext
3064 if { (ac_try="$ac_compile"
3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3069 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3070 (eval "$ac_compile") 2>conftest.er1
3072 grep -v '^ *+' conftest.er1 >conftest.err
3074 cat conftest.err >&5
3075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3076 (exit $ac_status); } && {
3077 test -z "$ac_c_werror_flag" ||
3078 test ! -s conftest.err
3079 } && test -s conftest.$ac_objext; then
3082 echo "$as_me: failed program was
:" >&5
3083 sed 's/^/| /' conftest.$ac_ext >&5
3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3092 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3093 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3094 GCC=`test $ac_compiler_gnu = yes && echo yes`
3095 ac_test_CFLAGS=${CFLAGS+set}
3096 ac_save_CFLAGS=$CFLAGS
3097 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3098 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3099 if test "${ac_cv_prog_cc_g+set}" = set; then
3100 echo $ECHO_N "(cached
) $ECHO_C" >&6
3102 ac_save_c_werror_flag=$ac_c_werror_flag
3103 ac_c_werror_flag=yes
3106 cat >conftest.$ac_ext <<_ACEOF
3109 cat confdefs.h >>conftest.$ac_ext
3110 cat >>conftest.$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3121 rm -f conftest.$ac_objext
3122 if { (ac_try="$ac_compile"
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3128 (eval "$ac_compile") 2>conftest.er1
3130 grep -v '^ *+' conftest.er1 >conftest.err
3132 cat conftest.err >&5
3133 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3134 (exit $ac_status); } && {
3135 test -z "$ac_c_werror_flag" ||
3136 test ! -s conftest.err
3137 } && test -s conftest.$ac_objext; then
3140 echo "$as_me: failed program was
:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3144 cat >conftest.$ac_ext <<_ACEOF
3147 cat confdefs.h >>conftest.$ac_ext
3148 cat >>conftest.$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3159 rm -f conftest.$ac_objext
3160 if { (ac_try="$ac_compile"
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3165 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3166 (eval "$ac_compile") 2>conftest.er1
3168 grep -v '^ *+' conftest.er1 >conftest.err
3170 cat conftest.err >&5
3171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3172 (exit $ac_status); } && {
3173 test -z "$ac_c_werror_flag" ||
3174 test ! -s conftest.err
3175 } && test -s conftest.$ac_objext; then
3178 echo "$as_me: failed program was
:" >&5
3179 sed 's/^/| /' conftest.$ac_ext >&5
3181 ac_c_werror_flag=$ac_save_c_werror_flag
3183 cat >conftest.$ac_ext <<_ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3198 rm -f conftest.$ac_objext
3199 if { (ac_try="$ac_compile"
3201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202 *) ac_try_echo=$ac_try;;
3204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3205 (eval "$ac_compile") 2>conftest.er1
3207 grep -v '^ *+' conftest.er1 >conftest.err
3209 cat conftest.err >&5
3210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3211 (exit $ac_status); } && {
3212 test -z "$ac_c_werror_flag" ||
3213 test ! -s conftest.err
3214 } && test -s conftest.$ac_objext; then
3217 echo "$as_me: failed program was
:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3230 ac_c_werror_flag=$ac_save_c_werror_flag
3232 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3233 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3234 if test "$ac_test_CFLAGS" = set; then
3235 CFLAGS=$ac_save_CFLAGS
3236 elif test $ac_cv_prog_cc_g = yes; then
3237 if test "$GCC" = yes; then
3243 if test "$GCC" = yes; then
3249 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3250 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3251 if test "${ac_cv_prog_cc_c89+set}" = set; then
3252 echo $ECHO_N "(cached
) $ECHO_C" >&6
3254 ac_cv_prog_cc_c89=no
3256 cat >conftest.$ac_ext <<_ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3264 #include <sys/types.h>
3265 #include <sys/stat.h>
3266 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3267 struct buf { int x; };
3268 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3269 static char *e (p, i)
3275 static char *f (char * (*g) (char **, int), char **p, ...)
3280 s = g (p, va_arg (v,int));
3285 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3286 function prototypes and stuff, but not '\xHH' hex character constants.
3287 These don't provoke an error unfortunately, instead are silently treated
3288 as 'x'. The following induces an error, until -std is added to get
3289 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3290 array size at least. It's necessary to write '\x00'==0 to get something
3291 that's true only with -std. */
3292 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3294 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3295 inside strings and character constants. */
3297 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3299 int test (int i, double x);
3300 struct s1 {int (*f) (int a);};
3301 struct s2 {int (*f) (double a);};
3302 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3308 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3313 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3314 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3316 CC="$ac_save_CC $ac_arg"
3317 rm -f conftest.$ac_objext
3318 if { (ac_try="$ac_compile"
3320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3324 (eval "$ac_compile") 2>conftest.er1
3326 grep -v '^ *+' conftest.er1 >conftest.err
3328 cat conftest.err >&5
3329 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3330 (exit $ac_status); } && {
3331 test -z "$ac_c_werror_flag" ||
3332 test ! -s conftest.err
3333 } && test -s conftest.$ac_objext; then
3334 ac_cv_prog_cc_c89=$ac_arg
3336 echo "$as_me: failed program was
:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3342 rm -f core conftest.err conftest.$ac_objext
3343 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3345 rm -f conftest.$ac_ext
3350 case "x
$ac_cv_prog_cc_c89" in
3352 { echo "$as_me:$LINENO: result
: none needed
" >&5
3353 echo "${ECHO_T}none needed
" >&6; } ;;
3355 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3356 echo "${ECHO_T}unsupported
" >&6; } ;;
3358 CC="$CC $ac_cv_prog_cc_c89"
3359 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3360 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3365 ac_cpp='$CPP $CPPFLAGS'
3366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3369 DEPDIR="${am__leading_dot}deps
"
3371 ac_config_commands="$ac_config_commands depfiles
"
3374 am_make=${MAKE-make}
3375 cat > confinc << 'END'
3380 # If we don't find an include directive, just comment out the code.
3381 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3382 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3386 # First try GNU make style include.
3387 echo "include confinc" > confmf
3388 # We grep out `Entering directory' and `Leaving directory'
3389 # messages which can occur if `w' ends up in MAKEFLAGS.
3390 # In particular we don't look at `^make:' because GNU make might
3391 # be invoked under some other name (usually "gmake"), in which
3392 # case it prints its new name instead of `make'.
3393 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3398 # Now try BSD make style include.
3399 if test "$am__include" = "#"; then
3400 echo '.include "confinc"' > confmf
3401 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3402 am__include
=.include
3409 { echo "$as_me:$LINENO: result: $_am_result" >&5
3410 echo "${ECHO_T}$_am_result" >&6; }
3411 rm -f confinc confmf
3413 # Check whether --enable-dependency-tracking was given.
3414 if test "${enable_dependency_tracking+set}" = set; then
3415 enableval
=$enable_dependency_tracking;
3418 if test "x$enable_dependency_tracking" != xno
; then
3419 am_depcomp
="$ac_aux_dir/depcomp"
3424 if test "x$enable_dependency_tracking" != xno; then
3435 depcc
="$CC" am_compiler_list
=
3437 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3438 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3439 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3443 # We make a subdir and do the tests there. Otherwise we can end up
3444 # making bogus files that we don't know about and never remove. For
3445 # instance it was reported that on HP-UX the gcc test will end up
3446 # making a dummy file named `D' -- because `-MD' means `put the output
3449 # Copy depcomp to subdir because otherwise we won't find it if we're
3450 # using a relative directory.
3451 cp "$am_depcomp" conftest.dir
3453 # We will build objects and dependencies in a subdirectory because
3454 # it helps to detect inapplicable dependency modes. For instance
3455 # both Tru64's cc and ICC support -MD to output dependencies as a
3456 # side effect of compilation, but ICC will put the dependencies in
3457 # the current directory while Tru64 will put them in the object
3461 am_cv_CC_dependencies_compiler_type
=none
3462 if test "$am_compiler_list" = ""; then
3463 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3465 for depmode
in $am_compiler_list; do
3466 # Setup a source with many dependencies, because some compilers
3467 # like to wrap large dependency lists on column 80 (with \), and
3468 # we should not choose a depcomp mode which is confused by this.
3470 # We need to recreate these files for each test, as the compiler may
3471 # overwrite some of them when testing with obscure command lines.
3472 # This happens at least with the AIX C compiler.
3474 for i
in 1 2 3 4 5 6; do
3475 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3476 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3477 # Solaris 8's {/usr,}/bin/sh.
3478 touch sub
/conftst
$i.h
3480 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3484 # after this tag, mechanisms are not by side-effect, so they'll
3485 # only be used when explicitly requested
3486 if test "x$enable_dependency_tracking" = xyes
; then
3494 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3495 # mode. It turns out that the SunPro C++ compiler does not properly
3496 # handle `-M -o', and we need to detect this.
3497 if depmode
=$depmode \
3498 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3499 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3500 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3501 >/dev
/null
2>conftest.err
&&
3502 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3503 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3504 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3505 # icc doesn't choke on unknown options, it will just issue warnings
3506 # or remarks (even with -Werror). So we grep stderr for any message
3507 # that says an option was ignored or not supported.
3508 # When given -MP, icc 7.0 and 7.1 complain thusly:
3509 # icc: Command line warning: ignoring option '-M'; no argument required
3510 # The diagnosis changed in icc 8.0:
3511 # icc: Command line remark: option '-MP' not supported
3512 if (grep 'ignoring option' conftest.err ||
3513 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3514 am_cv_CC_dependencies_compiler_type
=$depmode
3523 am_cv_CC_dependencies_compiler_type
=none
3527 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3528 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3529 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3534 test "x$enable_dependency_tracking" != xno \
3535 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3537 am__fastdepCC_FALSE
='#'
3539 am__fastdepCC_TRUE
='#'
3540 am__fastdepCC_FALSE
=
3545 ac_cpp
='$CPP $CPPFLAGS'
3546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3549 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3550 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3551 # On Suns, sometimes $CPP names a directory.
3552 if test -n "$CPP" && test -d "$CPP"; then
3555 if test -z "$CPP"; then
3556 if test "${ac_cv_prog_CPP+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 # Double quotes because CPP needs to be expanded
3560 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3563 for ac_c_preproc_warn_flag
in '' yes
3565 # Use a header file that comes with gcc, so configuring glibc
3566 # with a fresh cross-compiler works.
3567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3568 # <limits.h> exists even on freestanding compilers.
3569 # On the NeXT, cc -E runs the code through the compiler's parser,
3570 # not just through cpp. "Syntax error" is here to catch this case.
3571 cat >conftest.
$ac_ext <<_ACEOF
3574 cat confdefs.h
>>conftest.
$ac_ext
3575 cat >>conftest.
$ac_ext <<_ACEOF
3576 /* end confdefs.h. */
3578 # include <limits.h>
3580 # include <assert.h>
3584 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3592 grep -v '^ *+' conftest.er1 >conftest.err
3594 cat conftest.err >&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } >/dev/null && {
3597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3598 test ! -s conftest.err
3602 echo "$as_me: failed program was:" >&5
3603 sed 's/^/| /' conftest.$ac_ext >&5
3605 # Broken: fails on valid input.
3609 rm -f conftest.err conftest.$ac_ext
3611 # OK, works on sane cases. Now check whether nonexistent headers
3612 # can be detected and how.
3613 cat >conftest.$ac_ext <<_ACEOF
3616 cat confdefs.h >>conftest.$ac_ext
3617 cat >>conftest.$ac_ext <<_ACEOF
3618 /* end confdefs.h. */
3619 #include <ac_nonexistent.h>
3621 if { (ac_try="$ac_cpp conftest.$ac_ext"
3623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3624 *) ac_try_echo
=$ac_try;;
3626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3629 grep -v '^ *+' conftest.er1
>conftest.err
3631 cat conftest.err
>&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } >/dev
/null
&& {
3634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3635 test ! -s conftest.err
3637 # Broken: success on invalid input.
3640 echo "$as_me: failed program was:" >&5
3641 sed 's/^/| /' conftest.
$ac_ext >&5
3643 # Passes both tests.
3648 rm -f conftest.err conftest.
$ac_ext
3651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3652 rm -f conftest.err conftest.
$ac_ext
3653 if $ac_preproc_ok; then
3665 { echo "$as_me:$LINENO: result: $CPP" >&5
3666 echo "${ECHO_T}$CPP" >&6; }
3668 for ac_c_preproc_warn_flag
in '' yes
3670 # Use a header file that comes with gcc, so configuring glibc
3671 # with a fresh cross-compiler works.
3672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3673 # <limits.h> exists even on freestanding compilers.
3674 # On the NeXT, cc -E runs the code through the compiler's parser,
3675 # not just through cpp. "Syntax error" is here to catch this case.
3676 cat >conftest.
$ac_ext <<_ACEOF
3679 cat confdefs.h
>>conftest.
$ac_ext
3680 cat >>conftest.
$ac_ext <<_ACEOF
3681 /* end confdefs.h. */
3683 # include <limits.h>
3685 # include <assert.h>
3689 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3692 *) ac_try_echo=$ac_try;;
3694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3697 grep -v '^ *+' conftest.er1 >conftest.err
3699 cat conftest.err >&5
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); } >/dev/null && {
3702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3703 test ! -s conftest.err
3707 echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.$ac_ext >&5
3710 # Broken: fails on valid input.
3714 rm -f conftest.err conftest.$ac_ext
3716 # OK, works on sane cases. Now check whether nonexistent headers
3717 # can be detected and how.
3718 cat >conftest.$ac_ext <<_ACEOF
3721 cat confdefs.h >>conftest.$ac_ext
3722 cat >>conftest.$ac_ext <<_ACEOF
3723 /* end confdefs.h. */
3724 #include <ac_nonexistent.h>
3726 if { (ac_try="$ac_cpp conftest.$ac_ext"
3728 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3729 *) ac_try_echo
=$ac_try;;
3731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3734 grep -v '^ *+' conftest.er1
>conftest.err
3736 cat conftest.err
>&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); } >/dev
/null
&& {
3739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3740 test ! -s conftest.err
3742 # Broken: success on invalid input.
3745 echo "$as_me: failed program was:" >&5
3746 sed 's/^/| /' conftest.
$ac_ext >&5
3748 # Passes both tests.
3753 rm -f conftest.err conftest.
$ac_ext
3756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3757 rm -f conftest.err conftest.
$ac_ext
3758 if $ac_preproc_ok; then
3761 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3762 See \`config.log' for more details." >&5
3763 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3764 See \`config.log' for more details." >&2;}
3765 { (exit 1); exit 1; }; }
3769 ac_cpp
='$CPP $CPPFLAGS'
3770 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3774 # Find a good install program. We prefer a C program (faster),
3775 # so one script is as good as another. But avoid the broken or
3776 # incompatible versions:
3777 # SysV /etc/install, /usr/sbin/install
3778 # SunOS /usr/etc/install
3779 # IRIX /sbin/install
3781 # AmigaOS /C/install, which installs bootblocks on floppy discs
3782 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3783 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3784 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3785 # OS/2's system install, which has a completely different semantic
3786 # ./install, which can be erroneously created by make from ./install.sh.
3787 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3788 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3789 if test -z "$INSTALL"; then
3790 if test "${ac_cv_path_install+set}" = set; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3797 test -z "$as_dir" && as_dir
=.
3798 # Account for people who put trailing slashes in PATH elements.
3800 .
/ | .
// |
/cC
/* | \
3801 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3802 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3805 # OSF1 and SCO ODT 3.0 have their own names for install.
3806 # Don't use installbsd from OSF since it installs stuff as root
3808 for ac_prog
in ginstall scoinst
install; do
3809 for ac_exec_ext
in '' $ac_executable_extensions; do
3810 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3811 if test $ac_prog = install &&
3812 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3813 # AIX install. It has an incompatible calling convention.
3815 elif test $ac_prog = install &&
3816 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3817 # program-specific install script used by HP pwplus--don't use.
3820 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3833 if test "${ac_cv_path_install+set}" = set; then
3834 INSTALL
=$ac_cv_path_install
3836 # As a last resort, use the slow shell script. Don't cache a
3837 # value for INSTALL within a source directory, because that will
3838 # break other packages using the cache if that directory is
3839 # removed, or if the value is a relative name.
3840 INSTALL
=$ac_install_sh
3843 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3844 echo "${ECHO_T}$INSTALL" >&6; }
3846 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3847 # It thinks the first close brace ends the variable substitution.
3848 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3850 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3852 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3854 if test -n "$ac_tool_prefix"; then
3855 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3856 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3859 if test "${ac_cv_prog_RANLIB+set}" = set; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 if test -n "$RANLIB"; then
3863 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3869 test -z "$as_dir" && as_dir
=.
3870 for ac_exec_ext
in '' $ac_executable_extensions; do
3871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3872 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 RANLIB
=$ac_cv_prog_RANLIB
3883 if test -n "$RANLIB"; then
3884 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3885 echo "${ECHO_T}$RANLIB" >&6; }
3887 { echo "$as_me:$LINENO: result: no" >&5
3888 echo "${ECHO_T}no" >&6; }
3893 if test -z "$ac_cv_prog_RANLIB"; then
3894 ac_ct_RANLIB
=$RANLIB
3895 # Extract the first word of "ranlib", so it can be a program name with args.
3896 set dummy ranlib
; ac_word
=$2
3897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3899 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 if test -n "$ac_ct_RANLIB"; then
3903 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3909 test -z "$as_dir" && as_dir
=.
3910 for ac_exec_ext
in '' $ac_executable_extensions; do
3911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3912 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3923 if test -n "$ac_ct_RANLIB"; then
3924 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3925 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3927 { echo "$as_me:$LINENO: result: no" >&5
3928 echo "${ECHO_T}no" >&6; }
3931 if test "x$ac_ct_RANLIB" = x
; then
3934 case $cross_compiling:$ac_tool_warned in
3936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3937 whose name does not start with the host triplet. If you think this
3938 configuration is useful to you, please write to autoconf@gnu.org." >&5
3939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3940 whose name does not start with the host triplet. If you think this
3941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3942 ac_tool_warned
=yes ;;
3944 RANLIB
=$ac_ct_RANLIB
3947 RANLIB
="$ac_cv_prog_RANLIB"
3951 CFLAGS
="-Wall $CFLAGS"
3953 { echo "$as_me:$LINENO: checking CFLAGS for gcc -Wno-unused-function" >&5
3954 echo $ECHO_N "checking CFLAGS for gcc -Wno-unused-function... $ECHO_C" >&6; }
3955 if test "${ac_cv_cflags_gcc_option__Wno_unused_function+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 ac_cv_cflags_gcc_option__Wno_unused_function
="no, unknown"
3961 ac_cpp
='$CPP $CPPFLAGS'
3962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3966 ac_save_CFLAGS
="$CFLAGS"
3967 for ac_arg
in "-pedantic % -Wno-unused-function" #
3968 do CFLAGS
="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
3969 cat >conftest.
$ac_ext <<_ACEOF
3972 cat confdefs.h
>>conftest.
$ac_ext
3973 cat >>conftest.
$ac_ext <<_ACEOF
3974 /* end confdefs.h. */
3984 rm -f conftest.
$ac_objext
3985 if { (ac_try
="$ac_compile"
3987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3988 *) ac_try_echo=$ac_try;;
3990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3991 (eval "$ac_compile") 2>conftest.er1
3993 grep -v '^ *+' conftest.er1 >conftest.err
3995 cat conftest.err >&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); } && {
3998 test -z "$ac_c_werror_flag" ||
3999 test ! -s conftest.err
4000 } && test -s conftest.$ac_objext; then
4001 ac_cv_cflags_gcc_option__Wno_unused_function=`echo $ac_arg |
sed -e 's,.*% *,,'` ; break
4003 echo "$as_me: failed program was:" >&5
4004 sed 's/^/| /' conftest.$ac_ext >&5
4009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4011 CFLAGS="$ac_save_CFLAGS"
4013 ac_cpp='$CPP $CPPFLAGS'
4014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4020 { echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__Wno_unused_function" >&5
4021 echo "${ECHO_T}$ac_cv_cflags_gcc_option__Wno_unused_function" >&6; }
4022 case ".$ac_cv_cflags_gcc_option__Wno_unused_function" in
4026 if echo " $CFLAGS " | grep " $ac_cv_cflags_gcc_option__Wno_unused_function " 2>&1 >/dev/null
4027 then { (echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_gcc_option__Wno_unused_function") >&5
4028 (: CFLAGS does contain $ac_cv_cflags_gcc_option__Wno_unused_function) 2>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }
4032 else { (echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__Wno_unused_function\"") >&5
4033 (: CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wno_unused_function") 2>&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); }
4037 CFLAGS="$CFLAGS $ac_cv_cflags_gcc_option__Wno_unused_function"
4042 { echo "$as_me:$LINENO: checking CFLAGS for gcc -ftrampolines" >&5
4043 echo $ECHO_N "checking CFLAGS for gcc -ftrampolines... $ECHO_C" >&6; }
4044 if test "${ac_cv_cflags_gcc_option__ftrampolines+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 ac_cv_cflags_gcc_option__ftrampolines="no, unknown"
4050 ac_cpp='$CPP $CPPFLAGS'
4051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4055 ac_save_CFLAGS="$CFLAGS"
4056 for ac_arg in "-pedantic % -ftrampolines" #
4057 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg |
sed -e 's,%%.*,,' -e 's,%,,'`
4058 cat >conftest.$ac_ext <<_ACEOF
4061 cat confdefs.h >>conftest.$ac_ext
4062 cat >>conftest.$ac_ext <<_ACEOF
4063 /* end confdefs.h. */
4073 rm -f conftest.$ac_objext
4074 if { (ac_try="$ac_compile"
4076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4077 *) ac_try_echo
=$ac_try;;
4079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4080 (eval "$ac_compile") 2>conftest.er1
4082 grep -v '^ *+' conftest.er1
>conftest.err
4084 cat conftest.err
>&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); } && {
4087 test -z "$ac_c_werror_flag" ||
4088 test ! -s conftest.err
4089 } && test -s conftest.
$ac_objext; then
4090 ac_cv_cflags_gcc_option__ftrampolines
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.
$ac_ext >&5
4098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4100 CFLAGS
="$ac_save_CFLAGS"
4102 ac_cpp
='$CPP $CPPFLAGS'
4103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4109 { echo "$as_me:$LINENO: result: $ac_cv_cflags_gcc_option__ftrampolines" >&5
4110 echo "${ECHO_T}$ac_cv_cflags_gcc_option__ftrampolines" >&6; }
4111 case ".$ac_cv_cflags_gcc_option__ftrampolines" in
4115 if echo " $CFLAGS " |
grep " $ac_cv_cflags_gcc_option__ftrampolines " 2>&1 >/dev
/null
4116 then { (echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_gcc_option__ftrampolines") >&5
4117 (: CFLAGS does contain
$ac_cv_cflags_gcc_option__ftrampolines) 2>&5
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); }
4121 else { (echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_gcc_option__ftrampolines\"") >&5
4122 (: CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__ftrampolines") 2>&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }
4126 CFLAGS
="$CFLAGS $ac_cv_cflags_gcc_option__ftrampolines"
4133 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4134 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4135 if test "${ac_cv_func_gethostbyname+set}" = set; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 cat >conftest.
$ac_ext <<_ACEOF
4141 cat confdefs.h
>>conftest.
$ac_ext
4142 cat >>conftest.
$ac_ext <<_ACEOF
4143 /* end confdefs.h. */
4144 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4146 #define gethostbyname innocuous_gethostbyname
4148 /* System header to define __stub macros and hopefully few prototypes,
4149 which can conflict with char gethostbyname (); below.
4150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4151 <limits.h> exists even on freestanding compilers. */
4154 # include <limits.h>
4156 # include <assert.h>
4159 #undef gethostbyname
4161 /* Override any GCC internal prototype to avoid an error.
4162 Use char because int might match the return type of a GCC
4163 builtin and then its argument prototype would still apply. */
4167 char gethostbyname ();
4168 /* The GNU C library defines this for functions which it implements
4169 to always fail with ENOSYS. Some functions are actually named
4170 something starting with __ and the normal name is an alias. */
4171 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4178 return gethostbyname ();
4183 rm -f conftest.
$ac_objext conftest
$ac_exeext
4184 if { (ac_try
="$ac_link"
4186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190 (eval "$ac_link") 2>conftest.er1
4192 grep -v '^ *+' conftest.er1 >conftest.err
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } && {
4197 test -z "$ac_c_werror_flag" ||
4198 test ! -s conftest.err
4199 } && test -s conftest$ac_exeext &&
4200 $as_test_x conftest$ac_exeext; then
4201 ac_cv_func_gethostbyname=yes
4203 echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.$ac_ext >&5
4206 ac_cv_func_gethostbyname=no
4209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4210 conftest$ac_exeext conftest.$ac_ext
4212 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4213 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4214 if test $ac_cv_func_gethostbyname = yes; then
4218 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4219 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4220 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4221 echo $ECHO_N "(cached) $ECHO_C" >&6
4223 ac_check_lib_save_LIBS=$LIBS
4225 cat >conftest.$ac_ext <<_ACEOF
4228 cat confdefs.h >>conftest.$ac_ext
4229 cat >>conftest.$ac_ext <<_ACEOF
4230 /* end confdefs.h. */
4232 /* Override any GCC internal prototype to avoid an error.
4233 Use char because int might match the return type of a GCC
4234 builtin and then its argument prototype would still apply. */
4238 char gethostbyname ();
4242 return gethostbyname ();
4247 rm -f conftest.$ac_objext conftest$ac_exeext
4248 if { (ac_try="$ac_link"
4250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4251 *) ac_try_echo
=$ac_try;;
4253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4254 (eval "$ac_link") 2>conftest.er1
4256 grep -v '^ *+' conftest.er1
>conftest.err
4258 cat conftest.err
>&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } && {
4261 test -z "$ac_c_werror_flag" ||
4262 test ! -s conftest.err
4263 } && test -s conftest
$ac_exeext &&
4264 $as_test_x conftest
$ac_exeext; then
4265 ac_cv_lib_nsl_gethostbyname
=yes
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.
$ac_ext >&5
4270 ac_cv_lib_nsl_gethostbyname
=no
4273 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4274 conftest
$ac_exeext conftest.
$ac_ext
4275 LIBS
=$ac_check_lib_save_LIBS
4277 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4278 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4279 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4280 cat >>confdefs.h
<<_ACEOF
4281 #define HAVE_LIBNSL 1
4290 { echo "$as_me:$LINENO: checking for connect" >&5
4291 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4292 if test "${ac_cv_func_connect+set}" = set; then
4293 echo $ECHO_N "(cached) $ECHO_C" >&6
4295 cat >conftest.
$ac_ext <<_ACEOF
4298 cat confdefs.h
>>conftest.
$ac_ext
4299 cat >>conftest.
$ac_ext <<_ACEOF
4300 /* end confdefs.h. */
4301 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4303 #define connect innocuous_connect
4305 /* System header to define __stub macros and hopefully few prototypes,
4306 which can conflict with char connect (); below.
4307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4308 <limits.h> exists even on freestanding compilers. */
4311 # include <limits.h>
4313 # include <assert.h>
4318 /* Override any GCC internal prototype to avoid an error.
4319 Use char because int might match the return type of a GCC
4320 builtin and then its argument prototype would still apply. */
4325 /* The GNU C library defines this for functions which it implements
4326 to always fail with ENOSYS. Some functions are actually named
4327 something starting with __ and the normal name is an alias. */
4328 #if defined __stub_connect || defined __stub___connect
4340 rm -f conftest.
$ac_objext conftest
$ac_exeext
4341 if { (ac_try
="$ac_link"
4343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4344 *) ac_try_echo=$ac_try;;
4346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4347 (eval "$ac_link") 2>conftest.er1
4349 grep -v '^ *+' conftest.er1 >conftest.err
4351 cat conftest.err >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); } && {
4354 test -z "$ac_c_werror_flag" ||
4355 test ! -s conftest.err
4356 } && test -s conftest$ac_exeext &&
4357 $as_test_x conftest$ac_exeext; then
4358 ac_cv_func_connect=yes
4360 echo "$as_me: failed program was:" >&5
4361 sed 's/^/| /' conftest.$ac_ext >&5
4363 ac_cv_func_connect=no
4366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4367 conftest$ac_exeext conftest.$ac_ext
4369 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4370 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4371 if test $ac_cv_func_connect = yes; then
4375 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4376 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4377 if test "${ac_cv_lib_socket_connect+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 ac_check_lib_save_LIBS=$LIBS
4381 LIBS="-lsocket $LIBS"
4382 cat >conftest.$ac_ext <<_ACEOF
4385 cat confdefs.h >>conftest.$ac_ext
4386 cat >>conftest.$ac_ext <<_ACEOF
4387 /* end confdefs.h. */
4389 /* Override any GCC internal prototype to avoid an error.
4390 Use char because int might match the return type of a GCC
4391 builtin and then its argument prototype would still apply. */
4404 rm -f conftest.$ac_objext conftest$ac_exeext
4405 if { (ac_try="$ac_link"
4407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4408 *) ac_try_echo
=$ac_try;;
4410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4411 (eval "$ac_link") 2>conftest.er1
4413 grep -v '^ *+' conftest.er1
>conftest.err
4415 cat conftest.err
>&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } && {
4418 test -z "$ac_c_werror_flag" ||
4419 test ! -s conftest.err
4420 } && test -s conftest
$ac_exeext &&
4421 $as_test_x conftest
$ac_exeext; then
4422 ac_cv_lib_socket_connect
=yes
4424 echo "$as_me: failed program was:" >&5
4425 sed 's/^/| /' conftest.
$ac_ext >&5
4427 ac_cv_lib_socket_connect
=no
4430 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4431 conftest
$ac_exeext conftest.
$ac_ext
4432 LIBS
=$ac_check_lib_save_LIBS
4434 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4435 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4436 if test $ac_cv_lib_socket_connect = yes; then
4437 cat >>confdefs.h
<<_ACEOF
4438 #define HAVE_LIBSOCKET 1
4441 LIBS
="-lsocket $LIBS"
4447 { echo "$as_me:$LINENO: checking for inet_aton" >&5
4448 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6; }
4449 if test "${ac_cv_func_inet_aton+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 inet_aton to an innocuous variant, in case <limits.h> declares inet_aton.
4459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4460 #define inet_aton innocuous_inet_aton
4462 /* System header to define __stub macros and hopefully few prototypes,
4463 which can conflict with char inet_aton (); 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_inet_aton || defined __stub___inet_aton
4492 return inet_aton ();
4497 rm -f conftest.
$ac_objext conftest
$ac_exeext
4498 if { (ac_try
="$ac_link"
4500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4501 *) ac_try_echo=$ac_try;;
4503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4504 (eval "$ac_link") 2>conftest.er1
4506 grep -v '^ *+' conftest.er1 >conftest.err
4508 cat conftest.err >&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); } && {
4511 test -z "$ac_c_werror_flag" ||
4512 test ! -s conftest.err
4513 } && test -s conftest$ac_exeext &&
4514 $as_test_x conftest$ac_exeext; then
4515 ac_cv_func_inet_aton=yes
4517 echo "$as_me: failed program was:" >&5
4518 sed 's/^/| /' conftest.$ac_ext >&5
4520 ac_cv_func_inet_aton=no
4523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4524 conftest$ac_exeext conftest.$ac_ext
4526 { echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
4527 echo "${ECHO_T}$ac_cv_func_inet_aton" >&6; }
4528 if test $ac_cv_func_inet_aton = yes; then
4532 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
4533 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
4534 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
4535 echo $ECHO_N "(cached) $ECHO_C" >&6
4537 ac_check_lib_save_LIBS=$LIBS
4538 LIBS="-lresolv $LIBS"
4539 cat >conftest.$ac_ext <<_ACEOF
4542 cat confdefs.h >>conftest.$ac_ext
4543 cat >>conftest.$ac_ext <<_ACEOF
4544 /* end confdefs.h. */
4546 /* Override any GCC internal prototype to avoid an error.
4547 Use char because int might match the return type of a GCC
4548 builtin and then its argument prototype would still apply. */
4556 return inet_aton ();
4561 rm -f conftest.$ac_objext conftest$ac_exeext
4562 if { (ac_try="$ac_link"
4564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4565 *) ac_try_echo
=$ac_try;;
4567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4568 (eval "$ac_link") 2>conftest.er1
4570 grep -v '^ *+' conftest.er1
>conftest.err
4572 cat conftest.err
>&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); } && {
4575 test -z "$ac_c_werror_flag" ||
4576 test ! -s conftest.err
4577 } && test -s conftest
$ac_exeext &&
4578 $as_test_x conftest
$ac_exeext; then
4579 ac_cv_lib_resolv_inet_aton
=yes
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.
$ac_ext >&5
4584 ac_cv_lib_resolv_inet_aton
=no
4587 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4588 conftest
$ac_exeext conftest.
$ac_ext
4589 LIBS
=$ac_check_lib_save_LIBS
4591 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
4592 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
4593 if test $ac_cv_lib_resolv_inet_aton = yes; then
4594 cat >>confdefs.h
<<_ACEOF
4595 #define HAVE_LIBRESOLV 1
4598 LIBS
="-lresolv $LIBS"
4605 { echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
4606 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6; }
4607 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4610 ac_check_lib_save_LIBS
=$LIBS
4611 LIBS
="-lkstat $LIBS"
4612 cat >conftest.
$ac_ext <<_ACEOF
4615 cat confdefs.h
>>conftest.
$ac_ext
4616 cat >>conftest.
$ac_ext <<_ACEOF
4617 /* end confdefs.h. */
4619 /* Override any GCC internal prototype to avoid an error.
4620 Use char because int might match the return type of a GCC
4621 builtin and then its argument prototype would still apply. */
4629 return kstat_open ();
4634 rm -f conftest.
$ac_objext conftest
$ac_exeext
4635 if { (ac_try
="$ac_link"
4637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4638 *) ac_try_echo=$ac_try;;
4640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4641 (eval "$ac_link") 2>conftest.er1
4643 grep -v '^ *+' conftest.er1 >conftest.err
4645 cat conftest.err >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); } && {
4648 test -z "$ac_c_werror_flag" ||
4649 test ! -s conftest.err
4650 } && test -s conftest$ac_exeext &&
4651 $as_test_x conftest$ac_exeext; then
4652 ac_cv_lib_kstat_kstat_open=yes
4654 echo "$as_me: failed program was:" >&5
4655 sed 's/^/| /' conftest.$ac_ext >&5
4657 ac_cv_lib_kstat_kstat_open=no
4660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4661 conftest$ac_exeext conftest.$ac_ext
4662 LIBS=$ac_check_lib_save_LIBS
4664 { echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
4665 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6; }
4666 if test $ac_cv_lib_kstat_kstat_open = yes; then
4667 cat >>confdefs.h <<_ACEOF
4668 #define HAVE_LIBKSTAT 1
4671 LIBS="-lkstat $LIBS"
4676 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
4677 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
4678 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 ac_check_lib_save_LIBS=$LIBS
4682 LIBS="-lposix4 $LIBS"
4683 cat >conftest.$ac_ext <<_ACEOF
4686 cat confdefs.h >>conftest.$ac_ext
4687 cat >>conftest.$ac_ext <<_ACEOF
4688 /* end confdefs.h. */
4690 /* Override any GCC internal prototype to avoid an error.
4691 Use char because int might match the return type of a GCC
4692 builtin and then its argument prototype would still apply. */
4700 return nanosleep ();
4705 rm -f conftest.$ac_objext conftest$ac_exeext
4706 if { (ac_try="$ac_link"
4708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4709 *) ac_try_echo
=$ac_try;;
4711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4712 (eval "$ac_link") 2>conftest.er1
4714 grep -v '^ *+' conftest.er1
>conftest.err
4716 cat conftest.err
>&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); } && {
4719 test -z "$ac_c_werror_flag" ||
4720 test ! -s conftest.err
4721 } && test -s conftest
$ac_exeext &&
4722 $as_test_x conftest
$ac_exeext; then
4723 ac_cv_lib_posix4_nanosleep
=yes
4725 echo "$as_me: failed program was:" >&5
4726 sed 's/^/| /' conftest.
$ac_ext >&5
4728 ac_cv_lib_posix4_nanosleep
=no
4731 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4732 conftest
$ac_exeext conftest.
$ac_ext
4733 LIBS
=$ac_check_lib_save_LIBS
4735 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
4736 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
4737 if test $ac_cv_lib_posix4_nanosleep = yes; then
4738 cat >>confdefs.h
<<_ACEOF
4739 #define HAVE_LIBPOSIX4 1
4742 LIBS
="-lposix4 $LIBS"
4748 for ac_func
in getloadavg swapctl
4750 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4753 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4754 echo $ECHO_N "(cached) $ECHO_C" >&6
4756 cat >conftest.
$ac_ext <<_ACEOF
4759 cat confdefs.h
>>conftest.
$ac_ext
4760 cat >>conftest.
$ac_ext <<_ACEOF
4761 /* end confdefs.h. */
4762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4764 #define $ac_func innocuous_$ac_func
4766 /* System header to define __stub macros and hopefully few prototypes,
4767 which can conflict with char $ac_func (); below.
4768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4769 <limits.h> exists even on freestanding compilers. */
4772 # include <limits.h>
4774 # include <assert.h>
4779 /* Override any GCC internal prototype to avoid an error.
4780 Use char because int might match the return type of a GCC
4781 builtin and then its argument prototype would still apply. */
4786 /* The GNU C library defines this for functions which it implements
4787 to always fail with ENOSYS. Some functions are actually named
4788 something starting with __ and the normal name is an alias. */
4789 #if defined __stub_$ac_func || defined __stub___$ac_func
4801 rm -f conftest.
$ac_objext conftest
$ac_exeext
4802 if { (ac_try
="$ac_link"
4804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4805 *) ac_try_echo=$ac_try;;
4807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4808 (eval "$ac_link") 2>conftest.er1
4810 grep -v '^ *+' conftest.er1 >conftest.err
4812 cat conftest.err >&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } && {
4815 test -z "$ac_c_werror_flag" ||
4816 test ! -s conftest.err
4817 } && test -s conftest$ac_exeext &&
4818 $as_test_x conftest$ac_exeext; then
4819 eval "$as_ac_var=yes"
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.$ac_ext >&5
4824 eval "$as_ac_var=no"
4827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4828 conftest$ac_exeext conftest.$ac_ext
4830 ac_res=`eval echo '${'$as_ac_var'}'`
4831 { echo "$as_me:$LINENO: result: $ac_res" >&5
4832 echo "${ECHO_T}$ac_res" >&6; }
4833 if test `eval echo '${'$as_ac_var'}'` = yes; then
4834 cat >>confdefs.h <<_ACEOF
4835 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
4842 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4843 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4844 if test "${ac_cv_path_GREP+set}" = set; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 # Extract the first word of "grep ggrep" to use in msg output
4848 if test -z "$GREP"; then
4849 set dummy grep ggrep; ac_prog_name=$2
4850 if test "${ac_cv_path_GREP+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 ac_path_GREP_found=false
4854 # Loop through the user's path and test for each of PROGNAME-LIST
4855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4859 test -z "$as_dir" && as_dir=.
4860 for ac_prog in grep ggrep; do
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4863 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4864 # Check for GNU ac_path_GREP and select it if it is found.
4865 # Check for GNU $ac_path_GREP
4866 case `"$ac_path_GREP" --version 2>&1` in
4868 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4871 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4874 cat "conftest.in" "conftest.in" >"conftest.tmp"
4875 mv "conftest.tmp" "conftest.in"
4876 cp "conftest.in" "conftest.nl"
4877 echo 'GREP' >> "conftest.nl"
4878 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4879 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4880 ac_count=`expr $ac_count + 1`
4881 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4882 # Best one so far, save it but keep looking for a better one
4883 ac_cv_path_GREP="$ac_path_GREP"
4884 ac_path_GREP_max=$ac_count
4886 # 10*(2^10) chars as input seems more than enough
4887 test $ac_count -gt 10 && break
4889 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4893 $ac_path_GREP_found && break 3
4903 GREP="$ac_cv_path_GREP"
4904 if test -z "$GREP"; then
4905 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4906 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4907 { (exit 1); exit 1; }; }
4911 ac_cv_path_GREP=$GREP
4916 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4917 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4918 GREP="$ac_cv_path_GREP"
4921 { echo "$as_me:$LINENO: checking for egrep" >&5
4922 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4923 if test "${ac_cv_path_EGREP+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4927 then ac_cv_path_EGREP="$GREP -E"
4929 # Extract the first word of "egrep" to use in msg output
4930 if test -z "$EGREP"; then
4931 set dummy egrep; ac_prog_name=$2
4932 if test "${ac_cv_path_EGREP+set}" = set; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 ac_path_EGREP_found=false
4936 # Loop through the user's path and test for each of PROGNAME-LIST
4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4941 test -z "$as_dir" && as_dir=.
4942 for ac_prog in egrep; do
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4945 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4946 # Check for GNU ac_path_EGREP and select it if it is found.
4947 # Check for GNU $ac_path_EGREP
4948 case `"$ac_path_EGREP" --version 2>&1` in
4950 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4953 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4956 cat "conftest.in" "conftest.in" >"conftest.tmp"
4957 mv "conftest.tmp" "conftest.in"
4958 cp "conftest.in" "conftest.nl"
4959 echo 'EGREP' >> "conftest.nl"
4960 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4961 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4962 ac_count=`expr $ac_count + 1`
4963 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4964 # Best one so far, save it but keep looking for a better one
4965 ac_cv_path_EGREP="$ac_path_EGREP"
4966 ac_path_EGREP_max=$ac_count
4968 # 10*(2^10) chars as input seems more than enough
4969 test $ac_count -gt 10 && break
4971 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4975 $ac_path_EGREP_found && break 3
4985 EGREP="$ac_cv_path_EGREP"
4986 if test -z "$EGREP"; then
4987 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4988 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4989 { (exit 1); exit 1; }; }
4993 ac_cv_path_EGREP=$EGREP
4999 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5000 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5001 EGREP="$ac_cv_path_EGREP"
5004 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5005 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5006 if test "${ac_cv_header_stdc+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 cat >conftest.$ac_ext <<_ACEOF
5012 cat confdefs.h >>conftest.$ac_ext
5013 cat >>conftest.$ac_ext <<_ACEOF
5014 /* end confdefs.h. */
5028 rm -f conftest.$ac_objext
5029 if { (ac_try="$ac_compile"
5031 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5032 *) ac_try_echo
=$ac_try;;
5034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5035 (eval "$ac_compile") 2>conftest.er1
5037 grep -v '^ *+' conftest.er1
>conftest.err
5039 cat conftest.err
>&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); } && {
5042 test -z "$ac_c_werror_flag" ||
5043 test ! -s conftest.err
5044 } && test -s conftest.
$ac_objext; then
5045 ac_cv_header_stdc
=yes
5047 echo "$as_me: failed program was:" >&5
5048 sed 's/^/| /' conftest.
$ac_ext >&5
5050 ac_cv_header_stdc
=no
5053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5055 if test $ac_cv_header_stdc = yes; then
5056 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5057 cat >conftest.
$ac_ext <<_ACEOF
5060 cat confdefs.h
>>conftest.
$ac_ext
5061 cat >>conftest.
$ac_ext <<_ACEOF
5062 /* end confdefs.h. */
5066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5067 $EGREP "memchr" >/dev
/null
2>&1; then
5070 ac_cv_header_stdc
=no
5076 if test $ac_cv_header_stdc = yes; then
5077 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5078 cat >conftest.
$ac_ext <<_ACEOF
5081 cat confdefs.h
>>conftest.
$ac_ext
5082 cat >>conftest.
$ac_ext <<_ACEOF
5083 /* end confdefs.h. */
5087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5088 $EGREP "free" >/dev
/null
2>&1; then
5091 ac_cv_header_stdc
=no
5097 if test $ac_cv_header_stdc = yes; then
5098 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5099 if test "$cross_compiling" = yes; then
5102 cat >conftest.
$ac_ext <<_ACEOF
5105 cat confdefs.h
>>conftest.
$ac_ext
5106 cat >>conftest.
$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5110 #if ((' ' & 0x0FF) == 0x020)
5111 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5112 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5114 # define ISLOWER(c) \
5115 (('a' <= (c) && (c) <= 'i') \
5116 || ('j' <= (c) && (c) <= 'r') \
5117 || ('s' <= (c) && (c) <= 'z'))
5118 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5121 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5126 for (i = 0; i < 256; i++)
5127 if (XOR (islower (i), ISLOWER (i))
5128 || toupper (i) != TOUPPER (i))
5133 rm -f conftest
$ac_exeext
5134 if { (ac_try
="$ac_link"
5136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5137 *) ac_try_echo=$ac_try;;
5139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5140 (eval "$ac_link") 2>&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5144 { (case "(($ac_try" in
5145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5146 *) ac_try_echo
=$ac_try;;
5148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5149 (eval "$ac_try") 2>&5
5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); }; }; then
5155 echo "$as_me: program exited with status $ac_status" >&5
5156 echo "$as_me: failed program was:" >&5
5157 sed 's/^/| /' conftest.
$ac_ext >&5
5160 ac_cv_header_stdc
=no
5162 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5168 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5169 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5170 if test $ac_cv_header_stdc = yes; then
5172 cat >>confdefs.h
<<\_ACEOF
5173 #define STDC_HEADERS 1
5178 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5188 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5189 inttypes.h stdint.h unistd.h
5191 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5192 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5194 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5195 echo $ECHO_N "(cached) $ECHO_C" >&6
5197 cat >conftest.
$ac_ext <<_ACEOF
5200 cat confdefs.h
>>conftest.
$ac_ext
5201 cat >>conftest.
$ac_ext <<_ACEOF
5202 /* end confdefs.h. */
5203 $ac_includes_default
5205 #include <$ac_header>
5207 rm -f conftest.
$ac_objext
5208 if { (ac_try
="$ac_compile"
5210 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5211 *) ac_try_echo=$ac_try;;
5213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5214 (eval "$ac_compile") 2>conftest.er1
5216 grep -v '^ *+' conftest.er1 >conftest.err
5218 cat conftest.err >&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); } && {
5221 test -z "$ac_c_werror_flag" ||
5222 test ! -s conftest.err
5223 } && test -s conftest.$ac_objext; then
5224 eval "$as_ac_Header=yes"
5226 echo "$as_me: failed program was:" >&5
5227 sed 's/^/| /' conftest.$ac_ext >&5
5229 eval "$as_ac_Header=no"
5232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5234 ac_res=`eval echo '${'$as_ac_Header'}'`
5235 { echo "$as_me:$LINENO: result: $ac_res" >&5
5236 echo "${ECHO_T}$ac_res" >&6; }
5237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5238 cat >>confdefs.h <<_ACEOF
5239 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5251 for ac_header in procfs.h sys/procfs.h sys/loadavg.h utmpx.h
5253 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5255 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5258 echo $ECHO_N "(cached) $ECHO_C" >&6
5260 ac_res=`eval echo '${'$as_ac_Header'}'`
5261 { echo "$as_me:$LINENO: result: $ac_res" >&5
5262 echo "${ECHO_T}$ac_res" >&6; }
5264 # Is the header compilable?
5265 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5266 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5267 cat >conftest.$ac_ext <<_ACEOF
5270 cat confdefs.h >>conftest.$ac_ext
5271 cat >>conftest.$ac_ext <<_ACEOF
5272 /* end confdefs.h. */
5273 $ac_includes_default
5274 #include <$ac_header>
5276 rm -f conftest.$ac_objext
5277 if { (ac_try="$ac_compile"
5279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5280 *) ac_try_echo
=$ac_try;;
5282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5283 (eval "$ac_compile") 2>conftest.er1
5285 grep -v '^ *+' conftest.er1
>conftest.err
5287 cat conftest.err
>&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); } && {
5290 test -z "$ac_c_werror_flag" ||
5291 test ! -s conftest.err
5292 } && test -s conftest.
$ac_objext; then
5293 ac_header_compiler
=yes
5295 echo "$as_me: failed program was:" >&5
5296 sed 's/^/| /' conftest.
$ac_ext >&5
5298 ac_header_compiler
=no
5301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5302 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5303 echo "${ECHO_T}$ac_header_compiler" >&6; }
5305 # Is the header present?
5306 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5307 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5308 cat >conftest.
$ac_ext <<_ACEOF
5311 cat confdefs.h
>>conftest.
$ac_ext
5312 cat >>conftest.
$ac_ext <<_ACEOF
5313 /* end confdefs.h. */
5314 #include <$ac_header>
5316 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5319 *) ac_try_echo=$ac_try;;
5321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5322 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5324 grep -v '^ *+' conftest.er1 >conftest.err
5326 cat conftest.err >&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); } >/dev/null && {
5329 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5330 test ! -s conftest.err
5332 ac_header_preproc=yes
5334 echo "$as_me: failed program was:" >&5
5335 sed 's/^/| /' conftest.$ac_ext >&5
5337 ac_header_preproc=no
5340 rm -f conftest.err conftest.$ac_ext
5341 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5342 echo "${ECHO_T}$ac_header_preproc" >&6; }
5344 # So? What about this header?
5345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5347 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5350 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5351 ac_header_preproc=yes
5354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5358 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5359 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5360 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5361 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5364 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5365 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5367 ## ------------------------------------------- ##
5368 ## Report this to lcdproc@lists.omnipotent.net ##
5369 ## ------------------------------------------- ##
5371 ) | sed "s/^/$as_me: WARNING: /" >&2
5374 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5379 eval "$as_ac_Header=\$ac_header_preproc"
5381 ac_res=`eval echo '${'$as_ac_Header'}'`
5382 { echo "$as_me:$LINENO: result: $ac_res" >&5
5383 echo "${ECHO_T}$ac_res" >&6; }
5386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5387 cat >>confdefs.h <<_ACEOF
5388 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5396 { echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
5397 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6; }
5398 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 ac_check_lib_save_LIBS=$LIBS
5403 cat >conftest.$ac_ext <<_ACEOF
5406 cat confdefs.h >>conftest.$ac_ext
5407 cat >>conftest.$ac_ext <<_ACEOF
5408 /* end confdefs.h. */
5410 /* Override any GCC internal prototype to avoid an error.
5411 Use char because int might match the return type of a GCC
5412 builtin and then its argument prototype would still apply. */
5425 rm -f conftest.$ac_objext conftest$ac_exeext
5426 if { (ac_try="$ac_link"
5428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5429 *) ac_try_echo
=$ac_try;;
5431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5432 (eval "$ac_link") 2>conftest.er1
5434 grep -v '^ *+' conftest.er1
>conftest.err
5436 cat conftest.err
>&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } && {
5439 test -z "$ac_c_werror_flag" ||
5440 test ! -s conftest.err
5441 } && test -s conftest
$ac_exeext &&
5442 $as_test_x conftest
$ac_exeext; then
5443 ac_cv_lib_kvm_kvm_open
=yes
5445 echo "$as_me: failed program was:" >&5
5446 sed 's/^/| /' conftest.
$ac_ext >&5
5448 ac_cv_lib_kvm_kvm_open
=no
5451 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5452 conftest
$ac_exeext conftest.
$ac_ext
5453 LIBS
=$ac_check_lib_save_LIBS
5455 { echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
5456 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6; }
5457 if test $ac_cv_lib_kvm_kvm_open = yes; then
5462 { echo "$as_me:$LINENO: checking for kvm_open in -lkvm with -lelf" >&5
5463 echo $ECHO_N "checking for kvm_open in -lkvm with -lelf... $ECHO_C" >&6; }
5464 if test "${ac_cv_lib_kvm_with_elf+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5467 ac_save_LIBS
="$LIBS"
5468 LIBS
="-lkvm -lelf $LIBS"
5469 cat >conftest.
$ac_ext <<_ACEOF
5472 cat confdefs.h
>>conftest.
$ac_ext
5473 cat >>conftest.
$ac_ext <<_ACEOF
5474 /* end confdefs.h. */
5484 rm -f conftest.
$ac_objext conftest
$ac_exeext
5485 if { (ac_try
="$ac_link"
5487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5488 *) ac_try_echo=$ac_try;;
5490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5491 (eval "$ac_link") 2>conftest.er1
5493 grep -v '^ *+' conftest.er1 >conftest.err
5495 cat conftest.err >&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } && {
5498 test -z "$ac_c_werror_flag" ||
5499 test ! -s conftest.err
5500 } && test -s conftest$ac_exeext &&
5501 $as_test_x conftest$ac_exeext; then
5502 ac_cv_lib_kvm_with_elf=yes
5504 echo "$as_me: failed program was:" >&5
5505 sed 's/^/| /' conftest.$ac_ext >&5
5507 ac_cv_lib_kvm_with_elf=no
5510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5511 conftest$ac_exeext conftest.$ac_ext
5512 LIBS="$ac_save_LIBS"
5516 if test "$ac_cv_lib_kvm_with_elf" = "yes"; then
5517 { echo "$as_me:$LINENO: result: yes" >&5
5518 echo "${ECHO_T}yes" >&6; }
5519 LIBS="-lkvm -lelf $LIBS"
5521 { echo "$as_me:$LINENO: result: no" >&5
5522 echo "${ECHO_T}no" >&6; }
5535 for ac_header in sched.h sys/sched.h machine/cpufunc.h sys/types.h machine/pio.h machine/sysarch.h sys/cpuvar.h
5537 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5542 echo $ECHO_N "(cached) $ECHO_C" >&6
5544 ac_res=`eval echo '${'$as_ac_Header'}'`
5545 { echo "$as_me:$LINENO: result: $ac_res" >&5
5546 echo "${ECHO_T}$ac_res" >&6; }
5548 # Is the header compilable?
5549 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5550 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5551 cat >conftest.$ac_ext <<_ACEOF
5554 cat confdefs.h >>conftest.$ac_ext
5555 cat >>conftest.$ac_ext <<_ACEOF
5556 /* end confdefs.h. */
5557 $ac_includes_default
5558 #include <$ac_header>
5560 rm -f conftest.$ac_objext
5561 if { (ac_try="$ac_compile"
5563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5564 *) ac_try_echo
=$ac_try;;
5566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5567 (eval "$ac_compile") 2>conftest.er1
5569 grep -v '^ *+' conftest.er1
>conftest.err
5571 cat conftest.err
>&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } && {
5574 test -z "$ac_c_werror_flag" ||
5575 test ! -s conftest.err
5576 } && test -s conftest.
$ac_objext; then
5577 ac_header_compiler
=yes
5579 echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.
$ac_ext >&5
5582 ac_header_compiler
=no
5585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5586 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5587 echo "${ECHO_T}$ac_header_compiler" >&6; }
5589 # Is the header present?
5590 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5592 cat >conftest.
$ac_ext <<_ACEOF
5595 cat confdefs.h
>>conftest.
$ac_ext
5596 cat >>conftest.
$ac_ext <<_ACEOF
5597 /* end confdefs.h. */
5598 #include <$ac_header>
5600 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5603 *) ac_try_echo=$ac_try;;
5605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5608 grep -v '^ *+' conftest.er1 >conftest.err
5610 cat conftest.err >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } >/dev/null && {
5613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5614 test ! -s conftest.err
5616 ac_header_preproc=yes
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.$ac_ext >&5
5621 ac_header_preproc=no
5624 rm -f conftest.err conftest.$ac_ext
5625 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5626 echo "${ECHO_T}$ac_header_preproc" >&6; }
5628 # So? What about this header?
5629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5631 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5632 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5634 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5635 ac_header_preproc=yes
5638 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5639 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5640 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5641 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5642 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5643 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5644 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5645 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5648 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5649 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5651 ## ------------------------------------------- ##
5652 ## Report this to lcdproc@lists.omnipotent.net ##
5653 ## ------------------------------------------- ##
5655 ) | sed "s/^/$as_me: WARNING: /" >&2
5658 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5661 echo $ECHO_N "(cached) $ECHO_C" >&6
5663 eval "$as_ac_Header=\$ac_header_preproc"
5665 ac_res=`eval echo '${'$as_ac_Header'}'`
5666 { echo "$as_me:$LINENO: result: $ac_res" >&5
5667 echo "${ECHO_T}$ac_res" >&6; }
5670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5671 cat >>confdefs.h <<_ACEOF
5672 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5680 { echo "$as_me:$LINENO: checking for System V IPC headers" >&5
5681 echo $ECHO_N "checking for System V IPC headers... $ECHO_C" >&6; }
5682 if test "${ac_cv_sysv_ipc+set}" = set; then
5683 echo $ECHO_N "(cached) $ECHO_C" >&6
5686 cat >conftest.$ac_ext <<_ACEOF
5689 cat confdefs.h >>conftest.$ac_ext
5690 cat >>conftest.$ac_ext <<_ACEOF
5691 /* end confdefs.h. */
5693 #include <sys/types.h>
5694 #include <sys/ipc.h>
5695 #include <sys/msg.h>
5696 #include <sys/sem.h>
5697 #include <sys/shm.h>
5707 rm -f conftest.$ac_objext
5708 if { (ac_try="$ac_compile"
5710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5711 *) ac_try_echo
=$ac_try;;
5713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5714 (eval "$ac_compile") 2>conftest.er1
5716 grep -v '^ *+' conftest.er1
>conftest.err
5718 cat conftest.err
>&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); } && {
5721 test -z "$ac_c_werror_flag" ||
5722 test ! -s conftest.err
5723 } && test -s conftest.
$ac_objext; then
5726 echo "$as_me: failed program was:" >&5
5727 sed 's/^/| /' conftest.
$ac_ext >&5
5732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5735 { echo "$as_me:$LINENO: result: $ac_cv_sysv_ipc" >&5
5736 echo "${ECHO_T}$ac_cv_sysv_ipc" >&6; }
5738 if test x
"$ac_cv_sysv_ipc" = "xyes"
5741 cat >>confdefs.h
<<\_ACEOF
5742 #define HAVE_SYSV_IPC 1
5748 { echo "$as_me:$LINENO: checking for union semun" >&5
5749 echo $ECHO_N "checking for union semun... $ECHO_C" >&6; }
5750 if test "${ac_cv_union_semun+set}" = set; then
5751 echo $ECHO_N "(cached) $ECHO_C" >&6
5754 cat >conftest.
$ac_ext <<_ACEOF
5757 cat confdefs.h
>>conftest.
$ac_ext
5758 cat >>conftest.
$ac_ext <<_ACEOF
5759 /* end confdefs.h. */
5761 #include <sys/types.h>
5762 #include <sys/ipc.h>
5763 #include <sys/sem.h>
5773 rm -f conftest.
$ac_objext
5774 if { (ac_try
="$ac_compile"
5776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5777 *) ac_try_echo=$ac_try;;
5779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5780 (eval "$ac_compile") 2>conftest.er1
5782 grep -v '^ *+' conftest.er1 >conftest.err
5784 cat conftest.err >&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); } && {
5787 test -z "$ac_c_werror_flag" ||
5788 test ! -s conftest.err
5789 } && test -s conftest.$ac_objext; then
5790 ac_cv_union_semun=yes
5792 echo "$as_me: failed program was:" >&5
5793 sed 's/^/| /' conftest.$ac_ext >&5
5795 ac_cv_union_semun=no
5798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5801 { echo "$as_me:$LINENO: result: $ac_cv_union_semun" >&5
5802 echo "${ECHO_T}$ac_cv_union_semun" >&6; }
5804 if test x"$ac_cv_union_semun" = "xyes"
5807 cat >>confdefs.h <<\_ACEOF
5808 #define HAVE_UNION_SEMUN 1
5815 for ac_func in sched_setscheduler
5817 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5818 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5820 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5823 cat >conftest.$ac_ext <<_ACEOF
5826 cat confdefs.h >>conftest.$ac_ext
5827 cat >>conftest.$ac_ext <<_ACEOF
5828 /* end confdefs.h. */
5829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5831 #define $ac_func innocuous_$ac_func
5833 /* System header to define __stub macros and hopefully few prototypes,
5834 which can conflict with char $ac_func (); below.
5835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5836 <limits.h> exists even on freestanding compilers. */
5839 # include <limits.h>
5841 # include <assert.h>
5846 /* Override any GCC internal prototype to avoid an error.
5847 Use char because int might match the return type of a GCC
5848 builtin and then its argument prototype would still apply. */
5853 /* The GNU C library defines this for functions which it implements
5854 to always fail with ENOSYS. Some functions are actually named
5855 something starting with __ and the normal name is an alias. */
5856 #if defined __stub_$ac_func || defined __stub___$ac_func
5868 rm -f conftest.$ac_objext conftest$ac_exeext
5869 if { (ac_try="$ac_link"
5871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5872 *) ac_try_echo
=$ac_try;;
5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5875 (eval "$ac_link") 2>conftest.er1
5877 grep -v '^ *+' conftest.er1
>conftest.err
5879 cat conftest.err
>&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } && {
5882 test -z "$ac_c_werror_flag" ||
5883 test ! -s conftest.err
5884 } && test -s conftest
$ac_exeext &&
5885 $as_test_x conftest
$ac_exeext; then
5886 eval "$as_ac_var=yes"
5888 echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.
$ac_ext >&5
5891 eval "$as_ac_var=no"
5894 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5895 conftest
$ac_exeext conftest.
$ac_ext
5897 ac_res
=`eval echo '${'$as_ac_var'}'`
5898 { echo "$as_me:$LINENO: result: $ac_res" >&5
5899 echo "${ECHO_T}$ac_res" >&6; }
5900 if test `eval echo '${'$as_ac_var'}'` = yes; then
5901 cat >>confdefs.h
<<_ACEOF
5902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5908 { echo "$as_me:$LINENO: checking for sched_setscheduler in -lposix4" >&5
5909 echo $ECHO_N "checking for sched_setscheduler in -lposix4... $ECHO_C" >&6; }
5910 if test "${ac_cv_lib_posix4_sched_setscheduler+set}" = set; then
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 ac_check_lib_save_LIBS
=$LIBS
5914 LIBS
="-lposix4 $LIBS"
5915 cat >conftest.
$ac_ext <<_ACEOF
5918 cat confdefs.h
>>conftest.
$ac_ext
5919 cat >>conftest.
$ac_ext <<_ACEOF
5920 /* end confdefs.h. */
5922 /* Override any GCC internal prototype to avoid an error.
5923 Use char because int might match the return type of a GCC
5924 builtin and then its argument prototype would still apply. */
5928 char sched_setscheduler ();
5932 return sched_setscheduler ();
5937 rm -f conftest.
$ac_objext conftest
$ac_exeext
5938 if { (ac_try
="$ac_link"
5940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5941 *) ac_try_echo=$ac_try;;
5943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5944 (eval "$ac_link") 2>conftest.er1
5946 grep -v '^ *+' conftest.er1 >conftest.err
5948 cat conftest.err >&5
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); } && {
5951 test -z "$ac_c_werror_flag" ||
5952 test ! -s conftest.err
5953 } && test -s conftest$ac_exeext &&
5954 $as_test_x conftest$ac_exeext; then
5955 ac_cv_lib_posix4_sched_setscheduler=yes
5957 echo "$as_me: failed program was:" >&5
5958 sed 's/^/| /' conftest.$ac_ext >&5
5960 ac_cv_lib_posix4_sched_setscheduler=no
5963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5964 conftest$ac_exeext conftest.$ac_ext
5965 LIBS=$ac_check_lib_save_LIBS
5967 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_setscheduler" >&5
5968 echo "${ECHO_T}$ac_cv_lib_posix4_sched_setscheduler" >&6; }
5969 if test $ac_cv_lib_posix4_sched_setscheduler = yes; then
5972 cat >>confdefs.h <<\_ACEOF
5973 #define HAVE_SCHED_SETSCHEDULER 1
5979 { echo "$as_me:$LINENO: checking for sched_setscheduler in -lrt" >&5
5980 echo $ECHO_N "checking for sched_setscheduler in -lrt... $ECHO_C" >&6; }
5981 if test "${ac_cv_lib_rt_sched_setscheduler+set}" = set; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 ac_check_lib_save_LIBS=$LIBS
5986 cat >conftest.$ac_ext <<_ACEOF
5989 cat confdefs.h >>conftest.$ac_ext
5990 cat >>conftest.$ac_ext <<_ACEOF
5991 /* end confdefs.h. */
5993 /* Override any GCC internal prototype to avoid an error.
5994 Use char because int might match the return type of a GCC
5995 builtin and then its argument prototype would still apply. */
5999 char sched_setscheduler ();
6003 return sched_setscheduler ();
6008 rm -f conftest.$ac_objext conftest$ac_exeext
6009 if { (ac_try="$ac_link"
6011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6012 *) ac_try_echo
=$ac_try;;
6014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6015 (eval "$ac_link") 2>conftest.er1
6017 grep -v '^ *+' conftest.er1
>conftest.err
6019 cat conftest.err
>&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } && {
6022 test -z "$ac_c_werror_flag" ||
6023 test ! -s conftest.err
6024 } && test -s conftest
$ac_exeext &&
6025 $as_test_x conftest
$ac_exeext; then
6026 ac_cv_lib_rt_sched_setscheduler
=yes
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.
$ac_ext >&5
6031 ac_cv_lib_rt_sched_setscheduler
=no
6034 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6035 conftest
$ac_exeext conftest.
$ac_ext
6036 LIBS
=$ac_check_lib_save_LIBS
6038 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_setscheduler" >&5
6039 echo "${ECHO_T}$ac_cv_lib_rt_sched_setscheduler" >&6; }
6040 if test $ac_cv_lib_rt_sched_setscheduler = yes; then
6043 cat >>confdefs.h
<<\_ACEOF
6044 #define HAVE_SCHED_SETSCHEDULER 1
6051 { echo "$as_me:$LINENO: checking for i386_get_ioperm in -li386" >&5
6052 echo $ECHO_N "checking for i386_get_ioperm in -li386... $ECHO_C" >&6; }
6053 if test "${ac_cv_lib_i386_i386_get_ioperm+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 ac_check_lib_save_LIBS
=$LIBS
6058 cat >conftest.
$ac_ext <<_ACEOF
6061 cat confdefs.h
>>conftest.
$ac_ext
6062 cat >>conftest.
$ac_ext <<_ACEOF
6063 /* end confdefs.h. */
6065 /* Override any GCC internal prototype to avoid an error.
6066 Use char because int might match the return type of a GCC
6067 builtin and then its argument prototype would still apply. */
6071 char i386_get_ioperm ();
6075 return i386_get_ioperm ();
6080 rm -f conftest.
$ac_objext conftest
$ac_exeext
6081 if { (ac_try
="$ac_link"
6083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6084 *) ac_try_echo=$ac_try;;
6086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6087 (eval "$ac_link") 2>conftest.er1
6089 grep -v '^ *+' conftest.er1 >conftest.err
6091 cat conftest.err >&5
6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 (exit $ac_status); } && {
6094 test -z "$ac_c_werror_flag" ||
6095 test ! -s conftest.err
6096 } && test -s conftest$ac_exeext &&
6097 $as_test_x conftest$ac_exeext; then
6098 ac_cv_lib_i386_i386_get_ioperm=yes
6100 echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.$ac_ext >&5
6103 ac_cv_lib_i386_i386_get_ioperm=no
6106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6107 conftest$ac_exeext conftest.$ac_ext
6108 LIBS=$ac_check_lib_save_LIBS
6110 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_get_ioperm" >&5
6111 echo "${ECHO_T}$ac_cv_lib_i386_i386_get_ioperm" >&6; }
6112 if test $ac_cv_lib_i386_i386_get_ioperm = yes; then
6115 cat >>confdefs.h <<\_ACEOF
6116 #define HAVE_I386_IOPERM_NETBSD 1
6121 { echo "$as_me:$LINENO: checking for i386_get_ioperm in -lc" >&5
6122 echo $ECHO_N "checking for i386_get_ioperm in -lc... $ECHO_C" >&6; }
6123 if test "${ac_cv_lib_c_i386_get_ioperm+set}" = set; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 ac_check_lib_save_LIBS=$LIBS
6128 cat >conftest.$ac_ext <<_ACEOF
6131 cat confdefs.h >>conftest.$ac_ext
6132 cat >>conftest.$ac_ext <<_ACEOF
6133 /* end confdefs.h. */
6135 /* Override any GCC internal prototype to avoid an error.
6136 Use char because int might match the return type of a GCC
6137 builtin and then its argument prototype would still apply. */
6141 char i386_get_ioperm ();
6145 return i386_get_ioperm ();
6150 rm -f conftest.$ac_objext conftest$ac_exeext
6151 if { (ac_try="$ac_link"
6153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6154 *) ac_try_echo
=$ac_try;;
6156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6157 (eval "$ac_link") 2>conftest.er1
6159 grep -v '^ *+' conftest.er1
>conftest.err
6161 cat conftest.err
>&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); } && {
6164 test -z "$ac_c_werror_flag" ||
6165 test ! -s conftest.err
6166 } && test -s conftest
$ac_exeext &&
6167 $as_test_x conftest
$ac_exeext; then
6168 ac_cv_lib_c_i386_get_ioperm
=yes
6170 echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.
$ac_ext >&5
6173 ac_cv_lib_c_i386_get_ioperm
=no
6176 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6177 conftest
$ac_exeext conftest.
$ac_ext
6178 LIBS
=$ac_check_lib_save_LIBS
6180 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_i386_get_ioperm" >&5
6181 echo "${ECHO_T}$ac_cv_lib_c_i386_get_ioperm" >&6; }
6182 if test $ac_cv_lib_c_i386_get_ioperm = yes; then
6184 cat >>confdefs.h
<<\_ACEOF
6185 #define HAVE_I386_IOPERM_FREEBSD 1
6197 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6198 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6200 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 cat >conftest.
$ac_ext <<_ACEOF
6206 cat confdefs.h
>>conftest.
$ac_ext
6207 cat >>conftest.
$ac_ext <<_ACEOF
6208 /* end confdefs.h. */
6209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6211 #define $ac_func innocuous_$ac_func
6213 /* System header to define __stub macros and hopefully few prototypes,
6214 which can conflict with char $ac_func (); below.
6215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6216 <limits.h> exists even on freestanding compilers. */
6219 # include <limits.h>
6221 # include <assert.h>
6226 /* Override any GCC internal prototype to avoid an error.
6227 Use char because int might match the return type of a GCC
6228 builtin and then its argument prototype would still apply. */
6233 /* The GNU C library defines this for functions which it implements
6234 to always fail with ENOSYS. Some functions are actually named
6235 something starting with __ and the normal name is an alias. */
6236 #if defined __stub_$ac_func || defined __stub___$ac_func
6248 rm -f conftest.
$ac_objext conftest
$ac_exeext
6249 if { (ac_try
="$ac_link"
6251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6252 *) ac_try_echo=$ac_try;;
6254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6255 (eval "$ac_link") 2>conftest.er1
6257 grep -v '^ *+' conftest.er1 >conftest.err
6259 cat conftest.err >&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } && {
6262 test -z "$ac_c_werror_flag" ||
6263 test ! -s conftest.err
6264 } && test -s conftest$ac_exeext &&
6265 $as_test_x conftest$ac_exeext; then
6266 eval "$as_ac_var=yes"
6268 echo "$as_me: failed program was:" >&5
6269 sed 's/^/| /' conftest.$ac_ext >&5
6271 eval "$as_ac_var=no"
6274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6275 conftest$ac_exeext conftest.$ac_ext
6277 ac_res=`eval echo '${'$as_ac_var'}'`
6278 { echo "$as_me:$LINENO: result: $ac_res" >&5
6279 echo "${ECHO_T}$ac_res" >&6; }
6280 if test `eval echo '${'$as_ac_var'}'` = yes; then
6281 cat >>confdefs.h <<_ACEOF
6282 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6289 for ac_func in ioperm
6291 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
6292 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6294 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6297 cat >conftest.$ac_ext <<_ACEOF
6300 cat confdefs.h >>conftest.$ac_ext
6301 cat >>conftest.$ac_ext <<_ACEOF
6302 /* end confdefs.h. */
6303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6305 #define $ac_func innocuous_$ac_func
6307 /* System header to define __stub macros and hopefully few prototypes,
6308 which can conflict with char $ac_func (); below.
6309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6310 <limits.h> exists even on freestanding compilers. */
6313 # include <limits.h>
6315 # include <assert.h>
6320 /* Override any GCC internal prototype to avoid an error.
6321 Use char because int might match the return type of a GCC
6322 builtin and then its argument prototype would still apply. */
6327 /* The GNU C library defines this for functions which it implements
6328 to always fail with ENOSYS. Some functions are actually named
6329 something starting with __ and the normal name is an alias. */
6330 #if defined __stub_$ac_func || defined __stub___$ac_func
6342 rm -f conftest.$ac_objext conftest$ac_exeext
6343 if { (ac_try="$ac_link"
6345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6346 *) ac_try_echo
=$ac_try;;
6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6349 (eval "$ac_link") 2>conftest.er1
6351 grep -v '^ *+' conftest.er1
>conftest.err
6353 cat conftest.err
>&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); } && {
6356 test -z "$ac_c_werror_flag" ||
6357 test ! -s conftest.err
6358 } && test -s conftest
$ac_exeext &&
6359 $as_test_x conftest
$ac_exeext; then
6360 eval "$as_ac_var=yes"
6362 echo "$as_me: failed program was:" >&5
6363 sed 's/^/| /' conftest.
$ac_ext >&5
6365 eval "$as_ac_var=no"
6368 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6369 conftest
$ac_exeext conftest.
$ac_ext
6371 ac_res
=`eval echo '${'$as_ac_var'}'`
6372 { echo "$as_me:$LINENO: result: $ac_res" >&5
6373 echo "${ECHO_T}$ac_res" >&6; }
6374 if test `eval echo '${'$as_ac_var'}'` = yes; then
6375 cat >>confdefs.h
<<_ACEOF
6376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6383 for ac_header
in sys
/io.h
6385 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6386 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6387 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6389 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6390 echo $ECHO_N "(cached) $ECHO_C" >&6
6392 ac_res
=`eval echo '${'$as_ac_Header'}'`
6393 { echo "$as_me:$LINENO: result: $ac_res" >&5
6394 echo "${ECHO_T}$ac_res" >&6; }
6396 # Is the header compilable?
6397 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6398 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6399 cat >conftest.
$ac_ext <<_ACEOF
6402 cat confdefs.h
>>conftest.
$ac_ext
6403 cat >>conftest.
$ac_ext <<_ACEOF
6404 /* end confdefs.h. */
6405 $ac_includes_default
6406 #include <$ac_header>
6408 rm -f conftest.
$ac_objext
6409 if { (ac_try
="$ac_compile"
6411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6412 *) ac_try_echo=$ac_try;;
6414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6415 (eval "$ac_compile") 2>conftest.er1
6417 grep -v '^ *+' conftest.er1 >conftest.err
6419 cat conftest.err >&5
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); } && {
6422 test -z "$ac_c_werror_flag" ||
6423 test ! -s conftest.err
6424 } && test -s conftest.$ac_objext; then
6425 ac_header_compiler=yes
6427 echo "$as_me: failed program was:" >&5
6428 sed 's/^/| /' conftest.$ac_ext >&5
6430 ac_header_compiler=no
6433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6434 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6435 echo "${ECHO_T}$ac_header_compiler" >&6; }
6437 # Is the header present?
6438 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6440 cat >conftest.$ac_ext <<_ACEOF
6443 cat confdefs.h >>conftest.$ac_ext
6444 cat >>conftest.$ac_ext <<_ACEOF
6445 /* end confdefs.h. */
6446 #include <$ac_header>
6448 if { (ac_try="$ac_cpp conftest.$ac_ext"
6450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6451 *) ac_try_echo
=$ac_try;;
6453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6456 grep -v '^ *+' conftest.er1
>conftest.err
6458 cat conftest.err
>&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); } >/dev
/null
&& {
6461 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6462 test ! -s conftest.err
6464 ac_header_preproc
=yes
6466 echo "$as_me: failed program was:" >&5
6467 sed 's/^/| /' conftest.
$ac_ext >&5
6469 ac_header_preproc
=no
6472 rm -f conftest.err conftest.
$ac_ext
6473 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6474 echo "${ECHO_T}$ac_header_preproc" >&6; }
6476 # So? What about this header?
6477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6482 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6483 ac_header_preproc
=yes
6486 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6487 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6488 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6489 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6490 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6491 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6492 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6493 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6496 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6497 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6499 ## ------------------------------------------- ##
6500 ## Report this to lcdproc@lists.omnipotent.net ##
6501 ## ------------------------------------------- ##
6503 ) |
sed "s/^/$as_me: WARNING: /" >&2
6506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6508 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6509 echo $ECHO_N "(cached) $ECHO_C" >&6
6511 eval "$as_ac_Header=\$ac_header_preproc"
6513 ac_res
=`eval echo '${'$as_ac_Header'}'`
6514 { echo "$as_me:$LINENO: result: $ac_res" >&5
6515 echo "${ECHO_T}$ac_res" >&6; }
6518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6519 cat >>confdefs.h
<<_ACEOF
6520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6528 { echo "$as_me:$LINENO: checking for a parallel port" >&5
6529 echo $ECHO_N "checking for a parallel port... $ECHO_C" >&6; }
6530 if test "${ac_cv_port_have_lpt+set}" = set; then
6531 echo $ECHO_N "(cached) $ECHO_C" >&6
6533 cat >conftest.
$ac_ext <<_ACEOF
6536 cat confdefs.h
>>conftest.
$ac_ext
6537 cat >>conftest.
$ac_ext <<_ACEOF
6538 /* end confdefs.h. */
6539 #include "${srcdir}/server/drivers/port.h"
6543 char val = port_in(0x350)
6548 rm -f conftest.
$ac_objext
6549 if { (ac_try
="$ac_compile"
6551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6552 *) ac_try_echo=$ac_try;;
6554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6555 (eval "$ac_compile") 2>conftest.er1
6557 grep -v '^ *+' conftest.er1 >conftest.err
6559 cat conftest.err >&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } && {
6562 test -z "$ac_c_werror_flag" ||
6563 test ! -s conftest.err
6564 } && test -s conftest.$ac_objext; then
6565 ac_cv_port_have_lpt=yes
6567 echo "$as_me: failed program was:" >&5
6568 sed 's/^/| /' conftest.$ac_ext >&5
6570 ac_cv_port_have_lpt=no
6573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6575 { echo "$as_me:$LINENO: result: $ac_cv_port_have_lpt" >&5
6576 echo "${ECHO_T}$ac_cv_port_have_lpt" >&6; }
6578 if test "$ac_cv_port_have_lpt" = yes
6581 cat >>confdefs.h <<\_ACEOF
6582 #define HAVE_PCSTYLE_LPT_CONTROL 1
6586 { echo "$as_me:$LINENO: WARNING: Can't talk to the parallel port, disabling drivers that use it." >&5
6587 echo "$as_me: WARNING: Can't talk to the parallel port, disabling drivers that use it." >&2;}
6596 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6597 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
6598 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6599 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
6600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6603 cat >conftest.$ac_ext <<_ACEOF
6606 cat confdefs.h >>conftest.$ac_ext
6607 cat >>conftest.$ac_ext <<_ACEOF
6608 /* end confdefs.h. */
6609 #include <sys/types.h>
6621 rm -f conftest.$ac_objext
6622 if { (ac_try="$ac_compile"
6624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6625 *) ac_try_echo
=$ac_try;;
6627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6628 (eval "$ac_compile") 2>conftest.er1
6630 grep -v '^ *+' conftest.er1
>conftest.err
6632 cat conftest.err
>&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } && {
6635 test -z "$ac_c_werror_flag" ||
6636 test ! -s conftest.err
6637 } && test -s conftest.
$ac_objext; then
6638 eval "$as_ac_Header=yes"
6640 echo "$as_me: failed program was:" >&5
6641 sed 's/^/| /' conftest.
$ac_ext >&5
6643 eval "$as_ac_Header=no"
6646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6648 ac_res
=`eval echo '${'$as_ac_Header'}'`
6649 { echo "$as_me:$LINENO: result: $ac_res" >&5
6650 echo "${ECHO_T}$ac_res" >&6; }
6651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6652 cat >>confdefs.h
<<_ACEOF
6653 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6656 ac_header_dirent
=$ac_hdr; break
6660 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6661 if test $ac_header_dirent = dirent.h
; then
6662 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
6663 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
6664 if test "${ac_cv_search_opendir+set}" = set; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6667 ac_func_search_save_LIBS
=$LIBS
6668 cat >conftest.
$ac_ext <<_ACEOF
6671 cat confdefs.h
>>conftest.
$ac_ext
6672 cat >>conftest.
$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6675 /* Override any GCC internal prototype to avoid an error.
6676 Use char because int might match the return type of a GCC
6677 builtin and then its argument prototype would still apply. */
6690 for ac_lib
in '' dir
; do
6691 if test -z "$ac_lib"; then
6692 ac_res
="none required"
6695 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6697 rm -f conftest.
$ac_objext conftest
$ac_exeext
6698 if { (ac_try
="$ac_link"
6700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6701 *) ac_try_echo=$ac_try;;
6703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6704 (eval "$ac_link") 2>conftest.er1
6706 grep -v '^ *+' conftest.er1 >conftest.err
6708 cat conftest.err >&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } && {
6711 test -z "$ac_c_werror_flag" ||
6712 test ! -s conftest.err
6713 } && test -s conftest$ac_exeext &&
6714 $as_test_x conftest$ac_exeext; then
6715 ac_cv_search_opendir=$ac_res
6717 echo "$as_me: failed program was:" >&5
6718 sed 's/^/| /' conftest.$ac_ext >&5
6723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6725 if test "${ac_cv_search_opendir+set}" = set; then
6729 if test "${ac_cv_search_opendir+set}" = set; then
6732 ac_cv_search_opendir=no
6735 LIBS=$ac_func_search_save_LIBS
6737 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6738 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
6739 ac_res=$ac_cv_search_opendir
6740 if test "$ac_res" != no; then
6741 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6746 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
6747 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
6748 if test "${ac_cv_search_opendir+set}" = set; then
6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6751 ac_func_search_save_LIBS=$LIBS
6752 cat >conftest.$ac_ext <<_ACEOF
6755 cat confdefs.h >>conftest.$ac_ext
6756 cat >>conftest.$ac_ext <<_ACEOF
6757 /* end confdefs.h. */
6759 /* Override any GCC internal prototype to avoid an error.
6760 Use char because int might match the return type of a GCC
6761 builtin and then its argument prototype would still apply. */
6774 for ac_lib in '' x; do
6775 if test -z "$ac_lib"; then
6776 ac_res="none required"
6779 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6781 rm -f conftest.$ac_objext conftest$ac_exeext
6782 if { (ac_try="$ac_link"
6784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6785 *) ac_try_echo
=$ac_try;;
6787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6788 (eval "$ac_link") 2>conftest.er1
6790 grep -v '^ *+' conftest.er1
>conftest.err
6792 cat conftest.err
>&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); } && {
6795 test -z "$ac_c_werror_flag" ||
6796 test ! -s conftest.err
6797 } && test -s conftest
$ac_exeext &&
6798 $as_test_x conftest
$ac_exeext; then
6799 ac_cv_search_opendir
=$ac_res
6801 echo "$as_me: failed program was:" >&5
6802 sed 's/^/| /' conftest.
$ac_ext >&5
6807 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6809 if test "${ac_cv_search_opendir+set}" = set; then
6813 if test "${ac_cv_search_opendir+set}" = set; then
6816 ac_cv_search_opendir
=no
6819 LIBS
=$ac_func_search_save_LIBS
6821 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6822 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
6823 ac_res
=$ac_cv_search_opendir
6824 if test "$ac_res" != no
; then
6825 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6831 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6832 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6833 if test "${ac_cv_header_stdc+set}" = set; then
6834 echo $ECHO_N "(cached) $ECHO_C" >&6
6836 cat >conftest.
$ac_ext <<_ACEOF
6839 cat confdefs.h
>>conftest.
$ac_ext
6840 cat >>conftest.
$ac_ext <<_ACEOF
6841 /* end confdefs.h. */
6855 rm -f conftest.
$ac_objext
6856 if { (ac_try
="$ac_compile"
6858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6859 *) ac_try_echo=$ac_try;;
6861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6862 (eval "$ac_compile") 2>conftest.er1
6864 grep -v '^ *+' conftest.er1 >conftest.err
6866 cat conftest.err >&5
6867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); } && {
6869 test -z "$ac_c_werror_flag" ||
6870 test ! -s conftest.err
6871 } && test -s conftest.$ac_objext; then
6872 ac_cv_header_stdc=yes
6874 echo "$as_me: failed program was:" >&5
6875 sed 's/^/| /' conftest.$ac_ext >&5
6877 ac_cv_header_stdc=no
6880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6882 if test $ac_cv_header_stdc = yes; then
6883 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6884 cat >conftest.$ac_ext <<_ACEOF
6887 cat confdefs.h >>conftest.$ac_ext
6888 cat >>conftest.$ac_ext <<_ACEOF
6889 /* end confdefs.h. */
6893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6894 $EGREP "memchr" >/dev/null 2>&1; then
6897 ac_cv_header_stdc=no
6903 if test $ac_cv_header_stdc = yes; then
6904 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6905 cat >conftest.$ac_ext <<_ACEOF
6908 cat confdefs.h >>conftest.$ac_ext
6909 cat >>conftest.$ac_ext <<_ACEOF
6910 /* end confdefs.h. */
6914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6915 $EGREP "free" >/dev/null 2>&1; then
6918 ac_cv_header_stdc=no
6924 if test $ac_cv_header_stdc = yes; then
6925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6926 if test "$cross_compiling" = yes; then
6929 cat >conftest.$ac_ext <<_ACEOF
6932 cat confdefs.h >>conftest.$ac_ext
6933 cat >>conftest.$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6937 #if ((' ' & 0x0FF) == 0x020)
6938 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6939 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6941 # define ISLOWER(c) \
6942 (('a' <= (c) && (c) <= 'i') \
6943 || ('j' <= (c) && (c) <= 'r') \
6944 || ('s' <= (c) && (c) <= 'z'))
6945 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6948 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6953 for (i = 0; i < 256; i++)
6954 if (XOR (islower (i), ISLOWER (i))
6955 || toupper (i) != TOUPPER (i))
6960 rm -f conftest$ac_exeext
6961 if { (ac_try="$ac_link"
6963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6964 *) ac_try_echo
=$ac_try;;
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_link") 2>&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6971 { (case "(($ac_try" in
6972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6973 *) ac_try_echo=$ac_try;;
6975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6976 (eval "$ac_try") 2>&5
6978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; }; then
6982 echo "$as_me: program exited with status $ac_status" >&5
6983 echo "$as_me: failed program was:" >&5
6984 sed 's/^/| /' conftest.$ac_ext >&5
6987 ac_cv_header_stdc=no
6989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6995 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6996 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6997 if test $ac_cv_header_stdc = yes; then
6999 cat >>confdefs.h <<\_ACEOF
7000 #define STDC_HEADERS 1
7011 for ac_header in fcntl.h sys/ioctl.h sys/time.h unistd.h sys/io.h errno.h
7013 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7014 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7018 echo $ECHO_N "(cached) $ECHO_C" >&6
7020 ac_res=`eval echo '${'$as_ac_Header'}'`
7021 { echo "$as_me:$LINENO: result: $ac_res" >&5
7022 echo "${ECHO_T}$ac_res" >&6; }
7024 # Is the header compilable?
7025 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7026 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7027 cat >conftest.$ac_ext <<_ACEOF
7030 cat confdefs.h >>conftest.$ac_ext
7031 cat >>conftest.$ac_ext <<_ACEOF
7032 /* end confdefs.h. */
7033 $ac_includes_default
7034 #include <$ac_header>
7036 rm -f conftest.$ac_objext
7037 if { (ac_try="$ac_compile"
7039 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7040 *) ac_try_echo
=$ac_try;;
7042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7043 (eval "$ac_compile") 2>conftest.er1
7045 grep -v '^ *+' conftest.er1
>conftest.err
7047 cat conftest.err
>&5
7048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 (exit $ac_status); } && {
7050 test -z "$ac_c_werror_flag" ||
7051 test ! -s conftest.err
7052 } && test -s conftest.
$ac_objext; then
7053 ac_header_compiler
=yes
7055 echo "$as_me: failed program was:" >&5
7056 sed 's/^/| /' conftest.
$ac_ext >&5
7058 ac_header_compiler
=no
7061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7062 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7063 echo "${ECHO_T}$ac_header_compiler" >&6; }
7065 # Is the header present?
7066 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7068 cat >conftest.
$ac_ext <<_ACEOF
7071 cat confdefs.h
>>conftest.
$ac_ext
7072 cat >>conftest.
$ac_ext <<_ACEOF
7073 /* end confdefs.h. */
7074 #include <$ac_header>
7076 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7079 *) ac_try_echo=$ac_try;;
7081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7084 grep -v '^ *+' conftest.er1 >conftest.err
7086 cat conftest.err >&5
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); } >/dev/null && {
7089 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7090 test ! -s conftest.err
7092 ac_header_preproc=yes
7094 echo "$as_me: failed program was:" >&5
7095 sed 's/^/| /' conftest.$ac_ext >&5
7097 ac_header_preproc=no
7100 rm -f conftest.err conftest.$ac_ext
7101 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7102 echo "${ECHO_T}$ac_header_preproc" >&6; }
7104 # So? What about this header?
7105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7110 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7111 ac_header_preproc=yes
7114 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7115 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7116 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7117 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7118 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7119 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7120 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7121 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7124 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7125 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7127 ## ------------------------------------------- ##
7128 ## Report this to lcdproc@lists.omnipotent.net ##
7129 ## ------------------------------------------- ##
7131 ) | sed "s/^/$as_me: WARNING: /" >&2
7134 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7139 eval "$as_ac_Header=\$ac_header_preproc"
7141 ac_res=`eval echo '${'$as_ac_Header'}'`
7142 { echo "$as_me:$LINENO: result: $ac_res" >&5
7143 echo "${ECHO_T}$ac_res" >&6; }
7146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7147 cat >>confdefs.h <<_ACEOF
7148 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7159 for ac_header in limits.h kvm.h sys/param.h sys/dkstat.h
7161 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7162 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7163 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7165 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7166 echo $ECHO_N "(cached) $ECHO_C" >&6
7168 ac_res=`eval echo '${'$as_ac_Header'}'`
7169 { echo "$as_me:$LINENO: result: $ac_res" >&5
7170 echo "${ECHO_T}$ac_res" >&6; }
7172 # Is the header compilable?
7173 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7175 cat >conftest.$ac_ext <<_ACEOF
7178 cat confdefs.h >>conftest.$ac_ext
7179 cat >>conftest.$ac_ext <<_ACEOF
7180 /* end confdefs.h. */
7181 $ac_includes_default
7182 #include <$ac_header>
7184 rm -f conftest.$ac_objext
7185 if { (ac_try="$ac_compile"
7187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7188 *) ac_try_echo
=$ac_try;;
7190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7191 (eval "$ac_compile") 2>conftest.er1
7193 grep -v '^ *+' conftest.er1
>conftest.err
7195 cat conftest.err
>&5
7196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); } && {
7198 test -z "$ac_c_werror_flag" ||
7199 test ! -s conftest.err
7200 } && test -s conftest.
$ac_objext; then
7201 ac_header_compiler
=yes
7203 echo "$as_me: failed program was:" >&5
7204 sed 's/^/| /' conftest.
$ac_ext >&5
7206 ac_header_compiler
=no
7209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7210 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7211 echo "${ECHO_T}$ac_header_compiler" >&6; }
7213 # Is the header present?
7214 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7215 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7216 cat >conftest.
$ac_ext <<_ACEOF
7219 cat confdefs.h
>>conftest.
$ac_ext
7220 cat >>conftest.
$ac_ext <<_ACEOF
7221 /* end confdefs.h. */
7222 #include <$ac_header>
7224 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7227 *) ac_try_echo=$ac_try;;
7229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7232 grep -v '^ *+' conftest.er1 >conftest.err
7234 cat conftest.err >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); } >/dev/null && {
7237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7238 test ! -s conftest.err
7240 ac_header_preproc=yes
7242 echo "$as_me: failed program was:" >&5
7243 sed 's/^/| /' conftest.$ac_ext >&5
7245 ac_header_preproc=no
7248 rm -f conftest.err conftest.$ac_ext
7249 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7250 echo "${ECHO_T}$ac_header_preproc" >&6; }
7252 # So? What about this header?
7253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7259 ac_header_preproc=yes
7262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7275 ## ------------------------------------------- ##
7276 ## Report this to lcdproc@lists.omnipotent.net ##
7277 ## ------------------------------------------- ##
7279 ) | sed "s/^/$as_me: WARNING: /" >&2
7282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7285 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 eval "$as_ac_Header=\$ac_header_preproc"
7289 ac_res=`eval echo '${'$as_ac_Header'}'`
7290 { echo "$as_me:$LINENO: result: $ac_res" >&5
7291 echo "${ECHO_T}$ac_res" >&6; }
7294 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7295 cat >>confdefs.h <<_ACEOF
7296 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7305 for ac_header in sys/sysctl.h
7307 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7308 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7311 echo $ECHO_N "(cached) $ECHO_C" >&6
7313 cat >conftest.$ac_ext <<_ACEOF
7316 cat confdefs.h >>conftest.$ac_ext
7317 cat >>conftest.$ac_ext <<_ACEOF
7318 /* end confdefs.h. */
7319 #if HAVE_SYS_PARAM_H
7320 # include <sys/param.h>
7324 #include <$ac_header>
7326 rm -f conftest.$ac_objext
7327 if { (ac_try="$ac_compile"
7329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7330 *) ac_try_echo
=$ac_try;;
7332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7333 (eval "$ac_compile") 2>conftest.er1
7335 grep -v '^ *+' conftest.er1
>conftest.err
7337 cat conftest.err
>&5
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); } && {
7340 test -z "$ac_c_werror_flag" ||
7341 test ! -s conftest.err
7342 } && test -s conftest.
$ac_objext; then
7343 eval "$as_ac_Header=yes"
7345 echo "$as_me: failed program was:" >&5
7346 sed 's/^/| /' conftest.
$ac_ext >&5
7348 eval "$as_ac_Header=no"
7351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7353 ac_res
=`eval echo '${'$as_ac_Header'}'`
7354 { echo "$as_me:$LINENO: result: $ac_res" >&5
7355 echo "${ECHO_T}$ac_res" >&6; }
7356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7357 cat >>confdefs.h
<<_ACEOF
7358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7367 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7368 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
7369 if test "${ac_cv_c_const+set}" = set; then
7370 echo $ECHO_N "(cached) $ECHO_C" >&6
7372 cat >conftest.
$ac_ext <<_ACEOF
7375 cat confdefs.h
>>conftest.
$ac_ext
7376 cat >>conftest.
$ac_ext <<_ACEOF
7377 /* end confdefs.h. */
7382 /* FIXME: Include the comments suggested by Paul. */
7384 /* Ultrix mips cc rejects this. */
7385 typedef int charset[2];
7387 /* SunOS 4.1.1 cc rejects this. */
7388 char const *const *pcpcc;
7390 /* NEC SVR4.0.2 mips cc rejects this. */
7391 struct point {int x, y;};
7392 static struct point const zero = {0,0};
7393 /* AIX XL C 1.02.0.0 rejects this.
7394 It does not let you subtract one const X* pointer from another in
7395 an arm of an if-expression whose if-part is not a constant
7397 const char *g = "string";
7398 pcpcc = &g + (g ? g-g : 0);
7399 /* HPUX 7.0 cc rejects these. */
7401 ppc = (char**) pcpcc;
7402 pcpcc = (char const *const *) ppc;
7403 { /* SCO 3.2v4 cc rejects this. */
7405 char const *s = 0 ? (char *) 0 : (char const *) 0;
7410 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7412 const int *foo = &x[0];
7415 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7416 typedef const int *iptr;
7420 { /* AIX XL C 1.02.0.0 rejects this saying
7421 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7422 struct s { int j; const int *ap[3]; };
7423 struct s *b; b->j = 5;
7425 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7429 return !cs[0] && !zero.x;
7436 rm -f conftest.
$ac_objext
7437 if { (ac_try
="$ac_compile"
7439 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7440 *) ac_try_echo=$ac_try;;
7442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7443 (eval "$ac_compile") 2>conftest.er1
7445 grep -v '^ *+' conftest.er1 >conftest.err
7447 cat conftest.err >&5
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); } && {
7450 test -z "$ac_c_werror_flag" ||
7451 test ! -s conftest.err
7452 } && test -s conftest.$ac_objext; then
7455 echo "$as_me: failed program was:" >&5
7456 sed 's/^/| /' conftest.$ac_ext >&5
7461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7463 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7464 echo "${ECHO_T}$ac_cv_c_const" >&6; }
7465 if test $ac_cv_c_const = no; then
7467 cat >>confdefs.h <<\_ACEOF
7473 { echo "$as_me:$LINENO: checking for inline" >&5
7474 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
7475 if test "${ac_cv_c_inline+set}" = set; then
7476 echo $ECHO_N "(cached) $ECHO_C" >&6
7479 for ac_kw in inline __inline__ __inline; do
7480 cat >conftest.$ac_ext <<_ACEOF
7483 cat confdefs.h >>conftest.$ac_ext
7484 cat >>conftest.$ac_ext <<_ACEOF
7485 /* end confdefs.h. */
7488 static $ac_kw foo_t static_foo () {return 0; }
7489 $ac_kw foo_t foo () {return 0; }
7493 rm -f conftest.$ac_objext
7494 if { (ac_try="$ac_compile"
7496 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7497 *) ac_try_echo
=$ac_try;;
7499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7500 (eval "$ac_compile") 2>conftest.er1
7502 grep -v '^ *+' conftest.er1
>conftest.err
7504 cat conftest.err
>&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); } && {
7507 test -z "$ac_c_werror_flag" ||
7508 test ! -s conftest.err
7509 } && test -s conftest.
$ac_objext; then
7510 ac_cv_c_inline
=$ac_kw
7512 echo "$as_me: failed program was:" >&5
7513 sed 's/^/| /' conftest.
$ac_ext >&5
7518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7519 test "$ac_cv_c_inline" != no
&& break
7523 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7524 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
7527 case $ac_cv_c_inline in
7530 case $ac_cv_c_inline in
7532 *) ac_val
=$ac_cv_c_inline;;
7534 cat >>confdefs.h
<<_ACEOF
7536 #define inline $ac_val
7542 { echo "$as_me:$LINENO: checking for size_t" >&5
7543 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7544 if test "${ac_cv_type_size_t+set}" = set; then
7545 echo $ECHO_N "(cached) $ECHO_C" >&6
7547 cat >conftest.
$ac_ext <<_ACEOF
7550 cat confdefs.h
>>conftest.
$ac_ext
7551 cat >>conftest.
$ac_ext <<_ACEOF
7552 /* end confdefs.h. */
7553 $ac_includes_default
7554 typedef size_t ac__type_new_;
7558 if ((ac__type_new_ *) 0)
7560 if (sizeof (ac__type_new_))
7566 rm -f conftest.
$ac_objext
7567 if { (ac_try
="$ac_compile"
7569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7570 *) ac_try_echo=$ac_try;;
7572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7573 (eval "$ac_compile") 2>conftest.er1
7575 grep -v '^ *+' conftest.er1 >conftest.err
7577 cat conftest.err >&5
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); } && {
7580 test -z "$ac_c_werror_flag" ||
7581 test ! -s conftest.err
7582 } && test -s conftest.$ac_objext; then
7583 ac_cv_type_size_t=yes
7585 echo "$as_me: failed program was:" >&5
7586 sed 's/^/| /' conftest.$ac_ext >&5
7588 ac_cv_type_size_t=no
7591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7593 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7594 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7595 if test $ac_cv_type_size_t = yes; then
7599 cat >>confdefs.h <<_ACEOF
7600 #define size_t unsigned int
7605 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7606 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
7607 if test "${ac_cv_header_time+set}" = set; then
7608 echo $ECHO_N "(cached) $ECHO_C" >&6
7610 cat >conftest.$ac_ext <<_ACEOF
7613 cat confdefs.h >>conftest.$ac_ext
7614 cat >>conftest.$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7616 #include <sys/types.h>
7617 #include <sys/time.h>
7623 if ((struct tm *) 0)
7629 rm -f conftest.$ac_objext
7630 if { (ac_try="$ac_compile"
7632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7633 *) ac_try_echo
=$ac_try;;
7635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7636 (eval "$ac_compile") 2>conftest.er1
7638 grep -v '^ *+' conftest.er1
>conftest.err
7640 cat conftest.err
>&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } && {
7643 test -z "$ac_c_werror_flag" ||
7644 test ! -s conftest.err
7645 } && test -s conftest.
$ac_objext; then
7646 ac_cv_header_time
=yes
7648 echo "$as_me: failed program was:" >&5
7649 sed 's/^/| /' conftest.
$ac_ext >&5
7651 ac_cv_header_time
=no
7654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7656 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7657 echo "${ECHO_T}$ac_cv_header_time" >&6; }
7658 if test $ac_cv_header_time = yes; then
7660 cat >>confdefs.h
<<\_ACEOF
7661 #define TIME_WITH_SYS_TIME 1
7666 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
7667 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
7668 if test "${ac_cv_struct_tm+set}" = set; then
7669 echo $ECHO_N "(cached) $ECHO_C" >&6
7671 cat >conftest.
$ac_ext <<_ACEOF
7674 cat confdefs.h
>>conftest.
$ac_ext
7675 cat >>conftest.
$ac_ext <<_ACEOF
7676 /* end confdefs.h. */
7677 #include <sys/types.h>
7684 int *p = &tm.tm_sec;
7690 rm -f conftest.
$ac_objext
7691 if { (ac_try
="$ac_compile"
7693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7694 *) ac_try_echo=$ac_try;;
7696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7697 (eval "$ac_compile") 2>conftest.er1
7699 grep -v '^ *+' conftest.er1 >conftest.err
7701 cat conftest.err >&5
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); } && {
7704 test -z "$ac_c_werror_flag" ||
7705 test ! -s conftest.err
7706 } && test -s conftest.$ac_objext; then
7707 ac_cv_struct_tm=time.h
7709 echo "$as_me: failed program was:" >&5
7710 sed 's/^/| /' conftest.$ac_ext >&5
7712 ac_cv_struct_tm=sys/time.h
7715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7717 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
7718 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
7719 if test $ac_cv_struct_tm = sys/time.h; then
7721 cat >>confdefs.h <<\_ACEOF
7722 #define TM_IN_SYS_TIME 1
7727 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7728 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7729 if test "${ac_cv_type_uid_t+set}" = set; then
7730 echo $ECHO_N "(cached) $ECHO_C" >&6
7732 cat >conftest.$ac_ext <<_ACEOF
7735 cat confdefs.h >>conftest.$ac_ext
7736 cat >>conftest.$ac_ext <<_ACEOF
7737 /* end confdefs.h. */
7738 #include <sys/types.h>
7741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7742 $EGREP "uid_t" >/dev/null 2>&1; then
7743 ac_cv_type_uid_t=yes
7750 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7751 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7752 if test $ac_cv_type_uid_t = no; then
7754 cat >>confdefs.h <<\_ACEOF
7759 cat >>confdefs.h <<\_ACEOF
7766 if test $ac_cv_c_compiler_gnu = yes; then
7767 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
7768 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
7769 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
7770 echo $ECHO_N "(cached) $ECHO_C" >&6
7772 ac_pattern="Autoconf.*'x'"
7773 cat >conftest.$ac_ext <<_ACEOF
7776 cat confdefs.h >>conftest.$ac_ext
7777 cat >>conftest.$ac_ext <<_ACEOF
7778 /* end confdefs.h. */
7782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7783 $EGREP "$ac_pattern" >/dev/null 2>&1; then
7784 ac_cv_prog_gcc_traditional=yes
7786 ac_cv_prog_gcc_traditional=no
7791 if test $ac_cv_prog_gcc_traditional = no; then
7792 cat >conftest.$ac_ext <<_ACEOF
7795 cat confdefs.h >>conftest.$ac_ext
7796 cat >>conftest.$ac_ext <<_ACEOF
7797 /* end confdefs.h. */
7801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7802 $EGREP "$ac_pattern" >/dev/null 2>&1; then
7803 ac_cv_prog_gcc_traditional=yes
7809 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
7810 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
7811 if test $ac_cv_prog_gcc_traditional = yes; then
7812 CC="$CC -traditional"
7816 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
7817 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
7818 if test "${ac_cv_type_signal+set}" = set; then
7819 echo $ECHO_N "(cached) $ECHO_C" >&6
7821 cat >conftest.$ac_ext <<_ACEOF
7824 cat confdefs.h >>conftest.$ac_ext
7825 cat >>conftest.$ac_ext <<_ACEOF
7826 /* end confdefs.h. */
7827 #include <sys/types.h>
7833 return *(signal (0, 0)) (0) == 1;
7838 rm -f conftest.$ac_objext
7839 if { (ac_try="$ac_compile"
7841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7842 *) ac_try_echo
=$ac_try;;
7844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7845 (eval "$ac_compile") 2>conftest.er1
7847 grep -v '^ *+' conftest.er1
>conftest.err
7849 cat conftest.err
>&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); } && {
7852 test -z "$ac_c_werror_flag" ||
7853 test ! -s conftest.err
7854 } && test -s conftest.
$ac_objext; then
7855 ac_cv_type_signal
=int
7857 echo "$as_me: failed program was:" >&5
7858 sed 's/^/| /' conftest.
$ac_ext >&5
7860 ac_cv_type_signal
=void
7863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7865 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
7866 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
7868 cat >>confdefs.h
<<_ACEOF
7869 #define RETSIGTYPE $ac_cv_type_signal
7881 for ac_func
in select socket strdup strerror strtol uname cfmakeraw snprintf
7883 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7884 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7886 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7887 echo $ECHO_N "(cached) $ECHO_C" >&6
7889 cat >conftest.
$ac_ext <<_ACEOF
7892 cat confdefs.h
>>conftest.
$ac_ext
7893 cat >>conftest.
$ac_ext <<_ACEOF
7894 /* end confdefs.h. */
7895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7897 #define $ac_func innocuous_$ac_func
7899 /* System header to define __stub macros and hopefully few prototypes,
7900 which can conflict with char $ac_func (); below.
7901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7902 <limits.h> exists even on freestanding compilers. */
7905 # include <limits.h>
7907 # include <assert.h>
7912 /* Override any GCC internal prototype to avoid an error.
7913 Use char because int might match the return type of a GCC
7914 builtin and then its argument prototype would still apply. */
7919 /* The GNU C library defines this for functions which it implements
7920 to always fail with ENOSYS. Some functions are actually named
7921 something starting with __ and the normal name is an alias. */
7922 #if defined __stub_$ac_func || defined __stub___$ac_func
7934 rm -f conftest.
$ac_objext conftest
$ac_exeext
7935 if { (ac_try
="$ac_link"
7937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7938 *) ac_try_echo=$ac_try;;
7940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7941 (eval "$ac_link") 2>conftest.er1
7943 grep -v '^ *+' conftest.er1 >conftest.err
7945 cat conftest.err >&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } && {
7948 test -z "$ac_c_werror_flag" ||
7949 test ! -s conftest.err
7950 } && test -s conftest$ac_exeext &&
7951 $as_test_x conftest$ac_exeext; then
7952 eval "$as_ac_var=yes"
7954 echo "$as_me: failed program was:" >&5
7955 sed 's/^/| /' conftest.$ac_ext >&5
7957 eval "$as_ac_var=no"
7960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7961 conftest$ac_exeext conftest.$ac_ext
7963 ac_res=`eval echo '${'$as_ac_var'}'`
7964 { echo "$as_me:$LINENO: result: $ac_res" >&5
7965 echo "${ECHO_T}$ac_res" >&6; }
7966 if test `eval echo '${'$as_ac_var'}'` = yes; then
7967 cat >>confdefs.h <<_ACEOF
7968 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7976 { echo "$as_me:$LINENO: checking for getopt_long" >&5
7977 echo $ECHO_N "checking for getopt_long... $ECHO_C" >&6; }
7978 if test "${ac_cv_func_getopt_long+set}" = set; then
7979 echo $ECHO_N "(cached) $ECHO_C" >&6
7981 cat >conftest.$ac_ext <<_ACEOF
7984 cat confdefs.h >>conftest.$ac_ext
7985 cat >>conftest.$ac_ext <<_ACEOF
7986 /* end confdefs.h. */
7987 /* Define getopt_long to an innocuous variant, in case <limits.h> declares getopt_long.
7988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7989 #define getopt_long innocuous_getopt_long
7991 /* System header to define __stub macros and hopefully few prototypes,
7992 which can conflict with char getopt_long (); below.
7993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7994 <limits.h> exists even on freestanding compilers. */
7997 # include <limits.h>
7999 # include <assert.h>
8004 /* Override any GCC internal prototype to avoid an error.
8005 Use char because int might match the return type of a GCC
8006 builtin and then its argument prototype would still apply. */
8010 char getopt_long ();
8011 /* The GNU C library defines this for functions which it implements
8012 to always fail with ENOSYS. Some functions are actually named
8013 something starting with __ and the normal name is an alias. */
8014 #if defined __stub_getopt_long || defined __stub___getopt_long
8021 return getopt_long ();
8026 rm -f conftest.$ac_objext conftest$ac_exeext
8027 if { (ac_try="$ac_link"
8029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8030 *) ac_try_echo
=$ac_try;;
8032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8033 (eval "$ac_link") 2>conftest.er1
8035 grep -v '^ *+' conftest.er1
>conftest.err
8037 cat conftest.err
>&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } && {
8040 test -z "$ac_c_werror_flag" ||
8041 test ! -s conftest.err
8042 } && test -s conftest
$ac_exeext &&
8043 $as_test_x conftest
$ac_exeext; then
8044 ac_cv_func_getopt_long
=yes
8046 echo "$as_me: failed program was:" >&5
8047 sed 's/^/| /' conftest.
$ac_ext >&5
8049 ac_cv_func_getopt_long
=no
8052 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8053 conftest
$ac_exeext conftest.
$ac_ext
8055 { echo "$as_me:$LINENO: result: $ac_cv_func_getopt_long" >&5
8056 echo "${ECHO_T}$ac_cv_func_getopt_long" >&6; }
8057 if test $ac_cv_func_getopt_long = yes; then
8060 # Check whether --with-included-getopt was given.
8061 if test "${with_included_getopt+set}" = set; then
8062 withval
=$with_included_getopt; with_getopt
=$withval
8067 if test "x$with_getopt" = xyes
; then
8068 case " $LIBOBJS " in
8069 *" getopt.$ac_objext "* ) ;;
8070 *) LIBOBJS
="$LIBOBJS getopt.$ac_objext"
8074 case " $LIBOBJS " in
8075 *" getopt1.$ac_objext "* ) ;;
8076 *) LIBOBJS
="$LIBOBJS getopt1.$ac_objext"
8084 case " $LIBOBJS " in
8085 *" getopt.$ac_objext "* ) ;;
8086 *) LIBOBJS
="$LIBOBJS getopt.$ac_objext"
8090 case " $LIBOBJS " in
8091 *" getopt1.$ac_objext "* ) ;;
8092 *) LIBOBJS
="$LIBOBJS getopt1.$ac_objext"
8102 { echo "$as_me:$LINENO: checking for your mounted filesystem table" >&5
8103 echo $ECHO_N "checking for your mounted filesystem table... $ECHO_C" >&6; }
8104 if test "${ac_cv_mtab_file+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8108 if test -f "/etc/mtab"; then
8109 ac_cv_mtab_file
=/etc
/mtab
8111 if test -f "/etc/mnttab"; then
8112 ac_cv_mtab_file
=/etc
/mnttab
8114 if test -f "/etc/fstab"; then
8115 ac_cv_mtab_file
=/etc
/fstab
8121 { echo "$as_me:$LINENO: result: $ac_cv_mtab_file" >&5
8122 echo "${ECHO_T}$ac_cv_mtab_file" >&6; }
8123 if test ! -z "$ac_cv_mtab_file"; then
8125 cat >>confdefs.h
<<_ACEOF
8126 #define MTAB_FILE "$ac_cv_mtab_file"
8137 for ac_header
in fcntl.h sys
/dustat.h sys
/param.h sys
/statfs.h sys
/fstyp.h
8139 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8140 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8141 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8143 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8144 echo $ECHO_N "(cached) $ECHO_C" >&6
8146 ac_res
=`eval echo '${'$as_ac_Header'}'`
8147 { echo "$as_me:$LINENO: result: $ac_res" >&5
8148 echo "${ECHO_T}$ac_res" >&6; }
8150 # Is the header compilable?
8151 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8153 cat >conftest.
$ac_ext <<_ACEOF
8156 cat confdefs.h
>>conftest.
$ac_ext
8157 cat >>conftest.
$ac_ext <<_ACEOF
8158 /* end confdefs.h. */
8159 $ac_includes_default
8160 #include <$ac_header>
8162 rm -f conftest.
$ac_objext
8163 if { (ac_try
="$ac_compile"
8165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8166 *) ac_try_echo=$ac_try;;
8168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8169 (eval "$ac_compile") 2>conftest.er1
8171 grep -v '^ *+' conftest.er1 >conftest.err
8173 cat conftest.err >&5
8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); } && {
8176 test -z "$ac_c_werror_flag" ||
8177 test ! -s conftest.err
8178 } && test -s conftest.$ac_objext; then
8179 ac_header_compiler=yes
8181 echo "$as_me: failed program was:" >&5
8182 sed 's/^/| /' conftest.$ac_ext >&5
8184 ac_header_compiler=no
8187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8188 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8189 echo "${ECHO_T}$ac_header_compiler" >&6; }
8191 # Is the header present?
8192 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8194 cat >conftest.$ac_ext <<_ACEOF
8197 cat confdefs.h >>conftest.$ac_ext
8198 cat >>conftest.$ac_ext <<_ACEOF
8199 /* end confdefs.h. */
8200 #include <$ac_header>
8202 if { (ac_try="$ac_cpp conftest.$ac_ext"
8204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8205 *) ac_try_echo
=$ac_try;;
8207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8210 grep -v '^ *+' conftest.er1
>conftest.err
8212 cat conftest.err
>&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); } >/dev
/null
&& {
8215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8216 test ! -s conftest.err
8218 ac_header_preproc
=yes
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.
$ac_ext >&5
8223 ac_header_preproc
=no
8226 rm -f conftest.err conftest.
$ac_ext
8227 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8228 echo "${ECHO_T}$ac_header_preproc" >&6; }
8230 # So? What about this header?
8231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8237 ac_header_preproc
=yes
8240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8253 ## ------------------------------------------- ##
8254 ## Report this to lcdproc@lists.omnipotent.net ##
8255 ## ------------------------------------------- ##
8257 ) |
sed "s/^/$as_me: WARNING: /" >&2
8260 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8262 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8263 echo $ECHO_N "(cached) $ECHO_C" >&6
8265 eval "$as_ac_Header=\$ac_header_preproc"
8267 ac_res
=`eval echo '${'$as_ac_Header'}'`
8268 { echo "$as_me:$LINENO: result: $ac_res" >&5
8269 echo "${ECHO_T}$ac_res" >&6; }
8272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8273 cat >>confdefs.h
<<_ACEOF
8274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8286 for ac_header
in mnttab.h mntent.h utime.h sys
/statvfs.h sys
/vfs.h
8288 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8289 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8290 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8292 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8293 echo $ECHO_N "(cached) $ECHO_C" >&6
8295 ac_res
=`eval echo '${'$as_ac_Header'}'`
8296 { echo "$as_me:$LINENO: result: $ac_res" >&5
8297 echo "${ECHO_T}$ac_res" >&6; }
8299 # Is the header compilable?
8300 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8301 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8302 cat >conftest.
$ac_ext <<_ACEOF
8305 cat confdefs.h
>>conftest.
$ac_ext
8306 cat >>conftest.
$ac_ext <<_ACEOF
8307 /* end confdefs.h. */
8308 $ac_includes_default
8309 #include <$ac_header>
8311 rm -f conftest.
$ac_objext
8312 if { (ac_try
="$ac_compile"
8314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8315 *) ac_try_echo=$ac_try;;
8317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8318 (eval "$ac_compile") 2>conftest.er1
8320 grep -v '^ *+' conftest.er1 >conftest.err
8322 cat conftest.err >&5
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); } && {
8325 test -z "$ac_c_werror_flag" ||
8326 test ! -s conftest.err
8327 } && test -s conftest.$ac_objext; then
8328 ac_header_compiler=yes
8330 echo "$as_me: failed program was:" >&5
8331 sed 's/^/| /' conftest.$ac_ext >&5
8333 ac_header_compiler=no
8336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8337 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8338 echo "${ECHO_T}$ac_header_compiler" >&6; }
8340 # Is the header present?
8341 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8343 cat >conftest.$ac_ext <<_ACEOF
8346 cat confdefs.h >>conftest.$ac_ext
8347 cat >>conftest.$ac_ext <<_ACEOF
8348 /* end confdefs.h. */
8349 #include <$ac_header>
8351 if { (ac_try="$ac_cpp conftest.$ac_ext"
8353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8354 *) ac_try_echo
=$ac_try;;
8356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8357 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8359 grep -v '^ *+' conftest.er1
>conftest.err
8361 cat conftest.err
>&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); } >/dev
/null
&& {
8364 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8365 test ! -s conftest.err
8367 ac_header_preproc
=yes
8369 echo "$as_me: failed program was:" >&5
8370 sed 's/^/| /' conftest.
$ac_ext >&5
8372 ac_header_preproc
=no
8375 rm -f conftest.err conftest.
$ac_ext
8376 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8377 echo "${ECHO_T}$ac_header_preproc" >&6; }
8379 # So? What about this header?
8380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8382 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8383 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8385 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8386 ac_header_preproc
=yes
8389 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8390 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8391 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8392 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8393 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8394 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8395 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8396 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8398 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8399 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8400 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8402 ## ------------------------------------------- ##
8403 ## Report this to lcdproc@lists.omnipotent.net ##
8404 ## ------------------------------------------- ##
8406 ) |
sed "s/^/$as_me: WARNING: /" >&2
8409 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8411 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8414 eval "$as_ac_Header=\$ac_header_preproc"
8416 ac_res
=`eval echo '${'$as_ac_Header'}'`
8417 { echo "$as_me:$LINENO: result: $ac_res" >&5
8418 echo "${ECHO_T}$ac_res" >&6; }
8421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8422 cat >>confdefs.h
<<_ACEOF
8423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8432 for ac_header
in sys
/filsys.h sys
/fs_types.h
8434 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8435 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8436 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8438 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8439 echo $ECHO_N "(cached) $ECHO_C" >&6
8441 ac_res
=`eval echo '${'$as_ac_Header'}'`
8442 { echo "$as_me:$LINENO: result: $ac_res" >&5
8443 echo "${ECHO_T}$ac_res" >&6; }
8445 # Is the header compilable?
8446 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8447 echo $ECHO_N "checking $ac_header usability... $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. */
8454 $ac_includes_default
8455 #include <$ac_header>
8457 rm -f conftest.
$ac_objext
8458 if { (ac_try
="$ac_compile"
8460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8461 *) ac_try_echo=$ac_try;;
8463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8464 (eval "$ac_compile") 2>conftest.er1
8466 grep -v '^ *+' conftest.er1 >conftest.err
8468 cat conftest.err >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); } && {
8471 test -z "$ac_c_werror_flag" ||
8472 test ! -s conftest.err
8473 } && test -s conftest.$ac_objext; then
8474 ac_header_compiler=yes
8476 echo "$as_me: failed program was:" >&5
8477 sed 's/^/| /' conftest.$ac_ext >&5
8479 ac_header_compiler=no
8482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8483 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8484 echo "${ECHO_T}$ac_header_compiler" >&6; }
8486 # Is the header present?
8487 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8489 cat >conftest.$ac_ext <<_ACEOF
8492 cat confdefs.h >>conftest.$ac_ext
8493 cat >>conftest.$ac_ext <<_ACEOF
8494 /* end confdefs.h. */
8495 #include <$ac_header>
8497 if { (ac_try="$ac_cpp conftest.$ac_ext"
8499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8500 *) ac_try_echo
=$ac_try;;
8502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8503 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8505 grep -v '^ *+' conftest.er1
>conftest.err
8507 cat conftest.err
>&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); } >/dev
/null
&& {
8510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8511 test ! -s conftest.err
8513 ac_header_preproc
=yes
8515 echo "$as_me: failed program was:" >&5
8516 sed 's/^/| /' conftest.
$ac_ext >&5
8518 ac_header_preproc
=no
8521 rm -f conftest.err conftest.
$ac_ext
8522 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8523 echo "${ECHO_T}$ac_header_preproc" >&6; }
8525 # So? What about this header?
8526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8528 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8529 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8531 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8532 ac_header_preproc
=yes
8535 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8536 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8537 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8538 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8539 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8540 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8541 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8542 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8545 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8546 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8548 ## ------------------------------------------- ##
8549 ## Report this to lcdproc@lists.omnipotent.net ##
8550 ## ------------------------------------------- ##
8552 ) |
sed "s/^/$as_me: WARNING: /" >&2
8555 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8557 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8558 echo $ECHO_N "(cached) $ECHO_C" >&6
8560 eval "$as_ac_Header=\$ac_header_preproc"
8562 ac_res
=`eval echo '${'$as_ac_Header'}'`
8563 { echo "$as_me:$LINENO: result: $ac_res" >&5
8564 echo "${ECHO_T}$ac_res" >&6; }
8567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8568 cat >>confdefs.h
<<_ACEOF
8569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8577 for ac_header
in sys
/mount.h
8579 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8580 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8582 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8583 echo $ECHO_N "(cached) $ECHO_C" >&6
8585 cat >conftest.
$ac_ext <<_ACEOF
8588 cat confdefs.h
>>conftest.
$ac_ext
8589 cat >>conftest.
$ac_ext <<_ACEOF
8590 /* end confdefs.h. */
8591 #if HAVE_SYS_PARAM_H
8592 #include <sys/param.h>
8596 #include <$ac_header>
8598 rm -f conftest.
$ac_objext
8599 if { (ac_try
="$ac_compile"
8601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8602 *) ac_try_echo=$ac_try;;
8604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8605 (eval "$ac_compile") 2>conftest.er1
8607 grep -v '^ *+' conftest.er1 >conftest.err
8609 cat conftest.err >&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); } && {
8612 test -z "$ac_c_werror_flag" ||
8613 test ! -s conftest.err
8614 } && test -s conftest.$ac_objext; then
8615 eval "$as_ac_Header=yes"
8617 echo "$as_me: failed program was:" >&5
8618 sed 's/^/| /' conftest.$ac_ext >&5
8620 eval "$as_ac_Header=no"
8623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8625 ac_res=`eval echo '${'$as_ac_Header'}'`
8626 { echo "$as_me:$LINENO: result: $ac_res" >&5
8627 echo "${ECHO_T}$ac_res" >&6; }
8628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8629 cat >>confdefs.h <<_ACEOF
8630 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8638 for ac_func in getmntinfo
8640 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8641 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8643 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8644 echo $ECHO_N "(cached) $ECHO_C" >&6
8646 cat >conftest.$ac_ext <<_ACEOF
8649 cat confdefs.h >>conftest.$ac_ext
8650 cat >>conftest.$ac_ext <<_ACEOF
8651 /* end confdefs.h. */
8652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8654 #define $ac_func innocuous_$ac_func
8656 /* System header to define __stub macros and hopefully few prototypes,
8657 which can conflict with char $ac_func (); below.
8658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8659 <limits.h> exists even on freestanding compilers. */
8662 # include <limits.h>
8664 # include <assert.h>
8669 /* Override any GCC internal prototype to avoid an error.
8670 Use char because int might match the return type of a GCC
8671 builtin and then its argument prototype would still apply. */
8676 /* The GNU C library defines this for functions which it implements
8677 to always fail with ENOSYS. Some functions are actually named
8678 something starting with __ and the normal name is an alias. */
8679 #if defined __stub_$ac_func || defined __stub___$ac_func
8691 rm -f conftest.$ac_objext conftest$ac_exeext
8692 if { (ac_try="$ac_link"
8694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8695 *) ac_try_echo
=$ac_try;;
8697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8698 (eval "$ac_link") 2>conftest.er1
8700 grep -v '^ *+' conftest.er1
>conftest.err
8702 cat conftest.err
>&5
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); } && {
8705 test -z "$ac_c_werror_flag" ||
8706 test ! -s conftest.err
8707 } && test -s conftest
$ac_exeext &&
8708 $as_test_x conftest
$ac_exeext; then
8709 eval "$as_ac_var=yes"
8711 echo "$as_me: failed program was:" >&5
8712 sed 's/^/| /' conftest.
$ac_ext >&5
8714 eval "$as_ac_var=no"
8717 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8718 conftest
$ac_exeext conftest.
$ac_ext
8720 ac_res
=`eval echo '${'$as_ac_var'}'`
8721 { echo "$as_me:$LINENO: result: $ac_res" >&5
8722 echo "${ECHO_T}$ac_res" >&6; }
8723 if test `eval echo '${'$as_ac_var'}'` = yes; then
8724 cat >>confdefs.h
<<_ACEOF
8725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8732 { echo "$as_me:$LINENO: checking how to get filesystem space usage..." >&5
8733 echo "$as_me: checking how to get filesystem space usage..." >&6;}
8736 # Here we'll compromise a little (and perform only the link test)
8737 # since it seems there are no variants of the statvfs function.
8738 if test $space = no
; then
8741 for ac_func
in statvfs
8743 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8746 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8747 echo $ECHO_N "(cached) $ECHO_C" >&6
8749 cat >conftest.
$ac_ext <<_ACEOF
8752 cat confdefs.h
>>conftest.
$ac_ext
8753 cat >>conftest.
$ac_ext <<_ACEOF
8754 /* end confdefs.h. */
8755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8757 #define $ac_func innocuous_$ac_func
8759 /* System header to define __stub macros and hopefully few prototypes,
8760 which can conflict with char $ac_func (); below.
8761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8762 <limits.h> exists even on freestanding compilers. */
8765 # include <limits.h>
8767 # include <assert.h>
8772 /* Override any GCC internal prototype to avoid an error.
8773 Use char because int might match the return type of a GCC
8774 builtin and then its argument prototype would still apply. */
8779 /* The GNU C library defines this for functions which it implements
8780 to always fail with ENOSYS. Some functions are actually named
8781 something starting with __ and the normal name is an alias. */
8782 #if defined __stub_$ac_func || defined __stub___$ac_func
8794 rm -f conftest.
$ac_objext conftest
$ac_exeext
8795 if { (ac_try
="$ac_link"
8797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8798 *) ac_try_echo=$ac_try;;
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_link") 2>conftest.er1
8803 grep -v '^ *+' conftest.er1 >conftest.err
8805 cat conftest.err >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); } && {
8808 test -z "$ac_c_werror_flag" ||
8809 test ! -s conftest.err
8810 } && test -s conftest$ac_exeext &&
8811 $as_test_x conftest$ac_exeext; then
8812 eval "$as_ac_var=yes"
8814 echo "$as_me: failed program was:" >&5
8815 sed 's/^/| /' conftest.$ac_ext >&5
8817 eval "$as_ac_var=no"
8820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8821 conftest$ac_exeext conftest.$ac_ext
8823 ac_res=`eval echo '${'$as_ac_var'}'`
8824 { echo "$as_me:$LINENO: result: $ac_res" >&5
8825 echo "${ECHO_T}$ac_res" >&6; }
8826 if test `eval echo '${'$as_ac_var'}'` = yes; then
8827 cat >>confdefs.h <<_ACEOF
8828 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8834 if test $ac_cv_func_statvfs = yes; then
8837 cat >>confdefs.h <<\_ACEOF
8838 #define STAT_STATVFS 1
8844 if test $space = no; then
8845 # DEC Alpha running OSF/1
8846 { echo "$as_me:$LINENO: checking for 3-argument statfs function (DEC OSF/1)" >&5
8847 echo $ECHO_N "checking for 3-argument statfs function (DEC OSF/1)... $ECHO_C" >&6; }
8848 if test "${fu_cv_sys_stat_statfs3_osf1+set}" = set; then
8849 echo $ECHO_N "(cached) $ECHO_C" >&6
8851 if test "$cross_compiling" = yes; then
8852 fu_cv_sys_stat_statfs3_osf1=no
8854 cat >conftest.$ac_ext <<_ACEOF
8857 cat confdefs.h >>conftest.$ac_ext
8858 cat >>conftest.$ac_ext <<_ACEOF
8859 /* end confdefs.h. */
8861 #include <sys/param.h>
8862 #include <sys/types.h>
8863 #include <sys/mount.h>
8868 exit (statfs (".", &fsd, sizeof (struct statfs)));
8871 rm -f conftest$ac_exeext
8872 if { (ac_try="$ac_link"
8874 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8875 *) ac_try_echo
=$ac_try;;
8877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8878 (eval "$ac_link") 2>&5
8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8882 { (case "(($ac_try" in
8883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8884 *) ac_try_echo=$ac_try;;
8886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8887 (eval "$ac_try") 2>&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; }; then
8891 fu_cv_sys_stat_statfs3_osf1=yes
8893 echo "$as_me: program exited with status $ac_status" >&5
8894 echo "$as_me: failed program was:" >&5
8895 sed 's/^/| /' conftest.$ac_ext >&5
8898 fu_cv_sys_stat_statfs3_osf1=no
8900 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8906 { echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs3_osf1" >&5
8907 echo "${ECHO_T}$fu_cv_sys_stat_statfs3_osf1" >&6; }
8908 if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
8911 cat >>confdefs.h <<\_ACEOF
8912 #define STAT_STATFS3_OSF1 1
8918 if test $space = no; then
8920 { echo "$as_me:$LINENO: checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)" >&5
8921 echo $ECHO_N "checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... $ECHO_C" >&6; }
8922 if test "${fu_cv_sys_stat_statfs2_bsize+set}" = set; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8925 if test "$cross_compiling" = yes; then
8926 fu_cv_sys_stat_statfs2_bsize=no
8928 cat >conftest.$ac_ext <<_ACEOF
8931 cat confdefs.h >>conftest.$ac_ext
8932 cat >>conftest.$ac_ext <<_ACEOF
8933 /* end confdefs.h. */
8935 #ifdef HAVE_SYS_PARAM_H
8936 #include <sys/param.h>
8938 #ifdef HAVE_SYS_MOUNT_H
8939 #include <sys/mount.h>
8941 #ifdef HAVE_SYS_VFS_H
8942 #include <sys/vfs.h>
8948 exit (statfs (".", &fsd));
8951 rm -f conftest$ac_exeext
8952 if { (ac_try="$ac_link"
8954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8955 *) ac_try_echo
=$ac_try;;
8957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8958 (eval "$ac_link") 2>&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8962 { (case "(($ac_try" in
8963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8964 *) ac_try_echo=$ac_try;;
8966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8967 (eval "$ac_try") 2>&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); }; }; then
8971 fu_cv_sys_stat_statfs2_bsize=yes
8973 echo "$as_me: program exited with status $ac_status" >&5
8974 echo "$as_me: failed program was:" >&5
8975 sed 's/^/| /' conftest.$ac_ext >&5
8978 fu_cv_sys_stat_statfs2_bsize=no
8980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8986 { echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_bsize" >&5
8987 echo "${ECHO_T}$fu_cv_sys_stat_statfs2_bsize" >&6; }
8988 if test $fu_cv_sys_stat_statfs2_bsize = yes; then
8991 cat >>confdefs.h <<\_ACEOF
8992 #define STAT_STATFS2_BSIZE 1
8998 if test $space = no; then
9000 { echo "$as_me:$LINENO: checking for four-argument statfs (AIX-3.2.5, SVR3)" >&5
9001 echo $ECHO_N "checking for four-argument statfs (AIX-3.2.5, SVR3)... $ECHO_C" >&6; }
9002 if test "${fu_cv_sys_stat_statfs4+set}" = set; then
9003 echo $ECHO_N "(cached) $ECHO_C" >&6
9005 if test "$cross_compiling" = yes; then
9006 fu_cv_sys_stat_statfs4=no
9008 cat >conftest.$ac_ext <<_ACEOF
9011 cat confdefs.h >>conftest.$ac_ext
9012 cat >>conftest.$ac_ext <<_ACEOF
9013 /* end confdefs.h. */
9014 #include <sys/types.h>
9015 #include <sys/statfs.h>
9019 exit (statfs (".", &fsd, sizeof fsd, 0));
9022 rm -f conftest$ac_exeext
9023 if { (ac_try="$ac_link"
9025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9026 *) ac_try_echo
=$ac_try;;
9028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9029 (eval "$ac_link") 2>&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9033 { (case "(($ac_try" in
9034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9035 *) ac_try_echo=$ac_try;;
9037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9038 (eval "$ac_try") 2>&5
9040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9041 (exit $ac_status); }; }; then
9042 fu_cv_sys_stat_statfs4=yes
9044 echo "$as_me: program exited with status $ac_status" >&5
9045 echo "$as_me: failed program was:" >&5
9046 sed 's/^/| /' conftest.$ac_ext >&5
9049 fu_cv_sys_stat_statfs4=no
9051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9057 { echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs4" >&5
9058 echo "${ECHO_T}$fu_cv_sys_stat_statfs4" >&6; }
9059 if test $fu_cv_sys_stat_statfs4 = yes; then
9062 cat >>confdefs.h <<\_ACEOF
9063 #define STAT_STATFS4 1
9068 if test $space = no; then
9070 { echo "$as_me:$LINENO: checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)" >&5
9071 echo $ECHO_N "checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... $ECHO_C" >&6; }
9072 if test "${fu_cv_sys_stat_statfs2_fsize+set}" = set; then
9073 echo $ECHO_N "(cached) $ECHO_C" >&6
9075 if test "$cross_compiling" = yes; then
9076 fu_cv_sys_stat_statfs2_fsize=no
9078 cat >conftest.$ac_ext <<_ACEOF
9081 cat confdefs.h >>conftest.$ac_ext
9082 cat >>conftest.$ac_ext <<_ACEOF
9083 /* end confdefs.h. */
9084 #include <sys/types.h>
9085 #ifdef HAVE_SYS_PARAM_H
9086 #include <sys/param.h>
9088 #ifdef HAVE_SYS_MOUNT_H
9089 #include <sys/mount.h>
9095 exit (statfs (".", &fsd));
9098 rm -f conftest$ac_exeext
9099 if { (ac_try="$ac_link"
9101 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9102 *) ac_try_echo
=$ac_try;;
9104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9105 (eval "$ac_link") 2>&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9109 { (case "(($ac_try" in
9110 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9111 *) ac_try_echo=$ac_try;;
9113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9114 (eval "$ac_try") 2>&5
9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9117 (exit $ac_status); }; }; then
9118 fu_cv_sys_stat_statfs2_fsize=yes
9120 echo "$as_me: program exited with status $ac_status" >&5
9121 echo "$as_me: failed program was:" >&5
9122 sed 's/^/| /' conftest.$ac_ext >&5
9125 fu_cv_sys_stat_statfs2_fsize=no
9127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9133 { echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statfs2_fsize" >&5
9134 echo "${ECHO_T}$fu_cv_sys_stat_statfs2_fsize" >&6; }
9135 if test $fu_cv_sys_stat_statfs2_fsize = yes; then
9138 cat >>confdefs.h <<\_ACEOF
9139 #define STAT_STATFS2_FSIZE 1
9145 if test $space = no; then
9147 { echo "$as_me:$LINENO: checking for two-argument statfs with struct fs_data (Ultrix)" >&5
9148 echo $ECHO_N "checking for two-argument statfs with struct fs_data (Ultrix)... $ECHO_C" >&6; }
9149 if test "${fu_cv_sys_stat_fs_data+set}" = set; then
9150 echo $ECHO_N "(cached) $ECHO_C" >&6
9152 if test "$cross_compiling" = yes; then
9153 fu_cv_sys_stat_fs_data=no
9155 cat >conftest.$ac_ext <<_ACEOF
9158 cat confdefs.h >>conftest.$ac_ext
9159 cat >>conftest.$ac_ext <<_ACEOF
9160 /* end confdefs.h. */
9162 #include <sys/types.h>
9163 #ifdef HAVE_SYS_PARAM_H
9164 #include <sys/param.h>
9166 #ifdef HAVE_SYS_MOUNT_H
9167 #include <sys/mount.h>
9169 #ifdef HAVE_SYS_FS_TYPES_H
9170 #include <sys/fs_types.h>
9175 /* Ultrix's statfs returns 1 for success,
9176 0 for not mounted, -1 for failure. */
9177 exit (statfs (".", &fsd) != 1);
9180 rm -f conftest$ac_exeext
9181 if { (ac_try="$ac_link"
9183 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9184 *) ac_try_echo
=$ac_try;;
9186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9187 (eval "$ac_link") 2>&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9191 { (case "(($ac_try" in
9192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9193 *) ac_try_echo=$ac_try;;
9195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9196 (eval "$ac_try") 2>&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); }; }; then
9200 fu_cv_sys_stat_fs_data=yes
9202 echo "$as_me: program exited with status $ac_status" >&5
9203 echo "$as_me: failed program was:" >&5
9204 sed 's/^/| /' conftest.$ac_ext >&5
9207 fu_cv_sys_stat_fs_data=no
9209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9215 { echo "$as_me:$LINENO: result: $fu_cv_sys_stat_fs_data" >&5
9216 echo "${ECHO_T}$fu_cv_sys_stat_fs_data" >&6; }
9217 if test $fu_cv_sys_stat_fs_data = yes; then
9220 cat >>confdefs.h <<\_ACEOF
9221 #define STAT_STATFS2_FS_DATA 1
9231 # Check whether --with-lcdport was given.
9232 if test "${with_lcdport+set}" = set; then
9233 withval=$with_lcdport; LCDPORT=$withval
9240 cat >>confdefs.h <<_ACEOF
9241 #define LCDPORT $LCDPORT
9246 cat >>confdefs.h <<_ACEOF
9247 #define PROTOCOL_VERSION "0.3"
9252 cat >>confdefs.h <<_ACEOF
9253 #define API_VERSION "0.5"
9259 { echo "$as_me:$LINENO: checking module extension" >&5
9260 echo $ECHO_N "checking module extension... $ECHO_C" >&6; }
9270 cat >>confdefs.h <<_ACEOF
9271 #define MODULE_EXTENSION "$SO"
9274 { echo "$as_me:$LINENO: result: $SO" >&5
9275 echo "${ECHO_T}$SO" >&6; }
9285 if test ! "$GCC" = "yes" ; then
9290 if test ! "$GCC" = "yes"; then
9296 CCSHARED="-DUSE_DL_IMPORT"
9297 LDSHARED="-shared -Wl,--enable-auto-image-base"
9303 LDSHARED="-bundle -flat_namespace -undefined suppress"
9308 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9309 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9310 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9311 echo $ECHO_N "(cached) $ECHO_C" >&6
9313 ac_check_lib_save_LIBS=$LIBS
9315 cat >conftest.$ac_ext <<_ACEOF
9318 cat confdefs.h >>conftest.$ac_ext
9319 cat >>conftest.$ac_ext <<_ACEOF
9320 /* end confdefs.h. */
9322 /* Override any GCC internal prototype to avoid an error.
9323 Use char because int might match the return type of a GCC
9324 builtin and then its argument prototype would still apply. */
9337 rm -f conftest.$ac_objext conftest$ac_exeext
9338 if { (ac_try="$ac_link"
9340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9341 *) ac_try_echo
=$ac_try;;
9343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9344 (eval "$ac_link") 2>conftest.er1
9346 grep -v '^ *+' conftest.er1
>conftest.err
9348 cat conftest.err
>&5
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); } && {
9351 test -z "$ac_c_werror_flag" ||
9352 test ! -s conftest.err
9353 } && test -s conftest
$ac_exeext &&
9354 $as_test_x conftest
$ac_exeext; then
9355 ac_cv_lib_dl_dlopen
=yes
9357 echo "$as_me: failed program was:" >&5
9358 sed 's/^/| /' conftest.
$ac_ext >&5
9360 ac_cv_lib_dl_dlopen
=no
9363 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9364 conftest
$ac_exeext conftest.
$ac_ext
9365 LIBS
=$ac_check_lib_save_LIBS
9367 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9368 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9369 if test $ac_cv_lib_dl_dlopen = yes; then
9370 cat >>confdefs.h
<<_ACEOF
9371 #define HAVE_LIBDL 1
9377 # Dynamic linking for Linux, *BSD, SunOS/Solaris and SYSV
9379 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9380 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9381 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9382 echo $ECHO_N "(cached) $ECHO_C" >&6
9384 ac_check_lib_save_LIBS
=$LIBS
9386 cat >conftest.
$ac_ext <<_ACEOF
9389 cat confdefs.h
>>conftest.
$ac_ext
9390 cat >>conftest.
$ac_ext <<_ACEOF
9391 /* end confdefs.h. */
9393 /* Override any GCC internal prototype to avoid an error.
9394 Use char because int might match the return type of a GCC
9395 builtin and then its argument prototype would still apply. */
9408 rm -f conftest.
$ac_objext conftest
$ac_exeext
9409 if { (ac_try
="$ac_link"
9411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9412 *) ac_try_echo=$ac_try;;
9414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9415 (eval "$ac_link") 2>conftest.er1
9417 grep -v '^ *+' conftest.er1 >conftest.err
9419 cat conftest.err >&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); } && {
9422 test -z "$ac_c_werror_flag" ||
9423 test ! -s conftest.err
9424 } && test -s conftest$ac_exeext &&
9425 $as_test_x conftest$ac_exeext; then
9426 ac_cv_lib_dld_shl_load=yes
9428 echo "$as_me: failed program was:" >&5
9429 sed 's/^/| /' conftest.$ac_ext >&5
9431 ac_cv_lib_dld_shl_load=no
9434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9435 conftest$ac_exeext conftest.$ac_ext
9436 LIBS=$ac_check_lib_save_LIBS
9438 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9439 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9440 if test $ac_cv_lib_dld_shl_load = yes; then
9441 cat >>confdefs.h <<_ACEOF
9442 #define HAVE_LIBDLD 1
9448 # Dynamic linking for HP-UX
9460 { echo "$as_me:$LINENO: checking if libusb support has been enabled" >&5
9461 echo $ECHO_N "checking if libusb support has been enabled... $ECHO_C" >&6; };
9462 # Check whether --enable-libusb was given.
9463 if test "${enable_libusb+set}" = set; then
9464 enableval=$enable_libusb;
9465 if test "$enableval" != "no"; then
9474 { echo "$as_me:$LINENO: result: $enable_libusb" >&5
9475 echo "${ECHO_T}$enable_libusb" >&6; }
9477 if test "$enable_libusb" = "yes"; then
9478 # Extract the first word of "libusb-config", so it can be a program name with args.
9479 set dummy libusb-config; ac_word=$2
9480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9482 if test "${ac_cv_path_libusb_config+set}" = set; then
9483 echo $ECHO_N "(cached) $ECHO_C" >&6
9485 case $libusb_config in
9487 ac_cv_path_libusb_config="$libusb_config" # Let the user override the test with a path.
9490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9494 test -z "$as_dir" && as_dir=.
9495 for ac_exec_ext in '' $ac_executable_extensions; do
9496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9497 ac_cv_path_libusb_config="$as_dir/$ac_word$ac_exec_ext"
9498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9505 test -z "$ac_cv_path_libusb_config" && ac_cv_path_libusb_config=":"
9509 libusb_config=$ac_cv_path_libusb_config
9510 if test -n "$libusb_config"; then
9511 { echo "$as_me:$LINENO: result: $libusb_config" >&5
9512 echo "${ECHO_T}$libusb_config" >&6; }
9514 { echo "$as_me:$LINENO: result: no" >&5
9515 echo "${ECHO_T}no" >&6; }
9521 # Check whether --with-libusb-includes was given.
9522 if test "${with_libusb_includes+set}" = set; then
9523 withval=$with_libusb_includes;
9524 if test "$withval" != "no"; then
9525 libusb_includepath="$withval"
9526 libusb_cflags="-I$withval"
9531 { echo "$as_me:$LINENO: checking libusb CFLAGS" >&5
9532 echo $ECHO_N "checking libusb CFLAGS... $ECHO_C" >&6; }
9533 if test "x$libusb_config" != x ; then
9534 libusb_cflags=`$libusb_config --cflags`
9536 for libusb_includepath in /usr/include /usr/local/include \
9537 /usr/include/libusb /usr/local/include/libusb \
9538 /usr/include/usb /usr/local/include/usb ; do \
9539 if test -f "${libusb_includepath}/usb.h" ; then
9540 libusb_cflags="-I$libusb_includepath"
9545 { echo "$as_me:$LINENO: result: $libusb_cflags" >&5
9546 echo "${ECHO_T}$libusb_cflags" >&6; }
9552 if test x$libusb_includepath != x ; then
9553 as_ac_File=`echo "ac_cv_file_$libusb_includepath/usb.h" |
$as_tr_sh`
9554 { echo "$as_me:$LINENO: checking for $libusb_includepath/usb.h" >&5
9555 echo $ECHO_N "checking for $libusb_includepath/usb.h... $ECHO_C" >&6; }
9556 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
9557 echo $ECHO_N "(cached) $ECHO_C" >&6
9559 test "$cross_compiling" = yes &&
9560 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
9561 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
9562 { (exit 1); exit 1; }; }
9563 if test -r "$libusb_includepath/usb.h"; then
9564 eval "$as_ac_File=yes"
9566 eval "$as_ac_File=no"
9569 ac_res=`eval echo '${'$as_ac_File'}'`
9570 { echo "$as_me:$LINENO: result: $ac_res" >&5
9571 echo "${ECHO_T}$ac_res" >&6; }
9572 if test `eval echo '${'$as_ac_File'}'` = yes; then
9582 if test "$enable_libusb" = "yes"; then
9584 # Check whether --with-libusb-libraries was given.
9585 if test "${with_libusb_libraries+set}" = set; then
9586 withval=$with_libusb_libraries;
9587 if test "$withval" != "no"; then
9588 libusb_libs="-L$withval -lusb"
9593 { echo "$as_me:$LINENO: checking libusb library path" >&5
9594 echo $ECHO_N "checking libusb library path... $ECHO_C" >&6; }
9595 if test "x$libusb_config" != x ; then
9596 libusb_libs=`$libusb_config --libs`
9598 for libusb_libpath in /lib /usr/lib /usr/local/lib \
9599 /lib/libusb /usr/lib/libusb /usr/local/lib/libusb \
9600 /lib/usb /usr/lib/usb /usr/local/lib/usb ; do
9601 if test -f "${libusb_libpath}/libusb.a" -o -f "${libusb_libpath}/libusb.so"; then
9602 libusb_libs="-L$libusb_libpath -lusb"
9607 { echo "$as_me:$LINENO: result: $libusb_libs" >&5
9608 echo "${ECHO_T}$libusb_libs" >&6; }
9614 { echo "$as_me:$LINENO: checking for main in -lusb" >&5
9615 echo $ECHO_N "checking for main in -lusb... $ECHO_C" >&6; }
9616 if test "${ac_cv_lib_usb_main+set}" = set; then
9617 echo $ECHO_N "(cached) $ECHO_C" >&6
9619 ac_check_lib_save_LIBS=$LIBS
9620 LIBS="-lusb $libusb_libs
9622 cat >conftest.$ac_ext <<_ACEOF
9625 cat confdefs.h >>conftest.$ac_ext
9626 cat >>conftest.$ac_ext <<_ACEOF
9627 /* end confdefs.h. */
9638 rm -f conftest.$ac_objext conftest$ac_exeext
9639 if { (ac_try="$ac_link"
9641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9642 *) ac_try_echo
=$ac_try;;
9644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9645 (eval "$ac_link") 2>conftest.er1
9647 grep -v '^ *+' conftest.er1
>conftest.err
9649 cat conftest.err
>&5
9650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 (exit $ac_status); } && {
9652 test -z "$ac_c_werror_flag" ||
9653 test ! -s conftest.err
9654 } && test -s conftest
$ac_exeext &&
9655 $as_test_x conftest
$ac_exeext; then
9656 ac_cv_lib_usb_main
=yes
9658 echo "$as_me: failed program was:" >&5
9659 sed 's/^/| /' conftest.
$ac_ext >&5
9661 ac_cv_lib_usb_main
=no
9664 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9665 conftest
$ac_exeext conftest.
$ac_ext
9666 LIBS
=$ac_check_lib_save_LIBS
9668 { echo "$as_me:$LINENO: result: $ac_cv_lib_usb_main" >&5
9669 echo "${ECHO_T}$ac_cv_lib_usb_main" >&6; }
9670 if test $ac_cv_lib_usb_main = yes; then
9678 if test "$enable_libusb" = "yes"; then
9680 cat >>confdefs.h
<<\_ACEOF
9681 #define HAVE_LIBUSB 1
9691 { echo "$as_me:$LINENO: checking for which drivers to compile..." >&5
9692 echo "$as_me: checking for which drivers to compile..." >&6;}
9694 # Check whether --enable-drivers was given.
9695 if test "${enable_drivers+set}" = set; then
9696 enableval
=$enable_drivers; drivers
="$enableval"
9698 drivers
=bayrad
,CFontz
,CFontz633
,curses
,CwLnx
,glk
,lb216
,lcdm001
,MtxOrb
,pyramid
,text
9702 allDrivers
=bayrad
,CFontz
,CFontz633
,CFontzPacket
,curses
,CwLnx
,ea65
,EyeboxOne
,g15
,glcdlib
,glk
,hd44780
,icp_a106
,imon
,IOWarrior
,irman
,joy
,lb216
,lcdm001
,lcterm
,lirc
,MD8800
,ms6931
,mtc_s16209x
,MtxOrb
,NoritakeVFD
,picolcd
,pyramid
,sed1330
,sed1520
,serialPOS
,serialVFD
,sli
,stv5730
,svga
,t6963
,text
,tyan
,ula200
,xosd
9704 drivers
=`echo $drivers | sed -e 's/,/ /g'`
9706 drivers
=" $drivers "
9707 drivers
=`echo " $drivers " | sed -e "s/ all,/ ${allDrivers} /"`
9708 drivers
=`echo " $drivers " | sed -e "s/ all / ${allDrivers} /"`
9709 drivers
=`echo $drivers | sed -e 's/,/ /g'`
9712 for driver
in $drivers ; do
9715 driver
=`echo "$driver" | sed -e 's/^.//'`
9716 selectdrivers
=`echo " $selectdrivers " | sed -r -e "s/ $driver / /g"`
9719 selectdrivers
="$selectdrivers $driver "
9724 for driver
in $selectdrivers ; do
9727 DRIVERS
="$DRIVERS bayrad${SO}"
9728 actdrivers
="$actdrivers bayrad"
9731 DRIVERS
="$DRIVERS CFontz${SO}"
9732 actdrivers
="$actdrivers CFontz"
9735 DRIVERS
="$DRIVERS CFontz633${SO}"
9736 actdrivers
="$actdrivers CFontz633"
9738 for ac_func
in select
9740 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9743 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9744 echo $ECHO_N "(cached) $ECHO_C" >&6
9746 cat >conftest.
$ac_ext <<_ACEOF
9749 cat confdefs.h
>>conftest.
$ac_ext
9750 cat >>conftest.
$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9754 #define $ac_func innocuous_$ac_func
9756 /* System header to define __stub macros and hopefully few prototypes,
9757 which can conflict with char $ac_func (); below.
9758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9759 <limits.h> exists even on freestanding compilers. */
9762 # include <limits.h>
9764 # include <assert.h>
9769 /* Override any GCC internal prototype to avoid an error.
9770 Use char because int might match the return type of a GCC
9771 builtin and then its argument prototype would still apply. */
9776 /* The GNU C library defines this for functions which it implements
9777 to always fail with ENOSYS. Some functions are actually named
9778 something starting with __ and the normal name is an alias. */
9779 #if defined __stub_$ac_func || defined __stub___$ac_func
9791 rm -f conftest.
$ac_objext conftest
$ac_exeext
9792 if { (ac_try
="$ac_link"
9794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9795 *) ac_try_echo=$ac_try;;
9797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9798 (eval "$ac_link") 2>conftest.er1
9800 grep -v '^ *+' conftest.er1 >conftest.err
9802 cat conftest.err >&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); } && {
9805 test -z "$ac_c_werror_flag" ||
9806 test ! -s conftest.err
9807 } && test -s conftest$ac_exeext &&
9808 $as_test_x conftest$ac_exeext; then
9809 eval "$as_ac_var=yes"
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.$ac_ext >&5
9814 eval "$as_ac_var=no"
9817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9818 conftest$ac_exeext conftest.$ac_ext
9820 ac_res=`eval echo '${'$as_ac_var'}'`
9821 { echo "$as_me:$LINENO: result: $ac_res" >&5
9822 echo "${ECHO_T}$ac_res" >&6; }
9823 if test `eval echo '${'$as_ac_var'}'` = yes; then
9824 cat >>confdefs.h <<_ACEOF
9825 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
9829 for ac_header in sys/select.h
9831 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9833 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9835 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9836 echo $ECHO_N "(cached) $ECHO_C" >&6
9838 ac_res=`eval echo '${'$as_ac_Header'}'`
9839 { echo "$as_me:$LINENO: result: $ac_res" >&5
9840 echo "${ECHO_T}$ac_res" >&6; }
9842 # Is the header compilable?
9843 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9844 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9845 cat >conftest.$ac_ext <<_ACEOF
9848 cat confdefs.h >>conftest.$ac_ext
9849 cat >>conftest.$ac_ext <<_ACEOF
9850 /* end confdefs.h. */
9851 $ac_includes_default
9852 #include <$ac_header>
9854 rm -f conftest.$ac_objext
9855 if { (ac_try="$ac_compile"
9857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9858 *) ac_try_echo
=$ac_try;;
9860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9861 (eval "$ac_compile") 2>conftest.er1
9863 grep -v '^ *+' conftest.er1
>conftest.err
9865 cat conftest.err
>&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } && {
9868 test -z "$ac_c_werror_flag" ||
9869 test ! -s conftest.err
9870 } && test -s conftest.
$ac_objext; then
9871 ac_header_compiler
=yes
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.
$ac_ext >&5
9876 ac_header_compiler
=no
9879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9880 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9881 echo "${ECHO_T}$ac_header_compiler" >&6; }
9883 # Is the header present?
9884 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9885 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9886 cat >conftest.
$ac_ext <<_ACEOF
9889 cat confdefs.h
>>conftest.
$ac_ext
9890 cat >>conftest.
$ac_ext <<_ACEOF
9891 /* end confdefs.h. */
9892 #include <$ac_header>
9894 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9897 *) ac_try_echo=$ac_try;;
9899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9900 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9902 grep -v '^ *+' conftest.er1 >conftest.err
9904 cat conftest.err >&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); } >/dev/null && {
9907 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9908 test ! -s conftest.err
9910 ac_header_preproc=yes
9912 echo "$as_me: failed program was:" >&5
9913 sed 's/^/| /' conftest.$ac_ext >&5
9915 ac_header_preproc=no
9918 rm -f conftest.err conftest.$ac_ext
9919 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9920 echo "${ECHO_T}$ac_header_preproc" >&6; }
9922 # So? What about this header?
9923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9925 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9926 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9928 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9929 ac_header_preproc=yes
9932 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9933 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9934 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9935 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9936 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9937 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9938 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9939 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9941 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9942 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9943 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9945 ## ------------------------------------------- ##
9946 ## Report this to lcdproc@lists.omnipotent.net ##
9947 ## ------------------------------------------- ##
9949 ) | sed "s/^/$as_me: WARNING: /" >&2
9952 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9954 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9955 echo $ECHO_N "(cached) $ECHO_C" >&6
9957 eval "$as_ac_Header=\$ac_header_preproc"
9959 ac_res=`eval echo '${'$as_ac_Header'}'`
9960 { echo "$as_me:$LINENO: result: $ac_res" >&5
9961 echo "${ECHO_T}$ac_res" >&6; }
9964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9965 cat >>confdefs.h <<_ACEOF
9966 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9976 { echo "$as_me:$LINENO: WARNING: The CFontz633 driver needs the select() function" >&5
9977 echo "$as_me: WARNING: The CFontz633 driver needs the select() function" >&2;}
9984 DRIVERS="$DRIVERS CFontzPacket${SO}"
9985 actdrivers="$actdrivers CFontzPacket"
9987 for ac_func in select
9989 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
9990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9992 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9993 echo $ECHO_N "(cached) $ECHO_C" >&6
9995 cat >conftest.$ac_ext <<_ACEOF
9998 cat confdefs.h >>conftest.$ac_ext
9999 cat >>conftest.$ac_ext <<_ACEOF
10000 /* end confdefs.h. */
10001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10003 #define $ac_func innocuous_$ac_func
10005 /* System header to define __stub macros and hopefully few prototypes,
10006 which can conflict with char $ac_func (); below.
10007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10008 <limits.h> exists even on freestanding compilers. */
10011 # include <limits.h>
10013 # include <assert.h>
10018 /* Override any GCC internal prototype to avoid an error.
10019 Use char because int might match the return type of a GCC
10020 builtin and then its argument prototype would still apply. */
10025 /* The GNU C library defines this for functions which it implements
10026 to always fail with ENOSYS. Some functions are actually named
10027 something starting with __ and the normal name is an alias. */
10028 #if defined __stub_$ac_func || defined __stub___$ac_func
10035 return $ac_func ();
10040 rm -f conftest.$ac_objext conftest$ac_exeext
10041 if { (ac_try="$ac_link"
10042 case "(($ac_try" in
10043 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10044 *) ac_try_echo
=$ac_try;;
10046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10047 (eval "$ac_link") 2>conftest.er1
10049 grep -v '^ *+' conftest.er1
>conftest.err
10051 cat conftest.err
>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); } && {
10054 test -z "$ac_c_werror_flag" ||
10055 test ! -s conftest.err
10056 } && test -s conftest
$ac_exeext &&
10057 $as_test_x conftest
$ac_exeext; then
10058 eval "$as_ac_var=yes"
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.
$ac_ext >&5
10063 eval "$as_ac_var=no"
10066 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10067 conftest
$ac_exeext conftest.
$ac_ext
10069 ac_res
=`eval echo '${'$as_ac_var'}'`
10070 { echo "$as_me:$LINENO: result: $ac_res" >&5
10071 echo "${ECHO_T}$ac_res" >&6; }
10072 if test `eval echo '${'$as_ac_var'}'` = yes; then
10073 cat >>confdefs.h
<<_ACEOF
10074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10078 for ac_header
in sys
/select.h
10080 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10081 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10082 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10084 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10085 echo $ECHO_N "(cached) $ECHO_C" >&6
10087 ac_res
=`eval echo '${'$as_ac_Header'}'`
10088 { echo "$as_me:$LINENO: result: $ac_res" >&5
10089 echo "${ECHO_T}$ac_res" >&6; }
10091 # Is the header compilable?
10092 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10094 cat >conftest.
$ac_ext <<_ACEOF
10097 cat confdefs.h
>>conftest.
$ac_ext
10098 cat >>conftest.
$ac_ext <<_ACEOF
10099 /* end confdefs.h. */
10100 $ac_includes_default
10101 #include <$ac_header>
10103 rm -f conftest.
$ac_objext
10104 if { (ac_try
="$ac_compile"
10105 case "(($ac_try" in
10106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10107 *) ac_try_echo=$ac_try;;
10109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 test -z "$ac_c_werror_flag" ||
10118 test ! -s conftest.err
10119 } && test -s conftest.$ac_objext; then
10120 ac_header_compiler=yes
10122 echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.$ac_ext >&5
10125 ac_header_compiler=no
10128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10129 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10130 echo "${ECHO_T}$ac_header_compiler" >&6; }
10132 # Is the header present?
10133 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10134 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10135 cat >conftest.$ac_ext <<_ACEOF
10138 cat confdefs.h >>conftest.$ac_ext
10139 cat >>conftest.$ac_ext <<_ACEOF
10140 /* end confdefs.h. */
10141 #include <$ac_header>
10143 if { (ac_try="$ac_cpp conftest.$ac_ext"
10144 case "(($ac_try" in
10145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10146 *) ac_try_echo
=$ac_try;;
10148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10149 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10151 grep -v '^ *+' conftest.er1
>conftest.err
10153 cat conftest.err
>&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); } >/dev
/null
&& {
10156 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10157 test ! -s conftest.err
10159 ac_header_preproc
=yes
10161 echo "$as_me: failed program was:" >&5
10162 sed 's/^/| /' conftest.
$ac_ext >&5
10164 ac_header_preproc
=no
10167 rm -f conftest.err conftest.
$ac_ext
10168 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10169 echo "${ECHO_T}$ac_header_preproc" >&6; }
10171 # So? What about this header?
10172 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10177 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10178 ac_header_preproc
=yes
10181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10185 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10186 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10187 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10188 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10191 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10192 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10194 ## ------------------------------------------- ##
10195 ## Report this to lcdproc@lists.omnipotent.net ##
10196 ## ------------------------------------------- ##
10198 ) |
sed "s/^/$as_me: WARNING: /" >&2
10201 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10203 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6
10206 eval "$as_ac_Header=\$ac_header_preproc"
10208 ac_res
=`eval echo '${'$as_ac_Header'}'`
10209 { echo "$as_me:$LINENO: result: $ac_res" >&5
10210 echo "${ECHO_T}$ac_res" >&6; }
10213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10214 cat >>confdefs.h
<<_ACEOF
10215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10225 { echo "$as_me:$LINENO: WARNING: The CFontzPacket driver needs the select() function" >&5
10226 echo "$as_me: WARNING: The CFontzPacket driver needs the select() function" >&2;}
10235 for ac_header
in ncurses.h curses.h
10237 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10238 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10241 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10242 echo $ECHO_N "(cached) $ECHO_C" >&6
10244 ac_res
=`eval echo '${'$as_ac_Header'}'`
10245 { echo "$as_me:$LINENO: result: $ac_res" >&5
10246 echo "${ECHO_T}$ac_res" >&6; }
10248 # Is the header compilable?
10249 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10251 cat >conftest.
$ac_ext <<_ACEOF
10254 cat confdefs.h
>>conftest.
$ac_ext
10255 cat >>conftest.
$ac_ext <<_ACEOF
10256 /* end confdefs.h. */
10257 $ac_includes_default
10258 #include <$ac_header>
10260 rm -f conftest.
$ac_objext
10261 if { (ac_try
="$ac_compile"
10262 case "(($ac_try" in
10263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10264 *) ac_try_echo=$ac_try;;
10266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10267 (eval "$ac_compile") 2>conftest.er1
10269 grep -v '^ *+' conftest.er1 >conftest.err
10271 cat conftest.err >&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); } && {
10274 test -z "$ac_c_werror_flag" ||
10275 test ! -s conftest.err
10276 } && test -s conftest.$ac_objext; then
10277 ac_header_compiler=yes
10279 echo "$as_me: failed program was:" >&5
10280 sed 's/^/| /' conftest.$ac_ext >&5
10282 ac_header_compiler=no
10285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10286 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10287 echo "${ECHO_T}$ac_header_compiler" >&6; }
10289 # Is the header present?
10290 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10291 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10292 cat >conftest.$ac_ext <<_ACEOF
10295 cat confdefs.h >>conftest.$ac_ext
10296 cat >>conftest.$ac_ext <<_ACEOF
10297 /* end confdefs.h. */
10298 #include <$ac_header>
10300 if { (ac_try="$ac_cpp conftest.$ac_ext"
10301 case "(($ac_try" in
10302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10303 *) ac_try_echo
=$ac_try;;
10305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10308 grep -v '^ *+' conftest.er1
>conftest.err
10310 cat conftest.err
>&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); } >/dev
/null
&& {
10313 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10314 test ! -s conftest.err
10316 ac_header_preproc
=yes
10318 echo "$as_me: failed program was:" >&5
10319 sed 's/^/| /' conftest.
$ac_ext >&5
10321 ac_header_preproc
=no
10324 rm -f conftest.err conftest.
$ac_ext
10325 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10326 echo "${ECHO_T}$ac_header_preproc" >&6; }
10328 # So? What about this header?
10329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10334 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10335 ac_header_preproc
=yes
10338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10342 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10343 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10345 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10348 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10349 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10351 ## ------------------------------------------- ##
10352 ## Report this to lcdproc@lists.omnipotent.net ##
10353 ## ------------------------------------------- ##
10355 ) |
sed "s/^/$as_me: WARNING: /" >&2
10358 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10360 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10361 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 eval "$as_ac_Header=\$ac_header_preproc"
10365 ac_res
=`eval echo '${'$as_ac_Header'}'`
10366 { echo "$as_me:$LINENO: result: $ac_res" >&5
10367 echo "${ECHO_T}$ac_res" >&6; }
10370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10371 cat >>confdefs.h
<<_ACEOF
10372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10379 { echo "$as_me:$LINENO: checking for main in -lncurses" >&5
10380 echo $ECHO_N "checking for main in -lncurses... $ECHO_C" >&6; }
10381 if test "${ac_cv_lib_ncurses_main+set}" = set; then
10382 echo $ECHO_N "(cached) $ECHO_C" >&6
10384 ac_check_lib_save_LIBS
=$LIBS
10385 LIBS
="-lncurses $LIBS"
10386 cat >conftest.
$ac_ext <<_ACEOF
10389 cat confdefs.h
>>conftest.
$ac_ext
10390 cat >>conftest.
$ac_ext <<_ACEOF
10391 /* end confdefs.h. */
10402 rm -f conftest.
$ac_objext conftest
$ac_exeext
10403 if { (ac_try
="$ac_link"
10404 case "(($ac_try" in
10405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10406 *) ac_try_echo=$ac_try;;
10408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10409 (eval "$ac_link") 2>conftest.er1
10411 grep -v '^ *+' conftest.er1 >conftest.err
10413 cat conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } && {
10416 test -z "$ac_c_werror_flag" ||
10417 test ! -s conftest.err
10418 } && test -s conftest$ac_exeext &&
10419 $as_test_x conftest$ac_exeext; then
10420 ac_cv_lib_ncurses_main=yes
10422 echo "$as_me: failed program was:" >&5
10423 sed 's/^/| /' conftest.$ac_ext >&5
10425 ac_cv_lib_ncurses_main=no
10428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10429 conftest$ac_exeext conftest.$ac_ext
10430 LIBS=$ac_check_lib_save_LIBS
10432 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_main" >&5
10433 echo "${ECHO_T}$ac_cv_lib_ncurses_main" >&6; }
10434 if test $ac_cv_lib_ncurses_main = yes; then
10436 if test "${ac_cv_header_ncurses_h+set}" = set; then
10437 { echo "$as_me:$LINENO: checking for ncurses.h" >&5
10438 echo $ECHO_N "checking for ncurses.h... $ECHO_C" >&6; }
10439 if test "${ac_cv_header_ncurses_h+set}" = set; then
10440 echo $ECHO_N "(cached) $ECHO_C" >&6
10442 { echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_h" >&5
10443 echo "${ECHO_T}$ac_cv_header_ncurses_h" >&6; }
10445 # Is the header compilable?
10446 { echo "$as_me:$LINENO: checking ncurses.h usability" >&5
10447 echo $ECHO_N "checking ncurses.h usability... $ECHO_C" >&6; }
10448 cat >conftest.$ac_ext <<_ACEOF
10451 cat confdefs.h >>conftest.$ac_ext
10452 cat >>conftest.$ac_ext <<_ACEOF
10453 /* end confdefs.h. */
10454 $ac_includes_default
10455 #include <ncurses.h>
10457 rm -f conftest.$ac_objext
10458 if { (ac_try="$ac_compile"
10459 case "(($ac_try" in
10460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10461 *) ac_try_echo
=$ac_try;;
10463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10464 (eval "$ac_compile") 2>conftest.er1
10466 grep -v '^ *+' conftest.er1
>conftest.err
10468 cat conftest.err
>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); } && {
10471 test -z "$ac_c_werror_flag" ||
10472 test ! -s conftest.err
10473 } && test -s conftest.
$ac_objext; then
10474 ac_header_compiler
=yes
10476 echo "$as_me: failed program was:" >&5
10477 sed 's/^/| /' conftest.
$ac_ext >&5
10479 ac_header_compiler
=no
10482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10483 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10484 echo "${ECHO_T}$ac_header_compiler" >&6; }
10486 # Is the header present?
10487 { echo "$as_me:$LINENO: checking ncurses.h presence" >&5
10488 echo $ECHO_N "checking ncurses.h presence... $ECHO_C" >&6; }
10489 cat >conftest.
$ac_ext <<_ACEOF
10492 cat confdefs.h
>>conftest.
$ac_ext
10493 cat >>conftest.
$ac_ext <<_ACEOF
10494 /* end confdefs.h. */
10495 #include <ncurses.h>
10497 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10498 case "(($ac_try" in
10499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10500 *) ac_try_echo=$ac_try;;
10502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10503 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10505 grep -v '^ *+' conftest.er1 >conftest.err
10507 cat conftest.err >&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } >/dev/null && {
10510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10511 test ! -s conftest.err
10513 ac_header_preproc=yes
10515 echo "$as_me: failed program was:" >&5
10516 sed 's/^/| /' conftest.$ac_ext >&5
10518 ac_header_preproc=no
10521 rm -f conftest.err conftest.$ac_ext
10522 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10523 echo "${ECHO_T}$ac_header_preproc" >&6; }
10525 # So? What about this header?
10526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10528 { echo "$as_me:$LINENO: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&5
10529 echo "$as_me: WARNING: ncurses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10530 { echo "$as_me:$LINENO: WARNING: ncurses.h: proceeding with the compiler's result" >&5
10531 echo "$as_me: WARNING: ncurses.h: proceeding with the compiler's result" >&2;}
10532 ac_header_preproc=yes
10535 { echo "$as_me:$LINENO: WARNING: ncurses.h: present but cannot be compiled" >&5
10536 echo "$as_me: WARNING: ncurses.h: present but cannot be compiled" >&2;}
10537 { echo "$as_me:$LINENO: WARNING: ncurses.h: check for missing prerequisite headers?" >&5
10538 echo "$as_me: WARNING: ncurses.h: check for missing prerequisite headers?" >&2;}
10539 { echo "$as_me:$LINENO: WARNING: ncurses.h: see the Autoconf documentation" >&5
10540 echo "$as_me: WARNING: ncurses.h: see the Autoconf documentation" >&2;}
10541 { echo "$as_me:$LINENO: WARNING: ncurses.h: section \"Present But Cannot Be Compiled\"" >&5
10542 echo "$as_me: WARNING: ncurses.h: section \"Present But Cannot Be Compiled\"" >&2;}
10543 { echo "$as_me:$LINENO: WARNING: ncurses.h: proceeding with the preprocessor's result" >&5
10544 echo "$as_me: WARNING: ncurses.h: proceeding with the preprocessor's result" >&2;}
10545 { echo "$as_me:$LINENO: WARNING: ncurses.h: in the future, the compiler will take precedence" >&5
10546 echo "$as_me: WARNING: ncurses.h: in the future, the compiler will take precedence" >&2;}
10548 ## ------------------------------------------- ##
10549 ## Report this to lcdproc@lists.omnipotent.net ##
10550 ## ------------------------------------------- ##
10552 ) | sed "s/^/$as_me: WARNING: /" >&2
10555 { echo "$as_me:$LINENO: checking for ncurses.h" >&5
10556 echo $ECHO_N "checking for ncurses.h... $ECHO_C" >&6; }
10557 if test "${ac_cv_header_ncurses_h+set}" = set; then
10558 echo $ECHO_N "(cached) $ECHO_C" >&6
10560 ac_cv_header_ncurses_h=$ac_header_preproc
10562 { echo "$as_me:$LINENO: result: $ac_cv_header_ncurses_h" >&5
10563 echo "${ECHO_T}$ac_cv_header_ncurses_h" >&6; }
10566 if test $ac_cv_header_ncurses_h = yes; then
10568 LIBCURSES="-lncurses"
10569 DRIVERS="$DRIVERS curses${SO}"
10570 actdrivers="$actdrivers curses"
10574 { echo "$as_me:$LINENO: WARNING: Could not find ncurses.h" >&5
10575 echo "$as_me: WARNING: Could not find ncurses.h" >&2;}
10582 { echo "$as_me:$LINENO: checking for main in -lcurses" >&5
10583 echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6; }
10584 if test "${ac_cv_lib_curses_main+set}" = set; then
10585 echo $ECHO_N "(cached) $ECHO_C" >&6
10587 ac_check_lib_save_LIBS=$LIBS
10588 LIBS="-lcurses $LIBS"
10589 cat >conftest.$ac_ext <<_ACEOF
10592 cat confdefs.h >>conftest.$ac_ext
10593 cat >>conftest.$ac_ext <<_ACEOF
10594 /* end confdefs.h. */
10605 rm -f conftest.$ac_objext conftest$ac_exeext
10606 if { (ac_try="$ac_link"
10607 case "(($ac_try" in
10608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10609 *) ac_try_echo
=$ac_try;;
10611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10612 (eval "$ac_link") 2>conftest.er1
10614 grep -v '^ *+' conftest.er1
>conftest.err
10616 cat conftest.err
>&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } && {
10619 test -z "$ac_c_werror_flag" ||
10620 test ! -s conftest.err
10621 } && test -s conftest
$ac_exeext &&
10622 $as_test_x conftest
$ac_exeext; then
10623 ac_cv_lib_curses_main
=yes
10625 echo "$as_me: failed program was:" >&5
10626 sed 's/^/| /' conftest.
$ac_ext >&5
10628 ac_cv_lib_curses_main
=no
10631 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10632 conftest
$ac_exeext conftest.
$ac_ext
10633 LIBS
=$ac_check_lib_save_LIBS
10635 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
10636 echo "${ECHO_T}$ac_cv_lib_curses_main" >&6; }
10637 if test $ac_cv_lib_curses_main = yes; then
10639 if test "${ac_cv_header_curses_h+set}" = set; then
10640 { echo "$as_me:$LINENO: checking for curses.h" >&5
10641 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
10642 if test "${ac_cv_header_curses_h+set}" = set; then
10643 echo $ECHO_N "(cached) $ECHO_C" >&6
10645 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
10646 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
10648 # Is the header compilable?
10649 { echo "$as_me:$LINENO: checking curses.h usability" >&5
10650 echo $ECHO_N "checking curses.h usability... $ECHO_C" >&6; }
10651 cat >conftest.
$ac_ext <<_ACEOF
10654 cat confdefs.h
>>conftest.
$ac_ext
10655 cat >>conftest.
$ac_ext <<_ACEOF
10656 /* end confdefs.h. */
10657 $ac_includes_default
10658 #include <curses.h>
10660 rm -f conftest.
$ac_objext
10661 if { (ac_try
="$ac_compile"
10662 case "(($ac_try" in
10663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10664 *) ac_try_echo=$ac_try;;
10666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10667 (eval "$ac_compile") 2>conftest.er1
10669 grep -v '^ *+' conftest.er1 >conftest.err
10671 cat conftest.err >&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); } && {
10674 test -z "$ac_c_werror_flag" ||
10675 test ! -s conftest.err
10676 } && test -s conftest.$ac_objext; then
10677 ac_header_compiler=yes
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10682 ac_header_compiler=no
10685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10686 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10687 echo "${ECHO_T}$ac_header_compiler" >&6; }
10689 # Is the header present?
10690 { echo "$as_me:$LINENO: checking curses.h presence" >&5
10691 echo $ECHO_N "checking curses.h presence... $ECHO_C" >&6; }
10692 cat >conftest.$ac_ext <<_ACEOF
10695 cat confdefs.h >>conftest.$ac_ext
10696 cat >>conftest.$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10698 #include <curses.h>
10700 if { (ac_try="$ac_cpp conftest.$ac_ext"
10701 case "(($ac_try" in
10702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10703 *) ac_try_echo
=$ac_try;;
10705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10708 grep -v '^ *+' conftest.er1
>conftest.err
10710 cat conftest.err
>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); } >/dev
/null
&& {
10713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10714 test ! -s conftest.err
10716 ac_header_preproc
=yes
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.
$ac_ext >&5
10721 ac_header_preproc
=no
10724 rm -f conftest.err conftest.
$ac_ext
10725 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10726 echo "${ECHO_T}$ac_header_preproc" >&6; }
10728 # So? What about this header?
10729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10731 { echo "$as_me:$LINENO: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
10732 echo "$as_me: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10733 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the compiler's result" >&5
10734 echo "$as_me: WARNING: curses.h: proceeding with the compiler's result" >&2;}
10735 ac_header_preproc
=yes
10738 { echo "$as_me:$LINENO: WARNING: curses.h: present but cannot be compiled" >&5
10739 echo "$as_me: WARNING: curses.h: present but cannot be compiled" >&2;}
10740 { echo "$as_me:$LINENO: WARNING: curses.h: check for missing prerequisite headers?" >&5
10741 echo "$as_me: WARNING: curses.h: check for missing prerequisite headers?" >&2;}
10742 { echo "$as_me:$LINENO: WARNING: curses.h: see the Autoconf documentation" >&5
10743 echo "$as_me: WARNING: curses.h: see the Autoconf documentation" >&2;}
10744 { echo "$as_me:$LINENO: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&5
10745 echo "$as_me: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
10746 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the preprocessor's result" >&5
10747 echo "$as_me: WARNING: curses.h: proceeding with the preprocessor's result" >&2;}
10748 { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5
10749 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;}
10751 ## ------------------------------------------- ##
10752 ## Report this to lcdproc@lists.omnipotent.net ##
10753 ## ------------------------------------------- ##
10755 ) |
sed "s/^/$as_me: WARNING: /" >&2
10758 { echo "$as_me:$LINENO: checking for curses.h" >&5
10759 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
10760 if test "${ac_cv_header_curses_h+set}" = set; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 ac_cv_header_curses_h
=$ac_header_preproc
10765 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
10766 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
10769 if test $ac_cv_header_curses_h = yes; then
10771 LIBCURSES
="-lcurses"
10772 DRIVERS
="$DRIVERS curses${SO}"
10773 actdrivers
="$actdrivers curses"
10777 { echo "$as_me:$LINENO: WARNING: Could not find curses.h" >&5
10778 echo "$as_me: WARNING: Could not find curses.h" >&2;}
10785 { echo "$as_me:$LINENO: WARNING: The curses driver needs the curses (or ncurses) library." >&5
10786 echo "$as_me: WARNING: The curses driver needs the curses (or ncurses) library." >&2;}
10794 { echo "$as_me:$LINENO: checking for acs_map in curses.h" >&5
10795 echo $ECHO_N "checking for acs_map in curses.h... $ECHO_C" >&6; }
10796 if test "${ac_cv_curses_acs_map+set}" = set; then
10797 echo $ECHO_N "(cached) $ECHO_C" >&6
10799 cat >conftest.
$ac_ext <<_ACEOF
10802 cat confdefs.h
>>conftest.
$ac_ext
10803 cat >>conftest.
$ac_ext <<_ACEOF
10804 /* end confdefs.h. */
10805 #include <curses.h>
10809 char map = acs_map['p']
10814 rm -f conftest.
$ac_objext
10815 if { (ac_try
="$ac_compile"
10816 case "(($ac_try" in
10817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10818 *) ac_try_echo=$ac_try;;
10820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10821 (eval "$ac_compile") 2>conftest.er1
10823 grep -v '^ *+' conftest.er1 >conftest.err
10825 cat conftest.err >&5
10826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827 (exit $ac_status); } && {
10828 test -z "$ac_c_werror_flag" ||
10829 test ! -s conftest.err
10830 } && test -s conftest.$ac_objext; then
10831 ac_cv_curses_acs_map=yes
10833 echo "$as_me: failed program was:" >&5
10834 sed 's/^/| /' conftest.$ac_ext >&5
10836 ac_cv_curses_acs_map=no
10839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10841 { echo "$as_me:$LINENO: result: $ac_cv_curses_acs_map" >&5
10842 echo "${ECHO_T}$ac_cv_curses_acs_map" >&6; }
10844 if test "$ac_cv_curses_acs_map" = yes
10847 cat >>confdefs.h <<\_ACEOF
10848 #define CURSES_HAS_ACS_MAP 1
10853 { echo "$as_me:$LINENO: checking for _acs_char in curses.h" >&5
10854 echo $ECHO_N "checking for _acs_char in curses.h... $ECHO_C" >&6; }
10855 if test "${ac_cv_curses__acs_char+set}" = set; then
10856 echo $ECHO_N "(cached) $ECHO_C" >&6
10858 cat >conftest.$ac_ext <<_ACEOF
10861 cat confdefs.h >>conftest.$ac_ext
10862 cat >>conftest.$ac_ext <<_ACEOF
10863 /* end confdefs.h. */
10864 #include <curses.h>
10868 char map = _acs_char['p']
10873 rm -f conftest.$ac_objext
10874 if { (ac_try="$ac_compile"
10875 case "(($ac_try" in
10876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10877 *) ac_try_echo
=$ac_try;;
10879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10880 (eval "$ac_compile") 2>conftest.er1
10882 grep -v '^ *+' conftest.er1
>conftest.err
10884 cat conftest.err
>&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); } && {
10887 test -z "$ac_c_werror_flag" ||
10888 test ! -s conftest.err
10889 } && test -s conftest.
$ac_objext; then
10890 ac_cv_curses__acs_char
=yes
10892 echo "$as_me: failed program was:" >&5
10893 sed 's/^/| /' conftest.
$ac_ext >&5
10895 ac_cv_curses__acs_char
=no
10898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10900 { echo "$as_me:$LINENO: result: $ac_cv_curses__acs_char" >&5
10901 echo "${ECHO_T}$ac_cv_curses__acs_char" >&6; }
10903 if test "$ac_cv_curses__acs_char" = yes
10906 cat >>confdefs.h
<<\_ACEOF
10907 #define CURSES_HAS__ACS_CHAR 1
10915 { echo "$as_me:$LINENO: checking for redrawwin() in curses" >&5
10916 echo $ECHO_N "checking for redrawwin() in curses... $ECHO_C" >&6; }
10917 if test "${ac_cv_curses_redrawwin+set}" = set; then
10918 echo $ECHO_N "(cached) $ECHO_C" >&6
10921 LIBS
="$LIBS $LIBCURSES"
10922 cat >conftest.
$ac_ext <<_ACEOF
10925 cat confdefs.h
>>conftest.
$ac_ext
10926 cat >>conftest.
$ac_ext <<_ACEOF
10927 /* end confdefs.h. */
10929 /* Override any GCC internal prototype to avoid an error.
10930 Use char because int might match the return type of a GCC
10931 builtin and then its argument prototype would still apply. */
10939 return redrawwin ();
10944 rm -f conftest.
$ac_objext conftest
$ac_exeext
10945 if { (ac_try
="$ac_link"
10946 case "(($ac_try" in
10947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10948 *) ac_try_echo=$ac_try;;
10950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10951 (eval "$ac_link") 2>conftest.er1
10953 grep -v '^ *+' conftest.er1 >conftest.err
10955 cat conftest.err >&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); } && {
10958 test -z "$ac_c_werror_flag" ||
10959 test ! -s conftest.err
10960 } && test -s conftest$ac_exeext &&
10961 $as_test_x conftest$ac_exeext; then
10962 ac_cv_curses_redrawwin=yes
10964 echo "$as_me: failed program was:" >&5
10965 sed 's/^/| /' conftest.$ac_ext >&5
10967 ac_cv_curses_redrawwin=no
10970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10971 conftest$ac_exeext conftest.$ac_ext
10975 { echo "$as_me:$LINENO: result: $ac_cv_curses_redrawwin" >&5
10976 echo "${ECHO_T}$ac_cv_curses_redrawwin" >&6; }
10977 if test "$ac_cv_curses_redrawwin" = yes; then
10979 cat >>confdefs.h <<\_ACEOF
10980 #define CURSES_HAS_REDRAWWIN 1
10985 { echo "$as_me:$LINENO: checking for wcolor_set() in curses" >&5
10986 echo $ECHO_N "checking for wcolor_set() in curses... $ECHO_C" >&6; }
10987 if test "${ac_cv_curses_wcolor_set+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10991 LIBS="$LIBS $LIBCURSES"
10992 cat >conftest.$ac_ext <<_ACEOF
10995 cat confdefs.h >>conftest.$ac_ext
10996 cat >>conftest.$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10999 /* Override any GCC internal prototype to avoid an error.
11000 Use char because int might match the return type of a GCC
11001 builtin and then its argument prototype would still apply. */
11005 char wcolor_set ();
11009 return wcolor_set ();
11014 rm -f conftest.$ac_objext conftest$ac_exeext
11015 if { (ac_try="$ac_link"
11016 case "(($ac_try" in
11017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11018 *) ac_try_echo
=$ac_try;;
11020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11021 (eval "$ac_link") 2>conftest.er1
11023 grep -v '^ *+' conftest.er1
>conftest.err
11025 cat conftest.err
>&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); } && {
11028 test -z "$ac_c_werror_flag" ||
11029 test ! -s conftest.err
11030 } && test -s conftest
$ac_exeext &&
11031 $as_test_x conftest
$ac_exeext; then
11032 ac_cv_curses_wcolor_set
=yes
11034 echo "$as_me: failed program was:" >&5
11035 sed 's/^/| /' conftest.
$ac_ext >&5
11037 ac_cv_curses_wcolor_set
=no
11040 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11041 conftest
$ac_exeext conftest.
$ac_ext
11045 { echo "$as_me:$LINENO: result: $ac_cv_curses_wcolor_set" >&5
11046 echo "${ECHO_T}$ac_cv_curses_wcolor_set" >&6; }
11047 if test "$ac_cv_curses_wcolor_set" = yes; then
11049 cat >>confdefs.h
<<\_ACEOF
11050 #define CURSES_HAS_WCOLOR_SET 1
11056 DRIVERS
="$DRIVERS CwLnx${SO}"
11057 actdrivers
="$actdrivers CwLnx"
11060 DRIVERS
="$DRIVERS ea65${SO}"
11061 actdrivers
="$actdrivers ea65"
11064 DRIVERS
="$DRIVERS EyeboxOne${SO}"
11065 actdrivers
="$actdrivers EyeboxOne"
11069 for ac_header
in g15daemon_client.h
11071 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11072 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11073 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11075 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11076 echo $ECHO_N "(cached) $ECHO_C" >&6
11078 ac_res
=`eval echo '${'$as_ac_Header'}'`
11079 { echo "$as_me:$LINENO: result: $ac_res" >&5
11080 echo "${ECHO_T}$ac_res" >&6; }
11082 # Is the header compilable?
11083 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11085 cat >conftest.
$ac_ext <<_ACEOF
11088 cat confdefs.h
>>conftest.
$ac_ext
11089 cat >>conftest.
$ac_ext <<_ACEOF
11090 /* end confdefs.h. */
11091 $ac_includes_default
11092 #include <$ac_header>
11094 rm -f conftest.
$ac_objext
11095 if { (ac_try
="$ac_compile"
11096 case "(($ac_try" in
11097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11098 *) ac_try_echo=$ac_try;;
11100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11101 (eval "$ac_compile") 2>conftest.er1
11103 grep -v '^ *+' conftest.er1 >conftest.err
11105 cat conftest.err >&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); } && {
11108 test -z "$ac_c_werror_flag" ||
11109 test ! -s conftest.err
11110 } && test -s conftest.$ac_objext; then
11111 ac_header_compiler=yes
11113 echo "$as_me: failed program was:" >&5
11114 sed 's/^/| /' conftest.$ac_ext >&5
11116 ac_header_compiler=no
11119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11120 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11121 echo "${ECHO_T}$ac_header_compiler" >&6; }
11123 # Is the header present?
11124 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11125 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11126 cat >conftest.$ac_ext <<_ACEOF
11129 cat confdefs.h >>conftest.$ac_ext
11130 cat >>conftest.$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11132 #include <$ac_header>
11134 if { (ac_try="$ac_cpp conftest.$ac_ext"
11135 case "(($ac_try" in
11136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11137 *) ac_try_echo
=$ac_try;;
11139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11142 grep -v '^ *+' conftest.er1
>conftest.err
11144 cat conftest.err
>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); } >/dev
/null
&& {
11147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11148 test ! -s conftest.err
11150 ac_header_preproc
=yes
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.
$ac_ext >&5
11155 ac_header_preproc
=no
11158 rm -f conftest.err conftest.
$ac_ext
11159 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11160 echo "${ECHO_T}$ac_header_preproc" >&6; }
11162 # So? What about this header?
11163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11169 ac_header_preproc
=yes
11172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11176 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11178 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11179 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11182 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11185 ## ------------------------------------------- ##
11186 ## Report this to lcdproc@lists.omnipotent.net ##
11187 ## ------------------------------------------- ##
11189 ) |
sed "s/^/$as_me: WARNING: /" >&2
11192 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11194 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 eval "$as_ac_Header=\$ac_header_preproc"
11199 ac_res
=`eval echo '${'$as_ac_Header'}'`
11200 { echo "$as_me:$LINENO: result: $ac_res" >&5
11201 echo "${ECHO_T}$ac_res" >&6; }
11204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11205 cat >>confdefs.h
<<_ACEOF
11206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11209 { echo "$as_me:$LINENO: checking for new_g15_screen in -lg15daemon_client" >&5
11210 echo $ECHO_N "checking for new_g15_screen in -lg15daemon_client... $ECHO_C" >&6; }
11211 if test "${ac_cv_lib_g15daemon_client_new_g15_screen+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 ac_check_lib_save_LIBS
=$LIBS
11215 LIBS
="-lg15daemon_client -lg15daemon_client
11217 cat >conftest.
$ac_ext <<_ACEOF
11220 cat confdefs.h
>>conftest.
$ac_ext
11221 cat >>conftest.
$ac_ext <<_ACEOF
11222 /* end confdefs.h. */
11224 /* Override any GCC internal prototype to avoid an error.
11225 Use char because int might match the return type of a GCC
11226 builtin and then its argument prototype would still apply. */
11230 char new_g15_screen ();
11234 return new_g15_screen ();
11239 rm -f conftest.
$ac_objext conftest
$ac_exeext
11240 if { (ac_try
="$ac_link"
11241 case "(($ac_try" in
11242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11243 *) ac_try_echo=$ac_try;;
11245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11246 (eval "$ac_link") 2>conftest.er1
11248 grep -v '^ *+' conftest.er1 >conftest.err
11250 cat conftest.err >&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); } && {
11253 test -z "$ac_c_werror_flag" ||
11254 test ! -s conftest.err
11255 } && test -s conftest$ac_exeext &&
11256 $as_test_x conftest$ac_exeext; then
11257 ac_cv_lib_g15daemon_client_new_g15_screen=yes
11259 echo "$as_me: failed program was:" >&5
11260 sed 's/^/| /' conftest.$ac_ext >&5
11262 ac_cv_lib_g15daemon_client_new_g15_screen=no
11265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11266 conftest$ac_exeext conftest.$ac_ext
11267 LIBS=$ac_check_lib_save_LIBS
11269 { echo "$as_me:$LINENO: result: $ac_cv_lib_g15daemon_client_new_g15_screen" >&5
11270 echo "${ECHO_T}$ac_cv_lib_g15daemon_client_new_g15_screen" >&6; }
11271 if test $ac_cv_lib_g15daemon_client_new_g15_screen = yes; then
11273 LIBG15="-lg15daemon_client"
11277 { echo "$as_me:$LINENO: WARNING: The g15 driver needs libg15daemon_client-1.2 or better" >&5
11278 echo "$as_me: WARNING: The g15 driver needs libg15daemon_client-1.2 or better" >&2;}
11285 { echo "$as_me:$LINENO: WARNING: The g15 driver needs g15daemon_client.h" >&5
11286 echo "$as_me: WARNING: The g15 driver needs g15daemon_client.h" >&2;}
11293 for ac_header in libg15render.h
11295 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11296 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11297 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11299 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11300 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 ac_res=`eval echo '${'$as_ac_Header'}'`
11303 { echo "$as_me:$LINENO: result: $ac_res" >&5
11304 echo "${ECHO_T}$ac_res" >&6; }
11306 # Is the header compilable?
11307 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11309 cat >conftest.$ac_ext <<_ACEOF
11312 cat confdefs.h >>conftest.$ac_ext
11313 cat >>conftest.$ac_ext <<_ACEOF
11314 /* end confdefs.h. */
11315 $ac_includes_default
11316 #include <$ac_header>
11318 rm -f conftest.$ac_objext
11319 if { (ac_try="$ac_compile"
11320 case "(($ac_try" in
11321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11322 *) ac_try_echo
=$ac_try;;
11324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11325 (eval "$ac_compile") 2>conftest.er1
11327 grep -v '^ *+' conftest.er1
>conftest.err
11329 cat conftest.err
>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); } && {
11332 test -z "$ac_c_werror_flag" ||
11333 test ! -s conftest.err
11334 } && test -s conftest.
$ac_objext; then
11335 ac_header_compiler
=yes
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.
$ac_ext >&5
11340 ac_header_compiler
=no
11343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11344 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11345 echo "${ECHO_T}$ac_header_compiler" >&6; }
11347 # Is the header present?
11348 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11350 cat >conftest.
$ac_ext <<_ACEOF
11353 cat confdefs.h
>>conftest.
$ac_ext
11354 cat >>conftest.
$ac_ext <<_ACEOF
11355 /* end confdefs.h. */
11356 #include <$ac_header>
11358 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11359 case "(($ac_try" in
11360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11361 *) ac_try_echo=$ac_try;;
11363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11366 grep -v '^ *+' conftest.er1 >conftest.err
11368 cat conftest.err >&5
11369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11370 (exit $ac_status); } >/dev/null && {
11371 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11372 test ! -s conftest.err
11374 ac_header_preproc=yes
11376 echo "$as_me: failed program was:" >&5
11377 sed 's/^/| /' conftest.$ac_ext >&5
11379 ac_header_preproc=no
11382 rm -f conftest.err conftest.$ac_ext
11383 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11384 echo "${ECHO_T}$ac_header_preproc" >&6; }
11386 # So? What about this header?
11387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11393 ac_header_preproc=yes
11396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11400 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11402 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11403 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11406 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11409 ## ------------------------------------------- ##
11410 ## Report this to lcdproc@lists.omnipotent.net ##
11411 ## ------------------------------------------- ##
11413 ) | sed "s/^/$as_me: WARNING: /" >&2
11416 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 eval "$as_ac_Header=\$ac_header_preproc"
11423 ac_res=`eval echo '${'$as_ac_Header'}'`
11424 { echo "$as_me:$LINENO: result: $ac_res" >&5
11425 echo "${ECHO_T}$ac_res" >&6; }
11428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11429 cat >>confdefs.h <<_ACEOF
11430 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11433 { echo "$as_me:$LINENO: checking for g15r_initCanvas in -lg15render" >&5
11434 echo $ECHO_N "checking for g15r_initCanvas in -lg15render... $ECHO_C" >&6; }
11435 if test "${ac_cv_lib_g15render_g15r_initCanvas+set}" = set; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11438 ac_check_lib_save_LIBS=$LIBS
11439 LIBS="-lg15render -lg15render
11441 cat >conftest.$ac_ext <<_ACEOF
11444 cat confdefs.h >>conftest.$ac_ext
11445 cat >>conftest.$ac_ext <<_ACEOF
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11454 char g15r_initCanvas ();
11458 return g15r_initCanvas ();
11463 rm -f conftest.$ac_objext conftest$ac_exeext
11464 if { (ac_try="$ac_link"
11465 case "(($ac_try" in
11466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11467 *) ac_try_echo
=$ac_try;;
11469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11470 (eval "$ac_link") 2>conftest.er1
11472 grep -v '^ *+' conftest.er1
>conftest.err
11474 cat conftest.err
>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); } && {
11477 test -z "$ac_c_werror_flag" ||
11478 test ! -s conftest.err
11479 } && test -s conftest
$ac_exeext &&
11480 $as_test_x conftest
$ac_exeext; then
11481 ac_cv_lib_g15render_g15r_initCanvas
=yes
11483 echo "$as_me: failed program was:" >&5
11484 sed 's/^/| /' conftest.
$ac_ext >&5
11486 ac_cv_lib_g15render_g15r_initCanvas
=no
11489 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11490 conftest
$ac_exeext conftest.
$ac_ext
11491 LIBS
=$ac_check_lib_save_LIBS
11493 { echo "$as_me:$LINENO: result: $ac_cv_lib_g15render_g15r_initCanvas" >&5
11494 echo "${ECHO_T}$ac_cv_lib_g15render_g15r_initCanvas" >&6; }
11495 if test $ac_cv_lib_g15render_g15r_initCanvas = yes; then
11497 LIBG15
="$LIBG15 -lg15render"
11498 DRIVERS
="$DRIVERS g15${SO}"
11499 actdrivers
="$actdrivers g15"
11503 { echo "$as_me:$LINENO: WARNING: the g15 driver needs libg15render" >&5
11504 echo "$as_me: WARNING: the g15 driver needs libg15render" >&2;}
11511 { echo "$as_me:$LINENO: WARNING: The g15driver needs libg15render.h" >&5
11512 echo "$as_me: WARNING: The g15driver needs libg15render.h" >&2;}
11521 for ac_header
in glcdproclib
/glcdprocdriver.h
11523 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11524 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11525 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11527 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11528 echo $ECHO_N "(cached) $ECHO_C" >&6
11530 ac_res
=`eval echo '${'$as_ac_Header'}'`
11531 { echo "$as_me:$LINENO: result: $ac_res" >&5
11532 echo "${ECHO_T}$ac_res" >&6; }
11534 # Is the header compilable?
11535 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11537 cat >conftest.
$ac_ext <<_ACEOF
11540 cat confdefs.h
>>conftest.
$ac_ext
11541 cat >>conftest.
$ac_ext <<_ACEOF
11542 /* end confdefs.h. */
11543 $ac_includes_default
11544 #include <$ac_header>
11546 rm -f conftest.
$ac_objext
11547 if { (ac_try
="$ac_compile"
11548 case "(($ac_try" in
11549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11550 *) ac_try_echo=$ac_try;;
11552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11553 (eval "$ac_compile") 2>conftest.er1
11555 grep -v '^ *+' conftest.er1 >conftest.err
11557 cat conftest.err >&5
11558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); } && {
11560 test -z "$ac_c_werror_flag" ||
11561 test ! -s conftest.err
11562 } && test -s conftest.$ac_objext; then
11563 ac_header_compiler=yes
11565 echo "$as_me: failed program was:" >&5
11566 sed 's/^/| /' conftest.$ac_ext >&5
11568 ac_header_compiler=no
11571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11572 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11573 echo "${ECHO_T}$ac_header_compiler" >&6; }
11575 # Is the header present?
11576 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11578 cat >conftest.$ac_ext <<_ACEOF
11581 cat confdefs.h >>conftest.$ac_ext
11582 cat >>conftest.$ac_ext <<_ACEOF
11583 /* end confdefs.h. */
11584 #include <$ac_header>
11586 if { (ac_try="$ac_cpp conftest.$ac_ext"
11587 case "(($ac_try" in
11588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11589 *) ac_try_echo
=$ac_try;;
11591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11594 grep -v '^ *+' conftest.er1
>conftest.err
11596 cat conftest.err
>&5
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); } >/dev
/null
&& {
11599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11600 test ! -s conftest.err
11602 ac_header_preproc
=yes
11604 echo "$as_me: failed program was:" >&5
11605 sed 's/^/| /' conftest.
$ac_ext >&5
11607 ac_header_preproc
=no
11610 rm -f conftest.err conftest.
$ac_ext
11611 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11612 echo "${ECHO_T}$ac_header_preproc" >&6; }
11614 # So? What about this header?
11615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11621 ac_header_preproc
=yes
11624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11637 ## ------------------------------------------- ##
11638 ## Report this to lcdproc@lists.omnipotent.net ##
11639 ## ------------------------------------------- ##
11641 ) |
sed "s/^/$as_me: WARNING: /" >&2
11644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11646 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11647 echo $ECHO_N "(cached) $ECHO_C" >&6
11649 eval "$as_ac_Header=\$ac_header_preproc"
11651 ac_res
=`eval echo '${'$as_ac_Header'}'`
11652 { echo "$as_me:$LINENO: result: $ac_res" >&5
11653 echo "${ECHO_T}$ac_res" >&6; }
11656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11657 cat >>confdefs.h
<<_ACEOF
11658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11661 { echo "$as_me:$LINENO: checking for main in -lglcdprocdriver" >&5
11662 echo $ECHO_N "checking for main in -lglcdprocdriver... $ECHO_C" >&6; }
11663 if test "${ac_cv_lib_glcdprocdriver_main+set}" = set; then
11664 echo $ECHO_N "(cached) $ECHO_C" >&6
11666 ac_check_lib_save_LIBS
=$LIBS
11667 LIBS
="-lglcdprocdriver -lglcddrivers -lglcdgraphics -lglcdprocdriver
11669 cat >conftest.
$ac_ext <<_ACEOF
11672 cat confdefs.h
>>conftest.
$ac_ext
11673 cat >>conftest.
$ac_ext <<_ACEOF
11674 /* end confdefs.h. */
11685 rm -f conftest.
$ac_objext conftest
$ac_exeext
11686 if { (ac_try
="$ac_link"
11687 case "(($ac_try" in
11688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11689 *) ac_try_echo=$ac_try;;
11691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11692 (eval "$ac_link") 2>conftest.er1
11694 grep -v '^ *+' conftest.er1 >conftest.err
11696 cat conftest.err >&5
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); } && {
11699 test -z "$ac_c_werror_flag" ||
11700 test ! -s conftest.err
11701 } && test -s conftest$ac_exeext &&
11702 $as_test_x conftest$ac_exeext; then
11703 ac_cv_lib_glcdprocdriver_main=yes
11705 echo "$as_me: failed program was:" >&5
11706 sed 's/^/| /' conftest.$ac_ext >&5
11708 ac_cv_lib_glcdprocdriver_main=no
11711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11712 conftest$ac_exeext conftest.$ac_ext
11713 LIBS=$ac_check_lib_save_LIBS
11715 { echo "$as_me:$LINENO: result: $ac_cv_lib_glcdprocdriver_main" >&5
11716 echo "${ECHO_T}$ac_cv_lib_glcdprocdriver_main" >&6; }
11717 if test $ac_cv_lib_glcdprocdriver_main = yes; then
11719 LIBGLCD="-lglcddrivers -lglcdgraphics -lglcdprocdriver"
11720 DRIVERS="$DRIVERS glcdlib${SO}"
11721 actdrivers="$actdrivers glcdlib"
11725 { echo "$as_me:$LINENO: WARNING: The glcdlib driver needs the glcdprocdriver library" >&5
11726 echo "$as_me: WARNING: The glcdlib driver needs the glcdprocdriver library" >&2;}
11733 { echo "$as_me:$LINENO: WARNING: The glcdlib driver needs glcdproclib/glcdprocdriver.h" >&5
11734 echo "$as_me: WARNING: The glcdlib driver needs glcdproclib/glcdprocdriver.h" >&2;}
11742 DRIVERS="$DRIVERS glk${SO}"
11743 actdrivers="$actdrivers glk"
11746 HD44780_DRIVERS="hd44780-hd44780-serial.o hd44780-hd44780-lis2.o"
11747 if test "$ac_cv_port_have_lpt" = yes ; then
11748 HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-4bit.o hd44780-hd44780-ext8bit.o hd44780-lcd_sem.o hd44780-hd44780-winamp.o hd44780-hd44780-serialLpt.o"
11750 if test "$enable_libusb" = yes ; then
11751 HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-bwct-usb.o hd44780-hd44780-lcd2usb.o"
11753 if test "${ac_cv_header_linux_i2c_dev_h+set}" = set; then
11754 { echo "$as_me:$LINENO: checking for linux/i2c-dev.h" >&5
11755 echo $ECHO_N "checking for linux/i2c-dev.h... $ECHO_C" >&6; }
11756 if test "${ac_cv_header_linux_i2c_dev_h+set}" = set; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_i2c_dev_h" >&5
11760 echo "${ECHO_T}$ac_cv_header_linux_i2c_dev_h" >&6; }
11762 # Is the header compilable?
11763 { echo "$as_me:$LINENO: checking linux/i2c-dev.h usability" >&5
11764 echo $ECHO_N "checking linux/i2c-dev.h usability... $ECHO_C" >&6; }
11765 cat >conftest.$ac_ext <<_ACEOF
11768 cat confdefs.h >>conftest.$ac_ext
11769 cat >>conftest.$ac_ext <<_ACEOF
11770 /* end confdefs.h. */
11771 $ac_includes_default
11772 #include <linux/i2c-dev.h>
11774 rm -f conftest.$ac_objext
11775 if { (ac_try="$ac_compile"
11776 case "(($ac_try" in
11777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11778 *) ac_try_echo
=$ac_try;;
11780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11781 (eval "$ac_compile") 2>conftest.er1
11783 grep -v '^ *+' conftest.er1
>conftest.err
11785 cat conftest.err
>&5
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); } && {
11788 test -z "$ac_c_werror_flag" ||
11789 test ! -s conftest.err
11790 } && test -s conftest.
$ac_objext; then
11791 ac_header_compiler
=yes
11793 echo "$as_me: failed program was:" >&5
11794 sed 's/^/| /' conftest.
$ac_ext >&5
11796 ac_header_compiler
=no
11799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11800 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11801 echo "${ECHO_T}$ac_header_compiler" >&6; }
11803 # Is the header present?
11804 { echo "$as_me:$LINENO: checking linux/i2c-dev.h presence" >&5
11805 echo $ECHO_N "checking linux/i2c-dev.h presence... $ECHO_C" >&6; }
11806 cat >conftest.
$ac_ext <<_ACEOF
11809 cat confdefs.h
>>conftest.
$ac_ext
11810 cat >>conftest.
$ac_ext <<_ACEOF
11811 /* end confdefs.h. */
11812 #include <linux/i2c-dev.h>
11814 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11815 case "(($ac_try" in
11816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11817 *) ac_try_echo=$ac_try;;
11819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11820 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11822 grep -v '^ *+' conftest.er1 >conftest.err
11824 cat conftest.err >&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); } >/dev/null && {
11827 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11828 test ! -s conftest.err
11830 ac_header_preproc=yes
11832 echo "$as_me: failed program was:" >&5
11833 sed 's/^/| /' conftest.$ac_ext >&5
11835 ac_header_preproc=no
11838 rm -f conftest.err conftest.$ac_ext
11839 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11840 echo "${ECHO_T}$ac_header_preproc" >&6; }
11842 # So? What about this header?
11843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11845 { echo "$as_me:$LINENO: WARNING: linux/i2c-dev.h: accepted by the compiler, rejected by the preprocessor!" >&5
11846 echo "$as_me: WARNING: linux/i2c-dev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11847 { echo "$as_me:$LINENO: WARNING: linux/i2c-dev.h: proceeding with the compiler's result" >&5
11848 echo "$as_me: WARNING: linux/i2c-dev.h: proceeding with the compiler's result" >&2;}
11849 ac_header_preproc=yes
11852 { echo "$as_me:$LINENO: WARNING: linux/i2c-dev.h: present but cannot be compiled" >&5
11853 echo "$as_me: WARNING: linux/i2c-dev.h: present but cannot be compiled" >&2;}
11854 { echo "$as_me:$LINENO: WARNING: linux/i2c-dev.h: check for missing prerequisite headers?" >&5
11855 echo "$as_me: WARNING: linux/i2c-dev.h: check for missing prerequisite headers?" >&2;}
11856 { echo "$as_me:$LINENO: WARNING: linux/i2c-dev.h: see the Autoconf documentation" >&5
11857 echo "$as_me: WARNING: linux/i2c-dev.h: see the Autoconf documentation" >&2;}
11858 { echo "$as_me:$LINENO: WARNING: linux/i2c-dev.h: section \"Present But Cannot Be Compiled\"" >&5
11859 echo "$as_me: WARNING: linux/i2c-dev.h: section \"Present But Cannot Be Compiled\"" >&2;}
11860 { echo "$as_me:$LINENO: WARNING: linux/i2c-dev.h: proceeding with the preprocessor's result" >&5
11861 echo "$as_me: WARNING: linux/i2c-dev.h: proceeding with the preprocessor's result" >&2;}
11862 { echo "$as_me:$LINENO: WARNING: linux/i2c-dev.h: in the future, the compiler will take precedence" >&5
11863 echo "$as_me: WARNING: linux/i2c-dev.h: in the future, the compiler will take precedence" >&2;}
11865 ## ------------------------------------------- ##
11866 ## Report this to lcdproc@lists.omnipotent.net ##
11867 ## ------------------------------------------- ##
11869 ) | sed "s/^/$as_me: WARNING: /" >&2
11872 { echo "$as_me:$LINENO: checking for linux/i2c-dev.h" >&5
11873 echo $ECHO_N "checking for linux/i2c-dev.h... $ECHO_C" >&6; }
11874 if test "${ac_cv_header_linux_i2c_dev_h+set}" = set; then
11875 echo $ECHO_N "(cached) $ECHO_C" >&6
11877 ac_cv_header_linux_i2c_dev_h=$ac_header_preproc
11879 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_i2c_dev_h" >&5
11880 echo "${ECHO_T}$ac_cv_header_linux_i2c_dev_h" >&6; }
11883 if test $ac_cv_header_linux_i2c_dev_h = yes; then
11884 HD44780_DRIVERS="$HD44780_DRIVERS hd44780-i2c.o"
11886 cat >>confdefs.h <<\_ACEOF
11894 DRIVERS="$DRIVERS hd44780${SO}"
11895 actdrivers="$actdrivers hd44780"
11898 DRIVERS="$DRIVERS icp_a106${SO}"
11899 actdrivers="$actdrivers icp_a106"
11902 DRIVERS="$DRIVERS imon${SO}"
11903 actdrivers="$actdrivers imon"
11906 if test "$enable_libusb" = yes ; then
11907 DRIVERS="$DRIVERS IOWarrior${SO}"
11908 actdrivers="$actdrivers IOWarrior"
11910 { echo "$as_me:$LINENO: WARNING: The IOWarrior driver needs the libusb library." >&5
11911 echo "$as_me: WARNING: The IOWarrior driver needs the libusb library." >&2;}
11915 { echo "$as_me:$LINENO: checking for main in -lirman" >&5
11916 echo $ECHO_N "checking for main in -lirman... $ECHO_C" >&6; }
11917 if test "${ac_cv_lib_irman_main+set}" = set; then
11918 echo $ECHO_N "(cached) $ECHO_C" >&6
11920 ac_check_lib_save_LIBS=$LIBS
11921 LIBS="-lirman $LIBS"
11922 cat >conftest.$ac_ext <<_ACEOF
11925 cat confdefs.h >>conftest.$ac_ext
11926 cat >>conftest.$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11938 rm -f conftest.$ac_objext conftest$ac_exeext
11939 if { (ac_try="$ac_link"
11940 case "(($ac_try" in
11941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11942 *) ac_try_echo
=$ac_try;;
11944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11945 (eval "$ac_link") 2>conftest.er1
11947 grep -v '^ *+' conftest.er1
>conftest.err
11949 cat conftest.err
>&5
11950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } && {
11952 test -z "$ac_c_werror_flag" ||
11953 test ! -s conftest.err
11954 } && test -s conftest
$ac_exeext &&
11955 $as_test_x conftest
$ac_exeext; then
11956 ac_cv_lib_irman_main
=yes
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.
$ac_ext >&5
11961 ac_cv_lib_irman_main
=no
11964 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11965 conftest
$ac_exeext conftest.
$ac_ext
11966 LIBS
=$ac_check_lib_save_LIBS
11968 { echo "$as_me:$LINENO: result: $ac_cv_lib_irman_main" >&5
11969 echo "${ECHO_T}$ac_cv_lib_irman_main" >&6; }
11970 if test $ac_cv_lib_irman_main = yes; then
11973 DRIVERS
="$DRIVERS irman${SO}"
11974 actdrivers
="$actdrivers irman"
11978 { echo "$as_me:$LINENO: WARNING: The irman driver needs the irman library." >&5
11979 echo "$as_me: WARNING: The irman driver needs the irman library." >&2;}
11985 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
11986 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
11987 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
11988 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
11989 echo $ECHO_N "(cached) $ECHO_C" >&6
11991 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
11992 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
11994 # Is the header compilable?
11995 { echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
11996 echo $ECHO_N "checking linux/joystick.h usability... $ECHO_C" >&6; }
11997 cat >conftest.
$ac_ext <<_ACEOF
12000 cat confdefs.h
>>conftest.
$ac_ext
12001 cat >>conftest.
$ac_ext <<_ACEOF
12002 /* end confdefs.h. */
12003 $ac_includes_default
12004 #include <linux/joystick.h>
12006 rm -f conftest.
$ac_objext
12007 if { (ac_try
="$ac_compile"
12008 case "(($ac_try" in
12009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12010 *) ac_try_echo=$ac_try;;
12012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12013 (eval "$ac_compile") 2>conftest.er1
12015 grep -v '^ *+' conftest.er1 >conftest.err
12017 cat conftest.err >&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); } && {
12020 test -z "$ac_c_werror_flag" ||
12021 test ! -s conftest.err
12022 } && test -s conftest.$ac_objext; then
12023 ac_header_compiler=yes
12025 echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.$ac_ext >&5
12028 ac_header_compiler=no
12031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12032 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12033 echo "${ECHO_T}$ac_header_compiler" >&6; }
12035 # Is the header present?
12036 { echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
12037 echo $ECHO_N "checking linux/joystick.h presence... $ECHO_C" >&6; }
12038 cat >conftest.$ac_ext <<_ACEOF
12041 cat confdefs.h >>conftest.$ac_ext
12042 cat >>conftest.$ac_ext <<_ACEOF
12043 /* end confdefs.h. */
12044 #include <linux/joystick.h>
12046 if { (ac_try="$ac_cpp conftest.$ac_ext"
12047 case "(($ac_try" in
12048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12049 *) ac_try_echo
=$ac_try;;
12051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12054 grep -v '^ *+' conftest.er1
>conftest.err
12056 cat conftest.err
>&5
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); } >/dev
/null
&& {
12059 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12060 test ! -s conftest.err
12062 ac_header_preproc
=yes
12064 echo "$as_me: failed program was:" >&5
12065 sed 's/^/| /' conftest.
$ac_ext >&5
12067 ac_header_preproc
=no
12070 rm -f conftest.err conftest.
$ac_ext
12071 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12072 echo "${ECHO_T}$ac_header_preproc" >&6; }
12074 # So? What about this header?
12075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12077 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
12078 echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12079 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
12080 echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
12081 ac_header_preproc
=yes
12084 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
12085 echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
12086 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&5
12087 echo "$as_me: WARNING: linux/joystick.h: check for missing prerequisite headers?" >&2;}
12088 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
12089 echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
12090 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&5
12091 echo "$as_me: WARNING: linux/joystick.h: section \"Present But Cannot Be Compiled\"" >&2;}
12092 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
12093 echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
12094 { echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
12095 echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
12097 ## ------------------------------------------- ##
12098 ## Report this to lcdproc@lists.omnipotent.net ##
12099 ## ------------------------------------------- ##
12101 ) |
sed "s/^/$as_me: WARNING: /" >&2
12104 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
12105 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
12106 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 ac_cv_header_linux_joystick_h
=$ac_header_preproc
12111 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
12112 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
12115 if test $ac_cv_header_linux_joystick_h = yes; then
12117 DRIVERS
="$DRIVERS joy${SO}"
12118 actdrivers
="$actdrivers joy"
12122 { echo "$as_me:$LINENO: WARNING: The joy driver needs header file linux/joystick.h." >&5
12123 echo "$as_me: WARNING: The joy driver needs header file linux/joystick.h." >&2;}
12130 DRIVERS
="$DRIVERS lb216${SO}"
12131 actdrivers
="$actdrivers lb216"
12134 DRIVERS
="$DRIVERS lcdm001${SO}"
12135 actdrivers
="$actdrivers lcdm001"
12138 DRIVERS
="$DRIVERS lcterm${SO}"
12139 actdrivers
="$actdrivers lcterm"
12142 { echo "$as_me:$LINENO: checking for main in -llirc_client" >&5
12143 echo $ECHO_N "checking for main in -llirc_client... $ECHO_C" >&6; }
12144 if test "${ac_cv_lib_lirc_client_main+set}" = set; then
12145 echo $ECHO_N "(cached) $ECHO_C" >&6
12147 ac_check_lib_save_LIBS
=$LIBS
12148 LIBS
="-llirc_client $LIBS"
12149 cat >conftest.
$ac_ext <<_ACEOF
12152 cat confdefs.h
>>conftest.
$ac_ext
12153 cat >>conftest.
$ac_ext <<_ACEOF
12154 /* end confdefs.h. */
12165 rm -f conftest.
$ac_objext conftest
$ac_exeext
12166 if { (ac_try
="$ac_link"
12167 case "(($ac_try" in
12168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12169 *) ac_try_echo=$ac_try;;
12171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12172 (eval "$ac_link") 2>conftest.er1
12174 grep -v '^ *+' conftest.er1 >conftest.err
12176 cat conftest.err >&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } && {
12179 test -z "$ac_c_werror_flag" ||
12180 test ! -s conftest.err
12181 } && test -s conftest$ac_exeext &&
12182 $as_test_x conftest$ac_exeext; then
12183 ac_cv_lib_lirc_client_main=yes
12185 echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12188 ac_cv_lib_lirc_client_main=no
12191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12192 conftest$ac_exeext conftest.$ac_ext
12193 LIBS=$ac_check_lib_save_LIBS
12195 { echo "$as_me:$LINENO: result: $ac_cv_lib_lirc_client_main" >&5
12196 echo "${ECHO_T}$ac_cv_lib_lirc_client_main" >&6; }
12197 if test $ac_cv_lib_lirc_client_main = yes; then
12199 LIBLIRC_CLIENT="-llirc_client"
12200 DRIVERS="$DRIVERS lirc${SO}"
12201 actdrivers="$actdrivers lirc"
12205 { echo "$as_me:$LINENO: WARNING: The lirc driver needs the lirc client library" >&5
12206 echo "$as_me: WARNING: The lirc driver needs the lirc client library" >&2;}
12212 DRIVERS="$DRIVERS MD8800${SO}"
12213 actdrivers="$actdrivers MD8800"
12216 DRIVERS="$DRIVERS ms6931${SO}"
12217 actdrivers="$actdrivers ms6931"
12220 DRIVERS="$DRIVERS mtc_s16209x${SO}"
12221 actdrivers="$actdrivers mtc_s16209x"
12224 DRIVERS="$DRIVERS MtxOrb${SO}"
12225 actdrivers="$actdrivers MtxOrb"
12228 DRIVERS="$DRIVERS NoritakeVFD${SO}"
12229 actdrivers="$actdrivers NoritakeVFD"
12233 for ac_header in usblcd.h
12235 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12236 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12237 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12240 echo $ECHO_N "(cached) $ECHO_C" >&6
12242 ac_res=`eval echo '${'$as_ac_Header'}'`
12243 { echo "$as_me:$LINENO: result: $ac_res" >&5
12244 echo "${ECHO_T}$ac_res" >&6; }
12246 # Is the header compilable?
12247 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12249 cat >conftest.$ac_ext <<_ACEOF
12252 cat confdefs.h >>conftest.$ac_ext
12253 cat >>conftest.$ac_ext <<_ACEOF
12254 /* end confdefs.h. */
12255 $ac_includes_default
12256 #include <$ac_header>
12258 rm -f conftest.$ac_objext
12259 if { (ac_try="$ac_compile"
12260 case "(($ac_try" in
12261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12262 *) ac_try_echo
=$ac_try;;
12264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12265 (eval "$ac_compile") 2>conftest.er1
12267 grep -v '^ *+' conftest.er1
>conftest.err
12269 cat conftest.err
>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } && {
12272 test -z "$ac_c_werror_flag" ||
12273 test ! -s conftest.err
12274 } && test -s conftest.
$ac_objext; then
12275 ac_header_compiler
=yes
12277 echo "$as_me: failed program was:" >&5
12278 sed 's/^/| /' conftest.
$ac_ext >&5
12280 ac_header_compiler
=no
12283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12284 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12285 echo "${ECHO_T}$ac_header_compiler" >&6; }
12287 # Is the header present?
12288 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12290 cat >conftest.
$ac_ext <<_ACEOF
12293 cat confdefs.h
>>conftest.
$ac_ext
12294 cat >>conftest.
$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12296 #include <$ac_header>
12298 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12299 case "(($ac_try" in
12300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12301 *) ac_try_echo=$ac_try;;
12303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12304 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12306 grep -v '^ *+' conftest.er1 >conftest.err
12308 cat conftest.err >&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); } >/dev/null && {
12311 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12312 test ! -s conftest.err
12314 ac_header_preproc=yes
12316 echo "$as_me: failed program was:" >&5
12317 sed 's/^/| /' conftest.$ac_ext >&5
12319 ac_header_preproc=no
12322 rm -f conftest.err conftest.$ac_ext
12323 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12324 echo "${ECHO_T}$ac_header_preproc" >&6; }
12326 # So? What about this header?
12327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12333 ac_header_preproc=yes
12336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12349 ## ------------------------------------------- ##
12350 ## Report this to lcdproc@lists.omnipotent.net ##
12351 ## ------------------------------------------- ##
12353 ) | sed "s/^/$as_me: WARNING: /" >&2
12356 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12359 echo $ECHO_N "(cached) $ECHO_C" >&6
12361 eval "$as_ac_Header=\$ac_header_preproc"
12363 ac_res=`eval echo '${'$as_ac_Header'}'`
12364 { echo "$as_me:$LINENO: result: $ac_res" >&5
12365 echo "${ECHO_T}$ac_res" >&6; }
12368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12369 cat >>confdefs.h <<_ACEOF
12370 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12373 { echo "$as_me:$LINENO: checking for main in -lusblcd" >&5
12374 echo $ECHO_N "checking for main in -lusblcd... $ECHO_C" >&6; }
12375 if test "${ac_cv_lib_usblcd_main+set}" = set; then
12376 echo $ECHO_N "(cached) $ECHO_C" >&6
12378 ac_check_lib_save_LIBS=$LIBS
12379 LIBS="-lusblcd -lusblcd
12381 cat >conftest.$ac_ext <<_ACEOF
12384 cat confdefs.h >>conftest.$ac_ext
12385 cat >>conftest.$ac_ext <<_ACEOF
12386 /* end confdefs.h. */
12397 rm -f conftest.$ac_objext conftest$ac_exeext
12398 if { (ac_try="$ac_link"
12399 case "(($ac_try" in
12400 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12401 *) ac_try_echo
=$ac_try;;
12403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12404 (eval "$ac_link") 2>conftest.er1
12406 grep -v '^ *+' conftest.er1
>conftest.err
12408 cat conftest.err
>&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); } && {
12411 test -z "$ac_c_werror_flag" ||
12412 test ! -s conftest.err
12413 } && test -s conftest
$ac_exeext &&
12414 $as_test_x conftest
$ac_exeext; then
12415 ac_cv_lib_usblcd_main
=yes
12417 echo "$as_me: failed program was:" >&5
12418 sed 's/^/| /' conftest.
$ac_ext >&5
12420 ac_cv_lib_usblcd_main
=no
12423 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12424 conftest
$ac_exeext conftest.
$ac_ext
12425 LIBS
=$ac_check_lib_save_LIBS
12427 { echo "$as_me:$LINENO: result: $ac_cv_lib_usblcd_main" >&5
12428 echo "${ECHO_T}$ac_cv_lib_usblcd_main" >&6; }
12429 if test $ac_cv_lib_usblcd_main = yes; then
12431 LIBUSBLCD
="-lusblcd"
12432 DRIVERS
="$DRIVERS picolcd${SO}"
12433 actdrivers
="$actdrivers picolcd"
12437 { echo "$as_me:$LINENO: WARNING: The picolcd driver needs the usblcd library" >&5
12438 echo "$as_me: WARNING: The picolcd driver needs the usblcd library" >&2;}
12445 { echo "$as_me:$LINENO: WARNING: The picolcd driver needs widgets.h, usblcd.h and usblcd_util.h from the usblcd package" >&5
12446 echo "$as_me: WARNING: The picolcd driver needs widgets.h, usblcd.h and usblcd_util.h from the usblcd package" >&2;}
12454 DRIVERS
="$DRIVERS pyramid${SO}"
12455 actdrivers
="$actdrivers pyramid"
12458 if test "$ac_cv_port_have_lpt" = yes
12460 DRIVERS
="$DRIVERS sed1330${SO}"
12461 actdrivers
="$actdrivers sed1330"
12463 { echo "$as_me:$LINENO: WARNING: The sed1330 driver needs a parallel port." >&5
12464 echo "$as_me: WARNING: The sed1330 driver needs a parallel port." >&2;}
12468 if test "$ac_cv_port_have_lpt" = yes
12470 DRIVERS
="$DRIVERS sed1520${SO}"
12471 actdrivers
="$actdrivers sed1520"
12473 { echo "$as_me:$LINENO: WARNING: The sed1520 driver needs a parallel port." >&5
12474 echo "$as_me: WARNING: The sed1520 driver needs a parallel port." >&2;}
12478 DRIVERS
="$DRIVERS serialPOS${SO}"
12479 actdrivers
="$actdrivers serialPOS"
12482 DRIVERS
="$DRIVERS serialVFD${SO}"
12483 actdrivers
="$actdrivers serialVFD"
12486 DRIVERS
="$DRIVERS sli${SO}"
12487 actdrivers
="$actdrivers sli"
12490 if test "$ac_cv_port_have_lpt" = yes
12492 DRIVERS
="$DRIVERS stv5730${SO}"
12493 actdrivers
="$actdrivers stv5730"
12495 { echo "$as_me:$LINENO: WARNING: The stv5730 driver needs a parallel port." >&5
12496 echo "$as_me: WARNING: The stv5730 driver needs a parallel port." >&2;}
12502 for ac_header
in vga.h vgagl.h
12504 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12505 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12508 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12509 echo $ECHO_N "(cached) $ECHO_C" >&6
12511 ac_res
=`eval echo '${'$as_ac_Header'}'`
12512 { echo "$as_me:$LINENO: result: $ac_res" >&5
12513 echo "${ECHO_T}$ac_res" >&6; }
12515 # Is the header compilable?
12516 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12517 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12518 cat >conftest.
$ac_ext <<_ACEOF
12521 cat confdefs.h
>>conftest.
$ac_ext
12522 cat >>conftest.
$ac_ext <<_ACEOF
12523 /* end confdefs.h. */
12524 $ac_includes_default
12525 #include <$ac_header>
12527 rm -f conftest.
$ac_objext
12528 if { (ac_try
="$ac_compile"
12529 case "(($ac_try" in
12530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12531 *) ac_try_echo=$ac_try;;
12533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12534 (eval "$ac_compile") 2>conftest.er1
12536 grep -v '^ *+' conftest.er1 >conftest.err
12538 cat conftest.err >&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); } && {
12541 test -z "$ac_c_werror_flag" ||
12542 test ! -s conftest.err
12543 } && test -s conftest.$ac_objext; then
12544 ac_header_compiler=yes
12546 echo "$as_me: failed program was:" >&5
12547 sed 's/^/| /' conftest.$ac_ext >&5
12549 ac_header_compiler=no
12552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12553 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12554 echo "${ECHO_T}$ac_header_compiler" >&6; }
12556 # Is the header present?
12557 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12559 cat >conftest.$ac_ext <<_ACEOF
12562 cat confdefs.h >>conftest.$ac_ext
12563 cat >>conftest.$ac_ext <<_ACEOF
12564 /* end confdefs.h. */
12565 #include <$ac_header>
12567 if { (ac_try="$ac_cpp conftest.$ac_ext"
12568 case "(($ac_try" in
12569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12570 *) ac_try_echo
=$ac_try;;
12572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12575 grep -v '^ *+' conftest.er1
>conftest.err
12577 cat conftest.err
>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } >/dev
/null
&& {
12580 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12581 test ! -s conftest.err
12583 ac_header_preproc
=yes
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.
$ac_ext >&5
12588 ac_header_preproc
=no
12591 rm -f conftest.err conftest.
$ac_ext
12592 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12593 echo "${ECHO_T}$ac_header_preproc" >&6; }
12595 # So? What about this header?
12596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12598 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12599 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12601 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12602 ac_header_preproc
=yes
12605 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12606 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12607 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12608 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12609 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12610 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12611 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12612 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12615 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12616 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12618 ## ------------------------------------------- ##
12619 ## Report this to lcdproc@lists.omnipotent.net ##
12620 ## ------------------------------------------- ##
12622 ) |
sed "s/^/$as_me: WARNING: /" >&2
12625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12627 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12628 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 eval "$as_ac_Header=\$ac_header_preproc"
12632 ac_res
=`eval echo '${'$as_ac_Header'}'`
12633 { echo "$as_me:$LINENO: result: $ac_res" >&5
12634 echo "${ECHO_T}$ac_res" >&6; }
12637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12638 cat >>confdefs.h
<<_ACEOF
12639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12642 { echo "$as_me:$LINENO: checking for main in -lvga" >&5
12643 echo $ECHO_N "checking for main in -lvga... $ECHO_C" >&6; }
12644 if test "${ac_cv_lib_vga_main+set}" = set; then
12645 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 ac_check_lib_save_LIBS
=$LIBS
12649 cat >conftest.
$ac_ext <<_ACEOF
12652 cat confdefs.h
>>conftest.
$ac_ext
12653 cat >>conftest.
$ac_ext <<_ACEOF
12654 /* end confdefs.h. */
12665 rm -f conftest.
$ac_objext conftest
$ac_exeext
12666 if { (ac_try
="$ac_link"
12667 case "(($ac_try" in
12668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12669 *) ac_try_echo=$ac_try;;
12671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12672 (eval "$ac_link") 2>conftest.er1
12674 grep -v '^ *+' conftest.er1 >conftest.err
12676 cat conftest.err >&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); } && {
12679 test -z "$ac_c_werror_flag" ||
12680 test ! -s conftest.err
12681 } && test -s conftest$ac_exeext &&
12682 $as_test_x conftest$ac_exeext; then
12683 ac_cv_lib_vga_main=yes
12685 echo "$as_me: failed program was:" >&5
12686 sed 's/^/| /' conftest.$ac_ext >&5
12688 ac_cv_lib_vga_main=no
12691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12692 conftest$ac_exeext conftest.$ac_ext
12693 LIBS=$ac_check_lib_save_LIBS
12695 { echo "$as_me:$LINENO: result: $ac_cv_lib_vga_main" >&5
12696 echo "${ECHO_T}$ac_cv_lib_vga_main" >&6; }
12697 if test $ac_cv_lib_vga_main = yes; then
12699 LIBSVGA="-lvga -lvgagl"
12700 DRIVERS="$DRIVERS svga${SO}"
12701 actdrivers="$actdrivers svga"
12705 { echo "$as_me:$LINENO: WARNING: The svga driver needs the vga library" >&5
12706 echo "$as_me: WARNING: The svga driver needs the vga library" >&2;}
12713 { echo "$as_me:$LINENO: WARNING: The svga driver needs vga.h and vgagl.h" >&5
12714 echo "$as_me: WARNING: The svga driver needs vga.h and vgagl.h" >&2;}
12722 if test "$ac_cv_port_have_lpt" = yes
12724 DRIVERS="$DRIVERS t6963${SO}"
12725 actdrivers="$actdrivers t6963"
12727 { echo "$as_me:$LINENO: WARNING: The sed1330 driver needs a parallel port." >&5
12728 echo "$as_me: WARNING: The sed1330 driver needs a parallel port." >&2;}
12732 DRIVERS="$DRIVERS text${SO}"
12733 actdrivers="$actdrivers text"
12736 DRIVERS="$DRIVERS tyan${SO}"
12737 actdrivers="$actdrivers tyan"
12742 for ac_header in usb.h ftdi.h
12744 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12746 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12749 echo $ECHO_N "(cached) $ECHO_C" >&6
12751 ac_res=`eval echo '${'$as_ac_Header'}'`
12752 { echo "$as_me:$LINENO: result: $ac_res" >&5
12753 echo "${ECHO_T}$ac_res" >&6; }
12755 # Is the header compilable?
12756 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12757 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12758 cat >conftest.$ac_ext <<_ACEOF
12761 cat confdefs.h >>conftest.$ac_ext
12762 cat >>conftest.$ac_ext <<_ACEOF
12763 /* end confdefs.h. */
12764 $ac_includes_default
12765 #include <$ac_header>
12767 rm -f conftest.$ac_objext
12768 if { (ac_try="$ac_compile"
12769 case "(($ac_try" in
12770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12771 *) ac_try_echo
=$ac_try;;
12773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12774 (eval "$ac_compile") 2>conftest.er1
12776 grep -v '^ *+' conftest.er1
>conftest.err
12778 cat conftest.err
>&5
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); } && {
12781 test -z "$ac_c_werror_flag" ||
12782 test ! -s conftest.err
12783 } && test -s conftest.
$ac_objext; then
12784 ac_header_compiler
=yes
12786 echo "$as_me: failed program was:" >&5
12787 sed 's/^/| /' conftest.
$ac_ext >&5
12789 ac_header_compiler
=no
12792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12793 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12794 echo "${ECHO_T}$ac_header_compiler" >&6; }
12796 # Is the header present?
12797 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12799 cat >conftest.
$ac_ext <<_ACEOF
12802 cat confdefs.h
>>conftest.
$ac_ext
12803 cat >>conftest.
$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805 #include <$ac_header>
12807 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12808 case "(($ac_try" in
12809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12810 *) ac_try_echo=$ac_try;;
12812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12815 grep -v '^ *+' conftest.er1 >conftest.err
12817 cat conftest.err >&5
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); } >/dev/null && {
12820 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12821 test ! -s conftest.err
12823 ac_header_preproc=yes
12825 echo "$as_me: failed program was:" >&5
12826 sed 's/^/| /' conftest.$ac_ext >&5
12828 ac_header_preproc=no
12831 rm -f conftest.err conftest.$ac_ext
12832 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12833 echo "${ECHO_T}$ac_header_preproc" >&6; }
12835 # So? What about this header?
12836 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12838 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12839 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12841 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12842 ac_header_preproc=yes
12845 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12846 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12847 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12848 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12849 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12850 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12851 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12852 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12854 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12855 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12856 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12858 ## ------------------------------------------- ##
12859 ## Report this to lcdproc@lists.omnipotent.net ##
12860 ## ------------------------------------------- ##
12862 ) | sed "s/^/$as_me: WARNING: /" >&2
12865 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12870 eval "$as_ac_Header=\$ac_header_preproc"
12872 ac_res=`eval echo '${'$as_ac_Header'}'`
12873 { echo "$as_me:$LINENO: result: $ac_res" >&5
12874 echo "${ECHO_T}$ac_res" >&6; }
12877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12878 cat >>confdefs.h <<_ACEOF
12879 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12882 { echo "$as_me:$LINENO: checking for ftdi_set_line_property in -lftdi" >&5
12883 echo $ECHO_N "checking for ftdi_set_line_property in -lftdi... $ECHO_C" >&6; }
12884 if test "${ac_cv_lib_ftdi_ftdi_set_line_property+set}" = set; then
12885 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 ac_check_lib_save_LIBS=$LIBS
12888 LIBS="-lftdi $LIBS"
12889 cat >conftest.$ac_ext <<_ACEOF
12892 cat confdefs.h >>conftest.$ac_ext
12893 cat >>conftest.$ac_ext <<_ACEOF
12894 /* end confdefs.h. */
12896 /* Override any GCC internal prototype to avoid an error.
12897 Use char because int might match the return type of a GCC
12898 builtin and then its argument prototype would still apply. */
12902 char ftdi_set_line_property ();
12906 return ftdi_set_line_property ();
12911 rm -f conftest.$ac_objext conftest$ac_exeext
12912 if { (ac_try="$ac_link"
12913 case "(($ac_try" in
12914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12915 *) ac_try_echo
=$ac_try;;
12917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12918 (eval "$ac_link") 2>conftest.er1
12920 grep -v '^ *+' conftest.er1
>conftest.err
12922 cat conftest.err
>&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); } && {
12925 test -z "$ac_c_werror_flag" ||
12926 test ! -s conftest.err
12927 } && test -s conftest
$ac_exeext &&
12928 $as_test_x conftest
$ac_exeext; then
12929 ac_cv_lib_ftdi_ftdi_set_line_property
=yes
12931 echo "$as_me: failed program was:" >&5
12932 sed 's/^/| /' conftest.
$ac_ext >&5
12934 ac_cv_lib_ftdi_ftdi_set_line_property
=no
12937 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12938 conftest
$ac_exeext conftest.
$ac_ext
12939 LIBS
=$ac_check_lib_save_LIBS
12941 { echo "$as_me:$LINENO: result: $ac_cv_lib_ftdi_ftdi_set_line_property" >&5
12942 echo "${ECHO_T}$ac_cv_lib_ftdi_ftdi_set_line_property" >&6; }
12943 if test $ac_cv_lib_ftdi_ftdi_set_line_property = yes; then
12945 LIBFTDI
="-lusb -lftdi"
12946 DRIVERS
="$DRIVERS ula200${SO}"
12947 actdrivers
="$actdrivers ula200"
12951 { echo "$as_me:$LINENO: WARNING: The ula200 driver needs the ftdi library in version 0.7" >&5
12952 echo "$as_me: WARNING: The ula200 driver needs the ftdi library in version 0.7" >&2;}
12959 { echo "$as_me:$LINENO: WARNING: The ula200 driver needs ftdi.h and usb.h" >&5
12960 echo "$as_me: WARNING: The ula200 driver needs ftdi.h and usb.h" >&2;}
12969 for ac_header
in xosd.h
12971 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12972 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12975 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12978 ac_res
=`eval echo '${'$as_ac_Header'}'`
12979 { echo "$as_me:$LINENO: result: $ac_res" >&5
12980 echo "${ECHO_T}$ac_res" >&6; }
12982 # Is the header compilable?
12983 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12984 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12985 cat >conftest.
$ac_ext <<_ACEOF
12988 cat confdefs.h
>>conftest.
$ac_ext
12989 cat >>conftest.
$ac_ext <<_ACEOF
12990 /* end confdefs.h. */
12991 $ac_includes_default
12992 #include <$ac_header>
12994 rm -f conftest.
$ac_objext
12995 if { (ac_try
="$ac_compile"
12996 case "(($ac_try" in
12997 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12998 *) ac_try_echo=$ac_try;;
13000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13001 (eval "$ac_compile") 2>conftest.er1
13003 grep -v '^ *+' conftest.er1 >conftest.err
13005 cat conftest.err >&5
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); } && {
13008 test -z "$ac_c_werror_flag" ||
13009 test ! -s conftest.err
13010 } && test -s conftest.$ac_objext; then
13011 ac_header_compiler=yes
13013 echo "$as_me: failed program was:" >&5
13014 sed 's/^/| /' conftest.$ac_ext >&5
13016 ac_header_compiler=no
13019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13020 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13021 echo "${ECHO_T}$ac_header_compiler" >&6; }
13023 # Is the header present?
13024 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
13025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13026 cat >conftest.$ac_ext <<_ACEOF
13029 cat confdefs.h >>conftest.$ac_ext
13030 cat >>conftest.$ac_ext <<_ACEOF
13031 /* end confdefs.h. */
13032 #include <$ac_header>
13034 if { (ac_try="$ac_cpp conftest.$ac_ext"
13035 case "(($ac_try" in
13036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13037 *) ac_try_echo
=$ac_try;;
13039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13042 grep -v '^ *+' conftest.er1
>conftest.err
13044 cat conftest.err
>&5
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); } >/dev
/null
&& {
13047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13048 test ! -s conftest.err
13050 ac_header_preproc
=yes
13052 echo "$as_me: failed program was:" >&5
13053 sed 's/^/| /' conftest.
$ac_ext >&5
13055 ac_header_preproc
=no
13058 rm -f conftest.err conftest.
$ac_ext
13059 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13060 echo "${ECHO_T}$ac_header_preproc" >&6; }
13062 # So? What about this header?
13063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13065 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13068 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13069 ac_header_preproc
=yes
13072 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13073 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13074 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13075 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13076 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13077 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13078 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13079 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13081 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13082 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13083 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13085 ## ------------------------------------------- ##
13086 ## Report this to lcdproc@lists.omnipotent.net ##
13087 ## ------------------------------------------- ##
13089 ) |
sed "s/^/$as_me: WARNING: /" >&2
13092 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13094 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13095 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 eval "$as_ac_Header=\$ac_header_preproc"
13099 ac_res
=`eval echo '${'$as_ac_Header'}'`
13100 { echo "$as_me:$LINENO: result: $ac_res" >&5
13101 echo "${ECHO_T}$ac_res" >&6; }
13104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13105 cat >>confdefs.h
<<_ACEOF
13106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13109 { echo "$as_me:$LINENO: checking for main in -lxosd" >&5
13110 echo $ECHO_N "checking for main in -lxosd... $ECHO_C" >&6; }
13111 if test "${ac_cv_lib_xosd_main+set}" = set; then
13112 echo $ECHO_N "(cached) $ECHO_C" >&6
13114 ac_check_lib_save_LIBS
=$LIBS
13115 LIBS
="-lxosd $LIBS"
13116 cat >conftest.
$ac_ext <<_ACEOF
13119 cat confdefs.h
>>conftest.
$ac_ext
13120 cat >>conftest.
$ac_ext <<_ACEOF
13121 /* end confdefs.h. */
13132 rm -f conftest.
$ac_objext conftest
$ac_exeext
13133 if { (ac_try
="$ac_link"
13134 case "(($ac_try" in
13135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13136 *) ac_try_echo=$ac_try;;
13138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13139 (eval "$ac_link") 2>conftest.er1
13141 grep -v '^ *+' conftest.er1 >conftest.err
13143 cat conftest.err >&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } && {
13146 test -z "$ac_c_werror_flag" ||
13147 test ! -s conftest.err
13148 } && test -s conftest$ac_exeext &&
13149 $as_test_x conftest$ac_exeext; then
13150 ac_cv_lib_xosd_main=yes
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.$ac_ext >&5
13155 ac_cv_lib_xosd_main=no
13158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13159 conftest$ac_exeext conftest.$ac_ext
13160 LIBS=$ac_check_lib_save_LIBS
13162 { echo "$as_me:$LINENO: result: $ac_cv_lib_xosd_main" >&5
13163 echo "${ECHO_T}$ac_cv_lib_xosd_main" >&6; }
13164 if test $ac_cv_lib_xosd_main = yes; then
13166 LIBXOSD=`xosd-config
--libs`
13167 DRIVERS="$DRIVERS xosd${SO}"
13168 actdrivers="$actdrivers xosd"
13172 { echo "$as_me:$LINENO: WARNING: The xosd driver needs the xosd library" >&5
13173 echo "$as_me: WARNING: The xosd driver needs the xosd library" >&2;}
13180 { echo "$as_me:$LINENO: WARNING: The xosd driver needs xosd.h" >&5
13181 echo "$as_me: WARNING: The xosd driver needs xosd.h" >&2;}
13189 { { echo "$as_me:$LINENO: error: Unknown driver $driver" >&5
13190 echo "$as_me: error: Unknown driver $driver" >&2;}
13191 { (exit 1); exit 1; }; }
13196 actdrivers=`echo $actdrivers |
sed -e 's/ /,/g'`
13197 { echo "$as_me:$LINENO: result: Will compile drivers: $actdrivers" >&5
13198 echo "${ECHO_T}Will compile drivers: $actdrivers" >&6; }
13214 # Features applicable to the server
13215 # Check whether --enable-seamless-hbars was given.
13216 if test "${enable_seamless_hbars+set}" = set; then
13217 enableval=$enable_seamless_hbars; if test "$enableval" = "yes" ; then
13219 cat >>confdefs.h <<\_ACEOF
13220 #define SEAMLESS_HBARS 1
13228 # Check whether --enable-testmenus was given.
13229 if test "${enable_testmenus+set}" = set; then
13230 enableval=$enable_testmenus; if test "$enableval" = "yes" ; then
13232 cat >>confdefs.h <<\_ACEOF
13233 #define LCDPROC_TESTMENUS 1
13241 # Check whether --enable-permissive_menu_goto was given.
13242 if test "${enable_permissive_menu_goto+set}" = set; then
13243 enableval=$enable_permissive_menu_goto; if test "$enableval" = "yes" ; then
13245 cat >>confdefs.h <<\_ACEOF
13246 #define LCDPROC_PERMISSIVE_MENU_GOTO 1
13254 # Check whether --enable-lcdproc-menus was given.
13255 if test "${enable_lcdproc_menus+set}" = set; then
13256 enableval=$enable_lcdproc_menus; if test "$enableval" = "yes" ; then
13258 cat >>confdefs.h <<\_ACEOF
13259 #define LCDPROC_MENUS 1
13267 # Check whether --enable-stat-nfs was given.
13268 if test "${enable_stat_nfs+set}" = set; then
13269 enableval=$enable_stat_nfs; if test "$enableval" = "yes" ; then
13271 cat >>confdefs.h <<\_ACEOF
13280 # Check whether --enable-stat-smbfs was given.
13281 if test "${enable_stat_smbfs+set}" = set; then
13282 enableval=$enable_stat_smbfs; if test "$enableval" = "yes" ; then
13284 cat >>confdefs.h <<\_ACEOF
13285 #define STAT_SMBFS 1
13294 # check for doxygen
13296 # Check whether --enable-doxygen was given.
13297 if test "${enable_doxygen+set}" = set; then
13298 enableval=$enable_doxygen;
13301 # Check whether --enable-dot was given.
13302 if test "${enable_dot+set}" = set; then
13303 enableval=$enable_dot;
13306 # Check whether --enable-html-dox was given.
13307 if test "${enable_html_dox+set}" = set; then
13308 enableval=$enable_html_dox;
13310 enable_html_dox=yes
13313 # Check whether --enable-latex-dox was given.
13314 if test "${enable_latex_dox+set}" = set; then
13315 enableval=$enable_latex_dox;
13317 enable_latex_dox=no
13320 if test "x$enable_doxygen" = xno; then
13323 # Extract the first word of "doxygen", so it can be a program name with args.
13324 set dummy doxygen; ac_word=$2
13325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13327 if test "${ac_cv_path_DOXYGEN+set}" = set; then
13328 echo $ECHO_N "(cached) $ECHO_C" >&6
13332 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
13335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13336 for as_dir in $PATH
13339 test -z "$as_dir" && as_dir=.
13340 for ac_exec_ext in '' $ac_executable_extensions; do
13341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13342 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
13343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13353 DOXYGEN=$ac_cv_path_DOXYGEN
13354 if test -n "$DOXYGEN"; then
13355 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
13356 echo "${ECHO_T}$DOXYGEN" >&6; }
13358 { echo "$as_me:$LINENO: result: no" >&5
13359 echo "${ECHO_T}no" >&6; }
13363 if test "x$DOXYGEN" = x; then
13364 if test "x$enable_doxygen" = xyes; then
13365 { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
13366 echo "$as_me: error: could not find doxygen" >&2;}
13367 { (exit 1); exit 1; }; }
13372 # Extract the first word of "dot", so it can be a program name with args.
13373 set dummy dot; ac_word=$2
13374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13376 if test "${ac_cv_path_DOT+set}" = set; then
13377 echo $ECHO_N "(cached) $ECHO_C" >&6
13381 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
13384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13385 for as_dir in $PATH
13388 test -z "$as_dir" && as_dir=.
13389 for ac_exec_ext in '' $ac_executable_extensions; do
13390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13391 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
13392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13402 DOT=$ac_cv_path_DOT
13403 if test -n "$DOT"; then
13404 { echo "$as_me:$LINENO: result: $DOT" >&5
13405 echo "${ECHO_T}$DOT" >&6; }
13407 { echo "$as_me:$LINENO: result: no" >&5
13408 echo "${ECHO_T}no" >&6; }
13416 if test x$enable_dox = xyes; then
13425 if test x$DOT = x; then
13426 if test "x$enable_dot" = xyes; then
13427 { { echo "$as_me:$LINENO: error: could not find dot" >&5
13428 echo "$as_me: error: could not find dot" >&2;}
13429 { (exit 1); exit 1; }; }
13440 ac_config_files="$ac_config_files Makefile shared/Makefile server/Makefile server/commands/Makefile server/drivers/Makefile clients/Makefile clients/lcdproc/Makefile clients/lcdexec/Makefile clients/lcdvc/Makefile clients/examples/Makefile clients/metar/Makefile docs/Makefile docs/Doxyfile docs/lcdproc-dev/Makefile docs/lcdproc-user/Makefile docs/lcdproc-user/drivers/Makefile scripts/Makefile scripts/init-LCDd.LSB scripts/init-lcdproc.LSB scripts/init-lcdexec.LSB scripts/init-lcdvc.LSB scripts/init-LCDd.debian scripts/init-lcdproc.debian scripts/init-lcdexec.debian scripts/init-lcdvc.debian scripts/init-LCDd.rpm scripts/init-lcdproc.rpm"
13442 cat >confcache <<\_ACEOF
13443 # This file is a shell script that caches the results of configure
13444 # tests run on this system so they can be shared between configure
13445 # scripts and configure runs, see configure's option --config-cache.
13446 # It is not useful on other systems. If it contains results you don't
13447 # want to keep, you may remove or edit it.
13449 # config.status only pays attention to the cache file if you give it
13450 # the --recheck option to rerun configure.
13452 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
13453 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13454 # following values.
13458 # The following way of writing the cache mishandles newlines in values,
13459 # but we know of no workaround that is simple, portable, and efficient.
13460 # So, we kill variables containing newlines.
13461 # Ultrix sh set writes to stderr and can't be redirected directly,
13462 # and sets the high bit in the cache file unless we assign to the vars.
13464 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13465 eval ac_val
=\$
$ac_var
13469 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13470 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13473 _ | IFS | as_nl
) ;; #(
13474 *) $as_unset $ac_var ;;
13480 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13481 *${as_nl}ac_space
=\
*)
13482 # `set' does not quote correctly, so add quotes (double-quote
13483 # substitution turns \\\\ into \\, and sed turns \\ into \).
13486 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13489 # `set' quotes correctly as required by POSIX, so do not add quotes.
13490 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13499 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13501 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13503 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13504 if test -w "$cache_file"; then
13505 test "x$cache_file" != "x/dev/null" &&
13506 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13507 echo "$as_me: updating cache $cache_file" >&6;}
13508 cat confcache
>$cache_file
13510 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13511 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13516 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13517 # Let make expand exec_prefix.
13518 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13520 DEFS
=-DHAVE_CONFIG_H
13524 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13525 # 1. Remove the extension, and $U if already installed.
13526 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13527 ac_i
=`echo "$ac_i" | sed "$ac_script"`
13528 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13529 # will be set to the directory where LIBOBJS objects are built.
13530 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13531 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13533 LIBOBJS
=$ac_libobjs
13535 LTLIBOBJS
=$ac_ltlibobjs
13538 if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
13539 { { echo "$as_me:$LINENO: error: conditional \"DARWIN\" was never defined.
13540 Usually this means the macro was only invoked conditionally." >&5
13541 echo "$as_me: error: conditional \"DARWIN\" was never defined.
13542 Usually this means the macro was only invoked conditionally." >&2;}
13543 { (exit 1); exit 1; }; }
13545 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13546 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13547 Usually this means the macro was only invoked conditionally." >&5
13548 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13549 Usually this means the macro was only invoked conditionally." >&2;}
13550 { (exit 1); exit 1; }; }
13552 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13553 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13554 Usually this means the macro was only invoked conditionally." >&5
13555 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13556 Usually this means the macro was only invoked conditionally." >&2;}
13557 { (exit 1); exit 1; }; }
13559 if test -z "${DOX_TRUE}" && test -z "${DOX_FALSE}"; then
13560 { { echo "$as_me:$LINENO: error: conditional \"DOX\" was never defined.
13561 Usually this means the macro was only invoked conditionally." >&5
13562 echo "$as_me: error: conditional \"DOX\" was never defined.
13563 Usually this means the macro was only invoked conditionally." >&2;}
13564 { (exit 1); exit 1; }; }
13567 : ${CONFIG_STATUS=./config.status}
13568 ac_clean_files_save
=$ac_clean_files
13569 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13570 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13571 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13572 cat >$CONFIG_STATUS <<_ACEOF
13574 # Generated by $as_me.
13575 # Run this file to recreate the current configuration.
13576 # Compiler output produced by configure, useful for debugging
13577 # configure, is in config.log if it exists.
13580 ac_cs_recheck=false
13582 SHELL=\${CONFIG_SHELL-$SHELL}
13585 cat >>$CONFIG_STATUS <<\_ACEOF
13586 ## --------------------- ##
13587 ## M4sh Initialization. ##
13588 ## --------------------- ##
13590 # Be more Bourne compatible
13591 DUALCASE
=1; export DUALCASE
# for MKS sh
13592 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13595 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13596 # is contrary to our usage. Disable this feature.
13597 alias -g '${1+"$@"}'='"$@"'
13598 setopt NO_GLOB_SUBST
13600 case `(set -o) 2>/dev/null` in
13601 *posix
*) set -o posix
;;
13610 # Avoid depending upon Character Ranges.
13611 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13612 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13613 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13614 as_cr_digits
='0123456789'
13615 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13617 # The user is always right.
13618 if test "${PATH_SEPARATOR+set}" != set; then
13619 echo "#! /bin/sh" >conf$$.sh
13620 echo "exit 0" >>conf$$.sh
13622 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13630 # Support unset when possible.
13631 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13639 # We need space, tab and new line, in precisely that order. Quoting is
13640 # there to prevent editors from complaining about space-tab.
13641 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13642 # splitting by setting IFS to empty value.)
13647 # Find who we are. Look in the path if we contain no directory separator.
13649 *[\\/]* ) as_myself
=$0 ;;
13650 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13651 for as_dir
in $PATH
13654 test -z "$as_dir" && as_dir
=.
13655 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13661 # We did not find ourselves, most probably we were run as `sh COMMAND'
13662 # in which case we are not to be found in the path.
13663 if test "x$as_myself" = x
; then
13666 if test ! -f "$as_myself"; then
13667 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13668 { (exit 1); exit 1; }
13671 # Work around bugs in pre-3.0 UWIN ksh.
13672 for as_var
in ENV MAIL MAILPATH
13673 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13681 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13682 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13683 LC_TELEPHONE LC_TIME
13685 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13686 eval $as_var=C
; export $as_var
13688 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13692 # Required to use basename.
13693 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13694 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13700 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13701 as_basename
=basename
13707 # Name of the executable.
13708 as_me
=`$as_basename -- "$0" ||
13709 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13710 X"$0" : 'X\(//\)$' \| \
13711 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13713 sed '/^.*\/\([^/][^/]*\)\/*$/{
13732 as_lineno_1
=$LINENO
13733 as_lineno_2
=$LINENO
13734 test "x$as_lineno_1" != "x$as_lineno_2" &&
13735 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13737 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13738 # uniformly replaced by the line number. The first 'sed' inserts a
13739 # line-number line after each line using $LINENO; the second 'sed'
13740 # does the real work. The second script uses 'N' to pair each
13741 # line-number line with the line containing $LINENO, and appends
13742 # trailing '-' during substitution so that $LINENO is not a special
13743 # case at line end.
13744 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13745 # scripts with optimization help from Paolo Bonzini. Blame Lee
13746 # E. McMahon (1931-1989) for sed's syntax. :-)
13758 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13761 ' >$as_me.lineno
&&
13762 chmod +x
"$as_me.lineno" ||
13763 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13764 { (exit 1); exit 1; }; }
13766 # Don't try to exec as it changes $[0], causing all sort of problems
13767 # (the dirname of $[0] is not the place where we might find the
13768 # original and so on. Autoconf is especially sensitive to this).
13769 .
"./$as_me.lineno"
13770 # Exit status is that of the last command.
13775 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13781 ECHO_C
= ECHO_N
= ECHO_T
=
13782 case `echo -n x` in
13784 case `echo 'x\c'` in
13785 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13792 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13793 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13799 rm -f conf$$ conf$$.exe conf$$.
file
13800 if test -d conf$$.dir
; then
13801 rm -f conf$$.dir
/conf$$.
file
13807 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13809 # ... but there are two gotchas:
13810 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13811 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13812 # In both cases, we have to default to `cp -p'.
13813 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13815 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13820 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13821 rmdir conf$$.dir
2>/dev
/null
13823 if mkdir
-p .
2>/dev
/null
; then
13826 test -d .
/-p && rmdir .
/-p
13830 if test -x / >/dev
/null
2>&1; then
13831 as_test_x
='test -x'
13833 if ls -dL / >/dev
/null
2>&1; then
13840 if test -d "$1"; then
13846 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13847 ???[sx]*):;;*)false;;esac;fi
13851 as_executable_p
=$as_test_x
13853 # Sed expression to map a string onto a valid CPP name.
13854 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13856 # Sed expression to map a string onto a valid variable name.
13857 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13862 # Save the log message, to keep $[0] and so on meaningful, and to
13863 # report actual input values of CONFIG_FILES etc. instead of their
13864 # values after options handling.
13866 This file was extended by lcdproc $as_me 0.5.2, which was
13867 generated by GNU Autoconf 2.61. Invocation command line was
13869 CONFIG_FILES = $CONFIG_FILES
13870 CONFIG_HEADERS = $CONFIG_HEADERS
13871 CONFIG_LINKS = $CONFIG_LINKS
13872 CONFIG_COMMANDS = $CONFIG_COMMANDS
13875 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13880 cat >>$CONFIG_STATUS <<_ACEOF
13881 # Files that config.status was made for.
13882 config_files="$ac_config_files"
13883 config_headers="$ac_config_headers"
13884 config_commands="$ac_config_commands"
13888 cat >>$CONFIG_STATUS <<\_ACEOF
13890 \`$as_me' instantiates files from templates according to the
13891 current configuration.
13893 Usage: $0 [OPTIONS] [FILE]...
13895 -h, --help print this help, then exit
13896 -V, --version print version number and configuration settings, then exit
13897 -q, --quiet do not print progress messages
13898 -d, --debug don't remove temporary files
13899 --recheck update $as_me by reconfiguring in the same conditions
13900 --file=FILE[:TEMPLATE]
13901 instantiate the configuration file FILE
13902 --header=FILE[:TEMPLATE]
13903 instantiate the configuration header FILE
13905 Configuration files:
13908 Configuration headers:
13911 Configuration commands:
13914 Report bugs to <bug-autoconf@gnu.org>."
13917 cat >>$CONFIG_STATUS <<_ACEOF
13919 lcdproc config.status 0.5.2
13920 configured by $0, generated by GNU Autoconf 2.61,
13921 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13923 Copyright (C) 2006 Free Software Foundation, Inc.
13924 This config.status script is free software; the Free Software Foundation
13925 gives unlimited permission to copy, distribute and modify it."
13932 cat >>$CONFIG_STATUS <<\_ACEOF
13933 # If no file are specified by the user, then we need to provide default
13934 # value. By we need to know if files were specified by the user.
13940 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13941 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13952 # Handling of the options.
13953 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13955 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13956 echo "$ac_cs_version"; exit ;;
13957 --debug |
--debu |
--deb |
--de |
--d |
-d )
13959 --file |
--fil |
--fi |
--f )
13961 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13962 ac_need_defaults
=false
;;
13963 --header |
--heade |
--head |
--hea )
13965 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13966 ac_need_defaults
=false
;;
13968 # Conflict between --help and --header
13969 { echo "$as_me: error: ambiguous option: $1
13970 Try \`$0 --help' for more information." >&2
13971 { (exit 1); exit 1; }; };;
13972 --help |
--hel |
-h )
13973 echo "$ac_cs_usage"; exit ;;
13974 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13975 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13978 # This is an error.
13979 -*) { echo "$as_me: error: unrecognized option: $1
13980 Try \`$0 --help' for more information." >&2
13981 { (exit 1); exit 1; }; } ;;
13983 *) ac_config_targets
="$ac_config_targets $1"
13984 ac_need_defaults
=false
;;
13990 ac_configure_extra_args
=
13992 if $ac_cs_silent; then
13994 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13998 cat >>$CONFIG_STATUS <<_ACEOF
13999 if \$ac_cs_recheck; then
14000 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14001 CONFIG_SHELL=$SHELL
14002 export CONFIG_SHELL
14003 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14007 cat >>$CONFIG_STATUS <<\_ACEOF
14011 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14012 ## Running $as_me. ##
14018 cat >>$CONFIG_STATUS <<_ACEOF
14022 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14026 cat >>$CONFIG_STATUS <<\_ACEOF
14028 # Handling of arguments.
14029 for ac_config_target
in $ac_config_targets
14031 case $ac_config_target in
14032 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
14033 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14034 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14035 "shared/Makefile") CONFIG_FILES
="$CONFIG_FILES shared/Makefile" ;;
14036 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
14037 "server/commands/Makefile") CONFIG_FILES
="$CONFIG_FILES server/commands/Makefile" ;;
14038 "server/drivers/Makefile") CONFIG_FILES
="$CONFIG_FILES server/drivers/Makefile" ;;
14039 "clients/Makefile") CONFIG_FILES
="$CONFIG_FILES clients/Makefile" ;;
14040 "clients/lcdproc/Makefile") CONFIG_FILES
="$CONFIG_FILES clients/lcdproc/Makefile" ;;
14041 "clients/lcdexec/Makefile") CONFIG_FILES
="$CONFIG_FILES clients/lcdexec/Makefile" ;;
14042 "clients/lcdvc/Makefile") CONFIG_FILES
="$CONFIG_FILES clients/lcdvc/Makefile" ;;
14043 "clients/examples/Makefile") CONFIG_FILES
="$CONFIG_FILES clients/examples/Makefile" ;;
14044 "clients/metar/Makefile") CONFIG_FILES
="$CONFIG_FILES clients/metar/Makefile" ;;
14045 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
14046 "docs/Doxyfile") CONFIG_FILES
="$CONFIG_FILES docs/Doxyfile" ;;
14047 "docs/lcdproc-dev/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/lcdproc-dev/Makefile" ;;
14048 "docs/lcdproc-user/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/lcdproc-user/Makefile" ;;
14049 "docs/lcdproc-user/drivers/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/lcdproc-user/drivers/Makefile" ;;
14050 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
14051 "scripts/init-LCDd.LSB") CONFIG_FILES
="$CONFIG_FILES scripts/init-LCDd.LSB" ;;
14052 "scripts/init-lcdproc.LSB") CONFIG_FILES
="$CONFIG_FILES scripts/init-lcdproc.LSB" ;;
14053 "scripts/init-lcdexec.LSB") CONFIG_FILES
="$CONFIG_FILES scripts/init-lcdexec.LSB" ;;
14054 "scripts/init-lcdvc.LSB") CONFIG_FILES
="$CONFIG_FILES scripts/init-lcdvc.LSB" ;;
14055 "scripts/init-LCDd.debian") CONFIG_FILES
="$CONFIG_FILES scripts/init-LCDd.debian" ;;
14056 "scripts/init-lcdproc.debian") CONFIG_FILES
="$CONFIG_FILES scripts/init-lcdproc.debian" ;;
14057 "scripts/init-lcdexec.debian") CONFIG_FILES
="$CONFIG_FILES scripts/init-lcdexec.debian" ;;
14058 "scripts/init-lcdvc.debian") CONFIG_FILES
="$CONFIG_FILES scripts/init-lcdvc.debian" ;;
14059 "scripts/init-LCDd.rpm") CONFIG_FILES
="$CONFIG_FILES scripts/init-LCDd.rpm" ;;
14060 "scripts/init-lcdproc.rpm") CONFIG_FILES
="$CONFIG_FILES scripts/init-lcdproc.rpm" ;;
14062 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14063 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14064 { (exit 1); exit 1; }; };;
14069 # If the user did not use the arguments to specify the items to instantiate,
14070 # then the envvar interface is used. Set only those that are not.
14071 # We use the long form for the default assignment because of an extremely
14072 # bizarre bug on SunOS 4.1.3.
14073 if $ac_need_defaults; then
14074 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14075 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14076 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14079 # Have a temporary directory for convenience. Make it in the build tree
14080 # simply because there is no reason against having it here, and in addition,
14081 # creating and moving files from /tmp can sometimes cause problems.
14082 # Hook for its removal unless debugging.
14083 # Note that there is a small window in which the directory will not be cleaned:
14084 # after its creation but before its name has been assigned to `$tmp'.
14088 trap 'exit_status=$?
14089 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14091 trap '{ (exit 1); exit 1; }' 1 2 13 15
14093 # Create a (secure) tmp directory for tmp files.
14096 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14097 test -n "$tmp" && test -d "$tmp"
14100 tmp
=.
/conf$$
-$RANDOM
14101 (umask 077 && mkdir
"$tmp")
14104 echo "$me: cannot create a temporary directory in ." >&2
14105 { (exit 1); exit 1; }
14109 # Set up the sed scripts for CONFIG_FILES section.
14112 # No need to generate the scripts if there are no CONFIG_FILES.
14113 # This happens for instance when ./config.status config.h
14114 if test -n "$CONFIG_FILES"; then
14121 for ac_last_try
in false false false false false
:; do
14122 cat >conf$
$subs.
sed <<_ACEOF
14123 SHELL!$SHELL$ac_delim
14124 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
14125 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
14126 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
14127 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
14128 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
14129 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
14130 exec_prefix!$exec_prefix$ac_delim
14131 prefix!$prefix$ac_delim
14132 program_transform_name!$program_transform_name$ac_delim
14133 bindir!$bindir$ac_delim
14134 sbindir!$sbindir$ac_delim
14135 libexecdir!$libexecdir$ac_delim
14136 datarootdir!$datarootdir$ac_delim
14137 datadir!$datadir$ac_delim
14138 sysconfdir!$sysconfdir$ac_delim
14139 sharedstatedir!$sharedstatedir$ac_delim
14140 localstatedir!$localstatedir$ac_delim
14141 includedir!$includedir$ac_delim
14142 oldincludedir!$oldincludedir$ac_delim
14143 docdir!$docdir$ac_delim
14144 infodir!$infodir$ac_delim
14145 htmldir!$htmldir$ac_delim
14146 dvidir!$dvidir$ac_delim
14147 pdfdir!$pdfdir$ac_delim
14148 psdir!$psdir$ac_delim
14149 libdir!$libdir$ac_delim
14150 localedir!$localedir$ac_delim
14151 mandir!$mandir$ac_delim
14152 DEFS!$DEFS$ac_delim
14153 ECHO_C!$ECHO_C$ac_delim
14154 ECHO_N!$ECHO_N$ac_delim
14155 ECHO_T!$ECHO_T$ac_delim
14156 LIBS!$LIBS$ac_delim
14157 build_alias!$build_alias$ac_delim
14158 host_alias!$host_alias$ac_delim
14159 target_alias!$target_alias$ac_delim
14160 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
14161 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14162 INSTALL_DATA!$INSTALL_DATA$ac_delim
14163 CYGPATH_W!$CYGPATH_W$ac_delim
14164 PACKAGE!$PACKAGE$ac_delim
14165 VERSION!$VERSION$ac_delim
14166 ACLOCAL!$ACLOCAL$ac_delim
14167 AUTOCONF!$AUTOCONF$ac_delim
14168 AUTOMAKE!$AUTOMAKE$ac_delim
14169 AUTOHEADER!$AUTOHEADER$ac_delim
14170 MAKEINFO!$MAKEINFO$ac_delim
14171 install_sh!$install_sh$ac_delim
14172 STRIP!$STRIP$ac_delim
14173 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
14174 mkdir_p!$mkdir_p$ac_delim
14176 SET_MAKE!$SET_MAKE$ac_delim
14177 am__leading_dot!$am__leading_dot$ac_delim
14178 AMTAR!$AMTAR$ac_delim
14179 am__tar!$am__tar$ac_delim
14180 am__untar!$am__untar$ac_delim
14181 build!$build$ac_delim
14182 build_cpu!$build_cpu$ac_delim
14183 build_vendor!$build_vendor$ac_delim
14184 build_os!$build_os$ac_delim
14185 host!$host$ac_delim
14186 host_cpu!$host_cpu$ac_delim
14187 host_vendor!$host_vendor$ac_delim
14188 host_os!$host_os$ac_delim
14189 DARWIN_TRUE!$DARWIN_TRUE$ac_delim
14190 DARWIN_FALSE!$DARWIN_FALSE$ac_delim
14192 CFLAGS!$CFLAGS$ac_delim
14193 LDFLAGS!$LDFLAGS$ac_delim
14194 CPPFLAGS!$CPPFLAGS$ac_delim
14195 ac_ct_CC!$ac_ct_CC$ac_delim
14196 EXEEXT!$EXEEXT$ac_delim
14197 OBJEXT!$OBJEXT$ac_delim
14198 DEPDIR!$DEPDIR$ac_delim
14199 am__include!$am__include$ac_delim
14200 am__quote!$am__quote$ac_delim
14201 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
14202 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
14203 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
14204 CCDEPMODE!$CCDEPMODE$ac_delim
14205 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
14206 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
14208 RANLIB!$RANLIB$ac_delim
14209 GREP!$GREP$ac_delim
14210 EGREP!$EGREP$ac_delim
14211 LIBOBJS!$LIBOBJS$ac_delim
14213 CCSHARED!$CCSHARED$ac_delim
14214 LDSHARED!$LDSHARED$ac_delim
14215 libusb_libs!$libusb_libs$ac_delim
14216 libusb_cflags!$libusb_cflags$ac_delim
14217 libusb_config!$libusb_config$ac_delim
14218 LIBCURSES!$LIBCURSES$ac_delim
14219 LIBIRMAN!$LIBIRMAN$ac_delim
14222 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
14224 elif $ac_last_try; then
14225 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14226 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14227 { (exit 1); exit 1; }; }
14229 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
14233 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14234 if test -n "$ac_eof"; then
14235 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
14236 ac_eof
=`expr $ac_eof + 1`
14239 cat >>$CONFIG_STATUS <<_ACEOF
14240 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14241 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14244 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14245 s/^/s,@/; s/!/@,|#_!!_#|/
14248 s/'"$ac_delim"'$/,g/; t
14250 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14251 ' >>$CONFIG_STATUS <conf$
$subs.
sed
14252 rm -f conf$
$subs.
sed
14253 cat >>$CONFIG_STATUS <<_ACEOF
14259 for ac_last_try
in false false false false false
:; do
14260 cat >conf$
$subs.
sed <<_ACEOF
14261 LIBLIRC_CLIENT!$LIBLIRC_CLIENT$ac_delim
14262 LIBSVGA!$LIBSVGA$ac_delim
14263 DRIVERS!$DRIVERS$ac_delim
14264 HD44780_DRIVERS!$HD44780_DRIVERS$ac_delim
14265 LIBG15!$LIBG15$ac_delim
14266 LIBGLCD!$LIBGLCD$ac_delim
14267 LIBFTDI!$LIBFTDI$ac_delim
14268 LIBXOSD!$LIBXOSD$ac_delim
14269 LIBUSBLCD!$LIBUSBLCD$ac_delim
14270 DOXYGEN!$DOXYGEN$ac_delim
14272 DOX_TRUE!$DOX_TRUE$ac_delim
14273 DOX_FALSE!$DOX_FALSE$ac_delim
14274 enable_dot!$enable_dot$ac_delim
14275 enable_html_dox!$enable_html_dox$ac_delim
14276 enable_latex_dox!$enable_latex_dox$ac_delim
14277 LTLIBOBJS!$LTLIBOBJS$ac_delim
14280 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
14282 elif $ac_last_try; then
14283 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14284 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14285 { (exit 1); exit 1; }; }
14287 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
14291 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14292 if test -n "$ac_eof"; then
14293 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
14294 ac_eof
=`expr $ac_eof + 1`
14297 cat >>$CONFIG_STATUS <<_ACEOF
14298 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14299 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14302 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14303 s/^/s,@/; s/!/@,|#_!!_#|/
14306 s/'"$ac_delim"'$/,g/; t
14308 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14309 ' >>$CONFIG_STATUS <conf$
$subs.
sed
14310 rm -f conf$
$subs.
sed
14311 cat >>$CONFIG_STATUS <<_ACEOF
14318 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14319 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14320 # trailing colons and then remove the whole line if VPATH becomes empty
14321 # (actually we leave an empty line to preserve line numbers).
14322 if test "x$srcdir" = x.
; then
14323 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14324 s/:*\$(srcdir):*/:/
14325 s/:*\${srcdir}:*/:/
14327 s/^\([^=]*=[ ]*\):*/\1/
14333 cat >>$CONFIG_STATUS <<\_ACEOF
14334 fi # test -n "$CONFIG_FILES"
14337 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
14340 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14342 case $ac_mode$ac_tag in
14344 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14345 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14346 { (exit 1); exit 1; }; };;
14347 :[FH
]-) ac_tag
=-:-;;
14348 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14365 -) ac_f
="$tmp/stdin";;
14366 *) # Look for the file first in the build tree, then in the source tree
14367 # (if the path is not absolute). The absolute path cannot be DOS-style,
14368 # because $ac_f cannot contain `:'.
14372 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14374 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14375 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14376 { (exit 1); exit 1; }; };;
14378 ac_file_inputs
="$ac_file_inputs $ac_f"
14381 # Let's still pretend it is `configure' which instantiates (i.e., don't
14382 # use $as_me), people would be surprised to read:
14383 # /* config.h. Generated by config.status. */
14384 configure_input
="Generated from "`IFS=:
14385 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14386 if test x
"$ac_file" != x-
; then
14387 configure_input
="$ac_file. $configure_input"
14388 { echo "$as_me:$LINENO: creating $ac_file" >&5
14389 echo "$as_me: creating $ac_file" >&6;}
14393 *:-:* |
*:-) cat >"$tmp/stdin";;
14398 ac_dir
=`$as_dirname -- "$ac_file" ||
14399 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14400 X"$ac_file" : 'X\(//\)[^/]' \| \
14401 X"$ac_file" : 'X\(//\)$' \| \
14402 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14408 /^X\(\/\/\)[^/].*/{
14423 -*) as_dir
=.
/$as_dir;;
14425 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14429 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14430 *) as_qdir
=$as_dir;;
14432 as_dirs
="'$as_qdir' $as_dirs"
14433 as_dir
=`$as_dirname -- "$as_dir" ||
14434 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14435 X"$as_dir" : 'X\(//\)[^/]' \| \
14436 X"$as_dir" : 'X\(//\)$' \| \
14437 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14443 /^X\(\/\/\)[^/].*/{
14456 test -d "$as_dir" && break
14458 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14459 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14460 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14461 { (exit 1); exit 1; }; }; }
14465 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14467 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14468 # A ".." for each directory in $ac_dir_suffix.
14469 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14470 case $ac_top_builddir_sub in
14471 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14472 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14475 ac_abs_top_builddir
=$ac_pwd
14476 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14477 # for backward compatibility:
14478 ac_top_builddir
=$ac_top_build_prefix
14481 .
) # We are building in place.
14483 ac_top_srcdir
=$ac_top_builddir_sub
14484 ac_abs_top_srcdir
=$ac_pwd ;;
14485 [\\/]* | ?
:[\\/]* ) # Absolute name.
14486 ac_srcdir
=$srcdir$ac_dir_suffix;
14487 ac_top_srcdir
=$srcdir
14488 ac_abs_top_srcdir
=$srcdir ;;
14489 *) # Relative name.
14490 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14491 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14492 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14494 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14504 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14505 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14509 cat >>$CONFIG_STATUS <<\_ACEOF
14510 # If the template does not know about datarootdir, expand it.
14511 # FIXME: This hack should be removed a few years after 2.60.
14512 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14514 case `sed -n '/datarootdir/ {
14523 ' $ac_file_inputs` in
14524 *datarootdir
*) ac_datarootdir_seen
=yes;;
14525 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14526 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14527 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14529 cat >>$CONFIG_STATUS <<_ACEOF
14530 ac_datarootdir_hack='
14531 s&@datadir@&$datadir&g
14532 s&@docdir@&$docdir&g
14533 s&@infodir@&$infodir&g
14534 s&@localedir@&$localedir&g
14535 s&@mandir@&$mandir&g
14536 s&\\\${datarootdir}&$datarootdir&g' ;;
14540 # Neutralize VPATH when `$srcdir' = `.'.
14541 # Shell code in configure.ac might set extrasub.
14542 # FIXME: do we really want to maintain this feature?
14543 cat >>$CONFIG_STATUS <<_ACEOF
14547 cat >>$CONFIG_STATUS <<\_ACEOF
14549 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14550 s
&@configure_input@
&$configure_input&;t t
14551 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14552 s
&@srcdir@
&$ac_srcdir&;t t
14553 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14554 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14555 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14556 s
&@builddir@
&$ac_builddir&;t t
14557 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14558 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14559 s
&@INSTALL@
&$ac_INSTALL&;t t
14560 $ac_datarootdir_hack
14561 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
14563 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14564 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14565 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14566 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14567 which seems to be undefined. Please make sure it is defined." >&5
14568 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14569 which seems to be undefined. Please make sure it is defined." >&2;}
14573 -) cat "$tmp/out"; rm -f "$tmp/out";;
14574 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14583 # Transform confdefs.h into a sed script `conftest.defines', that
14584 # substitutes the proper values into config.h.in to produce config.h.
14585 rm -f conftest.defines conftest.
tail
14586 # First, append a space to every undef/define line, to ease matching.
14587 echo 's/$/ /' >conftest.defines
14588 # Then, protect against being on the right side of a sed subst, or in
14589 # an unquoted here document, in config.status. If some macros were
14590 # called several times there might be several #defines for the same
14591 # symbol, which is useless. But do not sort them, since the last
14592 # AC_DEFINE must be honored.
14593 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
14594 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14595 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14596 # PARAMS is the parameter list in the macro definition--in most cases, it's
14597 # just an empty string.
14598 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14599 ac_dB
='\\)[ (].*,\\1define\\2'
14607 s/^[ ]*#[ ]*define[ ][ ]*//
14612 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14613 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14614 ' >>conftest.defines
14616 # Remove the space that was appended to ease matching.
14617 # Then replace #undef with comments. This is necessary, for
14618 # example, in the case of _POSIX_SOURCE, which is predefined and required
14619 # on some systems where configure will not decide to define it.
14620 # (The regexp can be short, since the line contains either #define or #undef.)
14622 s,^[ #]*u.*,/* & */,' >>conftest.defines
14624 # Break up conftest.defines:
14625 ac_max_sed_lines
=50
14627 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14628 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14629 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14631 ac_in
='$ac_file_inputs'
14632 ac_out
='"$tmp/out1"'
14633 ac_nxt
='"$tmp/out2"'
14637 # Write a here document:
14638 cat >>$CONFIG_STATUS <<_ACEOF
14639 # First, check the format of the line:
14640 cat >"\$tmp/defines.sed" <<\\CEOF
14641 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14642 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14646 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
14648 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14649 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
14650 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
14651 grep . conftest.
tail >/dev
/null ||
break
14652 rm -f conftest.defines
14653 mv conftest.
tail conftest.defines
14655 rm -f conftest.defines conftest.
tail
14657 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14658 cat >>$CONFIG_STATUS <<\_ACEOF
14659 if test x
"$ac_file" != x-
; then
14660 echo "/* $configure_input */" >"$tmp/config.h"
14661 cat "$ac_result" >>"$tmp/config.h"
14662 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
14663 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14664 echo "$as_me: $ac_file is unchanged" >&6;}
14667 mv "$tmp/config.h" $ac_file
14670 echo "/* $configure_input */"
14674 # Compute $ac_file's index in $config_headers.
14676 for _am_header
in $config_headers :; do
14677 case $_am_header in
14678 $ac_file |
$ac_file:* )
14681 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14684 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
14685 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14686 X$ac_file : 'X\(//\)[^/]' \| \
14687 X$ac_file : 'X\(//\)$' \| \
14688 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
14690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14694 /^X\(\/\/\)[^/].*/{
14706 s/.*/./; q'`/stamp-h
$_am_stamp_count
14709 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14710 echo "$as_me: executing $ac_file commands" >&6;}
14715 case $ac_file$ac_mode in
14716 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
14717 # Strip MF so we end up with the name of the file.
14718 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14719 # Check whether this is an Automake generated Makefile or not.
14720 # We used to match only the files named `Makefile.in', but
14721 # some people rename them; so instead we look at the file content.
14722 # Grep'ing the first line is not enough: some people post-process
14723 # each Makefile.in and add a new line on top of each file to say so.
14724 # So let's grep whole file.
14725 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
14726 dirpart
=`$as_dirname -- "$mf" ||
14727 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14728 X"$mf" : 'X\(//\)[^/]' \| \
14729 X"$mf" : 'X\(//\)$' \| \
14730 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14736 /^X\(\/\/\)[^/].*/{
14752 # Extract the definition of DEPDIR, am__include, and am__quote
14753 # from the Makefile without running `make'.
14754 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14755 test -z "$DEPDIR" && continue
14756 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14757 test -z "am__include" && continue
14758 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14759 # When using ansi2knr, U may be empty or an underscore; expand it
14760 U
=`sed -n 's/^U = //p' < "$mf"`
14761 # Find all dependency output files, they are included files with
14762 # $(DEPDIR) in their names. We invoke sed twice because it is the
14763 # simplest approach to changing $(DEPDIR) to its actual value in the
14765 for file in `sed -n "
14766 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14767 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14768 # Make sure the directory exists.
14769 test -f "$dirpart/$file" && continue
14770 fdir
=`$as_dirname -- "$file" ||
14771 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14772 X"$file" : 'X\(//\)[^/]' \| \
14773 X"$file" : 'X\(//\)$' \| \
14774 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14776 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14780 /^X\(\/\/\)[^/].*/{
14793 { as_dir
=$dirpart/$fdir
14795 -*) as_dir
=.
/$as_dir;;
14797 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14801 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14802 *) as_qdir
=$as_dir;;
14804 as_dirs
="'$as_qdir' $as_dirs"
14805 as_dir
=`$as_dirname -- "$as_dir" ||
14806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14807 X"$as_dir" : 'X\(//\)[^/]' \| \
14808 X"$as_dir" : 'X\(//\)$' \| \
14809 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14815 /^X\(\/\/\)[^/].*/{
14828 test -d "$as_dir" && break
14830 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14831 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14832 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14833 { (exit 1); exit 1; }; }; }
14834 # echo "creating $dirpart/$file"
14835 echo '# dummy' > "$dirpart/$file"
14844 { (exit 0); exit 0; }
14846 chmod +x
$CONFIG_STATUS
14847 ac_clean_files
=$ac_clean_files_save
14850 # configure is writing to config.log, and then calls config.status.
14851 # config.status does its own redirection, appending to config.log.
14852 # Unfortunately, on DOS this fails, as config.log is still kept open
14853 # by configure, so config.status won't be able to write to it; its
14854 # output is simply discarded. So we exec the FD to /dev/null,
14855 # effectively closing config.log, so it can be properly (re)opened and
14856 # appended to by config.status. When coming back to configure, we
14857 # need to make the FD available again.
14858 if test "$no_create" != yes; then
14860 ac_config_status_args
=
14861 test "$silent" = yes &&
14862 ac_config_status_args
="$ac_config_status_args --quiet"
14864 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14866 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14867 # would make configure fail if this is the last instruction.
14868 $ac_cs_success ||
{ (exit 1); exit 1; }