aboutsummaryrefslogtreecommitdiffstats
path: root/m4/arch.m4
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 14:52:31 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 14:52:31 +0300
commit3ba50a15ebd976f7a88393e2e45dc14b6478b9a9 (patch)
tree6a6bbe6bed1141051fefe94b2d39eacd4854235a /m4/arch.m4
parent6a2caf2157d87b4b582b2494bdd7d6a688dd0b1f (diff)
downloadegawk-3ba50a15ebd976f7a88393e2e45dc14b6478b9a9.tar.gz
egawk-3ba50a15ebd976f7a88393e2e45dc14b6478b9a9.tar.bz2
egawk-3ba50a15ebd976f7a88393e2e45dc14b6478b9a9.zip
Move to gawk-3.1.7.
Diffstat (limited to 'm4/arch.m4')
-rw-r--r--m4/arch.m415
1 files changed, 15 insertions, 0 deletions
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