patch proposal for libjava/configure[.in]

Arno J. Klaassen arno@heho.snv.jussieu.fr
Mon Oct 9 08:31:00 GMT 2000


Hi,

the following patch makes configure correctly detect socklen_t
on systems where it is a typedef to a sys/types.h declared type
(e.g. FreeBSD); it should not hurd on other systems.

N.B. I also had to upgrade ``missing'' to a recent version of
automake, otherwise ``--run'' is not recognised.

Arno

P.S. sources cvsupped this morning

#######
Index: libjava/configure
===================================================================
RCS file: /cvs/java/libgcj/libjava/configure,v
retrieving revision 1.67
diff -u -r1.67 configure
--- configure   2000/09/30 09:56:57     1.67
+++ configure   2000/10/09 14:59:14
@@ -5460,6 +5460,7 @@
 cat > conftest.$ac_ext <<EOF
 #line 5462 "configure"
 #include "confdefs.h"
+#include <sys/types.h>
 #include <sys/socket.h>
 int main() {
 socklen_t x = 5;
########
--

  Arno J. Klaassen

  SCITO S.A.                   INSERM U483
  Le Grand Sablon              University Pierre et Marie Curie
  4, avenue de l'Obiou         9, quai Saint Bernard
  38700 La Tronche             75 252 Paris Cedex 5

  arno@ccr.jussieu.fr


More information about the Java-patches mailing list