From 3ba50a15ebd976f7a88393e2e45dc14b6478b9a9 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 16 Jul 2010 14:52:31 +0300 Subject: Move to gawk-3.1.7. --- m4/arch.m4 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'm4/arch.m4') diff --git a/m4/arch.m4 b/m4/arch.m4 index 4698f082..97b43e64 100644 --- a/m4/arch.m4 +++ b/m4/arch.m4 @@ -57,3 +57,18 @@ fi ])dnl AC_MSG_RESULT([${gawk_cv_linux_alpha_hack}]) ])dnl + +dnl Check for z/OS Unix Systems Services +AC_DEFUN([AC_ZOS_USS], [ +AC_MSG_CHECKING([for z/OS USS compilation]) +if test "OS/390" = "`uname`" +then + CFLAGS="$CFLAGS -D_ALL_SOURCE -DZOS_USS -DUSE_EBCDIC" + # Must rebuild awkgram.c from Bison for EBCDIC + rm -f awkgram.c + ac_cv_zos_uss=yes +else + ac_cv_zos_uss=no +fi +AC_MSG_RESULT([${ac_cv_zos_uss}]) +])dnl -- cgit v1.2.3