Marc,

> I want to import a Makefile.mk file which has variables generated by an 
> autoconf/automake project which i depend on. This toolkit has most of 
> the autoconf tests i need already run.

You have two options:

 - Have the depended-on package supply a shell script that prints
   configuration values on stdout. You may want to take a look at the
   pkg-config package[1]. You might also provide "tests" for inclusion
   in other packages as below.
 - Rerun the tests, and include tests that find the depended-on package.
   You should ship the tests as a set of .m4 files with the main package
   and install them into $(datadir)/aclocal.

A very important point is that you should provide a way for the packages
to have different prefixes, as the base package may be installed by the
system administrator into a non-writable directory, while a user wants
to install a plugin.

   Simon

-- 
GPG Fingerprint: 040E B5F7 84F1 4FBC CEAD  ADC6 18A0 CC8D 5706 A4B4

Attachment: signature.asc
Description: Digital signature

Reply via email to