From 8af27ce30769d81e8a0ad2a6c5e468b8206b83c9 Mon Sep 17 00:00:00 2001 From: John Marino Date: Fri, 3 Apr 2015 15:09:08 +0200 Subject: [PATCH] Remove texinfo from base At this point, the only info files left in DragonFly are from texinfo itself. Due to a similar effort on FreeBSD 11, the ports are already prepared for the lack of texinfo utilities in base. --- Makefile.inc1 | 5 +- Makefile_upgrade.inc | 29 +- gnu/usr.bin/Makefile | 2 +- gnu/usr.bin/texinfo/Makefile | 10 - gnu/usr.bin/texinfo/Makefile.inc | 1 - gnu/usr.bin/texinfo/Makefile.inc0 | 14 - gnu/usr.bin/texinfo/doc/Makefile | 12 - gnu/usr.bin/texinfo/info/Makefile | 43 -- gnu/usr.bin/texinfo/info/doc.c | 147 ------ gnu/usr.bin/texinfo/info/funs.h | 245 --------- gnu/usr.bin/texinfo/infokey/Makefile | 13 - gnu/usr.bin/texinfo/infokey/key.c | 147 ------ gnu/usr.bin/texinfo/install-info/Makefile | 10 - gnu/usr.bin/texinfo/libgnu/Makefile | 36 -- gnu/usr.bin/texinfo/libgnu/alloca.h | 57 -- gnu/usr.bin/texinfo/libgnu/argz.h | 162 ------ gnu/usr.bin/texinfo/libgnu/config.h | 541 ------------------- gnu/usr.bin/texinfo/libgnu/configmake.h | 25 - gnu/usr.bin/texinfo/libgnu/getopt.h | 226 -------- gnu/usr.bin/texinfo/libgnu/string.h | 614 ---------------------- gnu/usr.bin/texinfo/libgnu/sys/stat.h | 292 ---------- gnu/usr.bin/texinfo/libgnu/unitypes.h | 26 - gnu/usr.bin/texinfo/libgnu/uniwidth.h | 64 --- gnu/usr.bin/texinfo/libtxi/Makefile | 17 - gnu/usr.bin/texinfo/makeinfo/Makefile | 28 - gnu/usr.bin/texinfo/texindex/Makefile | 12 - 26 files changed, 14 insertions(+), 2764 deletions(-) delete mode 100644 gnu/usr.bin/texinfo/Makefile delete mode 100644 gnu/usr.bin/texinfo/Makefile.inc delete mode 100644 gnu/usr.bin/texinfo/Makefile.inc0 delete mode 100644 gnu/usr.bin/texinfo/doc/Makefile delete mode 100644 gnu/usr.bin/texinfo/info/Makefile delete mode 100644 gnu/usr.bin/texinfo/info/doc.c delete mode 100644 gnu/usr.bin/texinfo/info/funs.h delete mode 100644 gnu/usr.bin/texinfo/infokey/Makefile delete mode 100644 gnu/usr.bin/texinfo/infokey/key.c delete mode 100644 gnu/usr.bin/texinfo/install-info/Makefile delete mode 100644 gnu/usr.bin/texinfo/libgnu/Makefile delete mode 100644 gnu/usr.bin/texinfo/libgnu/alloca.h delete mode 100644 gnu/usr.bin/texinfo/libgnu/argz.h delete mode 100644 gnu/usr.bin/texinfo/libgnu/config.h delete mode 100644 gnu/usr.bin/texinfo/libgnu/configmake.h delete mode 100644 gnu/usr.bin/texinfo/libgnu/getopt.h delete mode 100644 gnu/usr.bin/texinfo/libgnu/string.h delete mode 100644 gnu/usr.bin/texinfo/libgnu/sys/stat.h delete mode 100644 gnu/usr.bin/texinfo/libgnu/unitypes.h delete mode 100644 gnu/usr.bin/texinfo/libgnu/uniwidth.h delete mode 100644 gnu/usr.bin/texinfo/libtxi/Makefile delete mode 100644 gnu/usr.bin/texinfo/makeinfo/Makefile delete mode 100644 gnu/usr.bin/texinfo/texindex/Makefile diff --git a/Makefile.inc1 b/Makefile.inc1 index 5ad89470ca..87daee6125 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -885,9 +885,8 @@ BSTRAPDIRS2= \ usr.bin/tail usr.bin/unifdef usr.bin/tic \ usr.sbin/chown usr.sbin/mtree usr.sbin/config \ usr.sbin/btxld usr.sbin/zic usr.sbin/makewhatis \ - gnu/usr.bin/texinfo gnu/usr.bin/grep usr.bin/sort \ - usr.bin/gzip usr.bin/bzip2 usr.bin/mkcsmapper usr.bin/mkesdb \ - usr.bin/crunch + gnu/usr.bin/grep usr.bin/sort usr.bin/gzip usr.bin/bzip2 \ + usr.bin/mkcsmapper usr.bin/mkesdb usr.bin/crunch bootstrap-tools: bootstrap-tools-before bootstrap-tools-targets1 bootstrap-tools-targets2 touch ${BTOOLSDEST}/.bootstrap_done diff --git a/Makefile_upgrade.inc b/Makefile_upgrade.inc index acfad2cbca..18eaf80dc8 100644 --- a/Makefile_upgrade.inc +++ b/Makefile_upgrade.inc @@ -3016,24 +3016,17 @@ TO_REMOVE+=/usr/share/nls/zh_HK.Big5HKSCS TO_REMOVE+=/usr/share/nls/zh_HK.UTF-8 TO_REMOVE+=/usr/share/nls/zh_TW.Big5 TO_REMOVE+=/usr/share/nls/zh_TW.UTF-8 -TO_REMOVE+=/usr/share/info/cvs.info.gz -TO_REMOVE+=/usr/share/info/cvsclient.info.gz -TO_REMOVE+=/usr/share/info/as.info.gz -TO_REMOVE+=/usr/share/info/binutils.info.gz -TO_REMOVE+=/usr/share/info/ld.info.gz -TO_REMOVE+=/usr/share/info/cpp47.info.gz -TO_REMOVE+=/usr/share/info/cppinternals47.info.gz -TO_REMOVE+=/usr/share/info/gcc47.info.gz -TO_REMOVE+=/usr/share/info/gccint47.info.gz -TO_REMOVE+=/usr/share/info/grep.info.gz -TO_REMOVE+=/usr/share/info/diffutils.info.gz -TO_REMOVE+=/usr/share/info/annotate.info.gz -TO_REMOVE+=/usr/share/info/gdb.info.gz -TO_REMOVE+=/usr/share/info/gdbint.info.gz -TO_REMOVE+=/usr/share/info/stabs.info.gz -TO_REMOVE+=/usr/share/info/com_err.info.gz -TO_REMOVE+=/usr/share/info/am-utils.info.gz -TO_REMOVE+=/usr/share/info/groff.info.gz +TO_REMOVE+=/usr/share/info +TO_REMOVE+=/usr/bin/info +TO_REMOVE+=/usr/bin/infokey +TO_REMOVE+=/usr/bin/install-info +TO_REMOVE+=/usr/bin/makeinfo +TO_REMOVE+=/usr/bin/texindex +TO_REMOVE+=/usr/share/man/man1/info.1.gz +TO_REMOVE+=/usr/share/man/man1/infokey.1.gz +TO_REMOVE+=/usr/share/man/man1/install-info.1.gz +TO_REMOVE+=/usr/share/man/man1/makeinfo.1.gz +TO_REMOVE+=/usr/share/man/man1/texindex.1.gz .if ${MACHINE_ARCH} == "x86_64" TO_REMOVE+=/usr/sbin/stlstats diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index 32774c6ccb..fa78712352 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -2,7 +2,7 @@ .include "Makefile.buo" -SUBDIR= dialog diff grep groff man rcs texinfo +SUBDIR= dialog diff grep groff man rcs .if !defined(NO_CVS) SUBDIR+=cvs diff --git a/gnu/usr.bin/texinfo/Makefile b/gnu/usr.bin/texinfo/Makefile deleted file mode 100644 index add966ecc5..0000000000 --- a/gnu/usr.bin/texinfo/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -SUBDIR= libgnu \ - libtxi \ - install-info \ - info \ - infokey \ - makeinfo \ - texindex \ - doc - -.include diff --git a/gnu/usr.bin/texinfo/Makefile.inc b/gnu/usr.bin/texinfo/Makefile.inc deleted file mode 100644 index 1b0e2d18d4..0000000000 --- a/gnu/usr.bin/texinfo/Makefile.inc +++ /dev/null @@ -1 +0,0 @@ -BASEDIR= ${.CURDIR}/${RELATIVE}../../../../contrib/texinfo diff --git a/gnu/usr.bin/texinfo/Makefile.inc0 b/gnu/usr.bin/texinfo/Makefile.inc0 deleted file mode 100644 index 8c900a077e..0000000000 --- a/gnu/usr.bin/texinfo/Makefile.inc0 +++ /dev/null @@ -1,14 +0,0 @@ -RELTOP:= .. - -RELSRC= ${RELTOP}/../../../contrib/texinfo -SRCDIR= ${.CURDIR}/${RELSRC} - -CFLAGS+= -I. -I${.CURDIR} - -DPADD= ${RELTOP}/libgnu/libgnu.a -LDADD= ${RELTOP}/libgnu/libgnu.a -DPADD+= ${RELTOP}/libtxi/libtxi.a -LDADD+= ${RELTOP}/libtxi/libtxi.a - - -BINDIR?= /usr/bin diff --git a/gnu/usr.bin/texinfo/doc/Makefile b/gnu/usr.bin/texinfo/doc/Makefile deleted file mode 100644 index 145d88e6bb..0000000000 --- a/gnu/usr.bin/texinfo/doc/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -.include "../Makefile.inc" - -INFO= info info-stnd texinfo -SRCDIR= ${BASEDIR}/doc -INFOSECTION= "System Utilities" - -texinfo.texi: texinfo.txi - ${LN} -fs ${.ALLSRC} ${.TARGET} - -CLEANFILES= texinfo.texi - -.include diff --git a/gnu/usr.bin/texinfo/info/Makefile b/gnu/usr.bin/texinfo/info/Makefile deleted file mode 100644 index 09b8adb3f0..0000000000 --- a/gnu/usr.bin/texinfo/info/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -.include "../Makefile.inc0" -.PATH: ${SRCDIR}/info ${SRCDIR}/doc - -PROG= info -MAN= info.1 info.5 texinfo.5 - -LDADD+= -lncurses -DPADD+= ${LIBNCURSES} -CFLAGS+= -I${SRCDIR} -I${SRCDIR}/lib -I${SRCDIR}/gnulib/lib -CFLAGS+= -I${SRCDIR}/info -I${.CURDIR}/../libgnu -CFLAGS+= -DHAVE_CONFIG_H - -# Additional info dirs -# -CFLAGS+=-DINFODIR=\"/usr/local/info\" -CFLAGS+=-DINFODIR2=\"/usr/pkg/info\" - -SRCS= dir.c \ - display.c \ - dribble.c \ - echo-area.c \ - filesys.c \ - footnotes.c \ - gc.c \ - indices.c \ - info-utils.c \ - info.c \ - infodoc.c \ - infomap.c \ - m-x.c \ - man.c \ - nodemenu.c \ - nodes.c \ - search.c \ - session.c \ - signals.c \ - terminal.c \ - tilde.c \ - variables.c \ - window.c \ - doc.c - -.include diff --git a/gnu/usr.bin/texinfo/info/doc.c b/gnu/usr.bin/texinfo/info/doc.c deleted file mode 100644 index ac370d1d26..0000000000 --- a/gnu/usr.bin/texinfo/info/doc.c +++ /dev/null @@ -1,147 +0,0 @@ -/* doc.c -- Generated structure containing function names and doc strings. - - This file was automatically made from various source files with the - command `..//info/makedoc'. DO NOT EDIT THIS FILE, only `..//info/makedoc.c'. - Source files groveled to make this file include: - - ./session.c - ./echo-area.c - ./infodoc.c - ./m-x.c - ./indices.c - ./nodemenu.c - ./footnotes.c - ./variables.c - - An entry in the array FUNCTION_DOC_ARRAY is made for each command - found in the above files; each entry consists of a function pointer, - a string which is the user-visible name of the function, - and a string which documents its purpose. */ - -#include "info.h" -#include "funs.h" - -FUNCTION_DOC function_doc_array[] = { - -/* Commands found in "./session.c". */ - { (VFunction *)info_next_line, "next-line", (FUNCTION_KEYSEQ *)0, "Move down to the next line" }, - { (VFunction *)info_prev_line, "prev-line", (FUNCTION_KEYSEQ *)0, "Move up to the previous line" }, - { (VFunction *)info_end_of_line, "end-of-line", (FUNCTION_KEYSEQ *)0, "Move to the end of the line" }, - { (VFunction *)info_beginning_of_line, "beginning-of-line", (FUNCTION_KEYSEQ *)0, "Move to the start of the line" }, - { (VFunction *)info_forward_char, "forward-char", (FUNCTION_KEYSEQ *)0, "Move forward a character" }, - { (VFunction *)info_backward_char, "backward-char", (FUNCTION_KEYSEQ *)0, "Move backward a character" }, - { (VFunction *)info_forward_word, "forward-word", (FUNCTION_KEYSEQ *)0, "Move forward a word" }, - { (VFunction *)info_backward_word, "backward-word", (FUNCTION_KEYSEQ *)0, "Move backward a word" }, - { (VFunction *)info_global_next_node, "global-next-node", (FUNCTION_KEYSEQ *)0, "Move forwards or down through node structure" }, - { (VFunction *)info_global_prev_node, "global-prev-node", (FUNCTION_KEYSEQ *)0, "Move backwards or up through node structure" }, - { (VFunction *)info_scroll_forward, "scroll-forward", (FUNCTION_KEYSEQ *)0, "Scroll forward in this window" }, - { (VFunction *)info_scroll_forward_set_window, "scroll-forward-set-window", (FUNCTION_KEYSEQ *)0, "Scroll forward in this window and set default window size" }, - { (VFunction *)info_scroll_forward_page_only, "scroll-forward-page-only", (FUNCTION_KEYSEQ *)0, "Scroll forward in this window staying within node" }, - { (VFunction *)info_scroll_forward_page_only_set_window, "scroll-forward-page-only-set-window", (FUNCTION_KEYSEQ *)0, "Scroll forward in this window staying within node and set default window size" }, - { (VFunction *)info_scroll_backward, "scroll-backward", (FUNCTION_KEYSEQ *)0, "Scroll backward in this window" }, - { (VFunction *)info_scroll_backward_set_window, "scroll-backward-set-window", (FUNCTION_KEYSEQ *)0, "Scroll backward in this window and set default window size" }, - { (VFunction *)info_scroll_backward_page_only, "scroll-backward-page-only", (FUNCTION_KEYSEQ *)0, "Scroll backward in this window staying within node" }, - { (VFunction *)info_scroll_backward_page_only_set_window, "scroll-backward-page-only-set-window", (FUNCTION_KEYSEQ *)0, "Scroll backward in this window staying within node and set default window size" }, - { (VFunction *)info_beginning_of_node, "beginning-of-node", (FUNCTION_KEYSEQ *)0, "Move to the start of this node" }, - { (VFunction *)info_end_of_node, "end-of-node", (FUNCTION_KEYSEQ *)0, "Move to the end of this node" }, - { (VFunction *)info_down_line, "down-line", (FUNCTION_KEYSEQ *)0, "Scroll down by lines" }, - { (VFunction *)info_up_line, "up-line", (FUNCTION_KEYSEQ *)0, "Scroll up by lines" }, - { (VFunction *)info_scroll_half_screen_down, "scroll-half-screen-down", (FUNCTION_KEYSEQ *)0, "Scroll down by half screen size" }, - { (VFunction *)info_scroll_half_screen_up, "scroll-half-screen-up", (FUNCTION_KEYSEQ *)0, "Scroll up by half screen size" }, - { (VFunction *)info_next_window, "next-window", (FUNCTION_KEYSEQ *)0, "Select the next window" }, - { (VFunction *)info_prev_window, "prev-window", (FUNCTION_KEYSEQ *)0, "Select the previous window" }, - { (VFunction *)info_split_window, "split-window", (FUNCTION_KEYSEQ *)0, "Split the current window" }, - { (VFunction *)info_delete_window, "delete-window", (FUNCTION_KEYSEQ *)0, "Delete the current window" }, - { (VFunction *)info_keep_one_window, "keep-one-window", (FUNCTION_KEYSEQ *)0, "Delete all other windows" }, - { (VFunction *)info_scroll_other_window, "scroll-other-window", (FUNCTION_KEYSEQ *)0, "Scroll the other window" }, - { (VFunction *)info_scroll_other_window_backward, "scroll-other-window-backward", (FUNCTION_KEYSEQ *)0, "Scroll the other window backward" }, - { (VFunction *)info_grow_window, "grow-window", (FUNCTION_KEYSEQ *)0, "Grow (or shrink) this window" }, - { (VFunction *)info_tile_windows, "tile-windows", (FUNCTION_KEYSEQ *)0, "Divide the available screen space among the visible windows" }, - { (VFunction *)info_toggle_wrap, "toggle-wrap", (FUNCTION_KEYSEQ *)0, "Toggle the state of line wrapping in the current window" }, - { (VFunction *)info_toggle_regexp, "toggle-regexp", (FUNCTION_KEYSEQ *)0, "Toggle the usage of regular expressions in searches" }, - { (VFunction *)info_next_node, "next-node", (FUNCTION_KEYSEQ *)0, "Select the Next node" }, - { (VFunction *)info_prev_node, "prev-node", (FUNCTION_KEYSEQ *)0, "Select the Prev node" }, - { (VFunction *)info_up_node, "up-node", (FUNCTION_KEYSEQ *)0, "Select the Up node" }, - { (VFunction *)info_last_node, "last-node", (FUNCTION_KEYSEQ *)0, "Select the last node in this file" }, - { (VFunction *)info_first_node, "first-node", (FUNCTION_KEYSEQ *)0, "Select the first node in this file" }, - { (VFunction *)info_last_menu_item, "last-menu-item", (FUNCTION_KEYSEQ *)0, "Select the last item in this node's menu" }, - { (VFunction *)info_menu_digit, "menu-digit", (FUNCTION_KEYSEQ *)0, "Select this menu item" }, - { (VFunction *)info_menu_item, "menu-item", (FUNCTION_KEYSEQ *)0, "Read a menu item and select its node" }, - { (VFunction *)info_xref_item, "xref-item", (FUNCTION_KEYSEQ *)0, "Read a footnote or cross reference and select its node" }, - { (VFunction *)info_find_menu, "find-menu", (FUNCTION_KEYSEQ *)0, "Move to the start of this node's menu" }, - { (VFunction *)info_visit_menu, "visit-menu", (FUNCTION_KEYSEQ *)0, "Visit as many menu items at once as possible" }, - { (VFunction *)info_goto_node, "goto-node", (FUNCTION_KEYSEQ *)0, "Read a node name and select it" }, - { (VFunction *)info_menu_sequence, "menu-sequence", (FUNCTION_KEYSEQ *)0, "Read a list of menus starting from dir and follow them" }, - { (VFunction *)info_goto_invocation_node, "goto-invocation-node", (FUNCTION_KEYSEQ *)0, "Find the node describing program invocation" }, - { (VFunction *)info_man, "man", (FUNCTION_KEYSEQ *)0, "Read a manpage reference and select it" }, - { (VFunction *)info_top_node, "top-node", (FUNCTION_KEYSEQ *)0, "Select the node `Top' in this file" }, - { (VFunction *)info_dir_node, "dir-node", (FUNCTION_KEYSEQ *)0, "Select the node `(dir)'" }, - { (VFunction *)info_history_node, "history-node", (FUNCTION_KEYSEQ *)0, "Select the most recently selected node" }, - { (VFunction *)info_kill_node, "kill-node", (FUNCTION_KEYSEQ *)0, "Kill this node" }, - { (VFunction *)info_view_file, "view-file", (FUNCTION_KEYSEQ *)0, "Read the name of a file and select it" }, - { (VFunction *)info_print_node, "print-node", (FUNCTION_KEYSEQ *)0, "Pipe the contents of this node through INFO_PRINT_COMMAND" }, - { (VFunction *)info_search_case_sensitively, "search-case-sensitively", (FUNCTION_KEYSEQ *)0, "Read a string and search for it case-sensitively" }, - { (VFunction *)info_search, "search", (FUNCTION_KEYSEQ *)0, "Read a string and search for it" }, - { (VFunction *)info_search_backward, "search-backward", (FUNCTION_KEYSEQ *)0, "Read a string and search backward for it" }, - { (VFunction *)info_search_next, "search-next", (FUNCTION_KEYSEQ *)0, "Repeat last search in the same direction" }, - { (VFunction *)info_search_previous, "search-previous", (FUNCTION_KEYSEQ *)0, "Repeat last search in the reverse direction" }, - { (VFunction *)isearch_forward, "isearch-forward", (FUNCTION_KEYSEQ *)0, "Search interactively for a string as you type it" }, - { (VFunction *)isearch_backward, "isearch-backward", (FUNCTION_KEYSEQ *)0, "Search interactively for a string as you type it" }, - { (VFunction *)info_move_to_prev_xref, "move-to-prev-xref", (FUNCTION_KEYSEQ *)0, "Move to the previous cross reference" }, - { (VFunction *)info_move_to_next_xref, "move-to-next-xref", (FUNCTION_KEYSEQ *)0, "Move to the next cross reference" }, - { (VFunction *)info_select_reference_this_line, "select-reference-this-line", (FUNCTION_KEYSEQ *)0, "Select reference or menu item appearing on this line" }, - { (VFunction *)info_abort_key, "abort-key", (FUNCTION_KEYSEQ *)0, "Cancel current operation" }, - { (VFunction *)info_move_to_window_line, "move-to-window-line", (FUNCTION_KEYSEQ *)0, "Move the cursor to a specific line of the window" }, - { (VFunction *)info_redraw_display, "redraw-display", (FUNCTION_KEYSEQ *)0, "Redraw the display" }, - { (VFunction *)info_quit, "quit", (FUNCTION_KEYSEQ *)0, "Quit using Info" }, - { (VFunction *)info_do_lowercase_version, "do-lowercase-version", (FUNCTION_KEYSEQ *)0, "Run command bound to this key's lowercase variant" }, - { (VFunction *)info_add_digit_to_numeric_arg, "add-digit-to-numeric-arg", (FUNCTION_KEYSEQ *)0, "Add this digit to the current numeric argument" }, - { (VFunction *)info_universal_argument, "universal-argument", (FUNCTION_KEYSEQ *)0, "Start (or multiply by 4) the current numeric argument" }, - { (VFunction *)info_numeric_arg_digit_loop, "numeric-arg-digit-loop", (FUNCTION_KEYSEQ *)0, "Internally used by \\[universal-argument]" }, -/* Commands found in "./echo-area.c". */ - { (VFunction *)ea_forward, "echo-area-forward", (FUNCTION_KEYSEQ *)0, "Move forward a character" }, - { (VFunction *)ea_backward, "echo-area-backward", (FUNCTION_KEYSEQ *)0, "Move backward a character" }, - { (VFunction *)ea_beg_of_line, "echo-area-beg-of-line", (FUNCTION_KEYSEQ *)0, "Move to the start of this line" }, - { (VFunction *)ea_end_of_line, "echo-area-end-of-line", (FUNCTION_KEYSEQ *)0, "Move to the end of this line" }, - { (VFunction *)ea_forward_word, "echo-area-forward-word", (FUNCTION_KEYSEQ *)0, "Move forward a word" }, - { (VFunction *)ea_backward_word, "echo-area-backward-word", (FUNCTION_KEYSEQ *)0, "Move backward a word" }, - { (VFunction *)ea_delete, "echo-area-delete", (FUNCTION_KEYSEQ *)0, "Delete the character under the cursor" }, - { (VFunction *)ea_rubout, "echo-area-rubout", (FUNCTION_KEYSEQ *)0, "Delete the character behind the cursor" }, - { (VFunction *)ea_abort, "echo-area-abort", (FUNCTION_KEYSEQ *)0, "Cancel or quit operation" }, - { (VFunction *)ea_newline, "echo-area-newline", (FUNCTION_KEYSEQ *)0, "Accept (or force completion of) this line" }, - { (VFunction *)ea_quoted_insert, "echo-area-quoted-insert", (FUNCTION_KEYSEQ *)0, "Insert next character verbatim" }, - { (VFunction *)ea_insert, "echo-area-insert", (FUNCTION_KEYSEQ *)0, "Insert this character" }, - { (VFunction *)ea_tab_insert, "echo-area-tab-insert", (FUNCTION_KEYSEQ *)0, "Insert a TAB character" }, - { (VFunction *)ea_transpose_chars, "echo-area-transpose-chars", (FUNCTION_KEYSEQ *)0, "Transpose characters at point" }, - { (VFunction *)ea_yank, "echo-area-yank", (FUNCTION_KEYSEQ *)0, "Yank back the contents of the last kill" }, - { (VFunction *)ea_yank_pop, "echo-area-yank-pop", (FUNCTION_KEYSEQ *)0, "Yank back a previous kill" }, - { (VFunction *)ea_kill_line, "echo-area-kill-line", (FUNCTION_KEYSEQ *)0, "Kill to the end of the line" }, - { (VFunction *)ea_backward_kill_line, "echo-area-backward-kill-line", (FUNCTION_KEYSEQ *)0, "Kill to the beginning of the line" }, - { (VFunction *)ea_kill_word, "echo-area-kill-word", (FUNCTION_KEYSEQ *)0, "Kill the word following the cursor" }, - { (VFunction *)ea_backward_kill_word, "echo-area-backward-kill-word", (FUNCTION_KEYSEQ *)0, "Kill the word preceding the cursor" }, - { (VFunction *)ea_possible_completions, "echo-area-possible-completions", (FUNCTION_KEYSEQ *)0, "List possible completions" }, - { (VFunction *)ea_complete, "echo-area-complete", (FUNCTION_KEYSEQ *)0, "Insert completion" }, - { (VFunction *)ea_scroll_completions_window, "echo-area-scroll-completions-window", (FUNCTION_KEYSEQ *)0, "Scroll the completions window" }, -/* Commands found in "./infodoc.c". */ - { (VFunction *)info_get_help_window, "get-help-window", (FUNCTION_KEYSEQ *)0, "Display help message" }, - { (VFunction *)info_get_info_help_node, "get-info-help-node", (FUNCTION_KEYSEQ *)0, "Visit Info node `(info)Help'" }, - { (VFunction *)describe_key, "describe-key", (FUNCTION_KEYSEQ *)0, "Print documentation for KEY" }, - { (VFunction *)info_where_is, "where-is", (FUNCTION_KEYSEQ *)0, "Show what to type to execute a given command" }, -/* Commands found in "./m-x.c". */ - { (VFunction *)describe_command, "describe-command", (FUNCTION_KEYSEQ *)0, "Read the name of an Info command and describe it" }, - { (VFunction *)info_execute_command, "execute-command", (FUNCTION_KEYSEQ *)0, "Read a command name in the echo area and execute it" }, - { (VFunction *)set_screen_height, "set-screen-height", (FUNCTION_KEYSEQ *)0, "Set the height of the displayed window" }, -/* Commands found in "./indices.c". */ - { (VFunction *)info_index_search, "index-search", (FUNCTION_KEYSEQ *)0, "Look up a string in the index for this file" }, - { (VFunction *)info_next_index_match, "next-index-match", (FUNCTION_KEYSEQ *)0, "Go to the next matching index item from the last `\\[index-search]' command" }, - { (VFunction *)info_index_apropos, "index-apropos", (FUNCTION_KEYSEQ *)0, "Grovel all known info file's indices for a string and build a menu" }, -/* Commands found in "./nodemenu.c". */ - { (VFunction *)list_visited_nodes, "list-visited-nodes", (FUNCTION_KEYSEQ *)0, "Make a window containing a menu of all of the currently visited nodes" }, - { (VFunction *)select_visited_node, "select-visited-node", (FUNCTION_KEYSEQ *)0, "Select a node which has been previously visited in a visible window" }, -/* Commands found in "./footnotes.c". */ - { (VFunction *)info_show_footnotes, "show-footnotes", (FUNCTION_KEYSEQ *)0, "Show the footnotes associated with this node in another window" }, -/* Commands found in "./variables.c". */ - { (VFunction *)describe_variable, "describe-variable", (FUNCTION_KEYSEQ *)0, "Explain the use of a variable" }, - { (VFunction *)set_variable, "set-variable", (FUNCTION_KEYSEQ *)0, "Set the value of an Info variable" }, - { NULL, NULL, NULL, NULL } -}; diff --git a/gnu/usr.bin/texinfo/info/funs.h b/gnu/usr.bin/texinfo/info/funs.h deleted file mode 100644 index e0449c0b4b..0000000000 --- a/gnu/usr.bin/texinfo/info/funs.h +++ /dev/null @@ -1,245 +0,0 @@ -/* funs.h -- Generated declarations for Info commands. */ - -#include "info.h" - -/* Functions declared in "./session.c". */ -#define A_info_next_line 0 -extern void info_next_line (WINDOW *window, int count, unsigned char key); -#define A_info_prev_line 1 -extern void info_prev_line (WINDOW *window, int count, unsigned char key); -#define A_info_end_of_line 2 -extern void info_end_of_line (WINDOW *window, int count, unsigned char key); -#define A_info_beginning_of_line 3 -extern void info_beginning_of_line (WINDOW *window, int count, unsigned char key); -#define A_info_forward_char 4 -extern void info_forward_char (WINDOW *window, int count, unsigned char key); -#define A_info_backward_char 5 -extern void info_backward_char (WINDOW *window, int count, unsigned char key); -#define A_info_forward_word 6 -extern void info_forward_word (WINDOW *window, int count, unsigned char key); -#define A_info_backward_word 7 -extern void info_backward_word (WINDOW *window, int count, unsigned char key); -#define A_info_global_next_node 8 -extern void info_global_next_node (WINDOW *window, int count, unsigned char key); -#define A_info_global_prev_node 9 -extern void info_global_prev_node (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_forward 10 -extern void info_scroll_forward (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_forward_set_window 11 -extern void info_scroll_forward_set_window (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_forward_page_only 12 -extern void info_scroll_forward_page_only (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_forward_page_only_set_window 13 -extern void info_scroll_forward_page_only_set_window (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_backward 14 -extern void info_scroll_backward (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_backward_set_window 15 -extern void info_scroll_backward_set_window (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_backward_page_only 16 -extern void info_scroll_backward_page_only (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_backward_page_only_set_window 17 -extern void info_scroll_backward_page_only_set_window (WINDOW *window, int count, unsigned char key); -#define A_info_beginning_of_node 18 -extern void info_beginning_of_node (WINDOW *window, int count, unsigned char key); -#define A_info_end_of_node 19 -extern void info_end_of_node (WINDOW *window, int count, unsigned char key); -#define A_info_down_line 20 -extern void info_down_line (WINDOW *window, int count, unsigned char key); -#define A_info_up_line 21 -extern void info_up_line (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_half_screen_down 22 -extern void info_scroll_half_screen_down (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_half_screen_up 23 -extern void info_scroll_half_screen_up (WINDOW *window, int count, unsigned char key); -#define A_info_next_window 24 -extern void info_next_window (WINDOW *window, int count, unsigned char key); -#define A_info_prev_window 25 -extern void info_prev_window (WINDOW *window, int count, unsigned char key); -#define A_info_split_window 26 -extern void info_split_window (WINDOW *window, int count, unsigned char key); -#define A_info_delete_window 27 -extern void info_delete_window (WINDOW *window, int count, unsigned char key); -#define A_info_keep_one_window 28 -extern void info_keep_one_window (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_other_window 29 -extern void info_scroll_other_window (WINDOW *window, int count, unsigned char key); -#define A_info_scroll_other_window_backward 30 -extern void info_scroll_other_window_backward (WINDOW *window, int count, unsigned char key); -#define A_info_grow_window 31 -extern void info_grow_window (WINDOW *window, int count, unsigned char key); -#define A_info_tile_windows 32 -extern void info_tile_windows (WINDOW *window, int count, unsigned char key); -#define A_info_toggle_wrap 33 -extern void info_toggle_wrap (WINDOW *window, int count, unsigned char key); -#define A_info_toggle_regexp 34 -extern void info_toggle_regexp (WINDOW *window, int count, unsigned char key); -#define A_info_next_node 35 -extern void info_next_node (WINDOW *window, int count, unsigned char key); -#define A_info_prev_node 36 -extern void info_prev_node (WINDOW *window, int count, unsigned char key); -#define A_info_up_node 37 -extern void info_up_node (WINDOW *window, int count, unsigned char key); -#define A_info_last_node 38 -extern void info_last_node (WINDOW *window, int count, unsigned char key); -#define A_info_first_node 39 -extern void info_first_node (WINDOW *window, int count, unsigned char key); -#define A_info_last_menu_item 40 -extern void info_last_menu_item (WINDOW *window, int count, unsigned char key); -#define A_info_menu_digit 41 -extern void info_menu_digit (WINDOW *window, int count, unsigned char key); -#define A_info_menu_item 42 -extern void info_menu_item (WINDOW *window, int count, unsigned char key); -#define A_info_xref_item 43 -extern void info_xref_item (WINDOW *window, int count, unsigned char key); -#define A_info_find_menu 44 -extern void info_find_menu (WINDOW *window, int count, unsigned char key); -#define A_info_visit_menu 45 -extern void info_visit_menu (WINDOW *window, int count, unsigned char key); -#define A_info_goto_node 46 -extern void info_goto_node (WINDOW *window, int count, unsigned char key); -#define A_info_menu_sequence 47 -extern void info_menu_sequence (WINDOW *window, int count, unsigned char key); -#define A_info_goto_invocation_node 48 -extern void info_goto_invocation_node (WINDOW *window, int count, unsigned char key); -#define A_info_man 49 -extern void info_man (WINDOW *window, int count, unsigned char key); -#define A_info_top_node 50 -extern void info_top_node (WINDOW *window, int count, unsigned char key); -#define A_info_dir_node 51 -extern void info_dir_node (WINDOW *window, int count, unsigned char key); -#define A_info_history_node 52 -extern void info_history_node (WINDOW *window, int count, unsigned char key); -#define A_info_kill_node 53 -extern void info_kill_node (WINDOW *window, int count, unsigned char key); -#define A_info_view_file 54 -extern void info_view_file (WINDOW *window, int count, unsigned char key); -#define A_info_print_node 55 -extern void info_print_node (WINDOW *window, int count, unsigned char key); -#define A_info_search_case_sensitively 56 -extern void info_search_case_sensitively (WINDOW *window, int count, unsigned char key); -#define A_info_search 57 -extern void info_search (WINDOW *window, int count, unsigned char key); -#define A_info_search_backward 58 -extern void info_search_backward (WINDOW *window, int count, unsigned char key); -#define A_info_search_next 59 -extern void info_search_next (WINDOW *window, int count, unsigned char key); -#define A_info_search_previous 60 -extern void info_search_previous (WINDOW *window, int count, unsigned char key); -#define A_isearch_forward 61 -extern void isearch_forward (WINDOW *window, int count, unsigned char key); -#define A_isearch_backward 62 -extern void isearch_backward (WINDOW *window, int count, unsigned char key); -#define A_info_move_to_prev_xref 63 -extern void info_move_to_prev_xref (WINDOW *window, int count, unsigned char key); -#define A_info_move_to_next_xref 64 -extern void info_move_to_next_xref (WINDOW *window, int count, unsigned char key); -#define A_info_select_reference_this_line 65 -extern void info_select_reference_this_line (WINDOW *window, int count, unsigned char key); -#define A_info_abort_key 66 -extern void info_abort_key (WINDOW *window, int count, unsigned char key); -#define A_info_move_to_window_line 67 -extern void info_move_to_window_line (WINDOW *window, int count, unsigned char key); -#define A_info_redraw_display 68 -extern void info_redraw_display (WINDOW *window, int count, unsigned char key); -#define A_info_quit 69 -extern void info_quit (WINDOW *window, int count, unsigned char key); -#define A_info_do_lowercase_version 70 -extern void info_do_lowercase_version (WINDOW *window, int count, unsigned char key); -#define A_info_add_digit_to_numeric_arg 71 -extern void info_add_digit_to_numeric_arg (WINDOW *window, int count, unsigned char key); -#define A_info_universal_argument 72 -extern void info_universal_argument (WINDOW *window, int count, unsigned char key); -#define A_info_numeric_arg_digit_loop 73 -extern void info_numeric_arg_digit_loop (WINDOW *window, int count, unsigned char key); - -/* Functions declared in "./echo-area.c". */ -#define A_ea_forward 74 -extern void ea_forward (WINDOW *window, int count, unsigned char key); -#define A_ea_backward 75 -extern void ea_backward (WINDOW *window, int count, unsigned char key); -#define A_ea_beg_of_line 76 -extern void ea_beg_of_line (WINDOW *window, int count, unsigned char key); -#define A_ea_end_of_line 77 -extern void ea_end_of_line (WINDOW *window, int count, unsigned char key); -#define A_ea_forward_word 78 -extern void ea_forward_word (WINDOW *window, int count, unsigned char key); -#define A_ea_backward_word 79 -extern void ea_backward_word (WINDOW *window, int count, unsigned char key); -#define A_ea_delete 80 -extern void ea_delete (WINDOW *window, int count, unsigned char key); -#define A_ea_rubout 81 -extern void ea_rubout (WINDOW *window, int count, unsigned char key); -#define A_ea_abort 82 -extern void ea_abort (WINDOW *window, int count, unsigned char key); -#define A_ea_newline 83 -extern void ea_newline (WINDOW *window, int count, unsigned char key); -#define A_ea_quoted_insert 84 -extern void ea_quoted_insert (WINDOW *window, int count, unsigned char key); -#define A_ea_insert 85 -extern void ea_insert (WINDOW *window, int count, unsigned char key); -#define A_ea_tab_insert 86 -extern void ea_tab_insert (WINDOW *window, int count, unsigned char key); -#define A_ea_transpose_chars 87 -extern void ea_transpose_chars (WINDOW *window, int count, unsigned char key); -#define A_ea_yank 88 -extern void ea_yank (WINDOW *window, int count, unsigned char key); -#define A_ea_yank_pop 89 -extern void ea_yank_pop (WINDOW *window, int count, unsigned char key); -#define A_ea_kill_line 90 -extern void ea_kill_line (WINDOW *window, int count, unsigned char key); -#define A_ea_backward_kill_line 91 -extern void ea_backward_kill_line (WINDOW *window, int count, unsigned char key); -#define A_ea_kill_word 92 -extern void ea_kill_word (WINDOW *window, int count, unsigned char key); -#define A_ea_backward_kill_word 93 -extern void ea_backward_kill_word (WINDOW *window, int count, unsigned char key); -#define A_ea_possible_completions 94 -extern void ea_possible_completions (WINDOW *window, int count, unsigned char key); -#define A_ea_complete 95 -extern void ea_complete (WINDOW *window, int count, unsigned char key); -#define A_ea_scroll_completions_window 96 -extern void ea_scroll_completions_window (WINDOW *window, int count, unsigned char key); - -/* Functions declared in "./infodoc.c". */ -#define A_info_get_help_window 97 -extern void info_get_help_window (WINDOW *window, int count, unsigned char key); -#define A_info_get_info_help_node 98 -extern void info_get_info_help_node (WINDOW *window, int count, unsigned char key); -#define A_describe_key 99 -extern void describe_key (WINDOW *window, int count, unsigned char key); -#define A_info_where_is 100 -extern void info_where_is (WINDOW *window, int count, unsigned char key); - -/* Functions declared in "./m-x.c". */ -#define A_describe_command 101 -extern void describe_command (WINDOW *window, int count, unsigned char key); -#define A_info_execute_command 102 -extern void info_execute_command (WINDOW *window, int count, unsigned char key); -#define A_set_screen_height 103 -extern void set_screen_height (WINDOW *window, int count, unsigned char key); - -/* Functions declared in "./indices.c". */ -#define A_info_index_search 104 -extern void info_index_search (WINDOW *window, int count, unsigned char key); -#define A_info_next_index_match 105 -extern void info_next_index_match (WINDOW *window, int count, unsigned char key); -#define A_info_index_apropos 106 -extern void info_index_apropos (WINDOW *window, int count, unsigned char key); - -/* Functions declared in "./nodemenu.c". */ -#define A_list_visited_nodes 107 -extern void list_visited_nodes (WINDOW *window, int count, unsigned char key); -#define A_select_visited_node 108 -extern void select_visited_node (WINDOW *window, int count, unsigned char key); - -/* Functions declared in "./footnotes.c". */ -#define A_info_show_footnotes 109 -extern void info_show_footnotes (WINDOW *window, int count, unsigned char key); - -/* Functions declared in "./variables.c". */ -#define A_describe_variable 110 -extern void describe_variable (WINDOW *window, int count, unsigned char key); -#define A_set_variable 111 -extern void set_variable (WINDOW *window, int count, unsigned char key); - -#define A_NCOMMANDS 112 diff --git a/gnu/usr.bin/texinfo/infokey/Makefile b/gnu/usr.bin/texinfo/infokey/Makefile deleted file mode 100644 index db79f77fd9..0000000000 --- a/gnu/usr.bin/texinfo/infokey/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -.include "../Makefile.inc0" -.PATH: ${SRCDIR}/info ${SRCDIR}/doc - -PROG= infokey - -CFLAGS+= -I${SRCDIR} -I${SRCDIR}/info -I${SRCDIR}/gnulib/lib -CFLAGS+= -I${.CURDIR}/../libgnu -I${.CURDIR}/../info -CFLAGS+= -DHAVE_CONFIG_H - -SRCS= infokey.c\ - key.c - -.include diff --git a/gnu/usr.bin/texinfo/infokey/key.c b/gnu/usr.bin/texinfo/infokey/key.c deleted file mode 100644 index 7a799d8384..0000000000 --- a/gnu/usr.bin/texinfo/infokey/key.c +++ /dev/null @@ -1,147 +0,0 @@ -/* key.c -- Generated array containing function names. - - This file was automatically made from various source files with the - command "..//info/makedoc". DO NOT EDIT THIS FILE, only "..//info/makedoc.c". - - Source files groveled to make this file include: - - ./session.c - ./echo-area.c - ./infodoc.c - ./m-x.c - ./indices.c - ./nodemenu.c - ./footnotes.c - ./variables.c - - An entry in the array FUNCTION_KEY_ARRAY is made for each command - found in the above files; each entry consists of - a string which is the user-visible name of the function. */ - -#include "key.h" -#include "funs.h" - -FUNCTION_KEY function_key_array[] = { - -/* Commands found in "./session.c". */ - { "next-line", A_info_next_line }, - { "prev-line", A_info_prev_line }, - { "end-of-line", A_info_end_of_line }, - { "beginning-of-line", A_info_beginning_of_line }, - { "forward-char", A_info_forward_char }, - { "backward-char", A_info_backward_char }, - { "forward-word", A_info_forward_word }, - { "backward-word", A_info_backward_word }, - { "global-next-node", A_info_global_next_node }, - { "global-prev-node", A_info_global_prev_node }, - { "scroll-forward", A_info_scroll_forward }, - { "scroll-forward-set-window", A_info_scroll_forward_set_window }, - { "scroll-forward-page-only", A_info_scroll_forward_page_only }, - { "scroll-forward-page-only-set-window", A_info_scroll_forward_page_only_set_window }, - { "scroll-backward", A_info_scroll_backward }, - { "scroll-backward-set-window", A_info_scroll_backward_set_window }, - { "scroll-backward-page-only", A_info_scroll_backward_page_only }, - { "scroll-backward-page-only-set-window", A_info_scroll_backward_page_only_set_window }, - { "beginning-of-node", A_info_beginning_of_node }, - { "end-of-node", A_info_end_of_node }, - { "down-line", A_info_down_line }, - { "up-line", A_info_up_line }, - { "scroll-half-screen-down", A_info_scroll_half_screen_down }, - { "scroll-half-screen-up", A_info_scroll_half_screen_up }, - { "next-window", A_info_next_window }, - { "prev-window", A_info_prev_window }, - { "split-window", A_info_split_window }, - { "delete-window", A_info_delete_window }, - { "keep-one-window", A_info_keep_one_window }, - { "scroll-other-window", A_info_scroll_other_window }, - { "scroll-other-window-backward", A_info_scroll_other_window_backward }, - { "grow-window", A_info_grow_window }, - { "tile-windows", A_info_tile_windows }, - { "toggle-wrap", A_info_toggle_wrap }, - { "toggle-regexp", A_info_toggle_regexp }, - { "next-node", A_info_next_node }, - { "prev-node", A_info_prev_node }, - { "up-node", A_info_up_node }, - { "last-node", A_info_last_node }, - { "first-node", A_info_first_node }, - { "last-menu-item", A_info_last_menu_item }, - { "menu-digit", A_info_menu_digit }, - { "menu-item", A_info_menu_item }, - { "xref-item", A_info_xref_item }, - { "find-menu", A_info_find_menu }, - { "visit-menu", A_info_visit_menu }, - { "goto-node", A_info_goto_node }, - { "menu-sequence", A_info_menu_sequence }, - { "goto-invocation-node", A_info_goto_invocation_node }, - { "man", A_info_man }, - { "top-node", A_info_top_node }, - { "dir-node", A_info_dir_node }, - { "history-node", A_info_history_node }, - { "kill-node", A_info_kill_node }, - { "view-file", A_info_view_file }, - { "print-node", A_info_print_node }, - { "search-case-sensitively", A_info_search_case_sensitively }, - { "search", A_info_search }, - { "search-backward", A_info_search_backward }, - { "search-next", A_info_search_next }, - { "search-previous", A_info_search_previous }, - { "isearch-forward", A_isearch_forward }, - { "isearch-backward", A_isearch_backward }, - { "move-to-prev-xref", A_info_move_to_prev_xref }, - { "move-to-next-xref", A_info_move_to_next_xref }, - { "select-reference-this-line", A_info_select_reference_this_line }, - { "abort-key", A_info_abort_key }, - { "move-to-window-line", A_info_move_to_window_line }, - { "redraw-display", A_info_redraw_display }, - { "quit", A_info_quit }, - { "do-lowercase-version", A_info_do_lowercase_version }, - { "add-digit-to-numeric-arg", A_info_add_digit_to_numeric_arg }, - { "universal-argument", A_info_universal_argument }, - { "numeric-arg-digit-loop", A_info_numeric_arg_digit_loop }, -/* Commands found in "./echo-area.c". */ - { "echo-area-forward", A_ea_forward }, - { "echo-area-backward", A_ea_backward }, - { "echo-area-beg-of-line", A_ea_beg_of_line }, - { "echo-area-end-of-line", A_ea_end_of_line }, - { "echo-area-forward-word", A_ea_forward_word }, - { "echo-area-backward-word", A_ea_backward_word }, - { "echo-area-delete", A_ea_delete }, - { "echo-area-rubout", A_ea_rubout }, - { "echo-area-abort", A_ea_abort }, - { "echo-area-newline", A_ea_newline }, - { "echo-area-quoted-insert", A_ea_quoted_insert }, - { "echo-area-insert", A_ea_insert }, - { "echo-area-tab-insert", A_ea_tab_insert }, - { "echo-area-transpose-chars", A_ea_transpose_chars }, - { "echo-area-yank", A_ea_yank }, - { "echo-area-yank-pop", A_ea_yank_pop }, - { "echo-area-kill-line", A_ea_kill_line }, - { "echo-area-backward-kill-line", A_ea_backward_kill_line }, - { "echo-area-kill-word", A_ea_kill_word }, - { "echo-area-backward-kill-word", A_ea_backward_kill_word }, - { "echo-area-possible-completions", A_ea_possible_completions }, - { "echo-area-complete", A_ea_complete }, - { "echo-area-scroll-completions-window", A_ea_scroll_completions_window }, -/* Commands found in "./infodoc.c". */ - { "get-help-window", A_info_get_help_window }, - { "get-info-help-node", A_info_get_info_help_node }, - { "describe-key", A_describe_key }, - { "where-is", A_info_where_is }, -/* Commands found in "./m-x.c". */ - { "describe-command", A_describe_command }, - { "execute-command", A_info_execute_command }, - { "set-screen-height", A_set_screen_height }, -/* Commands found in "./indices.c". */ - { "index-search", A_info_index_search }, - { "next-index-match", A_info_next_index_match }, - { "index-apropos", A_info_index_apropos }, -/* Commands found in "./nodemenu.c". */ - { "list-visited-nodes", A_list_visited_nodes }, - { "select-visited-node", A_select_visited_node }, -/* Commands found in "./footnotes.c". */ - { "show-footnotes", A_info_show_footnotes }, -/* Commands found in "./variables.c". */ - { "describe-variable", A_describe_variable }, - { "set-variable", A_set_variable }, - { NULL, 0 } -}; diff --git a/gnu/usr.bin/texinfo/install-info/Makefile b/gnu/usr.bin/texinfo/install-info/Makefile deleted file mode 100644 index 1eb2367ad7..0000000000 --- a/gnu/usr.bin/texinfo/install-info/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -.include "../Makefile.inc0" -.PATH: ${SRCDIR}/install-info ${SRCDIR}/doc - -PROG= install-info - -CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gnulib/lib -CFLAGS+= -I${.CURDIR}/../libgnu - -.include - diff --git a/gnu/usr.bin/texinfo/libgnu/Makefile b/gnu/usr.bin/texinfo/libgnu/Makefile deleted file mode 100644 index 1e7d20d2b2..0000000000 --- a/gnu/usr.bin/texinfo/libgnu/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -.include "../Makefile.inc" - -LIB= gnu -INTERNALLIB= true - -CONTRIBDIR= ${BASEDIR}/gnulib/lib -.PATH: ${CONTRIBDIR} ${CONTRIBDIR}/uniwidth - -CFLAGS+= -I${CONTRIBDIR} -I${.CURDIR} -I${.OBJDIR} -CFLAGS+= -DHAVE_CONFIG_H - -SRCS= localcharset.c \ - malloca.c \ - mbchar.c \ - mbscasecmp.c \ - mbschr.c \ - mbslen.c \ - mbsncasecmp.c \ - mbsstr.c \ - mbswidth.c \ - strnlen1.c \ - width.c \ - xalloc-die.c \ - xsetenv.c \ - argz.c \ - error.c \ - exitfail.c \ - getopt.c \ - getopt1.c \ - memmem.c \ - mempcpy.c \ - tempname.c \ - wcwidth.c \ - xmalloc.c - -.include diff --git a/gnu/usr.bin/texinfo/libgnu/alloca.h b/gnu/usr.bin/texinfo/libgnu/alloca.h deleted file mode 100644 index 97089bac4e..0000000000 --- a/gnu/usr.bin/texinfo/libgnu/alloca.h +++ /dev/null @@ -1,57 +0,0 @@ -/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ -/* Memory allocation on the stack. - - Copyright (C) 1995, 1999, 2001-2004, 2006-2008 Free Software - Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 3, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - USA. */ - -/* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H - means there is a real alloca function. */ -#ifndef _GL_ALLOCA_H -#define _GL_ALLOCA_H - -/* alloca (N) returns a pointer to N bytes of memory - allocated on the stack, which will last until the function returns. - Use of alloca should be avoided: - - inside arguments of function calls - undefined behaviour, - - in inline functions - the allocation may actually last until the - calling function returns, - - for huge N (say, N >= 65536) - you never know how large (or small) - the stack is, and when the stack cannot fulfill the memory allocation - request, the program just crashes. - */ - -#ifndef alloca -# ifdef __GNUC__ -# define alloca __builtin_alloca -# elif defined _AIX -# define alloca __alloca -# elif defined _MSC_VER -# include -# define alloca _alloca -# elif defined __DECC && defined __VMS -# define alloca __ALLOCA -# else -# include -# ifdef __cplusplus -extern "C" -# endif -void *alloca (size_t); -# endif -#endif - -#endif /* _GL_ALLOCA_H */ diff --git a/gnu/usr.bin/texinfo/libgnu/argz.h b/gnu/usr.bin/texinfo/libgnu/argz.h deleted file mode 100644 index 0240c20970..0000000000 --- a/gnu/usr.bin/texinfo/libgnu/argz.h +++ /dev/null @@ -1,162 +0,0 @@ -/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ -/* Routines for dealing with '\0' separated arg vectors. - Copyright (C) 1995,96,97,98,99,2000,2004,2007 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public - License as published by the Free Software Foundation; either - version 3 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#ifndef _ARGZ_H -#define _ARGZ_H 1 - - -#define __need_error_t -#include -#include /* Need size_t, and strchr is called below. */ - -#ifndef const -# define const const -#endif - -#ifndef __error_t_defined -typedef int error_t; -#endif - - - -/* Make a '\0' separated arg vector from a unix argv vector, returning it in - ARGZ, and the total length in LEN. If a memory allocation error occurs, - ENOMEM is returned, otherwise 0. The result can be destroyed using free. */ - -extern error_t argz_create (char *const __argv[], char **restrict __argz, - size_t *restrict __len); - -/* Make a '\0' separated arg vector from a SEP separated list in - STRING, returning it in ARGZ, and the total length in LEN. If a - memory allocation error occurs, ENOMEM is returned, otherwise 0. - The result can be destroyed using free. */ - -extern error_t argz_create_sep (const char *restrict string, - int __sep, char **restrict __argz, - size_t *restrict __len); - -/* Returns the number of strings in ARGZ. */ - -extern size_t argz_count (const char *__argz, size_t __len) -; - -/* Puts pointers to each string in ARGZ into ARGV, which must be large enough - to hold them all. */ - -extern void argz_extract (const char *restrict __argz, size_t __len, - char **restrict __argv); - -/* Make '\0' separated arg vector ARGZ printable by converting all the '\0's - except the last into the character SEP. */ - -extern void argz_stringify (char *__argz, size_t __len, int __sep); - -/* Append BUF, of length BUF_LEN to the argz vector in ARGZ & ARGZ_LEN. */ - -extern error_t argz_append (char **restrict __argz, - size_t *restrict __argz_len, - const char *restrict __buf, size_t __buf_len) -; - -/* Append STR to the argz vector in ARGZ & ARGZ_LEN. */ - -extern error_t argz_add (char **restrict __argz, - size_t *restrict __argz_len, - const char *restrict str); - -/* Append SEP separated list in STRING to the argz vector in ARGZ & - ARGZ_LEN. */ - -extern error_t argz_add_sep (char **restrict __argz, - size_t *restrict __argz_len, - const char *restrict string, int __delim) -; - -/* Delete ENTRY from ARGZ & ARGZ_LEN, if it appears there. */ - -extern void argz_delete (char **restrict __argz, - size_t *restrict __argz_len, - char *restrict __entry); - -/* Insert ENTRY into ARGZ & ARGZ_LEN before BEFORE, which should be an - existing entry in ARGZ; if BEFORE is NULL, ENTRY is appended to the end. - Since ARGZ's first entry is the same as ARGZ, argz_insert (ARGZ, ARGZ_LEN, - ARGZ, ENTRY) will insert ENTRY at the beginning of ARGZ. If BEFORE is not - in ARGZ, EINVAL is returned, else if memory can't be allocated for the new - ARGZ, ENOMEM is returned, else 0. */ - -extern error_t argz_insert (char **restrict __argz, - size_t *restrict __argz_len, - char *restrict __before, - const char *restrict __entry); - -/* Replace any occurrences of the string STR in ARGZ with WITH, reallocating - ARGZ as necessary. If REPLACE_COUNT is non-zero, *REPLACE_COUNT will be - incremented by number of replacements performed. */ - -extern error_t argz_replace (char **restrict __argz, - size_t *restrict __argz_len, - const char *restrict str, - const char *restrict __with, - unsigned int *restrict __replace_count); - -/* Returns the next entry in ARGZ & ARGZ_LEN after ENTRY, or NULL if there - are no more. If entry is NULL, then the first entry is returned. This - behavior allows two convenient iteration styles: - - char *entry = 0; - while ((entry = argz_next (argz, argz_len, entry))) - ...; - - or - - char *entry; - for (entry = argz; entry; entry = argz_next (argz, argz_len, entry)) - ...; -*/ - -extern char *argz_next (const char *restrict __argz, size_t __argz_len, - const char *restrict __entry); - -#ifdef __USE_EXTERN_INLINES -__extern_inline char * -__NTH (argz_next (const char *__argz, size_t __argz_len, - const char *__entry)) -{ - if (__entry) - { - if (__entry < __argz + __argz_len) - __entry = strchr (__entry, '\0') + 1; - - return __entry >= __argz + __argz_len ? (char *) NULL : (char *) __entry; - } - else - return __argz_len > 0 ? (char *) __argz : 0; -} -__extern_inline char * -__NTH (argz_next (const char *__argz, size_t __argz_len, - const char *__entry)) -{ - return argz_next (__argz, __argz_len, __entry); -} -#endif /* Use extern inlines. */ - - -#endif /* argz.h */ diff --git a/gnu/usr.bin/texinfo/libgnu/config.h b/gnu/usr.bin/texinfo/libgnu/config.h deleted file mode 100644 index 370e84c5f8..0000000000 --- a/gnu/usr.bin/texinfo/libgnu/config.h +++ /dev/null @@ -1,541 +0,0 @@ -/* config.h. Generated from config.in by configure. */ -/* config.in. Generated from configure.ac by autoheader. */ - -/* Define to the number of bits in type 'ptrdiff_t'. */ -/* #undef BITSIZEOF_PTRDIFF_T */ - -/* Define to the number of bits in type 'sig_atomic_t'. */ -/* #undef BITSIZEOF_SIG_ATOMIC_T */ - -/* Define to the number of bits in type 'size_t'. */ -/* #undef BITSIZEOF_SIZE_T */ - -/* Define to the number of bits in type 'wchar_t'. */ -/* #undef BITSIZEOF_WCHAR_T */ - -/* Define to the number of bits in type 'wint_t'. */ -/* #undef BITSIZEOF_WINT_T */ - -/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP - systems. This function is required for `alloca.c' support on those systems. - */ -/* #undef CRAY_STACKSEG_END */ - -/* Define to 1 if using `alloca.c'. */ -/* #undef C_ALLOCA */ - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -/* #undef ENABLE_NLS */ - -/* Define if gettimeofday clobbers the localtime buffer. */ -/* #undef GETTIMEOFDAY_CLOBBERS_LOCALTIME */ - -/* Define to 1 if `TIOCGWINSZ' requires . */ -/* #undef GWINSZ_IN_SYS_IOCTL */ - -/* Define to 1 if you have 'alloca' after including , a header that - may be supplied by this distribution. */ -#define HAVE_ALLOCA 1 - -/* Define to 1 if you have and it should be used (not on Ultrix). - */ -/* #undef HAVE_ALLOCA_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_ARGZ_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_BP_SYM_H */ - -/* Define to 1 if you have the `bzero' function. */ -#define HAVE_BZERO 1 - -/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the - CoreFoundation framework. */ -/* #undef HAVE_CFLOCALECOPYCURRENT */ - -/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in - the CoreFoundation framework. */ -/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -/* #undef HAVE_DCGETTEXT */ - -/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you - don't. */ -#define HAVE_DECL_GETC_UNLOCKED 1 - -/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't. - */ -#define HAVE_DECL_GETENV 1 - -/* Define to 1 if you have a declaration of mbswidth() in , and to 0 - otherwise. */ -#define HAVE_DECL_MBSWIDTH_IN_WCHAR_H 0 - -/* Define to 1 if you have the declaration of `memchr', and to 0 if you don't. - */ -#define HAVE_DECL_MEMCHR 1 - -/* Define to 1 if you have the declaration of `memmem', and to 0 if you don't. - */ -#define HAVE_DECL_MEMMEM 1 - -/* Define to 1 if you have the declaration of `strcoll', and to 0 if you - don't. */ -#define HAVE_DECL_STRCOLL 1 - -/* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. - */ -#define HAVE_DECL_STRDUP 1 - -/* Define to 1 if you have the declaration of `strerror', and to 0 if you - don't. */ -#define HAVE_DECL_STRERROR 1 - -/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you - don't. */ -#define HAVE_DECL_STRERROR_R 1 - -/* Define to 1 if you have the declaration of `strndup', and to 0 if you - don't. */ -#define HAVE_DECL_STRNDUP 1 - -/* Define to 1 if you have the declaration of `strnlen', and to 0 if you - don't. */ -#define HAVE_DECL_STRNLEN 1 - -/* Define to 1 if you have the declaration of `wcwidth', and to 0 if you - don't. */ -#define HAVE_DECL_WCWIDTH 1 - -/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ -/* #undef HAVE_DOPRNT */ - -/* Define if you have the declaration of environ. */ -/* #undef HAVE_ENVIRON_DECL */ - -/* Define to 1 if the system has the type `error_t'. */ -/* #undef HAVE_ERROR_T */ - -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if you have the `getcwd' function. */ -#define HAVE_GETCWD 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_GETOPT_H 1 - -/* Define to 1 if you have the `getopt_long_only' function. */ -#define HAVE_GETOPT_LONG_ONLY 1 - -/* Define if the GNU gettext() function is already present or preinstalled. */ -/* #undef HAVE_GETTEXT */ - -/* Define to 1 if you have the `gettimeofday' function. */ -#define HAVE_GETTIMEOFDAY 1 - -/* Define if you have the iconv() function and it works. */ -/* #undef HAVE_ICONV */ - -/* Define if your compiler supports the #include_next directive. */ -#define HAVE_INCLUDE_NEXT 1 - -/* Define to 1 if the compiler supports one of the keywords 'inline', - '__inline__', '__inline' and effectively inlines functions marked as such. - */ -#define HAVE_INLINE 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_IO_H */ - -/* Define to 1 if you have the `isascii' function. */ -#define HAVE_ISASCII 1 - -/* Define to 1 if you have the `iswcntrl' function. */ -#define HAVE_ISWCNTRL 1 - -/* Define if you have and nl_langinfo(CODESET). */ -#define HAVE_LANGINFO_CODESET 1 - -/* Define to 1 if you have the `bsd' library (-lbsd). */ -/* #undef HAVE_LIBBSD */ - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if the system has the type `long long int'. */ -#define HAVE_LONG_LONG_INT 1 - -/* Define to 1 if you have the `lstat' function. */ -#define HAVE_LSTAT 1 - -/* Define if the 'malloc' function is POSIX compliant. */ -#define HAVE_MALLOC_POSIX 1 - -/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ -#define HAVE_MBRTOWC 1 - -/* Define to 1 if you have the `mbsinit' function. */ -#define HAVE_MBSINIT 1 - -/* Define to 1 if declares mbstate_t. */ -#define HAVE_MBSTATE_T 1 - -/* Define to 1 if you have the `memchr' function. */ -#define HAVE_MEMCHR 1 - -/* Define to 1 if you have the `memcpy' function. */ -#define HAVE_MEMCPY 1 - -/* Define to 1 if you have the `memmem' function. */ -#define HAVE_MEMMEM 1 - -/* Define to 1 if you have the `memmove' function. */ -#define HAVE_MEMMOVE 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 if you have the `mempcpy' function. */ -/* #undef HAVE_MEMPCPY */ - -/* Define to 1 if you have the `memset' function. */ -#define HAVE_MEMSET 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NCURSES_TERMCAP_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_PWD_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SEARCH_H */ - -/* Define to 1 if you have the `setenv' function. */ -#define HAVE_SETENV 1 - -/* Define to 1 if you have the `setlocale' function. */ -#define HAVE_SETLOCALE 1 - -/* Define to 1 if you have the `setvbuf' function. */ -#define HAVE_SETVBUF 1 - -/* Define to 1 if you have the `sigaction' function. */ -#define HAVE_SIGACTION 1 - -/* Define to 1 if 'sig_atomic_t' is a signed integer type. */ -/* #undef HAVE_SIGNED_SIG_ATOMIC_T */ - -/* Define to 1 if 'wchar_t' is a signed integer type. */ -/* #undef HAVE_SIGNED_WCHAR_T */ - -/* Define to 1 if 'wint_t' is a signed integer type. */ -/* #undef HAVE_SIGNED_WINT_T */ - -/* Define to 1 if you have the `sigprocmask' function. */ -#define HAVE_SIGPROCMASK 1 - -/* Define to 1 if you have the `sigsetmask' function. */ -#define HAVE_SIGSETMASK 1 - -/* Define to 1 if stdbool.h conforms to C99. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the `stpcpy' function. */ -#define HAVE_STPCPY 1 - -/* Define to 1 if you have the `strchr' function. */ -#define HAVE_STRCHR 1 - -/* Define to 1 if you have the `strcoll' function and it is properly defined. - */ -#define HAVE_STRCOLL 1 - -/* Define to 1 if you have the `strdup' function. */ -#define HAVE_STRDUP 1 - -/* Define to 1 if you have the `strerror' function. */ -#define HAVE_STRERROR 1 - -/* Define to 1 if you have the `strerror_r' function. */ -#define HAVE_STRERROR_R 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the strndup() function and it works. */ -#define HAVE_STRNDUP 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_BITYPES_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_FCNTL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_FILE_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_INTTYPES_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_PTEM_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_STREAM_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_TIMEB_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_TTOLD_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_WAIT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_TERMCAP_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_TERMIOS_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_TERMIO_H */ - -/* Define to 1 if you have the `tsearch' function. */ -/* #undef HAVE_TSEARCH */ - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if you have the `unsetenv' function. */ -#define HAVE_UNSETENV 1 - -/* Define to 1 if the system has the type `unsigned long long int'. */ -#define HAVE_UNSIGNED_LONG_LONG_INT 1 - -/* Define to 1 if you have the `vprintf' function. */ -#define HAVE_VPRINTF 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_WCHAR_H 1 - -/* Define if you have the 'wchar_t' type. */ -#define HAVE_WCHAR_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define to 1 if you have the `wcwidth' function. */ -#define HAVE_WCWIDTH 1 - -/* Define if you have the 'wint_t' type. */ -#define HAVE_WINT_T 1 - -/* This value is set to 1 to indicate that the system argz facility works */ -/* #undef HAVE_WORKING_ARGZ */ - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -/* Define to 1 if you have the `_ftime' function. */ -/* #undef HAVE__FTIME */ - -/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ -#define MALLOC_0_IS_NONNULL 1 - -/* Define to 1 if your C compiler doesn't accept -c and -o together. */ -/* #undef NO_MINUS_C_MINUS_O */ - -/* Name of package */ -#define PACKAGE "texinfo" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "bug-texinfo@gnu.org" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "GNU Texinfo" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "GNU Texinfo 4.13" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "texinfo" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "4.13" - -/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type - 'ptrdiff_t'. */ -/* #undef PTRDIFF_T_SUFFIX */ - -/* Define this to 1 if strerror is broken. */ -/* #undef REPLACE_STRERROR */ - -/* Define as the return type of signal handlers (`int' or `void'). */ -#define RETSIGTYPE void - -/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type - 'sig_atomic_t'. */ -/* #undef SIG_ATOMIC_T_SUFFIX */ - -/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type - 'size_t'. */ -/* #undef SIZE_T_SUFFIX */ - -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at runtime. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ -/* #undef STACK_DIRECTION */ - -/* Define to 1 if the `S_IS*' macros in do not work properly. */ -/* #undef STAT_MACROS_BROKEN */ - -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define to 1 if strerror_r returns char *. */ -/* #undef STRERROR_R_CHAR_P */ - -/* Define to 1 if your declares `struct tm'. */ -/* #undef TM_IN_SYS_TIME */ - -/* Version number of package */ -#define VERSION "4.13" - -/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type - 'wchar_t'. */ -/* #undef WCHAR_T_SUFFIX */ - -/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type - 'wint_t'. */ -/* #undef WINT_T_SUFFIX */ - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define to 1 if on MINIX. */ -/* #undef _MINIX */ - -/* Define to 2 if the system does not provide POSIX.1 features except with - this defined. */ -/* #undef _POSIX_1_SOURCE */ - -/* Define to 1 if you need to in order for `stat' and other things to work. */ -/* #undef _POSIX_SOURCE */ - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# define _ALL_SOURCE 1 -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# define _POSIX_PTHREAD_SEMANTICS 1 -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# define _TANDEM_SOURCE 1 -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 -#endif - - -/* Define to rpl_ if the getopt replacement functions and variables should be - used. */ -#define __GETOPT_PREFIX rpl_ - -/* Define so that glibc/gnulib argp.h does not typedef error_t. */ -#define __error_t_defined 1 - -/* Define to empty if `const' does not conform to ANSI C. */ -/* #undef const */ - -/* Define to a type to use for `error_t' if it is not otherwise available. */ -#define error_t int - -/* Define to rpl_gmtime if the replacement function should be used. */ -/* #undef gmtime */ - -/* Define to `__inline__' or `__inline' if that's what the C compiler - calls it, or to nothing if 'inline' is not supported under any name. */ -#ifndef __cplusplus -/* #undef inline */ -#endif - -/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports - the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of - earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. - __APPLE__ && __MACH__ test for MacOS X. - __APPLE_CC__ tests for the Apple compiler and its version. - __STDC_VERSION__ tests for the C99 mode. */ -#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ -# define __GNUC_STDC_INLINE__ 1 -#endif - -/* Define to rpl_localtime if the replacement function should be used. */ -/* #undef localtime */ - -/* Define to a type if does not define. */ -/* #undef mbstate_t */ - -/* Define to rpl_memcmp if the replacement function should be used. */ -/* #undef memcmp */ - -/* Define to the type of st_nlink in struct stat, or a supertype. */ -/* #undef nlink_t */ - -/* Define to `long int' if does not define. */ -/* #undef off_t */ - -/* Define to the equivalent of the C99 'restrict' keyword, or to - nothing if this is not supported. Do not define if restrict is - supported directly. */ -#define restrict __restrict -/* Work around a bug in Sun C++: it does not support _Restrict, even - though the corresponding Sun C compiler does, which causes - "#define restrict _Restrict" in the previous line. Perhaps some future - version of Sun C++ will work with _Restrict; if so, it'll probably - define __RESTRICT, just as Sun C does. */ -#if defined __SUNPRO_CC && !defined __RESTRICT -# define _Restrict -#endif - -/* Define to rpl_strnlen if the replacement function should be used. */ -/* #undef strnlen */ diff --git a/gnu/usr.bin/texinfo/libgnu/configmake.h b/gnu/usr.bin/texinfo/libgnu/configmake.h deleted file mode 100644 index ce06a0737e..0000000000 --- a/gnu/usr.bin/texinfo/libgnu/configmake.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ -#define PREFIX "/usr" -#define EXEC_PREFIX "/usr" -#define BINDIR "/usr/bin" -#define SBINDIR "/usr/sbin" -#define LIBEXECDIR "/usr/libexec" -#define DATAROOTDIR "/usr/share" -#define DATADIR "/usr/share" -#define SYSCONFDIR "/usr/etc" -#define SHAREDSTATEDIR "/usr/com" -#define LOCALSTATEDIR "/usr/var" -#define INCLUDEDIR "/usr/include" -#define OLDINCLUDEDIR "/usr/include" -#define DOCDIR "/usr/share/doc/texinfo" -#define INFODIR "/usr/share/info:/usr/local/info:/usr/pkg/info:." -#define HTMLDIR "/usr/share/doc/texinfo" -#define DVIDIR "/usr/share/doc/texinfo" -#define PDFDIR "/usr/share/doc/texinfo" -#define PSDIR "/usr/share/doc/texinfo" -#define LIBDIR "/usr/lib" -#define LOCALEDIR "/usr/share/locale" -#define MANDIR "/usr/share/man" -#define PKGDATADIR "/usr/share/texinfo" -#define PKGINCLUDEDIR "/usr/include/texinfo" -#define PKGLIBDIR "/usr/lib/texinfo" diff --git a/gnu/usr.bin/texinfo/libgnu/getopt.h b/gnu/usr.bin/texinfo/libgnu/getopt.h deleted file mode 100644 index 721d4e9c2b..0000000000 --- a/gnu/usr.bin/texinfo/libgnu/getopt.h +++ /dev/null @@ -1,226 +0,0 @@ -/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ -/* Declarations for getopt. - Copyright (C) 1989-1994,1996-1999,2001,2003,2004,2005,2006,2007 - Free Software Foundation, Inc. - This file is part of the GNU C Library. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#ifndef _GETOPT_H - -#ifndef __need_getopt -# define _GETOPT_H 1 -#endif - -/* Standalone applications should #define __GETOPT_PREFIX to an - identifier that prefixes the external functions and variables - defined in this header. When this happens, include the - headers that might declare getopt so that they will not cause - confusion if included after this file. Then systematically rename - identifiers so that they do not collide with the system functions - and variables. Renaming avoids problems with some compilers and - linkers. */ -#if defined __GETOPT_PREFIX && !defined __need_getopt -# include -# include -# include -# undef __need_getopt -# undef getopt -# undef getopt_long -# undef getopt_long_only -# undef optarg -# undef opterr -# undef optind -# undef optopt -# define __GETOPT_CONCAT(x, y) x ## y -# define __GETOPT_XCONCAT(x, y) __GETOPT_CONCAT (x, y) -# define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y) -# define getopt __GETOPT_ID (getopt) -# define getopt_long __GETOPT_ID (getopt_long) -# define getopt_long_only __GETOPT_ID (getopt_long_only) -# define optarg __GETOPT_ID (optarg) -# define opterr __GETOPT_ID (opterr) -# define optind __GETOPT_ID (optind) -# define optopt __GETOPT_ID (optopt) -#endif - -/* Standalone applications get correct prototypes for getopt_long and - getopt_long_only; they declare "char **argv". libc uses prototypes - with "char *const *argv" that are incorrect because getopt_long and - getopt_long_only can permute argv; this is required for backward - compatibility (e.g., for LSB 2.0.1). - - This used to be `#if defined __GETOPT_PREFIX && !defined __need_getopt', - but it caused redefinition warnings if both unistd.h and getopt.h were - included, since unistd.h includes getopt.h having previously defined - __need_getopt. - - The only place where __getopt_argv_const is used is in definitions - of getopt_long and getopt_long_only below, but these are visible - only if __need_getopt is not defined, so it is quite safe to rewrite - the conditional as follows: -*/ -#if !defined __need_getopt -# if defined __GETOPT_PREFIX -# define __getopt_argv_const /* empty */ -# else -# define __getopt_argv_const const -# endif -#endif - -/* If __GNU_LIBRARY__ is not already defined, either we are being used - standalone, or this is the first header included in the source file. - If we are being used with glibc, we need to include , but - that does not exist if we are standalone. So: if __GNU_LIBRARY__ is - not defined, include , which will pull in for us - if it's from glibc. (Why ctype.h? It's guaranteed to exist and it - doesn't flood the namespace with stuff the way some other headers do.) */ -#if !defined __GNU_LIBRARY__ -# include -#endif - -#ifndef __THROW -# ifndef __GNUC_PREREQ -# define __GNUC_PREREQ(maj, min) (0) -# endif -# if defined __cplusplus && __GNUC_PREREQ (2,8) -# define __THROW throw () -# else -# define __THROW -# endif -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* For communication from `getopt' to the caller. - When `getopt' finds an option that takes an argument, - the argument value is returned here. - Also, when `ordering' is RETURN_IN_ORDER, - each non-option ARGV-element is returned here. */ - -extern char *optarg; - -/* Index in ARGV of the next element to be scanned. - This is used for communication to and from the caller - and for communication between successive calls to `getopt'. - - On entry to `getopt', zero means this is the first call; initialize. - - When `getopt' returns -1, this is the index of the first of the - non-option elements that the caller should itself scan. - - Otherwise, `optind' communicates from one call to the next - how much of ARGV has been scanned so far. */ - -extern int optind; - -/* Callers store zero here to inhibit the error message `getopt' prints - for unrecognized options. */ - -extern int opterr; - -/* Set to an option character which was unrecognized. */ - -extern int optopt; - -#ifndef __need_getopt -/* Describe the long-named options requested by the application. - The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector - of `struct option' terminated by an element containing a name which is - zero. - - The field `has_arg' is: - no_argument (or 0) if the option does not take an argument, - required_argument (or 1) if the option requires an argument, - optional_argument (or 2) if the option takes an optional argument. - - If the field `flag' is not NULL, it points to a variable that is set - to the value given in the field `val' when the option is found, but - left unchanged if the option is not found. - - To have a long-named option do something other than set an `int' to - a compiled-in constant, such as set a value from `optarg', set the - option's `flag' field to zero and its `val' field to a nonzero - value (the equivalent single-letter option character, if there is - one). For long options that have a zero `flag' field, `getopt' - returns the contents of the `val' field. */ - -struct option -{ - const char *name; - /* has_arg can't be an enum because some compilers complain about - type mismatches in all the code that assumes it is an int. */ - int has_arg; - int *flag; - int val; -}; - -/* Names for the values of the `has_arg' field of `struct option'. */ - -# define no_argument 0 -# define required_argument 1 -# define optional_argument 2 -#endif /* need getopt */ - - -/* Get definitions and prototypes for functions to process the - arguments in ARGV (ARGC of them, minus the program name) for - options given in OPTS. - - Return the option character from OPTS just read. Return -1 when - there are no more options. For unrecognized options, or options - missing arguments, `optopt' is set to the option letter, and '?' is - returned. - - The OPTS string is a list of characters which are recognized option - letters, optionally followed by colons, specifying that that letter - takes an argument, to be placed in `optarg'. - - If a letter in OPTS is followed by two colons, its argument is - optional. This behavior is specific to the GNU `getopt'. - - The argument `--' causes premature termination of argument - scanning, explicitly telling `getopt' that there are no more - options. - - If OPTS begins with `-', then non-option arguments are treated as - arguments to the option '\1'. This behavior is specific to the GNU - `getopt'. If OPTS begins with `+', or POSIXLY_CORRECT is set in - the environment, then do not permute arguments. */ - -extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) - __THROW; - -#ifndef __need_getopt -extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv, - const char *__shortopts, - const struct option *__longopts, int *__longind) - __THROW; -extern int getopt_long_only (int ___argc, char *__getopt_argv_const *___argv, - const char *__shortopts, - const struct option *__longopts, int *__longind) - __THROW; - -#endif - -#ifdef __cplusplus -} -#endif - -/* Make sure we later can get all the definitions and declarations. */ -#undef __need_getopt - -#endif /* getopt.h */ diff --git a/gnu/usr.bin/texinfo/libgnu/string.h b/gnu/usr.bin/texinfo/libgnu/string.h deleted file mode 100644 index e76767ff3a..0000000000 --- a/gnu/usr.bin/texinfo/libgnu/string.h +++ /dev/null @@ -1,614 +0,0 @@ -/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ -/* A GNU-like . - - Copyright (C) 1995-1996, 2001-2008 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -#ifndef _GL_STRING_H - -/* The include_next requires a split double-inclusion guard. */ -#include_next - -#ifndef _GL_STRING_H -#define _GL_STRING_H - - -#ifndef __attribute__ -/* This feature is available in gcc versions 2.5 and later. */ -# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) -# define __attribute__(Spec) /* empty */ -# endif -/* The attribute __pure__ was added in gcc 2.96. */ -# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96) -# define __pure__ /* empty */ -# endif -#endif - - -/* The definition of GL_LINK_WARNING is copied here. */ -/* GL_LINK_WARNING("literal string") arranges to emit the literal string as - a linker warning on most glibc systems. - We use a linker warning rather than a preprocessor warning, because - #warning cannot be used inside macros. */ -#ifndef GL_LINK_WARNING - /* This works on platforms with GNU ld and ELF object format. - Testing __GLIBC__ is sufficient for asserting that GNU ld is in use. - Testing __ELF__ guarantees the ELF object format. - Testing __GNUC__ is necessary for the compound expression syntax. */ -# if defined __GLIBC__ && defined __ELF__ && defined __GNUC__ -# define GL_LINK_WARNING(message) \ - GL_LINK_WARNING1 (__FILE__, __LINE__, message) -# define GL_LINK_WARNING1(file, line, message) \ - GL_LINK_WARNING2 (file, line, message) /* macroexpand file and line */ -# define GL_LINK_WARNING2(file, line, message) \ - GL_LINK_WARNING3 (file ":" #line ": warning: " message) -# define GL_LINK_WARNING3(message) \ - ({ static const char warning[sizeof (message)] \ - __attribute__ ((__unused__, \ - __section__ (".gnu.warning"), \ - __aligned__ (1))) \ - = message "\n"; \ - (void)0; \ - }) -# else -# define GL_LINK_WARNING(message) ((void) 0) -# endif -#endif - - -#ifdef __cplusplus -extern "C" { -#endif - - -/* Return the first occurrence of NEEDLE in HAYSTACK. */ -#if 1 -# if 1 -# define memmem rpl_memmem -# endif -# if ! 1 || 1 -extern void *memmem (void const *__haystack, size_t __haystack_len, - void const *__needle, size_t __needle_len) - __attribute__ ((__pure__)); -# endif -#elif defined GNULIB_POSIXCHECK -# undef memmem -# define memmem(a,al,b,bl) \ - (GL_LINK_WARNING ("memmem is unportable and often quadratic - " \ - "use gnulib module memmem-simple for portability, " \ - "and module memmem for speed" ), \ - memmem (a, al, b, bl)) -#endif - -/* Copy N bytes of SRC to DEST, return pointer to bytes after the - last written byte. */ -#if 1 -# if ! 0 -extern void *mempcpy (void *restrict __dest, void const *restrict __src, - size_t __n); -# endif -#elif defined GNULIB_POSIXCHECK -# undef mempcpy -# define mempcpy(a,b,n) \ - (GL_LINK_WARNING ("mempcpy is unportable - " \ - "use gnulib module mempcpy for portability"), \ - mempcpy (a, b, n)) -#endif - -/* Search backwards through a block for a byte (specified as an int). */ -#if 0 -# if ! 1 -extern void *memrchr (void const *, int, size_t) - __attribute__ ((__pure__)); -# endif -#elif defined GNULIB_POSIXCHECK -# undef memrchr -# define memrchr(a,b,c) \ - (GL_LINK_WARNING ("memrchr is unportable - " \ - "use gnulib module memrchr for portability"), \ - memrchr (a, b, c)) -#endif - -/* Find the first occurrence of C in S. More efficient than - memchr(S,C,N), at the expense of undefined behavior if C does not - occur within N bytes. */ -#if 0 -# if ! 1 -extern void *rawmemchr (void const *__s, int __c_in) - __attribute__ ((__pure__)); -# endif -#elif defined GNULIB_POSIXCHECK -# undef rawmemchr -# define rawmemchr(a,b) \ - (GL_LINK_WARNING ("rawmemchr is unportable - " \ - "use gnulib module rawmemchr for portability"), \ - rawmemchr (a, b)) -#endif - -/* Copy SRC to DST, returning the address of the terminating '\0' in DST. */ -#if 1 -# if ! 1 -extern char *stpcpy (char *restrict __dst, char const *restrict __src); -# endif -#elif defined GNULIB_POSIXCHECK -# undef stpcpy -# define stpcpy(a,b) \ - (GL_LINK_WARNING ("stpcpy is unportable - " \ - "use gnulib module stpcpy for portability"), \ - stpcpy (a, b)) -#endif - -/* Copy no more than N bytes of SRC to DST, returning a pointer past the - last non-NUL byte written into DST. */ -#if 0 -# if ! 1 -# define stpncpy gnu_stpncpy -extern char *stpncpy (char *restrict __dst, char const *restrict __src, - size_t __n); -# endif -#elif defined GNULIB_POSIXCHECK -# undef stpncpy -# define stpncpy(a,b,n) \ - (GL_LINK_WARNING ("stpncpy is unportable - " \ - "use gnulib module stpncpy for portability"), \ - stpncpy (a, b, n)) -#endif - -#if defined GNULIB_POSIXCHECK -/* strchr() does not work with multibyte strings if the locale encoding is - GB18030 and the character to be searched is a digit. */ -# undef strchr -# define strchr(s,c) \ - (GL_LINK_WARNING ("strchr cannot work correctly on character strings " \ - "in some multibyte locales - " \ - "use mbschr if you care about internationalization"), \ - strchr (s, c)) -#endif - -/* Find the first occurrence of C in S or the final NUL byte. */ -#if 0 -# if ! 1 -extern char *strchrnul (char const *__s, int __c_in) - __attribute__ ((__pure__)); -# endif -#elif defined GNULIB_POSIXCHECK -# undef strchrnul -# define strchrnul(a,b) \ - (GL_LINK_WARNING ("strchrnul is unportable - " \ - "use gnulib module strchrnul for portability"), \ - strchrnul (a, b)) -#endif - -/* Duplicate S, returning an identical malloc'd string. */ -#if 1 -# if ! 1 && ! defined strdup -extern char *strdup (char const *__s); -# endif -#elif defined GNULIB_POSIXCHECK -# undef strdup -# define strdup(a) \ - (GL_LINK_WARNING ("strdup is unportable - " \ - "use gnulib module strdup for portability"), \ - strdup (a)) -#endif - -/* Return a newly allocated copy of at most N bytes of STRING. */ -#if 1 -# if ! 1 -# undef strndup -# define strndup rpl_strndup -# endif -# if ! 1 || ! 1 -extern char *strndup (char const *__string, size_t __n); -# endif -#elif defined GNULIB_POSIXCHECK -# undef strndup -# define strndup(a,n) \ - (GL_LINK_WARNING ("strndup is unportable - " \ - "use gnulib module strndup for portability"), \ - strndup (a, n)) -#endif - -/* Find the length (number of bytes) of STRING, but scan at most - MAXLEN bytes. If no '\0' terminator is found in that many bytes, - return MAXLEN. */ -#if 1 -# if ! 1 -extern size_t strnlen (char const *__string, size_t __maxlen) - __attribute__ ((__pure__)); -# endif -#elif defined GNULIB_POSIXCHECK -# undef strnlen -# define strnlen(a,n) \ - (GL_LINK_WARNING ("strnlen is unportable - " \ - "use gnulib module strnlen for portability"), \ - strnlen (a, n)) -#endif - -#if defined GNULIB_POSIXCHECK -/* strcspn() assumes the second argument is a list of single-byte characters. - Even in this simple case, it does not work with multibyte strings if the - locale encoding is GB18030 and one of the characters to be searched is a - digit. */ -# undef strcspn -# define strcspn(s,a) \ - (GL_LINK_WARNING ("strcspn cannot work correctly on character strings " \ - "in multibyte locales - " \ - "use mbscspn if you care about internationalization"), \ - strcspn (s, a)) -#endif - -/* Find the first occurrence in S of any character in ACCEPT. */ -#if 0 -# if ! 1 -extern char *strpbrk (char const *__s, char const *__accept) - __attribute__ ((__pure__)); -# endif -# if defined GNULIB_POSIXCHECK -/* strpbrk() assumes the second argument is a list of single-byte characters. - Even in this simple case, it does not work with multibyte strings if the - locale encoding is GB18030 and one of the characters to be searched is a - digit. */ -# undef strpbrk -# define strpbrk(s,a) \ - (GL_LINK_WARNING ("strpbrk cannot work correctly on character strings " \ - "in multibyte locales - " \ - "use mbspbrk if you care about internationalization"), \ - strpbrk (s, a)) -# endif -#elif defined GNULIB_POSIXCHECK -# undef strpbrk -# define strpbrk(s,a) \ - (GL_LINK_WARNING ("strpbrk is unportable - " \ - "use gnulib module strpbrk for portability"), \ - strpbrk (s, a)) -#endif - -#if defined GNULIB_POSIXCHECK -/* strspn() assumes the second argument is a list of single-byte characters. - Even in this simple case, it cannot work with multibyte strings. */ -# undef strspn -# define strspn(s,a) \ - (GL_LINK_WARNING ("strspn cannot work correctly on character strings " \ - "in multibyte locales - " \ - "use mbsspn if you care about internationalization"), \ - strspn (s, a)) -#endif - -#if defined GNULIB_POSIXCHECK -/* strrchr() does not work with multibyte strings if the locale encoding is - GB18030 and the character to be searched is a digit. */ -# undef strrchr -# define strrchr(s,c) \ - (GL_LINK_WARNING ("strrchr cannot work correctly on character strings " \ - "in some multibyte locales - " \ - "use mbsrchr if you care about internationalization"), \ - strrchr (s, c)) -#endif - -/* Search the next delimiter (char listed in DELIM) starting at *STRINGP. - If one is found, overwrite it with a NUL, and advance *STRINGP - to point to the next char after it. Otherwise, set *STRINGP to NULL. - If *STRINGP was already NULL, nothing happens. - Return the old value of *STRINGP. - - This is a variant of strtok() that is multithread-safe and supports - empty fields. - - Caveat: It modifies the original string. - Caveat: These functions cannot be used on constant strings. - Caveat: The identity of the delimiting character is lost. - Caveat: It doesn't work with multibyte strings unless all of the delimiter - characters are ASCII characters < 0x30. - - See also strtok_r(). */ -#if 0 -# if ! 1 -extern char *strsep (char **restrict __stringp, char const *restrict __delim); -# endif -# if defined GNULIB_POSIXCHECK -# undef strsep -# define strsep(s,d) \ - (GL_LINK_WARNING ("strsep cannot work correctly on character strings " \ - "in multibyte locales - " \ - "use mbssep if you care about internationalization"), \ - strsep (s, d)) -# endif -#elif defined GNULIB_POSIXCHECK -# undef strsep -# define strsep(s,d) \ - (GL_LINK_WARNING ("strsep is unportable - " \ - "use gnulib module strsep for portability"), \ - strsep (s, d)) -#endif - -#if 0 -# if 0 -# define strstr rpl_strstr -char *strstr (const char *haystack, const char *needle) - __attribute__ ((__pure__)); -# endif -#elif defined GNULIB_POSIXCHECK -/* strstr() does not work with multibyte strings if the locale encoding is - different from UTF-8: - POSIX says that it operates on "strings", and "string" in POSIX is defined - as a sequence of bytes, not of characters. */ -# undef strstr -# define strstr(a,b) \ - (GL_LINK_WARNING ("strstr is quadratic on many systems, and cannot " \ - "work correctly on character strings in most " \ - "multibyte locales - " \ - "use mbsstr if you care about internationalization, " \ - "or use strstr if you care about speed"), \ - strstr (a, b)) -#endif - -/* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive - comparison. */ -#if 0 -# if 0 -# define strcasestr rpl_strcasestr -# endif -# if ! 1 || 0 -extern char *strcasestr (const char *haystack, const char *needle) - __attribute__ ((__pure__)); -# endif -#elif defined GNULIB_POSIXCHECK -/* strcasestr() does not work with multibyte strings: - It is a glibc extension, and glibc implements it only for unibyte - locales. */ -# undef strcasestr -# define strcasestr(a,b) \ - (GL_LINK_WARNING ("strcasestr does work correctly on character strings " \ - "in multibyte locales - " \ - "use mbscasestr if you care about " \ - "internationalization, or use c-strcasestr if you want " \ - "a locale independent function"), \ - strcasestr (a, b)) -#endif - -/* Parse S into tokens separated by characters in DELIM. - If S is NULL, the saved pointer in SAVE_PTR is used as - the next starting point. For example: - char s[] = "-abc-=-def"; - char *sp; - x = strtok_r(s, "-", &sp); // x = "abc", sp = "=-def" - x = strtok_r(NULL, "-=", &sp); // x = "def", sp = NULL - x = strtok_r(NULL, "=", &sp); // x = NULL - // s = "abc\0-def\0" - - This is a variant of strtok() that is multithread-safe. - - For the POSIX documentation for this function, see: - http://www.opengroup.org/susv3xsh/strtok.html - - Caveat: It modifies the original string. - Caveat: These functions cannot be used on constant strings. - Caveat: The identity of the delimiting character is lost. - Caveat: It doesn't work with multibyte strings unless all of the delimiter - characters are ASCII characters < 0x30. - - See also strsep(). */ -#if 0 -# if ! 1 -extern char *strtok_r (char *restrict s, char const *restrict delim, - char **restrict save_ptr); -# endif -# if defined GNULIB_POSIXCHECK -# undef strtok_r -# define strtok_r(s,d,p) \ - (GL_LINK_WARNING ("strtok_r cannot work correctly on character strings " \ - "in multibyte locales - " \ - "use mbstok_r if you care about internationalization"), \ - strtok_r (s, d, p)) -# endif -#elif defined GNULIB_POSIXCHECK -# undef strtok_r -# define strtok_r(s,d,p) \ - (GL_LINK_WARNING ("strtok_r is unportable - " \ - "use gnulib module strtok_r for portability"), \ - strtok_r (s, d, p)) -#endif - - -/* The following functions are not specified by POSIX. They are gnulib - extensions. */ - -#if 1 -/* Return the number of multibyte characters in the character string STRING. - This considers multibyte characters, unlike strlen, which counts bytes. */ -extern size_t mbslen (const char *string); -#endif - -#if 0 -/* Return the number of multibyte characters in the character string starting - at STRING and ending at STRING + LEN. */ -extern size_t mbsnlen (const char *string, size_t len); -#endif - -#if 1 -/* Locate the first single-byte character C in the character string STRING, - and return a pointer to it. Return NULL if C is not found in STRING. - Unlike strchr(), this function works correctly in multibyte locales with - encodings such as GB18030. */ -# define mbschr rpl_mbschr /* avoid collision with HP-UX function */ -extern char * mbschr (const char *string, int c); -#endif - -#if 0 -/* Locate the last single-byte character C in the character string STRING, - and return a pointer to it. Return NULL if C is not found in STRING. - Unlike strrchr(), this function works correctly in multibyte locales with - encodings such as GB18030. */ -# define mbsrchr rpl_mbsrchr /* avoid collision with HP-UX function */ -extern char * mbsrchr (const char *string, int c); -#endif - -#if 1 -/* Find the first occurrence of the character string NEEDLE in the character - string HAYSTACK. Return NULL if NEEDLE is not found in HAYSTACK. - Unlike strstr(), this function works correctly in multibyte locales with - encodings different from UTF-8. */ -extern char * mbsstr (const char *haystack, const char *needle); -#endif - -#if 1 -/* Compare the character strings S1 and S2, ignoring case, returning less than, - equal to or greater than zero if S1 is lexicographically less than, equal to - or greater than S2. - Note: This function may, in multibyte locales, return 0 for strings of - different lengths! - Unlike strcasecmp(), this function works correctly in multibyte locales. */ -extern int mbscasecmp (const char *s1, const char *s2); -#endif - -#if 1 -/* Compare the initial segment of the character string S1 consisting of at most - N characters with the initial segment of the character string S2 consisting - of at most N characters, ignoring case, returning less than, equal to or - greater than zero if the initial segment of S1 is lexicographically less - than, equal to or greater than the initial segment of S2. - Note: This function may, in multibyte locales, return 0 for initial segments - of different lengths! - Unlike strncasecmp(), this function works correctly in multibyte locales. - But beware that N is not a byte count but a character count! */ -extern int mbsncasecmp (const char *s1, const char *s2, size_t n); -#endif - -#if 0 -/* Compare the initial segment of the character string STRING consisting of - at most mbslen (PREFIX) characters with the character string PREFIX, - ignoring case, returning less than, equal to or greater than zero if this - initial segment is lexicographically less than, equal to or greater than - PREFIX. - Note: This function may, in multibyte locales, return 0 if STRING is of - smaller length than PREFIX! - Unlike strncasecmp(), this function works correctly in multibyte - locales. */ -extern char * mbspcasecmp (const char *string, const char *prefix); -#endif - -#if 0 -/* Find the first occurrence of the character string NEEDLE in the character - string HAYSTACK, using case-insensitive comparison. - Note: This function may, in multibyte locales, return success even if - strlen (haystack) < strlen (needle) ! - Unlike strcasestr(), this function works correctly in multibyte locales. */ -extern char * mbscasestr (const char *haystack, const char *needle); -#endif - -#if 0 -/* Find the first occurrence in the character string STRING of any character - in the character string ACCEPT. Return the number of bytes from the - beginning of the string to this occurrence, or to the end of the string - if none exists. - Unlike strcspn(), this function works correctly in multibyte locales. */ -extern size_t mbscspn (const char *string, const char *accept); -#endif - -#if 0 -/* Find the first occurrence in the character string STRING of any character - in the character string ACCEPT. Return the pointer to it, or NULL if none - exists. - Unlike strpbrk(), this function works correctly in multibyte locales. */ -# define mbspbrk rpl_mbspbrk /* avoid collision with HP-UX function */ -extern char * mbspbrk (const char *string, const char *accept); -#endif - -#if 0 -/* Find the first occurrence in the character string STRING of any character - not in the character string REJECT. Return the number of bytes from the - beginning of the string to this occurrence, or to the end of the string - if none exists. - Unlike strspn(), this function works correctly in multibyte locales. */ -extern size_t mbsspn (const char *string, const char *reject); -#endif - -#if 0 -/* Search the next delimiter (multibyte character listed in the character - string DELIM) starting at the character string *STRINGP. - If one is found, overwrite it with a NUL, and advance *STRINGP to point - to the next multibyte character after it. Otherwise, set *STRINGP to NULL. - If *STRINGP was already NULL, nothing happens. - Return the old value of *STRINGP. - - This is a variant of mbstok_r() that supports empty fields. - - Caveat: It modifies the original string. - Caveat: These functions cannot be used on constant strings. - Caveat: The identity of the delimiting character is lost. - - See also mbstok_r(). */ -extern char * mbssep (char **stringp, const char *delim); -#endif - -#if 0 -/* Parse the character string STRING into tokens separated by characters in - the character string DELIM. - If STRING is NULL, the saved pointer in SAVE_PTR is used as - the next starting point. For example: - char s[] = "-abc-=-def"; - char *sp; - x = mbstok_r(s, "-", &sp); // x = "abc", sp = "=-def" - x = mbstok_r(NULL, "-=", &sp); // x = "def", sp = NULL - x = mbstok_r(NULL, "=", &sp); // x = NULL - // s = "abc\0-def\0" - - Caveat: It modifies the original string. - Caveat: These functions cannot be used on constant strings. - Caveat: The identity of the delimiting character is lost. - - See also mbssep(). */ -extern char * mbstok_r (char *string, const char *delim, char **save_ptr); -#endif - -/* Map any int, typically from errno, into an error message. */ -#if 1 -# if 0 -# undef strerror -# define strerror rpl_strerror -extern char *strerror (int); -# endif -#elif defined GNULIB_POSIXCHECK -# undef strerror -# define strerror(e) \ - (GL_LINK_WARNING ("strerror is unportable - " \ - "use gnulib module strerror to guarantee non-NULL result"), \ - strerror (e)) -#endif - -#if 0 -# if 0 -# define strsignal rpl_strsignal -# endif -# if ! 1 || 0 -extern char *strsignal (int __sig); -# endif -#elif defined GNULIB_POSIXCHECK -# undef strsignal -# define strsignal(a) \ - (GL_LINK_WARNING ("strsignal is unportable - " \ - "use gnulib module strsignal for portability"), \ - strsignal (a)) -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* _GL_STRING_H */ -#endif /* _GL_STRING_H */ diff --git a/gnu/usr.bin/texinfo/libgnu/sys/stat.h b/gnu/usr.bin/texinfo/libgnu/sys/stat.h deleted file mode 100644 index 4fd6177327..0000000000 --- a/gnu/usr.bin/texinfo/libgnu/sys/stat.h +++ /dev/null @@ -1,292 +0,0 @@ -/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ -/* Provide a more complete sys/stat header file. - Copyright (C) 2006-2008 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - -/* Written by Eric Blake, Paul Eggert, and Jim Meyering. */ - -/* This file is supposed to be used on platforms where is - incomplete. It is intended to provide definitions and prototypes - needed by an application. Start with what the system provides. */ - -#ifndef _GL_SYS_STAT_H - -/* The include_next requires a split double-inclusion guard. */ -#include_next - -#ifndef _GL_SYS_STAT_H -#define _GL_SYS_STAT_H - -/* Before doing "#define mkdir rpl_mkdir" below, we need to include all - headers that may declare mkdir(). */ -#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -# include -#endif - -#ifndef S_IFMT -# define S_IFMT 0170000 -#endif - -#if STAT_MACROS_BROKEN -# undef S_ISBLK -# undef S_ISCHR -# undef S_ISDIR -# undef S_ISFIFO -# undef S_ISLNK -# undef S_ISNAM -# undef S_ISMPB -# undef S_ISMPC -# undef S_ISNWK -# undef S_ISREG -# undef S_ISSOCK -#endif - -#ifndef S_ISBLK -# ifdef S_IFBLK -# define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) -# else -# define S_ISBLK(m) 0 -# endif -#endif - -#ifndef S_ISCHR -# ifdef S_IFCHR -# define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) -# else -# define S_ISCHR(m) 0 -# endif -#endif - -#ifndef S_ISDIR -# ifdef S_IFDIR -# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) -# else -# define S_ISDIR(m) 0 -# endif -#endif - -#ifndef S_ISDOOR /* Solaris 2.5 and up */ -# define S_ISDOOR(m) 0 -#endif - -#ifndef S_ISFIFO -# ifdef S_IFIFO -# define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) -# else -# define S_ISFIFO(m) 0 -# endif -#endif - -#ifndef S_ISLNK -# ifdef S_IFLNK -# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) -# else -# define S_ISLNK(m) 0 -# endif -#endif - -#ifndef S_ISMPB /* V7 */ -# ifdef S_IFMPB -# define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB) -# define S_ISMPC(m) (((m) & S_IFMT) == S_IFMPC) -# else -# define S_ISMPB(m) 0 -# define S_ISMPC(m) 0 -# endif -#endif - -#ifndef S_ISNAM /* Xenix */ -# ifdef S_IFNAM -# define S_ISNAM(m) (((m) & S_IFMT) == S_IFNAM) -# else -# define S_ISNAM(m) 0 -# endif -#endif - -#ifndef S_ISNWK /* HP/UX */ -# ifdef S_IFNWK -# define S_ISNWK(m) (((m) & S_IFMT) == S_IFNWK) -# else -# define S_ISNWK(m) 0 -# endif -#endif - -#ifndef S_ISPORT /* Solaris 10 and up */ -# define S_ISPORT(m) 0 -#endif - -#ifndef S_ISREG -# ifdef S_IFREG -# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) -# else -# define S_ISREG(m) 0 -# endif -#endif - -#ifndef S_ISSOCK -# ifdef S_IFSOCK -# define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) -# else -# define S_ISSOCK(m) 0 -# endif -#endif - - -#ifndef S_TYPEISMQ -# define S_TYPEISMQ(p) 0 -#endif - -#ifndef S_TYPEISTMO -# define S_TYPEISTMO(p) 0 -#endif - - -#ifndef S_TYPEISSEM -# ifdef S_INSEM -# define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM) -# else -# define S_TYPEISSEM(p) 0 -# endif -#endif - -#ifndef S_TYPEISSHM -# ifdef S_INSHD -# define S_TYPEISSHM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSHD) -# else -# define S_TYPEISSHM(p) 0 -# endif -#endif - -/* high performance ("contiguous data") */ -#ifndef S_ISCTG -# define S_ISCTG(p) 0 -#endif - -/* Cray DMF (data migration facility): off line, with data */ -#ifndef S_ISOFD -# define S_ISOFD(p) 0 -#endif - -/* Cray DMF (data migration facility): off line, with no data */ -#ifndef S_ISOFL -# define S_ISOFL(p) 0 -#endif - -/* 4.4BSD whiteout */ -#ifndef S_ISWHT -# define S_ISWHT(m) 0 -#endif - -/* If any of the following are undefined, - define them to their de facto standard values. */ -#if !S_ISUID -# define S_ISUID 04000 -#endif -#if !S_ISGID -# define S_ISGID 02000 -#endif - -/* S_ISVTX is a common extension to POSIX. */ -#ifndef S_ISVTX -# define S_ISVTX 01000 -#endif - -#if !S_IRUSR && S_IREAD -# define S_IRUSR S_IREAD -#endif -#if !S_IRUSR -# define S_IRUSR 00400 -#endif -#if !S_IRGRP -# define S_IRGRP (S_IRUSR >> 3) -#endif -#if !S_IROTH -# define S_IROTH (S_IRUSR >> 6) -#endif - -#if !S_IWUSR && S_IWRITE -# define S_IWUSR S_IWRITE -#endif -#if !S_IWUSR -# define S_IWUSR 00200 -#endif -#if !S_IWGRP -# define S_IWGRP (S_IWUSR >> 3) -#endif -#if !S_IWOTH -# define S_IWOTH (S_IWUSR >> 6) -#endif - -#if !S_IXUSR && S_IEXEC -# define S_IXUSR S_IEXEC -#endif -#if !S_IXUSR -# define S_IXUSR 00100 -#endif -#if !S_IXGRP -# define S_IXGRP (S_IXUSR >> 3) -#endif -#if !S_IXOTH -# define S_IXOTH (S_IXUSR >> 6) -#endif - -#if !S_IRWXU -# define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR) -#endif -#if !S_IRWXG -# define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP) -#endif -#if !S_IRWXO -# define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH) -#endif - -/* S_IXUGO is a common extension to POSIX. */ -#if !S_IXUGO -# define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH) -#endif - -#ifndef S_IRWXUGO -# define S_IRWXUGO (S_IRWXU | S_IRWXG | S_IRWXO) -#endif - -/* mingw does not support symlinks, therefore it does not have lstat. But - without links, stat does just fine. */ -#if ! 1 -# define lstat stat -#endif - -#if 0 -# undef mkdir -# define mkdir rpl_mkdir -extern int mkdir (char const *name, mode_t mode); -#else -/* mingw's _mkdir() function has 1 argument, but we pass 2 arguments. - Additionally, it declares _mkdir (and depending on compile flags, an - alias mkdir), only in the nonstandard , which is included above. */ -# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ - -static inline int -rpl_mkdir (char const *name, mode_t mode) -{ - return _mkdir (name); -} - -# define mkdir rpl_mkdir -# endif -#endif - -#endif /* _GL_SYS_STAT_H */ -#endif /* _GL_SYS_STAT_H */ diff --git a/gnu/usr.bin/texinfo/libgnu/unitypes.h b/gnu/usr.bin/texinfo/libgnu/unitypes.h deleted file mode 100644 index 12e2628c65..0000000000 --- a/gnu/usr.bin/texinfo/libgnu/unitypes.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Elementary types for the GNU UniString library. - Copyright (C) 2002, 2005-2006 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#ifndef _UNITYPES_H -#define _UNITYPES_H - -/* Get uint8_t, uint16_t, uint32_t. */ -#include - -/* Type representing a Unicode character. */ -typedef uint32_t ucs4_t; - -#endif /* _UNITYPES_H */ diff --git a/gnu/usr.bin/texinfo/libgnu/uniwidth.h b/gnu/usr.bin/texinfo/libgnu/uniwidth.h deleted file mode 100644 index 5b4867f0b3..0000000000 --- a/gnu/usr.bin/texinfo/libgnu/uniwidth.h +++ /dev/null @@ -1,64 +0,0 @@ -/* Display width functions. - Copyright (C) 2001-2002, 2005, 2007 Free Software Foundation, Inc. - - This program is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . */ - -#ifndef _UNIWIDTH_H -#define _UNIWIDTH_H - -#include "unitypes.h" - -/* Get size_t. */ -#include - -/* Get locale_charset() declaration. */ -#include "localcharset.h" - -#ifdef __cplusplus -extern "C" { -#endif - - -/* Display width. */ - -/* These functions are locale dependent. The encoding argument identifies - the encoding (e.g. "ISO-8859-2" for Polish). */ - -/* Determine number of column positions required for UC. */ -extern int - uc_width (ucs4_t uc, const char *encoding); - -/* Determine number of column positions required for first N units - (or fewer if S ends before this) in S. */ -extern int - u8_width (const uint8_t *s, size_t n, const char *encoding); -extern int - u16_width (const uint16_t *s, size_t n, const char *encoding); -extern int - u32_width (const uint32_t *s, size_t n, const char *encoding); - -/* Determine number of column positions required for S. */ -extern int - u8_strwidth (const uint8_t *s, const char *encoding); -extern int - u16_strwidth (const uint16_t *s, const char *encoding); -extern int - u32_strwidth (const uint32_t *s, const char *encoding); - - -#ifdef __cplusplus -} -#endif - -#endif /* _UNIWIDTH_H */ diff --git a/gnu/usr.bin/texinfo/libtxi/Makefile b/gnu/usr.bin/texinfo/libtxi/Makefile deleted file mode 100644 index 78fc59c440..0000000000 --- a/gnu/usr.bin/texinfo/libtxi/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -.include "../Makefile.inc" - -LIB= txi -INTERNALLIB= true - -CONTRIBDIR= ${BASEDIR}/lib -.PATH: ${CONTRIBDIR} - -CFLAGS+= -I${CONTRIBDIR} -I${.CURDIR} -I${.OBJDIR} -CFLAGS+= -I${BASEDIR} -I${.CURDIR}/../libgnu -CFLAGS+= -I${BASEDIR}/gnulib/lib -CFLAGS+= -DHAVE_CONFIG_H - -SRCS= substring.c \ - xexit.c - -.include diff --git a/gnu/usr.bin/texinfo/makeinfo/Makefile b/gnu/usr.bin/texinfo/makeinfo/Makefile deleted file mode 100644 index a748f359d4..0000000000 --- a/gnu/usr.bin/texinfo/makeinfo/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -.include "../Makefile.inc0" -.PATH: ${SRCDIR}/makeinfo ${SRCDIR}/doc - -PROG= makeinfo - -CFLAGS+= -I${SRCDIR} -I${SRCDIR}/makeinfo -I${SRCDIR}/gnulib/lib -CFLAGS+= -I${.CURDIR}/../libgnu -CFLAGS+= -DHAVE_CONFIG_H - -SRCS= cmds.c \ - defun.c \ - files.c \ - float.c \ - footnote.c \ - html.c \ - index.c \ - insertion.c \ - lang.c \ - macro.c \ - makeinfo.c \ - multi.c \ - node.c \ - sectioning.c \ - toc.c \ - xml.c \ - xref.c - -.include diff --git a/gnu/usr.bin/texinfo/texindex/Makefile b/gnu/usr.bin/texinfo/texindex/Makefile deleted file mode 100644 index 662275ca87..0000000000 --- a/gnu/usr.bin/texinfo/texindex/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -.include "../Makefile.inc0" -.PATH: ${SRCDIR}/util ${SRCDIR}/doc - -PROG= texindex -MAN= texindex.1 texi2dvi.1 texi2pdf.1 pdftexi2dvi.1 -SCRIPTS= texi2dvi texi2pdf pdftexi2dvi - -CFLAGS+= -I${SRCDIR} -I${SRCDIR}/gnulib/lib -CFLAGS+= -I${.CURDIR}/../libgnu - -.include - -- 2.41.0