From 47dc1ac19f74b24957f20b35c5d93b8822dcf183 Mon Sep 17 00:00:00 2001
From: "Unknown (abagchi)" <dev-null@apache.org>
Date: Fri, 21 Jan 2000 22:10:21 +0000
Subject: [PATCH] OS390 Change: ebcdic newline character is 025

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@171619 13f79535-47bb-0310-9956-ffa450edef68
---
 src/configure | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/configure b/src/configure
index dca6c2789..fa107ddd4 100755
--- a/src/configure
+++ b/src/configure
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 # Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.13 
+# Generated automatically using autoconf version 2.13
 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 #
 # This configure script is free software; the Free Software Foundation
@@ -1421,7 +1421,12 @@ s%\[%\\&%g
 s%\]%\\&%g
 s%\$%$$%g
 EOF
+if test "$platform" != "OS390"; then
 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
+else
+# OS390 - EBCDIC NL is '\025'
+DEFS=`sed -f conftest.defs confdefs.h | tr '\025' ' '`
+fi
 rm -f conftest.defs
 
 
@@ -1663,5 +1668,5 @@ test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
 echo
 echo Having build problems? Read instructions at http://xml.apache.org/xerces-c/build.html
 echo Still cannot resolve it? Find out if someone else had the same problem before.
-echo Go to http://xml-archive.webweaving.org/xml-archive-xerces/ 
+echo Go to http://xml-archive.webweaving.org/xml-archive-xerces/
 
-- 
GitLab