]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - configure.ac
gui: Make curses_active a bool.
[paraslash.git] / configure.ac
index a9f8785e7b29410bee928485adb4b14ebde44e3c..30bce8ee400858cb099c3bc7d1d2593c4f842225 100644 (file)
@@ -3,7 +3,7 @@
 
 AC_PREREQ([2.61])
 
-AC_INIT([paraslash],[0.5.2],[maan@systemlinux.org])
+AC_INIT([paraslash],[git],[maan@systemlinux.org])
 AC_CONFIG_HEADER([config.h])
 
 AC_CONFIG_FILES([Makefile])
@@ -757,7 +757,15 @@ if test "$have_readline" = "yes"; then
 fi
 
 if test "$have_readline" = "yes"; then
-       :
+       AC_CHECK_DECL(
+               [rl_free_keymap],
+               [AC_DEFINE(RL_FREE_KEYMAP_DECLARED, 1, readline >= 6.3)],
+               [],
+               [
+                       #include <stdio.h>
+                       #include <readline/readline.h>
+               ]
+       )
        AC_SUBST(readline_cppflags)
        AC_SUBST(readline_ldflags)
        AC_DEFINE(HAVE_READLINE, 1, define to 1 to turn on readline support)