Accepting request 46504 from devel:languages:python:Factory
Copy from devel:languages:python:Factory/python based on submit request 46504 from user matejcik OBS-URL: https://build.opensuse.org/request/show/46504 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=52
This commit is contained in:
committed by
Git OBS Bridge
parent
2b70f7ad6c
commit
12b0f39c97
26
python-2.7rc2-configure.patch
Normal file
26
python-2.7rc2-configure.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
Index: configure.in
|
||||
===================================================================
|
||||
--- configure.in.orig
|
||||
+++ configure.in
|
||||
@@ -3892,9 +3892,18 @@ then
|
||||
fi
|
||||
|
||||
# check for readline 4.0
|
||||
-AC_CHECK_LIB(readline, rl_pre_input_hook,
|
||||
- AC_DEFINE(HAVE_RL_PRE_INPUT_HOOK, 1,
|
||||
- [Define if you have readline 4.0]), ,$READLINE_LIBS)
|
||||
+AC_MSG_CHECKING([for rl_pre_input_hook in -lreadline])
|
||||
+AC_CACHE_VAL(ac_cv_have_rl_re_input_hook, [
|
||||
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <stdio.h>
|
||||
+#include <readline/readline.h>],
|
||||
+ [return rl_pre_input_hook != 0])],
|
||||
+ ac_cv_have_rl_re_input_hook=yes,
|
||||
+ ac_cv_have_rl_re_input_hook=no)])
|
||||
+AC_MSG_RESULT($ac_cv_have_rl_re_input_hook)
|
||||
+if test "$ac_cv_have_rl_re_input_hook" = yes; then
|
||||
+ AC_DEFINE(HAVE_RL_PRE_INPUT_HOOK, 1,
|
||||
+ [Define if you have readline 4.0])
|
||||
+fi
|
||||
|
||||
# also in 4.0
|
||||
AC_CHECK_LIB(readline, rl_completion_display_matches_hook,
|
Reference in New Issue
Block a user