conditionalized linking with libOggFLAC
authorJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 30 Dec 2004 01:12:41 +0000 (01:12 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 30 Dec 2004 01:12:41 +0000 (01:12 +0000)
src/test_seeking/Makefile.am

index bd4ac5b..7ff931c 100644 (file)
@@ -22,9 +22,13 @@ EXTRA_DIST = \
 CFLAGS = @CFLAGS@ @OGG_CFLAGS@
 INCLUDES = 
 
+if FLaC__HAS_OGG
+NEED_OGGFLAC_LIB = $(top_builddir)/src/libOggFLAC/libOggFLAC.la
+endif
+
 noinst_PROGRAMS = test_seeking
 test_seeking_LDADD = \
-       $(top_builddir)/src/libOggFLAC/libOggFLAC.la \
+       $(NEED_OGGFLAC_LIB) \
        $(top_builddir)/src/libFLAC/libFLAC.la \
        @OGG_LIBS@ \
        -lm