From c3d6c648d36ac11463968a6f57e97dcc92b6bc50 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 5 Jul 2010 10:08:30 -0500 Subject: [PATCH] fix configure and compile when using --disable-core-libedit-support --- src/switch_console.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/switch_console.c b/src/switch_console.c index 0271811515..6f28346188 100644 --- a/src/switch_console.c +++ b/src/switch_console.c @@ -842,7 +842,7 @@ SWITCH_DECLARE(unsigned char) switch_console_complete(const char *line, const ch } - +#ifdef SWITCH_HAVE_LIBEDIT /* * If a fnkey is configured then process the command */ @@ -868,6 +868,7 @@ static unsigned char console_fnkey_pressed(int i) return CC_REDISPLAY; } +#endif SWITCH_DECLARE(void) switch_console_save_history(void) {