Bug 397933

Summary: autoconf produces wrong tests for rl_pre_input_hook
Product: [openSUSE] openSUSE 11.0 Reporter: Olaf Hering <ohering>
Component: DevelopmentAssignee: Andreas Schwab <schwab>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: RC 2   
Target Milestone: ---   
Hardware: PowerPC   
OS: Linux   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Olaf Hering 2008-06-06 12:55:42 UTC
python 2.5.2 has this in configure.in:

# 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]), , )


The resulting code lacks the proper includes, as described in bug #397929
configure prints:

checking for rl_pre_input_hook in -lreadline... no


Maybe its a binutils issue on powerpc32, because it links appearently ok on powerpc64.
Comment 1 Andreas Schwab 2008-06-06 12:59:37 UTC
rl_pre_input_hook is not a function.