autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_DEFINE questions


From: Mike Castle
Subject: Re: AC_DEFINE questions
Date: Tue, 17 Dec 2002 15:28:05 -0800

In article <address@hidden>, Balint Joo  <address@hidden> 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      address@hidden      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

[Prev in Thread] Current Thread [Next in Thread]