Commit 65cf119c by Alan Mishchenko

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

parent 4aa33e7d
......@@ -21,7 +21,7 @@
#include "base/abc/abc.h"
#include "mainInt.h"
#if !defined(_WIN32) && defined(READLINE)
#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(READLINE)
#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