You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ab...@locus.apache.org on 2000/02/22 23:24:12 UTC
cvs commit: xml-xerces/c/src configure configure.in
abagchi 00/02/22 14:24:12
Modified: c/src configure configure.in
Log:
Fixed AS/400 CR-LF problems in Makefiles
Revision Changes Path
1.13 +7 -8 xml-xerces/c/src/configure
Index: configure
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/configure,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- configure 2000/02/19 00:16:53 1.12
+++ configure 2000/02/22 22:24:12 1.13
@@ -1317,11 +1317,6 @@
esac
-case "${host}" in
- *-*-os400*) ;;
- *-*-OS400*) ;;
-*) ;;
-esac
cxx=${CXX}
@@ -1429,11 +1424,15 @@
s%\]%\\&%g
s%\$%$$%g
EOF
-if test "$platform" != "OS390"; then
-DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
-else
+if test "$platform" = "OS390"; then
# OS390 - EBCDIC NL is '\025'
DEFS=`sed -f conftest.defs confdefs.h | tr '\025' ' '`
+else
+if test "$platform" = "OS400"; then
+DEFS=`sed -f conftest.defs confdefs.h | tr '\n' ' '`
+else
+DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
+fi
fi
rm -f conftest.defs
1.11 +0 -6 xml-xerces/c/src/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/configure.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- configure.in 2000/02/19 00:15:39 1.10
+++ configure.in 2000/02/22 22:24:12 1.11
@@ -49,12 +49,6 @@
esac
AC_SUBST(platform)
-dnl AS/400 has problems with DEFS due to newline so we will gen conf.h even though it is not used
-case "${host}" in
- *-*-os400*) AC_CONFIG_HEADER(conf.h) ;;
-*) ;;
-esac
-
cxx=${CXX}
AC_SUBST(cxx)