discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Question about conditionnal compilation


From: Nicola Pero
Subject: Re: Question about conditionnal compilation
Date: Mon, 1 Jul 2002 10:43:01 +0100 (BST)

> I am working on the next version of Encod.app that will allow to use cddb.
> 
> For this version, I would like it to be usuable for most unices .... 
> So I would like to make a conditionnal compilation ... 
> I mean I would like to put a flag in the GNUMakefile conditionnaly to the os
> for example :
> if  "linux/cdrom.h" is present then HAVE_LINUX=1
> 
> Is it possible to make something like this in the GNUMakefile ?

You likely need using autoconf for this ... have a look at what stuff like
gnustep-base (or other core libraries, maybe with simpler configuration,
such as gnustep-gui, do).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]