Re: multiline output variables.

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

 



Hi,

> > 	I instead just ask `test ${#ac_delim} -gt 1000', which gives six
> > iterations with the current set up.
> 
> ${#<var>} isn't portable. I think this is:
>   _len=`expr "${ac_delim}" : ".*"`

but this is ugly.  Something like:

for f in 0 1 2 3 4 5 6; do
  test $f = 6 && AC_MSG_ERROR(...)
  ...
done

shoule be the easiest solution.  (I don't understand why my original
proposal was so complicated; sorry for that.)

Stepan


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux