]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.in: Check for bstring.h.
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 1 Aug 1999 23:39:53 +0000 (23:39 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sun, 1 Aug 1999 23:39:53 +0000 (23:39 +0000)
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: r28378

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

index 3bfe6885c855e7cbb719af70a45679b7323bf90b..2a2a9e2e9a5bc548e07aac032604be691c42ec42 100644 (file)
@@ -1,3 +1,10 @@
+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 e0af1c841b58361dc048f5511eeec1846f3165c8..e474168619db6f45144e36121a7d6a5b5814cb58 100755 (executable)
@@ -4527,7 +4527,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 0d62de63926dfc1c20601181dc5801f80656b5d7..af7a6e42a85f223fbbbeb4b21d70304204234456 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 bd43c75905b09827802744100ad96d4e7620adc7..d9b9a0a9cf862cdc132ceb82fd248d8c6b8e290f 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 9474eb2045f46351357bfc3bc3fd5644b683887a..ec08d20a64a916b7bcd84dca15087b13441d667b 100644 (file)
@@ -28,6 +28,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>