[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Order of statements/imports
From: |
Simon Richter |
Subject: |
Re: Order of statements/imports |
Date: |
Thu, 18 Sep 2003 01:42:44 +0200 |
User-agent: |
Mutt/1.5.4i |
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
signature.asc
Description: Digital signature