inet_addr? inet_aton?

2002-08-08 Thread Austin Schutz
I'm not an especially seasoned C programmer, so I apologize if this is a dumb question: In order to speed up a Perl program I wrote a module in C. This module has code to do the most mundane of tasks: convert an ipv4 address into a long. My local system is Linux, which has

Re: inet_addr? inet_aton?

2002-08-08 Thread Russ Allbery
Austin Schutz <[EMAIL PROTECTED]> writes: > My local system is Linux, which has: > int inet_aton(const char *cp, struct in_addr *inp);) > but I would like it to be able to run on other systems, such as > Solaris, which doesn't have inet_aton, but has: > in_addr_t inet_addr(const char *cp

Re: inet_addr? inet_aton?

2002-08-08 Thread Austin Schutz
On Thu, Aug 08, 2002 at 02:13:52PM -0700, Russ Allbery wrote: > Solaris does have inet_aton; it's just not documented. > Ugh. :P > What you want to do is use something like: > > AC_REPLACE_FUNCS(inet_aton) > > in configure.in and then put @LIBOBJS@ in the appropriate place in your > M

Re: inet_addr? inet_aton?

2002-08-08 Thread Russ Allbery
Austin Schutz <[EMAIL PROTECTED]> writes: > So why not make that part of an autoconf library of standardized > functions? It's been discussed from time to time, and if someone wanted to spearhead a project, I think it could be made to happen. libiberty already tries to do this in part. One of

Re: AC_SEARCH_LIBS problems

2002-08-08 Thread Paul Eggert
> From: Sam Steingold <[EMAIL PROTECTED]> > Date: 08 Aug 2002 15:26:09 -0400 > all I am asking is a combination of AC_SEARCH_LIBS and AC_TRY_RUN: Such a combination would necessarily have a different interface from AC_SEARCH_LIBS, since it would need to deal with cross-compilation issues. Eithe

Lose Weight and Gain Lean Muscle in 20 Days

2002-08-08 Thread JohnAtlas50
Lose Weight, and Gain Lean Muscle in 20 days Lose Up To 20 lbs. In The Next 20 Days Guaranteed Order Now http://66.253.10.197/MetRx.html This product retails for $49.99 at GNC and other national retailers. Get it for half price at our website. MET-RX Original revolutionized protein drink pr