what is $ac_t ?

2010-09-17 Thread Sam Steingold
google appears to suggest that $ac_t is widely used in older configure scripts as a tab character, e.g.: echo "$ac_t""found" 1>&6 it appears that it it not mentioned in any docs and not defined to anything useful for some time. since recently, however, it is used in a loop setting ac_install_s

Re: what is $ac_t ?

2010-09-17 Thread Eric Blake
On 09/17/2010 10:25 AM, Sam Steingold wrote: google appears to suggest that $ac_t is widely used in older configure scripts as a tab character, e.g.: echo "$ac_t""found" 1>&6 it appears that it it not mentioned in any docs and not defined to anything useful for some time. Commit ab7322949, 1124

Re: AC_FUNC_STRTOD

2010-09-17 Thread Russ Allbery
Eric Blake writes: > Marking a macro obsolete in autoconf means that new code should not rely > on it, but that the macro still exists and still does the same thing it > used to do, so that old code that used it will continue to work. Oh, okay, I misunderstood obsolete. Never mind, then. :) -

Re: what is $ac_t ?

2010-09-17 Thread Eric Blake
On 09/17/2010 10:36 AM, Eric Blake wrote: On 09/17/2010 10:25 AM, Sam Steingold wrote: google appears to suggest that $ac_t is widely used in older configure scripts as a tab character, e.g.: echo "$ac_t""found" 1>&6 it appears that it it not mentioned in any docs and not defined to anything use

Re: what is $ac_t ?

2010-09-17 Thread Eric Blake
[adding automake] On 09/17/2010 11:01 AM, Eric Blake wrote: checking for getrlimit declaration... (cached) install-shextern int getrlimit (enum __rlimit_resource, struct rlimit *); Hmm, on looking at this closer, I only fixed config.status, which happens towards the end of configure, but you a

Re: what is $ac_t ?

2010-09-17 Thread Bruno Haible
Sam, > checking for getrlimit declaration... (cached) install-shextern int getrlimit > (enum __rlimit_resource, struct rlimit *); In all macros that I wrote, you can replace AC_MSG_RESULT([${ac_t:- }...]) with AC_MSG_RESULT([ ...]) Like it was done in iconv.m4

Re: what is $ac_t ?

2010-09-17 Thread Sam Steingold
On Fri, Sep 17, 2010 at 12:36 PM, Eric Blake wrote: > > Really, anyone with $ac_t in their script should modernize, and use ECHO_T > instead. http://clisp.cvs.sourceforge.net/viewvc/clisp/clisp/src/m4/proto.m4 I think I will just drop it altogether: @@ -16,8 +16,7 @@ AC_DEFUN([CL_PROTO], AC_CA

Re: what is $ac_t ?

2010-09-17 Thread Sam Steingold
Bruno, On Fri, Sep 17, 2010 at 1:23 PM, Bruno Haible wrote: > >> checking for getrlimit declaration... (cached) install-shextern int getrlimit >> (enum __rlimit_resource, struct rlimit *); > > In all macros that I wrote, you can replace > > AC_MSG_RESULT([${ac_t:- >         }...]) > > with > > AC

Re: what is $ac_t ?

2010-09-17 Thread Eric Blake
On 09/17/2010 11:05 AM, Eric Blake wrote: [adding automake] On 09/17/2010 11:01 AM, Eric Blake wrote: checking for getrlimit declaration... (cached) install-shextern int getrlimit (enum __rlimit_resource, struct rlimit *); Hmm, on looking at this closer, I only fixed config.status, which happ

'checking ... result' configure lines (was: what is $ac_t ?)

2010-09-17 Thread Ralf Wildenhues
* Eric Blake wrote on Fri, Sep 17, 2010 at 07:01:07PM CEST: > By the way, the use of "$ac_t" alongside cache results seems to be > weird. The whole idea was that there used to be setups where there > was no portable way of printing text without a trailing newline, so > for those shells, you'd get:

Re: help with broken autoconf/m4 macro?

2010-09-17 Thread Eric Blake
On 07/29/2010 01:20 PM, Charlie Zender wrote: But maybe it would make sense to rewrite the home page along these lines: mailto:autoconf@gnu.org";>autoconf@gnu.org http://lists.gnu.org/mailman/listinfo/autoconf/";>(archives) exactly, i interpreted autoconf@gnu.org as a link to the email addres