summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-06-08 12:43:45 +0000
committerwlemb <wlemb>2001-06-08 12:43:45 +0000
commitfe8b732b4bd66afec90de170f83d0fd40403c981 (patch)
treea2998cc0af2c21a178cbc4488af4fd8331d3fb77 /aclocal.m4
parent1b34c45ee635719d735ad55bfcd5b8b3d8dcc9dd (diff)
downloadgroff-fe8b732b4bd66afec90de170f83d0fd40403c981.tar.gz
Updated to autoconf 2.50.
* configure.in: Renamed to... * configure.ac: This. * aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed. (GROFF_OS390): Updated. * configure: Regenerated.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m432
1 files changed, 1 insertions, 31 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 53e09ae7..a95758f4 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -437,13 +437,11 @@ dnl Check for OS/390 Unix. We test for EBCDIC also -- the Linux port (with
dnl gcc) to OS/390 uses ASCII internally.
dnl
AC_DEFUN(GROFF_OS390,
-[groff_cv_os390="no"
-if test "$groff_cv_ebcdic" = "yes"; then
+[if test "$groff_cv_ebcdic" = "yes"; then
AC_MSG_CHECKING([for OS/390 Unix])
case `uname` in
OS/390)
CFLAGS="$CFLAGS -D_ALL_SOURCE"
- groff_cv_os390="yes"
AC_MSG_RESULT(yes) ;;
*)
AC_MSG_RESULT(no) ;;
@@ -451,34 +449,6 @@ if test "$groff_cv_ebcdic" = "yes"; then
fi])dnl
dnl
dnl
-dnl Finally, we must modify a base function of autoconf to replace the
-dnl ASCII char `012' with its generic equivalent `\n' if we run under
-dnl OS/390 Unix -- unfortunately, not all `tr' variants understand `\n',
-dnl so this hack is necessary.
-dnl
-define([AC_OUTPUT_MAKE_DEFS],
-[# Transform confdefs.h into DEFS.
-dnl Using a here document instead of a string reduces the quoting nightmare.
-# Protect against shell expansion while executing Makefile rules.
-# Protect against Makefile macro expansion.
-cat > conftest.defs <<\EOF
-changequote(<<, >>)dnl
-s%<<#define>> \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
-s%[ `~<<#>>$^&*(){}\\|;'"<>?]%\\&%g
-s%\[%\\&%g
-s%\]%\\&%g
-s%\$%$$%g
-changequote([, ])dnl
-EOF
-if test "$groff_cv_os390" = "yes"; then
- DEFS=`sed -f conftest.defs confdefs.h | tr '\n' ' '`
-else
- DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
-fi
-rm -f conftest.defs
-])dnl
-dnl
-dnl
dnl Check whether we need a declaration for a function.
dnl
dnl Stolen from GNU bfd.