Removing references to readline to fix build on Gubuntu

Change-Id: I5e7a1b78914ee5c2affe64c24eb90a280ee83f0f
diff --git a/dist/Android.mk b/dist/Android.mk
index 7537b0d..ece39eb 100644
--- a/dist/Android.mk
+++ b/dist/Android.mk
@@ -112,13 +112,6 @@
 # sqlite3MemsysAlarm uses LOG()
 LOCAL_STATIC_LIBRARIES += liblog
 
-
-have_readline := $(wildcard /usr/include/readline/readline.h)
-have_history := $(wildcard /usr/lib/libhistory*)
-ifneq ($(strip $(have_readline)),)
-LOCAL_CFLAGS += -DHAVE_READLINE=1
-endif
-
 ifeq ($(strip $(USE_MINGW)),)
 LOCAL_LDLIBS += -lpthread
 ifneq ($(HOST_OS),freebsd)
@@ -126,13 +119,6 @@
 endif
 endif
 
-ifneq ($(strip $(have_readline)),)
-LOCAL_LDLIBS += -lreadline -lncurses
-endif
-ifneq ($(strip $(have_history)),)
-LOCAL_LDLIBS += -lhistory
-endif
-
 LOCAL_MODULE := sqlite3
 
 include $(BUILD_HOST_EXECUTABLE)