]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix configure and compile when using --disable-core-libedit-support
authorBrian West <brian@freeswitch.org>
Mon, 5 Jul 2010 15:08:30 +0000 (10:08 -0500)
committerBrian West <brian@freeswitch.org>
Mon, 5 Jul 2010 15:08:30 +0000 (10:08 -0500)
src/switch_console.c

index 0271811515cd365b3e8083c7c234f385c7367b25..6f283461886f10761cd4f7cd4f65305805f7f2c4 100644 (file)
@@ -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)
 {