Updated manpage.

This commit is contained in:
Fritz Elfert 1997-10-23 22:43:25 +00:00
parent 0b4bfc2554
commit b3bcc90b31
6 changed files with 442 additions and 146 deletions

View File

@ -52,9 +52,6 @@ telesctrl: $(MODULES)
hisaxctrl: $(MODULES)
$(CC) $(CFLAGS) $? $(LDFLAGS) -o $@
hisaxctrl.8: telesctrl.8
cp $< $@
install: $(PROGRAMS) $(MANPAGES)
mkdir -p $(SBINDIR)
$(INSTALL_PROGRAM) $(PROGRAMS) $(SBINDIR)
@ -76,7 +73,7 @@ uninstall:
done
clean:
rm -f *.o *~ $(PROGRAMS) *.8
rm -f *.o *~ $(PROGRAMS) *.8 *.man
distclean: clean
rm -f config.status config.cache config.log Makefile

273
teles/configure vendored
View File

@ -1,7 +1,7 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.10
# Generated automatically using autoconf version 2.12
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
@ -50,6 +50,8 @@ mandir='${prefix}/man'
# Initialize some other variables.
subdirs=
MFLAGS= MAKEFLAGS=
# Maximum number of lines to put in a shell here document.
ac_max_here_lines=12
ac_prev=
for ac_option
@ -331,7 +333,7 @@ EOF
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
echo "configure generated by autoconf version 2.10"
echo "configure generated by autoconf version 2.12"
exit 0 ;;
-with-* | --with-*)
@ -433,11 +435,14 @@ do
done
# NLS nuisances.
# Only set LANG and LC_ALL to C if already set.
# These must not be set unconditionally because not all systems understand
# e.g. LANG=C (notably SCO).
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
# Only set these to C if already set. These must not be set unconditionally
# because not all systems understand e.g. LANG=C (notably SCO).
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
# Non-C LC_CTYPE values break the ctype check.
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
@ -499,6 +504,7 @@ ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
@ -515,9 +521,14 @@ fi
I4LCONFDIR=${I4LCONFDIR:-"/etc/isdn"}
I4LVERSION=${I4LVERSION:-"?.?"}
MANDATE=`grep CHECKIN hisaxctrl.man.in | awk '{print $4}'`
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:532: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -546,6 +557,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:561: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -592,7 +604,47 @@ fi
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:609: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <<EOF
#line 619 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
if { (eval echo configure:623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
ac_cv_prog_cc_cross=no
else
ac_cv_prog_cc_cross=yes
fi
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_prog_cc_works=no
fi
rm -fr conftest*
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:643: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:648: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -601,7 +653,7 @@ else
yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
@ -609,29 +661,34 @@ fi
fi
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
if test $ac_cv_prog_gcc = yes; then
GCC=yes
if test "${CFLAGS+set}" != set; then
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:672: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
ac_cv_prog_gcc_g=yes
ac_cv_prog_cc_g=yes
else
ac_cv_prog_gcc_g=no
ac_cv_prog_cc_g=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
if test $ac_cv_prog_gcc_g = yes; then
CFLAGS="-g -O"
else
CFLAGS="-O"
fi
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
if test "$ac_test_CFLAGS" = set; then
CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
CFLAGS="-g -O2"
else
CFLAGS="-O2"
fi
else
GCC=
@ -668,11 +725,12 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:729: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
for ac_dir in $PATH; do
# Account for people who put trailing slashes in PATH elements.
case "$ac_dir/" in
@ -695,7 +753,7 @@ else
;;
esac
done
IFS="$ac_save_ifs"
IFS="$ac_save_IFS"
fi
if test "${ac_cv_path_install+set}" = set; then
@ -719,6 +777,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:781: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
@ -733,33 +792,37 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
#line 737 "configure"
#line 796 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
else
echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
#line 752 "configure"
#line 813 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
else
echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
CPP=/lib/cpp
fi
@ -774,38 +837,13 @@ else
fi
echo "$ac_t""$CPP" 1>&6
# If we cannot run a trivial program, we must be cross compiling.
echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
ac_cv_c_cross=yes
else
cat > conftest.$ac_ext <<EOF
#line 787 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
{ (eval echo configure:791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_cross=no
else
ac_cv_c_cross=yes
fi
fi
rm -fr conftest*
fi
echo "$ac_t""$ac_cv_c_cross" 1>&6
cross_compiling=$ac_cv_c_cross
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:842: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 809 "configure"
#line 847 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
@ -813,13 +851,15 @@ else
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
ac_cv_header_stdc=yes
else
echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_header_stdc=no
fi
@ -828,7 +868,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 832 "configure"
#line 872 "configure"
#include "confdefs.h"
#include <string.h>
EOF
@ -846,7 +886,7 @@ fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 850 "configure"
#line 890 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
@ -866,8 +906,8 @@ if test $ac_cv_header_stdc = yes; then
if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <<EOF
#line 871 "configure"
cat > conftest.$ac_ext <<EOF
#line 911 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@ -878,14 +918,18 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
{ (eval echo configure:882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
if { (eval echo configure:922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
:
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -fr conftest*
ac_cv_header_stdc=no
fi
fi
rm -fr conftest*
fi
fi
fi
@ -899,24 +943,27 @@ fi
for ac_hdr in fcntl.h sys/ioctl.h unistd.h
do
ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:949: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 909 "configure"
#line 954 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes"
else
echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_header_$ac_safe=no"
fi
@ -924,7 +971,7 @@ rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
@ -938,12 +985,13 @@ done
if test $ac_cv_prog_gcc = yes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
echo "configure:989: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_pattern="Autoconf.*'x'"
cat > conftest.$ac_ext <<EOF
#line 947 "configure"
#line 995 "configure"
#include "confdefs.h"
#include <sgtty.h>
Autoconf TIOCGETP
@ -961,7 +1009,7 @@ rm -f conftest*
if test $ac_cv_prog_gcc_traditional = no; then
cat > conftest.$ac_ext <<EOF
#line 965 "configure"
#line 1013 "configure"
#include "confdefs.h"
#include <termio.h>
Autoconf TCGETA
@ -985,11 +1033,12 @@ fi
for ac_func in strtol
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1037: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 993 "configure"
#line 1042 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -999,8 +1048,7 @@ else
builtin and then its argument prototype would still apply. */
char $ac_func();
int main() { return 0; }
int t() {
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
@ -1013,16 +1061,18 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:1017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
echo "$ac_t""yes" 1>&6
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
@ -1037,6 +1087,9 @@ done
trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
@ -1054,11 +1107,25 @@ cat > confcache <<\EOF
# --recheck option to rerun configure.
#
EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
>> confcache
case `(ac_space=' '; set) 2>&1` in
*ac_space=\ *)
# `set' does not quote correctly, so add quotes (double-quote substitution
# turns \\\\ into \\, and sed turns \\ into \).
sed -n \
-e "s/'/'\\\\''/g" \
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
;;
*)
# `set' quotes correctly as required by POSIX, so do not add quotes.
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
;;
esac >> confcache
if cmp -s $cache_file confcache; then
:
else
@ -1125,7 +1192,7 @@ do
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "$CONFIG_STATUS generated by autoconf version 2.10"
echo "$CONFIG_STATUS generated by autoconf version 2.12"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
@ -1136,7 +1203,7 @@ done
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
trap 'rm -fr `echo "Makefile hisaxctrl.man telesctrl.man" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
@ -1171,23 +1238,62 @@ s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@CPP@%$CPP%g
s%@INSTALL@%$INSTALL%g
s%@MANDATE@%$MANDATE%g
s%@I4LCONFDIR@%$I4LCONFDIR%g
s%@I4LVERSION@%$I4LVERSION%g
CEOF
EOF
cat >> $CONFIG_STATUS <<\EOF
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
if test $ac_beg -gt 1; then
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
else
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
fi
if test ! -s conftest.s$ac_file; then
ac_more_lines=false
rm -f conftest.s$ac_file
else
if test -z "$ac_sed_cmds"; then
ac_sed_cmds="sed -f conftest.s$ac_file"
else
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
fi
ac_file=`expr $ac_file + 1`
ac_beg=$ac_end
ac_end=`expr $ac_end + $ac_max_sed_cmds`
fi
done
if test -z "$ac_sed_cmds"; then
ac_sed_cmds=cat
fi
EOF
cat >> $CONFIG_STATUS <<EOF
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
CONFIG_FILES=\${CONFIG_FILES-"Makefile hisaxctrl.man telesctrl.man"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# Support "outfile[:infile]", defaulting infile="outfile.in".
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
# Adjust relative srcdir, etc. for subdirectories.
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
@ -1215,6 +1321,7 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
[/$]*) INSTALL="$ac_given_INSTALL" ;;
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
esac
echo creating "$ac_file"
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
@ -1223,16 +1330,22 @@ for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# $configure_input" ;;
*) ac_comsub= ;;
esac
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.subs
rm -f conftest.s*
EOF
cat >> $CONFIG_STATUS <<EOF
EOF
cat >> $CONFIG_STATUS <<\EOF
exit 0
EOF

View File

@ -2,6 +2,10 @@ dnl Process this file with autoconf to produce a configure script.
AC_INIT(telesctrl.c)
AC_PREFIX_DEFAULT(/usr)
I4LCONFDIR=${I4LCONFDIR:-"/etc/isdn"}
I4LVERSION=${I4LVERSION:-"?.?"}
MANDATE=`grep CHECKIN hisaxctrl.man.in | awk '{print $4}'`
dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
@ -19,4 +23,7 @@ AC_PROG_GCC_TRADITIONAL
AC_CHECK_FUNCS(strtol)
AC_SUBST(INSTALL)
AC_OUTPUT(Makefile)
AC_SUBST(MANDATE)
AC_SUBST(I4LCONFDIR)
AC_SUBST(I4LVERSION)
AC_OUTPUT(Makefile hisaxctrl.man telesctrl.man)

120
teles/hisaxctrl.man.in Normal file
View File

@ -0,0 +1,120 @@
.\" $Id$
.\"
.\" CHECKIN $Date$
.\"
.\" Process this file with
.\" groff -man -Tascii hisaxctrl.1 for ASCII output, or
.\" groff -man -Tps hisaxctrl.1 for PostScript output
.\"
.TH HISAXCTRL 8 "@MANDATE@" isdn4k-utils-@I4LVERSION@ "Linux System Administration"
.SH NAME
hisaxctrl \- configure HiSax-Module-logging
.SH SYNOPSIS
.B hisaxctrl
.I DriverId DebugCmd DebugFlags
.SH DESCRIPTION
.B hisaxctrl
is used to setup the logging-level of the HiSax-ISDN devicedriver. All
logging-output is sent to the device /dev/isdnctrl. So you can show it
by executing
.BR "cat /dev/isdnctrl" .
.LP
The use of
.I hisaxctrl
makes sense, if you are using the HiSax driver only.
.LP
.SH OPTIONS
.TP
.I DriverId
is used to identify the card when using more than one passive card. While
loading the hisax module with
.IR insmod ", or " modprobe
the DriverId is set by appending
.BI id= idstring1 % idstring2 %...
to the commandline.
.LP
.TP
.I DebugCmd
is an integer selecting the debug category. The following values are
defined:
.LP
.RS
.BR " 1" " selects generic debugging."
.br
.BR 11 " selects layer 1 developement debugging."
.br
.BR 13 " selects layer 3 developement debugging."
.br
.RE
.TP
.I DebugFlag
is an integer representing a bitmask. Every bit in this mask switches
a debug facility on or off. Depending on the selected category,
the following values are defined:
.LP
.RS
.RB With " generic debugging " selected:
.LP
.BR 0x001 " Link-level <--> hardware-level communication"
.br
.BR 0x002 " Top state machine"
.br
.BR 0x004 " D-Channel Q.931 (call control messages)"
.br
.BR 0x008 " D-Channel Q.921"
.br
.BR 0x010 " B-Channel X.75"
.br
.BR 0x020 " D-Channel l2"
.br
.BR 0x040 " B-Channel l2"
.br
.BR 0x080 " D-Channel link state debugging"
.br
.BR 0x100 " B-Channel link state debugging"
.br
.BR 0x200 " TEI debug"
.br
.BR 0x400 " LOCK debug in callc.c"
.br
.BR 0x800 " More debug in callc.c (not for normal use)"
.br
.LP
.RB With " layer 1 developement debugging " selected:
.LP
.BR 0x001 " Warnings (default: on)"
.br
.BR 0x002 " IRQ status"
.br
.BR 0x004 " ISAC"
.br
.BR 0x008 " ISAC FIFO"
.br
.BR 0x010 " HSCX"
.br
.BR 0x020 " HSCX FIFO (attention: full B-Channel output!)"
.br
.BR 0x040 " D-Channel LAPD frame types"
.br
.LP
.RB With " layer 3 developement debugging " selected:
.LP
.BR 0x001 " Warnings (default: on)"
.br
.BR 0x002 " l3 protocol discriptor errors"
.br
.BR 0x004 " l3 state machine"
.br
.BR 0x008 " charge info debugging (1TR6)"
.br
.RE
.LP
.SH EXAMPLE
.TP
.BI hisaxctrl " HiSax 1 0x3ff"
enables full generic debugging.
.SH AUTHOR
\(co 1997 by Karten Keil <keil@temic-ech.spacenet.de>
.LP
.SH SEE ALSO
.BR isdnctrl "(8), " telesctrl "(8), " isdn_cause "(7), " isdninfo (4).

View File

@ -1,61 +0,0 @@
.TH TELESCTRL 8 "3. December 1995"
.UC 4
.SH NAME
telesctrl \- configure Teles-Module-logging
.SH SYNOPSIS
telesctrl [-d DriverId] 1 <LogFlags>
.br
.SH DESCRIPTION
.I telesctrl
is used to setup the logging-level of the Teles-ISDN devicedriver. All
logging-output is sent to the device /dev/isdnctrl. So you can show it
by executing "cat /dev/isdnctrl".
.LP
The use of
.I telesctrl
makes sense, if you are using an Teles-card only.
.LP
.SH OPTIONS
.TP 5
.B -d DriverId
is used to identify the driver when using more than one Teles-card. While
loading the module with
.I insmod,
the driverId is set by appending
.I id=MyId
to the normal insmod-commandline. For this feature insmod from the package
.I modules-1.2.8
or newer should be used as it supports string-initializations.
.LP
The
.I LogFlags
are given as a bit-coded integer with the following values:
.TP 5
.B 1 Link-level <--> Hardware-level communication.
If this bit is set all communication between the isdn-module and the
teles-module is logged.
.TP 5
.B 2 Top statemachine
If this bit is set, all state-changes of the top statemachine are logged.
.TP 5
.B 4 D-channel Q.931
If this bit is set, all Q.931-messages (call-control) are logged.
.TP 5
.B 8 D-channel Q.921
If this bit is set, all Q.921-messages are logged.
.TP 5
.B 16 B-channel X.75
If this bit is set, all B-channel X.75 events are logged.
.LP
.SH AUTHOR
Fritz Elfert <fritz@wuemaus.franken.de>
.LP
.SH SEE ALSO
.I ttyI\c
\&(4),
.I isdnctrl\c
\&(8),
.I telesctrl\c
\&(8),
.I isdninfo\c
\&(4).

120
teles/telesctrl.man.in Normal file
View File

@ -0,0 +1,120 @@
.\" $Id$
.\"
.\" CHECKIN $Date$
.\"
.\" Process this file with
.\" groff -man -Tascii telesctrl.1 for ASCII output, or
.\" groff -man -Tps telesctrl.1 for PostScript output
.\"
.TH TELESCTRL 8 "@MANDATE@" isdn4k-utils-@I4LVERSION@ "Linux System Administration"
.SH NAME
telesctrl \- configure HiSax-Module-logging
.SH SYNOPSIS
.B telesctrl
.I DriverId DebugCmd DebugFlags
.SH DESCRIPTION
.B telesctrl
is used to setup the logging-level of the HiSax-ISDN devicedriver. All
logging-output is sent to the device /dev/isdnctrl. So you can show it
by executing
.BR "cat /dev/isdnctrl" .
.LP
The use of
.I telesctrl
makes sense, if you are using the HiSax driver only.
.LP
.SH OPTIONS
.TP
.I DriverId
is used to identify the card when using more than one passive card. While
loading the hisax module with
.IR insmod ", or " modprobe
the DriverId is set by appending
.BI id= idstring1 % idstring2 %...
to the commandline.
.LP
.TP
.I DebugCmd
is an integer selecting the debug category. The following values are
defined:
.LP
.RS
.BR " 1" " selects generic debugging."
.br
.BR 11 " selects layer 1 developement debugging."
.br
.BR 13 " selects layer 3 developement debugging."
.br
.RE
.TP
.I DebugFlag
is an integer representing a bitmask. Every bit in this mask switches
a debug facility on or off. Depending on the selected category,
the following values are defined:
.LP
.RS
.RB With " generic debugging " selected:
.LP
.BR 0x001 " Link-level <--> hardware-level communication"
.br
.BR 0x002 " Top state machine"
.br
.BR 0x004 " D-Channel Q.931 (call control messages)"
.br
.BR 0x008 " D-Channel Q.921"
.br
.BR 0x010 " B-Channel X.75"
.br
.BR 0x020 " D-Channel l2"
.br
.BR 0x040 " B-Channel l2"
.br
.BR 0x080 " D-Channel link state debugging"
.br
.BR 0x100 " B-Channel link state debugging"
.br
.BR 0x200 " TEI debug"
.br
.BR 0x400 " LOCK debug in callc.c"
.br
.BR 0x800 " More debug in callc.c (not for normal use)"
.br
.LP
.RB With " layer 1 developement debugging " selected:
.LP
.BR 0x001 " Warnings (default: on)"
.br
.BR 0x002 " IRQ status"
.br
.BR 0x004 " ISAC"
.br
.BR 0x008 " ISAC FIFO"
.br
.BR 0x010 " HSCX"
.br
.BR 0x020 " HSCX FIFO (attention: full B-Channel output!)"
.br
.BR 0x040 " D-Channel LAPD frame types"
.br
.LP
.RB With " layer 3 developement debugging " selected:
.LP
.BR 0x001 " Warnings (default: on)"
.br
.BR 0x002 " l3 protocol discriptor errors"
.br
.BR 0x004 " l3 state machine"
.br
.BR 0x008 " charge info debugging (1TR6)"
.br
.RE
.LP
.SH EXAMPLE
.TP
.BI telesctrl " HiSax 1 0x3ff"
enables full generic debugging.
.SH AUTHOR
\(co 1997 by Karten Keil <keil@temic-ech.spacenet.de>
.LP
.SH SEE ALSO
.BR isdnctrl "(8), " hisaxctrl "(8), " isdn_cause "(7), " isdninfo (4).