From ce6018836c422c86a729ba39fe5433ec11b87b02 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sun, 14 Sep 1997 18:12:16 +0000 Subject: Pull in sources from zephyr locker. See /mit/zephyr/repository for detailed change information. --- util.old/et/.Imakefile,l | 1 - util.old/et/.com_err.3,l | 1 - util.old/et/.com_err.c,l | 1 - util.old/et/.com_err.h,l | 1 - util.old/et/.com_err.texinfo,l | 1 - util.old/et/.compile_et.1,l | 1 - util.old/et/.compile_et.c,l | 1 - util.old/et/.compiler.h,l | 1 - util.old/et/.error_message.c,l | 1 - util.old/et/.error_table.h,l | 1 - util.old/et/.error_table.y,l | 1 - util.old/et/.et_lex.lex.l,l | 1 - util.old/et/.et_name.c,l | 1 - util.old/et/.init_et.c,l | 1 - util.old/et/.internal.h,l | 1 - util.old/et/.mit-sipb-copyright.h,l | 1 - util.old/et/.test.c,l | 1 - util.old/et/.test1.et,l | 1 - util.old/et/.test2.et,l | 1 - util.old/et/.texinfo.tex,l | 1 - util.old/imake/.Imakefile,l | 1 - util.old/imake/.Makefile,l | 1 - util.old/imake/.Makefile.ini,l | 1 - util.old/imake/.ccimake.c,l | 1 - util.old/imake/.imake.c,l | 1 - util.old/imake/.imakemdep.h,l | 1 - util.old/ss/.Imakefile,l | 1 - util.old/ss/.cmd_tbl.l,l | 1 - util.old/ss/.commands.ct,l | 1 - util.old/ss/.copyright.h,l | 1 - util.old/ss/.ct.y,l | 1 - util.old/ss/.data.c,l | 1 - util.old/ss/.error.c,l | 1 - util.old/ss/.execute_cmd.c,l | 1 - util.old/ss/.help.c,l | 1 - util.old/ss/.invocation.c,l | 1 - util.old/ss/.list_rqs.c,l | 1 - util.old/ss/.listen.c,l | 1 - util.old/ss/.mit-sipb-copyright.h,l | 1 - util.old/ss/.mk_cmds.c,l | 1 - util.old/ss/.options.c,l | 1 - util.old/ss/.pager.c,l | 1 - util.old/ss/.parse.c,l | 1 - util.old/ss/.prompt.c,l | 1 - util.old/ss/.request_tbl.c,l | 1 - util.old/ss/.requests.c,l | 1 - util.old/ss/.ss.h,l | 1 - util.old/ss/.ss_err.et,l | 1 - util.old/ss/.ss_internal.h,l | 1 - util.old/ss/.std_rqs.ct,l | 1 - util.old/ss/.test.c,l | 1 - util.old/ss/.utils.c,l | 1 - util/ss/ChangeLog | 65 -- util/ss/Makefile.in | 159 ---- util/ss/cmd_tbl.lex.l | 82 -- util/ss/config_script | 25 - util/ss/configure | 1394 ------------------------------- util/ss/configure.in | 24 - util/ss/copyright.h | 19 - util/ss/ct.y | 82 -- util/ss/ct_c.awk | 77 -- util/ss/ct_c.sed | 161 ---- util/ss/data.c | 16 - util/ss/error.c | 97 --- util/ss/execute_cmd.c | 215 ----- util/ss/help.c | 151 ---- util/ss/invocation.c | 78 -- util/ss/list_rqs.c | 88 -- util/ss/listen.c | 130 --- util/ss/mit-sipb-copyright.h | 19 - util/ss/mk_cmds.c | 100 --- util/ss/mk_cmds.sh | 23 - util/ss/options.c | 32 - util/ss/pager.c | 91 -- util/ss/parse.c | 135 --- util/ss/prompt.c | 27 - util/ss/request_tbl.c | 63 -- util/ss/requests.c | 48 -- util/ss/ss.h | 61 -- util/ss/ss_err.et | 39 - util/ss/ss_internal.h | 120 --- util/ss/std_rqs.ct | 46 - util/ss/test_ss.c | 100 --- util/ss/utils.c | 137 --- zhm/Imakefile | 27 - zhm/Makefile.in | 48 ++ zhm/TODO | 9 - zhm/queue.c | 383 ++++----- zhm/timer.c | 257 ++++++ zhm/timer.h | 56 ++ zhm/zhm.c | 576 ++++++------- zhm/zhm.h | 96 +-- zhm/zhm_client.c | 125 ++- zhm/zhm_server.c | 216 ++--- zwgc/Dictionary/Imakefile | 32 - zwgc/Dictionary/dictionary.c | 261 ------ zwgc/Dictionary/dictionary.h | 111 --- zwgc/Dictionary/string_dictionary_aux.c | 101 --- zwgc/Dictionary/string_dictionary_aux.h | 58 -- zwgc/Imakefile | 117 --- zwgc/Makefile.in | 140 ++++ zwgc/Memory/Imakefile | 19 - zwgc/Memory/new_memory.c | 252 ------ zwgc/Memory/new_memory.h | 86 -- zwgc/String/Imakefile | 22 - zwgc/String/new_string.c | 197 ----- zwgc/String/new_string.c.old | 197 ----- zwgc/String/new_string.h | 136 --- zwgc/X_driver.c | 36 +- zwgc/X_fonts.c | 10 +- zwgc/X_gram.c | 34 +- zwgc/browser.c | 3 +- zwgc/buffer.c | 4 +- zwgc/character_class.c | 4 +- zwgc/dictionary.c | 263 ++++++ zwgc/dictionary.h | 111 +++ zwgc/display.c | 11 +- zwgc/error.c | 4 +- zwgc/eval.c | 8 +- zwgc/exec.c | 9 +- zwgc/file.c | 7 +- zwgc/formatter.c | 52 +- zwgc/generate_instance | 42 - zwgc/instantiate | 39 + zwgc/lexer.c | 6 +- zwgc/main.c | 39 +- zwgc/main.h | 6 +- zwgc/mux.c | 12 +- zwgc/new_memory.c | 244 ++++++ zwgc/new_memory.h | 86 ++ zwgc/new_string.c | 196 +++++ zwgc/new_string.h | 136 +++ zwgc/node.c | 6 +- zwgc/node.h | 93 ++- zwgc/notice.c | 6 +- zwgc/parser.y | 8 +- zwgc/port.c | 47 +- zwgc/regexp.c | 30 +- zwgc/standard_ports.c | 22 +- zwgc/string_dictionary_aux.c | 102 +++ zwgc/string_dictionary_aux.h | 58 ++ zwgc/subscriptions.c | 3 +- zwgc/substitute.c | 1 + zwgc/text_operations.c | 4 +- zwgc/tty_filter.c | 71 +- zwgc/ulong.h | 24 - zwgc/unsigned_long.h | 5 + zwgc/variables.c | 6 +- zwgc/xcut.c | 11 +- zwgc/xerror.c | 10 +- zwgc/xerror.h | 2 +- zwgc/xmark.c | 8 +- zwgc/xrevstack.c | 12 +- zwgc/xselect.c | 10 +- zwgc/xshow.c | 10 +- zwgc/zephyr.c | 60 +- zwgc/zephyr.vars | 23 - zwgc/zephyr.vars.in | 23 + zwgc/zwgc.1 | 31 +- zwgc/zwgc.desc | 18 +- 160 files changed, 2824 insertions(+), 6720 deletions(-) delete mode 100644 util.old/et/.Imakefile,l delete mode 100644 util.old/et/.com_err.3,l delete mode 100644 util.old/et/.com_err.c,l delete mode 100644 util.old/et/.com_err.h,l delete mode 100644 util.old/et/.com_err.texinfo,l delete mode 100644 util.old/et/.compile_et.1,l delete mode 100644 util.old/et/.compile_et.c,l delete mode 100644 util.old/et/.compiler.h,l delete mode 100644 util.old/et/.error_message.c,l delete mode 100644 util.old/et/.error_table.h,l delete mode 100644 util.old/et/.error_table.y,l delete mode 100644 util.old/et/.et_lex.lex.l,l delete mode 100644 util.old/et/.et_name.c,l delete mode 100644 util.old/et/.init_et.c,l delete mode 100644 util.old/et/.internal.h,l delete mode 100644 util.old/et/.mit-sipb-copyright.h,l delete mode 100644 util.old/et/.test.c,l delete mode 100644 util.old/et/.test1.et,l delete mode 100644 util.old/et/.test2.et,l delete mode 100644 util.old/et/.texinfo.tex,l delete mode 100644 util.old/imake/.Imakefile,l delete mode 100644 util.old/imake/.Makefile,l delete mode 100644 util.old/imake/.Makefile.ini,l delete mode 100644 util.old/imake/.ccimake.c,l delete mode 100644 util.old/imake/.imake.c,l delete mode 100644 util.old/imake/.imakemdep.h,l delete mode 100644 util.old/ss/.Imakefile,l delete mode 100644 util.old/ss/.cmd_tbl.l,l delete mode 100644 util.old/ss/.commands.ct,l delete mode 100644 util.old/ss/.copyright.h,l delete mode 100644 util.old/ss/.ct.y,l delete mode 100644 util.old/ss/.data.c,l delete mode 100644 util.old/ss/.error.c,l delete mode 100644 util.old/ss/.execute_cmd.c,l delete mode 100644 util.old/ss/.help.c,l delete mode 100644 util.old/ss/.invocation.c,l delete mode 100644 util.old/ss/.list_rqs.c,l delete mode 100644 util.old/ss/.listen.c,l delete mode 100644 util.old/ss/.mit-sipb-copyright.h,l delete mode 100644 util.old/ss/.mk_cmds.c,l delete mode 100644 util.old/ss/.options.c,l delete mode 100644 util.old/ss/.pager.c,l delete mode 100644 util.old/ss/.parse.c,l delete mode 100644 util.old/ss/.prompt.c,l delete mode 100644 util.old/ss/.request_tbl.c,l delete mode 100644 util.old/ss/.requests.c,l delete mode 100644 util.old/ss/.ss.h,l delete mode 100644 util.old/ss/.ss_err.et,l delete mode 100644 util.old/ss/.ss_internal.h,l delete mode 100644 util.old/ss/.std_rqs.ct,l delete mode 100644 util.old/ss/.test.c,l delete mode 100644 util.old/ss/.utils.c,l delete mode 100644 util/ss/ChangeLog delete mode 100644 util/ss/Makefile.in delete mode 100644 util/ss/cmd_tbl.lex.l delete mode 100755 util/ss/config_script delete mode 100755 util/ss/configure delete mode 100644 util/ss/configure.in delete mode 100644 util/ss/copyright.h delete mode 100644 util/ss/ct.y delete mode 100644 util/ss/ct_c.awk delete mode 100644 util/ss/ct_c.sed delete mode 100644 util/ss/data.c delete mode 100644 util/ss/error.c delete mode 100644 util/ss/execute_cmd.c delete mode 100644 util/ss/help.c delete mode 100644 util/ss/invocation.c delete mode 100644 util/ss/list_rqs.c delete mode 100644 util/ss/listen.c delete mode 100644 util/ss/mit-sipb-copyright.h delete mode 100644 util/ss/mk_cmds.c delete mode 100755 util/ss/mk_cmds.sh delete mode 100644 util/ss/options.c delete mode 100644 util/ss/pager.c delete mode 100644 util/ss/parse.c delete mode 100644 util/ss/prompt.c delete mode 100644 util/ss/request_tbl.c delete mode 100644 util/ss/requests.c delete mode 100644 util/ss/ss.h delete mode 100644 util/ss/ss_err.et delete mode 100644 util/ss/ss_internal.h delete mode 100644 util/ss/std_rqs.ct delete mode 100644 util/ss/test_ss.c delete mode 100644 util/ss/utils.c delete mode 100644 zhm/Imakefile create mode 100644 zhm/Makefile.in delete mode 100644 zhm/TODO create mode 100644 zhm/timer.c create mode 100644 zhm/timer.h delete mode 100644 zwgc/Dictionary/Imakefile delete mode 100644 zwgc/Dictionary/dictionary.c delete mode 100644 zwgc/Dictionary/dictionary.h delete mode 100644 zwgc/Dictionary/string_dictionary_aux.c delete mode 100644 zwgc/Dictionary/string_dictionary_aux.h delete mode 100644 zwgc/Imakefile create mode 100644 zwgc/Makefile.in delete mode 100644 zwgc/Memory/Imakefile delete mode 100644 zwgc/Memory/new_memory.c delete mode 100644 zwgc/Memory/new_memory.h delete mode 100644 zwgc/String/Imakefile delete mode 100644 zwgc/String/new_string.c delete mode 100644 zwgc/String/new_string.c.old delete mode 100644 zwgc/String/new_string.h create mode 100644 zwgc/dictionary.c create mode 100644 zwgc/dictionary.h delete mode 100755 zwgc/generate_instance create mode 100755 zwgc/instantiate create mode 100644 zwgc/new_memory.c create mode 100644 zwgc/new_memory.h create mode 100644 zwgc/new_string.c create mode 100644 zwgc/new_string.h create mode 100644 zwgc/string_dictionary_aux.c create mode 100644 zwgc/string_dictionary_aux.h delete mode 100644 zwgc/ulong.h create mode 100644 zwgc/unsigned_long.h delete mode 100644 zwgc/zephyr.vars create mode 100644 zwgc/zephyr.vars.in diff --git a/util.old/et/.Imakefile,l b/util.old/et/.Imakefile,l deleted file mode 100644 index 6d6483e..0000000 --- a/util.old/et/.Imakefile,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/Imakefile \ No newline at end of file diff --git a/util.old/et/.com_err.3,l b/util.old/et/.com_err.3,l deleted file mode 100644 index 4190732..0000000 --- a/util.old/et/.com_err.3,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/com_err.3 \ No newline at end of file diff --git a/util.old/et/.com_err.c,l b/util.old/et/.com_err.c,l deleted file mode 100644 index c1144a0..0000000 --- a/util.old/et/.com_err.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/com_err.c \ No newline at end of file diff --git a/util.old/et/.com_err.h,l b/util.old/et/.com_err.h,l deleted file mode 100644 index 738cd08..0000000 --- a/util.old/et/.com_err.h,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/com_err.h \ No newline at end of file diff --git a/util.old/et/.com_err.texinfo,l b/util.old/et/.com_err.texinfo,l deleted file mode 100644 index 5e51a58..0000000 --- a/util.old/et/.com_err.texinfo,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/com_err.texinfo \ No newline at end of file diff --git a/util.old/et/.compile_et.1,l b/util.old/et/.compile_et.1,l deleted file mode 100644 index a72e7b9..0000000 --- a/util.old/et/.compile_et.1,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/compile_et.1 \ No newline at end of file diff --git a/util.old/et/.compile_et.c,l b/util.old/et/.compile_et.c,l deleted file mode 100644 index 13c8234..0000000 --- a/util.old/et/.compile_et.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/compile_et.c \ No newline at end of file diff --git a/util.old/et/.compiler.h,l b/util.old/et/.compiler.h,l deleted file mode 100644 index bfb5287..0000000 --- a/util.old/et/.compiler.h,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/compiler.h \ No newline at end of file diff --git a/util.old/et/.error_message.c,l b/util.old/et/.error_message.c,l deleted file mode 100644 index ff27856..0000000 --- a/util.old/et/.error_message.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/error_message.c \ No newline at end of file diff --git a/util.old/et/.error_table.h,l b/util.old/et/.error_table.h,l deleted file mode 100644 index 761375e..0000000 --- a/util.old/et/.error_table.h,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/error_table.h \ No newline at end of file diff --git a/util.old/et/.error_table.y,l b/util.old/et/.error_table.y,l deleted file mode 100644 index 6f6743f..0000000 --- a/util.old/et/.error_table.y,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/error_table.y \ No newline at end of file diff --git a/util.old/et/.et_lex.lex.l,l b/util.old/et/.et_lex.lex.l,l deleted file mode 100644 index e76d177..0000000 --- a/util.old/et/.et_lex.lex.l,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/et_lex.lex.l \ No newline at end of file diff --git a/util.old/et/.et_name.c,l b/util.old/et/.et_name.c,l deleted file mode 100644 index 9edb7d3..0000000 --- a/util.old/et/.et_name.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/et_name.c \ No newline at end of file diff --git a/util.old/et/.init_et.c,l b/util.old/et/.init_et.c,l deleted file mode 100644 index e0641ca..0000000 --- a/util.old/et/.init_et.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/init_et.c \ No newline at end of file diff --git a/util.old/et/.internal.h,l b/util.old/et/.internal.h,l deleted file mode 100644 index ba7faef..0000000 --- a/util.old/et/.internal.h,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/internal.h \ No newline at end of file diff --git a/util.old/et/.mit-sipb-copyright.h,l b/util.old/et/.mit-sipb-copyright.h,l deleted file mode 100644 index 5b0d67d..0000000 --- a/util.old/et/.mit-sipb-copyright.h,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/mit-sipb-copyright.h \ No newline at end of file diff --git a/util.old/et/.test.c,l b/util.old/et/.test.c,l deleted file mode 100644 index 66847ad..0000000 --- a/util.old/et/.test.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/test.c \ No newline at end of file diff --git a/util.old/et/.test1.et,l b/util.old/et/.test1.et,l deleted file mode 100644 index df2e9a0..0000000 --- a/util.old/et/.test1.et,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/test1.et \ No newline at end of file diff --git a/util.old/et/.test2.et,l b/util.old/et/.test2.et,l deleted file mode 100644 index ada475d..0000000 --- a/util.old/et/.test2.et,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/test2.et \ No newline at end of file diff --git a/util.old/et/.texinfo.tex,l b/util.old/et/.texinfo.tex,l deleted file mode 100644 index 241a0a5..0000000 --- a/util.old/et/.texinfo.tex,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/et/texinfo.tex \ No newline at end of file diff --git a/util.old/imake/.Imakefile,l b/util.old/imake/.Imakefile,l deleted file mode 100644 index bcd58f1..0000000 --- a/util.old/imake/.Imakefile,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/util/imake/Imakefile \ No newline at end of file diff --git a/util.old/imake/.Makefile,l b/util.old/imake/.Makefile,l deleted file mode 100644 index 2c5ac0b..0000000 --- a/util.old/imake/.Makefile,l +++ /dev/null @@ -1 +0,0 @@ -Makefile.ini \ No newline at end of file diff --git a/util.old/imake/.Makefile.ini,l b/util.old/imake/.Makefile.ini,l deleted file mode 100644 index 943476f..0000000 --- a/util.old/imake/.Makefile.ini,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/util/imake/Makefile.ini \ No newline at end of file diff --git a/util.old/imake/.ccimake.c,l b/util.old/imake/.ccimake.c,l deleted file mode 100644 index 53094b2..0000000 --- a/util.old/imake/.ccimake.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/util/imake/ccimake.c \ No newline at end of file diff --git a/util.old/imake/.imake.c,l b/util.old/imake/.imake.c,l deleted file mode 100644 index aa89788..0000000 --- a/util.old/imake/.imake.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/util/imake/imake.c \ No newline at end of file diff --git a/util.old/imake/.imakemdep.h,l b/util.old/imake/.imakemdep.h,l deleted file mode 100644 index 7fa9876..0000000 --- a/util.old/imake/.imakemdep.h,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/util/imake/imakemdep.h \ No newline at end of file diff --git a/util.old/ss/.Imakefile,l b/util.old/ss/.Imakefile,l deleted file mode 100644 index 5a69131..0000000 --- a/util.old/ss/.Imakefile,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/Imakefile \ No newline at end of file diff --git a/util.old/ss/.cmd_tbl.l,l b/util.old/ss/.cmd_tbl.l,l deleted file mode 100644 index 9d344fe..0000000 --- a/util.old/ss/.cmd_tbl.l,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/cmd_tbl.l \ No newline at end of file diff --git a/util.old/ss/.commands.ct,l b/util.old/ss/.commands.ct,l deleted file mode 100644 index 819e77c..0000000 --- a/util.old/ss/.commands.ct,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/commands.ct \ No newline at end of file diff --git a/util.old/ss/.copyright.h,l b/util.old/ss/.copyright.h,l deleted file mode 100644 index f5edea1..0000000 --- a/util.old/ss/.copyright.h,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/copyright.h \ No newline at end of file diff --git a/util.old/ss/.ct.y,l b/util.old/ss/.ct.y,l deleted file mode 100644 index 12f181f..0000000 --- a/util.old/ss/.ct.y,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/ct.y \ No newline at end of file diff --git a/util.old/ss/.data.c,l b/util.old/ss/.data.c,l deleted file mode 100644 index 9cacdd4..0000000 --- a/util.old/ss/.data.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/data.c \ No newline at end of file diff --git a/util.old/ss/.error.c,l b/util.old/ss/.error.c,l deleted file mode 100644 index 9161238..0000000 --- a/util.old/ss/.error.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/error.c \ No newline at end of file diff --git a/util.old/ss/.execute_cmd.c,l b/util.old/ss/.execute_cmd.c,l deleted file mode 100644 index 20898d2..0000000 --- a/util.old/ss/.execute_cmd.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/execute_cmd.c \ No newline at end of file diff --git a/util.old/ss/.help.c,l b/util.old/ss/.help.c,l deleted file mode 100644 index a74c5a1..0000000 --- a/util.old/ss/.help.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/help.c \ No newline at end of file diff --git a/util.old/ss/.invocation.c,l b/util.old/ss/.invocation.c,l deleted file mode 100644 index 3c13e8f..0000000 --- a/util.old/ss/.invocation.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/invocation.c \ No newline at end of file diff --git a/util.old/ss/.list_rqs.c,l b/util.old/ss/.list_rqs.c,l deleted file mode 100644 index 0924575..0000000 --- a/util.old/ss/.list_rqs.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/list_rqs.c \ No newline at end of file diff --git a/util.old/ss/.listen.c,l b/util.old/ss/.listen.c,l deleted file mode 100644 index 61d89fe..0000000 --- a/util.old/ss/.listen.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/listen.c \ No newline at end of file diff --git a/util.old/ss/.mit-sipb-copyright.h,l b/util.old/ss/.mit-sipb-copyright.h,l deleted file mode 100644 index 3401c9c..0000000 --- a/util.old/ss/.mit-sipb-copyright.h,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/mit-sipb-copyright.h \ No newline at end of file diff --git a/util.old/ss/.mk_cmds.c,l b/util.old/ss/.mk_cmds.c,l deleted file mode 100644 index a26bbfa..0000000 --- a/util.old/ss/.mk_cmds.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/mk_cmds.c \ No newline at end of file diff --git a/util.old/ss/.options.c,l b/util.old/ss/.options.c,l deleted file mode 100644 index e19e361..0000000 --- a/util.old/ss/.options.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/options.c \ No newline at end of file diff --git a/util.old/ss/.pager.c,l b/util.old/ss/.pager.c,l deleted file mode 100644 index a7e9ffa..0000000 --- a/util.old/ss/.pager.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/pager.c \ No newline at end of file diff --git a/util.old/ss/.parse.c,l b/util.old/ss/.parse.c,l deleted file mode 100644 index bcd0a1a..0000000 --- a/util.old/ss/.parse.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/parse.c \ No newline at end of file diff --git a/util.old/ss/.prompt.c,l b/util.old/ss/.prompt.c,l deleted file mode 100644 index f72aa6b..0000000 --- a/util.old/ss/.prompt.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/prompt.c \ No newline at end of file diff --git a/util.old/ss/.request_tbl.c,l b/util.old/ss/.request_tbl.c,l deleted file mode 100644 index c186fbd..0000000 --- a/util.old/ss/.request_tbl.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/request_tbl.c \ No newline at end of file diff --git a/util.old/ss/.requests.c,l b/util.old/ss/.requests.c,l deleted file mode 100644 index 3c478d2..0000000 --- a/util.old/ss/.requests.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/requests.c \ No newline at end of file diff --git a/util.old/ss/.ss.h,l b/util.old/ss/.ss.h,l deleted file mode 100644 index 99983a8..0000000 --- a/util.old/ss/.ss.h,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/ss.h \ No newline at end of file diff --git a/util.old/ss/.ss_err.et,l b/util.old/ss/.ss_err.et,l deleted file mode 100644 index d76904a..0000000 --- a/util.old/ss/.ss_err.et,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/ss_err.et \ No newline at end of file diff --git a/util.old/ss/.ss_internal.h,l b/util.old/ss/.ss_internal.h,l deleted file mode 100644 index 8b93167..0000000 --- a/util.old/ss/.ss_internal.h,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/ss_internal.h \ No newline at end of file diff --git a/util.old/ss/.std_rqs.ct,l b/util.old/ss/.std_rqs.ct,l deleted file mode 100644 index 0829cdf..0000000 --- a/util.old/ss/.std_rqs.ct,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/std_rqs.ct \ No newline at end of file diff --git a/util.old/ss/.test.c,l b/util.old/ss/.test.c,l deleted file mode 100644 index 93567b6..0000000 --- a/util.old/ss/.test.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/test.c \ No newline at end of file diff --git a/util.old/ss/.utils.c,l b/util.old/ss/.utils.c,l deleted file mode 100644 index e988303..0000000 --- a/util.old/ss/.utils.c,l +++ /dev/null @@ -1 +0,0 @@ -../../ATHENA/athena/athena.lib/ss/utils.c \ No newline at end of file diff --git a/util/ss/ChangeLog b/util/ss/ChangeLog deleted file mode 100644 index a5ce5ab..0000000 --- a/util/ss/ChangeLog +++ /dev/null @@ -1,65 +0,0 @@ -Sat Oct 22 09:54:50 1994 (tytso@rsx-11) - - * list_rqs.c (ss_list_requests): - * listen.c (ss_listen): - * configure.in: Add AC_RETSIGTYPE to get proper return type for - signal hanlders. - -Fri Oct 21 21:07:16 1994 (tytso@rsx-11) - - * Makefile.in (SED): Don't specify an explicit pathname for sed. - -Tue Oct 11 12:41:40 1994 Theodore Y. Ts'o (tytso@dcl) - - * Makefile.in: Don't rm the awk and sed scripts during a make clean! - -Fri Oct 7 15:37:19 1994 Theodore Y. Ts'o (tytso@dcl) - - * ct_c.sed: Add extra check to make sure blank lines get squeezed - out. Needed for AIX's sed, for some reason. - -Thu Oct 6 19:40:09 1994 Theodore Y. Ts'o (tytso@dcl) - - * mk_cmds.sh -- replace basename with sed -- more portable - -Mon Oct 3 17:26:27 1994 Theodore Y. Ts'o (tytso@dcl) - - * Makefile.in: - configure.in: Don't try to compile mk_cmds. Use awk/sed shell - script replacement instead. It's more apt to be - portable, since it doesn't use lex or yacc. :-( - -Tue Aug 30 21:30:18 1994 Theodore Y. Ts'o (tytso at tsx-11) - - * cmd_tbl.lex.l: Add declaration for strdup() if HAS_STRDUP is not - defined. - - * ct.y: Added #include of string.h; added declaration for - strdup() if HAS_STRDUP is not defined. - -Tue Jul 19 20:27:59 1994 Tom Yu (tlyu at dragons-lair) - - * Makefile.in: remove spurious includes rules - -Wed Jul 13 23:20:44 1994 Tom Yu (tlyu at dragons-lair) - - * Makefile.in: nuke libss.a.bak crud - -Sun Jul 3 07:48:43 1994 Tom Yu (tlyu at dragons-lair) - - * Makefile.in: changing things to now spew ignored errors. - -Wed Jun 22 18:51:50 1994 Mark Eichin (eichin@cygnus.com) - - * configure.in: ss_err.h is *not* a SrcHeader. Note that there is - duplication between the Copy*Header lines and the includes: rule - in the Makefile.in, which should later be fixed. - -Tue Jun 21 00:21:05 1994 Tom Yu (tlyu at dragons-lair) - - * configure.in: should be CopySrcHeader - -Mon Jun 20 21:58:40 1994 Tom Yu (tlyu at dragons-lair) - - * configure.in: install headers during build - diff --git a/util/ss/Makefile.in b/util/ss/Makefile.in deleted file mode 100644 index dd1b12d..0000000 --- a/util/ss/Makefile.in +++ /dev/null @@ -1,159 +0,0 @@ -CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) -LDFLAGS = -g -SED = sed - -INSTALLLIB=cp -INSTALLFILE=cp - -all:: - -TOP=$(BUILDTOP) - -# hard coded srcdir/.. is so that ss/ss.h works - -# hard coded .. is so that ss/ss_err.h works -# hard coded ../et is so com_err.h works -# CFLAGS= -I${INCDIR} -I. -I.. -I../et -g -LOCALINCLUDE= -I. -I$(srcdir)/ -I$(srcdir)/.. -I$(srcdir)/../et -I.. - -# for the library - -LIB= libss.a - -# with ss_err.o first, ss_err.h should get rebuilt first too. should not -# be relying on this, though. -OBJS= ss_err.o \ - std_rqs.o \ - invocation.o help.o \ - execute_cmd.o listen.o parse.o error.o prompt.o \ - request_tbl.o list_rqs.o pager.o requests.o \ - data.o - -SRCS= invocation.c help.c \ - execute_cmd.c listen.c parse.c error.c prompt.c \ - request_tbl.c list_rqs.c pager.c requests.c \ - data.c \ - ss_err.h -# ss_err.h here, so that make depend catches it. - -std_rqs.o:: std_rqs.c ss_err.h - -CODE= $(SRCS) $(MKCMDSFILES) - -MKCMDSOBJS= mk_cmds.o utils.o options.o ct.tab.o cmd_tbl.lex.o - -MKCMDSFILES= mk_cmds.c utils.c options.c ct.y cmd_tbl.lex.l - -MKCMDSCSRCS= mk_cmds.c utils.c options.c ct.tab.c cmd_tbl.lex.c - - -HFILES= ss.h ss_internal.h copyright.h - -# for 'tags' and dependencies - -CFILES= $(SRCS) $(MKCMDSCSRCS) test_ss.c - -# for building archives - -FILES= $(SRCS) $(MKCMDSFILES) $(HFILES) \ - ss_err.et std_rqs.ct Makefile \ - test_ss.c ss mit-sipb-copyright.h copyright.h - -# -# stuff to build -# - -all:: mk_cmds libss.a includes # libss_p.a lint - -dist: archives - -install:: libss.a - $(INSTALLLIB) libss.a ${DESTDIR}$(LIBDIR)/libss.a - $(RANLIB) ${DESTDIR}$(LIBDIR)/libss.a - @rm -rf ${DESTDIR}$(INCLDIR)/ss - @mkdir ${DESTDIR}$(INCLDIR)/ss - - -includes:: mk_cmds ss_err.h - -install:: $(HFILES) copyright.h - for i in $(HFILES) copyright.h; do \ - $(INSTALLFILE) $(srcdir)/$$i ${DESTDIR}$(INCLDIR)/ss/$$i; \ - done - -install:: copyright.h - $(INSTALLFILE) $(srcdir)/copyright.h ${DESTDIR}$(INCLDIR)/ss/mit-sipb-copyright.h - -std_rqs.c: std_rqs.ct - -ss_err.h: ss_err.et - -ss_err.c: ss_err.et - -clean:: - $(RM) ss_err.o ss_err.c ss_err.h std_rqs.c - -depend:: ss_err.h - -ct.tab.c ct.tab.h: ct.y - $(RM) ct.tab.* y.* - $(YACC) -d $(srcdir)/ct.y - $(MV) y.tab.c ct.tab.c - $(MV) y.tab.h ct.tab.h - -# install_library_target(ss,$(OBJS),$(SRCS),) -all:: libss.a - -libss.a: $(OBJS) - $(ARCHIVE) $@ $(OBJS) - $(RANLIB) $@ - -clean:: - $(RM) libss.a - -install:: - $(INSTALLLIB) libss.a $(DESTDIR)$(LIBDIR)/libss.a - $(CHMOD) 644 $(DESTDIR)$(LIBDIR)/libss.a - $(RANLIB) $(DESTDIR)$(LIBDIR)/libss.a - $(CHMOD) 444 $(DESTDIR)$(LIBDIR)/libss.a -## - - -libss.o: $(OBJS) - $(LD) -r -s -o $@ $(OBJS) - $(CHMOD) -x $@ - -# program(mk_cmds,$(MKCMDSOBJS), , LEXLIB BSDLIB,$(PROGDIR)) -all:: mk_cmds - -#mk_cmds: $(MKCMDSOBJS) -# $(CC) $(CFLAGS) -o $@ $(MKCMDSOBJS) $(LEXLIB) $(BSDLIB) -# -#mk_cmds.o: ss_err.h -# -#install:: -# $(INSTALLPROG) mk_cmds ${DESTDIR}$(PROGDIR)/mk_cmds - -mk_cmds: $(srcdir)/mk_cmds.sh $(srcdir)/config_script - $(srcdir)/config_script $(srcdir)/mk_cmds.sh $(AWK) $(SED) > mk_cmds - chmod 755 mk_cmds - -ct_c.awk: $(srcdir)/ct_c.awk - $(CP) $(srcdir)/ct_c.awk ct_c.awk - -ct_c.sed: $(srcdir)/ct_c.sed - $(CP) $(srcdir)/ct_c.sed ct_c.sed - -clean:: - $(RM) mk_cmds $(MKCMDSOBJS) - -# - -clean:: - rm -f *.o *~ \#* *.bak core \ - ss_err.h ct.tab.c ct.tab.h cmd_tbl.lex.c \ - lex.yy.c y.tab.c \ - libss.a libss_p.a llib-lss.ln mk_cmds \ - ss.ar ss.tar \ - TAGS test_ss - diff --git a/util/ss/cmd_tbl.lex.l b/util/ss/cmd_tbl.lex.l deleted file mode 100644 index 166f76d..0000000 --- a/util/ss/cmd_tbl.lex.l +++ /dev/null @@ -1,82 +0,0 @@ -N [0-9] -PC [^\"] -AN [A-Z_a-z0-9] -%% - -command_table return l_command_table(); -request return l_request(); -unimplemented return l_unimplemented(); -end return l_end(); - -[\t\n ] ; - -\"{PC}*\" return l_quoted_string(); - -{AN}* return l_string(); - -#.*\n ; - -. return (*yytext); -%% -/* - * User-subroutines section. - * - * Have to put all this stuff here so that the include file - * from YACC output can be included, since LEX doesn't allow - * an include file before the code it generates for the above - * rules. - * - * Copyright 1987 by MIT Student Information Processing Board. - * - * For copyright info, see mit-sipb-copyright.h. - */ -#include -#include "ct.tab.h" -#include "mit-sipb-copyright.h" - -#ifndef HAS_STRDUP -extern char *strdup(); -#endif - -extern char *last_token; - -static l_command_table() -{ - last_token = "command_table"; - return COMMAND_TABLE; -} - -static l_request() -{ - last_token = "request"; - return REQUEST; -} - -static l_unimplemented() -{ - last_token = "unimplemented"; - return UNIMPLEMENTED; -} - -static l_end() -{ - last_token = "end"; - return END; -} - -static l_quoted_string() -{ - register char *p; - yylval.dynstr = strdup(yytext+1); - if (p=strrchr(yylval.dynstr, '"')) - *p='\0'; - last_token = strdup(yylval.dynstr); - return STRING; -} - -static l_string() -{ - yylval.dynstr = strdup(yytext); - last_token = strdup(yylval.dynstr); - return STRING; -} diff --git a/util/ss/config_script b/util/ss/config_script deleted file mode 100755 index e3de35c..0000000 --- a/util/ss/config_script +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# This program takes a shell script and configures for the following -# variables: @DIR@ -# @AWK@ -# @SED@ -# -# Usage: config_script [] [] -# - -FILE=$1 -AWK=$2 -SED=$3 - -# Grr.... not all Unix's have the dirname command -TMP=`echo $1 | sed -e 's;[^/]*$;;' -e 's/^$/./'` -DIR=`cd ${TMP}; pwd` - -if test "${AWK}x" = "x" ; then - AWK=awk -fi -if test "${SED}x" = "x" ; then - SED=sed -fi -sed -e "s;@DIR@;${DIR};" -e "s;@AWK@;${AWK};" -e "s;@SED@;${SED};" $FILE diff --git a/util/ss/configure b/util/ss/configure deleted file mode 100755 index 43c4bf4..0000000 --- a/util/ss/configure +++ /dev/null @@ -1,1394 +0,0 @@ -#!/bin/sh - - -# Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.1 -# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. - -# Defaults: -ac_help= -ac_default_prefix=/usr/local -# Any additions from configure.in: -ac_help="$ac_help - --with-ccopts=CCOPTS select compiler command line options" -ac_help="$ac_help - --with-cc=COMPILER select compiler to use" -ac_help="$ac_help - --with-cppopts=CPPOPTS select compiler preprocessor command line options" - -# Initialize some variables set by options. -# The variables have the same names as the options, with -# dashes changed to underlines. -build=NONE -cache_file=./config.cache -exec_prefix=NONE -host=NONE -no_create= -nonopt=NONE -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -target=NONE -verbose= -x_includes=NONE -x_libraries=NONE - -# Initialize some other variables. -subdirs= - -ac_prev= -for ac_option -do - - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval "$ac_prev=\$ac_option" - ac_prev= - continue - fi - - case "$ac_option" in - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) ac_optarg= ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case "$ac_option" in - - -build | --build | --buil | --bui | --bu | --b) - ac_prev=build ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=* | --b=*) - build="$ac_optarg" ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file="$ac_optarg" ;; - - -disable-* | --disable-*) - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - eval "enable_${ac_feature}=no" ;; - - -enable-* | --enable-*) - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "enable_${ac_feature}='$ac_optarg'" ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix="$ac_optarg" ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he) - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat << EOF -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print \`checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=PREFIX install architecture-dependent files in PREFIX - [same as prefix] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM run sed PROGRAM on installed program names -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR ---enable and --with options recognized:$ac_help -EOF - exit 0 ;; - - -host | --host | --hos | --ho) - ac_prev=host ;; - -host=* | --host=* | --hos=* | --ho=*) - host="$ac_optarg" ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix="$ac_optarg" ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix="$ac_optarg" ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix="$ac_optarg" ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name="$ac_optarg" ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site="$ac_optarg" ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir="$ac_optarg" ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target="$ac_optarg" ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.1" - exit 0 ;; - - -with-* | --with-*) - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "with_${ac_package}='$ac_optarg'" ;; - - -without-* | --without-*) - ac_package=`echo $ac_option|sed -e 's/-*without-//'` - # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - eval "with_${ac_package}=no" ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes="$ac_optarg" ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries="$ac_optarg" ;; - - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } - ;; - - *) - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then - echo "configure: warning: $ac_option: invalid host type" 1>&2 - fi - if test "x$nonopt" != xNONE; then - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } - fi - nonopt="$ac_option" - ;; - - esac -done - -if test -n "$ac_prev"; then - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -fi - -trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15 - -# File descriptor usage: -# 0 unused; standard input -# 1 file creation -# 2 errors and warnings -# 3 unused; some systems may open it to /dev/tty -# 4 checking for... messages and results -# 5 compiler messages saved in config.log -if test "$silent" = yes; then - exec 4>/dev/null -else - exec 4>&1 -fi -exec 5>./config.log - -echo "\ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. -" 1>&5 - -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell metacharacters. -ac_configure_args= -for ac_arg -do - case "$ac_arg" in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) - ac_configure_args="$ac_configure_args '$ac_arg'" ;; - *) ac_configure_args="$ac_configure_args $ac_arg" ;; - esac -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 -if test "${LANG+set}" = set; then LANG=C; export LANG; fi - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo > confdefs.h - -# A filename unique to this package, relative to the directory that -# configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=ct.y - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then its parent. - ac_prog=$0 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. - srcdir=$ac_confdir - if test ! -r $srcdir/$ac_unique_file; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r $srcdir/$ac_unique_file; then - if test "$ac_srcdir_defaulted" = yes; then - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } - else - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } - fi -fi -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` - -# Prefer explicitly selected file to automatically selected ones. -if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" - fi -fi -for ac_site_file in $CONFIG_SITE; do - if test -r "$ac_site_file"; then - echo "loading site script $ac_site_file" - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - echo "loading cache $cache_file" - . $cache_file -else - echo "creating cache $cache_file" - > $cache_file -fi - -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} $CFLAGS $CPPFLAGS conftest.$ac_ext -c 1>&5 2>&5' -ac_link='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext -o conftest $LIBS 1>&5 2>&5' - -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ac_n= ac_c=' -' ac_t=' ' - else - ac_n=-n ac_c= ac_t= - fi -else - ac_n= ac_c='\c' ac_t= -fi - - - -# Check whether --with-ccopts or --without-ccopts was given. -withval="$with_ccopts" -if test -n "$withval"; then - echo "$ac_t""CCOPTS is $withval" 1>&4 -CCOPTS=$withval -CFLAGS="$CFLAGS $withval" -else - CCOPTS= -fi - - - -# Check whether --with-cc or --without-cc was given. -withval="$with_cc" -if test -n "$withval"; then - echo "$ac_t""CC=$withval" 1>&4 -CC=$withval -else - if test -z "$CC" ; then CC=cc; fi -echo "$ac_t""CC defaults to $CC" 1>&4 -fi - -# Check whether --with-cppopts or --without-cppopts was given. -withval="$with_cppopts" -if test -n "$withval"; then - echo "$ac_t""CPPOPTS=$withval" 1>&4 -CPPOPTS=$withval -CPPFLAGS="$CPPFLAGS $withval" -else - echo "$ac_t""CPPOPTS defaults to $CPPOPTS" 1>&4 -fi - -ac_config_fragdir= -for ac_dir in . .. ../.. ../../.. ../../../.. ../../../../.. ../../../../../..; do - if test -d $srcdir/$ac_dir/config; then - ac_reltopdir=$ac_dir - ac_topdir=$srcdir/$ac_reltopdir - ac_config_fragdir=$ac_reltopdir/config - break - fi -done -if test -z "$ac_config_fragdir"; then - { echo "configure: error: can not find config/ directory in . .. ../.. ../../.. ../../../.. ../../../../.. ../../../../../.." 1>&2; exit 1; } -else - ac_aux_dir= -for ac_dir in $ac_config_fragdir $srcdir/$ac_config_fragdir; do - if test -f $ac_dir/install-sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f $ac_dir/install.sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { echo "configure: error: can not find install-sh or install.sh in $ac_config_fragdir $srcdir/$ac_config_fragdir" 1>&2; exit 1; } -fi -ac_config_guess=$ac_aux_dir/config.guess -ac_config_sub=$ac_aux_dir/config.sub -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. - -fi - ac_tmpin="$srcdir/${ac_config_fragdir}/pre.in" - if test -r $ac_tmpin; then - ac_prepend=$ac_config_fragdir/pre.in - else - ac_prepend= - fi - ac_tmpin="$srcdir/${ac_config_fragdir}/post.in" - if test -r $ac_tmpin; then - ac_postpend=$ac_config_fragdir/post.in - else - ac_postpend= - fi -BUILDTOP=$ac_reltopdir - -# Extract the first word of "flex", so it can be a program name with args. -set dummy flex; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_prog_LEX'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - if test -n "$LEX"; then - ac_cv_prog_LEX="$LEX" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_LEX="flex" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex" -fi -fi -LEX="$ac_cv_prog_LEX" -if test -n "$LEX"; then - echo "$ac_t""$LEX" 1>&4 -else - echo "$ac_t""no" 1>&4 -fi -if test -z "$LEXLIB" -then - case "$LEX" in - flex*) echo $ac_n "checking for -lfl""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_lib_fl'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - ac_save_LIBS="$LIBS" -LIBS="$LIBS -lfl " -cat > conftest.$ac_ext <&4 - LEXLIB="-lfl" -else - echo "$ac_t""no" 1>&4 -fi - ;; - *) echo $ac_n "checking for -ll""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_lib_l'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - ac_save_LIBS="$LIBS" -LIBS="$LIBS -ll " -cat > conftest.$ac_ext <&4 - LEXLIB="-ll" -else - echo "$ac_t""no" 1>&4 -fi - ;; - esac -fi -echo "$ac_t""setting LEXLIB to $LEXLIB" 1>&4 - -for ac_prog in 'bison -y' byacc -do -# Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_prog_YACC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - if test -n "$YACC"; then - ac_cv_prog_YACC="$YACC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_YACC="$ac_prog" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -YACC="$ac_cv_prog_YACC" -if test -n "$YACC"; then - echo "$ac_t""$YACC" 1>&4 -else - echo "$ac_t""no" 1>&4 -fi - -test -n "$YACC" && break -done -test -n "$YACC" || YACC="yacc" - -for ac_prog in mawk gawk nawk awk -do -# Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_prog_AWK'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_AWK="$ac_prog" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -AWK="$ac_cv_prog_AWK" -if test -n "$AWK"; then - echo "$ac_t""$AWK" 1>&4 -else - echo "$ac_t""no" 1>&4 -fi - -test -n "$AWK" && break -done - -# Extract the first word of "ar", so it can be a program name with args. -set dummy ar; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_prog_ARCHIVE'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - if test -n "$ARCHIVE"; then - ac_cv_prog_ARCHIVE="$ARCHIVE" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_ARCHIVE="ar qv" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_ARCHIVE" && ac_cv_prog_ARCHIVE="false" -fi -fi -ARCHIVE="$ac_cv_prog_ARCHIVE" -if test -n "$ARCHIVE"; then - echo "$ac_t""$ARCHIVE" 1>&4 -else - echo "$ac_t""no" 1>&4 -fi - -# Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_prog_RANLIB'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - if test -n "$RANLIB"; then - ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_RANLIB="ranlib" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" -fi -fi -RANLIB="$ac_cv_prog_RANLIB" -if test -n "$RANLIB"; then - echo "$ac_t""$RANLIB" 1>&4 -else - echo "$ac_t""no" 1>&4 -fi - -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4 -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then -if eval "test \"`echo '${'ac_cv_prog_CPP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - # This must be in double quotes, not single quotes, because CPP may get - # substituted into the Makefile and "${CC-cc}" will confuse make. - CPP="${CC-cc} -E" - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. - cat > conftest.$ac_ext < -Syntax Error -EOF -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - rm -rf conftest* - CPP="${CC-cc} -E -traditional-cpp" - cat > conftest.$ac_ext < -Syntax Error -EOF -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then - : -else - echo "$ac_err" >&5 - rm -rf conftest* - CPP=/lib/cpp -fi -rm -f conftest* -fi -rm -f conftest* - ac_cv_prog_CPP="$CPP" -fi -fi -CPP="$ac_cv_prog_CPP" -echo "$ac_t""$CPP" 1>&4 - -echo $ac_n "checking for yylineno declaration""... $ac_c" 1>&4 -if eval "test \"`echo '${'krb5_cv_type_yylineno'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - # some systems have yylineno, others don't... - echo '%% -%%' | ${LEX} -t > conftest.out - if egrep yylineno conftest.out >/dev/null 2>&1; then - krb5_cv_type_yylineno=yes - else - krb5_cv_type_yylineno=no - fi - rm -f conftest.out -fi - - echo "$ac_t""$krb5_cv_type_yylineno" 1>&4 - if test $krb5_cv_type_yylineno = no; then - cat >> confdefs.h <<\EOF -#define NO_YYLINENO 1 -EOF - - fi - -echo $ac_n "checking for strdup""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_func_strdup'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - cat > conftest.$ac_ext < /* Arbitrary system header to define __stub macros. */ -/* Override any gcc2 internal prototype to avoid an error. */ -char strdup(); - -int main() { return 0; } -int t() { - -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_strdup) || defined (__stub___strdup) -choke me -#else -strdup(); -#endif - -; return 0; } -EOF -if eval $ac_link; then - rm -rf conftest* - eval "ac_cv_func_strdup=yes" -else - rm -rf conftest* - eval "ac_cv_func_strdup=no" -fi -rm -f conftest* - -fi -if eval "test \"`echo '$ac_cv_func_'strdup`\" = yes"; then - echo "$ac_t""yes" 1>&4 - cat >> confdefs.h <<\EOF -#define HAS_STRDUP 1 -EOF - -else - echo "$ac_t""no" 1>&4 -fi - - -for ac_prog in mawk gawk nawk awk -do -# Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_prog_AWK'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_AWK="$ac_prog" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -AWK="$ac_cv_prog_AWK" -if test -n "$AWK"; then - echo "$ac_t""$AWK" 1>&4 -else - echo "$ac_t""no" 1>&4 -fi - -test -n "$AWK" && break -done - - - - -ac_safe=`echo "dirent.h" | tr './\055' '___'` -echo $ac_n "checking for dirent.h""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - cat > conftest.$ac_ext < -EOF -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -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 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&4 - cat >> confdefs.h <<\EOF -#define USE_DIRENT_H 1 -EOF - -else - echo "$ac_t""no" 1>&4 -fi - - -echo $ac_n "checking if O_RDONLY is needed from sys/fcntl.h""... $ac_c" 1>&4 -if eval "test \"`echo '${'krb5_cv_decl_fcntl_ordonly'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - cat > conftest.$ac_ext < -#include -#include -int main() { return 0; } -int t() { -1+O_RDONLY; -; return 0; } -EOF -if eval $ac_link; then - rm -rf conftest* - krb5_cv_decl_fcntl_ordonly=no -else - rm -rf conftest* - cat > conftest.$ac_ext < -#include -#include -#include -int main() { return 0; } -int t() { -1+O_RDONLY; -; return 0; } -EOF -if eval $ac_link; then - rm -rf conftest* - krb5_cv_decl_fcntl_ordonly=yes -else - rm -rf conftest* - krb5_cv_decl_fcntl_ordonly=no -fi -rm -f conftest* - -fi -rm -f conftest* - -fi - -echo "$ac_t""$krb5_cv_decl_fcntl_ordonly" 1>&4 -if test $krb5_cv_decl_fcntl_ordonly = yes; then - cat >> confdefs.h <<\EOF -#define NEED_SYS_FCNTL_H 1 -EOF - -fi - - -echo $ac_n "checking for union wait""... $ac_c" 1>&4 -if eval "test \"`echo '${'krb5_cv_struct_wait'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - cat > conftest.$ac_ext < -int main() { return 0; } -int t() { -union wait i; -; return 0; } -EOF -if eval $ac_compile; then - rm -rf conftest* - krb5_cv_struct_wait=yes -else - rm -rf conftest* - krb5_cv_struct_wait=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$krb5_cv_struct_wait" 1>&4 -if test $krb5_cv_struct_wait = no; then - cat >> confdefs.h <<\EOF -#define WAIT_USES_INT 1 -EOF - -fi - - -echo $ac_n "checking for use of sigprocmask""... $ac_c" 1>&4 -if eval "test \"`echo '${'krb5_cv_func_sigprocmask_use'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - cat > conftest.$ac_ext < -int main() { return 0; } -int t() { -sigmask(1); -; return 0; } -EOF -if eval $ac_link; then - rm -rf conftest* - krb5_cv_func_sigprocmask_use=no -else - rm -rf conftest* - cat > conftest.$ac_ext < -int main() { return 0; } -int t() { -sigprocmask(SIG_SETMASK,0,0); -; return 0; } -EOF -if eval $ac_link; then - rm -rf conftest* - krb5_cv_func_sigprocmask_use=yes -else - rm -rf conftest* - krb5_cv_func_sigprocmask_use=no -fi -rm -f conftest* - -fi -rm -f conftest* - -fi - -echo "$ac_t""$krb5_cv_func_sigprocmask_use" 1>&4 -if test $krb5_cv_func_sigprocmask_use = yes; then - cat >> confdefs.h <<\EOF -#define USE_SIGPROCMASK 1 -EOF - -fi - -echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_type_signal'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - cat > conftest.$ac_ext < -#include -#ifdef signal -#undef signal -#endif -extern void (*signal ()) (); -int main() { return 0; } -int t() { -int i; -; return 0; } -EOF -if eval $ac_compile; then - rm -rf conftest* - ac_cv_type_signal=void -else - rm -rf conftest* - ac_cv_type_signal=int -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_signal" 1>&4 -cat <> confdefs.h -#define RETSIGTYPE $ac_cv_type_signal -EOF - - - -ac_safe=`echo "stdarg.h" | tr './\055' '___'` -echo $ac_n "checking for stdarg.h""... $ac_c" 1>&4 -if eval "test \"`echo '${'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - cat > conftest.$ac_ext < -EOF -eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -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 - rm -rf conftest* - eval "ac_cv_header_$ac_safe=no" -fi -rm -f conftest* -fi -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then - echo "$ac_t""yes" 1>&4 - cat >> confdefs.h <<\EOF -#define STDARG_PROTOTYPES 1 -EOF - -else - echo "$ac_t""no" 1>&4 -fi - - - - - - - - - - - -trap '' 1 2 15 -if test -w $cache_file; then -echo "updating cache $cache_file" -cat > $cache_file <<\EOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. -# -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. -# -EOF -# Ultrix sh set writes to stderr and can't be redirected directly. -# Ultrix sh set also returns variables that were read in from the config file -# with their high bit set. -(set) 2>&1 | tr '\201-\377' '\001-\177' | - sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/: \${\1='\2'}/p" \ - >> $cache_file -else -echo "not updating unwritable cache $cache_file" -fi - -trap 'rm -fr conftest* confdefs* core $ac_clean_files; exit 1' 1 2 15 - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -# Any assignment to VPATH causes Sun make to only execute -# the first set of double-colon rules, so remove it if not needed. -# If there is a colon in the path, we need to keep it. -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' -fi - -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -cat > conftest.defs <<\EOF -s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g -s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g -s%\[%\\&%g -s%\]%\\&%g -s%\$%$$%g -EOF -DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` -rm -f conftest.defs - - -# Without the "./", some shells look in PATH for config.status. -: ${CONFIG_STATUS=./config.status} - -echo creating $CONFIG_STATUS -rm -f $CONFIG_STATUS -cat > $CONFIG_STATUS </dev/null | sed 1q`: -# -# $0 $ac_configure_args -# -# Compiler output produced by configure, useful for debugging -# configure, is in ./config.log if it exists. - -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" -for ac_option -do - case "\$ac_option" in - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - 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.1" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "\$ac_cs_usage"; exit 0 ;; - *) echo "\$ac_cs_usage"; exit 1 ;; - esac -done - -ac_given_srcdir=$srcdir - -trap 'rm -f pre.out:$ac_prepend Makefile.out:Makefile.in post.out:$ac_postpend; exit 1' 1 2 15 - -# Protect against being on the right side of a sed subst in config.status. -sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g; - s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF -$ac_vpsub -$extrasub -s%@CFLAGS@%$CFLAGS%g -s%@CPPFLAGS@%$CPPFLAGS%g -s%@CXXFLAGS@%$CXXFLAGS%g -s%@DEFS@%$DEFS%g -s%@LDFLAGS@%$LDFLAGS%g -s%@LIBS@%$LIBS%g -s%@exec_prefix@%$exec_prefix%g -s%@prefix@%$prefix%g -s%@program_transform_name@%$program_transform_name%g -s%@CCOPTS@%$CCOPTS%g -s%@CC@%$CC%g -s%@CPPOPTS@%$CPPOPTS%g -s%@BUILDTOP@%$BUILDTOP%g -s%@LEX@%$LEX%g -s%@LEXLIB@%$LEXLIB%g -s%@YACC@%$YACC%g -s%@AWK@%$AWK%g -s%@ARCHIVE@%$ARCHIVE%g -s%@RANLIB@%$RANLIB%g -s%@CPP@%$CPP%g - -CEOF -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then - # Support "outfile[:infile]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) 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. - - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - ac_dir_suffix="/$ac_dir" - # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` - else - ac_dir_suffix= ac_dots= - fi - - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; - *) # Relative path. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" - top_srcdir="$ac_dots$ac_given_srcdir" ;; - esac - - echo creating "$ac_file" - rm -f "$ac_file" - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." - case "$ac_file" in - *Makefile*) ac_comsub="1i\\ -# $configure_input" ;; - *) ac_comsub= ;; - esac - sed -e "$ac_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file -fi; done -rm -f conftest.subs - -EOF -cat >> $CONFIG_STATUS < Makefile -EOF -cat >> $CONFIG_STATUS <<\EOF - -cat >> Makefile <<"SUBDIREOF" -# [DIVERSION_MAKEFILE] contents - -SHELL=/bin/sh - -Makefile: $(srcdir)/Makefile.in config.status $(SRCTOP)/config/pre.in $(SRCTOP)/config/post.in - $(SHELL) config.status -config.status: $(srcdir)/configure - $(SHELL) config.status --recheck -$(srcdir)/configure: $(srcdir)/configure.in $(SRCTOP)/aclocal.m4 - cd $(srcdir); autoconf --localdir=$(BUILDTOP) --macrodir=$(BUILDTOP)/util/autoconf - - - -### /* these are invoked as $(...) foo.et, which works, but could be better */ -COMPILE_ET_H= $(AWK) -f $(SRCTOP)/util/et/et_h.awk outfile= -COMPILE_ET_C= $(AWK) -f $(SRCTOP)/util/et/et_c.awk outfile= -.SUFFIXES: .h .c .et .ct - -.et.h: - $(AWK) -f $(SRCTOP)/util/et/et_h.awk outfile=$*.h $< - -.et.c: - $(AWK) -f $(SRCTOP)/util/et/et_c.awk outfile=$*.c $< - - - - -MAKE_COMMANDS= $(BUILDTOP)/util/ss/mk_cmds -.SUFFIXES: .h .c .et .ct - -.ct.c: - @if [ $< != $*.ct ]; then \ - (set -x; cp $< $*.ct && $(MAKE_COMMANDS) $*.ct && rm $*.ct) || exit 1; \ - else \ - (set -x; $(MAKE_COMMANDS) $*.ct) || exit 1; \ - fi - - - -includes:: ss.h - @if test -d $(BUILDTOP)/include/ss; then :; else mkdir $(BUILDTOP)/include/ss; fi - @if cmp $(srcdir)/ss.h $(BUILDTOP)/include/ss/ss.h >/dev/null 2>&1; then :; \ - else \ - (set -x; $(RM) $(BUILDTOP)/include/ss/ss.h; $(CP) $(srcdir)/ss.h $(BUILDTOP)/include/ss/ss.h) \ - fi - -clean:: - $(RM) $(BUILDTOP)/include/ss/ss.h - - -includes:: mit-sipb-copyright.h - @if test -d $(BUILDTOP)/include/ss; then :; else mkdir $(BUILDTOP)/include/ss; fi - @if cmp $(srcdir)/mit-sipb-copyright.h $(BUILDTOP)/include/ss/mit-sipb-copyright.h >/dev/null 2>&1; then :; \ - else \ - (set -x; $(RM) $(BUILDTOP)/include/ss/mit-sipb-copyright.h; $(CP) $(srcdir)/mit-sipb-copyright.h $(BUILDTOP)/include/ss/mit-sipb-copyright.h) \ - fi - -clean:: - $(RM) $(BUILDTOP)/include/ss/mit-sipb-copyright.h - - -includes:: copyright.h - @if test -d $(BUILDTOP)/include/ss; then :; else mkdir $(BUILDTOP)/include/ss; fi - @if cmp $(srcdir)/copyright.h $(BUILDTOP)/include/ss/copyright.h >/dev/null 2>&1; then :; \ - else \ - (set -x; $(RM) $(BUILDTOP)/include/ss/copyright.h; $(CP) $(srcdir)/copyright.h $(BUILDTOP)/include/ss/copyright.h) \ - fi - -clean:: - $(RM) $(BUILDTOP)/include/ss/copyright.h - - -includes:: ss_err.h - @if test -d $(BUILDTOP)/include/ss; then :; else (set -x; mkdir $(BUILDTOP)/include/ss) fi - @if cmp ss_err.h $(BUILDTOP)/include/ss/ss_err.h >/dev/null 2>&1; then :; \ - else \ - (set -x; $(RM) $(BUILDTOP)/include/ss/ss_err.h; $(CP) ss_err.h $(BUILDTOP)/include/ss/ss_err.h) \ - fi - -clean:: - $(RM) $(BUILDTOP)/include/ss/ss_err.h - - -includes:: ss_internal.h - @if test -d $(BUILDTOP)/include/ss; then :; else mkdir $(BUILDTOP)/include/ss; fi - @if cmp $(srcdir)/ss_internal.h $(BUILDTOP)/include/ss/ss_internal.h >/dev/null 2>&1; then :; \ - else \ - (set -x; $(RM) $(BUILDTOP)/include/ss/ss_internal.h; $(CP) $(srcdir)/ss_internal.h $(BUILDTOP)/include/ss/ss_internal.h) \ - fi - -clean:: - $(RM) $(BUILDTOP)/include/ss/ss_internal.h - - -SUBDIREOF - -exit 0 -EOF -chmod +x $CONFIG_STATUS -rm -fr confdefs* $ac_clean_files -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS - diff --git a/util/ss/configure.in b/util/ss/configure.in deleted file mode 100644 index da021ec..0000000 --- a/util/ss/configure.in +++ /dev/null @@ -1,24 +0,0 @@ -AC_INIT(ct.y) -CONFIG_RULES -AC_SET_BUILDTOP -AC_PROG_LEX -AC_PROG_YACC -AC_PROG_AWK -AC_PROG_ARCHIVE -AC_PROG_RANLIB -HAVE_YYLINENO -AC_FUNC_CHECK(strdup,AC_DEFINE(HAS_STRDUP)) -ET_RULES -SS_RULES -CHECK_DIRENT -CHECK_FCNTL -CHECK_WAIT_TYPE -CHECK_SIGPROCMASK -AC_RETSIGTYPE -CHECK_STDARG -CopySrcHeader(ss.h,$(BUILDTOP)/include/ss) -CopySrcHeader(mit-sipb-copyright.h,$(BUILDTOP)/include/ss) -CopySrcHeader(copyright.h,$(BUILDTOP)/include/ss) -CopyHeader(ss_err.h,$(BUILDTOP)/include/ss) -CopySrcHeader(ss_internal.h,$(BUILDTOP)/include/ss) -V5_AC_OUTPUT_MAKEFILE diff --git a/util/ss/copyright.h b/util/ss/copyright.h deleted file mode 100644 index e0d1572..0000000 --- a/util/ss/copyright.h +++ /dev/null @@ -1,19 +0,0 @@ -/* - -Copyright 1987, 1989 by the Student Information Processing Board - of the Massachusetts Institute of Technology - -Permission to use, copy, modify, and distribute this software -and its documentation for any purpose and without fee is -hereby granted, provided that the above copyright notice -appear in all copies and that both that copyright notice and -this permission notice appear in supporting documentation, -and that the names of M.I.T. and the M.I.T. S.I.P.B. not be -used in advertising or publicity pertaining to distribution -of the software without specific, written prior permission. -M.I.T. and the M.I.T. S.I.P.B. make no representations about -the suitability of this software for any purpose. It is -provided "as is" without express or implied warranty. - -*/ - diff --git a/util/ss/ct.y b/util/ss/ct.y deleted file mode 100644 index f1941fc..0000000 --- a/util/ss/ct.y +++ /dev/null @@ -1,82 +0,0 @@ -%{ -/* - * Copyright 1987 by MIT Student Information Processing Board - * - * For copyright info, see mit-sipb-copyright.h. - */ -#include -#include -#include "mit-sipb-copyright.h" - -#ifndef HAS_STRDUP -extern char *strdup(); -#endif - -char *str_concat3(), *generate_rqte(), *quote(); -long flag_value(); -char *last_token = (char *)NULL; -FILE *output_file; -long gensym_n = 0; - -%} -%union { - char *dynstr; - long flags; -} - -%token COMMAND_TABLE REQUEST UNKNOWN UNIMPLEMENTED END -%token STRING -%token FLAGNAME -%type namelist header request_list -%type request_entry -%type flag_list options -%left OPTIONS -%{ -#include "ss.h" -%} -%start command_table -%% -command_table : header request_list END ';' - { write_ct($1, $2); } - ; - -header : COMMAND_TABLE STRING ';' - { $$ = $2; } - ; - -request_list : request_list request_entry - { $$ = str_concat3($1, $2, ""); } - | - { $$ = ""; } - ; - -request_entry : REQUEST STRING ',' STRING ',' namelist ',' options ';' - { $$ = generate_rqte($2, quote($4), $6, $8); } - | REQUEST STRING ',' STRING ',' namelist ';' - { $$ = generate_rqte($2, quote($4), $6, 0); } - | UNKNOWN namelist ';' - { $$ = generate_rqte("ss_unknown_request", - (char *)NULL, $2, 0); } - | UNIMPLEMENTED STRING ',' STRING ',' namelist ';' - { $$ = generate_rqte("ss_unimplemented", quote($4), $6, 3); } - ; - -options : '(' flag_list ')' - { $$ = $2; } - | '(' ')' - { $$ = 0; } - ; - -flag_list : flag_list ',' STRING - { $$ = $1 | flag_val($3); } - | STRING - { $$ = flag_val($1); } - ; - -namelist: STRING - { $$ = quote(strdup($1)); } - | namelist ',' STRING - { $$ = str_concat3($1, quote($3), ",\n "); } - ; - -%% diff --git a/util/ss/ct_c.awk b/util/ss/ct_c.awk deleted file mode 100644 index 872f6e0..0000000 --- a/util/ss/ct_c.awk +++ /dev/null @@ -1,77 +0,0 @@ -/^command_table / { - cmdtbl = $2; - printf "/* %s.c - automatically generated from %s.ct */\n", \ - rootname, rootname > outfile - print "#include " > outfile - print "" >outfile - print "#ifndef __STDC__" > outfile - print "#define const" > outfile - print "#endif" > outfile - print "" > outfile -} - -/^BOR$/ { - cmdnum++ - options = 0 - cmdtab = "" - printf "static char const * const ssu%05d[] = {\n", cmdnum > outfile -} - -/^sub/ { - subr = substr($0, 6, length($0)-5) -} - -/^hlp/ { - help = substr($0, 6, length($0)-5) -} - -/^cmd/ { - cmd = substr($0, 6, length($0)-5) - printf "%s\"%s\",\n", cmdtab, cmd > outfile - cmdtab = " " -} - -/^opt/ { - opt = substr($0, 6, length($0)-5) - if (opt == "dont_list") { - options += 1 - } - if (opt == "dont_summarize") { - options += 2 - } -} - -/^EOR/ { - print " (char const *)0" > outfile - print "};" > outfile - printf "extern void %s __SS_PROTO;\n", subr > outfile - subr_tab[cmdnum] = subr - options_tab[cmdnum] = options - help_tab[cmdnum] = help -} - -/^[0-9]/ { - linenum = $1; -} - -/^ERROR/ { - error = substr($0, 8, length($0)-7) - printf "Error in line %d: %s\n", linenum, error - print "#__ERROR_IN_FILE__" > outfile -} - -END { - printf "static ss_request_entry ssu%05d[] = {\n", cmdnum+1 > outfile - for (i=1; i <= cmdnum; i++) { - printf " { ssu%05d,\n", i > outfile - printf " %s,\n", subr_tab[i] > outfile - printf " \"%s\",\n", help_tab[i] > outfile - printf " %d },\n", options_tab[i] > outfile - } - print " { 0, 0, 0, 0 }" > outfile - print "};" > outfile - print "" > outfile - printf "ss_request_table %s = { 2, ssu%05d };\n", \ - cmdtbl, cmdnum+1 > outfile -} - diff --git a/util/ss/ct_c.sed b/util/ss/ct_c.sed deleted file mode 100644 index f99cd7f..0000000 --- a/util/ss/ct_c.sed +++ /dev/null @@ -1,161 +0,0 @@ -# -# This script parses a command_table file into something which is a bit -# easier for an awk script to understand. -# -# Input syntax: a .ct file -# -# Output syntax: -# (for the command_table line) -# command_table -# -#(for each request definition) -# BOR -# sub: -# hlp: -# cmd: -# opt: