]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[multiple changes]
authorTom Tromey <tromey@gcc.gnu.org>
Sun, 1 Aug 1999 23:33:03 +0000 (23:33 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sun, 1 Aug 1999 23:33:03 +0000 (23:33 +0000)
Sun Aug  1 16:29:25 1999  Tom Tromey  <tromey@ferrule.cygnus.com>

* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Added -fpermissive.

1999-08-01  Alexandre Oliva  <oliva@dcc.unicamp.br>

* configure.in: Check for bstring.h.
* configure, include/config.h.in: Rebuilt.
* java/net/natPlainDatagramSocketImpl.cc: #include bstring.h.
* java/net/natPlainSocketImpl.cc: Likewise.

From-SVN: r28377

libjava/ChangeLog
libjava/Makefile.am
libjava/Makefile.in
libjava/configure
libjava/configure.in
libjava/include/config.h.in
libjava/java/net/natPlainDatagramSocketImpl.cc
libjava/java/net/natPlainSocketImpl.cc

index d54f278eac1ead93b54d6b47951c85f4143e5220..d9672d00ec33f34ad28d58ea79028d04d293cee3 100644 (file)
@@ -1,3 +1,15 @@
+Sun Aug  1 16:29:25 1999  Tom Tromey  <tromey@ferrule.cygnus.com>
+
+       * Makefile.in: Rebuilt.
+       * Makefile.am (AM_CXXFLAGS): Added -fpermissive.
+
+1999-08-01  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * configure.in: Check for bstring.h.
+       * configure, include/config.h.in: Rebuilt.
+       * java/net/natPlainDatagramSocketImpl.cc: #include bstring.h.
+       * java/net/natPlainSocketImpl.cc: Likewise.
+
 1999-07-31  Tom Tromey  <tromey@cygnus.com>
 
        * NEWS: Likewise.
index e152cf5b9cbba7dae07fc1c482a34e91f0374234..dc638d1aeaf3ba29d7cca4531425e79c1ffe872e 100644 (file)
@@ -67,7 +67,8 @@ JAVAC = $(GCJ) -C
 EH_COMMON_INCLUDE = @EH_COMMON_INCLUDE@
 
 WARNINGS = -W -Wall
-AM_CXXFLAGS = -fno-rtti -fvtable-thunks @LIBGCJ_CXXFLAGS@ $(WARNINGS)
+## Need -fpermissive for SunOS.  FIXME.
+AM_CXXFLAGS = -fno-rtti -fvtable-thunks -fpermissive @LIBGCJ_CXXFLAGS@ $(WARNINGS)
 if USING_GCC
 AM_CFLAGS = @LIBGCJ_CFLAGS@ $(WARNINGS)
 else
index 3cc75ed1c21762ffbf45e1fd168234ee8360388b..fb54b57f7da9705c450a96a93cd23eba8570af26 100644 (file)
@@ -148,7 +148,7 @@ JAVAC = $(GCJ) -C
 EH_COMMON_INCLUDE = @EH_COMMON_INCLUDE@
 
 WARNINGS = -W -Wall
-AM_CXXFLAGS = -fno-rtti -fvtable-thunks @LIBGCJ_CXXFLAGS@ $(WARNINGS)
+AM_CXXFLAGS = -fno-rtti -fvtable-thunks -fpermissive @LIBGCJ_CXXFLAGS@ $(WARNINGS)
 @USING_GCC_TRUE@AM_CFLAGS = \
 @USING_GCC_TRUE@@LIBGCJ_CFLAGS@ $(WARNINGS)
 @USING_GCC_FALSE@AM_CFLAGS = \
index 5ac3fcc5cd05c8a26ddab23a8b2c54543a5b03cf..286b2b2a7a3324578f22943320e0f9d5c62957fb 100755 (executable)
@@ -4524,7 +4524,7 @@ EOF
 
 
 
-for ac_hdr in unistd.h sys/time.h sys/types.h fcntl.h sys/ioctl.h sys/filio.h sys/stat.h sys/select.h sys/socket.h netinet/in.h arpa/inet.h netdb.h pwd.h sys/config.h inttypes.h stdint.h
+for ac_hdr in unistd.h bstring.h sys/time.h sys/types.h fcntl.h sys/ioctl.h sys/filio.h sys/stat.h sys/select.h sys/socket.h netinet/in.h arpa/inet.h netdb.h pwd.h sys/config.h inttypes.h stdint.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
index 611f16b434f239e7b42a46cc3779fae80c845aef..4d91d2c85c6b243a3d6b77a265c328060ac198a7 100644 (file)
@@ -505,7 +505,7 @@ AC_SUBST(AM_RUNTESTFLAGS)
 dnl We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
 dnl On that system, sys/ioctl.h will not include sys/filio.h unless
 dnl BSD_COMP is defined; just including sys/filio.h is simpler.
-AC_CHECK_HEADERS(unistd.h sys/time.h sys/types.h fcntl.h sys/ioctl.h sys/filio.h sys/stat.h sys/select.h sys/socket.h netinet/in.h arpa/inet.h netdb.h pwd.h sys/config.h inttypes.h stdint.h)
+AC_CHECK_HEADERS(unistd.h bstring.h sys/time.h sys/types.h fcntl.h sys/ioctl.h sys/filio.h sys/stat.h sys/select.h sys/socket.h netinet/in.h arpa/inet.h netdb.h pwd.h sys/config.h inttypes.h stdint.h)
 dnl We avoid AC_HEADER_DIRENT since we really only care about dirent.h
 dnl for now.  If you change this, you also must update natFile.cc.
 AC_CHECK_HEADERS(dirent.h)
index b87f54e8edece6d3fb529e2bc30f5dbbd2cd873c..cbef5f162b583f9bcadfced912c0f468ed96cf09 100644 (file)
 /* Define if you have the <arpa/inet.h> header file.  */
 #undef HAVE_ARPA_INET_H
 
+/* Define if you have the <bstring.h> header file.  */
+#undef HAVE_BSTRING_H
+
 /* Define if you have the <dirent.h> header file.  */
 #undef HAVE_DIRENT_H
 
index 68259509f10522a1e33df0c4b61d7a1945459916..18d4c4a335c8f917f3c005d7071f1e22bd987e81 100644 (file)
@@ -17,6 +17,11 @@ details.  */
 #include <stdio.h>
 #include <string.h>
 
+#if HAVE_BSTRING_H
+// Needed for bzero, implicitly used by FD_ZERO on IRIX 5.2 
+#include <bstring.h>
+#endif
+
 #include <cni.h>
 #include <java/io/IOException.h>
 #include <java/io/FileDescriptor.h>
index a41a68157c8dd51def50b2623f6092a592fb62bb..2e7f9d5c558130bac848edb9090cdb67ba0a60c0 100644 (file)
@@ -18,6 +18,11 @@ details.  */
 #include <stdio.h>
 #include <string.h>
 
+#if HAVE_BSTRING_H
+// Needed for bzero, implicitly used by FD_ZERO on IRIX 5.2 
+#include <bstring.h>
+#endif
+
 #include <cni.h>
 #include <javaprims.h>
 #include <java/io/IOException.h>