Thanks Ben, I ended up going with ${#}, but $[#] also works nicely.
(Sorry for posting here, I did end up sending this to autoconf)
On 3/11/11 3:31 PM, "Ben Pfaff" <[email protected]> wrote:
>"Too, Justin A." <[email protected]> writes:
>> However, Autoconf expands $#. How can I escape $#, so that it
>> will remain as-is in the configure script? I just can't figure
>> this one out :)
>
>$[#] or $[@%:@] will avoid expansion.
>
>(This is really an autoconf question.)
>--
>Ben Pfaff
>http://benpfaff.org