Skip to content
Snippets Groups Projects
Commit 54dcc9bf authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix astman build (bug #1930)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent ca7fc00a
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,7 @@ ifeq ($(findstring BSD,${OSARCH}),BSD)
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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment