Re: [HACKERS] [GENERAL] [PATCH] Better way to check for getaddrinfo function.

2006-01-24 Thread R, Rajesh (STSD)
sorry. It is a macro.so, would it be better to check for the macroas suggested by Tom or go with this patch$ diff -r configure.in configure.in.new918a919> AC_MSG_CHECKING([for getaddrinfo])920c921,926<   AC_REPLACE_FUNCS([getaddrinfo])--->  AC_TRY_LINK([#include #include ],>   

Re: [HACKERS] [GENERAL] [PATCH] Better way to check for getaddrinfo function.

2006-01-24 Thread Martijn van Oosterhout
On Tue, Jan 24, 2006 at 02:33:13PM +0530, R, Rajesh (STSD) wrote: > Its not a macro. > I meant that the code generated by AC_REPLACE_FUNCS([getaddrinfo]) by > configure.in for "configure" > does not have "#include ". Hence function is not > detected(unresolved getaddrinfo). > Hence I thought AC_TR

Re: [HACKERS] [GENERAL] [PATCH] Better way to check for getaddrinfo function.

2006-01-24 Thread R, Rajesh (STSD)
Message-From: Tom Lane [mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 17, 2006 8:34 PMTo: R, Rajesh (STSD)Cc: pgsql-hackers@postgresql.orgSubject: Re: [HACKERS] [GENERAL] [PATCH] Better way to check for getaddrinfo function."R, Rajesh (STSD)" <[EMAIL PROTECTED]> writes