Patch #462122: add readline startup and pre_event hooks.
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 9250e66..00dea75 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -149,6 +149,9 @@
 /* Define if you have GNU PTH threads */
 #undef HAVE_PTH
 
+/* Define if you have readline 4.0 */
+#undef HAVE_RL_PRE_INPUT_HOOK
+
 /* Define if you have readline 4.2 */
 #undef HAVE_RL_COMPLETION_MATCHES