use ifeq(...,yes) instead of ifdef
authorMåns Rullgård <mans@mansr.com>
Fri, 9 Jun 2006 22:26:03 +0000 (22:26 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 9 Jun 2006 22:26:03 +0000 (22:26 +0000)
Originally committed as revision 5462 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile

index a8a06dc..ef2b152 100644 (file)
@@ -347,11 +347,11 @@ OBJS += i386/fdct_mmx.o i386/cputest.o \
 ifeq ($(CONFIG_GPL),yes)
 OBJS += i386/idct_mmx_xvid.o
 endif
 ifeq ($(CONFIG_GPL),yes)
 OBJS += i386/idct_mmx_xvid.o
 endif
-ifdef TARGET_BUILTIN_VECTOR
+ifeq ($(TARGET_BUILTIN_VECTOR),yes)
 i386/fft_sse.o: CFLAGS+= -msse
 depend: CFLAGS+= -msse
 endif
 i386/fft_sse.o: CFLAGS+= -msse
 depend: CFLAGS+= -msse
 endif
-ifdef TARGET_BUILTIN_3DNOW
+ifeq ($(TARGET_BUILTIN_3DNOW),yes)
 i386/fft_3dn.o: CFLAGS+= -m3dnow
 ifeq ($(TARGET_ARCH_X86),yes)
 i386/fft_3dn2.o: CFLAGS+= -march=athlon
 i386/fft_3dn.o: CFLAGS+= -m3dnow
 ifeq ($(TARGET_ARCH_X86),yes)
 i386/fft_3dn2.o: CFLAGS+= -march=athlon