Hi, 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) ===== alas, automake parses configure.ac and errors out: $ automake gllib/Makefile configure.in:12: required directory ./$aux_dir/build-aux does not exist configure.in:12: required file `$aux_dir/build-aux/config.guess' not found configure.in:12: `automake --add-missing' can install `config.guess' configure.in:12: required file `$aux_dir/build-aux/config.sub' not found configure.in:12: `automake --add-missing' can install `config.sub' configure.in:13: required file `$aux_dir/build-aux/install-sh' not found configure.in:13: `automake --add-missing' can install `install-sh' configure.in:13: required file `$aux_dir/build-aux/missing' not found configure.in:13: `automake --add-missing' can install `missing' gllib/Makefile.am: required file `$aux_dir/build-aux/depcomp' not found gllib/Makefile.am: `automake --add-missing' can install `depcomp' is there a way out? the only thing that comes to mind is to create a symlink to '$aux_dir' (i.e., the name which has a $ in it) before automake and remove it afterwards. ugly, but no errors. what is the right way? thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 9.04 (jaunty) http://www.PetitionOnline.com/tap12009/ http://memri.org http://www.memritv.org http://honestreporting.com http://palestinefacts.org http://pmw.org.il Those who can laugh at themselves will never cease to be amused.
