Re: problems with configure - Mailing list pgsql-hackers

From Martin A. Marques
Subject Re: problems with configure
Date
Msg-id 00110609310400.00364@math.unl.edu.ar
Whole thread Raw
In response to Re: problems with configure  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: problems with configure
List pgsql-hackers
On Vie 03 Nov 2000 20:37, Peter Eisentraut wrote:
> Martin A. Marques writes:
> > checking types of arguments for accept()... configure: error: could not
> > determine argument types
>
> According to the documentation for Solaris 7 it should be 'accept(int,
> struct sockaddr *, socklen_t *)', which is the same on my system, so the

Well, mine looks like:

extern int accept(int, struct sockaddr *, Psocklen_t);

> problem is elsewhere.  One possibility is that the earlier tests for
> sys/types.h or sys/socket.h failed.  Could you check what the file
> config.log says?

Everything looks good. No problems with those checks.

I checked the configure on the lines that give the error and I don't 
understand what It's trying to do. It has various variables with I don' t 
know where they are defined. Can somebody give me a clue?
This is what I have in the configure:

#line 5479 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern accept ($ac_cv_func_accept_arg1, $ac_cv_func_accept_arg2, 
$ac_cv_func_accept_arg3 *);
int main() {

; return 0; }

Saludos... :-)


-- 
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Mart�n Marqu�s            email:     martin@math.unl.edu.ar
Santa Fe - Argentina        http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------


pgsql-hackers by date:

Previous
From: "Martin A. Marques"
Date:
Subject: Re: problems with configure
Next
From: The Hermit Hacker
Date:
Subject: Re: CVS problem