aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorFred Fish <fnf@be.com>2000-01-13 01:37:57 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-01-12 20:37:57 -0500
commit24618f4902530946552ac4707048b4abb5b43316 (patch)
treec2c605ada827e1fb71f58d88da6a1a4d0d659b48 /libio
parent0753683c0ad9877dbd5c84a00d6d548c6d695d03 (diff)
downloadgcc-24618f4902530946552ac4707048b4abb5b43316.zip
gcc-24618f4902530946552ac4707048b4abb5b43316.tar.gz
gcc-24618f4902530946552ac4707048b4abb5b43316.tar.bz2
configure.in (*-*-beos*): Recognize.
* configure.in (*-*-beos*): Recognize. * config/beos.mt: New file. From-SVN: r31374
Diffstat (limited to 'libio')
-rw-r--r--libio/ChangeLog5
-rw-r--r--libio/config/beos.mt25
-rw-r--r--libio/configure.in1
3 files changed, 31 insertions, 0 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog
index f827e3d..bf60fee 100644
--- a/libio/ChangeLog
+++ b/libio/ChangeLog
@@ -1,3 +1,8 @@
+2000-01-12 Fred Fish <fnf@be.com>
+
+ * configure.in (*-*-beos*): Recognize.
+ * config/beos.mt: New file.
+
1999-12-22 Jakub Jelinek <jakub@redhat.com>
* libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of
diff --git a/libio/config/beos.mt b/libio/config/beos.mt
new file mode 100644
index 0000000..9e3c519
--- /dev/null
+++ b/libio/config/beos.mt
@@ -0,0 +1,25 @@
+# Use the libio which comes with the local libc.
+
+# Comment this out to avoid including the stdio functions in libiostream.a:
+# LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(STDIO_WRAP_OBJECTS) $(OSPRIM_OBJECTS)
+# LIBIOSTREAM_DEP = $(LIBIOSTREAM_OBJECTS) stdio.list
+# LIBIOSTREAM_USE = $(LIBIOSTREAM_OBJECTS) `cat stdio.list`
+
+# Comment the above and uncomment the below to use the code in the Linux libc:
+# We have _G_config.h in /usr/include.
+_G_CONFIG_H=
+
+# We must not see the libio.h file from this library.
+LIBIO_INCLUDE=
+
+# We have those in libc.a.
+IO_OBJECTS= iogetline.o
+STDIO_WRAP_OBJECTS=
+OSPRIM_OBJECTS=
+STDIO_OBJECTS=
+
+# We have the rest in /usr/include.
+USER_INCLUDES=PlotFile.h SFile.h builtinbuf.h editbuf.h fstream.h \
+ indstream.h iomanip.h iostream.h istream.h ostream.h \
+ parsestream.h pfstream.h procbuf.h stdiostream.h stream.h \
+ streambuf.h strfile.h strstream.h
diff --git a/libio/configure.in b/libio/configure.in
index 869d9c8..ea59a13 100644
--- a/libio/configure.in
+++ b/libio/configure.in
@@ -63,6 +63,7 @@ case "${target}" in
*-netware*) frags=netware.mt ;;
*-dgux*) frags=dgux.mt ;;
*vxworks*) frags="vxworks.mt" ;;
+ *-beos*) frags="beos.mt mtsafe.mt" ;;
*) frags=${target_cpu}.mt ;;
esac