[gst-devel] esdrec

Ronald Bultje rbultje at ronald.bitfreak.net
Sat Jan 18 12:32:02 CET 2003


Hi daniel,

On Sat, 2003-01-18 at 21:12, Daniel Fischer wrote:
> might well be possible to do this with an ifdef, but the file then
> would  have to be compiled twice with the different defines. i'm an
> autoconf newbie, so i wouldnt know how to do this...? also it would
> seem kinda quirky, i've never seen a define used like that.

libesdsrc_la_SOURCES = esdmon.c
libesdsrc_la_CFLAGS = -DESDSRC=1

in the .c file:
#ifdef ESDSRC
..esdsrc stuff..
#else
..esdmon stuff..
#endif

Ronald

-- 
Ronald Bultje <rbultje at ronald.bitfreak.net>
Linux Video/Multimedia developer





More information about the gstreamer-devel mailing list