From: Brian West Date: Mon, 5 Jul 2010 15:08:30 +0000 (-0500) Subject: fix configure and compile when using --disable-core-libedit-support X-Git-Tag: v1.2-rc1~563^2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3d6c648d36ac11463968a6f57e97dcc92b6bc50;p=thirdparty%2Ffreeswitch.git fix configure and compile when using --disable-core-libedit-support --- 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) {