Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
python3.370
python-2.5.2-configure.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-2.5.2-configure.patch of Package python3.370
--- configure.in +++ configure.in @@ -468,9 +468,6 @@ fi -# checks for UNIX variants that set C preprocessor variables -AC_AIX - # Check for unsupported systems case $ac_sys_system/$ac_sys_release in atheos*|Linux*/1*) @@ -531,6 +528,9 @@ ;; esac +# checks for UNIX variants that set C preprocessor variables +AC_AIX + AC_SUBST(ARCH) AC_MSG_CHECKING(ARCH) ARCH=`uname -m` @@ -3278,9 +3278,18 @@ 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]), , ) +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,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor