Hello,

I'm a developer with the Yocto Project - a framework and build system for generating embedded Linux images (yoctoproject.org).

We find that without the attached patch, readline fails to link against termcap, causing a build failure.

Richard Purdie is the author of this patch - which simply uncomments the test code. I'm submitting this on his behalf.

Please let me know if you have any questions/issues.

Thanks!

Scott Garman

--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
Index: readline-6.2/configure.in
===================================================================
--- readline-6.2.orig/configure.in	2011-10-08 09:58:52.000000000 +0100
+++ readline-6.2/configure.in	2011-10-08 09:59:03.000000000 +0100
@@ -211,10 +211,10 @@
         AC_MSG_CHECKING(configuration for building shared libraries)
         eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os} -v ${host_vendor}`
 
-#	case "$SHLIB_LIBS" in
-#	*curses*|*termcap*|*termlib*)	;;
-#	*)			SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
-#	esac
+	case "$SHLIB_LIBS" in
+	*curses*|*termcap*|*termlib*)	;;
+	*)			SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;;
+	esac
 	
         AC_SUBST(SHOBJ_CC)
         AC_SUBST(SHOBJ_CFLAGS)
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to