autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 12/12] use a shell function for AC_TYPE_INTx_T


From: Paolo Bonzini
Subject: Re: [PATCH 12/12] use a shell function for AC_TYPE_INTx_T
Date: Tue, 28 Oct 2008 13:24:29 +0100
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

> int$[]2_t is buggy.  You want int${2}_t, since the variable $2_t is not
> defined.

$ set abc def
$ echo $2_
def_

Known nonportability or (understandable) paranoia?

>> +    [AS_VAR_SET([$[]3], [no])
>> +     for ac_type in "int$[]2_t" 'int' 'long int' \
> 
> Likewise.

Likewise.

>> +        [AS_CASE([$ac_type], [int$[]2_t],
> 
> And again.

And again. :-)

>> +AC_DEFUN([_AC_TYPE_INT],
>> +[AC_REQUIRE_SHELL_FN([ac_func_c_find_intX_t],
>> +  [AS_FUNCTION_DESCRIBE([ac_func_c_find_intX_t], [LINENO BITS],
> 
> Add VAR to the list of shell function parameters.

Ok. :-)

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]