Re: [ng-spice] Replacement of system-header files


To ng-spice <ng-spice@ieee.ing.uniroma1.it>
From Paolo Nenzi <pnenzi@ieee.ing.uniroma1.it>
Date Tue, 3 Aug 1999 07:52:32 +0200 (CEST)
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
In-Reply-To <37A60B38.8973B076@wanadoo.fr >
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice@ieee.ing.uniroma1.it



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: