diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-02 17:00:03 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-10-02 17:00:03 -0700 |
commit | 9d6f7fa4e625c7cfb12d9a83b676a64d943f7d65 (patch) | |
tree | 1de89188033b1488c2b18e7ea717278f03308f2d /src/base | |
parent | 65cf119c2b0e0eaefd1e412f6c93d73b9f1401c7 (diff) | |
download | abc-9d6f7fa4e625c7cfb12d9a83b676a64d943f7d65.tar.gz abc-9d6f7fa4e625c7cfb12d9a83b676a64d943f7d65.tar.bz2 abc-9d6f7fa4e625c7cfb12d9a83b676a64d943f7d65.zip |
Added detection of 'readline' library at compile-time.
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/main/mainUtils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/main/mainUtils.c b/src/base/main/mainUtils.c index 8408568f..dd28d2f1 100644 --- a/src/base/main/mainUtils.c +++ b/src/base/main/mainUtils.c @@ -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); |