test commentation
authorThomas Vander Stichele <thomas@apestaart.org>
Mon, 23 Sep 2002 06:03:17 +0000 (06:03 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Mon, 23 Sep 2002 06:03:17 +0000 (06:03 +0000)
Original commit message from CVS:
test commentation

tests/bufspeed/Makefile.am
tests/bufspeed/gstmempool.c
tests/bufspeed/test1.c

index 4dd437a..a826930 100644 (file)
@@ -1,8 +1,14 @@
-noinst_PROGRAMS = test1 test2
+if HAVE_NASM
+TEST1=test1
+else
+TEST1=
+endif
 
-test1_SOURCES = test1.c gstbuffer.c gstmempool.c
+noinst_PROGRAMS = $(TEST1) test2
+
+test1_SOURCES = test1.c $(top_srcdir)/gst/gstbuffer.c gstmempool.c
 
 EXTRA_DIST = gstbuffer.h gstmempool.h
 
 LDADD = $(GST_LIBS)
-AM_CFLAGS = $(GST_CFLAGS) 
+CFLAGS = $(GST_CFLAGS) 
index 2e967c4..8144ca6 100644 (file)
@@ -11,7 +11,9 @@
 #define GST_MEM_POOL_DATA(pool)        ((gpointer)(((GstMemPoolElement*)(pool)) + 1))
 #define GST_MEM_POOL_LINK(mem)                 ((GstMemPoolElement*)((guint8*)(mem) - sizeof (GstMemPoolElement)))
 
+#ifdef HAVE_NASM
 #define USE_ASM
+#endif
 
 /*******************************************************
  *         area size
index aef6686..53aa61e 100644 (file)
@@ -1,5 +1,6 @@
-#include "gstbuffer.h"
 #include <gst/gst.h>
+#include "gst/gstbuffer.h"
+#include "gst/gstbufferpool-default.h"
 
 int 
 main (int argc, char *argv[])