Robert Norris <[EMAIL PROTECTED]> writes:
> for opt in $want_storage ; do
>     eval "j2_want_storage_$opt=yes"
>     def="WANT_STORAGE_`echo $opt | tr 'a-z' 'A-Z'`"
>     AC_DEFINE_UNQUOTED($def)
> done

This doesn't work.  AC_DEFINE_UNQUOTED needs a third argument and the
first one cannot be a shell variable for autoheader to add it to
config.h.in.  See the section on 'autoheader' in the documentation.
You need to use one of the AH_VERBATIM/AH_TEMPLATE/AH_TOP/AH_BOTTOM
macros.


Reply via email to