summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorwlemb <wlemb>2000-04-29 06:02:24 +0000
committerwlemb <wlemb>2000-04-29 06:02:24 +0000
commit389f68fd8e3f233b5f4162c07cde73bad106b3d9 (patch)
tree7c6818a13facb5b779adb04e68a4e93feaa3c170 /aclocal.m4
parent7ec0425ab96bad5fcfb34e521bb58318a4bcd7bd (diff)
downloadgroff-389f68fd8e3f233b5f4162c07cde73bad106b3d9.tar.gz
Adding EBCDIC code page 1047.
* fonts/devcp1047/R.proto, fonts/devcp1047/Makefile.sub, fonts/devcp1047/DESC.proto: New files. * aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be either ascii/latin1 or cp1047. * Makefile.in: Use it. * configure: Updated. Replacing and/or adding `md' (mathdot) glyph with `pc' (periodcentered) in all text fonts. * fonts/*/*: Change it. * aclocal.m4 (GROFF_OS390): Fixing compiler flags. * configure.in: Add check for strings.h. * src/include/driver.h: Use HAVE_STRINGS_H. * src/devices/grolbp/lpb.cc: Remove string.h. * src/include/groff-getopt.h: New file. It will be used instead of getopt.h (to be included in lib.h) to avoid endless problems with picky C++ compilers. * src/include/lib.h: Use groff-getopt.h. * src/include/Makefile.sub: Updated. * configure: Updated. * Makefile.in: Updated. * NEWS: Mention EBCDIC support. * TODO: Some additions. * src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation of mso request. * src/roff/troff/troff.man: Minor fixes.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m412
1 files changed, 9 insertions, 3 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 80e1bfc3..030fbcd7 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -451,8 +451,14 @@ AC_TRY_COMPILE(,
#if '0' != 240
make an error "Character set is not EBCDIC"
#endif],
-groff_cv_ebcdic="yes";AC_MSG_RESULT(yes);AC_DEFINE(IS_EBCDIC_HOST),
-groff_cv_ebcdic="no";AC_MSG_RESULT(no))])dnl
+groff_cv_ebcdic="yes"
+ TTYDEVDIRS="font/devcp1047"
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(IS_EBCDIC_HOST),
+groff_cv_ebcdic="no"
+ TTYDEVDIRS="font/devascii font/devlatin1"
+ AC_MSG_RESULT(no))
+AC_SUBST(TTYDEVDIRS)])dnl
dnl
dnl
dnl Check for OS/390 Unix. We test for EBCDIC also -- the Linux port (with
@@ -464,7 +470,7 @@ if test "$groff_cv_ebcdic" = "yes"; then
AC_MSG_CHECKING([for OS/390 Unix])
case `uname` in
OS/390)
- CFLAGS="$CFLAGS -D_ALL_SOURCE -D_X_OPEN_SOURCE_EXTENDED=1"
+ CFLAGS="$CFLAGS -D_ALL_SOURCE"
groff_cv_os390="yes"
AC_MSG_RESULT(yes) ;;
*)