This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
patch proposal for libjava/configure[.in]
- To: java-patches at sourceware dot cygnus dot com
- Subject: patch proposal for libjava/configure[.in]
- From: arno at heho dot snv dot jussieu dot fr (Arno J. Klaassen)
- Date: 09 Oct 2000 17:31:38 +0200
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