diff options
author | Willem Jan Palenstijn | 2010-07-20 10:00:18 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2010-07-20 10:00:18 +0000 |
commit | 35e2c78626b9196bd3c059780e273dd0044c1c26 (patch) | |
tree | 07413a51c57261c27b7ad4dca75f29e34e1bdb9d | |
parent | 5b3f31feec43db358c1ad9bb38a7e602b5a90bb0 (diff) | |
download | scummvm-rg350-35e2c78626b9196bd3c059780e273dd0044c1c26.tar.gz scummvm-rg350-35e2c78626b9196bd3c059780e273dd0044c1c26.tar.bz2 scummvm-rg350-35e2c78626b9196bd3c059780e273dd0044c1c26.zip |
BUILD: Fix fallback readline detection
svn-id: r51057
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2256,12 +2256,13 @@ int main(void) { char *x = readline(""); } EOF - cc_check $READLINE_CFLAGS $READLINE_LIBS $_READLINE_LIBS && _readline=yes + cc_check_no_clean $READLINE_CFLAGS $READLINE_LIBS $_READLINE_LIBS && _readline=yes if test "$_readline" = no ; then _READLINE_LIBS="-lreadline -ltermcap" - cc_check $READLINE_CFLAGS $READLINE_LIBS $_READLINE_LIBS && _readline=yes + cc_check_no_clean $READLINE_CFLAGS $READLINE_LIBS $_READLINE_LIBS && _readline=yes fi fi + cc_check_clean echo "$_readline" else _readline=no |