In article <[EMAIL PROTECTED]>, Balint Joo  <[EMAIL PROTECTED]> wrote:
>I have two packages configured by autoconf. One of them
>uses the config.h file to set some configuration definitions
>such as ARCH. This is not just build time information, but something
>general (the software is for a system where I have to specify some
>array dimensions at configure time). The package builds a library
>which is installed, and config.h gets installed also in the @prefix@/include
>directory.

Instead of having a *config.h that lists the array dimensions, extend your
API to have have functions that provides those values at runtime.

mrc

-- 
     Mike Castle      [EMAIL PROTECTED]      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc


Reply via email to