simplify/fix the ASM_FLAGS tests (bug 12931)
authorBrian <brian.paul@tungstengraphics.com>
Thu, 25 Oct 2007 17:10:10 +0000 (11:10 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 25 Oct 2007 17:10:10 +0000 (11:10 -0600)
src/mesa/Makefile

index 3722593..8e35efb 100644 (file)
@@ -153,10 +153,10 @@ depend: $(ALL_SOURCES)
 
 
 subdirs:
-       @ if [ `echo $(ASM_FLAGS) | grep USE_X86_ASM` ] ; then \
+       @ if echo $(ASM_FLAGS) | grep USE_X86_ASM ; then \
                (cd x86 ; $(MAKE)) ; \
        fi
-       @ if [ `echo $(ASM_FLAGS) | grep USE_X86_64_ASM` ] ; then \
+       @ if echo $(ASM_FLAGS) | grep USE_X86_64_ASM ; then \
                (cd x86 ; $(MAKE)) ; \
                (cd x86-64 ; $(MAKE)) ; \
        fi