diff options
author | wlemb <wlemb> | 2000-02-29 10:35:50 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2000-02-29 10:35:50 +0000 |
commit | 1e67c0310dafbfca9ed201c1653960c910a22059 (patch) | |
tree | 872526e0fa9b8501f1567bb1c3800058f76bf77b /aclocal.m4 | |
parent | efb0d77a34c0b94cbb627c877f2e3e5dffdc4ded (diff) | |
download | groff-1e67c0310dafbfca9ed201c1653960c910a22059.tar.gz |
Adding GNU getopt to the groff distribution.
* src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}:
New files.
* src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update.
* aclocal.a4: Remove GROFF_GETOPT function.
* configure.in, Makefile.in, PROBLEMS: Update.
* src/include/lib.h: Replace getopt tests with getopt.h.
* src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h.
* doc/groff.texinfo: Further checking/updating. Adding more index
entries.
* src/devices/grolbp/grolbp.man: Added a comment line at the
beginning of the file (similar to shell scripts) which indicates
that `tbl' should be used as a preprocessor.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -103,23 +103,6 @@ AC_MSG_RESULT(no)) AC_LANG_RESTORE])dnl dnl dnl -AC_DEFUN(GROFF_GETOPT, -[AC_LANG_SAVE -AC_LANG_CPLUSPLUS -AC_MSG_CHECKING([declaration of getopt in stdlib.h]) -AC_TRY_COMPILE([#include <stdlib.h> -extern "C" { void getopt(int); }],, -AC_MSG_RESULT(no), -AC_MSG_RESULT(yes);AC_DEFINE(STDLIB_H_DECLARES_GETOPT)) -AC_MSG_CHECKING([declaration of getopt in unistd.h]) -AC_TRY_COMPILE([#include <sys/types.h> -#include <unistd.h> -extern "C" { void getopt(int); }],, -AC_MSG_RESULT(no), -AC_MSG_RESULT(yes);AC_DEFINE(UNISTD_H_DECLARES_GETOPT)) -AC_LANG_RESTORE])dnl -dnl -dnl AC_DEFUN(GROFF_PUTENV, [AC_LANG_SAVE AC_LANG_CPLUSPLUS |