From 8dc9e4a8a3ab1ecd26a97b41d38dee21cb0a26a9 Mon Sep 17 00:00:00 2001
From: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon, 13 Sep 1999 12:30:08 +0000
Subject: [PATCH]         * config/mpeix.mt: New for MPEiX port.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29374 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libio/ChangeLog       |  4 ++++
 libio/config/mpeix.mt | 20 ++++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 libio/config/mpeix.mt

diff --git a/libio/ChangeLog b/libio/ChangeLog
index b91b50308030..f4611ad72504 100644
--- a/libio/ChangeLog
+++ b/libio/ChangeLog
@@ -1,3 +1,7 @@
+Mon Sep 13 06:30:14 1999  Mark Klein <mklein@dis.com> 
+
+	* config/mpeix.mt: New for MPEiX port.
+
 Sat Sep  4 18:00:00 PDT 1999 Mark Klein (mklein@dis.com)
 
 	* configure.in: Add mpeix.mt make fragment.
diff --git a/libio/config/mpeix.mt b/libio/config/mpeix.mt
new file mode 100644
index 000000000000..93199398f35b
--- /dev/null
+++ b/libio/config/mpeix.mt
@@ -0,0 +1,20 @@
+# Flags to pass to gen-params when building _G_config.h. 
+# For example: G_CONFIG_ARGS = size_t="unsigned long" 
+G_CONFIG_ARGS = DOLLAR_IN_LABEL=1 
+
+# 
+# gen-params tries to determine whether or not printf_fp exists by
+# simply compiling a test program. Since MPE is by definition a
+# shared runtime environment, this won't work unless the resulting
+# program is run. Simply run _G_config.h through a sed script to
+# update the values accordingly. 
+# 
+_G_CONFIG_H = stmp-Gconfig
+
+stmp-Gconfig: _G_config.h 
+      sed -e "s/_G_HAVE_PRINTF_FP 1/_G_HAVE_PRINTF_FP 0/" \ 
+          -e "s/_G_HAVE_LONG_DOUBLE_IO 1/_G_HAVE_LONG_DOUBLE_IO 0/" \
+          <_G_config.h > tmp-config.h 
+      mv -f tmp-config.h _G_config.h 
+      touch stmp-Gconfig 
+      $(MAKE) $(FLAGS_TO_PASS) _G_CONFIG_H=_G_config.h all 
-- 
GitLab