@echo"[*] Testing the PATH environment variable..."
@test"$${PATH}"!="$${PATH#.:}"&&{echo"Please remove current directory '.' from PATH to avoid recursion of 'as', thanks!";echo;exit 1;}|| :
@echo"[*] Checking for the ability to compile x86 code..."
@echo'main() { __asm__("xorb %al, %al"); }' | $(CC)$(CFLAGS)$(LDFLAGS)-w-x c - -o .test1 ||(echo;echo"Oops, looks like your compiler can't generate x86 code.";echo;echo"Don't panic! You can use the LLVM or QEMU mode, but see docs/INSTALL first.";echo"(To ignore this error, set AFL_NO_X86=1 and try again.)";echo;exit 1 )
@echo'int main() { __asm__("xorb %al, %al"); }' | $(CC)$(CFLAGS)$(LDFLAGS)-w-x c - -o .test1 ||(echo;echo"Oops, looks like your compiler can't generate x86 code.";echo;echo"Don't panic! You can use the LLVM or QEMU mode, but see docs/INSTALL first.";echo"(To ignore this error, set AFL_NO_X86=1 and try again.)";echo;exit 1 )