Hi Ralf,
Ralf Wildenhues wrote:
* Sam Steingold wrote on Thu, Sep 03, 2009 at 06:26:53AM CEST:
Some packages install "build-aux" files (config.guess, config.sub,
install-sh et al) so that their add-ons can rely on them.
It would seem to be a relatively easy:
===== configure.ac
AC_PATH_PROG(foo_path, foo)
aux_dir=`foo -print-config-dir`
AC_CONFIG_AUX_DIR($aux_dir)
=====
Automake currently expects the argument to AC_CONFIG_AUX_DIR to be a
shell literal. That might be a regression, I haven't checked. I'd
need to look though what it takes to lift the restriction (there might
also be assumptions like that in Autoconf).
note also that my symlink hack results in this line in the generated
Makefile.in:
depcomp = $(SHELL) $(top_srcdir)/$cl_cv_clisp_libdir/build-aux/depcomp
which is definitely wrong because $cl_cv_clisp_libdir will be a full path like
/usr/lib/clisp/
thanks!
Sam.