summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-11-27 19:18:12 +0000
committerMorgan Deters <mdeters@gmail.com>2012-11-27 19:18:12 +0000
commit49da3204bbb10fbcd87923428f3b476ba5b57af6 (patch)
tree9408afc6a466f799453de0399e8363d081f37483 /config
parenta1fa0d6a3d185c3f9089542893295ea001734289 (diff)
more mac fixes
Diffstat (limited to 'config')
-rw-r--r--config/readline.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/config/readline.m4 b/config/readline.m4
index dcf9a9c18..44be9ff41 100644
--- a/config/readline.m4
+++ b/config/readline.m4
@@ -62,12 +62,13 @@ else
AC_MSG_CHECKING([for type of rl_completion_entry_function])
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
+#include <stdio.h>
#include <readline/readline.h>
char* foo(const char*, int) { return (char*)0; }],[
-::rl_completion_entry_function = foo;])],
+rl_completion_entry_function = foo;])],
[AC_MSG_RESULT([char* (*)(const char*, int)])
readline_compentry_func_returns_charp=1],
- [AC_MSG_FAILURE([Function])])
+ [AC_MSG_RESULT([Function])])
AC_LANG_POP([C++])
else
have_libreadline=0
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback