add message when no UI for menuselect is present
authorKevin P. Fleming <kpfleming@digium.com>
Sat, 28 Jun 2008 14:46:08 +0000 (14:46 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Sat, 28 Jun 2008 14:46:08 +0000 (14:46 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126153 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 3dbadc0..b81c00b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -833,6 +833,10 @@ menuselect: menuselect/cmenuselect menuselect/nmenuselect menuselect/gmenuselect
                $(MAKE) cmenuselect; \
        elif [ -x menuselect/gmenuselect ]; then \
                $(MAKE) gmenuselect; \
+       else \
+               echo "No menuselect user interface found. Install ncurses," \
+               echo "newt or GTK libraries to build one and re-rerun" \
+               echo "'make menuselect'." \
        fi
 
 cmenuselect: menuselect/cmenuselect menuselect-tree