Made sure the mmx does not get compiled on non x86 CPUs
authorWim Taymans <wim.taymans@gmail.com>
Fri, 12 Jan 2001 19:42:52 +0000 (19:42 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 12 Jan 2001 19:42:52 +0000 (19:42 +0000)
Original commit message from CVS:
Made sure the mmx does not get compiled on non x86 CPUs

libs/colorspace/Makefile.am

index a6257df..0e98fa1 100644 (file)
@@ -2,7 +2,13 @@ filterdir = $(libdir)/gst
 
 filter_LTLIBRARIES = libgstcolorspace.la
 
-libgstcolorspace_la_SOURCES = gstcolorspace.c rgb2rgb.c yuv2rgb.c yuv2rgb_mmx16.s
+if HAVE_CPU_I386
+ARCHSRCS = yuv2rgb_mmx16.s
+else
+ARCHSRCS = 
+endif
+
+libgstcolorspace_la_SOURCES = gstcolorspace.c rgb2rgb.c yuv2rgb.c $(ARCHSRCS)
 
 libgstcolorspaceincludedir = $(includedir)/gst/libs/gstcolorspace
 libgstcolorspaceinclude_HEADERS = gstcolorspace.h