This month's Index
Subject: Re: questions about the autotools
Re: questions about the autotools
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 14 Mar 2011 09:59:39 +0100 (CET)
On Sun, 13 Mar 2011, Vincent Torri wrote:
> 1) Where are grep, grep -E and ar used in the autotools ? It is said that it
AFAIR, they were introduced a good while ago because of deficiances in the
> 2) Instead of your sed check, what about using AC_PROG_SED ?
... which also failed to work properly back in the days.
I'd be reluctant to remove anything of that unless you can prove with a
Unfortunately, autoconf is one of those projects were things often break when
> 3) The current use of AM_INIT_AUTOMAKE is deprecated. See:
I didn't read that (yet), how is it supposed to be done and since which
> In addition, you don't need the version in ares_ver.h as it is already
We may not _need_ it for some platforms but we generate both at the same time
> 4) There is a check to build static libraries with PIC on AMD64-Linux &
I don't know. The current fix seems to work and I've had no reason to consider
> 5) For Windows desktop, if winsock2 header is available, you do
So how do you suggest the test is made? Very few people use configure on
> 6) ssize_t is defined on Windows and it is named SSIZE_T :
Are you suggesting our test in config-win32.h isn't working?
> AC_CHECK_TYPE(ssize_t, ,
Most windows people won't use configure at all, so we can't limit things to
Also, config-win32.h should probably not be used at all if you use configure
> 7) You use LIBS to defined the value of the Libs.private entry of
I don't understand. libcares.pc.in already has this line:
Isn't that "using directly CARES_PRIVATE_LIBS" ?
-- / daniel.haxx.seReceived on 2011-03-14