Re: [ng-spice-devel] ACS converted to automake, autoconf
On Wed, Nov 01, 2000 at 10:01:52AM +0000, Alan Gillespie wrote:
> You guys make it sound like autoconf does all the work
> for you. That sounds great, but don't you have to put
> #ifdef statements all over your code to handle all the
> different Unices ?
Yes, an increase in granularity comes at a price. The price is more
preprocessor defines. However, since you have already confined all
platform dependent code in md.cc and md.h, these are the only files
that will have them.
> Does autoconf figure out for itself what files you need
> to compile and link ? It's always annoyed me that C
> C compilers can't just create a program if you give them
> the top level file.
Nope, autoconf is only to configure the source to a certain platform.
Automake's Makefile.am holds the information necessary to build the
libraries and the executables. Look in src/Makefile.am,
modelgen/Makefile.am as examples.
Regards,
--
Arno
PGP signature
Partial thread listing:
- Re: [ng-spice-devel] ACS converted to automake, autoconf, (continued)