diff -ur aureal.orig/Makefile aureal/Makefile --- aureal.orig/Makefile Sat Dec 1 01:12:48 2001 +++ aureal/Makefile Thu Jan 24 06:25:10 2002 @@ -19,15 +19,17 @@ # Contact: http://aureal.sourceforge.net # -ifneq ($(shell /sbin/lspci -d '12eb:3'),) +LSPCI = `which lspci` + +ifneq ($(shell $(LSPCI) -d '12eb:3'),) NAME = au8810 ASP_OBJ = asp10.o endif -ifneq ($(shell /sbin/lspci -d '12eb:1'),) +ifneq ($(shell $(LSPCI) -d '12eb:1'),) NAME = au8820 ASP_OBJ = asp20.o endif -ifneq ($(shell /sbin/lspci -d '12eb:2'),) +ifneq ($(shell $(LSPCI) -d '12eb:2'),) NAME = au8830 ASP_OBJ = asp30.o endif