aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2010-07-20 10:00:18 +0000
committerWillem Jan Palenstijn2010-07-20 10:00:18 +0000
commit35e2c78626b9196bd3c059780e273dd0044c1c26 (patch)
tree07413a51c57261c27b7ad4dca75f29e34e1bdb9d
parent5b3f31feec43db358c1ad9bb38a7e602b5a90bb0 (diff)
downloadscummvm-rg350-35e2c78626b9196bd3c059780e273dd0044c1c26.tar.gz
scummvm-rg350-35e2c78626b9196bd3c059780e273dd0044c1c26.tar.bz2
scummvm-rg350-35e2c78626b9196bd3c059780e273dd0044c1c26.zip
BUILD: Fix fallback readline detection
svn-id: r51057
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 4326bc1e46..56391409d4 100755
--- a/configure
+++ b/configure
@@ -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