Hi Ralf, Daniel,

* Ralf Corsepius wrote on Wed, Dec 21, 2005 at 08:43:00AM CET:
> On Wed, 2005-12-21 at 09:12 +0200, Daniel Pekelharing wrote:
> > 
> > I have some parts of my app which I want to be optional, so if the user
> > doesn't have library x then just compile without some features.
> > 
> > I figure with single isolated calls I should just surround them with
> > #ifdef statements, but I have also a couple of entire c files dedicated
> > to them...
> > Should I just #ifdef the entire c file?
> That's one possibility.

But not strictly portable -- ISO C forbids empty translation units,
so add at least a dummy.

The automake conditional method is fine, of course.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to