autoconf
[Top][All Lists]
Advanced

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

Re: Output from AC_DEFINE_UNQUOTED not appearing in config.h


From: Assar Westerlund
Subject: Re: Output from AC_DEFINE_UNQUOTED not appearing in config.h
Date: 01 Jun 2003 15:16:27 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Robert Norris <address@hidden> 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

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