Re: [ng-spice] Replacement of system-header files
On Mon, 2 Aug 1999, Manu Rouat wrote:
> The best would in fact NOT to use HAS_NO_ERFC_DECL in the code ,
> but to use directly
> HAVE_ERFC - not forgetting to #include <config.h> of course.
> One goal would be to throw out 'capabil.h' entirely.
Yes, and we need to throw out completely the devices an analyses link
file. I you give a look to the conf.c file in the src/bin directory you
will discover how spice knows which devices should be linked to the
simulator. We can put these in the configure script to let the user
express a desire on which model or analisys to include
>
> As I guess I am the main 'maintainer' of the autoconf stuff, ask me for the
> tests you need (or implement them yourself if you have autoconf experience)
> - I will then provide with the new #define statement (you can always find
> it in src/include/config.h.in anyways)
For the fisrt times I will send you the tests I need and check your
addition, when iI will feel comfortable with the autoconf syntax (I think
to upgrade my Debian in the weekend), I will start to add code to it.
>
>
> I think this is the easiest way to deal with it, but care must be taken
> not to forget statements along the way.
OK.
I have tried to compile spice on the SUN (with gnu make). The only
problem was related to the #define you were writing before: HAS_SYSVDIR. I
will investigate further and the will ask you to implement some
conditionals for solaris 2.7
bye,
Paolo
Partial thread listing: