Conditional compiling?

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

 



Hi all,

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?
Or is there someway I can tell autoconf to just ignore them?

Sorry if this is a bit of a stupid question..

Thanks!

-- 
Daniel Pekelharing
<legendstar@xxxxxxxxx>



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux