Index: astman/Makefile =================================================================== RCS file: /usr/cvsroot/asterisk/astman/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- astman/Makefile 22 Jun 2004 17:42:13 -0000 1.9 +++ astman/Makefile 26 Jun 2004 20:16:42 -0000 @@ -8,8 +8,7 @@ CFLAGS+=-I/usr/local/include -L/usr/local/lib endif -TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else echo "none" ; fi) -TARGET=$(shell if [ -f /usr/local/include/newt.h ]; then echo "astman"; else echo "none" ; fi) +TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else if [ -f /usr/local/include/newt.h ]; then echo "astman"; else echo "none" ; fi ; fi) all: depend $(TARGET) install: