[xiph-commits] r15456 - trunk/vorbis-tools/oggenc

ivo at svn.xiph.org ivo at svn.xiph.org
Sun Oct 26 02:40:46 PDT 2008


Author: ivo
Date: 2008-10-26 02:40:45 -0700 (Sun, 26 Oct 2008)
New Revision: 15456

Modified:
   trunk/vorbis-tools/oggenc/Makefile.am
Log:
Do not add lyrics.c and .h if libkate is not available.

Modified: trunk/vorbis-tools/oggenc/Makefile.am
===================================================================
--- trunk/vorbis-tools/oggenc/Makefile.am	2008-10-25 22:49:30 UTC (rev 15455)
+++ trunk/vorbis-tools/oggenc/Makefile.am	2008-10-26 09:40:45 UTC (rev 15456)
@@ -5,6 +5,12 @@
 flac_sources =
 endif
 
+if HAVE_KATE
+kate_sources = lyrics.c lyrics.h
+else
+kate_sources =
+endif
+
 SUBDIRS = man
 
 datadir = @datadir@
@@ -21,9 +27,9 @@
 
 oggenc_DEPENDENCIES = @SHARE_LIBS@
 
-oggenc_SOURCES = $(flac_sources) \
-                 oggenc.c audio.c encode.c platform.c lyrics.c \
-                 audio.h encode.h platform.h resample.c resample.h skeleton.c skeleton.h
+oggenc_SOURCES = $(flac_sources) $(kate_sources) \
+                 oggenc.c audio.c encode.c platform.c resample.c skeleton.c \
+                 audio.h encode.h platform.h resample.h skeleton.h
 
 
 debug:



More information about the commits mailing list