>>>>> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes:
Tom> We should automate this process. I've wanted to for a long time.
Tom> Does autoconf have the hooks we need?
Yes it has:
- Macro: AC_CONFIG_COMMANDS_PRE(CMDS)
Execute the CMDS right before creating `config.status'. A typical
use is computing values derived from variables built during the
execution of `configure':
AC_CONFIG_COMMANDS_PRE(
[LTLIBOBJS=`echo $LIBOBJS | sed 's/\.o/\.lo/g'`
AC_SUBST(LTLIBOBJS)])
- Macro: AC_CONFIG_COMMANDS_POST(CMDS)
Execute the CMDS right after creating `config.status'.
But I don't know if this is the right way to do it, maybe it'd be
cleaner to provide a hook on AC_LIBOBJ. The AC_..._PRE/POST method is
more robust (it works if people don't use AC_LIBOBJ but change LIBOBJ
by hand), but it is less clean.
Akim