On 02/08/2013 12:30 PM, raespi wrote: >> This behavior sounds like whoever wrote AC_SUBST_INT_HEX was calling >> AC_SUBST_UNQUOTED([T_FPU], [$value], [documentation]) >> somewhere inside. Apologies; I was thinking of AC_DEFINE_UNQUOTED; there is no AC_SUBST_UNQUOTED. But based on how you want @T_FPU@ replacement, rather than a #define added, you want AC_SUBST. >> Would using AC_COMPUTE_INT be any less fragile than >> directly grepping a platform header? >> > something like ? > > AC_COMPUTE_INT( T_FPU, "T_FPU", include='<native/task.h>' ) That's not proper syntax. More like: AC_COMPUTE_INT([prefix_cv_t_fpu], [T_FPU], [[#include <native/task.h>]]) AC_SUBST([T_FPU], [$prefix_cv_t_fpu]) where you can replace prefix_ with your own package's namespace. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf