Hi,

I'm trying to build a new package by combining multiple packages
together.  Each of the existing packages have their own config.h
files.  I'd like to arrange things so that all packages included in
the new package use the same config.h when used together. Each package
should use to their own config.h file when used separately.

I've added the following statements into each package's configure.in.

AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER(config/config.h:config/config-h.in)

This works fine for if I want to use a different config.h for each
package.  I've had no luck in getting all the packages to refer to a
single config directory by trying to specify relative paths using
$(top_srcdir) (among others).  

How is this normally done?

Thanks,
Brian

Reply via email to