Commit 9d6f7fa4 by Alan Mishchenko

Added detection of 'readline' library at compile-time.

parent 65cf119c
......@@ -21,7 +21,7 @@
#include "base/abc/abc.h"
#include "mainInt.h"
#if !defined(_WIN32) && defined(HAVE_LIBREADLINE)
#if !defined(_WIN32) //&& defined(HAVE_LIBREADLINE)
#include <readline/readline.h>
#include <readline/history.h>
#endif
......@@ -72,7 +72,7 @@ char * Abc_UtilsGetUsersInput( Abc_Frame_t * pAbc )
{
static char Prompt[5000];
sprintf( Prompt, "abc %02d> ", pAbc->nSteps );
#if !defined(_WIN32) && defined(HAVE_LIBREADLINE)
#if !defined(_WIN32) //&& defined(HAVE_LIBREADLINE)
{
static char * line = NULL;
if (line != NULL) ABC_FREE(line);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment