]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - configure.ac
gui: Simplify color handling.
[paraslash.git] / configure.ac
index a9f8785e7b29410bee928485adb4b14ebde44e3c..e423d851f11ccd2e6a950324c54c921d395581e7 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)
@@ -1094,6 +1102,7 @@ if test "$have_curses" = "yes"; then
                gui
                gui_theme
                time
+               sched
                version
                ggo
        "