]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - configure.ac
gui: Switch to the standard paraslash scheduler.
[paraslash.git] / configure.ac
index 07ecffdd71f31e1246d8262bda5fbdd762212f99..e423d851f11ccd2e6a950324c54c921d395581e7 100644 (file)
@@ -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
        "