mirror of
https://https.git.savannah.gnu.org/git/groff.git
synced 2026-01-26 15:39:07 +00:00
Drop Autoconf checks for EBCDIC and OS/390.
* m4/groff.m4 (GROFF_EBCDIC, GROFF_OS390): Drop macros. * configure.ac: Stop using them. Continues fixing <https://savannah.gnu.org/bugs/?65724>.
This commit is contained in:
parent
e3edfbf7b0
commit
2291582732
@ -1,3 +1,10 @@
|
||||
2024-08-19 G. Branden Robinson <g.branden.robinson@gmail.com>
|
||||
|
||||
* m4/groff.m4 (GROFF_EBCDIC, GROFF_OS390): Drop macros.
|
||||
* configure.ac: Stop using them.
|
||||
|
||||
Continues fixing <https://savannah.gnu.org/bugs/?65724>.
|
||||
|
||||
2024-08-19 G. Branden Robinson <g.branden.robinson@gmail.com>
|
||||
|
||||
[grops, grotty, libgroff, pic]: Drop EBCDIC support.
|
||||
|
||||
@ -312,7 +312,6 @@ man7dir=$(manroot)/man$(man7ext)
|
||||
# config.h might set the following defines:
|
||||
#
|
||||
# WORDS_BIGENDIAN if your target platform is big-endian
|
||||
# IS_EBCDIC_HOST if the host's encoding is EBCDIC
|
||||
#
|
||||
# HAVE_DIRECT_H if you have <direct.h>
|
||||
# HAVE_DIRENT_H if you have <dirent.h>
|
||||
|
||||
@ -51,8 +51,6 @@ AC_PROG_CXX
|
||||
gl_EARLY
|
||||
gl_INIT
|
||||
GROFF_CXX_CHECK
|
||||
GROFF_EBCDIC
|
||||
GROFF_OS390
|
||||
GROFF_CMD_FILES
|
||||
GROFF_X11
|
||||
GROFF_APPDEFDIR_OPTION
|
||||
|
||||
45
m4/groff.m4
45
m4/groff.m4
@ -1429,51 +1429,6 @@ AC_DEFUN([GROFF_LIBC],
|
||||
AC_SUBST([LIBC])])
|
||||
|
||||
|
||||
# Check for EBCDIC -- stolen from the OS390 Unix LYNX port
|
||||
|
||||
AC_DEFUN([GROFF_EBCDIC],
|
||||
[AC_MSG_CHECKING([whether character set is EBCDIC])
|
||||
AC_COMPILE_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
|
||||
/* Treat any failure as ASCII for compatibility with existing art.
|
||||
Use compile-time rather than run-time tests for cross-compiler
|
||||
tolerance. */
|
||||
#if '0' != 240
|
||||
make an error "Character set is not EBCDIC"
|
||||
#endif
|
||||
|
||||
]])
|
||||
],
|
||||
[groff_cv_ebcdic="yes"
|
||||
TTYDEVDIRS="font/devcp1047"
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE(IS_EBCDIC_HOST, 1,
|
||||
[Define if the host's encoding is EBCDIC.])],
|
||||
[groff_cv_ebcdic="no"
|
||||
TTYDEVDIRS="font/devascii font/devlatin1"
|
||||
OTHERDEVDIRS="font/devlj4 font/devlbp"
|
||||
AC_MSG_RESULT([no])])
|
||||
AC_SUBST([TTYDEVDIRS])
|
||||
AC_SUBST([OTHERDEVDIRS])])
|
||||
|
||||
|
||||
# Check for OS/390 Unix. We test for EBCDIC also -- the Linux port (with
|
||||
# gcc) to OS/390 uses ASCII internally.
|
||||
|
||||
AC_DEFUN([GROFF_OS390],
|
||||
[if test "$groff_cv_ebcdic" = "yes"; then
|
||||
AC_MSG_CHECKING([for OS/390 Unix])
|
||||
case `uname` in
|
||||
OS/390)
|
||||
CFLAGS="$CFLAGS -D_ALL_SOURCE"
|
||||
AC_MSG_RESULT([yes]) ;;
|
||||
*)
|
||||
AC_MSG_RESULT([no]) ;;
|
||||
esac
|
||||
fi])
|
||||
|
||||
|
||||
# Check whether Windows scripts like 'afmtodit.cmd' should be installed.
|
||||
|
||||
AC_DEFUN([GROFF_CMD_FILES],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user